@arcgis/charts-components 5.2.0-next.31 → 5.2.0-next.32

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 (172) hide show
  1. package/dist/cdn/{3QO6REDF.js → 25W6T5FX.js} +8 -8
  2. package/dist/cdn/{JBR6IJMK.js → 2HG3BPPY.js} +1 -1
  3. package/dist/cdn/2Y7PYCI7.js +2 -0
  4. package/dist/cdn/{HIW5WRHR.js → 46DNECVM.js} +1 -1
  5. package/dist/cdn/{HBS6O3P3.js → 4LKQOIJR.js} +1 -1
  6. package/dist/cdn/{X7Z4LEZH.js → 4N7Q4USI.js} +1 -1
  7. package/dist/cdn/{6ANVHVX4.js → 4T3YFJA6.js} +1 -1
  8. package/dist/cdn/{BI54CNMR.js → 4WISIBCY.js} +1 -1
  9. package/dist/cdn/{6CB5R4QQ.js → 4XYMN2CV.js} +1 -1
  10. package/dist/cdn/{AZR6HVRW.js → 575YVIX7.js} +1 -1
  11. package/dist/cdn/{7VQXBQMZ.js → 5Y5QG6LJ.js} +1 -1
  12. package/dist/cdn/{YQIFZJTZ.js → 6GQLATNT.js} +1 -1
  13. package/dist/cdn/{XRLVJJBT.js → 6LH7Y7PU.js} +1 -1
  14. package/dist/cdn/{6VK54DG5.js → 7HSE4SIZ.js} +1 -1
  15. package/dist/cdn/{C4TQOUPO.js → 7ISSUJ2D.js} +1 -1
  16. package/dist/cdn/7NHOA7QL.js +3 -0
  17. package/dist/cdn/{SSKHF7PO.js → AGY2UGFW.js} +1 -1
  18. package/dist/cdn/{IWMWJN7M.js → B7TOZQEW.js} +1 -1
  19. package/dist/cdn/{X7YEBHBF.js → BECNHOTD.js} +1 -1
  20. package/dist/cdn/{T5TFLMQL.js → BNNTNT7S.js} +1 -1
  21. package/dist/cdn/{REZ2QR42.js → BXCX7QFT.js} +1 -1
  22. package/dist/cdn/{BZFGE4LO.js → BXYUDSWF.js} +1 -1
  23. package/dist/cdn/{PEYVSFSE.js → CXMIIYBK.js} +36 -36
  24. package/dist/cdn/{4BEGCEGA.js → D7N4VK2S.js} +3 -3
  25. package/dist/cdn/{KFPJI52X.js → DTG42E2P.js} +1 -1
  26. package/dist/cdn/{K27GKXGP.js → DWIKPTKJ.js} +1 -1
  27. package/dist/cdn/{QV3NMKKZ.js → EAJBDT2X.js} +1 -1
  28. package/dist/cdn/{Q2GW5LB7.js → ESUNC3JW.js} +1 -1
  29. package/dist/cdn/{2SPGX6AF.js → EXJWV5I4.js} +1 -1
  30. package/dist/cdn/{YFHB2EFH.js → G5KG5GU4.js} +1 -1
  31. package/dist/cdn/{VY3KBD6N.js → G6EAXNDR.js} +1 -1
  32. package/dist/cdn/{YWKPGNHB.js → GRPZ65P4.js} +1 -1
  33. package/dist/cdn/{BKU72IQC.js → GXXY6NI7.js} +1 -1
  34. package/dist/cdn/{G5EGTXMY.js → HWYXGOUR.js} +1 -1
  35. package/dist/cdn/{AICTKGE3.js → IAVYR2KG.js} +1 -1
  36. package/dist/cdn/{4P7URPRQ.js → IDDJVOHS.js} +1 -1
  37. package/dist/cdn/IFYT2GHB.js +2 -0
  38. package/dist/cdn/{TSA7UMSZ.js → ILZCAXS5.js} +1 -1
  39. package/dist/cdn/{Y3CXVO2M.js → J2YNPNIL.js} +1 -1
  40. package/dist/cdn/JAN3QW7E.js +2 -0
  41. package/dist/cdn/{5UO6L27Q.js → JOJIT55L.js} +1 -1
  42. package/dist/cdn/{LFXRCL7K.js → JXPTGJSF.js} +1 -1
  43. package/dist/cdn/{3NKDMMC2.js → K2V7HVU3.js} +1 -1
  44. package/dist/cdn/{5XCU5SR2.js → K3FOMGX7.js} +1 -1
  45. package/dist/cdn/{WHVW3P3O.js → K6PPZIL5.js} +1 -1
  46. package/dist/cdn/{THTYR6IL.js → KHT4LCWN.js} +1 -1
  47. package/dist/cdn/{CLN32L2L.js → KU55QTV5.js} +1 -1
  48. package/dist/cdn/{CRCAJAFA.js → KZ2OB6RV.js} +1 -1
  49. package/dist/cdn/{3YN4EKSJ.js → L2OJXJD4.js} +1 -1
  50. package/dist/cdn/{3UTF2CB3.js → L5CT3KCS.js} +1 -1
  51. package/dist/cdn/{6GV2QPKV.js → LAPPRAQF.js} +1 -1
  52. package/dist/cdn/{MVUIKY5Y.js → LHLM6RMX.js} +1 -1
  53. package/dist/cdn/{KQLAAGKI.js → LKEHGBEV.js} +1 -1
  54. package/dist/cdn/{ADYDCO3M.js → LKLFDY3E.js} +1 -1
  55. package/dist/cdn/{PAIRUVLU.js → LLUS6VGO.js} +1 -1
  56. package/dist/cdn/{TCS4HOSG.js → LLYDWCNL.js} +1 -1
  57. package/dist/cdn/{DAF2U7TN.js → LQQJXKY7.js} +1 -1
  58. package/dist/cdn/{3TBK72EK.js → LV3T5QZF.js} +1 -1
  59. package/dist/cdn/{O5NKLK7V.js → MA2J6LRE.js} +1 -1
  60. package/dist/cdn/{BQXXD2HU.js → MTYZHHDS.js} +1 -1
  61. package/dist/cdn/{MBPFBE3E.js → N72PRHWL.js} +1 -1
  62. package/dist/cdn/{Y7HBWU3M.js → NKUXUCUP.js} +1 -1
  63. package/dist/cdn/{6XIDALQU.js → NX4OLIXG.js} +1 -1
  64. package/dist/cdn/{M7QZTQSD.js → OCRAZDQR.js} +1 -1
  65. package/dist/cdn/OEBQA6SR.js +2 -0
  66. package/dist/cdn/{XRP6IFM4.js → OKPUFIIU.js} +1 -1
  67. package/dist/cdn/{DRFJC64L.js → P2KW76YO.js} +1 -1
  68. package/dist/cdn/{YWCIV7ZZ.js → PCBE7IEQ.js} +1 -1
  69. package/dist/cdn/{M4ZJRIYM.js → PRGGOOYS.js} +1 -1
  70. package/dist/cdn/{N673JFHK.js → PXGQGJAV.js} +1 -1
  71. package/dist/cdn/{6OCDFMFB.js → Q7XQPRE5.js} +1 -1
  72. package/dist/cdn/{SOGVYNPI.js → QGLWN3TS.js} +1 -1
  73. package/dist/cdn/{2ODYZG66.js → QH2YJ3TT.js} +1 -1
  74. package/dist/cdn/{Y6CFEFZM.js → RA7EKGRW.js} +1 -1
  75. package/dist/cdn/{WU62O2AU.js → RJFIQORK.js} +1 -1
  76. package/dist/cdn/{MEA74C44.js → RVFD5Z7L.js} +1 -1
  77. package/dist/cdn/{WJHIJTWS.js → SWJIRHQQ.js} +1 -1
  78. package/dist/cdn/{3SBYV6BW.js → TYDIOOT2.js} +1 -1
  79. package/dist/cdn/{4TRUG37X.js → U53OVQF2.js} +1 -1
  80. package/dist/cdn/{RKG6CXUU.js → WNH47TQQ.js} +1 -1
  81. package/dist/cdn/{Z43DVT6G.js → WPHYJV72.js} +1 -1
  82. package/dist/cdn/{GCRQHIGQ.js → WSSYOOMW.js} +1 -1
  83. package/dist/cdn/{35NSJ3NJ.js → WYU56MVP.js} +1 -1
  84. package/dist/cdn/{TOFVWGTG.js → XQ2CVQJW.js} +1 -1
  85. package/dist/cdn/{7Z7NOIH2.js → XRTGYEKU.js} +1 -1
  86. package/dist/cdn/{IPALCXFF.js → YHFANXPC.js} +1 -1
  87. package/dist/cdn/{PKQOLKTW.js → YTV5MFKS.js} +1 -1
  88. package/dist/cdn/{ZW4PF3UK.js → Z2NN43OK.js} +1 -1
  89. package/dist/cdn/{QGEFY4ND.js → Z2YPKIRL.js} +1 -1
  90. package/dist/cdn/{NKVZYKL5.js → ZK3QFPDP.js} +1 -1
  91. package/dist/cdn/{JIV6BQKG.js → ZKZGO5WD.js} +1 -1
  92. package/dist/cdn/index.js +1 -1
  93. package/dist/cdn/model/shared/setup-utils.js +1 -1
  94. package/dist/chunks/axis-lines-symbol.js +7 -7
  95. package/dist/chunks/bar-chart-model.js +39 -36
  96. package/dist/chunks/box-plot-data.js +36 -36
  97. package/dist/chunks/box-plot-model.js +5 -5
  98. package/dist/chunks/chart-model.js +38 -38
  99. package/dist/chunks/class-breaks.js +7 -7
  100. package/dist/chunks/combo-bar-line-chart-model.js +27 -27
  101. package/dist/chunks/data-labels-symbol.js +1 -1
  102. package/dist/chunks/data-labels-visibility.js +22 -22
  103. package/dist/chunks/data.js +18 -18
  104. package/dist/chunks/gauge-model.js +16 -16
  105. package/dist/chunks/generate-x-axis-title.js +9 -9
  106. package/dist/chunks/heat-chart-model.js +5 -5
  107. package/dist/chunks/histogram-data.js +15 -15
  108. package/dist/chunks/histogram-model.js +4 -4
  109. package/dist/chunks/index.js +84 -83
  110. package/dist/chunks/index2.js +989 -973
  111. package/dist/chunks/index3.js +13 -13
  112. package/dist/chunks/index4.js +149 -49
  113. package/dist/chunks/line-chart-model.js +1 -1
  114. package/dist/chunks/model-setter.js +1 -1
  115. package/dist/chunks/model-with-y-guides.js +6 -6
  116. package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
  117. package/dist/chunks/pie-chart-data.js +16 -16
  118. package/dist/chunks/pie-chart-model.js +20 -20
  119. package/dist/chunks/radar-chart-model.js +1 -1
  120. package/dist/chunks/resource.js +1 -1
  121. package/dist/chunks/rounded-corners.js +73 -0
  122. package/dist/chunks/scatterplot-model.js +3 -3
  123. package/dist/chunks/serial-chart-data.js +73 -73
  124. package/dist/chunks/serial-chart-model.js +13 -13
  125. package/dist/chunks/series-length.js +1 -1
  126. package/dist/chunks/series.js +1 -1
  127. package/dist/chunks/type-guards2.js +24 -20
  128. package/dist/chunks/utils.js +14 -14
  129. package/dist/chunks/utils2.js +1 -1
  130. package/dist/chunks/web-component-utils.js +41 -41
  131. package/dist/chunks/x-bounds.js +16 -16
  132. package/dist/components/arcgis-chart/customElement.js +6354 -6174
  133. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  134. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  136. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  137. package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
  138. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  139. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  140. package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
  141. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  142. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +16 -16
  143. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
  144. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +10 -10
  145. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  147. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  148. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  149. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  150. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
  151. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -5
  152. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +5 -5
  153. package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
  154. package/dist/docs/api.json +1 -1
  155. package/dist/docs/docs.json +1 -1
  156. package/dist/docs/web-types.json +1 -1
  157. package/dist/index.js +446 -444
  158. package/dist/json-schema/index.d.ts +92 -2
  159. package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
  160. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +3 -2
  161. package/dist/model/properties/rounded-corners.d.ts +18 -0
  162. package/dist/model/shared/type-guards.d.ts +7 -0
  163. package/dist/spec/web-chart.d.ts +8 -0
  164. package/dist/utils/chart-config/converter/index.js +15 -15
  165. package/dist/utils/defaults/index.d.ts +4 -1
  166. package/package.json +3 -3
  167. package/dist/cdn/BJBNELDD.js +0 -3
  168. package/dist/cdn/SAYLTYWY.js +0 -2
  169. package/dist/cdn/U3MRRFML.js +0 -2
  170. package/dist/cdn/VWTJHXHI.js +0 -2
  171. package/dist/cdn/WPPMMVD5.js +0 -2
  172. package/dist/chunks/bar-chart-series.js +0 -15
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { isEqual as at, sortBy as Ai, cloneDeep as He, memoize as qt, isArray as ui, isNil as hr, isEmpty as Sr } from "lodash-es";
3
- import { u as h, k as Fr, r as D, v as Ke, m as Se, p as ye, n as De, q as Te, g as Z, j as br, s as R, t as ee, d as he, a as Xi, G as xr } from "./chart-object-literals.js";
3
+ import { u as S, k as Fr, r as D, v as Ke, m as Se, p as ye, n as De, q as Te, g as Z, j as br, s as R, t as ee, d as he, a as Xi, G as xr } from "./chart-object-literals.js";
4
4
  import wi from "@arcgis/core/layers/support/FeatureFilter.js";
5
5
  import Cr from "@arcgis/core/smartMapping/statistics/histogram.js";
6
6
  import Li from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
@@ -17,14 +17,14 @@ import Pr from "@arcgis/core/portal/Portal.js";
17
17
  import * as ea from "@arcgis/core/renderers/support/jsonUtils.js";
18
18
  import Lt from "@arcgis/core/request.js";
19
19
  import ta from "@arcgis/core/rest/support/FeatureSet.js";
20
- import { g as _ } from "./series-types.js";
21
- import { F as C, q as oe, C as F, e as Xt, z as ia, l as ci, o as Pi, v as aa, d as Jt, x as Mr, g as ra, s as Wt, w as Dr, i as Or, r as Ae, t as Vt } from "./index3.js";
20
+ import { g as j } from "./series-types.js";
21
+ import { F as x, q as oe, C as F, e as Xt, z as ia, l as ci, o as Pi, v as aa, d as Jt, x as Mr, g as ra, s as Wt, w as Dr, i as Or, r as Ae, t as Vt } from "./index3.js";
22
22
  import Ir from "@arcgis/core/Graphic.js";
23
23
  import * as Gt from "@arcgis/core/symbols/support/symbolUtils.js";
24
24
  import { f as Kt, h as et, i as _e, e as se, R as U } from "./rest-js-object-literals.js";
25
25
  import Er from "@arcgis/core/AttributeBinsGraphic.js";
26
26
  import { substitute as Be } from "@arcgis/core/intl.js";
27
- import { g as Rt, L as lt, az as W, j as Q, r as ut, o as Oe, ax as ei, am as na, aB as sa, aq as qr, s as $t, ay as Vr, b as Rr, a as $r } from "./index.js";
27
+ import { g as Rt, L as lt, aA as W, k as _, s as ut, p as Oe, ay as ei, an as na, aC as sa, ar as qr, t as $t, az as Vr, b as Rr, a as $r } from "./index.js";
28
28
  import { unsafeGetElementDirection as kr } from "@arcgis/toolkit/dom";
29
29
  import { fetchT9nStringsBundle as mt, getElementLocale as ze, supportedLocales as oa } from "@arcgis/toolkit/intl";
30
30
  import { i as la, b as ua, c as ie, a as yt, f as Qr, e as _r } from "./type-guards.js";
@@ -62,16 +62,16 @@ function sc(t) {
62
62
  return t.intlOptions;
63
63
  }
64
64
  function ne(t) {
65
- return t?.type === h.NumberAxisFormat;
65
+ return t?.type === S.NumberAxisFormat;
66
66
  }
67
67
  function oc(t) {
68
68
  return ne(t) && t.intlOptions?.style === "percent";
69
69
  }
70
70
  function we(t) {
71
- return t?.type === h.CategoryAxisFormat;
71
+ return t?.type === S.CategoryAxisFormat;
72
72
  }
73
73
  function je(t) {
74
- return t?.type === h.DateAxisFormat;
74
+ return t?.type === S.DateAxisFormat;
75
75
  }
76
76
  function lc(t) {
77
77
  const { oldConfig: e, newConfig: i, rotationChanged: a } = t;
@@ -108,28 +108,28 @@ function uc(t) {
108
108
  const { chartType: e, axesConfig: i, errorStrings: a } = t;
109
109
  let r, n;
110
110
  switch (e) {
111
- case h.GaugeSeries:
111
+ case S.GaugeSeries:
112
112
  r = un, n = "invalidValueFormatForGauge";
113
113
  break;
114
- case h.ScatterSeries:
114
+ case S.ScatterSeries:
115
115
  r = on, n = "invalidValueFormatForScatterplot";
116
116
  break;
117
- case h.HistogramSeries:
117
+ case S.HistogramSeries:
118
118
  r = ln, n = "invalidValueFormatForHistogram";
119
119
  break;
120
- case h.LineSeries:
120
+ case S.LineSeries:
121
121
  r = tn, n = "invalidValueFormatForLineChart";
122
122
  break;
123
- case h.BarSeries:
123
+ case S.BarSeries:
124
124
  r = an, n = "invalidValueFormatForBarChart";
125
125
  break;
126
- case h.ComboLineAndBarSeries:
126
+ case S.ComboLineAndBarSeries:
127
127
  r = sn, n = "invalidValueFormatForComboBarLineChart";
128
128
  break;
129
- case h.BoxPlotSeries:
129
+ case S.BoxPlotSeries:
130
130
  r = rn, n = "invalidValueFormatForBoxPlot";
131
131
  break;
132
- case h.HeatSeries:
132
+ case S.HeatSeries:
133
133
  r = nn, n = "invalidValueFormatForHeatChart";
134
134
  break;
135
135
  }
@@ -137,13 +137,13 @@ function uc(t) {
137
137
  }
138
138
  function cn(t) {
139
139
  const { isXAxis: e, chartType: i, valueFormat: a, isAxisForHistogramOverlaySeries: r } = t;
140
- return e && (we(a) || i === h.HistogramSeries && !r || i === h.BarSeries && ne(a));
140
+ return e && (we(a) || i === S.HistogramSeries && !r || i === S.BarSeries && ne(a));
141
141
  }
142
142
  function We(t) {
143
- return _(t?.series) === h.HeatSeries;
143
+ return j(t?.series) === S.HeatSeries;
144
144
  }
145
145
  function de(t) {
146
- return _(t?.series) === h.BoxPlotSeries;
146
+ return j(t?.series) === S.BoxPlotSeries;
147
147
  }
148
148
  function dn(t) {
149
149
  return t !== void 0 && t !== Kt.Solid && t !== Kt.Null;
@@ -174,13 +174,13 @@ function cc(t, e) {
174
174
  return i;
175
175
  }
176
176
  const ce = "arcgis_charts_pie_from_fields_name", Ne = "arcgis_charts_pie_from_fields_value", dc = "arcgis_charts_bar_line_from_fields_name", fc = "arcgis_charts_bar_line_from_fields_value", pt = {
177
- ...C,
177
+ ...x,
178
178
  titleAndSubtitlePaddingBottom: 5,
179
179
  chartPadding: 5,
180
- footerContainer: { ...C.footerContainer, paddingTop: 0, paddingBottom: 0 },
181
- headerContainer: { ...C.headerContainer, paddingBottom: 18 },
182
- chartContainer: { ...C.chartContainer },
183
- dataLabel: { ...C.dataLabel, verticalCenter: "bottom" },
180
+ footerContainer: { ...x.footerContainer, paddingTop: 0, paddingBottom: 0 },
181
+ headerContainer: { ...x.headerContainer, paddingBottom: 18 },
182
+ chartContainer: { ...x.chartContainer },
183
+ dataLabel: { ...x.dataLabel, verticalCenter: "bottom" },
184
184
  scrollbarPadding: 12,
185
185
  zIndexes: {
186
186
  // setting a high z index so guide will be on top when above is set to true
@@ -249,7 +249,7 @@ const ce = "arcgis_charts_pie_from_fields_name", Ne = "arcgis_charts_pie_from_fi
249
249
  symbol: {
250
250
  type: _e.SFS,
251
251
  style: Kt.Solid,
252
- color: C.grayColor
252
+ color: x.grayColor
253
253
  },
254
254
  text: "null"
255
255
  },
@@ -354,8 +354,8 @@ function yn(t) {
354
354
  return t?.capabilities?.queryAttributeBins?.supportsFixedInterval === !0 && t?.capabilities?.queryAttributeBins?.supportsStackBy;
355
355
  }
356
356
  function xc(t) {
357
- const { chartConfig: e, queryObject: i, options: a } = t, r = _(e?.series), n = te(e?.series[0]?.query?.where);
358
- return !(r === h.HeatSeries || e && Pe({
357
+ const { chartConfig: e, queryObject: i, options: a } = t, r = j(e?.series), n = te(e?.series[0]?.query?.where);
358
+ return !(r === S.HeatSeries || e && Pe({
359
359
  xAxisValueFormatType: xe(e),
360
360
  setTimeBinningInfoWhenNotProvided: a?.setTimeBinningInfoWhenNotProvided,
361
361
  seriesConfig: e.series[0],
@@ -503,10 +503,10 @@ const Qe = [
503
503
  "25.0.0",
504
504
  "25.1.0"
505
505
  ], hn = "1.0.0", Sn = "unrecognized.version", Fn = [
506
- h.LineSeries,
507
- h.BarSeries,
508
- h.ComboLineAndBarSeries,
509
- h.RadarSeries
506
+ S.LineSeries,
507
+ S.BarSeries,
508
+ S.ComboLineAndBarSeries,
509
+ S.RadarSeries
510
510
  ];
511
511
  function Ut(t, e) {
512
512
  let i = 0;
@@ -550,7 +550,7 @@ function Nc(t) {
550
550
  }
551
551
  function Re(t) {
552
552
  const { series: e } = t;
553
- let a = ("showMean" in t ? t.showMean : !1) === !0 ? e.find((r) => r.type === h.LineSeries) : e[0];
553
+ let a = ("showMean" in t ? t.showMean : !1) === !0 ? e.find((r) => r.type === S.LineSeries) : e[0];
554
554
  return a ??= e[0], a;
555
555
  }
556
556
  function Tc(t, e) {
@@ -597,23 +597,23 @@ function pa(t) {
597
597
  }
598
598
  function xn(t) {
599
599
  let e = F.BoxPlotMonoField;
600
- const i = t.length === 1, a = t.find((o) => o.type === h.LineSeries) ?? t[0], { x: r } = a, n = "y" in a ? a.y : "", s = a.query?.where;
600
+ const i = t.length === 1, a = t.find((o) => o.type === S.LineSeries) ?? t[0], { x: r } = a, n = "y" in a ? a.y : "", s = a.query?.where;
601
601
  return r === Rt ? typeof n == "object" && n.length > 1 ? Ie(s) ? i && (e = F.BoxPlotMultiFields) : e = F.BoxPlotMultiFieldsAndSplitBy : i ? e = F.BoxPlotMonoField : Ie(s) || (e = F.BoxPlotMonoFieldAndSplitBy) : i ? e = F.BoxPlotMonoFieldAndCategory : Ie(s) ? e = F.BoxPlotMultiFieldsAndCategory : e = F.BoxPlotMonoFieldAndCategoryAndSplitBy, e;
602
602
  }
603
603
  function k(t) {
604
604
  let e = F.NonSpecific;
605
605
  if (t?.[0] !== void 0)
606
- switch (_(t)) {
607
- case h.PieSeries:
606
+ switch (j(t)) {
607
+ case S.PieSeries:
608
608
  e = ga(t);
609
609
  break;
610
- case h.RadarSeries:
611
- case h.BarSeries:
612
- case h.LineSeries:
613
- case h.ComboLineAndBarSeries:
610
+ case S.RadarSeries:
611
+ case S.BarSeries:
612
+ case S.LineSeries:
613
+ case S.ComboLineAndBarSeries:
614
614
  e = pa(t);
615
615
  break;
616
- case h.BoxPlotSeries:
616
+ case S.BoxPlotSeries:
617
617
  e = xn(t);
618
618
  break;
619
619
  }
@@ -624,8 +624,8 @@ function Cn(t) {
624
624
  }
625
625
  function vn(t) {
626
626
  let e = !0;
627
- const i = _(t.series);
628
- if (i === h.BarSeries || i === h.LineSeries || i === h.ComboLineAndBarSeries) {
627
+ const i = j(t.series);
628
+ if (i === S.BarSeries || i === S.LineSeries || i === S.ComboLineAndBarSeries) {
629
629
  const a = k(t.series);
630
630
  e = a !== F.BarAndLineNoAggregation && a !== F.BarAndLineSplitByNoAggregation;
631
631
  }
@@ -635,25 +635,25 @@ function ha(t) {
635
635
  const { statsMap: e, dataContext: i, chartLimits: a } = t;
636
636
  let r = !1;
637
637
  if (e !== void 0) {
638
- const { maxScatterPointsBeforeAggregation: n } = ut(a), { queryNumberOfFeatures: s } = C.scatterplotAggregationFields;
638
+ const { maxScatterPointsBeforeAggregation: n } = ut(a), { queryNumberOfFeatures: s } = x.scatterplotAggregationFields;
639
639
  r = (e.get(s) ?? Number.NaN) >= n;
640
- } else i !== void 0 && (r = C.scatterplotAggregationFields.dataContextXMinField in i);
640
+ } else i !== void 0 && (r = x.scatterplotAggregationFields.dataContextXMinField in i);
641
641
  return r;
642
642
  }
643
643
  function Bn(t) {
644
644
  const { dataContext: e, chartConfig: i, chartLimits: a } = t;
645
645
  let r = !0;
646
646
  if (i !== void 0)
647
- switch (_(i.series)) {
648
- case h.BarSeries:
649
- case h.LineSeries:
650
- case h.ComboLineAndBarSeries:
647
+ switch (j(i.series)) {
648
+ case S.BarSeries:
649
+ case S.LineSeries:
650
+ case S.ComboLineAndBarSeries:
651
651
  r = vn(i);
652
652
  break;
653
- case h.ScatterSeries:
653
+ case S.ScatterSeries:
654
654
  r = ha({ dataContext: e, chartLimits: a });
655
655
  break;
656
- case h.PieSeries:
656
+ case S.PieSeries:
657
657
  r = Cn(i);
658
658
  break;
659
659
  }
@@ -662,7 +662,7 @@ function Bn(t) {
662
662
  function Pe(t) {
663
663
  const { seriesConfig: e, xAxisValueFormatType: i, setTimeBinningInfoWhenNotProvided: a, queryObject: r } = t;
664
664
  let n = !1;
665
- if (!ie(r) && !(z(r)?.fields?.find((o) => o.name === e.x)?.type === "time-only") && be(e) && e.binTemporalData !== !1 && i === h.DateAxisFormat) {
665
+ if (!ie(r) && !(z(r)?.fields?.find((o) => o.name === e.x)?.type === "time-only") && be(e) && e.binTemporalData !== !1 && i === S.DateAxisFormat) {
666
666
  const o = k([e]);
667
667
  if (e.temporalBinning && o !== F.BarAndLineNoAggregation && o !== F.BarAndLineSplitByNoAggregation) {
668
668
  const { unit: u, size: c } = e.temporalBinning;
@@ -700,8 +700,8 @@ function Tn(t, e) {
700
700
  if (e[0].x !== t[0].x)
701
701
  i = !0;
702
702
  else {
703
- const a = _(t);
704
- if (a !== h.HistogramSeries && a !== h.GaugeSeries) {
703
+ const a = j(t);
704
+ if (a !== S.HistogramSeries && a !== S.GaugeSeries) {
705
705
  const r = ue(t).sort(), n = ue(e).sort();
706
706
  i = JSON.stringify(r) !== JSON.stringify(n);
707
707
  }
@@ -712,10 +712,10 @@ function Fa(t, e) {
712
712
  return (t ?? !1) !== (e ?? !1);
713
713
  }
714
714
  function ba(t, e) {
715
- return be(t.series[0]) && be(e.series[0]) && (t.series[0].binTemporalData ?? C.binTemporalData) !== (e.series[0].binTemporalData ?? C.binTemporalData);
715
+ return be(t.series[0]) && be(e.series[0]) && (t.series[0].binTemporalData ?? x.binTemporalData) !== (e.series[0].binTemporalData ?? x.binTemporalData);
716
716
  }
717
717
  function xa(t, e) {
718
- const i = t.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, r = k(e.series), n = r === F.BarAndLineNoAggregation || r === F.BarAndLineSplitByNoAggregation, s = i === h.DateAxisFormat && a === h.NumberAxisFormat, o = i === h.NumberAxisFormat && a === h.DateAxisFormat;
718
+ const i = t.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, r = k(e.series), n = r === F.BarAndLineNoAggregation || r === F.BarAndLineSplitByNoAggregation, s = i === S.DateAxisFormat && a === S.NumberAxisFormat, o = i === S.NumberAxisFormat && a === S.DateAxisFormat;
719
719
  return i !== a && (n || s || o);
720
720
  }
721
721
  function An(t) {
@@ -753,7 +753,7 @@ function Ln(t, e) {
753
753
  function Pn(t) {
754
754
  const { previousConfig: e, newConfig: i, fieldList: a } = t, r = e.series[0], n = i.series[0];
755
755
  let s = !1;
756
- if (r.type === h.ScatterSeries && n.type === h.ScatterSeries && a && a.length > 0) {
756
+ if (r.type === S.ScatterSeries && n.type === S.ScatterSeries && a && a.length > 0) {
757
757
  const o = new Set(r.additionalTooltipFields || []), u = new Set(n.additionalTooltipFields || []);
758
758
  if (!at(o, u)) {
759
759
  const c = Array.from(u).filter((l) => !o.has(l));
@@ -773,11 +773,11 @@ function Pt(t) {
773
773
  return e.position === void 0 && (e.position = pt.heatChart.legend.position), e;
774
774
  }
775
775
  function Lc(t, e) {
776
- const i = t.legend ?? { type: h.Legend }, a = e.legend ?? { type: h.Legend }, r = Pt(i), n = Pt(a);
776
+ const i = t.legend ?? { type: S.Legend }, a = e.legend ?? { type: S.Legend }, r = Pt(i), n = Pt(a);
777
777
  return !at(r, n);
778
778
  }
779
779
  function Pc(t, e) {
780
- const i = t.legend ?? { type: h.Legend }, a = e.legend ?? { type: h.Legend }, r = Pt(i), n = Pt(a);
780
+ const i = t.legend ?? { type: S.Legend }, a = e.legend ?? { type: S.Legend }, r = Pt(i), n = Pt(a);
781
781
  return r.position !== n.position;
782
782
  }
783
783
  function Mc(t, e) {
@@ -789,8 +789,8 @@ function Dc(t, e) {
789
789
  function Oc(t) {
790
790
  const { oldConfig: e, newConfig: i } = t;
791
791
  let a = !1;
792
- const r = e?.series[0], n = i.series[0], s = _(e?.series), o = _(i.series);
793
- if (s === h.PieSeries && o === h.PieSeries) {
792
+ const r = e?.series[0], n = i.series[0], s = j(e?.series), o = j(i.series);
793
+ if (s === S.PieSeries && o === S.PieSeries) {
794
794
  const { slices: u, sliceGrouping: c } = r, { slices: l, sliceGrouping: d } = n, f = u?.map((p) => ({
795
795
  sliceId: p.sliceId,
796
796
  label: p.label
@@ -835,22 +835,22 @@ function kc(t, e) {
835
835
  return Pi(t) !== Pi(e);
836
836
  }
837
837
  function Qc(t, e) {
838
- return (t.showOutliers ?? C.boxPlot.boxPlotOutliersVisibility) !== (e.showOutliers ?? C.boxPlot.boxPlotOutliersVisibility);
838
+ return (t.showOutliers ?? x.boxPlot.boxPlotOutliersVisibility) !== (e.showOutliers ?? x.boxPlot.boxPlotOutliersVisibility);
839
839
  }
840
840
  function _c(t, e) {
841
- return (t.standardizeValues ?? C.boxPlot.boxPlotStandardizeValuesVisibility) !== (e.standardizeValues ?? C.boxPlot.boxPlotStandardizeValuesVisibility);
841
+ return (t.standardizeValues ?? x.boxPlot.boxPlotStandardizeValuesVisibility) !== (e.standardizeValues ?? x.boxPlot.boxPlotStandardizeValuesVisibility);
842
842
  }
843
843
  function jc(t, e) {
844
844
  return JSON.stringify(t?.chartRenderer) !== JSON.stringify(e?.chartRenderer);
845
845
  }
846
846
  function Hc(t, e) {
847
- const i = t.axes?.[0].valueFormat.type === h.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0, a = e.axes?.[0].valueFormat.type === h.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0;
847
+ const i = t.axes?.[0].valueFormat.type === S.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0, a = e.axes?.[0].valueFormat.type === S.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0;
848
848
  return i !== a;
849
849
  }
850
850
  function zc(t, e) {
851
851
  let i = !1;
852
852
  const a = t.series[0], r = e.series[0];
853
- if (a.type === h.ScatterSeries && r.type === h.ScatterSeries) {
853
+ if (a.type === S.ScatterSeries && r.type === S.ScatterSeries) {
854
854
  const { sizePolicy: n } = a, { sizePolicy: s } = r;
855
855
  i = JSON.stringify(n) !== JSON.stringify(s);
856
856
  }
@@ -859,7 +859,7 @@ function zc(t, e) {
859
859
  function Wc(t, e) {
860
860
  let i = !1;
861
861
  const a = t.series[0], r = e.series[0];
862
- if (a.type === h.ScatterSeries && r.type === h.ScatterSeries) {
862
+ if (a.type === S.ScatterSeries && r.type === S.ScatterSeries) {
863
863
  const { sizePolicy: n } = a, { sizePolicy: s } = r;
864
864
  i = n === void 0 && s !== void 0 || n !== void 0 && s === void 0 || n?.field !== s?.field;
865
865
  }
@@ -877,9 +877,9 @@ function Gc(t) {
877
877
  selectionData: u,
878
878
  setTimeBinningInfoWhenNotProvided: c,
879
879
  chartLimits: l
880
- } = t, { series: d } = i, { series: f } = e, m = _(d);
880
+ } = t, { series: d } = i, { series: f } = e, m = j(d);
881
881
  let y = !1, g = !1, p = !1;
882
- const S = {
882
+ const h = {
883
883
  common: {
884
884
  layerChanged: !1,
885
885
  queryChanged: !1,
@@ -905,22 +905,22 @@ function Gc(t) {
905
905
  tooltipFieldsChanged: !1
906
906
  }
907
907
  };
908
- switch (S.common.queryChanged = Sa({
908
+ switch (h.common.queryChanged = Sa({
909
909
  previousConfig: e,
910
910
  newConfig: i,
911
911
  behaviorAfterLimit: l?.behaviorAfterLimit
912
- }), S.common.configFiltersChanged = Nn(e, i), S.common.xOrYChanged = Tn(f, d), S.common.filterBySelectionChanged = Fa(
912
+ }), h.common.configFiltersChanged = Nn(e, i), h.common.xOrYChanged = Tn(f, d), h.common.filterBySelectionChanged = Fa(
913
913
  a,
914
914
  o
915
- ), S.common.dataForFilterBySelectionChanged = Mn({
915
+ ), h.common.dataForFilterBySelectionChanged = Mn({
916
916
  previousSelectionOIDs: r,
917
917
  selectionData: u,
918
918
  filterBySelection: o
919
- }), S.common.binTemporalDataChanged = ba(e, i), S.common.valueFormatChangeRequiresNewData = xa(
919
+ }), h.common.binTemporalDataChanged = ba(e, i), h.common.valueFormatChangeRequiresNewData = xa(
920
920
  e,
921
921
  i
922
- ), S.common = {
923
- ...S.common,
922
+ ), h.common = {
923
+ ...h.common,
924
924
  ...An({
925
925
  previousSeries: f,
926
926
  newConfig: i,
@@ -928,38 +928,38 @@ function Gc(t) {
928
928
  queryObject: s
929
929
  })
930
930
  }, m) {
931
- case h.HistogramSeries:
932
- S.histogram.dataPropsChanged = es(f, d) || Kn(
931
+ case S.HistogramSeries:
932
+ h.histogram.dataPropsChanged = es(f, d) || Kn(
933
933
  f,
934
934
  d
935
935
  );
936
936
  break;
937
- case h.LineSeries:
938
- case h.BarSeries:
939
- case h.ComboLineAndBarSeries:
940
- S.common.numberOfSeriesChanged = Mi(f, d);
937
+ case S.LineSeries:
938
+ case S.BarSeries:
939
+ case S.ComboLineAndBarSeries:
940
+ h.common.numberOfSeriesChanged = Mi(f, d);
941
941
  break;
942
- case h.BoxPlotSeries:
943
- de(e) && de(i) && (S.common.numberOfSeriesChanged = Mi(f, d), S.boxPlot.showMeanChanged = Ca(e, i));
942
+ case S.BoxPlotSeries:
943
+ de(e) && de(i) && (h.common.numberOfSeriesChanged = Mi(f, d), h.boxPlot.showMeanChanged = Ca(e, i));
944
944
  break;
945
- case h.GaugeSeries:
946
- S.gauge.valueConversionChanged = va(e, i);
945
+ case S.GaugeSeries:
946
+ h.gauge.valueConversionChanged = va(e, i);
947
947
  break;
948
- case h.HeatSeries:
949
- We(e) && We(i) && (S.heatChart.binningChanged = Ba(e, i), S.heatChart.hideEmptyRowsAndColumnsChanged = wn(
948
+ case S.HeatSeries:
949
+ We(e) && We(i) && (h.heatChart.binningChanged = Ba(e, i), h.heatChart.hideEmptyRowsAndColumnsChanged = wn(
950
950
  e,
951
951
  i
952
- ), S.heatChart.includeLeapDay = Ln(e, i));
952
+ ), h.heatChart.includeLeapDay = Ln(e, i));
953
953
  break;
954
- case h.ScatterSeries:
955
- S.scatterPlot.tooltipFieldsChanged = Pn({
954
+ case S.ScatterSeries:
955
+ h.scatterPlot.tooltipFieldsChanged = Pn({
956
956
  previousConfig: e,
957
957
  newConfig: i,
958
958
  fieldList: n
959
959
  });
960
960
  break;
961
961
  }
962
- return g = Object.values(S.common).some((x) => x), (S.gauge.valueConversionChanged || S.histogram.dataPropsChanged || S.boxPlot.showMeanChanged || S.heatChart.binningChanged || S.heatChart.hideEmptyRowsAndColumnsChanged || S.heatChart.includeLeapDay || S.scatterPlot.tooltipFieldsChanged) && (p = !0), y = g || p, { dataUpdateNeeded: y, dataUpdateDetails: S };
962
+ return g = Object.values(h.common).some((v) => v), (h.gauge.valueConversionChanged || h.histogram.dataPropsChanged || h.boxPlot.showMeanChanged || h.heatChart.binningChanged || h.heatChart.hideEmptyRowsAndColumnsChanged || h.heatChart.includeLeapDay || h.scatterPlot.tooltipFieldsChanged) && (p = !0), y = g || p, { dataUpdateNeeded: y, dataUpdateDetails: h };
963
963
  }
964
964
  function Uc(t, e) {
965
965
  const i = He(t);
@@ -989,10 +989,10 @@ function di(t) {
989
989
  let e;
990
990
  const i = t?.orderOptions?.data;
991
991
  return t.series?.length > 0 && i?.orderType === De.MultiAxes && (e = [], e.push({
992
- sortingField: Q.xField,
992
+ sortingField: _.xField,
993
993
  orderBy: i.orderByX ?? ye.Ascending
994
994
  }), e.push({
995
- sortingField: i.orderByY !== void 0 ? Q.yField : "",
995
+ sortingField: i.orderByY !== void 0 ? _.yField : "",
996
996
  orderBy: i.orderByY
997
997
  })), e;
998
998
  }
@@ -1000,7 +1000,7 @@ function Dn(t) {
1000
1000
  const { chartConfig: e, field: i } = t;
1001
1001
  let a;
1002
1002
  const r = di(e);
1003
- return r?.length === 2 && (a = i === Q.xField ? r[0]?.orderBy : r[1]?.orderBy), a;
1003
+ return r?.length === 2 && (a = i === _.xField ? r[0]?.orderBy : r[1]?.orderBy), a;
1004
1004
  }
1005
1005
  function Na(t) {
1006
1006
  const e = k(t.series);
@@ -1037,13 +1037,13 @@ function Ta(t) {
1037
1037
  const c = t.orderOptions.data && "preferLabel" in t.orderOptions.data ? t.orderOptions.data.preferLabel : !0;
1038
1038
  if (o = t.orderOptions?.data?.orderType ?? De.Category, u = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : void 0, o === De.Category ? r ? o = ce : o = c ? i : pt.originalCategoryValue : o = r ? Ne : [a].flat()[0], o !== void 0 && o !== "") {
1039
1039
  const l = ci(t);
1040
- if (_(t.series) !== h.PieSeries && o !== i && t.series?.length > 1)
1040
+ if (j(t.series) !== S.PieSeries && o !== i && t.series?.length > 1)
1041
1041
  switch (l) {
1042
1042
  case Te.Stacked:
1043
- o = C.technicalSortingFieldBySum;
1043
+ o = x.technicalSortingFieldBySum;
1044
1044
  break;
1045
1045
  case Te.Stacked100:
1046
- o = C.technicalSortingFieldByPercent;
1046
+ o = x.technicalSortingFieldByPercent;
1047
1047
  break;
1048
1048
  case Te.Side:
1049
1049
  typeof a == "string" && (o = a);
@@ -1064,21 +1064,21 @@ function Ta(t) {
1064
1064
  }
1065
1065
  function Mt(t) {
1066
1066
  let e;
1067
- const i = _(t?.series);
1067
+ const i = j(t?.series);
1068
1068
  if (t?.series && t.series.length > 0) {
1069
1069
  let a;
1070
1070
  switch (i) {
1071
- case h.HeatSeries:
1071
+ case S.HeatSeries:
1072
1072
  We(t) && (e = di(t));
1073
1073
  break;
1074
- case h.BoxPlotSeries:
1074
+ case S.BoxPlotSeries:
1075
1075
  de(t) && (a = Na(t));
1076
1076
  break;
1077
- case h.LineSeries:
1078
- case h.BarSeries:
1079
- case h.ComboLineAndBarSeries:
1080
- case h.RadarSeries:
1081
- case h.PieSeries:
1077
+ case S.LineSeries:
1078
+ case S.BarSeries:
1079
+ case S.ComboLineAndBarSeries:
1080
+ case S.RadarSeries:
1081
+ case S.PieSeries:
1082
1082
  a = Ta(t);
1083
1083
  break;
1084
1084
  }
@@ -1087,11 +1087,11 @@ function Mt(t) {
1087
1087
  return e;
1088
1088
  }
1089
1089
  function Yc(t) {
1090
- const { oldConfig: e, newConfig: i, dataWasUpdated: a } = t, r = _(i.series), n = k(i.series);
1090
+ const { oldConfig: e, newConfig: i, dataWasUpdated: a } = t, r = j(i.series), n = k(i.series);
1091
1091
  let s = !1, o = !1;
1092
1092
  if (n !== F.BoxPlotMonoField && n !== F.BoxPlotMonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
1093
1093
  const u = Mt(e), c = Mt(i);
1094
- if (r === h.HeatSeries) {
1094
+ if (r === S.HeatSeries) {
1095
1095
  const l = u ? u[0] : void 0, d = c ? c[0] : void 0, f = u ? u[1] : void 0, m = c ? c[1] : void 0;
1096
1096
  o = e?.orderOptions?.data?.orderType !== i.orderOptions?.data?.orderType || l?.sortingField !== d?.sortingField || l?.orderBy !== d?.orderBy || f?.sortingField !== m?.sortingField || f?.orderBy !== m?.orderBy, s = o || a;
1097
1097
  } else {
@@ -1131,21 +1131,21 @@ function On(t) {
1131
1131
  function Di(t) {
1132
1132
  const { value: e, dataContext: i, specificField: a, keepNullValues: r = !1, useRendererLabel: n = !1, config: s } = t;
1133
1133
  let o = e;
1134
- const { originalCategoryValue: u, originalDateValue: c } = C;
1134
+ const { originalCategoryValue: u, originalDateValue: c } = x;
1135
1135
  if (i !== void 0) {
1136
1136
  const l = n ? Hn(i) : void 0;
1137
- a !== void 0 && i[a] !== void 0 ? o = i[a] : l !== void 0 ? o = l : i[C.xAxisDisplayField] !== void 0 ? o = i[C.xAxisDisplayField] : i[C.xAxisField] !== void 0 ? o = i[C.xAxisField] : i[C.boxPlot.boxPlotCategory] !== void 0 ? o = i[C.boxPlot.boxPlotCategory] : i[c] !== void 0 ? o = i[c] : i[u] !== void 0 ? o = i[u] : i[ce] !== void 0 && (o = i[ce]), !r && (o === null || o === C.nullValue) && (s?.series?.[0].type === h.BarSeries || s?.series?.[0].type === h.LineSeries ? o = s.series?.[0]?.nullCategory?.text ?? C.nullCategory?.text ?? "null" : o = "null");
1137
+ a !== void 0 && i[a] !== void 0 ? o = i[a] : l !== void 0 ? o = l : i[x.xAxisDisplayField] !== void 0 ? o = i[x.xAxisDisplayField] : i[x.xAxisField] !== void 0 ? o = i[x.xAxisField] : i[x.boxPlot.boxPlotCategory] !== void 0 ? o = i[x.boxPlot.boxPlotCategory] : i[c] !== void 0 ? o = i[c] : i[u] !== void 0 ? o = i[u] : i[ce] !== void 0 && (o = i[ce]), !r && (o === null || o === x.nullValue) && (s?.series?.[0].type === S.BarSeries || s?.series?.[0].type === S.LineSeries ? o = s.series?.[0]?.nullCategory?.text ?? x.nullCategory?.text ?? "null" : o = "null");
1138
1138
  }
1139
1139
  return o;
1140
1140
  }
1141
1141
  function fi(t) {
1142
1142
  const { value: e, dataContext: i } = t;
1143
1143
  let a = e;
1144
- const { originalCategoryValue: r, originalDateValue: n } = C;
1144
+ const { originalCategoryValue: r, originalDateValue: n } = x;
1145
1145
  return i?.[n] !== void 0 ? a = i[n] : i?.[r] !== void 0 ? a = i[r] : i?.[ce] !== void 0 && (a = i[ce]), a;
1146
1146
  }
1147
1147
  function In(t) {
1148
- return t?.[C.originalCategoryValue];
1148
+ return t?.[x.originalCategoryValue];
1149
1149
  }
1150
1150
  function ht(t) {
1151
1151
  const {
@@ -1165,14 +1165,14 @@ function ht(t) {
1165
1165
  s === !0 && !u && (m = Di({
1166
1166
  value: `${l[a]?.toString()}`,
1167
1167
  dataContext: l,
1168
- specificField: o ? C.xAxisField : C.originalCategoryValue
1168
+ specificField: o ? x.xAxisField : x.originalCategoryValue
1169
1169
  }));
1170
1170
  let y = d[a];
1171
1171
  return s === !0 && !u && (y = Di({
1172
1172
  value: `${d[a]?.toString()}`,
1173
1173
  dataContext: d,
1174
- specificField: o ? C.xAxisField : C.originalCategoryValue
1175
- })), n === !0 && c && s === !0 && (m = Number.isNaN(Number.parseFloat(`${m?.toString()}`)) ? m : Number.parseFloat(m), y = Number.isNaN(Number.parseFloat(`${y?.toString()}`)) ? y : Number.parseFloat(y)), s === !0 && (l[C.originalCategoryValue] === null || m === null) || l[ei.defaultGroupOfSlicesId] === !0 ? f = 1 : s === !0 && (d[C.originalCategoryValue] === null || y === null) || d[ei.defaultGroupOfSlicesId] === !0 ? f = -1 : typeof m == "string" && typeof y == "string" ? (f = m.localeCompare(y, void 0, { numeric: !0 }), c && (f *= -1)) : m === void 0 ? f = c ? -1 : 1 : y === void 0 ? f = c ? 1 : -1 : m !== null && y !== null && (m > y ? f = c ? -1 : 1 : m < y && (f = c ? 1 : -1)), f;
1174
+ specificField: o ? x.xAxisField : x.originalCategoryValue
1175
+ })), n === !0 && c && s === !0 && (m = Number.isNaN(Number.parseFloat(`${m?.toString()}`)) ? m : Number.parseFloat(m), y = Number.isNaN(Number.parseFloat(`${y?.toString()}`)) ? y : Number.parseFloat(y)), s === !0 && (l[x.originalCategoryValue] === null || m === null) || l[ei.defaultGroupOfSlicesId] === !0 ? f = 1 : s === !0 && (d[x.originalCategoryValue] === null || y === null) || d[ei.defaultGroupOfSlicesId] === !0 ? f = -1 : typeof m == "string" && typeof y == "string" ? (f = m.localeCompare(y, void 0, { numeric: !0 }), c && (f *= -1)) : m === void 0 ? f = c ? -1 : 1 : y === void 0 ? f = c ? 1 : -1 : m !== null && y !== null && (m > y ? f = c ? -1 : 1 : m < y && (f = c ? 1 : -1)), f;
1176
1176
  });
1177
1177
  }
1178
1178
  }
@@ -1203,7 +1203,7 @@ function qn(t, e) {
1203
1203
  }
1204
1204
  function nt(t) {
1205
1205
  let e = new Date(t).valueOf();
1206
- return Number.isNaN(e) || (e = new Intl.DateTimeFormat("en-US", C.dateFormatUTC).format(t).replace(",", "")), e;
1206
+ return Number.isNaN(e) || (e = new Intl.DateTimeFormat("en-US", x.dateFormatUTC).format(t).replace(",", "")), e;
1207
1207
  }
1208
1208
  function Dt(t) {
1209
1209
  const { dataToConvert: e, x: i, y: a, fieldList: r } = t, n = [];
@@ -1214,10 +1214,10 @@ function Dt(t) {
1214
1214
  const u = {
1215
1215
  [i]: Jt(r, o),
1216
1216
  [a]: e[o],
1217
- [C.xAxisField]: o,
1218
- [C.originalCategoryValue]: o
1217
+ [x.xAxisField]: o,
1218
+ [x.originalCategoryValue]: o
1219
1219
  };
1220
- s !== void 0 && (u[Oe] = s), e[`${C.rendererSymbolField}_${o}`] !== void 0 && (u[C.rendererSymbolField] = e[`${C.rendererSymbolField}_${o}`]), n.push(u);
1220
+ s !== void 0 && (u[Oe] = s), e[`${x.rendererSymbolField}_${o}`] !== void 0 && (u[x.rendererSymbolField] = e[`${x.rendererSymbolField}_${o}`]), n.push(u);
1221
1221
  }
1222
1222
  });
1223
1223
  }
@@ -1257,44 +1257,44 @@ function Aa(t, e) {
1257
1257
  maxLineThreePlusSeriesCountTotal: y,
1258
1258
  maxPieChartSliceCountTotal: g,
1259
1259
  maxGaugeByFeaturesLimit: p
1260
- } = ut(e), S = _(t.series), x = t.series.length === 0 ? 1 : t.series.length, v = k(t.series);
1261
- switch (S) {
1262
- case h.ComboLineAndBarSeries:
1263
- case h.BarSeries:
1264
- x <= a && (x === 1 ? i = r : x === 2 ? i = At({
1260
+ } = ut(e), h = j(t.series), v = t.series.length === 0 ? 1 : t.series.length, B = k(t.series);
1261
+ switch (h) {
1262
+ case S.ComboLineAndBarSeries:
1263
+ case S.BarSeries:
1264
+ v <= a && (v === 1 ? i = r : v === 2 ? i = At({
1265
1265
  countTotal: s,
1266
1266
  countPerSeries: n,
1267
- numberOfSeries: x
1268
- }) : x > 2 && (i = At({
1267
+ numberOfSeries: v
1268
+ }) : v > 2 && (i = At({
1269
1269
  countTotal: u,
1270
1270
  countPerSeries: o,
1271
- numberOfSeries: x
1271
+ numberOfSeries: v
1272
1272
  })));
1273
1273
  break;
1274
- case h.LineSeries:
1275
- x <= c && (x === 1 ? i = l : x === 2 ? i = At({
1274
+ case S.LineSeries:
1275
+ v <= c && (v === 1 ? i = l : v === 2 ? i = At({
1276
1276
  countTotal: f,
1277
1277
  countPerSeries: d,
1278
- numberOfSeries: x
1279
- }) : x > 2 && (i = At({
1278
+ numberOfSeries: v
1279
+ }) : v > 2 && (i = At({
1280
1280
  countTotal: y,
1281
1281
  countPerSeries: m,
1282
- numberOfSeries: x
1282
+ numberOfSeries: v
1283
1283
  })));
1284
1284
  break;
1285
- case h.PieSeries:
1285
+ case S.PieSeries:
1286
1286
  i = g;
1287
1287
  break;
1288
- case h.GaugeSeries:
1288
+ case S.GaugeSeries:
1289
1289
  i = p;
1290
1290
  break;
1291
- case h.ScatterSeries:
1291
+ case S.ScatterSeries:
1292
1292
  // handled through the aggregation feature
1293
- case h.HistogramSeries:
1293
+ case S.HistogramSeries:
1294
1294
  // handled through the number of bins
1295
- case h.BoxPlotSeries:
1295
+ case S.BoxPlotSeries:
1296
1296
  }
1297
- return (v === F.BarAndLineNoAggregation || v === F.BarAndLineMultiFields) && i !== void 0 && (i = Math.ceil(i / x)), i;
1297
+ return (B === F.BarAndLineNoAggregation || B === F.BarAndLineMultiFields) && i !== void 0 && (i = Math.ceil(i / v)), i;
1298
1298
  }
1299
1299
  function Oi(t, e) {
1300
1300
  let i = t;
@@ -1321,7 +1321,7 @@ function Xc(t) {
1321
1321
  return e;
1322
1322
  }
1323
1323
  function wa(t) {
1324
- const { stringToTruncate: e, characterLimit: i, ellipsis: a = C.chartEllipsis } = t;
1324
+ const { stringToTruncate: e, characterLimit: i, ellipsis: a = x.chartEllipsis } = t;
1325
1325
  let r = e;
1326
1326
  return typeof i == "number" && Number.isFinite(i) && i > 0 && i < e.length && (r = e.slice(0, i), r = `${r}${a}`), r;
1327
1327
  }
@@ -1345,7 +1345,7 @@ function Kc(t, e = ":") {
1345
1345
  function ed(t) {
1346
1346
  return (i) => {
1347
1347
  let a = typeof i != "string" ? i?.toString() ?? "" : i;
1348
- return !oe(a) && a !== C.htmlEmptyContent && (a = wa({
1348
+ return !oe(a) && a !== x.htmlEmptyContent && (a = wa({
1349
1349
  stringToTruncate: a,
1350
1350
  characterLimit: t
1351
1351
  })), a;
@@ -1368,7 +1368,7 @@ function td(t) {
1368
1368
  let u = i ?? e?.text ?? "";
1369
1369
  if (a === "html") {
1370
1370
  let { wrap: c, maxWidth: l } = n ?? {};
1371
- r === br.Wrap && (c = !0, l = l ?? C.xAxisLabelMaxWidth);
1371
+ r === br.Wrap && (c = !0, l = l ?? x.xAxisLabelMaxWidth);
1372
1372
  const d = c === !0 && Number.isFinite(l) ? `max-width: ${l}px; word-break: break-word;` : "";
1373
1373
  u = `<p style="margin:0;${s}${o}${d}">${u}</p>`;
1374
1374
  } else
@@ -1379,12 +1379,12 @@ function _n(t) {
1379
1379
  return t ? t.replace(/[A-Z]/gu, (e) => `-${e.toLowerCase()}`) : void 0;
1380
1380
  }
1381
1381
  const id = [
1382
- h.BarSeries,
1383
- h.BoxPlotSeries,
1384
- h.LineSeries,
1385
- h.PieSeries,
1386
- h.HistogramSeries,
1387
- h.ScatterSeries
1382
+ S.BarSeries,
1383
+ S.BoxPlotSeries,
1384
+ S.LineSeries,
1385
+ S.PieSeries,
1386
+ S.HistogramSeries,
1387
+ S.ScatterSeries
1388
1388
  ], ad = 1, rd = { PNG: "png" }, tt = {
1389
1389
  ChartRenderer: 1,
1390
1390
  LayerRenderer: 2
@@ -1395,25 +1395,25 @@ function nd(t) {
1395
1395
  if (e.chartRenderer)
1396
1396
  a = !0;
1397
1397
  else {
1398
- const { series: r } = e, n = _(r), s = k(r), o = Re(e), u = Pe({
1398
+ const { series: r } = e, n = j(r), s = k(r), o = Re(e), u = Pe({
1399
1399
  seriesConfig: o,
1400
1400
  queryObject: i
1401
1401
  }), l = z(i)?.renderer;
1402
1402
  switch (l?.type) {
1403
1403
  case se.Simple:
1404
- a = n === h.HistogramSeries || n === h.ScatterSeries || s === F.BarAndLineMonoField || s === F.BoxPlotMonoField || s === F.BoxPlotMultiFields || s === F.BoxPlotMonoFieldAndCategory || s === F.BarAndLineNoAggregation && r.length === 1 && !u;
1404
+ a = n === S.HistogramSeries || n === S.ScatterSeries || s === F.BarAndLineMonoField || s === F.BoxPlotMonoField || s === F.BoxPlotMultiFields || s === F.BoxPlotMonoFieldAndCategory || s === F.BarAndLineNoAggregation && r.length === 1 && !u;
1405
1405
  break;
1406
1406
  case se.UniqueValue:
1407
1407
  {
1408
1408
  const f = l?.field, m = te(o.query?.where), { x: y } = o;
1409
- a = (s === F.BoxPlotMonoFieldAndSplitBy || s === F.BoxPlotMultiFieldsAndSplitBy || s === F.BoxPlotMonoFieldAndCategoryAndSplitBy || s === F.BarAndLineSplitByNoAggregation || s === F.BarAndLineSplitBy) && f === m || (s === F.BoxPlotMonoFieldAndCategory || s === F.PieFromCategory || s === F.BarAndLineMonoField) && f === y || s === F.BarAndLineNoAggregation || s === F.PieNoAggregation || n === h.ScatterSeries;
1409
+ a = (s === F.BoxPlotMonoFieldAndSplitBy || s === F.BoxPlotMultiFieldsAndSplitBy || s === F.BoxPlotMonoFieldAndCategoryAndSplitBy || s === F.BarAndLineSplitByNoAggregation || s === F.BarAndLineSplitBy) && f === m || (s === F.BoxPlotMonoFieldAndCategory || s === F.PieFromCategory || s === F.BarAndLineMonoField) && f === y || s === F.BarAndLineNoAggregation || s === F.PieNoAggregation || n === S.ScatterSeries;
1410
1410
  }
1411
1411
  break;
1412
1412
  case se.PieChart:
1413
1413
  a = s === F.PieFromFields || s === F.BarAndLineFromFields || s === F.BarAndLineMultiFields || s === F.BarAndLineMonoField || s === F.BoxPlotMonoField || s === F.BoxPlotMultiFields || s === F.BoxPlotMonoFieldAndCategory || s === F.BoxPlotMultiFieldsAndCategory;
1414
1414
  break;
1415
1415
  case se.ClassBreaks:
1416
- a = n === h.HeatSeries || n === h.ScatterSeries || s === F.BarAndLineNoAggregation || s === F.PieNoAggregation;
1416
+ a = n === S.HeatSeries || n === S.ScatterSeries || s === F.BarAndLineNoAggregation || s === F.PieNoAggregation;
1417
1417
  break;
1418
1418
  case se.Dictionary:
1419
1419
  case se.DotDensity:
@@ -1427,10 +1427,10 @@ function jn(t, e) {
1427
1427
  return _n(t?.type) ?? e?.type;
1428
1428
  }
1429
1429
  function Hn(t) {
1430
- const e = C.rendererSymbolField;
1430
+ const e = x.rendererSymbolField;
1431
1431
  let i = e in t ? e : void 0;
1432
1432
  if (!i) {
1433
- const a = t[C.originalCategoryValue];
1433
+ const a = t[x.originalCategoryValue];
1434
1434
  i = Object.keys(t).find((r) => {
1435
1435
  const n = t[r];
1436
1436
  return r.includes(e) && n?.label && n?.uniqueValue === a;
@@ -1455,39 +1455,39 @@ function La(t) {
1455
1455
  function Wn(t) {
1456
1456
  const { renderer: e, seriesConfig: i, chartSubType: a, dataItem: r, rendererOrigin: n } = t;
1457
1457
  let s, o = !1;
1458
- const u = _(i), { outline: c, attributes: l } = e;
1458
+ const u = j(i), { outline: c, attributes: l } = e;
1459
1459
  return l.forEach(
1460
1460
  (d) => {
1461
1461
  let { field: f } = d;
1462
1462
  const { color: m, label: y } = d;
1463
1463
  let g;
1464
1464
  Array.isArray(m) && m?.length === 4 ? g = m : m && "toRgba" in m && (g = m.toRgba());
1465
- let p = !1, S = !0;
1465
+ let p = !1, h = !0;
1466
1466
  switch (u) {
1467
- case h.BarSeries:
1468
- case h.LineSeries:
1469
- case h.ComboLineAndBarSeries:
1470
- case h.RadarSeries:
1467
+ case S.BarSeries:
1468
+ case S.LineSeries:
1469
+ case S.ComboLineAndBarSeries:
1470
+ case S.RadarSeries:
1471
1471
  if (a !== F.BarAndLineFromFields) {
1472
- const x = i.find((v) => v.query?.outStatistics?.[0]?.onStatisticField === f);
1473
- x !== void 0 && "y" in x ? f = [x.y].flat()[0] : f = "";
1472
+ const v = i.find((B) => B.query?.outStatistics?.[0]?.onStatisticField === f);
1473
+ v !== void 0 && "y" in v ? f = [v.y].flat()[0] : f = "";
1474
1474
  }
1475
- p = a !== F.BarAndLineFromFields || f === r[C.originalCategoryValue];
1475
+ p = a !== F.BarAndLineFromFields || f === r[x.originalCategoryValue];
1476
1476
  break;
1477
- case h.PieSeries:
1478
- p = a === F.PieFromFields && f === r[C.originalCategoryValue];
1477
+ case S.PieSeries:
1478
+ p = a === F.PieFromFields && f === r[x.originalCategoryValue];
1479
1479
  break;
1480
- case h.BoxPlotSeries:
1481
- a === F.BoxPlotMonoField || a === F.BoxPlotMonoFieldAndCategory ? p = f === i[0].y : f && (a === F.BoxPlotMultiFields || a === F.BoxPlotMultiFieldsAndCategory) && (p = i.map((v) => v.y).flat().includes(f)), S = !1;
1480
+ case S.BoxPlotSeries:
1481
+ a === F.BoxPlotMonoField || a === F.BoxPlotMonoFieldAndCategory ? p = f === i[0].y : f && (a === F.BoxPlotMultiFields || a === F.BoxPlotMultiFieldsAndCategory) && (p = i.map((B) => B.y).flat().includes(f)), h = !1;
1482
1482
  break;
1483
1483
  }
1484
1484
  p && g && (s = {
1485
1485
  type: _e.SMS,
1486
1486
  color: g,
1487
- label: S && y ? y : void 0
1487
+ label: h && y ? y : void 0
1488
1488
  }, c != null && (s.outline = c), La({
1489
1489
  dataItem: r,
1490
- symbolField: a === F.BarAndLineFromFields || a === F.PieFromFields ? C.rendererSymbolField : `${C.rendererSymbolField}_${f}`,
1490
+ symbolField: a === F.BarAndLineFromFields || a === F.PieFromFields ? x.rendererSymbolField : `${x.rendererSymbolField}_${f}`,
1491
1491
  rendererSymbol: s,
1492
1492
  rendererOrigin: n
1493
1493
  }) && (o = !0));
@@ -1496,7 +1496,7 @@ function Wn(t) {
1496
1496
  }
1497
1497
  function Gn(t) {
1498
1498
  const { seriesConfig: e, chartSubType: i, rendererType: a } = t;
1499
- let n = C.rendererSymbolField;
1499
+ let n = x.rendererSymbolField;
1500
1500
  if (a === se.UniqueValue) {
1501
1501
  if (aa(i)) {
1502
1502
  const s = fe({
@@ -1504,7 +1504,7 @@ function Gn(t) {
1504
1504
  keepSurroundingQuotes: !1,
1505
1505
  escape: !1
1506
1506
  });
1507
- s === null ? n = C.nullValue : i === F.BarAndLineSplitBy && typeof e.y == "string" ? n = e.y : i === F.BarAndLineSplitByNoAggregation && typeof e.y == "string" ? n = `${e.y}_${s}` : n = `${s}`;
1507
+ s === null ? n = x.nullValue : i === F.BarAndLineSplitBy && typeof e.y == "string" ? n = e.y : i === F.BarAndLineSplitByNoAggregation && typeof e.y == "string" ? n = `${e.y}_${s}` : n = `${s}`;
1508
1508
  }
1509
1509
  } else if (a === se.PieChart)
1510
1510
  switch (i) {
@@ -1528,7 +1528,7 @@ function Pa(t) {
1528
1528
  chartSubType: i,
1529
1529
  rendererType: a
1530
1530
  });
1531
- return n instanceof Array && e.type === h.BoxPlotSeries && a === se.PieChart && r !== void 0 && (n = n.find((s) => s === r[Rt]) ?? n[0]), n = n !== C.rendererSymbolField ? `${C.rendererSymbolField}_${n.toString()}` : n, n;
1531
+ return n instanceof Array && e.type === S.BoxPlotSeries && a === se.PieChart && r !== void 0 && (n = n.find((s) => s === r[Rt]) ?? n[0]), n = n !== x.rendererSymbolField ? `${x.rendererSymbolField}_${n.toString()}` : n, n;
1532
1532
  }
1533
1533
  function Un(t) {
1534
1534
  const { chartRenderer: e, queryObject: i } = t, a = e !== void 0 ? {
@@ -1567,13 +1567,13 @@ async function Yn(t) {
1567
1567
  } else if (i?.[ei.defaultGroupOfSlicesId] !== !0) {
1568
1568
  const { x: m } = e[0], y = /* @__PURE__ */ new Map();
1569
1569
  o && o.trim() !== "" ? e.forEach((g) => {
1570
- if (g.type === h.BarSeries || g.type === h.LineSeries || g.type === h.BoxPlotSeries || g.type === h.RadarSeries) {
1570
+ if (g.type === S.BarSeries || g.type === S.LineSeries || g.type === S.BoxPlotSeries || g.type === S.RadarSeries) {
1571
1571
  const p = Pa({
1572
1572
  seriesConfig: g,
1573
1573
  chartSubType: s,
1574
1574
  rendererType: r,
1575
1575
  dataItem: i
1576
- }), S = fe({
1576
+ }), h = fe({
1577
1577
  where: g.query?.where,
1578
1578
  normalize: !0,
1579
1579
  keepSurroundingQuotes: !1,
@@ -1581,13 +1581,13 @@ async function Yn(t) {
1581
1581
  });
1582
1582
  y.set(p, {
1583
1583
  ...i,
1584
- [o]: S
1584
+ [o]: h
1585
1585
  });
1586
1586
  }
1587
- }) : e[0].type === h.HeatSeries && r === se.ClassBreaks ? y.set(C.rendererSymbolField, {
1588
- [Q.valueField]: i[Q.valueField]
1587
+ }) : e[0].type === S.HeatSeries && r === se.ClassBreaks ? y.set(x.rendererSymbolField, {
1588
+ [_.valueField]: i[_.valueField]
1589
1589
  }) : y.set(
1590
- _(e) === h.HistogramSeries ? C.rendererSymbolFieldForHistogram : C.rendererSymbolField,
1590
+ j(e) === S.HistogramSeries ? x.rendererSymbolFieldForHistogram : x.rendererSymbolField,
1591
1591
  {
1592
1592
  ...i,
1593
1593
  [m]: In(i)
@@ -1596,9 +1596,9 @@ async function Yn(t) {
1596
1596
  try {
1597
1597
  const g = Array.from(y.entries()), p = u.clone();
1598
1598
  p.layer = u.layer;
1599
- const S = a?.uniqueValueInfos;
1600
- for (let x = 0; x < g.length; x += 1) {
1601
- const [v, b] = g[x];
1599
+ const h = a?.uniqueValueInfos;
1600
+ for (let v = 0; v < g.length; v += 1) {
1601
+ const [B, b] = g[v];
1602
1602
  if (Ii({
1603
1603
  mode: "encode",
1604
1604
  x: m,
@@ -1615,7 +1615,7 @@ async function Yn(t) {
1615
1615
  T && (d.color = T.length === 4 ? T : [...T, 255]);
1616
1616
  }
1617
1617
  const N = await Gt.getLegendLabel(p);
1618
- N != null && N !== "" && (d.label = N, d.uniqueValue = S?.find((T) => T.label === N)?.value ?? void 0);
1618
+ N != null && N !== "" && (d.label = N, d.uniqueValue = h?.find((T) => T.label === N)?.value ?? void 0);
1619
1619
  }
1620
1620
  l?.set(JSON.stringify(b), d);
1621
1621
  }
@@ -1626,7 +1626,7 @@ async function Yn(t) {
1626
1626
  attributes: i
1627
1627
  }), La({
1628
1628
  dataItem: i,
1629
- symbolField: v,
1629
+ symbolField: B,
1630
1630
  rendererSymbol: d,
1631
1631
  rendererOrigin: n
1632
1632
  }) && (f = !0);
@@ -1639,7 +1639,7 @@ async function Yn(t) {
1639
1639
  function Ii(t) {
1640
1640
  const { splitByField: e, attributes: i, x: a, mode: r } = t;
1641
1641
  [a, e ?? ""].forEach((n) => {
1642
- i[n] === (r === "encode" ? null : C.nullValue) && (i[n] = r === "encode" ? C.nullValue : null);
1642
+ i[n] === (r === "encode" ? null : x.nullValue) && (i[n] = r === "encode" ? x.nullValue : null);
1643
1643
  });
1644
1644
  }
1645
1645
  function Zn(t) {
@@ -1710,8 +1710,8 @@ function es(t, e) {
1710
1710
  }
1711
1711
  function ld(t, e) {
1712
1712
  let i = !0;
1713
- const a = _(t?.series), r = _(e?.series);
1714
- return a && a !== r && (i = a === h.ComboLineAndBarSeries && (r === h.BarSeries || r === h.LineSeries) || r === h.ComboLineAndBarSeries && (a === h.BarSeries || a === h.LineSeries) || a === h.BarSeries && r === h.LineSeries || a === h.LineSeries && r === h.BarSeries), i;
1713
+ const a = j(t?.series), r = j(e?.series);
1714
+ return a && a !== r && (i = a === S.ComboLineAndBarSeries && (r === S.BarSeries || r === S.LineSeries) || r === S.ComboLineAndBarSeries && (a === S.BarSeries || a === S.LineSeries) || a === S.BarSeries && r === S.LineSeries || a === S.LineSeries && r === S.BarSeries), i;
1715
1715
  }
1716
1716
  function ti(t, e) {
1717
1717
  return t !== void 0 && e !== void 0 && e > 0;
@@ -1721,9 +1721,9 @@ function ud(t) {
1721
1721
  let r = [];
1722
1722
  const n = k(e.series), s = ra(e), o = z(i), u = e.chartRenderer ?? o?.renderer?.toJSON();
1723
1723
  return r = e.series.map((c, l) => {
1724
- const d = _([c]);
1724
+ const d = j([c]);
1725
1725
  let f;
1726
- 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 = Zn({
1726
+ return (d === S.BarSeries || d === S.LineSeries || d === S.RadarSeries) && (c.type === S.BarSeries ? f = c.fillSymbol?.color : (c.type === S.RadarSeries || c.type === S.LineSeries) && (f = c.lineSymbol?.color), s ? f = Zn({
1727
1727
  dataItem: a[0],
1728
1728
  seriesConfig: c,
1729
1729
  chartSubType: n,
@@ -1746,7 +1746,10 @@ function is(t) {
1746
1746
  return de(t) ? t?.showOutliers : void 0;
1747
1747
  }
1748
1748
  function cd() {
1749
- return `{name} {${C.originalCategoryValue}} {dateY} {valueX} {dateX} {valueY}`;
1749
+ return `{name} {${x.originalCategoryValue}} {dateY} {valueX} {dateX} {valueY}`;
1750
+ }
1751
+ function dd() {
1752
+ return "{category} {value} {valuePercentTotal.formatNumber('#.#')}%";
1750
1753
  }
1751
1754
  function as(t, e) {
1752
1755
  const i = me.now().offset / 60, a = me.now().setZone(t) ?? i, r = a.offset / 60, n = e ? a.setZone(e).offset / 60 : 0;
@@ -1952,53 +1955,53 @@ function yi(t) {
1952
1955
  seriesConfig: d,
1953
1956
  queryObject: a
1954
1957
  });
1955
- let p = /* @__PURE__ */ new Map(), S = !1, x = !1, v = !1, b = !1, B = !1, N = {};
1958
+ let p = /* @__PURE__ */ new Map(), h = !1, v = !1, B = !1, b = !1, C = !1, N = {};
1956
1959
  if (f !== void 0) {
1957
1960
  N = He(f);
1958
1961
  const $ = te(f.where);
1959
1962
  let M = "";
1960
- switch (i.fetchNullValues !== !0 && (m !== C.boxPlot.boxPlotCategory && (M = `${m} IS NOT NULL`), $.trim() !== "" && $ !== m && !Ie(f.where) && (M = Y([M, `${$} IS NOT NULL`]))), l) {
1963
+ switch (i.fetchNullValues !== !0 && (m !== x.boxPlot.boxPlotCategory && (M = `${m} IS NOT NULL`), $.trim() !== "" && $ !== m && !Ie(f.where) && (M = Y([M, `${$} IS NOT NULL`]))), l) {
1961
1964
  case F.BarAndLineSplitBy: {
1962
- p = ss(c), b = !0, S = !0, x = !0;
1965
+ p = ss(c), b = !0, h = !0, v = !0;
1963
1966
  break;
1964
1967
  }
1965
1968
  case F.BarAndLineMultiFields:
1966
- cs(N, c), x = !0;
1969
+ cs(N, c), v = !0;
1967
1970
  break;
1968
1971
  case F.PieFromFields:
1969
1972
  case F.BarAndLineFromFields:
1970
- M = "", v = !0, x = !0;
1973
+ M = "", B = !0, v = !0;
1971
1974
  break;
1972
1975
  case F.BarAndLineMonoField:
1973
1976
  case F.PieFromCategory:
1974
- x = !0;
1977
+ v = !0;
1975
1978
  break;
1976
1979
  case F.BoxPlotMonoField:
1977
1980
  case F.BoxPlotMultiFields:
1978
- v = !0, B = !0;
1981
+ B = !0, C = !0;
1979
1982
  break;
1980
1983
  case F.BoxPlotMonoFieldAndCategory:
1981
1984
  case F.BoxPlotMultiFieldsAndCategory:
1982
1985
  case F.BoxPlotMonoFieldAndSplitBy:
1983
1986
  case F.BoxPlotMonoFieldAndCategoryAndSplitBy:
1984
1987
  case F.BoxPlotMultiFieldsAndSplitBy: {
1985
- B = !0, b = !0, v = !0;
1988
+ C = !0, b = !0, B = !0;
1986
1989
  break;
1987
1990
  }
1988
1991
  case F.PieNoAggregation:
1989
1992
  case F.BarAndLineNoAggregation:
1990
1993
  case F.BarAndLineSplitByNoAggregation:
1991
1994
  }
1992
- if (x && ls({
1995
+ if (v && ls({
1993
1996
  uniqueQuery: N,
1994
1997
  y,
1995
- useGenericOutStatFieldName: S,
1998
+ useGenericOutStatFieldName: h,
1996
1999
  queryObject: a,
1997
2000
  chartSubType: l,
1998
2001
  isTimeBinningSeries: g,
1999
2002
  returnFeaturesExtent: o,
2000
2003
  splitByField: $
2001
- }), b && os({ uniqueQuery: N, splitByField: $, x: m }), de(e) && B && (N.outStatistics = us({ chartConfig: e, fetchFullBoxPlotData: s })), v ? delete N.orderByFields : i.orderByFields !== void 0 && (N.orderByFields = i.orderByFields.filter((q) => {
2004
+ }), b && os({ uniqueQuery: N, splitByField: $, x: m }), de(e) && C && (N.outStatistics = us({ chartConfig: e, fetchFullBoxPlotData: s })), B ? delete N.orderByFields : i.orderByFields !== void 0 && (N.orderByFields = i.orderByFields.filter((q) => {
2002
2005
  const G = q.split(" ");
2003
2006
  return !oe(G[0]);
2004
2007
  })), g && be(c[0])) {
@@ -2026,10 +2029,10 @@ const le = {
2026
2029
  ChartDisposed: "ChartDisposeError",
2027
2030
  LayerFieldsNotFound: "layerFieldsNotFound",
2028
2031
  LayerNotSupported: "layerNotSupported"
2029
- }, Ge = /* @__PURE__ */ new Map(), dd = {
2032
+ }, Ge = /* @__PURE__ */ new Map(), fd = {
2030
2033
  NonNumericAggregation: "nonNumericAggregation",
2031
2034
  DuplicateSeriesID: "duplicateSeriesId"
2032
- }, fd = {
2035
+ }, md = {
2033
2036
  Required: "required",
2034
2037
  MinLength: "minLength",
2035
2038
  MinItems: "minItems",
@@ -2038,7 +2041,7 @@ const le = {
2038
2041
  AdditionalProperties: "additionalProperties",
2039
2042
  Enum: "enum",
2040
2043
  AnyOf: "anyOf"
2041
- }, j = {
2044
+ }, Q = {
2042
2045
  BadData: "badData",
2043
2046
  EmptyDataSet: "emptyDataSet",
2044
2047
  NoValue: "noValue",
@@ -2084,23 +2087,23 @@ async function ys(t) {
2084
2087
  const y = ft(i.geometry) ?? f.fullExtent, g = Ot(f, c);
2085
2088
  if (g < 0)
2086
2089
  throw new Error("Band ID not found for `${x}`.");
2087
- let p, S;
2090
+ let p, h;
2088
2091
  if (!r && (l === void 0 || l === Z.None) && d && Array.isArray(m.histograms) && m.histograms.length > g && m.histograms[g].size % d === 0 && Array.isArray(m.statistics) && m?.statistics?.length > g)
2089
- p = m.histograms[g], S = m.statistics[g];
2092
+ p = m.histograms[g], h = m.statistics[g];
2090
2093
  else {
2091
- let x, v, b;
2094
+ let v, B, b;
2092
2095
  if (r && n)
2093
- x = n.resolution, v = n.resolution, b = n.spatialReference;
2096
+ v = n.resolution, B = n.resolution, b = n.spatialReference;
2094
2097
  else {
2095
2098
  const w = fs, L = 2, A = m.width, I = m.height, P = Math.max(
2096
2099
  0,
2097
2100
  Math.ceil(Math.log(Math.max(A, I) / w) / Math.log(L))
2098
2101
  ), O = L ** P;
2099
- x = m.pixelSize.x * O, v = m.pixelSize.y * O, b = f.spatialReference;
2102
+ v = m.pixelSize.x * O, B = m.pixelSize.y * O, b = f.spatialReference;
2100
2103
  }
2101
- const B = new da({
2102
- x,
2103
- y: v,
2104
+ const C = new da({
2105
+ x: v,
2106
+ y: B,
2104
2107
  spatialReference: b
2105
2108
  }), N = ms(l), T = await Gr(
2106
2109
  f,
@@ -2108,7 +2111,7 @@ async function ys(t) {
2108
2111
  bandIds: [g],
2109
2112
  geometry: y,
2110
2113
  histogramSize: d ?? void 0,
2111
- pixelSize: B,
2114
+ pixelSize: C,
2112
2115
  transformType: N,
2113
2116
  downsampleOnly: !0
2114
2117
  },
@@ -2116,9 +2119,9 @@ async function ys(t) {
2116
2119
  signal: o ?? (s !== void 0 ? Ge.get(s)?.signal : void 0)
2117
2120
  }
2118
2121
  );
2119
- S = T.statistics[0], p = T.histograms[0];
2122
+ h = T.statistics[0], p = T.histograms[0];
2120
2123
  }
2121
- return { histogram: p, statistics: S };
2124
+ return { histogram: p, statistics: h };
2122
2125
  }
2123
2126
  function gs(t, e) {
2124
2127
  const i = [], a = (t.max - t.min) / t.size;
@@ -2178,12 +2181,14 @@ async function ps(t) {
2178
2181
  }
2179
2182
  } : u = {
2180
2183
  valid: !1,
2181
- invalidType: j.EmptyDataSet
2184
+ invalidType: Q.EmptyDataSet
2182
2185
  };
2183
2186
  } else
2184
2187
  u = {
2185
2188
  valid: !1,
2186
- invalidType: j.BadData
2189
+ invalidType: Q.NoValue
2190
+ // for #17296
2191
+ // invalidType: DataWarningKeywords.BadData, // 2DO: review whether to use BadData or NoValue after future enhancement
2187
2192
  };
2188
2193
  return u;
2189
2194
  }
@@ -2249,7 +2254,7 @@ function bs(t, e) {
2249
2254
  }
2250
2255
  return i;
2251
2256
  }
2252
- function md(t, e, i = 1) {
2257
+ function yd(t, e, i = 1) {
2253
2258
  const a = Math.max(0, Math.ceil((e - t) / i)), r = new Array(a);
2254
2259
  for (let n = 0; n < a; n++)
2255
2260
  r[n] = t + n * i;
@@ -2294,22 +2299,22 @@ async function vs(t) {
2294
2299
  let m;
2295
2300
  const y = z(e), g = ge(y);
2296
2301
  if (g) {
2297
- const S = { where: Y([u, g.definitionExpression]) }, x = { query: S, signal: o }, v = ft(c)?.extent?.toJSON();
2298
- if (v !== void 0) {
2299
- const B = Cs(d), { xmin: N, ymin: T, xmax: w, ymax: L } = v;
2300
- S.geometryType = "esriGeometryEnvelope", S.geometry = `${N},${T},${w},${L}`, l !== void 0 && (S.distance = l.toString()), B !== void 0 && (S.units = B, c?.spatialReference?.wkid != null && (S.inSR = c.spatialReference.wkid.toString()));
2302
+ const h = { where: Y([u, g.definitionExpression]) }, v = { query: h, signal: o }, B = ft(c)?.extent?.toJSON();
2303
+ if (B !== void 0) {
2304
+ const C = Cs(d), { xmin: N, ymin: T, xmax: w, ymax: L } = B;
2305
+ h.geometryType = "esriGeometryEnvelope", h.geometry = `${N},${T},${w},${L}`, l !== void 0 && (h.distance = l.toString()), C !== void 0 && (h.units = C, c?.spatialReference?.wkid != null && (h.inSR = c.spatialReference.wkid.toString()));
2301
2306
  }
2302
- f && (S.time = `${f[0]},${f[1]}`);
2307
+ f && (h.time = `${f[0]},${f[1]}`);
2303
2308
  const b = `${g.url}/${g.layerId}/queryAnalytic?f=${a}&dataFormat=${r}&outAnalytics=${n}`;
2304
2309
  try {
2305
- m = (await Lt(b, x)).data?.features?.[0]?.attributes;
2306
- } catch (B) {
2310
+ m = (await Lt(b, v)).data?.features?.[0]?.attributes;
2311
+ } catch (C) {
2307
2312
  const N = s ?? (await mt(
2308
2313
  ze(document.documentElement).t9nLocale,
2309
2314
  gt("./assets/common/t9n"),
2310
2315
  "messages."
2311
2316
  )).errorStrings;
2312
- throw new re(le.QueryFeaturesError, N.errors.queryError, B);
2317
+ throw new re(le.QueryFeaturesError, N.errors.queryError, C);
2313
2318
  }
2314
2319
  }
2315
2320
  return m;
@@ -2326,7 +2331,7 @@ async function Bs(t) {
2326
2331
  let u;
2327
2332
  const c = z(i), l = yn(c);
2328
2333
  if (l && i && "queryAttributeBins" in i) {
2329
- const { x: d, y: f, xTemporalBinning: m, yTemporalBinning: y } = e.series[0], { outTimeZone: g, firstDayOfWeek: p, includeLeapDay: S } = e, x = Fo({
2334
+ const { x: d, y: f, xTemporalBinning: m, yTemporalBinning: y } = e.series[0], { outTimeZone: g, firstDayOfWeek: p, includeLeapDay: h } = e, v = Fo({
2330
2335
  queryObject: i,
2331
2336
  queryConfig: a,
2332
2337
  x: d,
@@ -2335,14 +2340,14 @@ async function Bs(t) {
2335
2340
  yTemporalBinning: y,
2336
2341
  configTimeZone: g,
2337
2342
  firstDayOfWeek: p,
2338
- includeLeapDay: S,
2343
+ includeLeapDay: h,
2339
2344
  view: r,
2340
2345
  syncViewTimeZone: n
2341
2346
  });
2342
2347
  try {
2343
- u = await i.queryAttributeBins(x, { signal: o });
2344
- } catch (v) {
2345
- throw new re(le.QueryFeaturesError, s.errors.queryError, v);
2348
+ u = await i.queryAttributeBins(v, { signal: o });
2349
+ } catch (B) {
2350
+ throw new re(le.QueryFeaturesError, s.errors.queryError, B);
2346
2351
  }
2347
2352
  }
2348
2353
  if (!l)
@@ -2496,10 +2501,10 @@ async function Fe(t) {
2496
2501
  const l = z(e), d = r ?? 1, f = za(l);
2497
2502
  if (n !== !0 && d > f && l?.capabilities?.query.supportsPagination) {
2498
2503
  let m = 0, y = 0;
2499
- const g = Math.ceil(d / f), p = Math.ceil(g / W.maxParallelRequests), S = [];
2504
+ const g = Math.ceil(d / f), p = Math.ceil(g / W.maxParallelRequests), h = [];
2500
2505
  for (; y < p; ) {
2501
2506
  m = y * W.maxParallelRequests * f;
2502
- const v = ws({
2507
+ const B = ws({
2503
2508
  queryConfig: { ...i, start: m },
2504
2509
  queryObject: e,
2505
2510
  maxRecords: f,
@@ -2509,9 +2514,9 @@ async function Fe(t) {
2509
2514
  abortKey: o,
2510
2515
  abortSignal: u
2511
2516
  });
2512
- S.push(v), y += 1;
2517
+ h.push(B), y += 1;
2513
2518
  }
2514
- c = (await Promise.all(S)).flat();
2519
+ c = (await Promise.all(h)).flat();
2515
2520
  } else (Number.isNaN(d) || d >= 0) && (c = await Ia({
2516
2521
  queryObject: e,
2517
2522
  queryConfig: i,
@@ -2522,7 +2527,7 @@ async function Fe(t) {
2522
2527
  }));
2523
2528
  return c;
2524
2529
  }
2525
- async function yd(t) {
2530
+ async function gd(t) {
2526
2531
  const { queryObject: e, queryConfig: i, uniqueFeature: a, errorStrings: r, abortKey: n } = t, s = { ...i, returnDistinctValues: !0 };
2527
2532
  return await Fe({
2528
2533
  queryObject: e,
@@ -2641,10 +2646,10 @@ async function Is(t) {
2641
2646
  typeKey: y,
2642
2647
  typeValue: g,
2643
2648
  fieldValue: p,
2644
- slopePropertyList: S,
2645
- interceptPropertyList: x,
2646
- r2PropertyList: v
2647
- } = xs, b = `[{"${y}": "${g}", "${p}":"${u},${c}"}]`, B = await vs({
2649
+ slopePropertyList: h,
2650
+ interceptPropertyList: v,
2651
+ r2PropertyList: B
2652
+ } = xs, b = `[{"${y}": "${g}", "${p}":"${u},${c}"}]`, C = await vs({
2648
2653
  queryObject: i,
2649
2654
  queryConfig: r,
2650
2655
  outputFormat: m,
@@ -2653,11 +2658,11 @@ async function Is(t) {
2653
2658
  errorStrings: n,
2654
2659
  abortSignal: s
2655
2660
  });
2656
- if (B !== void 0) {
2661
+ if (C !== void 0) {
2657
2662
  let N = Number.NaN, T = Number.NaN;
2658
- const { expr: w } = Wt(B, S), { expr: L } = Wt(B, x), { expr: A } = Wt(B, v);
2659
- w !== void 0 && Number.isFinite(B[w]) && (N = B[w]), L !== void 0 && Number.isFinite(B[L]) && (T = B[L]), A !== void 0 && Number.isFinite(B[A]) && (l = B[A]);
2660
- const { dataContextXMinField: I, dataContextXMaxField: P, dataContextYMinField: O, dataContextYMaxField: V } = C.scatterplotAggregationFields, $ = e.get(I) ?? Number.NaN, M = e.get(P) ?? Number.NaN, q = e.get(O) ?? Number.NaN, G = e.get(V) ?? Number.NaN, X = (M - $) / 100;
2663
+ const { expr: w } = Wt(C, h), { expr: L } = Wt(C, v), { expr: A } = Wt(C, B);
2664
+ w !== void 0 && Number.isFinite(C[w]) && (N = C[w]), L !== void 0 && Number.isFinite(C[L]) && (T = C[L]), A !== void 0 && Number.isFinite(C[A]) && (l = C[A]);
2665
+ const { dataContextXMinField: I, dataContextXMaxField: P, dataContextYMinField: O, dataContextYMaxField: V } = x.scatterplotAggregationFields, $ = e.get(I) ?? Number.NaN, M = e.get(P) ?? Number.NaN, q = e.get(O) ?? Number.NaN, G = e.get(V) ?? Number.NaN, X = (M - $) / 100;
2661
2666
  let H = $ - X, ae = Number.NaN;
2662
2667
  for (; !(ae >= q && ae <= G) && H <= M; )
2663
2668
  H += X, ae = N * H + T;
@@ -2673,7 +2678,7 @@ async function Is(t) {
2673
2678
  }
2674
2679
  function qa(t) {
2675
2680
  const { data: e, chartConfig: i } = t, a = i.series[0], { x: r, y: n } = a;
2676
- let { r2: s, trendLinePoints: o } = C.scatterplotSeries;
2681
+ let { r2: s, trendLinePoints: o } = x.scatterplotSeries;
2677
2682
  const u = Os({ data: e, x: r, y: n });
2678
2683
  if (u !== void 0) {
2679
2684
  const c = jr(u), l = Hr(c);
@@ -2682,7 +2687,7 @@ function qa(t) {
2682
2687
  return { r2: s, trendLinePoints: o };
2683
2688
  }
2684
2689
  async function Va(t) {
2685
- const e = await Ms(t), { chartConfig: i } = t, a = i.series[0], { x: r, y: n } = a, { r2: s } = C.scatterplotSeries, o = [
2690
+ const e = await Ms(t), { chartConfig: i } = t, a = i.series[0], { x: r, y: n } = a, { r2: s } = x.scatterplotSeries, o = [
2686
2691
  { [r]: Number.NaN, [n]: Number.NaN },
2687
2692
  { [r]: Number.NaN, [n]: Number.NaN }
2688
2693
  ];
@@ -2750,7 +2755,7 @@ async function $s(t) {
2750
2755
  queryObject: a,
2751
2756
  chartConfig: e,
2752
2757
  errorStrings: s
2753
- }) : C.scatterplotSeries;
2758
+ }) : x.scatterplotSeries;
2754
2759
  return { dataItems: c, r2: d, trendLinePoints: f };
2755
2760
  }
2756
2761
  const ks = (t) => ({
@@ -2881,8 +2886,8 @@ function js(t) {
2881
2886
  function Ei(t, e) {
2882
2887
  let i;
2883
2888
  return t == null && e ? i = {
2884
- groupKey: C.nullValue,
2885
- display: C.nullValue,
2889
+ groupKey: x.nullValue,
2890
+ display: x.nullValue,
2886
2891
  original: null
2887
2892
  } : i = { groupKey: t, display: t, original: t }, i;
2888
2893
  }
@@ -2930,40 +2935,50 @@ async function zs(t) {
2930
2935
  if (!l || !d)
2931
2936
  u = {
2932
2937
  valid: !1,
2933
- invalidType: j.BadData
2938
+ invalidType: Q.NoValue
2939
+ // for #17296
2940
+ // invalidType: DataWarningKeywords.BadData, // 2DO: review whether to use BadData or NoValue after future enhancement
2934
2941
  };
2935
2942
  else {
2936
2943
  const f = e.series;
2937
- if (!f || f.length === 0 || d.length === 0)
2944
+ if (!f || f.length === 0)
2945
+ u = {
2946
+ valid: !1,
2947
+ invalidType: Q.InvalidConfig
2948
+ // for #17296
2949
+ };
2950
+ else if (d.length === 0)
2938
2951
  u = {
2939
- valid: !0
2952
+ valid: !1,
2953
+ invalidType: Q.EmptyDataSet
2954
+ // for #17296
2940
2955
  };
2941
2956
  else {
2942
- const m = i.groupByFieldsForStatistics?.[0] ?? "", y = f.some((S) => S.query?.fetchNullValues), g = /* @__PURE__ */ new Map();
2943
- for (const S of d) {
2944
- const { groupKey: x } = Ei(S.attributes[m], y);
2945
- x === C.nullValue && !y || (g.has(x) || g.set(x, []), g.get(x).push(S.attributes));
2957
+ const m = i.groupByFieldsForStatistics?.[0] ?? "", y = f.some((h) => h.query?.fetchNullValues), g = /* @__PURE__ */ new Map();
2958
+ for (const h of d) {
2959
+ const { groupKey: v } = Ei(h.attributes[m], y);
2960
+ v === x.nullValue && !y || (g.has(v) || g.set(v, []), g.get(v).push(h.attributes));
2946
2961
  }
2947
2962
  const p = [];
2948
- g.forEach((S) => {
2949
- const x = {}, v = S[0][m], { display: b, original: B } = Ei(v, y);
2950
- x[m] = b, x[C.xAxisField] = b, x[C.originalCategoryValue] = B, f.forEach((N) => {
2963
+ g.forEach((h) => {
2964
+ const v = {}, B = h[0][m], { display: b, original: C } = Ei(B, y);
2965
+ v[m] = b, v[x.xAxisField] = b, v[x.originalCategoryValue] = C, f.forEach((N) => {
2951
2966
  const T = N.query?.outStatistics?.[0];
2952
2967
  if (!T) {
2953
2968
  const { name: O } = N;
2954
- x[O] = S[0][O];
2969
+ v[O] = h[0][O];
2955
2970
  return;
2956
2971
  }
2957
- let w = S;
2972
+ let w = h;
2958
2973
  const L = N.query?.where;
2959
- L && (w = S.filter((O) => _s(O, L)));
2974
+ L && (w = h.filter((O) => _s(O, L)));
2960
2975
  const A = T.statisticType, I = T.onStatisticField, P = T.outStatisticFieldName;
2961
- x[P] = js({
2976
+ v[P] = js({
2962
2977
  features: w,
2963
2978
  aggregationType: A,
2964
2979
  onField: I
2965
2980
  });
2966
- }), p.push(x);
2981
+ }), p.push(v);
2967
2982
  }), u = {
2968
2983
  valid: !0,
2969
2984
  data: {
@@ -2974,7 +2989,7 @@ async function zs(t) {
2974
2989
  }
2975
2990
  return u;
2976
2991
  }
2977
- async function gd(t) {
2992
+ async function pd(t) {
2978
2993
  const { layer: e, category: i, splitByField: a, fetchNullValues: r } = t, o = (await dt(e))?.attributeTable?.features, u = a ?? i;
2979
2994
  return Array.from(
2980
2995
  new Set(
@@ -3031,20 +3046,20 @@ function Us(t) {
3031
3046
  return r;
3032
3047
  }
3033
3048
  const ai = "PixelID", Ys = "Pixel ID", Zs = [
3034
- h.BarSeries,
3035
- h.HistogramSeries,
3036
- h.ScatterSeries
3049
+ S.BarSeries,
3050
+ S.HistogramSeries,
3051
+ S.ScatterSeries
3037
3052
  ];
3038
- async function pd(t) {
3053
+ async function hd(t) {
3039
3054
  let e = !1;
3040
3055
  const { config: i, layer: a, abortSignal: r } = t;
3041
3056
  if (Dr(Zs, i))
3042
- switch (_(i?.series)) {
3043
- case h.BarSeries:
3057
+ switch (j(i?.series)) {
3058
+ case S.BarSeries:
3044
3059
  a.loaded || await a.load({ signal: r }), e = !!(await dt(a, r))?.attributeTable;
3045
3060
  break;
3046
- case h.HistogramSeries:
3047
- case h.ScatterSeries:
3061
+ case S.HistogramSeries:
3062
+ case S.ScatterSeries:
3048
3063
  e = !0;
3049
3064
  break;
3050
3065
  }
@@ -3090,7 +3105,7 @@ function $a(t) {
3090
3105
  if (!n)
3091
3106
  throw new Error("Raster info must be provided or generated beforehand to get raster layer fields info");
3092
3107
  let s = [];
3093
- return i !== void 0 ? i !== h.BarSeries ? s = qi({ layer: e, rasterInfo: n, popupTemplateFieldInfosEnabled: r }) : n.attributeTable && (s = n.attributeTable.fields.map((o) => o.toJSON())) : n.attributeTable ? s = n.attributeTable.fields.map((o) => o.toJSON()) : s = qi({ layer: e, rasterInfo: n, popupTemplateFieldInfosEnabled: r }), s;
3108
+ return i !== void 0 ? i !== S.BarSeries ? s = qi({ layer: e, rasterInfo: n, popupTemplateFieldInfosEnabled: r }) : n.attributeTable && (s = n.attributeTable.fields.map((o) => o.toJSON())) : n.attributeTable ? s = n.attributeTable.fields.map((o) => o.toJSON()) : s = qi({ layer: e, rasterInfo: n, popupTemplateFieldInfosEnabled: r }), s;
3094
3109
  }
3095
3110
  function qi(t) {
3096
3111
  const { layer: e, rasterInfo: i, popupTemplateFieldInfosEnabled: a } = t;
@@ -3124,7 +3139,7 @@ function qi(t) {
3124
3139
  async function dt(t, e) {
3125
3140
  return t.loaded || await t.load({ signal: e }), Qr(t) ? ct(t) ?? void 0 : await t.generateRasterInfo(t.rasterFunction, { signal: e });
3126
3141
  }
3127
- async function hd(t, e) {
3142
+ async function Sd(t, e) {
3128
3143
  t.loaded || await t.load();
3129
3144
  const i = await dt(t);
3130
3145
  return $a({ layer: t, rasterInfo: i, popupTemplateFieldInfosEnabled: e });
@@ -3168,25 +3183,25 @@ const ka = qt(
3168
3183
  n > -1 && (i = n);
3169
3184
  }
3170
3185
  return i;
3171
- }, Sd = (t) => {
3172
- const { chartConfig: e, layer: i, selectionDataItems: a } = t, r = _(e.series);
3186
+ }, Fd = (t) => {
3187
+ const { chartConfig: e, layer: i, selectionDataItems: a } = t, r = j(e.series);
3173
3188
  let n;
3174
3189
  switch (r) {
3175
- case h.BarSeries:
3190
+ case S.BarSeries:
3176
3191
  n = Us({
3177
3192
  chartConfig: e,
3178
3193
  layer: i,
3179
3194
  selectionDataItems: a
3180
3195
  });
3181
3196
  break;
3182
- case h.HistogramSeries:
3197
+ case S.HistogramSeries:
3183
3198
  n = Ss({
3184
3199
  chartConfig: e,
3185
3200
  layer: i,
3186
3201
  selectionDataItems: a
3187
3202
  });
3188
3203
  break;
3189
- case h.ScatterSeries:
3204
+ case S.ScatterSeries:
3190
3205
  n = Qs({
3191
3206
  chartConfig: e,
3192
3207
  layer: i,
@@ -3280,7 +3295,7 @@ const gi = qt(
3280
3295
  (t) => JSON.stringify(t)
3281
3296
  // stringify with sorted keys
3282
3297
  );
3283
- async function Fd(t, e) {
3298
+ async function bd(t, e) {
3284
3299
  let i;
3285
3300
  switch (t?.layerType ?? "") {
3286
3301
  case "ArcGISFeatureLayer":
@@ -3300,7 +3315,7 @@ async function Fd(t, e) {
3300
3315
  }
3301
3316
  return i;
3302
3317
  }
3303
- async function bd(t) {
3318
+ async function xd(t) {
3304
3319
  const { layer: e, view: i, chartConfig: a, filterByViewExtent: r, abortSignal: n } = t, s = ie(e) || _r(a);
3305
3320
  let o;
3306
3321
  if (s)
@@ -3329,7 +3344,7 @@ function Ce(t, e) {
3329
3344
  }
3330
3345
  return a;
3331
3346
  }
3332
- function xd(t, e = []) {
3347
+ function Cd(t, e = []) {
3333
3348
  return e.find((i) => i.name === t);
3334
3349
  }
3335
3350
  function kt(t) {
@@ -3365,13 +3380,13 @@ function Ft(t) {
3365
3380
  function ao(t) {
3366
3381
  return t?.type === U.Date || t?.type === U.DateOnly || t?.type === U.TimestampOffset;
3367
3382
  }
3368
- function Cd(t) {
3383
+ function vd(t) {
3369
3384
  return t?.type === U.String;
3370
3385
  }
3371
- function vd(t) {
3386
+ function Bd(t) {
3372
3387
  return t?.type === U.TimeOnly;
3373
3388
  }
3374
- function Bd(t) {
3389
+ function Nd(t) {
3375
3390
  const e = [
3376
3391
  U.SmallInteger,
3377
3392
  U.Integer,
@@ -3382,7 +3397,7 @@ function Bd(t) {
3382
3397
  function ro(t) {
3383
3398
  return t.filter((e) => ao(e)).map((e) => e.name);
3384
3399
  }
3385
- function Nd(t) {
3400
+ function Td(t) {
3386
3401
  return t.filter((e) => Ft(e)).map((e) => e.name);
3387
3402
  }
3388
3403
  function ri(t, e) {
@@ -3458,30 +3473,30 @@ function Ha(t) {
3458
3473
  spatialRelationship: g
3459
3474
  } = o ?? {}, {
3460
3475
  where: p,
3461
- gdbVersion: S,
3462
- timeExtent: x,
3463
- geometry: v,
3476
+ gdbVersion: h,
3477
+ timeExtent: v,
3478
+ geometry: B,
3464
3479
  distance: b,
3465
- units: B,
3480
+ units: C,
3466
3481
  objectIds: N,
3467
3482
  spatialRelationship: T
3468
3483
  } = a ?? {}, w = s[0], { query: L } = w, { where: A } = L ?? {}, I = k(s), P = { ...L };
3469
- return P.where = Y([u, p]), I !== F.BarAndLineSplitBy && I !== F.BoxPlotMonoFieldAndSplitBy && I !== F.BoxPlotMonoFieldAndCategoryAndSplitBy && I !== F.BoxPlotMultiFieldsAndSplitBy && I !== F.BarAndLineSplitByNoAggregation && (P.where = Y([P.where, A])), i.orderOptions?.orderByFields !== void 0 && (P.orderByFields = i.orderOptions.orderByFields), P.gdbVersion = S ?? c, P.timeExtent = yo(n?.timeExtent, x ?? l), P.geometry = ie(e) ? to({
3484
+ return P.where = Y([u, p]), I !== F.BarAndLineSplitBy && I !== F.BoxPlotMonoFieldAndSplitBy && I !== F.BoxPlotMonoFieldAndCategoryAndSplitBy && I !== F.BoxPlotMultiFieldsAndSplitBy && I !== F.BarAndLineSplitByNoAggregation && (P.where = Y([P.where, A])), i.orderOptions?.orderByFields !== void 0 && (P.orderByFields = i.orderOptions.orderByFields), P.gdbVersion = h ?? c, P.timeExtent = yo(n?.timeExtent, v ?? l), P.geometry = ie(e) ? to({
3470
3485
  queryObject: e,
3471
- defaultGeometry: v ?? d,
3486
+ defaultGeometry: B ?? d,
3472
3487
  ignoreViewExtent: r,
3473
3488
  viewExtent: n?.extent
3474
3489
  }) : go({
3475
3490
  queryObject: e,
3476
- defaultGeometry: v ?? d,
3491
+ defaultGeometry: B ?? d,
3477
3492
  ignoreViewExtent: r
3478
- }), P.distance = b ?? f, P.units = B ?? m, P.objectIds = N ?? y, P.spatialRelationship = T ?? g, L?.outStatistics?.[0]?.statisticType === D.Count && (P.returnDistinctValues = L?.returnDistinctValues ?? !1), P?.outStatistics?.forEach((O) => {
3493
+ }), P.distance = b ?? f, P.units = C ?? m, P.objectIds = N ?? y, P.spatialRelationship = T ?? g, L?.outStatistics?.[0]?.statisticType === D.Count && (P.returnDistinctValues = L?.returnDistinctValues ?? !1), P?.outStatistics?.forEach((O) => {
3479
3494
  mi(O) && !("statisticParameters" in O) && (O.statisticParameters = {
3480
3495
  value: W.defaultStatParameterValue
3481
3496
  });
3482
3497
  }), P;
3483
3498
  }
3484
- async function Td(t) {
3499
+ async function Ad(t) {
3485
3500
  let e = [];
3486
3501
  return t !== void 0 && (e = await co(t)), e;
3487
3502
  }
@@ -3518,7 +3533,7 @@ const fo = (t) => {
3518
3533
  }
3519
3534
  return e;
3520
3535
  };
3521
- function Ad(t) {
3536
+ function wd(t) {
3522
3537
  const { view: e, portalItemId: i } = t;
3523
3538
  let a;
3524
3539
  if (e && i) {
@@ -3529,7 +3544,7 @@ function Ad(t) {
3529
3544
  }
3530
3545
  return a;
3531
3546
  }
3532
- const wd = {
3547
+ const Ld = {
3533
3548
  getServerRestInfo: ja
3534
3549
  };
3535
3550
  async function Qt(t, e) {
@@ -3571,7 +3586,7 @@ function go(t) {
3571
3586
  }
3572
3587
  return r;
3573
3588
  }
3574
- function Ld(t) {
3589
+ function Pd(t) {
3575
3590
  let e;
3576
3591
  return t !== void 0 && (e = new Ki({
3577
3592
  start: new Date(t[0]),
@@ -3587,24 +3602,24 @@ function Wa(t) {
3587
3602
  }
3588
3603
  function _t(t) {
3589
3604
  const { queryType: e, queryObject: i, queryConfig: a, view: r, configTimeZone: n, dateField: s, useViewTimeZone: o } = t, { where: u, outStatistics: c, geometry: l, distance: d, units: f, timeExtent: m, returnDistinctValues: y } = a ?? {}, g = z(i);
3590
- let S = ge(g)?.createQuery() ?? new Br(), x;
3591
- const v = kt(g).idFields;
3592
- if (e === "AttributeBinsQuery" && a?.objectIds?.[0] !== void 0 && v && (x = `${v} IN (${a.objectIds.join(",")})`), e === "AttributeBinsQuery" && (S = new vr(S.toJSON()), Ce(i).find((T) => T.name === s)?.type !== U.DateOnly)) {
3605
+ let h = ge(g)?.createQuery() ?? new Br(), v;
3606
+ const B = kt(g).idFields;
3607
+ if (e === "AttributeBinsQuery" && a?.objectIds?.[0] !== void 0 && B && (v = `${B} IN (${a.objectIds.join(",")})`), e === "AttributeBinsQuery" && (h = new vr(h.toJSON()), Ce(i).find((T) => T.name === s)?.type !== U.DateOnly)) {
3593
3608
  const T = Intl.DateTimeFormat().resolvedOptions().timeZone, w = o && r && "timeZone" in r ? r.timeZone : void 0;
3594
3609
  let L = n ?? w ?? T;
3595
- L === "unknown" ? L = "Etc/UTC" : L === "system" && (L = T), S.outTimeZone = L;
3610
+ L === "unknown" ? L = "Etc/UTC" : L === "system" && (L = T), h.outTimeZone = L;
3596
3611
  }
3597
- if (S.where = Y([S.where, u, x]), "returnDistinctValues" in S && (S.returnDistinctValues = y ?? !1), c !== void 0) {
3598
- const B = pn(g);
3599
- S.outStatistics = c.filter(
3600
- (N) => N.statisticType !== D.EnvelopeAggregate || B
3612
+ if (h.where = Y([h.where, u, v]), "returnDistinctValues" in h && (h.returnDistinctValues = y ?? !1), c !== void 0) {
3613
+ const C = pn(g);
3614
+ h.outStatistics = c.filter(
3615
+ (N) => N.statisticType !== D.EnvelopeAggregate || C
3601
3616
  ).map((N) => Nr.fromJSON(N));
3602
3617
  }
3603
3618
  const b = ft(l);
3604
- return b !== void 0 && (S.geometry = b, a?.spatialRelationship && (S.spatialRelationship = a.spatialRelationship), ya(g) && (d !== void 0 && (S.distance = d), f !== void 0 && (S.units = f))), m && (S.timeExtent = new Ki({
3619
+ return b !== void 0 && (h.geometry = b, a?.spatialRelationship && (h.spatialRelationship = a.spatialRelationship), ya(g) && (d !== void 0 && (h.distance = d), f !== void 0 && (h.units = f))), m && (h.timeExtent = new Ki({
3605
3620
  start: m?.[0],
3606
3621
  end: m?.[1]
3607
- })), mo(S) && (S.cacheHint = !0), S;
3622
+ })), mo(h) && (h.cacheHint = !0), h;
3608
3623
  }
3609
3624
  function po(t) {
3610
3625
  let e;
@@ -3619,7 +3634,7 @@ function po(t) {
3619
3634
  return e;
3620
3635
  }
3621
3636
  function ho(t) {
3622
- const { queryObject: e, queryConfig: i, temporalBinning: a, dateField: r, splitByField: n, axisTimeZone: s, view: o, syncViewTimeZone: u } = t, { unit: c, size: l, timeAggregationType: d, start: f, end: m, offset: y, outTimeZone: g } = a, p = z(e), S = _t({
3637
+ const { queryObject: e, queryConfig: i, temporalBinning: a, dateField: r, splitByField: n, axisTimeZone: s, view: o, syncViewTimeZone: u } = t, { unit: c, size: l, timeAggregationType: d, start: f, end: m, offset: y, outTimeZone: g } = a, p = z(e), h = _t({
3623
3638
  queryType: "AttributeBinsQuery",
3624
3639
  queryObject: e,
3625
3640
  queryConfig: i,
@@ -3628,23 +3643,23 @@ function ho(t) {
3628
3643
  view: o,
3629
3644
  dateField: r,
3630
3645
  useViewTimeZone: u ?? !1
3631
- }), x = Ea(r);
3632
- if (S.lowerBoundaryAlias = x.lowerBoundaryAlias, S.upperBoundaryAlias = x.upperBoundaryAlias, S.binParameters = {
3646
+ }), v = Ea(r);
3647
+ if (h.lowerBoundaryAlias = v.lowerBoundaryAlias, h.upperBoundaryAlias = v.upperBoundaryAlias, h.binParameters = {
3633
3648
  type: "date",
3634
3649
  field: r,
3635
3650
  interval: { unit: c, value: l },
3636
3651
  start: f,
3637
3652
  end: m,
3638
3653
  offset: y ? { unit: y.unit, value: y.size } : null
3639
- }, S.binParameters.type === "date" && (p?.capabilities?.queryAttributeBins?.supportsSnapToData && (S.binParameters.snapToData = po(d)), p?.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin && (S.binParameters.returnFullIntervalBin = !0)), !oe(n)) {
3640
- const b = ge(p)?.fields.find((B) => B.name === n)?.type;
3641
- (!b || b === "string" || b === "integer" || b === "small-integer" || b === "big-integer" || b === "double") && (S.binParameters.stackBy = {
3654
+ }, h.binParameters.type === "date" && (p?.capabilities?.queryAttributeBins?.supportsSnapToData && (h.binParameters.snapToData = po(d)), p?.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin && (h.binParameters.returnFullIntervalBin = !0)), !oe(n)) {
3655
+ const b = ge(p)?.fields.find((C) => C.name === n)?.type;
3656
+ (!b || b === "string" || b === "integer" || b === "small-integer" || b === "big-integer" || b === "double") && (h.binParameters.stackBy = {
3642
3657
  type: "field",
3643
3658
  value: n,
3644
3659
  valueType: b === "string" ? "string" : "integer"
3645
3660
  });
3646
3661
  }
3647
- return S;
3662
+ return h;
3648
3663
  }
3649
3664
  function pi(t) {
3650
3665
  const {
@@ -3759,18 +3774,18 @@ function Fo(t) {
3759
3774
  xOrYFieldType: m,
3760
3775
  addIntervalStatement: !1,
3761
3776
  includeLeapDay: u
3762
- }), { field: S, expression: x, start: v, end: b } = p;
3763
- S ? g.binParameters.field = S : x && (g.binParameters.expression = x, g.binParameters.expressionValueType = "integer", g.binParameters.type === "fixed-interval" && (v !== void 0 && (g.binParameters.start = v), b !== void 0 && (g.binParameters.end = b)));
3764
- const B = Ri({
3777
+ }), { field: h, expression: v, start: B, end: b } = p;
3778
+ h ? g.binParameters.field = h : v && (g.binParameters.expression = v, g.binParameters.expressionValueType = "integer", g.binParameters.type === "fixed-interval" && (B !== void 0 && (g.binParameters.start = B), b !== void 0 && (g.binParameters.end = b)));
3779
+ const C = Ri({
3765
3780
  temporalBinning: s,
3766
3781
  xOrY: r,
3767
3782
  xOrYFieldType: y,
3768
3783
  addIntervalStatement: !1,
3769
3784
  includeLeapDay: u
3770
3785
  });
3771
- return B.field ? g.binParameters.stackBy = { type: "field", value: B.field } : B.expression && (g.binParameters.stackBy = {
3786
+ return C.field ? g.binParameters.stackBy = { type: "field", value: C.field } : C.expression && (g.binParameters.stackBy = {
3772
3787
  type: "expression",
3773
- value: B.expression,
3788
+ value: C.expression,
3774
3789
  valueType: "integer",
3775
3790
  alias: r
3776
3791
  }), g;
@@ -3810,7 +3825,7 @@ function hi(t) {
3810
3825
  function xo(t) {
3811
3826
  return t && "sourceJSON" in t && t.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ? W.maxRecordCountFactor : void 0;
3812
3827
  }
3813
- const Pd = {
3828
+ const Md = {
3814
3829
  sanitizeOutFields: Wa
3815
3830
  };
3816
3831
  function Co(t = Z.None, e) {
@@ -3818,7 +3833,7 @@ function Co(t = Z.None, e) {
3818
3833
  }
3819
3834
  function Ga(t, e) {
3820
3835
  const i = { valid: !1 };
3821
- return e === !0 ? i.invalidType = j.HistogramEmptyField : t === Z.Log ? i.invalidType = j.NegativeValueInLogCalculation : t === Z.Sqrt && (i.invalidType = j.NegativeValueInSqrtCalculation), i;
3836
+ return e === !0 ? i.invalidType = Q.HistogramEmptyField : t === Z.Log ? i.invalidType = Q.NegativeValueInLogCalculation : t === Z.Sqrt && (i.invalidType = Q.NegativeValueInSqrtCalculation), i;
3822
3837
  }
3823
3838
  function vo(t, e) {
3824
3839
  let i = t;
@@ -3887,8 +3902,8 @@ async function No(t) {
3887
3902
  errorStrings: r,
3888
3903
  abortKey: n,
3889
3904
  abortSignal: s
3890
- }), S = p.get(d) ?? Number.NaN, x = p.get(f) ?? Number.NaN, v = p.get(m) ?? Number.NaN, b = p.get(y) ?? Number.NaN;
3891
- return { countExcludingNulls: x, countIncludingNulls: S, min: v, max: b };
3905
+ }), h = p.get(d) ?? Number.NaN, v = p.get(f) ?? Number.NaN, B = p.get(m) ?? Number.NaN, b = p.get(y) ?? Number.NaN;
3906
+ return { countExcludingNulls: v, countIncludingNulls: h, min: B, max: b };
3892
3907
  }
3893
3908
  async function To(t) {
3894
3909
  const { queryConfig: e, chartConfig: i, queryObject: a, errorStrings: r, abortKey: n, abortSignal: s } = t, o = i.series[0], { x: u, dataTransformationType: c } = o;
@@ -3900,8 +3915,8 @@ async function To(t) {
3900
3915
  errorStrings: r,
3901
3916
  abortKey: n,
3902
3917
  abortSignal: s
3903
- }), g = Co(c, m), p = f < 2 || m === y, S = { ...e };
3904
- return S.where = Y([S.where, `${u} is not null`]), {
3918
+ }), g = Co(c, m), p = f < 2 || m === y, h = { ...e };
3919
+ return h.where = Y([h.where, `${u} is not null`]), {
3905
3920
  rawData: l,
3906
3921
  dataCompatibleWithTransformation: g,
3907
3922
  dataCountIncompatible: p,
@@ -3982,33 +3997,33 @@ async function Mo(t) {
3982
3997
  queryConfig: i,
3983
3998
  abortSignal: u
3984
3999
  });
3985
- let S;
3986
- if (g !== void 0 && (S = new wi({
4000
+ let h;
4001
+ if (g !== void 0 && (h = new wi({
3987
4002
  geometry: g.extent
3988
4003
  }), g.extent !== void 0 && ya(f))) {
3989
4004
  const { distance: A, units: I } = i;
3990
- A !== void 0 && (S.distance = A), I !== void 0 && (S.units = I);
4005
+ A !== void 0 && (h.distance = A), I !== void 0 && (h.units = I);
3991
4006
  }
3992
4007
  if (i.timeExtent) {
3993
4008
  const A = { start: i.timeExtent[0], end: i.timeExtent[1] };
3994
- S === void 0 ? S = new wi({ timeExtent: A }) : S.timeExtent = A;
4009
+ h === void 0 ? h = new wi({ timeExtent: A }) : h.timeExtent = A;
3995
4010
  }
3996
- p.filter = S;
3997
- let x;
4011
+ p.filter = h;
4012
+ let v;
3998
4013
  p.outStatisticTypes = { exclude: ["median"] };
3999
4014
  try {
4000
- x = await Li(p);
4015
+ v = await Li(p);
4001
4016
  } catch (A) {
4002
4017
  throw new re(le.QueryFeaturesError, o.errors.queryError, A);
4003
4018
  }
4004
4019
  p.outStatisticTypes = { include: ["median"] };
4005
4020
  try {
4006
4021
  const A = await Li(p);
4007
- A?.median && (x.median = A.median);
4022
+ A?.median && (v.median = A.median);
4008
4023
  } catch {
4009
4024
  }
4010
- x = Ao(x);
4011
- const { avg: v, count: b, stddev: B, min: N, max: T, sum: w, median: L } = x;
4025
+ v = Ao(v);
4026
+ const { avg: B, count: b, stddev: C, min: N, max: T, sum: w, median: L } = v;
4012
4027
  if (b === 0)
4013
4028
  d = {
4014
4029
  ...Ga(l)
@@ -4025,7 +4040,7 @@ async function Mo(t) {
4025
4040
  queryConfig: i,
4026
4041
  abortSignal: u
4027
4042
  });
4028
- A.filter = S;
4043
+ A.filter = h;
4029
4044
  let I;
4030
4045
  try {
4031
4046
  I = await Cr(A);
@@ -4034,8 +4049,8 @@ async function Mo(t) {
4034
4049
  }
4035
4050
  const P = Po(n, r);
4036
4051
  d.data = {
4037
- mean: v,
4038
- stddev: B,
4052
+ mean: B,
4053
+ stddev: C,
4039
4054
  min: N,
4040
4055
  max: T,
4041
4056
  median: Number(L),
@@ -4106,14 +4121,14 @@ const $i = {
4106
4121
  groupByOutKeyword: "OUT",
4107
4122
  groupByCaseEnd: "ELSE 'OUT' END"
4108
4123
  };
4109
- function Md(t) {
4110
- return _(t.series) !== h.BoxPlotSeries ? C.xAxisField : t.series[0].x;
4111
- }
4112
4124
  function Dd(t) {
4125
+ return j(t.series) !== S.BoxPlotSeries ? x.xAxisField : t.series[0].x;
4126
+ }
4127
+ function Od(t) {
4113
4128
  const e = ci(t);
4114
4129
  return e === Te.Stacked || e === Te.Stacked100;
4115
4130
  }
4116
- function Od(t, e) {
4131
+ function Id(t, e) {
4117
4132
  const i = [], a = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
4118
4133
  return t.forEach((n, s) => r.set(n.id, s)), e.forEach((n, s) => {
4119
4134
  let o = r.get(n.id);
@@ -4146,15 +4161,15 @@ const Eo = [
4146
4161
  "it-CH",
4147
4162
  "it-IT"
4148
4163
  ];
4149
- function Id(t) {
4164
+ function Ed(t) {
4150
4165
  const { t9nLocale: e } = ze(t ?? document.documentElement), i = Za(t ?? document.documentElement), a = kr(t ?? document.documentElement) === "rtl";
4151
4166
  return { locale: e, formatLocale: i, rtl: a };
4152
4167
  }
4153
- function Ed(t) {
4168
+ function qd(t) {
4154
4169
  let e;
4155
4170
  return t === "unknown" ? e = "UTC" : t !== void 0 && t !== "system" && (e = t), e;
4156
4171
  }
4157
- function qd(t, e) {
4172
+ function Vd(t, e) {
4158
4173
  const i = {
4159
4174
  year: "numeric",
4160
4175
  month: "2-digit",
@@ -4163,7 +4178,7 @@ function qd(t, e) {
4163
4178
  };
4164
4179
  return new Intl.DateTimeFormat("en-CA", i).format(t);
4165
4180
  }
4166
- function Vd(t, e) {
4181
+ function Rd(t, e) {
4167
4182
  const i = {
4168
4183
  hour: "2-digit",
4169
4184
  minute: "2-digit",
@@ -4172,7 +4187,7 @@ function Vd(t, e) {
4172
4187
  };
4173
4188
  return new Intl.DateTimeFormat("en-US", i).format(t);
4174
4189
  }
4175
- function Rd(t, e) {
4190
+ function $d(t, e) {
4176
4191
  const [, i, , , , a] = 1111.1.toLocaleString(e), r = t.replace(i, "").replace(a, ".");
4177
4192
  return Number.parseFloat(r);
4178
4193
  }
@@ -4187,31 +4202,31 @@ function Za(t) {
4187
4202
  function It(t) {
4188
4203
  const { dataInfo: e, chartType: i, subError: a } = t;
4189
4204
  switch (e.valid = !1, i) {
4190
- case h.BarSeries:
4191
- case h.ComboLineAndBarSeries:
4192
- e.invalidType = j.BarElementExceedsLimit;
4205
+ case S.BarSeries:
4206
+ case S.ComboLineAndBarSeries:
4207
+ e.invalidType = Q.BarElementExceedsLimit;
4193
4208
  break;
4194
- case h.LineSeries:
4195
- e.invalidType = j.LineChartExceedsLimit;
4209
+ case S.LineSeries:
4210
+ e.invalidType = Q.LineChartExceedsLimit;
4196
4211
  break;
4197
- case h.PieSeries:
4198
- e.invalidType = j.PieChartExceedsLimit;
4212
+ case S.PieSeries:
4213
+ e.invalidType = Q.PieChartExceedsLimit;
4199
4214
  break;
4200
- case h.GaugeSeries:
4201
- e.invalidType = j.GaugeExceedsLimit;
4215
+ case S.GaugeSeries:
4216
+ e.invalidType = Q.GaugeExceedsLimit;
4202
4217
  break;
4203
- case h.BoxPlotSeries:
4204
- a?.outlierLimit === !0 ? e.invalidType = j.BoxPlotOutliersExceedsLimit : e.invalidType = j.BoxPlotExceedsLimit;
4218
+ case S.BoxPlotSeries:
4219
+ a?.outlierLimit === !0 ? e.invalidType = Q.BoxPlotOutliersExceedsLimit : e.invalidType = Q.BoxPlotExceedsLimit;
4205
4220
  break;
4206
- case h.HeatSeries:
4207
- e.invalidType = j.HeatChartExceedsLimit;
4221
+ case S.HeatSeries:
4222
+ e.invalidType = Q.HeatChartExceedsLimit;
4208
4223
  break;
4209
4224
  }
4210
4225
  }
4211
4226
  function Vo(t, e) {
4212
4227
  t.valid = !1, t.invalidType = e;
4213
4228
  }
4214
- function $d(t) {
4229
+ function kd(t) {
4215
4230
  const {
4216
4231
  invalidType: e,
4217
4232
  chartLimits: i,
@@ -4223,147 +4238,147 @@ function $d(t) {
4223
4238
  isTemporalChart: u,
4224
4239
  isGaugeChartByFeature: c,
4225
4240
  errorStrings: l
4226
- } = t;
4227
- let d = l.errors.defaultInvalidChart, f;
4228
- const m = new Intl.NumberFormat(o), y = ut(i), { maxCategoryCount: g } = y;
4229
- let p = l.modalHeaders.invalidChart;
4241
+ } = t, d = ie(n);
4242
+ let f = l.errors.defaultInvalidChart, m;
4243
+ const y = new Intl.NumberFormat(o), g = ut(i), { maxCategoryCount: p } = g;
4244
+ let h = l.modalHeaders.invalidChart;
4230
4245
  switch (e) {
4231
- case j.BarElementExceedsLimit: {
4232
- p = l.modalHeaders.tooManyFeatures;
4233
- let x = Number.NaN, v = Number.NaN, b = "";
4234
- r !== void 0 && (r <= y.maxBarChartSeriesCount ? r === 1 ? (b = l.errors.uniqueSeriesBarCountCannotExceedLimit, x = y.maxBarUniqueSeriesCountTotal) : r === 2 ? (b = l.errors.twoSeriesBarCountCannotExceedLimit, x = y.maxBarTwoSeriesCountTotal, v = y.maxBarTwoSeriesCountPerSeries) : r > 2 && (b = l.errors.threePlusSeriesBarCountCannotExceedLimit, x = y.maxBarThreePlusSeriesCountTotal, v = y.maxBarThreePlusSeriesCountPerSeries) : (b = l.errors.barSeriesCountCannotExceedLimit, v = y.maxBarChartSeriesCount));
4235
- const B = m.format(x), N = m.format(v), T = a !== void 0 ? m.format(a) : "";
4236
- d = Be(b, {
4237
- totalLimit: B,
4238
- seriesLimit: N,
4239
- elementCount: T
4240
- }), f = {
4246
+ case Q.BarElementExceedsLimit: {
4247
+ h = l.modalHeaders.tooManyFeatures;
4248
+ let B = Number.NaN, b = Number.NaN, C = "";
4249
+ r !== void 0 && (r <= g.maxBarChartSeriesCount ? r === 1 ? (C = l.errors.uniqueSeriesBarCountCannotExceedLimit, B = g.maxBarUniqueSeriesCountTotal) : r === 2 ? (C = l.errors.twoSeriesBarCountCannotExceedLimit, B = g.maxBarTwoSeriesCountTotal, b = g.maxBarTwoSeriesCountPerSeries) : r > 2 && (C = l.errors.threePlusSeriesBarCountCannotExceedLimit, B = g.maxBarThreePlusSeriesCountTotal, b = g.maxBarThreePlusSeriesCountPerSeries) : (C = l.errors.barSeriesCountCannotExceedLimit, b = g.maxBarChartSeriesCount));
4250
+ const N = y.format(B), T = y.format(b), w = a !== void 0 ? y.format(a) : "";
4251
+ f = Be(C, {
4252
+ totalLimit: N,
4253
+ seriesLimit: T,
4254
+ elementCount: w
4255
+ }), m = {
4241
4256
  actualCount: a ?? Number.NaN,
4242
- totalLimit: x,
4243
- seriesLimit: v
4257
+ totalLimit: B,
4258
+ seriesLimit: b
4244
4259
  };
4245
4260
  break;
4246
4261
  }
4247
- case j.LineChartExceedsLimit:
4262
+ case Q.LineChartExceedsLimit:
4248
4263
  {
4249
- p = l.modalHeaders.tooManyFeatures;
4250
- let x = Number.NaN, v = Number.NaN, b = "";
4251
- r !== void 0 && (r <= y.maxLineChartSeriesCount ? r === 1 ? (b = u ? l.errors.uniqueTemporalSeriesLineCountCannotExceedLimit : l.errors.uniqueSeriesLineCountCannotExceedLimit, x = y.maxLineUniqueSeriesCountTotal) : r === 2 ? (b = u ? l.errors.twoTemporalSeriesLineCountCannotExceedLimit : l.errors.twoSeriesLineCountCannotExceedLimit, x = y.maxLineTwoSeriesCountTotal, v = y.maxLineTwoSeriesCountPerSeries) : r > 2 && (b = u ? l.errors.threePlusTemporalSeriesLineCountCannotExceedLimit : l.errors.threePlusSeriesLineCountCannotExceedLimit, x = y.maxLineThreePlusSeriesCountTotal, v = y.maxLineThreePlusSeriesCountPerSeries) : (b = l.errors.lineSeriesCountCannotExceedLimit, v = y.maxLineChartSeriesCount));
4252
- const B = m.format(x), N = m.format(v), T = a !== void 0 ? m.format(a) : "";
4253
- d = Be(b, {
4254
- elementCount: T,
4255
- seriesLimit: N,
4256
- totalLimit: B
4257
- }), f = {
4264
+ h = l.modalHeaders.tooManyFeatures;
4265
+ let B = Number.NaN, b = Number.NaN, C = "";
4266
+ r !== void 0 && (r <= g.maxLineChartSeriesCount ? r === 1 ? (C = u ? l.errors.uniqueTemporalSeriesLineCountCannotExceedLimit : l.errors.uniqueSeriesLineCountCannotExceedLimit, B = g.maxLineUniqueSeriesCountTotal) : r === 2 ? (C = u ? l.errors.twoTemporalSeriesLineCountCannotExceedLimit : l.errors.twoSeriesLineCountCannotExceedLimit, B = g.maxLineTwoSeriesCountTotal, b = g.maxLineTwoSeriesCountPerSeries) : r > 2 && (C = u ? l.errors.threePlusTemporalSeriesLineCountCannotExceedLimit : l.errors.threePlusSeriesLineCountCannotExceedLimit, B = g.maxLineThreePlusSeriesCountTotal, b = g.maxLineThreePlusSeriesCountPerSeries) : (C = l.errors.lineSeriesCountCannotExceedLimit, b = g.maxLineChartSeriesCount));
4267
+ const N = y.format(B), T = y.format(b), w = a !== void 0 ? y.format(a) : "";
4268
+ f = Be(C, {
4269
+ elementCount: w,
4270
+ seriesLimit: T,
4271
+ totalLimit: N
4272
+ }), m = {
4258
4273
  actualCount: a ?? Number.NaN,
4259
- totalLimit: x,
4260
- seriesLimit: v
4274
+ totalLimit: B,
4275
+ seriesLimit: b
4261
4276
  };
4262
4277
  }
4263
4278
  break;
4264
- case j.BoxPlotExceedsLimit:
4279
+ case Q.BoxPlotExceedsLimit:
4265
4280
  {
4266
- p = l.modalHeaders.tooManyFeatures;
4267
- let x = Number.NaN, v = Number.NaN, b = "";
4268
- r !== void 0 && (r <= y.maxBoxPlotSeriesCount ? r === 1 ? (b = l.errors.uniqueSeriesBoxCountCannotExceedLimit, x = y.maxBoxUniqueSeriesCountTotal) : r === 2 ? (b = l.errors.twoSeriesBoxCountCannotExceedLimit, x = y.maxBoxTwoSeriesCountTotal, v = y.maxBoxTwoSeriesCountPerSeries) : r > 2 && (b = l.errors.threePlusBoxLineCountCannotExceedLimit, x = y.maxBoxThreePlusSeriesCountTotal, v = y.maxBoxThreePlusSeriesCountPerSeries) : (b = l.errors.boxSeriesCountCannotExceedLimit, v = y.maxBoxPlotSeriesCount));
4269
- const B = m.format(x), N = m.format(v), T = a !== void 0 ? m.format(a) : "";
4270
- d = Be(b, {
4271
- elementCount: T,
4272
- seriesLimit: N,
4273
- totalLimit: B
4274
- }), f = {
4281
+ h = l.modalHeaders.tooManyFeatures;
4282
+ let B = Number.NaN, b = Number.NaN, C = "";
4283
+ r !== void 0 && (r <= g.maxBoxPlotSeriesCount ? r === 1 ? (C = l.errors.uniqueSeriesBoxCountCannotExceedLimit, B = g.maxBoxUniqueSeriesCountTotal) : r === 2 ? (C = l.errors.twoSeriesBoxCountCannotExceedLimit, B = g.maxBoxTwoSeriesCountTotal, b = g.maxBoxTwoSeriesCountPerSeries) : r > 2 && (C = l.errors.threePlusBoxLineCountCannotExceedLimit, B = g.maxBoxThreePlusSeriesCountTotal, b = g.maxBoxThreePlusSeriesCountPerSeries) : (C = l.errors.boxSeriesCountCannotExceedLimit, b = g.maxBoxPlotSeriesCount));
4284
+ const N = y.format(B), T = y.format(b), w = a !== void 0 ? y.format(a) : "";
4285
+ f = Be(C, {
4286
+ elementCount: w,
4287
+ seriesLimit: T,
4288
+ totalLimit: N
4289
+ }), m = {
4275
4290
  actualCount: a ?? Number.NaN,
4276
- totalLimit: x,
4277
- seriesLimit: v
4291
+ totalLimit: B,
4292
+ seriesLimit: b
4278
4293
  };
4279
4294
  }
4280
4295
  break;
4281
- case j.BoxPlotOutliersExceedsLimit:
4296
+ case Q.BoxPlotOutliersExceedsLimit:
4282
4297
  {
4283
- p = l.modalHeaders.tooManyFeatures;
4284
- const x = l.errors.boxSeriesOutlierCannotExceedLimit, v = y.maxBoxPlotOutlierLimit, b = m.format(v);
4285
- d = Be(x, {
4286
- totalLimit: b
4287
- }), f = { actualCount: a ?? Number.NaN, totalLimit: v };
4298
+ h = l.modalHeaders.tooManyFeatures;
4299
+ const B = l.errors.boxSeriesOutlierCannotExceedLimit, b = g.maxBoxPlotOutlierLimit, C = y.format(b);
4300
+ f = Be(B, {
4301
+ totalLimit: C
4302
+ }), m = { actualCount: a ?? Number.NaN, totalLimit: b };
4288
4303
  }
4289
4304
  break;
4290
- case j.HeatChartExceedsLimit:
4305
+ case Q.HeatChartExceedsLimit:
4291
4306
  {
4292
- p = l.modalHeaders.tooManyFeatures;
4293
- const x = l.errors.heatChartCannotExceedLimit, v = y.maxHeatChartCellLimit, b = m.format(v), B = a !== void 0 ? m.format(a) : "";
4294
- d = Be(x, {
4295
- featureCount: B,
4296
- totalLimit: b
4297
- }), f = {
4307
+ h = l.modalHeaders.tooManyFeatures;
4308
+ const B = l.errors.heatChartCannotExceedLimit, b = g.maxHeatChartCellLimit, C = y.format(b), N = a !== void 0 ? y.format(a) : "";
4309
+ f = Be(B, {
4310
+ featureCount: N,
4311
+ totalLimit: C
4312
+ }), m = {
4298
4313
  actualCount: a ?? Number.NaN,
4299
- totalLimit: v
4314
+ totalLimit: b
4300
4315
  };
4301
4316
  }
4302
4317
  break;
4303
- case j.PieChartExceedsLimit:
4318
+ case Q.PieChartExceedsLimit:
4304
4319
  {
4305
- p = l.modalHeaders.tooManyFeatures;
4306
- const x = l.errors.pieChartSlicesCannotExceedLimit, v = y.maxPieChartSliceCountTotal, b = m.format(v), B = a !== void 0 ? m.format(a) : "";
4307
- d = Be(x, {
4308
- sliceCount: B,
4309
- totalLimit: b
4310
- }), f = {
4320
+ h = l.modalHeaders.tooManyFeatures;
4321
+ const B = l.errors.pieChartSlicesCannotExceedLimit, b = g.maxPieChartSliceCountTotal, C = y.format(b), N = a !== void 0 ? y.format(a) : "";
4322
+ f = Be(B, {
4323
+ sliceCount: N,
4324
+ totalLimit: C
4325
+ }), m = {
4311
4326
  actualCount: a ?? Number.NaN,
4312
- totalLimit: v
4327
+ totalLimit: b
4313
4328
  };
4314
4329
  }
4315
4330
  break;
4316
- case j.GaugeExceedsLimit:
4331
+ case Q.GaugeExceedsLimit:
4317
4332
  {
4318
- p = l.modalHeaders.tooManyFeatures;
4319
- const x = l.errors.gaugeCannotExceedLimit, v = y.maxGaugeByFeaturesLimit, b = m.format(v), B = a !== void 0 ? m.format(a) : "";
4320
- d = Be(x, {
4321
- featureCount: B,
4322
- totalLimit: b
4323
- }), f = {
4333
+ h = l.modalHeaders.tooManyFeatures;
4334
+ const B = l.errors.gaugeCannotExceedLimit, b = g.maxGaugeByFeaturesLimit, C = y.format(b), N = a !== void 0 ? y.format(a) : "";
4335
+ f = Be(B, {
4336
+ featureCount: N,
4337
+ totalLimit: C
4338
+ }), m = {
4324
4339
  actualCount: a ?? Number.NaN,
4325
- totalLimit: v
4340
+ totalLimit: b
4326
4341
  };
4327
4342
  }
4328
4343
  break;
4329
- case j.PieChartMixOfNegativePositiveSlices:
4330
- p = l.modalHeaders.cannotCombineNegativeAndPositiveSlices, d = l.errors.pieChartCannotHaveMixtureOfPositiveAndNegativeSlices;
4344
+ case Q.PieChartMixOfNegativePositiveSlices:
4345
+ h = l.modalHeaders.cannotCombineNegativeAndPositiveSlices, f = l.errors.pieChartCannotHaveMixtureOfPositiveAndNegativeSlices;
4331
4346
  break;
4332
- case j.NegativeValueInSqrtCalculation:
4333
- p = l.modalHeaders.invalidData, d = l.errors.negativeValueInDataForSqrtTransformation;
4347
+ case Q.NegativeValueInSqrtCalculation:
4348
+ h = l.modalHeaders.invalidData, f = l.errors.negativeValueInDataForSqrtTransformation;
4334
4349
  break;
4335
- case j.NegativeValueInLogCalculation:
4336
- p = l.modalHeaders.invalidData, d = l.errors.negativeValueInDataForLogTransformation;
4350
+ case Q.NegativeValueInLogCalculation:
4351
+ h = l.modalHeaders.invalidData, f = l.errors.negativeValueInDataForLogTransformation;
4337
4352
  break;
4338
- case j.HistogramEmptyField:
4339
- s === !0 ? (p = l.modalHeaders.noDataAvailable, d = l.errors.noDataFBSMessage) : Ee(n) ? (p = l.modalHeaders.noDataAvailable, d = l.errors.noDataFBEMessage) : (p = l.modalHeaders.invalidChart, d = l.errors.histogramEmptyField);
4353
+ case Q.HistogramEmptyField:
4354
+ s === !0 ? (h = l.modalHeaders.noDataAvailable, f = l.errors.noDataFBSMessage) : Ee(n) ? (h = l.modalHeaders.noDataAvailable, f = l.errors.noDataFBEMessage) : (h = l.modalHeaders.invalidChart, f = l.errors.histogramEmptyField);
4340
4355
  break;
4341
- case j.EmptyDataSet:
4342
- p = l.modalHeaders.noDataAvailable, s === !0 ? d = l.errors.noDataFBSMessage : Ee(n) ? d = l.errors.noDataFBEMessage : d = l.errors.noDataMessage;
4356
+ case Q.EmptyDataSet:
4357
+ h = l.modalHeaders.noDataAvailable, s === !0 ? f = l.errors.noDataFBSMessage : Ee(n) ? f = l.errors.noDataFBEMessage : f = l.errors.noDataMessage;
4343
4358
  break;
4344
- case j.NoValue:
4345
- c && a && (p = void 0, d = l.errors.noValue);
4359
+ case Q.NoValue:
4360
+ c && a ? (h = void 0, f = l.errors.noValue) : d && (h = l.modalHeaders.noDataAvailable, f = l.errors.noDataMessage);
4346
4361
  break;
4347
- case j.NegativeValueInXAxisLogScale:
4348
- d = l.errors.logarithmicXAxisNotPossible;
4362
+ case Q.NegativeValueInXAxisLogScale:
4363
+ f = l.errors.logarithmicXAxisNotPossible;
4349
4364
  break;
4350
- case j.NegativeValueInYAxisLogScale:
4351
- d = l.errors.logarithmicYAxisNotPossible;
4365
+ case Q.NegativeValueInYAxisLogScale:
4366
+ f = l.errors.logarithmicYAxisNotPossible;
4352
4367
  break;
4353
- case j.BadData:
4368
+ case Q.BadData:
4354
4369
  }
4355
- if (d === l.errors.defaultInvalidChart && (e === j.BarElementExceedsLimit || e === j.LineChartExceedsLimit || e === j.HeatChartExceedsLimit || e === j.PieChartExceedsLimit || e === j.GaugeExceedsLimit || e === j.BoxPlotExceedsLimit) && typeof a == "number" && typeof r == "number" && a / r > g) {
4356
- const x = a / r;
4357
- d = Be(l.errors.categoryCountCannotExceedLimit, {
4358
- categoryCount: m.format(x),
4359
- maxCategoryCount: m.format(g)
4370
+ if (f === l.errors.defaultInvalidChart && (e === Q.BarElementExceedsLimit || e === Q.LineChartExceedsLimit || e === Q.HeatChartExceedsLimit || e === Q.PieChartExceedsLimit || e === Q.GaugeExceedsLimit || e === Q.BoxPlotExceedsLimit) && typeof a == "number" && typeof r == "number" && a / r > p) {
4371
+ const B = a / r;
4372
+ f = Be(l.errors.categoryCountCannotExceedLimit, {
4373
+ categoryCount: y.format(B),
4374
+ maxCategoryCount: y.format(p)
4360
4375
  });
4361
4376
  }
4362
4377
  return {
4363
- keyword: e ?? j.BadData,
4364
- header: p,
4365
- message: d,
4366
- params: f
4378
+ keyword: e ?? Q.BadData,
4379
+ header: h,
4380
+ message: f,
4381
+ params: m
4367
4382
  };
4368
4383
  }
4369
4384
  function ot(t, e) {
@@ -4403,20 +4418,20 @@ function Si(t) {
4403
4418
  showOutliers: !1,
4404
4419
  standardizeValues: !0
4405
4420
  };
4406
- let S = K(u);
4407
- if (o[S] = si({ mean: d, stdDev: f, value: p }), m === E.Min || m === E.Max) {
4421
+ let h = K(u);
4422
+ if (o[h] = si({ mean: d, stdDev: f, value: p }), m === E.Min || m === E.Max) {
4408
4423
  u = {
4409
4424
  ...u,
4410
4425
  key: m,
4411
4426
  showOutliers: !0,
4412
4427
  standardizeValues: !0
4413
- }, S = K(u), u = {
4428
+ }, h = K(u), u = {
4414
4429
  ...u,
4415
4430
  standardizeValues: !1,
4416
4431
  splitByValue: r
4417
4432
  };
4418
- const x = K(u);
4419
- p = Number(e[x]), Number.isFinite(p) && (o[S] = si({
4433
+ const v = K(u);
4434
+ p = Number(e[v]), Number.isFinite(p) && (o[h] = si({
4420
4435
  mean: d,
4421
4436
  stdDev: f,
4422
4437
  value: p
@@ -4431,7 +4446,7 @@ function Ro(t) {
4431
4446
  return i.forEach((o) => {
4432
4447
  let u = {};
4433
4448
  Object.keys(r).forEach((c) => {
4434
- c.startsWith(o) ? u[c.replace(`${o}_`, "")] = r[c] : c.includes(C.rendererSymbolField) && (u[c] = r[c]), u[C.boxPlot.boxPlotCategory] = o, a && (u = Si({
4449
+ c.startsWith(o) ? u[c.replace(`${o}_`, "")] = r[c] : c.includes(x.rendererSymbolField) && (u[c] = r[c]), u[x.boxPlot.boxPlotCategory] = o, a && (u = Si({
4435
4450
  dataItem: u,
4436
4451
  chartSubType: F.BoxPlotMultiFields
4437
4452
  }));
@@ -4440,12 +4455,12 @@ function Ro(t) {
4440
4455
  }
4441
4456
  function $o(t) {
4442
4457
  const { data: e, splitByField: i, y: a } = t, r = {
4443
- [C.boxPlot.boxPlotCategory]: a
4458
+ [x.boxPlot.boxPlotCategory]: a
4444
4459
  };
4445
4460
  return e.forEach((s) => {
4446
4461
  const o = s[i];
4447
4462
  o !== void 0 && Object.keys(s).forEach((u) => {
4448
- u === C.rendererSymbolField ? r[`${u}_${o?.toString()}`] = s[u] : u === C.boxPlot.boxPlotMeanLineMarkerId ? r[u] = s[u] : r[`${o?.toString()}_${u}`] = s[u];
4463
+ u === x.rendererSymbolField ? r[`${u}_${o?.toString()}`] = s[u] : u === x.boxPlot.boxPlotMeanLineMarkerId ? r[u] = s[u] : r[`${o?.toString()}_${u}`] = s[u];
4449
4464
  });
4450
4465
  }), [r];
4451
4466
  }
@@ -4455,10 +4470,10 @@ function ko(t) {
4455
4470
  const c = u[e];
4456
4471
  a.forEach((l) => {
4457
4472
  let d = {
4458
- [C.boxPlot.boxPlotCategory]: l
4473
+ [x.boxPlot.boxPlotCategory]: l
4459
4474
  };
4460
4475
  Object.entries(u).forEach(([f, m]) => {
4461
- f.startsWith(`${l}_`) ? d[`${c}_${f.replace(`${l}_`, "")}`] = m : f.includes(C.rendererSymbolField) ? d[`${f}_${c}`] = m : f === C.boxPlot.boxPlotMeanLineMarkerId && (d[f] = u[f]);
4476
+ f.startsWith(`${l}_`) ? d[`${c}_${f.replace(`${l}_`, "")}`] = m : f.includes(x.rendererSymbolField) ? d[`${f}_${c}`] = m : f === x.boxPlot.boxPlotMeanLineMarkerId && (d[f] = u[f]);
4462
4477
  }), r && (d = Si({
4463
4478
  dataItem: d,
4464
4479
  chartSubType: F.BoxPlotMultiFieldsAndSplitBy,
@@ -4491,12 +4506,12 @@ function _o(t) {
4491
4506
  return a.forEach((s) => {
4492
4507
  const o = s[i], u = { [i]: o }, c = s[e];
4493
4508
  Object.entries(s).forEach(([l, d]) => {
4494
- if (l.includes(C.rendererSymbolField))
4495
- u[`${C.rendererSymbolField}_${c?.toString()}`] = d;
4496
- else if (l === C.boxPlot.boxPlotMeanLineMarkerId)
4509
+ if (l.includes(x.rendererSymbolField))
4510
+ u[`${x.rendererSymbolField}_${c?.toString()}`] = d;
4511
+ else if (l === x.boxPlot.boxPlotMeanLineMarkerId)
4497
4512
  u[l] = s[l];
4498
4513
  else if (l !== e && l !== i) {
4499
- const f = l !== C.xAxisField && l !== C.originalCategoryValue ? `${c?.toString()}_${l}` : l;
4514
+ const f = l !== x.xAxisField && l !== x.originalCategoryValue ? `${c?.toString()}_${l}` : l;
4500
4515
  u[f] = d;
4501
4516
  }
4502
4517
  }), r.set(o, {
@@ -4565,17 +4580,17 @@ function Xa(t) {
4565
4580
  const { data: e, yField: i, x: a, chartSubType: r, splitByField: n } = t, s = r === F.BoxPlotMonoField || r === F.BoxPlotMonoFieldAndCategory || r === F.BoxPlotMonoFieldAndSplitBy || r === F.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : i, o = it(s), u = [], c = [], { maxOperandsPerWhereClause: l } = $t();
4566
4581
  let d = [], f = [], m = 1;
4567
4582
  return e.forEach((y, g) => {
4568
- const { outlierMinThreshold: p, outlierMaxThreshold: S } = Ho(y, o);
4569
- if (typeof p == "number" && typeof S == "number") {
4570
- const x = {
4583
+ const { outlierMinThreshold: p, outlierMaxThreshold: h } = Ho(y, o);
4584
+ if (typeof p == "number" && typeof h == "number") {
4585
+ const v = {
4571
4586
  yField: i,
4572
4587
  outlierMinThreshold: p,
4573
- outlierMaxThreshold: S
4588
+ outlierMaxThreshold: h
4574
4589
  };
4575
- (r === F.BoxPlotMonoFieldAndCategory || r === F.BoxPlotMultiFieldsAndCategory || r === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in y && (x.xField = a, x.xValue = fi({
4590
+ (r === F.BoxPlotMonoFieldAndCategory || r === F.BoxPlotMultiFieldsAndCategory || r === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in y && (v.xField = a, v.xValue = fi({
4576
4591
  value: y[a],
4577
4592
  dataContext: y
4578
- })), (r === F.BoxPlotMonoFieldAndSplitBy || r === F.BoxPlotMultiFieldsAndSplitBy || r === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && n !== void 0 && n in y && (x.splitByField = n, x.splitByValue = y[n]), d.push(ki({ ...x, target: "outliers" })), f.push(ki({ ...x, target: "alternativeData" })), (m % l === 0 || g === e.length - 1) && (u.push(Y(d, "OR")), c.push(Y(f, "OR")), d = [], f = []);
4593
+ })), (r === F.BoxPlotMonoFieldAndSplitBy || r === F.BoxPlotMultiFieldsAndSplitBy || r === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && n !== void 0 && n in y && (v.splitByField = n, v.splitByValue = y[n]), d.push(ki({ ...v, target: "outliers" })), f.push(ki({ ...v, target: "alternativeData" })), (m % l === 0 || g === e.length - 1) && (u.push(Y(d, "OR")), c.push(Y(f, "OR")), d = [], f = []);
4579
4594
  }
4580
4595
  m += 1;
4581
4596
  }), { outliersFilterBatches: u, dataWithoutOutliersFilterBatches: c };
@@ -4611,19 +4626,19 @@ function zo(t) {
4611
4626
  }
4612
4627
  async function Wo(t) {
4613
4628
  const { seriesConfig: e, data: i, uniqueQuery: a, queryObject: r, meanAndStdDevPerField: n, errorStrings: s, abortKey: o, abortSignal: u } = t, c = k(e), l = e[0], { x: d } = l, f = te(l.query?.where), m = z(r), y = ve(m).idField, g = ue(e), p = [];
4614
- for (let v = 0; v < g.length; v += 1) {
4615
- const b = g[v], { outliersFilterBatches: B } = Xa({
4629
+ for (let B = 0; B < g.length; B += 1) {
4630
+ const b = g[B], { outliersFilterBatches: C } = Xa({
4616
4631
  data: i,
4617
4632
  yField: b,
4618
4633
  x: d,
4619
4634
  chartSubType: c,
4620
4635
  splitByField: f
4621
4636
  });
4622
- for (let N = 0; N < B.length; N += 1) {
4623
- const T = B[N];
4637
+ for (let N = 0; N < C.length; N += 1) {
4638
+ const T = C[N];
4624
4639
  if (T !== "") {
4625
4640
  const w = [];
4626
- d !== C.boxPlot.boxPlotCategory && w.push(d), w.push(b), f !== "" && w.push(f), w.push(y);
4641
+ d !== x.boxPlot.boxPlotCategory && w.push(d), w.push(b), f !== "" && w.push(f), w.push(y);
4627
4642
  const L = {
4628
4643
  ...a,
4629
4644
  where: Y([a.where, T]),
@@ -4647,13 +4662,13 @@ async function Wo(t) {
4647
4662
  }
4648
4663
  }
4649
4664
  }
4650
- const S = await Promise.all(p), x = /* @__PURE__ */ new Map();
4651
- for (let v = 0; v < S.length; v += 1) {
4652
- const b = S[v], B = g[v];
4665
+ const h = await Promise.all(p), v = /* @__PURE__ */ new Map();
4666
+ for (let B = 0; B < h.length; B += 1) {
4667
+ const b = h[B], C = g[B];
4653
4668
  b.forEach((N) => {
4654
4669
  const T = { ...N.attributes };
4655
- if (T[B] !== void 0) {
4656
- d === C.boxPlot.boxPlotCategory && (T[C.boxPlot.boxPlotCategory] = B);
4670
+ if (T[C] !== void 0) {
4671
+ d === x.boxPlot.boxPlotCategory && (T[x.boxPlot.boxPlotCategory] = C);
4657
4672
  let w = {
4658
4673
  key: E.Outlier,
4659
4674
  chartSubType: c
@@ -4670,13 +4685,13 @@ async function Wo(t) {
4670
4685
  case F.BoxPlotMultiFieldsAndCategory:
4671
4686
  w = {
4672
4687
  ...w,
4673
- y: B
4688
+ y: C
4674
4689
  };
4675
4690
  break;
4676
4691
  }
4677
- const L = K(w), A = T[B];
4692
+ const L = K(w), A = T[C];
4678
4693
  T[L] = A;
4679
- const I = `${T[d]}-${T[f]}-${A}`, P = x.get(I);
4694
+ const I = `${T[d]}-${T[f]}-${A}`, P = v.get(I);
4680
4695
  if (T[W.uniqueIdsName] = [
4681
4696
  ...P?.[W.uniqueIdsName] ?? [],
4682
4697
  T[y]
@@ -4689,7 +4704,7 @@ async function Wo(t) {
4689
4704
  outlierDataItem: T,
4690
4705
  chartSubType: c,
4691
4706
  x: d,
4692
- y: B,
4707
+ y: C,
4693
4708
  splitByField: f,
4694
4709
  meanAndStdDevPerField: n
4695
4710
  });
@@ -4699,11 +4714,11 @@ async function Wo(t) {
4699
4714
  stdDev: $
4700
4715
  }));
4701
4716
  }
4702
- delete T[B], T[C.boxPlot.boxPlotOutlierId] = !0, x.set(I, T);
4717
+ delete T[C], T[x.boxPlot.boxPlotOutlierId] = !0, v.set(I, T);
4703
4718
  }
4704
4719
  });
4705
4720
  }
4706
- return Array.from(x.values());
4721
+ return Array.from(v.values());
4707
4722
  }
4708
4723
  async function Go(t) {
4709
4724
  const {
@@ -4718,14 +4733,14 @@ async function Go(t) {
4718
4733
  abortSignal: c
4719
4734
  } = t;
4720
4735
  let l = [];
4721
- const { series: d, showMean: f } = n, m = Bi({ showMean: f, seriesConfig: d }), y = k(d), g = Re(n), { x: p } = g, S = te(g.query?.where), x = [];
4736
+ const { series: d, showMean: f } = n, m = Bi({ showMean: f, seriesConfig: d }), y = k(d), g = Re(n), { x: p } = g, h = te(g.query?.where), v = [];
4722
4737
  for (let b = 0; b < m.length; b += 1) {
4723
- const B = m[b], { dataWithoutOutliersFilterBatches: N } = Xa({
4738
+ const C = m[b], { dataWithoutOutliersFilterBatches: N } = Xa({
4724
4739
  data: e,
4725
- yField: B,
4740
+ yField: C,
4726
4741
  x: p,
4727
4742
  chartSubType: y,
4728
- splitByField: S
4743
+ splitByField: h
4729
4744
  });
4730
4745
  for (let T = 0; T < N.length; T += 1) {
4731
4746
  const w = N[T], L = {
@@ -4733,11 +4748,11 @@ async function Go(t) {
4733
4748
  where: Y([a.where, w])
4734
4749
  };
4735
4750
  L.outStatistics !== void 0 && (L.outStatistics = L.outStatistics?.filter(
4736
- (A) => (A.statisticType === D.Minimum || A.statisticType === D.Maximum) && A.onStatisticField === B
4751
+ (A) => (A.statisticType === D.Minimum || A.statisticType === D.Maximum) && A.onStatisticField === C
4737
4752
  ).map((A) => ({
4738
4753
  ...A,
4739
- outStatisticFieldName: `${A.outStatisticFieldName}${C.boxPlot.boxPlotOutliersSuffix}`
4740
- }))), x.push(
4754
+ outStatisticFieldName: `${A.outStatisticFieldName}${x.boxPlot.boxPlotOutliersSuffix}`
4755
+ }))), v.push(
4741
4756
  jt({
4742
4757
  queryObject: i,
4743
4758
  uniqueQuery: L,
@@ -4753,12 +4768,12 @@ async function Go(t) {
4753
4768
  );
4754
4769
  }
4755
4770
  }
4756
- const v = await Promise.all(x);
4757
- for (let b = 0; b < v.length; b += 1)
4758
- l.push(...v[b]);
4771
+ const B = await Promise.all(v);
4772
+ for (let b = 0; b < B.length; b += 1)
4773
+ l.push(...B[b]);
4759
4774
  return y !== F.BoxPlotMonoFieldAndCategoryAndSplitBy && y !== F.BoxPlotMonoField && (l = bt({
4760
4775
  data: l,
4761
- x: S !== void 0 && S !== "" ? S : p
4776
+ x: h !== void 0 && h !== "" ? h : p
4762
4777
  })), l;
4763
4778
  }
4764
4779
  async function Uo(t) {
@@ -4816,7 +4831,7 @@ function Ja(t) {
4816
4831
  const f = te(o.query?.where);
4817
4832
  switch (u) {
4818
4833
  case F.BoxPlotMonoField:
4819
- d[0][C.boxPlot.boxPlotCategory] = l[0];
4834
+ d[0][x.boxPlot.boxPlotCategory] = l[0];
4820
4835
  break;
4821
4836
  case F.BoxPlotMultiFields:
4822
4837
  d = Ro({
@@ -4941,19 +4956,19 @@ function Ka(t) {
4941
4956
  return {
4942
4957
  xAxisData: Qi({
4943
4958
  chartConfig: e,
4944
- field: Q.xField,
4959
+ field: _.xField,
4945
4960
  chartData: i
4946
4961
  }),
4947
4962
  yAxisData: Qi({
4948
4963
  chartConfig: e,
4949
- field: Q.yField,
4964
+ field: _.yField,
4950
4965
  chartData: i
4951
4966
  })
4952
4967
  };
4953
4968
  }
4954
4969
  function _i(t) {
4955
4970
  const { orderBy: e, axisFormatOptions: i } = t;
4956
- return e !== void 0 && i !== void 0 && (!Array.isArray(e) || i?.type === h.CategoryAxisFormat);
4971
+ return e !== void 0 && i !== void 0 && (!Array.isArray(e) || i?.type === S.CategoryAxisFormat);
4957
4972
  }
4958
4973
  function ji(t, e, i) {
4959
4974
  let a = 0;
@@ -4996,7 +5011,7 @@ function Ko(t) {
4996
5011
  function Et(t) {
4997
5012
  const { arrayToSort: e, chartConfig: i, fieldList: a, isTimeBinningSeries: r } = t;
4998
5013
  if (r !== !0 && e[0] !== void 0) {
4999
- const { series: n } = i, s = k(n), o = _(n), u = xe(i), c = Mt(i);
5014
+ const { series: n } = i, s = k(n), o = j(n), u = xe(i), c = Mt(i);
5000
5015
  if (We(i) && e !== void 0)
5001
5016
  Jo({
5002
5017
  arrayToSort: e,
@@ -5006,8 +5021,8 @@ function Et(t) {
5006
5021
  else if (c?.[0] !== void 0 && e !== void 0 && e.length > 1) {
5007
5022
  const { orderBy: l } = c[0];
5008
5023
  let { sortingField: d } = c[0];
5009
- const f = i.orderOptions?.data?.orderType === De.Category, m = c[0].preferLabel !== !1, y = s === F.BarAndLineFromFields || s === F.PieFromFields || s === F.BoxPlotMultiFields || s === F.BoxPlotMultiFieldsAndSplitBy, g = y || o === h.PieSeries, p = s === F.PieNoAggregation || s === F.BarAndLineNoAggregation || s === F.BarAndLineSplitByNoAggregation;
5010
- if (f && g && (!m || (o === h.LineSeries || o === h.RadarSeries) && u === h.NumberAxisFormat) && (d = C.originalCategoryValue), Array.isArray(l))
5024
+ const f = i.orderOptions?.data?.orderType === De.Category, m = c[0].preferLabel !== !1, y = s === F.BarAndLineFromFields || s === F.PieFromFields || s === F.BoxPlotMultiFields || s === F.BoxPlotMultiFieldsAndSplitBy, g = y || o === S.PieSeries, p = s === F.PieNoAggregation || s === F.BarAndLineNoAggregation || s === F.BarAndLineSplitByNoAggregation;
5025
+ if (f && g && (!m || (o === S.LineSeries || o === S.RadarSeries) && u === S.NumberAxisFormat) && (d = x.originalCategoryValue), Array.isArray(l))
5011
5026
  En({
5012
5027
  arrayToSort: e,
5013
5028
  orderBy: l,
@@ -5017,12 +5032,12 @@ function Et(t) {
5017
5032
  preferLabel: m
5018
5033
  });
5019
5034
  else {
5020
- const S = u === h.DateAxisFormat && f;
5035
+ const h = u === S.DateAxisFormat && f;
5021
5036
  ht({
5022
5037
  arrayToSort: e,
5023
5038
  orderBy: l,
5024
5039
  sortingField: d,
5025
- forceAscendingOrder: S,
5040
+ forceAscendingOrder: h,
5026
5041
  isNonAggregated: p,
5027
5042
  sortByCategory: f,
5028
5043
  preferLabel: m,
@@ -5032,7 +5047,7 @@ function Et(t) {
5032
5047
  }
5033
5048
  }
5034
5049
  }
5035
- function kd(t) {
5050
+ function Qd(t) {
5036
5051
  const { alteredConfig: e, dataInfo: i, fieldList: a, options: r, queryObject: n } = t, s = Ci(i.data);
5037
5052
  if (s && Et({
5038
5053
  arrayToSort: s,
@@ -5055,11 +5070,11 @@ function kd(t) {
5055
5070
  }
5056
5071
  function el(t) {
5057
5072
  return t?.type === "uniqueValue" && (t.uniqueValueInfos = t.uniqueValueInfos.map((e) => {
5058
- const i = e.value === null ? C.nullValue : e.value;
5073
+ const i = e.value === null ? x.nullValue : e.value;
5059
5074
  return { ...e, value: i };
5060
5075
  })), t;
5061
5076
  }
5062
- async function Qd(t) {
5077
+ async function _d(t) {
5063
5078
  const { data: e, queryObject: i, chartConfig: a, allowColorMatch: r } = t;
5064
5079
  let n = !1, s = [];
5065
5080
  if (r && !ie(i)) {
@@ -5069,17 +5084,17 @@ async function Qd(t) {
5069
5084
  const y = jn(c, d?.renderer), g = Un({
5070
5085
  chartRenderer: u,
5071
5086
  queryObject: i
5072
- }), p = _(o), S = k(o), x = Re(a), v = te(x.query?.where);
5087
+ }), p = j(o), h = k(o), v = Re(a), B = te(v.query?.where);
5073
5088
  m = /* @__PURE__ */ new Map();
5074
- for (let b = 0; b < (p === h.HistogramSeries && e.length > 0 ? 1 : e.length); b += 1) {
5075
- const B = e[b], N = await Yn({
5089
+ for (let b = 0; b < (p === S.HistogramSeries && e.length > 0 ? 1 : e.length); b += 1) {
5090
+ const C = e[b], N = await Yn({
5076
5091
  seriesConfig: a.series,
5077
- dataItem: B,
5092
+ dataItem: C,
5078
5093
  renderer: f,
5079
5094
  rendererType: y,
5080
5095
  rendererOrigin: l,
5081
- chartSubType: S,
5082
- splitByField: v,
5096
+ chartSubType: h,
5097
+ splitByField: B,
5083
5098
  graphicTemplate: g,
5084
5099
  mapAttributesToSymbol: m,
5085
5100
  rendererFieldNames: s
@@ -5126,7 +5141,7 @@ async function il(t) {
5126
5141
  })).elementCount, r?.behaviorAfterLimit !== lt.RenderUpToTheLimit && (f = Ae({
5127
5142
  count: m ?? 0,
5128
5143
  seriesCount: i.series.length,
5129
- chartType: h.GaugeSeries,
5144
+ chartType: S.GaugeSeries,
5130
5145
  chartLimits: r
5131
5146
  })), r && (Number.isFinite(l) || Number.isFinite(m)))) {
5132
5147
  const y = Math.min(l ?? Number.NaN, m ?? Number.NaN);
@@ -5149,11 +5164,11 @@ async function il(t) {
5149
5164
  } else
5150
5165
  u.count = m, It({
5151
5166
  dataInfo: u,
5152
- chartType: h.GaugeSeries
5167
+ chartType: S.GaugeSeries
5153
5168
  });
5154
5169
  return u;
5155
5170
  }
5156
- async function _d(t) {
5171
+ async function jd(t) {
5157
5172
  const { queryObject: e, chartConfig: i, queryConfig: a, errorStrings: r } = t, { minimumFromField: n, maximumFromField: s } = i.axes[0], o = [];
5158
5173
  let u = "", c = "";
5159
5174
  n !== void 0 && (typeof n == "string" ? (u = `${D.Minimum}_${n}`, o.push({
@@ -5195,30 +5210,30 @@ function al(t) {
5195
5210
  c = !0;
5196
5211
  else if (!a) {
5197
5212
  const l = [
5198
- C.originalCategoryValue,
5199
- C.originalYCategoryValue,
5200
- C.originalDateValue,
5201
- C.xAxisField,
5202
- C.technicalSortingFieldBySum,
5203
- C.technicalSortingFieldByPercent,
5204
- C.pieChart.technicalFieldSlicePercent,
5205
- C.pieChart.technicalFieldGroupedSlices,
5206
- C.pieChart.technicalFieldSliceId,
5207
- C.originalServerBinningRange,
5208
- C.lastTemporalBin,
5209
- C.technicalFieldSplitByField,
5213
+ x.originalCategoryValue,
5214
+ x.originalYCategoryValue,
5215
+ x.originalDateValue,
5216
+ x.xAxisField,
5217
+ x.technicalSortingFieldBySum,
5218
+ x.technicalSortingFieldByPercent,
5219
+ x.pieChart.technicalFieldSlicePercent,
5220
+ x.pieChart.technicalFieldGroupedSlices,
5221
+ x.pieChart.technicalFieldSliceId,
5222
+ x.originalServerBinningRange,
5223
+ x.lastTemporalBin,
5224
+ x.technicalFieldSplitByField,
5210
5225
  W.uniqueIdsName,
5211
- Q.valueField,
5226
+ _.valueField,
5212
5227
  ...Vr
5213
5228
  ], d = (g, p) => {
5214
- const S = p[C.originalCategoryValue];
5215
- S !== void 0 && r && (p[r] = S);
5216
- const x = p[C.originalYCategoryValue];
5217
- x !== void 0 && n && (p[n] = x), r && p[Q.xField] !== void 0 && (p[r] = p[C.originalCategoryValue] !== void 0 ? p[C.originalCategoryValue] : p[Q.xField], delete p[Q.xField]), n && p[Q.yField] !== void 0 && (p[n] = p[C.originalYCategoryValue] !== void 0 ? p[C.originalYCategoryValue] : p[Q.yField], delete p[Q.yField]), s && p[Q.valueField] !== void 0 && (p[s] = p[Q.valueField], delete p[Q.valueField]);
5218
- const v = {};
5229
+ const h = p[x.originalCategoryValue];
5230
+ h !== void 0 && r && (p[r] = h);
5231
+ const v = p[x.originalYCategoryValue];
5232
+ v !== void 0 && n && (p[n] = v), r && p[_.xField] !== void 0 && (p[r] = p[x.originalCategoryValue] !== void 0 ? p[x.originalCategoryValue] : p[_.xField], delete p[_.xField]), n && p[_.yField] !== void 0 && (p[n] = p[x.originalYCategoryValue] !== void 0 ? p[x.originalYCategoryValue] : p[_.yField], delete p[_.yField]), s && p[_.valueField] !== void 0 && (p[s] = p[_.valueField], delete p[_.valueField]);
5233
+ const B = {};
5219
5234
  return Object.keys(p).forEach((b) => {
5220
- !l.includes(b) && !b.includes(C.rendererSymbolField) && (v[b] = p[b]);
5221
- }), g.push(v), g;
5235
+ !l.includes(b) && !b.includes(x.rendererSymbolField) && (B[b] = p[b]);
5236
+ }), g.push(B), g;
5222
5237
  }, f = (g, p) => JSON.stringify(g).localeCompare(JSON.stringify(p));
5223
5238
  let m = o?.reduce(d, [])?.sort(f), y = u?.reduce(d, [])?.sort(f);
5224
5239
  m && y && r && m.length !== y.length && (m = bt({ data: m, x: r }), y = bt({ data: y, x: r })), c = m?.length !== y?.length || !at(m, y);
@@ -5262,7 +5277,7 @@ function qe(t, e) {
5262
5277
  function nl(t) {
5263
5278
  const { dataContext: e, xAxisField: i, yAxisField: a, options: r } = t;
5264
5279
  let n = "";
5265
- const { dataContextXMinField: s, dataContextXMaxField: o, dataContextYMinField: u, dataContextYMaxField: c } = C.scatterplotAggregationFields;
5280
+ const { dataContextXMinField: s, dataContextXMaxField: o, dataContextYMinField: u, dataContextYMaxField: c } = x.scatterplotAggregationFields;
5266
5281
  if (ha({ dataContext: e, chartLimits: r?.chartLimits })) {
5267
5282
  const { [s]: l, [o]: d } = e, f = i !== a ? e[u] : l, m = i !== a ? e[c] : d;
5268
5283
  if (!Number.isNaN(l) && !Number.isNaN(d) && !Number.isNaN(f) && !Number.isNaN(m)) {
@@ -5283,7 +5298,7 @@ function Hi(t) {
5283
5298
  function er(t) {
5284
5299
  const { xAxisField: e, dataContext: i, queryObject: a } = t;
5285
5300
  let r = "";
5286
- const n = i[C.originalServerBinningRange] ?? i[C.dateBinningRange];
5301
+ const n = i[x.originalServerBinningRange] ?? i[x.dateBinningRange];
5287
5302
  if (ui(n) && n.length === 2) {
5288
5303
  let [s, o] = n, u = !0;
5289
5304
  const c = Ee(a);
@@ -5293,7 +5308,7 @@ function er(t) {
5293
5308
  } else
5294
5309
  typeof s == "number" && typeof o == "number" ? Number.isFinite(s) && Number.isFinite(o) ? (s = nt(s), o = nt(o)) : u = !1 : typeof s == "string" && typeof o == "string" && (s = new Date(s).toISOString(), o = new Date(o).toISOString());
5295
5310
  if (u) {
5296
- const l = c ? "" : "'", d = i[C.lastTemporalBin] === !0 ? "<=" : "<";
5311
+ const l = c ? "" : "'", d = i[x.lastTemporalBin] === !0 ? "<=" : "<";
5297
5312
  r = `${e}>=${l}${s}${l} AND ${e}${d}${l}${o}${l}`;
5298
5313
  }
5299
5314
  }
@@ -5302,7 +5317,7 @@ function er(t) {
5302
5317
  function tr(t, e) {
5303
5318
  let i = "";
5304
5319
  if (Number.isFinite(t)) {
5305
- const a = 1 / 10 ** C.queryMaxFloatPrecision;
5320
+ const a = 1 / 10 ** x.queryMaxFloatPrecision;
5306
5321
  i = `${e}>=${t - a} AND ${e}<=${t + a}`;
5307
5322
  }
5308
5323
  return i;
@@ -5310,7 +5325,7 @@ function tr(t, e) {
5310
5325
  function ir(t) {
5311
5326
  const { xAxisField: e, yAxisField: i, splitBy: a, dataContext: r, xAxisFieldType: n, chartConfig: s } = t;
5312
5327
  let o = "";
5313
- if (e !== void 0 && e !== C.boxPlot.boxPlotCategory) {
5328
+ if (e !== void 0 && e !== x.boxPlot.boxPlotCategory) {
5314
5329
  let d = fi({
5315
5330
  value: r[e],
5316
5331
  dataContext: r
@@ -5334,7 +5349,7 @@ function ir(t) {
5334
5349
  showOutliers: !0,
5335
5350
  splitBy: a,
5336
5351
  y: d
5337
- }), y = e === C.boxPlot.boxPlotCategory ? r[e] : i;
5352
+ }), y = e === x.boxPlot.boxPlotCategory ? r[e] : i;
5338
5353
  if (!oe(y)) {
5339
5354
  const g = r[f], p = r[m];
5340
5355
  Number.isFinite(g) && Number.isFinite(p) && (c = `${y?.toString()}>=${g?.toString()} AND ${y?.toString()}<=${p?.toString()}`);
@@ -5345,7 +5360,7 @@ function ir(t) {
5345
5360
  function sl(t) {
5346
5361
  const { xAxisField: e, splitBy: i, dataContext: a, xAxisFieldType: r, chartConfig: n, queryObject: s } = t;
5347
5362
  let o = "";
5348
- if (C.dateBinningRange in a)
5363
+ if (x.dateBinningRange in a)
5349
5364
  o = er({ xAxisField: e, dataContext: a, queryObject: s });
5350
5365
  else if (k(n.series) !== F.BarAndLineFromFields) {
5351
5366
  let l = fi({
@@ -5363,7 +5378,7 @@ function sl(t) {
5363
5378
  }
5364
5379
  function ol(t) {
5365
5380
  const { xAxisField: e, dataContext: i, chartConfig: a } = t;
5366
- let r = i[C.originalCategoryValue];
5381
+ let r = i[x.originalCategoryValue];
5367
5382
  return r === void 0 && (r = i[e]), k(a.series) === F.PieFromFields ? "" : Le({
5368
5383
  where: qe(e, r),
5369
5384
  normalize: !1,
@@ -5395,10 +5410,10 @@ function ll(t) {
5395
5410
  runsOnClientQueryEngine: o
5396
5411
  } = t, u = r.series[0];
5397
5412
  let c = "";
5398
- if (u.type === h.HeatSeries) {
5413
+ if (u.type === S.HeatSeries) {
5399
5414
  let l, d;
5400
- const f = a[Q.xField], m = a[C.originalCategoryValue], y = a[Q.yField], g = a[C.originalYCategoryValue], p = r.axes?.[0]?.valueFormat?.type, S = r.axes?.[1]?.valueFormat?.type;
5401
- p === h.CategoryAxisFormat ? l = Le({
5415
+ const f = a[_.xField], m = a[x.originalCategoryValue], y = a[_.yField], g = a[x.originalYCategoryValue], p = r.axes?.[0]?.valueFormat?.type, h = r.axes?.[1]?.valueFormat?.type;
5416
+ p === S.CategoryAxisFormat ? l = Le({
5402
5417
  where: qe(u.x, m ?? f),
5403
5418
  normalize: !1,
5404
5419
  escape: !0
@@ -5410,7 +5425,7 @@ function ll(t) {
5410
5425
  outTimeZone: n,
5411
5426
  dataTimeZone: s,
5412
5427
  runsOnClientQueryEngine: o
5413
- }), S === h.CategoryAxisFormat ? d = Le({
5428
+ }), h === S.CategoryAxisFormat ? d = Le({
5414
5429
  where: qe(u.y, g ?? y),
5415
5430
  normalize: !1,
5416
5431
  escape: !0
@@ -5430,7 +5445,7 @@ function ul(t) {
5430
5445
  const { xAxisField: e, dataContext: i, chartConfig: a } = t;
5431
5446
  let r = "";
5432
5447
  const n = a.series[0], { minValue: s, maxValue: o } = i;
5433
- if (Number.isFinite(s) && Number.isFinite(o) && n.type === h.HistogramSeries) {
5448
+ if (Number.isFinite(s) && Number.isFinite(o) && n.type === S.HistogramSeries) {
5434
5449
  const u = qn(e, n.dataTransformationType), c = i.isLastBin ? "<=" : "<";
5435
5450
  r = Y([
5436
5451
  `${u}>=${s?.toString()}`,
@@ -5439,29 +5454,29 @@ function ul(t) {
5439
5454
  }
5440
5455
  return r;
5441
5456
  }
5442
- function jd(t) {
5443
- const { chartConfig: e } = t, i = _(e.series);
5457
+ function Hd(t) {
5458
+ const { chartConfig: e } = t, i = j(e.series);
5444
5459
  let a = "";
5445
5460
  switch (i) {
5446
- case h.ScatterSeries:
5461
+ case S.ScatterSeries:
5447
5462
  a = nl(t);
5448
5463
  break;
5449
- case h.HeatSeries:
5464
+ case S.HeatSeries:
5450
5465
  a = ll(t);
5451
5466
  break;
5452
- case h.RadarSeries:
5453
- case h.BarSeries:
5454
- case h.LineSeries:
5455
- case h.ComboLineAndBarSeries:
5467
+ case S.RadarSeries:
5468
+ case S.BarSeries:
5469
+ case S.LineSeries:
5470
+ case S.ComboLineAndBarSeries:
5456
5471
  a = sl(t);
5457
5472
  break;
5458
- case h.BoxPlotSeries:
5473
+ case S.BoxPlotSeries:
5459
5474
  a = ir(t);
5460
5475
  break;
5461
- case h.HistogramSeries:
5476
+ case S.HistogramSeries:
5462
5477
  a = ul(t);
5463
5478
  break;
5464
- case h.PieSeries:
5479
+ case S.PieSeries:
5465
5480
  a = ol(t);
5466
5481
  break;
5467
5482
  }
@@ -5486,7 +5501,7 @@ async function cl(t) {
5486
5501
  } = t, g = k(a.series);
5487
5502
  let p = { valid: !0, data: { dataItems: [] } };
5488
5503
  if (r !== void 0 && r.length > 0) {
5489
- const S = Re(a), { x } = S, v = "y" in S ? S.y : "", B = Ce(e).find((I) => I.name === x)?.type, N = [], T = r.reduce(
5504
+ const h = Re(a), { x: v } = h, B = "y" in h ? h.y : "", C = Ce(e).find((I) => I.name === v)?.type, N = [], T = r.reduce(
5490
5505
  (I, P) => {
5491
5506
  const O = [];
5492
5507
  if (W.uniqueIdsName in P)
@@ -5496,7 +5511,7 @@ async function cl(t) {
5496
5511
  case F.BoxPlotMonoFieldAndSplitBy:
5497
5512
  case F.BoxPlotMultiFieldsAndSplitBy:
5498
5513
  case F.BoxPlotMonoFieldAndCategoryAndSplitBy: {
5499
- const M = te(S.query?.where ?? ""), q = `_${E.Average}`;
5514
+ const M = te(h.query?.where ?? ""), q = `_${E.Average}`;
5500
5515
  Object.keys(P).forEach((G) => {
5501
5516
  if (G.includes(q)) {
5502
5517
  const J = G.replace(q, "");
@@ -5506,7 +5521,7 @@ async function cl(t) {
5506
5521
  break;
5507
5522
  }
5508
5523
  }
5509
- const V = [v].flat();
5524
+ const V = [B].flat();
5510
5525
  let $ = V.length === 1 ? V[0] : "";
5511
5526
  if (g === F.BoxPlotMultiFieldsAndCategory) {
5512
5527
  const M = `_${E.FirstQuartile}`, q = Object.keys(P).find((G) => G.includes(M));
@@ -5515,11 +5530,11 @@ async function cl(t) {
5515
5530
  O.length === 0 && O.push(""), O.forEach((M) => {
5516
5531
  const q = ir({
5517
5532
  chartConfig: a,
5518
- xAxisField: x,
5533
+ xAxisField: v,
5519
5534
  yAxisField: $,
5520
5535
  splitBy: M,
5521
5536
  dataContext: P,
5522
- xAxisFieldType: B
5537
+ xAxisFieldType: C
5523
5538
  });
5524
5539
  I.push(q);
5525
5540
  });
@@ -5571,25 +5586,25 @@ async function dl(t) {
5571
5586
  abortSignal: p
5572
5587
  } = t;
5573
5588
  yt(e);
5574
- const { series: S } = a, x = _(S), v = xe(a);
5575
- let b = { valid: !0 }, B = s?.selectionItems ?? [];
5576
- n || (B = rl({ chartConfig: a, currentSelectionDataItems: r, selectionData: s }));
5589
+ const { series: h } = a, v = j(h), B = xe(a);
5590
+ let b = { valid: !0 }, C = s?.selectionItems ?? [];
5591
+ n || (C = rl({ chartConfig: a, currentSelectionDataItems: r, selectionData: s }));
5577
5592
  let N = !1;
5578
- switch (x) {
5579
- case h.HeatSeries:
5580
- b.data = { dataItems: B };
5593
+ switch (v) {
5594
+ case S.HeatSeries:
5595
+ b.data = { dataItems: C };
5581
5596
  break;
5582
- case h.PieSeries:
5597
+ case S.PieSeries:
5583
5598
  if (k(a.series) === F.PieFromFields) {
5584
- const { x: T, y: w } = a.series[0], L = He(B);
5599
+ const { x: T, y: w } = a.series[0], L = He(C);
5585
5600
  L.forEach((A) => {
5586
5601
  T in A && (A[ce] = A[T], delete A[T]), w in A && (A[Ne] = A[w], delete A[w]);
5587
5602
  }), b.data = { dataItems: L };
5588
5603
  } else
5589
- b.data = { dataItems: B };
5590
- b.count = B.length, N = !0;
5604
+ b.data = { dataItems: C };
5605
+ b.count = C.length, N = !0;
5591
5606
  break;
5592
- case h.BoxPlotSeries:
5607
+ case S.BoxPlotSeries:
5593
5608
  de(a) && (b = await cl({
5594
5609
  queryObject: e,
5595
5610
  queryConfig: i,
@@ -5607,23 +5622,23 @@ async function dl(t) {
5607
5622
  abortSignal: p
5608
5623
  }));
5609
5624
  break;
5610
- case h.BarSeries:
5611
- case h.ComboLineAndBarSeries:
5612
- case h.RadarSeries:
5613
- case h.LineSeries:
5614
- if (B.length === 0 || !Pe({
5615
- xAxisValueFormatType: v,
5625
+ case S.BarSeries:
5626
+ case S.ComboLineAndBarSeries:
5627
+ case S.RadarSeries:
5628
+ case S.LineSeries:
5629
+ if (C.length === 0 || !Pe({
5630
+ xAxisValueFormatType: B,
5616
5631
  setTimeBinningInfoWhenNotProvided: o,
5617
- seriesConfig: S[0],
5632
+ seriesConfig: h[0],
5618
5633
  queryObject: e
5619
5634
  }))
5620
- b.data = { dataItems: B }, b.count = B.length * S.length, N = !0;
5635
+ b.data = { dataItems: C }, b.count = C.length * h.length, N = !0;
5621
5636
  else {
5622
5637
  const T = { ...i };
5623
5638
  if (r !== void 0 && r.length > 0) {
5624
5639
  const L = r.map(
5625
5640
  (I) => er({
5626
- xAxisField: S[0].x,
5641
+ xAxisField: h[0].x,
5627
5642
  dataContext: I,
5628
5643
  queryObject: e
5629
5644
  })
@@ -5644,8 +5659,8 @@ async function dl(t) {
5644
5659
  });
5645
5660
  }
5646
5661
  break;
5647
- case h.HistogramSeries: {
5648
- if (B.length === 0)
5662
+ case S.HistogramSeries: {
5663
+ if (C.length === 0)
5649
5664
  b.data = {
5650
5665
  mean: Number.NaN,
5651
5666
  median: Number.NaN,
@@ -5655,8 +5670,8 @@ async function dl(t) {
5655
5670
  bins: []
5656
5671
  }, b.count = 0;
5657
5672
  else {
5658
- const { x: T } = S[0], w = B.map((I, P) => {
5659
- const { minValue: O, maxValue: V } = I, $ = P === B.length - 1 ? "<=" : "<";
5673
+ const { x: T } = h[0], w = C.map((I, P) => {
5674
+ const { minValue: O, maxValue: V } = I, $ = P === C.length - 1 ? "<=" : "<";
5660
5675
  return `${T} >= ${O} AND ${T} ${$} ${V}`;
5661
5676
  }), L = Y(w, "OR"), A = { ...i };
5662
5677
  A.where = Y([A.where, L]), b = await Ya({
@@ -5671,16 +5686,16 @@ async function dl(t) {
5671
5686
  }
5672
5687
  break;
5673
5688
  }
5674
- case h.ScatterSeries: {
5675
- if (B.length === 0) {
5676
- const { r2: T, trendLinePoints: w } = C.scatterplotSeries;
5689
+ case S.ScatterSeries: {
5690
+ if (C.length === 0) {
5691
+ const { r2: T, trendLinePoints: w } = x.scatterplotSeries;
5677
5692
  b.data = { dataItems: [], r2: T, trendLinePoints: w, count: 0 }, b.count = 0;
5678
5693
  } else {
5679
5694
  const { r2: T, trendLinePoints: w } = qa({
5680
- data: B,
5695
+ data: C,
5681
5696
  chartConfig: a
5682
5697
  });
5683
- b.data = { dataItems: B, r2: T, trendLinePoints: w }, b.count = B.length;
5698
+ b.data = { dataItems: C, r2: T, trendLinePoints: w }, b.count = C.length;
5684
5699
  }
5685
5700
  break;
5686
5701
  }
@@ -5726,9 +5741,9 @@ async function Fi(t) {
5726
5741
  if (!g)
5727
5742
  y = p;
5728
5743
  else {
5729
- const S = { dataItems: [] };
5730
- S.meanLines = p.data.dataItems;
5731
- const x = Oo(i), v = (await oi({
5744
+ const h = { dataItems: [] };
5745
+ h.meanLines = p.data.dataItems;
5746
+ const v = Oo(i), B = (await oi({
5732
5747
  queryObject: e,
5733
5748
  queryConfig: a,
5734
5749
  fetchFullBoxPlotData: !0,
@@ -5740,11 +5755,11 @@ async function Fi(t) {
5740
5755
  replaceNoValueCategoryWithZero: f,
5741
5756
  view: m,
5742
5757
  errorStrings: r,
5743
- chartConfig: x,
5758
+ chartConfig: v,
5744
5759
  abortKey: n,
5745
5760
  abortSignal: s
5746
5761
  })).data;
5747
- S.dataItems = v.dataItems, S.outliers = v.outliers, y.data = S;
5762
+ h.dataItems = B.dataItems, h.outliers = B.outliers, y.data = h;
5748
5763
  }
5749
5764
  return y;
5750
5765
  }
@@ -5766,20 +5781,20 @@ async function fl(t) {
5766
5781
  errorStrings: y,
5767
5782
  abortKey: g,
5768
5783
  abortSignal: p,
5769
- fieldList: S,
5770
- currentSelectionDataItems: x,
5771
- dataForFilterBySelectionChanged: v,
5784
+ fieldList: h,
5785
+ currentSelectionDataItems: v,
5786
+ dataForFilterBySelectionChanged: B,
5772
5787
  filterByViewExtent: b,
5773
- preFetchedQueryResponse: B
5774
- } = t, { series: N } = i, T = _(N);
5788
+ preFetchedQueryResponse: C
5789
+ } = t, { series: N } = i, T = j(N);
5775
5790
  let w = { valid: !0 };
5776
5791
  if (r)
5777
5792
  w = await dl({
5778
5793
  queryObject: e,
5779
5794
  queryConfig: a,
5780
5795
  chartConfig: i,
5781
- currentSelectionDataItems: x,
5782
- dataForFilterBySelectionChanged: v,
5796
+ currentSelectionDataItems: v,
5797
+ dataForFilterBySelectionChanged: B,
5783
5798
  selectionData: n,
5784
5799
  setTimeBinningInfoWhenNotProvided: s,
5785
5800
  returnFeaturesExtent: o,
@@ -5794,7 +5809,7 @@ async function fl(t) {
5794
5809
  });
5795
5810
  else
5796
5811
  switch (T) {
5797
- case h.HeatSeries:
5812
+ case S.HeatSeries:
5798
5813
  yt(e), w = await cr({
5799
5814
  chartConfig: i,
5800
5815
  queryConfig: a,
@@ -5809,7 +5824,7 @@ async function fl(t) {
5809
5824
  abortSignal: p
5810
5825
  });
5811
5826
  break;
5812
- case h.BoxPlotSeries:
5827
+ case S.BoxPlotSeries:
5813
5828
  de(i) && (w = await Fi({
5814
5829
  queryObject: e,
5815
5830
  // @REV: temporary
@@ -5827,11 +5842,11 @@ async function fl(t) {
5827
5842
  abortSignal: p
5828
5843
  }));
5829
5844
  break;
5830
- case h.BarSeries:
5831
- case h.ComboLineAndBarSeries:
5832
- case h.PieSeries:
5833
- case h.RadarSeries:
5834
- case h.LineSeries: {
5845
+ case S.BarSeries:
5846
+ case S.ComboLineAndBarSeries:
5847
+ case S.PieSeries:
5848
+ case S.RadarSeries:
5849
+ case S.LineSeries: {
5835
5850
  const L = {
5836
5851
  queryObject: e,
5837
5852
  // @REV: temporary
@@ -5848,8 +5863,8 @@ async function fl(t) {
5848
5863
  view: f,
5849
5864
  abortKey: g,
5850
5865
  abortSignal: p,
5851
- fieldList: S,
5852
- preFetchedQueryResponse: B
5866
+ fieldList: h,
5867
+ preFetchedQueryResponse: C
5853
5868
  };
5854
5869
  Pe({
5855
5870
  xAxisValueFormatType: xe(i),
@@ -5859,7 +5874,7 @@ async function fl(t) {
5859
5874
  }) ? w = await xi(L) : w = await oi(L);
5860
5875
  break;
5861
5876
  }
5862
- case h.ScatterSeries:
5877
+ case S.ScatterSeries:
5863
5878
  w.data = await dr({
5864
5879
  queryObject: e,
5865
5880
  queryConfig: a,
@@ -5877,7 +5892,7 @@ async function fl(t) {
5877
5892
  abortSignal: p
5878
5893
  });
5879
5894
  break;
5880
- case h.HistogramSeries:
5895
+ case S.HistogramSeries:
5881
5896
  w = await Ya({
5882
5897
  queryObject: e,
5883
5898
  queryConfig: a,
@@ -5889,7 +5904,7 @@ async function fl(t) {
5889
5904
  errorStrings: y
5890
5905
  });
5891
5906
  break;
5892
- case h.GaugeSeries:
5907
+ case S.GaugeSeries:
5893
5908
  yt(e), w = await il({
5894
5909
  queryObject: e,
5895
5910
  chartConfig: i,
@@ -5903,7 +5918,7 @@ async function fl(t) {
5903
5918
  }
5904
5919
  return w;
5905
5920
  }
5906
- async function Hd(t) {
5921
+ async function zd(t) {
5907
5922
  const {
5908
5923
  queryObject: e,
5909
5924
  chartConfig: i,
@@ -5921,11 +5936,11 @@ async function Hd(t) {
5921
5936
  chartLimits: y,
5922
5937
  popupTemplateFieldInfosEnabled: g,
5923
5938
  hideZeroCountCategories: p,
5924
- replaceNoValueCategoryWithZero: S,
5925
- view: x,
5926
- syncViewTimeZone: v,
5939
+ replaceNoValueCategoryWithZero: h,
5940
+ view: v,
5941
+ syncViewTimeZone: B,
5927
5942
  errorStrings: b,
5928
- fieldList: B,
5943
+ fieldList: C,
5929
5944
  preFetchedQueryResponse: N
5930
5945
  } = t;
5931
5946
  let T = { valid: !0 };
@@ -5934,7 +5949,7 @@ async function Hd(t) {
5934
5949
  chartConfig: i,
5935
5950
  runtimeDataFilters: u,
5936
5951
  ignoreViewExtent: c,
5937
- view: x
5952
+ view: v
5938
5953
  });
5939
5954
  return Ls(a), T = await fl({
5940
5955
  chartConfig: i,
@@ -5950,13 +5965,13 @@ async function Hd(t) {
5950
5965
  chartLimits: y,
5951
5966
  popupTemplateFieldInfosEnabled: g,
5952
5967
  hideZeroCountCategories: p,
5953
- replaceNoValueCategoryWithZero: S,
5954
- view: x,
5955
- syncViewTimeZone: v,
5968
+ replaceNoValueCategoryWithZero: h,
5969
+ view: v,
5970
+ syncViewTimeZone: B,
5956
5971
  abortKey: a,
5957
5972
  abortSignal: r,
5958
5973
  errorStrings: b,
5959
- fieldList: B,
5974
+ fieldList: C,
5960
5975
  preFetchedQueryResponse: N
5961
5976
  }), T.queryConfig = w, T;
5962
5977
  }
@@ -5964,7 +5979,7 @@ function ml(t, e, i) {
5964
5979
  const a = /* @__PURE__ */ new Map();
5965
5980
  for (let n = 0; n < t.length; n += 1) {
5966
5981
  const s = { [i]: t[n] };
5967
- C.xAxisField in s || (s[C.xAxisField] = t[n]), a.set(t[n], s);
5982
+ x.xAxisField in s || (s[x.xAxisField] = t[n]), a.set(t[n], s);
5968
5983
  }
5969
5984
  for (let n = 0; n < e.length; n += 1) {
5970
5985
  const s = e[n][i];
@@ -5986,28 +6001,28 @@ async function yl(t) {
5986
6001
  } = t, { series: l } = i;
5987
6002
  let d = e;
5988
6003
  const f = k(l), m = xe(i);
5989
- if (s !== lt.RenderUpToTheLimit && n !== void 0 && n > e.length && f !== F.BarAndLineFromFields && f !== F.BarAndLineNoAggregation && f !== F.PieNoAggregation && m === h.CategoryAxisFormat) {
6004
+ if (s !== lt.RenderUpToTheLimit && n !== void 0 && n > e.length && f !== F.BarAndLineFromFields && f !== F.BarAndLineNoAggregation && f !== F.PieNoAggregation && m === S.CategoryAxisFormat) {
5990
6005
  const { x: y } = l[0], g = {
5991
6006
  ...a,
5992
6007
  returnDistinctValues: !0,
5993
6008
  outFields: [y]
5994
6009
  };
5995
6010
  delete g.outStatistics, delete g.orderByFields, delete g.groupByFieldsForStatistics;
5996
- const S = (await Fe({
6011
+ const h = (await Fe({
5997
6012
  queryObject: r,
5998
6013
  queryConfig: g,
5999
6014
  featureCount: n,
6000
6015
  errorStrings: o,
6001
6016
  abortKey: u,
6002
6017
  abortSignal: c
6003
- })).map((x) => x.attributes[y]).filter((x) => x != null);
6004
- S.length > e.length && (d = ml(S, e, y));
6018
+ })).map((v) => v.attributes[y]).filter((v) => v != null);
6019
+ h.length > e.length && (d = ml(h, e, y));
6005
6020
  }
6006
6021
  return d;
6007
6022
  }
6008
6023
  function gl(t, e) {
6009
6024
  const i = t, { series: a } = e;
6010
- if (xe(e) === h.CategoryAxisFormat && a[0].query?.outStatistics?.[0].statisticType === D.Count) {
6025
+ if (xe(e) === S.CategoryAxisFormat && a[0].query?.outStatistics?.[0].statisticType === D.Count) {
6011
6026
  const r = a.reduce(
6012
6027
  (n, s) => {
6013
6028
  const o = s.query?.outStatistics?.[0].outStatisticFieldName ?? [s.y].flat()[0];
@@ -6187,31 +6202,31 @@ function xl(t) {
6187
6202
  let d, f;
6188
6203
  if (be(c) && (f = c.temporalBinning?.nullPolicy, d = c.temporalBinning?.timeAggregationType), u > 1 || o === R.Week || o === R.Month || o === R.Year) {
6189
6204
  const { query: m } = i[0], y = ue(i), { statisticType: g } = m?.outStatistics?.[0] ?? Xi;
6190
- let p = !1, S = d === ee.End ? e.length - 1 : 0;
6191
- const x = {
6192
- binFirstOrLastIndex: S,
6205
+ let p = !1, h = d === ee.End ? e.length - 1 : 0;
6206
+ const v = {
6207
+ binFirstOrLastIndex: h,
6193
6208
  data: e,
6194
6209
  x: l,
6195
6210
  timeIntervalInfo: a
6196
6211
  };
6197
6212
  for (; !p; ) {
6198
- let v = {};
6199
- const { binStartDate: b, binEndDate: B, last: N, nextBinFirstOrLastIndex: T, sliceStartIndex: w, sliceEndIndex: L } = d === ee.End ? (
6213
+ let B = {};
6214
+ const { binStartDate: b, binEndDate: C, last: N, nextBinFirstOrLastIndex: T, sliceStartIndex: w, sliceEndIndex: L } = d === ee.End ? (
6200
6215
  // When grouping from the end we'll start from the last date and move backward to create the bins
6201
- Fl(x)
6216
+ Fl(v)
6202
6217
  ) : (
6203
6218
  // When grouping from the start we'll start from the first date and move forward to create the bins
6204
- Sl(x)
6219
+ Sl(v)
6205
6220
  );
6206
- if (p = N, v = d === ee.End ? v = e[L - 1] : v = e[S], B > n && b < n || b < r && B > r || b >= r && B <= n) {
6207
- const A = e.slice(w, L).filter((O) => !(C.dateBinModel in O));
6221
+ if (p = N, B = d === ee.End ? B = e[L - 1] : B = e[h], C > n && b < n || b < r && C > r || b >= r && C <= n) {
6222
+ const A = e.slice(w, L).filter((O) => !(x.dateBinModel in O));
6208
6223
  y.forEach((O) => {
6209
- v[O] = bl({ binsToRegroup: A, statisticType: g, y: O, nullPolicy: f });
6224
+ B[O] = bl({ binsToRegroup: A, statisticType: g, y: O, nullPolicy: f });
6210
6225
  });
6211
6226
  const I = A.map((O) => O[Oe]).filter((O) => O !== void 0), P = On(I);
6212
- P !== void 0 && (v[Oe] = P), v[l] = b, v[C.xAxisField] = b, v[C.dateBinningRange] = [b, B], delete v[C.dateBinModel], s.push(v);
6213
- } else N && d !== ee.End && s.length > 0 && (s[s.length - 1][C.dateBinningRange][1] = s[s.length - 1][C.dateBinningRange][1] + 1);
6214
- S = T, x.binFirstOrLastIndex = T;
6227
+ P !== void 0 && (B[Oe] = P), B[l] = b, B[x.xAxisField] = b, B[x.dateBinningRange] = [b, C], delete B[x.dateBinModel], s.push(B);
6228
+ } else N && d !== ee.End && s.length > 0 && (s[s.length - 1][x.dateBinningRange][1] = s[s.length - 1][x.dateBinningRange][1] + 1);
6229
+ h = T, v.binFirstOrLastIndex = T;
6215
6230
  }
6216
6231
  d === ee.End && (s = s.reverse());
6217
6232
  } else u === 1 ? s = e.map((m, y) => {
@@ -6224,7 +6239,7 @@ function xl(t) {
6224
6239
  nextOrPrevious: "next"
6225
6240
  }), {
6226
6241
  ...m,
6227
- [C.dateBinningRange]: [g, p]
6242
+ [x.dateBinningRange]: [g, p]
6228
6243
  };
6229
6244
  }) : s = e;
6230
6245
  return s;
@@ -6262,7 +6277,7 @@ function sr(t) {
6262
6277
  const e = t[0].temporalBinning?.nullPolicy;
6263
6278
  return t.reduce(
6264
6279
  (a, r) => {
6265
- a[C.dateBinModel] = void 0;
6280
+ a[x.dateBinModel] = void 0;
6266
6281
  const n = r.query?.outStatistics?.[0].outStatisticFieldName ?? [r.y].flat()[0];
6267
6282
  return e !== Se.Interpolate && (a[n] = e === Se.Zero ? 0 : null), a;
6268
6283
  },
@@ -6285,7 +6300,7 @@ function Cl(t) {
6285
6300
  const g = sr(n);
6286
6301
  if (l === ee.End) {
6287
6302
  let p = r[0][c];
6288
- for (let S = 0; S < y; S += 1)
6303
+ for (let h = 0; h < y; h += 1)
6289
6304
  p = Ve({
6290
6305
  date: p,
6291
6306
  unit: u,
@@ -6294,12 +6309,12 @@ function Cl(t) {
6294
6309
  }), r.push({
6295
6310
  ...g,
6296
6311
  [c]: p,
6297
- [C.xAxisField]: p
6312
+ [x.xAxisField]: p
6298
6313
  });
6299
6314
  y > 0 && (d = r[r.length - 1][c]);
6300
6315
  } else {
6301
6316
  let p = r[r.length - 1][c];
6302
- for (let S = 0; S < y; S += 1)
6317
+ for (let h = 0; h < y; h += 1)
6303
6318
  p = Ve({
6304
6319
  date: p,
6305
6320
  unit: u,
@@ -6308,7 +6323,7 @@ function Cl(t) {
6308
6323
  }), r.push({
6309
6324
  ...g,
6310
6325
  [c]: p,
6311
- [C.xAxisField]: p
6326
+ [x.xAxisField]: p
6312
6327
  });
6313
6328
  f = r[r.length - 1][c];
6314
6329
  }
@@ -6372,7 +6387,7 @@ function Nl(t) {
6372
6387
  g !== r[p][d] ? c.push({
6373
6388
  ...m,
6374
6389
  [d]: g,
6375
- [C.xAxisField]: g
6390
+ [x.xAxisField]: g
6376
6391
  }) : p = f === ee.End ? p - 1 : p + 1, g = Ve({
6377
6392
  date: g,
6378
6393
  unit: u === R.Month || u === R.Year ? R.Day : u,
@@ -6385,16 +6400,16 @@ function Nl(t) {
6385
6400
  function Tl(t) {
6386
6401
  const { data: e, seriesConfig: i, dateMinTimestamp: a, dateMaxTimestamp: r } = t, n = e;
6387
6402
  if (i[0].temporalBinning?.trimIncompleteTimeInterval !== !1) {
6388
- const { timeAggregationType: s } = i[0].temporalBinning ?? {}, o = e[0]?.[C.dateBinningRange]?.[0], u = e[e.length - 1]?.[C.dateBinningRange]?.[1];
6403
+ const { timeAggregationType: s } = i[0].temporalBinning ?? {}, o = e[0]?.[x.dateBinningRange]?.[0], u = e[e.length - 1]?.[x.dateBinningRange]?.[1];
6389
6404
  if (s === ee.End ? o < a : u > r)
6390
6405
  if (s === ee.End) {
6391
6406
  let l = o;
6392
6407
  for (; l < a && e.length > 0; )
6393
- e.shift(), e.length > 0 && (l = e[0][C.dateBinningRange]?.[0]);
6408
+ e.shift(), e.length > 0 && (l = e[0][x.dateBinningRange]?.[0]);
6394
6409
  } else {
6395
6410
  let l = u;
6396
6411
  for (; l > r && e.length > 0; )
6397
- e.pop(), e.length > 0 && (l = e[e.length - 1][C.dateBinningRange]?.[1]);
6412
+ e.pop(), e.length > 0 && (l = e[e.length - 1][x.dateBinningRange]?.[1]);
6398
6413
  }
6399
6414
  }
6400
6415
  return n;
@@ -6426,11 +6441,11 @@ function* wl(t) {
6426
6441
  ];
6427
6442
  let y = Ue.groupByCaseBegin;
6428
6443
  for (let p = 0; p < r.length; p += 1) {
6429
- const S = r[p], [x, v] = S[C.dateBinningRange], b = nt(x), B = nt(v);
6444
+ const h = r[p], [v, B] = h[x.dateBinningRange], b = nt(v), C = nt(B);
6430
6445
  y = Al({
6431
6446
  groupByFieldsForStatistics: y,
6432
6447
  queryStartDate: b,
6433
- queryEndDate: B,
6448
+ queryEndDate: C,
6434
6449
  dateField: l,
6435
6450
  y: [d].flat()[0],
6436
6451
  binIndex: p,
@@ -6471,8 +6486,8 @@ async function Ll(t) {
6471
6486
  if (y !== void 0) {
6472
6487
  const [g, p] = y.split("|");
6473
6488
  if (p !== void 0) {
6474
- const S = m.attributes[D.ContinuousPercentile];
6475
- o[p][`${g}`] = S;
6489
+ const h = m.attributes[D.ContinuousPercentile];
6490
+ o[p][`${g}`] = h;
6476
6491
  }
6477
6492
  }
6478
6493
  });
@@ -6500,11 +6515,11 @@ function Gi(t) {
6500
6515
  }
6501
6516
  function Pl(t) {
6502
6517
  const { chartConfig: e, queryResults: i, mapToStatField: a, splitByField: r, x: n, y: s, nullPolicy: o, queryObject: u } = t, c = Ea(n), d = Ce(u).find((p) => p.name === n)?.type, f = [], m = e.series[0], y = "temporalBinning" in m ? m.temporalBinning?.trimIncompleteTimeInterval : !1, g = "temporalBinning" in m ? m.temporalBinning?.timeAggregationType : !1;
6503
- return i.forEach((p, S) => {
6504
- if (!(y && (S === 0 && g === ee.End || S === i.length - 1 && g === ee.Start))) {
6505
- const { attributes: v, stackedAttributes: b } = p;
6506
- let B = v[c.lowerBoundaryAlias], N = v[c.upperBoundaryAlias];
6507
- const T = B, w = N, L = (A, I) => {
6518
+ return i.forEach((p, h) => {
6519
+ if (!(y && (h === 0 && g === ee.End || h === i.length - 1 && g === ee.Start))) {
6520
+ const { attributes: B, stackedAttributes: b } = p;
6521
+ let C = B[c.lowerBoundaryAlias], N = B[c.upperBoundaryAlias];
6522
+ const T = C, w = N, L = (A, I) => {
6508
6523
  let P = A;
6509
6524
  if (I === U.DateOnly && (typeof A == "string" && A.length === 10 || typeof A == "number"))
6510
6525
  if (typeof A == "string") {
@@ -6517,9 +6532,9 @@ function Pl(t) {
6517
6532
  });
6518
6533
  return P;
6519
6534
  };
6520
- if (B = L(B, d), N = L(N, d), typeof B == "number" && typeof N == "number") {
6521
- const A = { ...v };
6522
- A[C.originalServerBinningRange] = [T, w], A[n] = B, A[C.xAxisField] = B, A[C.dateBinningRange] = [B, N], delete A[c.lowerBoundaryAlias], delete A[c.upperBoundaryAlias], b && r && !oe(r) && a ? b.forEach((O) => {
6535
+ if (C = L(C, d), N = L(N, d), typeof C == "number" && typeof N == "number") {
6536
+ const A = { ...B };
6537
+ A[x.originalServerBinningRange] = [T, w], A[n] = C, A[x.xAxisField] = C, A[x.dateBinningRange] = [C, N], delete A[c.lowerBoundaryAlias], delete A[c.upperBoundaryAlias], b && r && !oe(r) && a ? b.forEach((O) => {
6523
6538
  const V = O[r];
6524
6539
  if (V === null || typeof V == "string" || typeof V == "number") {
6525
6540
  const $ = a?.get(V);
@@ -6559,7 +6574,7 @@ async function Ml(t) {
6559
6574
  dateMinTimestamp: d,
6560
6575
  dateMaxTimestamp: f,
6561
6576
  timeIntervalInfo: o
6562
- }), { newDateMin: p, newDateMax: S } = Cl({
6577
+ }), { newDateMin: p, newDateMax: h } = Cl({
6563
6578
  dateMaxTimestamp: f,
6564
6579
  data: l,
6565
6580
  numberOfFinalBinsWithinDataRange: y,
@@ -6569,7 +6584,7 @@ async function Ml(t) {
6569
6584
  });
6570
6585
  l = Nl({
6571
6586
  newDateMin: p,
6572
- newDateMax: S,
6587
+ newDateMax: h,
6573
6588
  seriesConfig: n,
6574
6589
  data: l,
6575
6590
  initialNumberOfBins: m,
@@ -6609,10 +6624,10 @@ function Ol(t) {
6609
6624
  let a, r, { dateMinTimestamp: n, dateMaxTimestamp: s } = e;
6610
6625
  if (n && s) {
6611
6626
  typeof n == "string" && (n = new Date(n).valueOf()), typeof s == "string" && (s = new Date(s).valueOf());
6612
- const o = Dl(i), u = (s - n) / o, c = Wi.findIndex((S) => S.threshold > u), l = Wi[c], { unitMs: d, preferredIntervalSize: f } = l;
6627
+ const o = Dl(i), u = (s - n) / o, c = Wi.findIndex((h) => h.threshold > u), l = Wi[c], { unitMs: d, preferredIntervalSize: f } = l;
6613
6628
  ({ unit: a } = l);
6614
6629
  const m = u / d, y = f.findIndex(
6615
- (S) => S >= m
6630
+ (h) => h >= m
6616
6631
  ), g = f[y], p = y === 0 ? f[0] : f[y - 1];
6617
6632
  r = g - m < m - p ? g : p;
6618
6633
  }
@@ -6674,9 +6689,9 @@ async function Yt(t) {
6674
6689
  });
6675
6690
  return Array.from(
6676
6691
  new Set(
6677
- p.map((x) => x.attributes[c ? r : a])
6692
+ p.map((v) => v.attributes[c ? r : a])
6678
6693
  )
6679
- ).sort((x, v) => typeof x == "string" && typeof v == "string" ? x.localeCompare(v) : Number(x) - Number(v));
6694
+ ).sort((v, B) => typeof v == "string" && typeof B == "string" ? v.localeCompare(B) : Number(v) - Number(B));
6680
6695
  }
6681
6696
  function or(t) {
6682
6697
  const { feature: e, splitByField: i, chartSubType: a } = t;
@@ -6693,7 +6708,7 @@ function or(t) {
6693
6708
  }
6694
6709
  function ql(t) {
6695
6710
  const { input: e, x: i, splitByField: a } = t;
6696
- return e.reduce((n, s) => (a !== void 0 && a !== i && !(C.technicalFieldSplitByField in s) && delete s[a], Object.assign(n, s)), {});
6711
+ return e.reduce((n, s) => (a !== void 0 && a !== i && !(x.technicalFieldSplitByField in s) && delete s[a], Object.assign(n, s)), {});
6697
6712
  }
6698
6713
  function bt(t) {
6699
6714
  const { data: e, x: i, splitByField: a } = t;
@@ -6709,19 +6724,19 @@ function bt(t) {
6709
6724
  return r;
6710
6725
  }
6711
6726
  function Vl(t, e) {
6712
- const i = t, a = _(e);
6713
- if (a !== h.PieSeries && a !== h.BoxPlotSeries) {
6727
+ const i = t, a = j(e);
6728
+ if (a !== S.PieSeries && a !== S.BoxPlotSeries) {
6714
6729
  const r = ue(e), n = e[0].y;
6715
6730
  t.forEach((s) => {
6716
6731
  let o = 0;
6717
6732
  if (r.forEach((u) => {
6718
6733
  const c = s[u];
6719
6734
  Number.isFinite(c) && (o += c);
6720
- }), s[C.technicalSortingFieldBySum] = o, Number.isFinite(o) && o > 0) {
6735
+ }), s[x.technicalSortingFieldBySum] = o, Number.isFinite(o) && o > 0) {
6721
6736
  const u = s[n];
6722
6737
  if (Number.isFinite(u)) {
6723
6738
  const c = u / o;
6724
- s[C.technicalSortingFieldByPercent] = c;
6739
+ s[x.technicalSortingFieldByPercent] = c;
6725
6740
  }
6726
6741
  }
6727
6742
  });
@@ -6737,11 +6752,11 @@ function Rl(t, e) {
6737
6752
  }
6738
6753
  function $l(t, e) {
6739
6754
  const i = e.series[0], a = t;
6740
- if (i.type === h.HeatSeries) {
6755
+ if (i.type === S.HeatSeries) {
6741
6756
  const { x: r, y: n } = i;
6742
- a[Q.xField] = a[r]?.toString(), delete a[r], a[Q.yField] = a[n]?.toString(), delete a[n];
6757
+ a[_.xField] = a[r]?.toString(), delete a[r], a[_.yField] = a[n]?.toString(), delete a[n];
6743
6758
  const s = i.query?.outStatistics?.[0]?.outStatisticFieldName;
6744
- s && (a[Q.valueField] = a[s], delete a[s]);
6759
+ s && (a[_.valueField] = a[s], delete a[s]);
6745
6760
  }
6746
6761
  return a;
6747
6762
  }
@@ -6811,7 +6826,7 @@ function Hl(t, e) {
6811
6826
  }
6812
6827
  function zl(t) {
6813
6828
  const { attributes: e, showMean: i, chartSubType: a } = t;
6814
- i && (a === F.BoxPlotMonoFieldAndSplitBy || a === F.BoxPlotMultiFieldsAndSplitBy || a === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[C.boxPlot.boxPlotMeanLineMarkerId] = !0);
6829
+ i && (a === F.BoxPlotMonoFieldAndSplitBy || a === F.BoxPlotMultiFieldsAndSplitBy || a === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[x.boxPlot.boxPlotMeanLineMarkerId] = !0);
6815
6830
  }
6816
6831
  function Wl(t) {
6817
6832
  const { queryResponse: e, chartConfig: i, maxCategoryCount: a } = t, r = k(i.series);
@@ -6846,7 +6861,7 @@ function Ul(t) {
6846
6861
  yAxisValueFormat: d
6847
6862
  } = t;
6848
6863
  let f, m;
6849
- c !== F.PieFromFields && (s && (typeof i == "string" || typeof i == "number") && (f = ni(i, s)), o && u === h.HeatSeries && typeof n == "string" && (typeof a == "string" || typeof a == "number") && (m = ni(a, o)), f !== void 0 && f !== i && (typeof f != "string" || !ne(l)) && (e[C.originalCategoryValue] = e[r], e[r] = f, e[C.xAxisDisplayField] = f), typeof n == "string" && !ne(d) && m !== void 0 && m !== a && (e[C.originalYCategoryValue] = e[n], e[n] = m));
6864
+ c !== F.PieFromFields && (s && (typeof i == "string" || typeof i == "number") && (f = ni(i, s)), o && u === S.HeatSeries && typeof n == "string" && (typeof a == "string" || typeof a == "number") && (m = ni(a, o)), f !== void 0 && f !== i && (typeof f != "string" || !ne(l)) && (e[x.originalCategoryValue] = e[r], e[r] = f, e[x.xAxisDisplayField] = f), typeof n == "string" && !ne(d) && m !== void 0 && m !== a && (e[x.originalYCategoryValue] = e[n], e[n] = m));
6850
6865
  }
6851
6866
  function Yl(t) {
6852
6867
  let e;
@@ -6865,7 +6880,7 @@ function lr(t) {
6865
6880
  showMean: u,
6866
6881
  chartLimits: c,
6867
6882
  fieldList: l
6868
- } = t, { series: d } = a, f = k(d), m = _(d), { x: y } = d[0], g = "y" in d[0] ? d[0].y : void 0, p = d[0].query?.outStatistics ?? [], S = we(a?.axes?.[0]?.valueFormat), { originalYCategoryValue: x, originalCategoryValue: v, originalDateValue: b } = C, B = ri(e, y), N = typeof g == "string" ? ri(e, g) : void 0, w = ro(l ?? []).includes(y), L = [];
6883
+ } = t, { series: d } = a, f = k(d), m = j(d), { x: y } = d[0], g = "y" in d[0] ? d[0].y : void 0, p = d[0].query?.outStatistics ?? [], h = we(a?.axes?.[0]?.valueFormat), { originalYCategoryValue: v, originalCategoryValue: B, originalDateValue: b } = x, C = ri(e, y), N = typeof g == "string" ? ri(e, g) : void 0, w = ro(l ?? []).includes(y), L = [];
6869
6884
  let A = 0;
6870
6885
  const I = /* @__PURE__ */ new Set(), { maxCategoryCount: P } = ut(c), O = Wl({ queryResponse: i, chartConfig: a, maxCategoryCount: P });
6871
6886
  for (let V = 0; O[V] && V < O.length && !(o !== void 0 && A >= o); V += 1) {
@@ -6886,25 +6901,25 @@ function lr(t) {
6886
6901
  zl({ attributes: M, showMean: u, chartSubType: f });
6887
6902
  let q = M[y];
6888
6903
  const G = typeof g == "string" ? M[g] : void 0;
6889
- q === null && d[0]?.query?.fetchNullValues === !0 && f !== F.PieFromFields && (M[v] = null, q = C.nullValue), S || (w && typeof q == "string" ? q = new Date(q).valueOf() : s && (q = El(M))), typeof q == "string" && l?.find((ae) => ae.name === y)?.type === U.TimeOnly && (M[v] = q, q = Yl(q));
6904
+ q === null && d[0]?.query?.fetchNullValues === !0 && f !== F.PieFromFields && (M[B] = null, q = x.nullValue), h || (w && typeof q == "string" ? q = new Date(q).valueOf() : s && (q = El(M))), typeof q == "string" && l?.find((ae) => ae.name === y)?.type === U.TimeOnly && (M[B] = q, q = Yl(q));
6890
6905
  const { outStatisticFieldName: J } = W.outStatistics ?? {}, { featureExtent: X, featureExtentKey: H } = or({ feature: $, splitByField: n, chartSubType: f });
6891
6906
  if (X && (M[H] = X), f === F.BarAndLineSplitBy && J !== void 0) {
6892
6907
  const ae = M[n], pe = r?.get(ae);
6893
- pe !== void 0 && (ae === n && (M[C.technicalFieldSplitByField] = M[pe]), M[pe] = M[J]), delete M[J];
6894
- } else (f === F.PieNoAggregation || f === F.BarAndLineNoAggregation || f === F.BarAndLineSplitByNoAggregation) && (w ? M[b] = q : q !== C.nullValue && (M[v] = q), cn({ isXAxis: !0, chartType: m, valueFormat: a.axes?.[0]?.valueFormat }) && (M[C.xAxisField] = `${q}-${V}`, M[C.xAxisDisplayField] = q), M[W.uniqueIdsName] = $.getObjectId());
6895
- m === h.BoxPlotSeries && (M = Rl(d, M)), m === h.PieSeries && typeof q == "number" && (M[v] === void 0 && (M[v] = M[y]), q = `${q}`), q !== void 0 && (M[v] === void 0 && (M[v] = M[y]), M[y] === null ? M[y] = m === h.HeatSeries ? "null" : C.nullValue : M[y] = q, Ul({
6908
+ pe !== void 0 && (ae === n && (M[x.technicalFieldSplitByField] = M[pe]), M[pe] = M[J]), delete M[J];
6909
+ } else (f === F.PieNoAggregation || f === F.BarAndLineNoAggregation || f === F.BarAndLineSplitByNoAggregation) && (w ? M[b] = q : q !== x.nullValue && (M[B] = q), cn({ isXAxis: !0, chartType: m, valueFormat: a.axes?.[0]?.valueFormat }) && (M[x.xAxisField] = `${q}-${V}`, M[x.xAxisDisplayField] = q), M[W.uniqueIdsName] = $.getObjectId());
6910
+ m === S.BoxPlotSeries && (M = Rl(d, M)), m === S.PieSeries && typeof q == "number" && (M[B] === void 0 && (M[B] = M[y]), q = `${q}`), q !== void 0 && (M[B] === void 0 && (M[B] = M[y]), M[y] === null ? M[y] = m === S.HeatSeries ? "null" : x.nullValue : M[y] = q, Ul({
6896
6911
  attributes: M,
6897
6912
  xValue: q,
6898
6913
  yValue: G,
6899
6914
  x: y,
6900
6915
  y: g,
6901
- xFieldDomain: B,
6916
+ xFieldDomain: C,
6902
6917
  yFieldDomain: N,
6903
6918
  chartType: m,
6904
6919
  chartSubType: f,
6905
6920
  xAxisValueFormat: a.axes?.[0].valueFormat,
6906
6921
  yAxisValueFormat: a.axes?.[1]?.valueFormat
6907
- }), m === h.HeatSeries && typeof g == "string" && M[g] === null && (M[g] = "null", M[x] = null), M[C.xAxisField] === void 0 && (M[C.xAxisField] = M[y])), M = $l(M, a), L.push(M);
6922
+ }), m === S.HeatSeries && typeof g == "string" && M[g] === null && (M[g] = "null", M[v] = null), M[x.xAxisField] === void 0 && (M[x.xAxisField] = M[y])), M = $l(M, a), L.push(M);
6908
6923
  }
6909
6924
  return L;
6910
6925
  }
@@ -6925,26 +6940,26 @@ async function jt(t) {
6925
6940
  errorStrings: m
6926
6941
  } = t, { series: y } = a, g = k(y);
6927
6942
  let p = [];
6928
- const S = g === F.BarAndLineSplitBy || g === F.BarAndLineSplitByNoAggregation ? te(y[0].query?.where) : "", x = f ?? await Fe({
6943
+ const h = g === F.BarAndLineSplitBy || g === F.BarAndLineSplitByNoAggregation ? te(y[0].query?.where) : "", v = f ?? await Fe({
6929
6944
  queryObject: e,
6930
6945
  queryConfig: i,
6931
6946
  featureCount: o,
6932
6947
  abortKey: n,
6933
6948
  errorStrings: m,
6934
6949
  abortSignal: s
6935
- }), v = Ce(e, d), { x: b } = y[0];
6950
+ }), B = Ce(e, d), { x: b } = y[0];
6936
6951
  return p = lr({
6937
6952
  queryObject: e,
6938
- queryResponse: x,
6953
+ queryResponse: v,
6939
6954
  chartConfig: a,
6940
6955
  mapToStatField: r,
6941
- splitByField: S,
6956
+ splitByField: h,
6942
6957
  isTimeBinningSeries: u,
6943
- fieldList: v,
6958
+ fieldList: B,
6944
6959
  resultLimit: i.num,
6945
6960
  showMean: c,
6946
6961
  chartLimits: l
6947
- }), g !== F.BarAndLineSplitByNoAggregation && g !== F.BarAndLineFromFields && (S !== "" && (p = bt({ data: p, x: b, splitByField: S })), p = Vl(
6962
+ }), g !== F.BarAndLineSplitByNoAggregation && g !== F.BarAndLineFromFields && (h !== "" && (p = bt({ data: p, x: b, splitByField: h })), p = Vl(
6948
6963
  p,
6949
6964
  y
6950
6965
  )), p;
@@ -6991,16 +7006,16 @@ async function oi(t) {
6991
7006
  chartLimits: f,
6992
7007
  popupTemplateFieldInfosEnabled: m,
6993
7008
  hideZeroCountCategories: y
6994
- } = t, g = st(e), p = t.replaceNoValueCategoryWithZero ?? C.options.replaceNoValueCategoryWithZero, S = !(y ?? !p), { behaviorAfterLimit: x } = f ?? {};
6995
- let v;
7009
+ } = t, g = st(e), p = t.replaceNoValueCategoryWithZero ?? x.options.replaceNoValueCategoryWithZero, h = !(y ?? !p), { behaviorAfterLimit: v } = f ?? {};
7010
+ let B;
6996
7011
  const b = { valid: !0 };
6997
- let B, N = !1;
7012
+ let C, N = !1;
6998
7013
  const T = e.series, w = T[0], L = k(e.series);
6999
7014
  if (ie(r))
7000
- v = _(T) === h.BarSeries ? await zs(t) : b;
7015
+ B = j(T) === S.BarSeries ? await zs(t) : b;
7001
7016
  else {
7002
7017
  if (w !== void 0) {
7003
- const A = _(T), { uniqueQuery: I, mapToStatField: P } = yi({
7018
+ const A = j(T), { uniqueQuery: I, mapToStatField: P } = yi({
7004
7019
  chartConfig: e,
7005
7020
  queryObject: r,
7006
7021
  queryConfig: i,
@@ -7013,7 +7028,7 @@ async function oi(t) {
7013
7028
  chartConfig: e,
7014
7029
  queryObject: r,
7015
7030
  queryConfig: i,
7016
- behaviorAfterLimit: x,
7031
+ behaviorAfterLimit: v,
7017
7032
  numberMaxOfFeaturesToFetch: I.num,
7018
7033
  abortSignal: c
7019
7034
  });
@@ -7024,7 +7039,7 @@ async function oi(t) {
7024
7039
  chartType: A,
7025
7040
  chartLimits: f
7026
7041
  });
7027
- if (M && (B = await jt({
7042
+ if (M && (C = await jt({
7028
7043
  queryObject: r,
7029
7044
  uniqueQuery: I,
7030
7045
  chartConfig: e,
@@ -7038,8 +7053,8 @@ async function oi(t) {
7038
7053
  errorStrings: u,
7039
7054
  abortKey: n,
7040
7055
  abortSignal: c
7041
- }), de(e) && B !== void 0 && (b.data = await Zo({
7042
- data: B,
7056
+ }), de(e) && C !== void 0 && (b.data = await Zo({
7057
+ data: C,
7043
7058
  queryObject: r,
7044
7059
  fetchFullBoxPlotData: a,
7045
7060
  uniqueQuery: I,
@@ -7049,49 +7064,49 @@ async function oi(t) {
7049
7064
  errorStrings: u,
7050
7065
  abortKey: n,
7051
7066
  abortSignal: c
7052
- }), f?.maxBoxPlotOutlierLimit !== void 0 && (M = (b.data.outliers ?? []).length <= f.maxBoxPlotOutlierLimit, N = !M)), $ && (O = B.length, V = ii(L) ? O * T.length : O, M = Ae({
7067
+ }), f?.maxBoxPlotOutlierLimit !== void 0 && (M = (b.data.outliers ?? []).length <= f.maxBoxPlotOutlierLimit, N = !M)), $ && (O = C.length, V = ii(L) ? O * T.length : O, M = Ae({
7053
7068
  count: V,
7054
7069
  seriesCount: T.length,
7055
7070
  chartType: A,
7056
7071
  chartLimits: f
7057
7072
  })), M)) {
7058
- if (A === h.PieSeries) {
7059
- L === F.PieFromFields && (B = Dt({
7060
- dataToConvert: B[0],
7073
+ if (A === S.PieSeries) {
7074
+ L === F.PieFromFields && (C = Dt({
7075
+ dataToConvert: C[0],
7061
7076
  x: ce,
7062
7077
  y: Ne,
7063
7078
  fieldList: s
7064
7079
  }));
7065
7080
  let q = "";
7066
- L === F.PieFromFields ? q = Ne : "y" in w && typeof w.y == "string" && (q = w.y), Vn(B, q) ? b.data = { dataItems: B } : Vo(b, j.PieChartMixOfNegativePositiveSlices);
7067
- } else if ((A === h.RadarSeries || A === h.BarSeries || A === h.LineSeries || A === h.ComboLineAndBarSeries) && (L === F.BarAndLineFromFields && "y" in w && typeof w.y == "string" ? B = Dt({
7068
- dataToConvert: B[0],
7081
+ L === F.PieFromFields ? q = Ne : "y" in w && typeof w.y == "string" && (q = w.y), Vn(C, q) ? b.data = { dataItems: C } : Vo(b, Q.PieChartMixOfNegativePositiveSlices);
7082
+ } else if ((A === S.RadarSeries || A === S.BarSeries || A === S.LineSeries || A === S.ComboLineAndBarSeries) && (L === F.BarAndLineFromFields && "y" in w && typeof w.y == "string" ? C = Dt({
7083
+ dataToConvert: C[0],
7069
7084
  x: w.x,
7070
7085
  y: w.y,
7071
7086
  fieldList: s
7072
- }) : B = await yl({
7087
+ }) : C = await yl({
7073
7088
  queryObject: r,
7074
- seriesData: B,
7089
+ seriesData: C,
7075
7090
  chartConfig: e,
7076
7091
  queryConfig: i,
7077
7092
  categoryOrDateCount: O,
7078
- behaviorAfterLimit: x,
7093
+ behaviorAfterLimit: v,
7079
7094
  errorStrings: u,
7080
7095
  abortKey: n,
7081
7096
  abortSignal: c
7082
- }), V = ii(L) ? B.length * T.length : B.length, M = Ae({
7097
+ }), V = ii(L) ? C.length * T.length : C.length, M = Ae({
7083
7098
  count: V,
7084
7099
  seriesCount: T.length,
7085
7100
  chartType: A,
7086
7101
  chartLimits: f
7087
7102
  }), M)) {
7088
- S && (B = gl(B, e));
7103
+ h && (C = gl(C, e));
7089
7104
  let q = {};
7090
7105
  if (be(w)) {
7091
7106
  const { size: G, unit: J } = w.temporalBinning ?? {};
7092
7107
  G !== void 0 && J !== void 0 && (q = { size: G, unit: J });
7093
7108
  }
7094
- b.data = { dataItems: B, timeIntervalInfo: q };
7109
+ b.data = { dataItems: C, timeIntervalInfo: q };
7095
7110
  }
7096
7111
  }
7097
7112
  M || It({
@@ -7100,9 +7115,9 @@ async function oi(t) {
7100
7115
  subError: { outlierLimit: N }
7101
7116
  }), b.count = V;
7102
7117
  }
7103
- v = b;
7118
+ B = b;
7104
7119
  }
7105
- return v;
7120
+ return B;
7106
7121
  }
7107
7122
  function Zl(t) {
7108
7123
  let e;
@@ -7120,18 +7135,18 @@ function Jl(t) {
7120
7135
  const { dataItems: e, valueField: i, filterOutZero: a } = t, r = [null];
7121
7136
  a && r.push(0);
7122
7137
  const n = new Set(
7123
- e.filter((o) => !r.includes(o[i])).map((o) => o[Q.xField])
7138
+ e.filter((o) => !r.includes(o[i])).map((o) => o[_.xField])
7124
7139
  ), s = new Set(
7125
- e.filter((o) => !r.includes(o[i])).map((o) => o[Q.yField])
7140
+ e.filter((o) => !r.includes(o[i])).map((o) => o[_.yField])
7126
7141
  );
7127
7142
  return e.filter(
7128
- (o) => n.has(o[Q.xField]) && s.has(o[Q.yField])
7143
+ (o) => n.has(o[_.xField]) && s.has(o[_.yField])
7129
7144
  );
7130
7145
  }
7131
7146
  function Kl(t) {
7132
7147
  const { dataItems: e, xUniqueValues: i, yUniqueValues: a, valueField: r, emptyCellValue: n, x: s, y: o, queryObject: u } = t, c = [], l = /* @__PURE__ */ new Set();
7133
7148
  for (const d of e) {
7134
- const f = d[C.originalCategoryValue] !== void 0 ? d[C.originalCategoryValue] : d[Q.xField], m = d[C.originalYCategoryValue] !== void 0 ? d[C.originalYCategoryValue] : d[Q.yField];
7149
+ const f = d[x.originalCategoryValue] !== void 0 ? d[x.originalCategoryValue] : d[_.xField], m = d[x.originalYCategoryValue] !== void 0 ? d[x.originalYCategoryValue] : d[_.yField];
7135
7150
  l.add(`${f}|${m}`);
7136
7151
  }
7137
7152
  for (const d of i) {
@@ -7149,10 +7164,10 @@ function Kl(t) {
7149
7164
  fieldValue: y
7150
7165
  }) ?? m : m;
7151
7166
  c.push({
7152
- [C.originalCategoryValue]: d === null ? null : d,
7153
- [C.originalYCategoryValue]: m === null ? null : m,
7154
- [Q.xField]: d === null ? "null" : g,
7155
- [Q.yField]: m === null ? "null" : p,
7167
+ [x.originalCategoryValue]: d === null ? null : d,
7168
+ [x.originalYCategoryValue]: m === null ? null : m,
7169
+ [_.xField]: d === null ? "null" : g,
7170
+ [_.yField]: m === null ? "null" : p,
7156
7171
  [r]: n
7157
7172
  });
7158
7173
  }
@@ -7181,7 +7196,7 @@ async function cr(t) {
7181
7196
  } = t, m = { valid: !0 };
7182
7197
  let y;
7183
7198
  if (We(e)) {
7184
- const { nullPolicy: g } = e, p = e.series[0], { x: S, y: x, query: v, xTemporalBinning: b, yTemporalBinning: B } = p, N = v?.outStatistics?.[0]?.outStatisticFieldName ?? "", T = v?.outStatistics?.[0]?.statisticType ?? D.Count, w = Xl(e), L = Q.valueField, A = g === Se.Zero ? 0 : null;
7199
+ const { nullPolicy: g } = e, p = e.series[0], { x: h, y: v, query: B, xTemporalBinning: b, yTemporalBinning: C } = p, N = B?.outStatistics?.[0]?.outStatisticFieldName ?? "", T = B?.outStatistics?.[0]?.statisticType ?? D.Count, w = Xl(e), L = _.valueField, A = g === Se.Zero ? 0 : null;
7185
7200
  if (Io(e)) {
7186
7201
  const I = await Ns({
7187
7202
  chartConfig: e,
@@ -7195,10 +7210,10 @@ async function cr(t) {
7195
7210
  if (!Ae({
7196
7211
  count: I?.length ?? 0,
7197
7212
  seriesCount: 1,
7198
- chartType: h.HeatSeries,
7213
+ chartType: S.HeatSeries,
7199
7214
  chartLimits: o
7200
7215
  }))
7201
- It({ dataInfo: m, chartType: h.HeatSeries });
7216
+ It({ dataInfo: m, chartType: S.HeatSeries });
7202
7217
  else if (typeof I?.[0] == "object") {
7203
7218
  const P = Ce(a, u);
7204
7219
  y = lr({
@@ -7214,14 +7229,14 @@ async function cr(t) {
7214
7229
  const O = await Yt({
7215
7230
  queryObject: a,
7216
7231
  queryConfig: i,
7217
- category: S,
7232
+ category: h,
7218
7233
  errorStrings: n,
7219
7234
  abortKey: d,
7220
7235
  abortSignal: f
7221
7236
  }), V = await Yt({
7222
7237
  queryObject: a,
7223
7238
  queryConfig: i,
7224
- category: x,
7239
+ category: v,
7225
7240
  errorStrings: n,
7226
7241
  abortKey: d,
7227
7242
  abortSignal: f
@@ -7234,8 +7249,8 @@ async function cr(t) {
7234
7249
  yUniqueValues: V,
7235
7250
  valueField: L,
7236
7251
  emptyCellValue: A,
7237
- x: S,
7238
- y: x,
7252
+ x: h,
7253
+ y: v,
7239
7254
  queryObject: a
7240
7255
  })
7241
7256
  ], w && (y = Jl({
@@ -7253,31 +7268,31 @@ async function cr(t) {
7253
7268
  syncViewTimeZone: l,
7254
7269
  errorStrings: n,
7255
7270
  abortSignal: f
7256
- }), P = B ? Zl(B.unit) : await Yt({ queryObject: a, queryConfig: i, category: x, errorStrings: n, abortKey: d, abortSignal: f });
7271
+ }), P = C ? Zl(C.unit) : await Yt({ queryObject: a, queryConfig: i, category: v, errorStrings: n, abortKey: d, abortSignal: f });
7257
7272
  let O = 0;
7258
7273
  y = I?.features.flatMap((V) => {
7259
7274
  const $ = [], { attributes: M, stackedAttributes: q } = V, G = [];
7260
7275
  if (q?.forEach((J) => {
7261
- const X = `${J[x]}`;
7276
+ const X = `${J[v]}`;
7262
7277
  G.push(X), $.push({
7263
- [Q.xField]: `${M[W.heatChartLowerBoundaryAlias]}`,
7264
- [Q.yField]: X,
7278
+ [_.xField]: `${M[W.heatChartLowerBoundaryAlias]}`,
7279
+ [_.yField]: X,
7265
7280
  [L]: J[N]
7266
7281
  });
7267
7282
  }), r && P && G.length !== P?.length) {
7268
7283
  const J = P.filter((X) => !G.includes(X.toString()));
7269
7284
  w && (J.length !== P.length || G.length === 0) || J.forEach((X) => {
7270
- Number.isFinite(Number(M[W.heatChartLowerBoundaryAlias])) && Number.isFinite(Number(X)) && (b?.unit === he.DayOfMonth && B?.unit === he.MonthOfYear && Ui({
7285
+ Number.isFinite(Number(M[W.heatChartLowerBoundaryAlias])) && Number.isFinite(Number(X)) && (b?.unit === he.DayOfMonth && C?.unit === he.MonthOfYear && Ui({
7271
7286
  day: Number(M[W.heatChartLowerBoundaryAlias]),
7272
7287
  month: Number(X),
7273
7288
  includeLeapDay: e.includeLeapDay
7274
- }) || B?.unit === he.DayOfMonth && b?.unit === he.MonthOfYear && Ui({
7289
+ }) || C?.unit === he.DayOfMonth && b?.unit === he.MonthOfYear && Ui({
7275
7290
  day: Number(X),
7276
7291
  month: Number(M[W.heatChartLowerBoundaryAlias]),
7277
7292
  includeLeapDay: e.includeLeapDay
7278
7293
  })) || $.push({
7279
- [Q.xField]: `${M[W.heatChartLowerBoundaryAlias]}`,
7280
- [Q.yField]: X,
7294
+ [_.xField]: `${M[W.heatChartLowerBoundaryAlias]}`,
7295
+ [_.yField]: X,
7281
7296
  [L]: g === Se.Zero ? 0 : null
7282
7297
  });
7283
7298
  });
@@ -7286,9 +7301,9 @@ async function cr(t) {
7286
7301
  }), Ae({
7287
7302
  count: O,
7288
7303
  seriesCount: 1,
7289
- chartType: h.HeatSeries,
7304
+ chartType: S.HeatSeries,
7290
7305
  chartLimits: o
7291
- }) || It({ dataInfo: m, chartType: h.HeatSeries });
7306
+ }) || It({ dataInfo: m, chartType: S.HeatSeries });
7292
7307
  }
7293
7308
  y && (m.data = {
7294
7309
  dataItems: y,
@@ -7339,23 +7354,23 @@ async function xi(t) {
7339
7354
  popupTemplateFieldInfosEnabled: d,
7340
7355
  view: f,
7341
7356
  syncViewTimeZone: m
7342
- } = t, { behaviorAfterLimit: y } = l ?? {}, g = e.series, p = g[0], { x: S } = p, x = te(p.query?.where), v = { valid: !0 };
7357
+ } = t, { behaviorAfterLimit: y } = l ?? {}, g = e.series, p = g[0], { x: h } = p, v = te(p.query?.where), B = { valid: !0 };
7343
7358
  let b;
7344
7359
  if (be(p)) {
7345
- const { temporalBinning: B } = p;
7346
- if (a && B) {
7347
- const { unit: N, size: T } = B;
7360
+ const { temporalBinning: C } = p;
7361
+ if (a && C) {
7362
+ const { unit: N, size: T } = C;
7348
7363
  let w = 1, L = { unit: N, size: T }, A = !1;
7349
7364
  const I = Il({
7350
7365
  series: p,
7351
7366
  isTimeBinningSeries: !0,
7352
7367
  setTimeBinningInfoWhenNotProvided: u
7353
- }), P = !rt(x, a) || I ? await Bl({ queryObject: a, queryConfig: i, x: S, errorStrings: o, abortSignal: n }) : void 0;
7354
- I && P && P.numberOfFeatures > 0 && P.dateRange.dateMaxTimestamp !== void 0 && P.dateRange.dateMinTimestamp !== void 0 && (L = Ol(P), Ce(a).find((G) => G.name === S)?.type === U.DateOnly && L.unit !== void 0 && [
7368
+ }), P = !rt(v, a) || I ? await Bl({ queryObject: a, queryConfig: i, x: h, errorStrings: o, abortSignal: n }) : void 0;
7369
+ I && P && P.numberOfFeatures > 0 && P.dateRange.dateMaxTimestamp !== void 0 && P.dateRange.dateMinTimestamp !== void 0 && (L = Ol(P), Ce(a).find((G) => G.name === h)?.type === U.DateOnly && L.unit !== void 0 && [
7355
7370
  R.Hour,
7356
7371
  R.Minute,
7357
7372
  R.Second
7358
- ].includes(L.unit) && (L.unit = R.Day, L.size = 1), B.size = L.size, B.unit = L.unit);
7373
+ ].includes(L.unit) && (L.unit = R.Day, L.size = 1), C.size = L.size, C.unit = L.unit);
7359
7374
  const { uniqueQuery: O, mapToStatField: V } = yi({
7360
7375
  chartConfig: e,
7361
7376
  queryConfig: i,
@@ -7368,18 +7383,18 @@ async function xi(t) {
7368
7383
  let $ = Ae({
7369
7384
  count: w ?? 0,
7370
7385
  seriesCount: g.length,
7371
- chartType: h.LineSeries,
7386
+ chartType: S.LineSeries,
7372
7387
  chartLimits: l
7373
7388
  });
7374
7389
  if ($) {
7375
- if (rt(x, a)) {
7376
- const M = e.axes?.[0].valueFormat.type === h.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0, q = s?.[0] instanceof Er ? s : await Ps({
7390
+ if (rt(v, a)) {
7391
+ const M = e.axes?.[0].valueFormat.type === S.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0, q = s?.[0] instanceof Er ? s : await Ps({
7377
7392
  queryObject: a,
7378
- dateField: S,
7379
- splitByField: x,
7393
+ dateField: h,
7394
+ splitByField: v,
7380
7395
  queryConfig: O,
7381
7396
  axisTimeZone: M,
7382
- temporalBinning: B,
7397
+ temporalBinning: C,
7383
7398
  errorStrings: o,
7384
7399
  view: f,
7385
7400
  syncViewTimeZone: m,
@@ -7389,15 +7404,15 @@ async function xi(t) {
7389
7404
  chartConfig: e,
7390
7405
  queryResults: q,
7391
7406
  mapToStatField: V,
7392
- splitByField: x,
7393
- x: S,
7407
+ splitByField: v,
7408
+ x: h,
7394
7409
  y: G,
7395
- nullPolicy: B.nullPolicy,
7410
+ nullPolicy: C.nullPolicy,
7396
7411
  queryObject: a
7397
7412
  }), !Ae({
7398
7413
  count: b.length,
7399
7414
  seriesCount: g.length,
7400
- chartType: h.LineSeries,
7415
+ chartType: S.LineSeries,
7401
7416
  chartLimits: l
7402
7417
  })) {
7403
7418
  const J = ue(g), X = b.filter(
@@ -7406,7 +7421,7 @@ async function xi(t) {
7406
7421
  Ae({
7407
7422
  count: X,
7408
7423
  seriesCount: g.length,
7409
- chartType: h.LineSeries,
7424
+ chartType: S.LineSeries,
7410
7425
  chartLimits: l
7411
7426
  }) || ($ = !1);
7412
7427
  }
@@ -7432,7 +7447,7 @@ async function xi(t) {
7432
7447
  queryObject: a,
7433
7448
  queryConfig: i,
7434
7449
  queryResults: b,
7435
- x: S,
7450
+ x: h,
7436
7451
  seriesConfig: g,
7437
7452
  dateRange: P.dateRange,
7438
7453
  timeIntervalInfo: L,
@@ -7442,10 +7457,10 @@ async function xi(t) {
7442
7457
  }
7443
7458
  fa(a) && b && b?.length === pl && (A = !0), y === lt.RenderUpToTheLimit && b && (b = eu({ chartConfig: e, chartLimits: l, data: b }));
7444
7459
  }
7445
- $ || (v.valid = !1, v.invalidType = j.LineChartExceedsLimit), b && b.length > 0 && (b[b.length - 1][C.lastTemporalBin] = !0), v.data = { dataItems: b, timeIntervalInfo: L, serverLimitReached: A }, v.count = w;
7460
+ $ || (B.valid = !1, B.invalidType = Q.LineChartExceedsLimit), b && b.length > 0 && (b[b.length - 1][x.lastTemporalBin] = !0), B.data = { dataItems: b, timeIntervalInfo: L, serverLimitReached: A }, B.count = w;
7446
7461
  }
7447
7462
  }
7448
- return v;
7463
+ return B;
7449
7464
  }
7450
7465
  async function tu(t) {
7451
7466
  const {
@@ -7525,7 +7540,7 @@ async function iu(t) {
7525
7540
  }
7526
7541
  const au = "{ groupByFieldsForStatistics } WHEN ({ y } { yMinOperand } { yValue } AND { y } { yMaxOperand } { yValuePlusStep } AND { x } { xMinOperand } { xValue } AND { x } { xMaxOperand } { xValuePlusStep }) THEN '{ xValue }|{ xValuePlusStep}|{ yValue }|{ yValuePlusStep }'";
7527
7542
  async function ru(t) {
7528
- const { chartConfig: e, queryObject: i, queryConfig: a, errorStrings: r, abortKey: n, abortSignal: s } = t, o = e.series[0], { x: u, y: c } = o, { dataContextCountDistinctX: l, dataContextCountDistinctY: d } = C.scatterplotAggregationFields, f = {
7543
+ const { chartConfig: e, queryObject: i, queryConfig: a, errorStrings: r, abortKey: n, abortSignal: s } = t, o = e.series[0], { x: u, y: c } = o, { dataContextCountDistinctX: l, dataContextCountDistinctY: d } = x.scatterplotAggregationFields, f = {
7529
7544
  ...a,
7530
7545
  outStatistics: [
7531
7546
  {
@@ -7558,10 +7573,10 @@ async function nu(t) {
7558
7573
  dataContextYMaxField: f,
7559
7574
  dataContextCountDistinctX: m,
7560
7575
  dataContextCountDistinctY: y
7561
- } = C.scatterplotAggregationFields;
7562
- let g, p, S, x, v;
7563
- const b = e.get(c), B = e.get(l), N = e.get(d), T = e.get(f);
7564
- if (b != null && N !== void 0 && N !== null && B !== void 0 && B !== null && T !== void 0 && T !== null && !Number.isNaN(b + B + N + T)) {
7576
+ } = x.scatterplotAggregationFields;
7577
+ let g, p, h, v, B;
7578
+ const b = e.get(c), C = e.get(l), N = e.get(d), T = e.get(f);
7579
+ if (b != null && N !== void 0 && N !== null && C !== void 0 && C !== null && T !== void 0 && T !== null && !Number.isNaN(b + C + N + T)) {
7565
7580
  const { maxScatterPointsAfterAggregation: w } = ut(r), A = Math.floor(Math.sqrt(w)), I = await ru({
7566
7581
  queryObject: a,
7567
7582
  chartConfig: i,
@@ -7570,7 +7585,7 @@ async function nu(t) {
7570
7585
  abortKey: o,
7571
7586
  abortSignal: u
7572
7587
  });
7573
- S = Math.min(I.get(y) ?? Number.NaN, A), x = Math.min(I.get(m) ?? Number.NaN, A), v = x * S, g = B === b ? 0 : (B - b) / (x - 1), p = T === N ? 0 : (T - N) / (S - 1), e.set(C.scatterplotAggregationFields.xStep, g), e.set(C.scatterplotAggregationFields.yStep, p), e.set(C.scatterplotAggregationFields.rowCount, S), e.set(C.scatterplotAggregationFields.columnCount, x), e.set(C.scatterplotAggregationFields.realGridSize, v);
7588
+ h = Math.min(I.get(y) ?? Number.NaN, A), v = Math.min(I.get(m) ?? Number.NaN, A), B = v * h, g = C === b ? 0 : (C - b) / (v - 1), p = T === N ? 0 : (T - N) / (h - 1), e.set(x.scatterplotAggregationFields.xStep, g), e.set(x.scatterplotAggregationFields.yStep, p), e.set(x.scatterplotAggregationFields.rowCount, h), e.set(x.scatterplotAggregationFields.columnCount, v), e.set(x.scatterplotAggregationFields.realGridSize, B);
7574
7589
  }
7575
7590
  }
7576
7591
  function su(t) {
@@ -7623,12 +7638,12 @@ async function lu(t) {
7623
7638
  dataContextYMinField: y,
7624
7639
  dataContextYMaxField: g,
7625
7640
  queryNumberOfFeatures: p,
7626
- queryNumberOfAggregatedFeatures: S
7627
- } = C.scatterplotAggregationFields;
7628
- let x;
7629
- const v = e?.get(f) ?? Number.NaN, b = e?.get(m) ?? Number.NaN, B = e?.get(p) ?? Number.NaN, N = e?.get(y) ?? v, T = e?.get(g) ?? b;
7630
- if (v != null && N !== void 0 && N !== null && b !== void 0 && b !== null && T !== void 0 && T !== null && !Number.isNaN(v + b + N + T)) {
7631
- const w = z(a), { idField: L, isTraditionalTypeOID: A } = ve(w), I = A ? L : "*", P = e?.get(C.scatterplotAggregationFields.xStep), O = e?.get(C.scatterplotAggregationFields.yStep), V = e?.get(C.scatterplotAggregationFields.realGridSize), $ = e?.get(C.scatterplotAggregationFields.rowCount), M = e?.get(C.scatterplotAggregationFields.columnCount), q = /* @__PURE__ */ new Map(), G = Ce(a);
7641
+ queryNumberOfAggregatedFeatures: h
7642
+ } = x.scatterplotAggregationFields;
7643
+ let v;
7644
+ const B = e?.get(f) ?? Number.NaN, b = e?.get(m) ?? Number.NaN, C = e?.get(p) ?? Number.NaN, N = e?.get(y) ?? B, T = e?.get(g) ?? b;
7645
+ if (B != null && N !== void 0 && N !== null && b !== void 0 && b !== null && T !== void 0 && T !== null && !Number.isNaN(B + b + N + T)) {
7646
+ const w = z(a), { idField: L, isTraditionalTypeOID: A } = ve(w), I = A ? L : "*", P = e?.get(x.scatterplotAggregationFields.xStep), O = e?.get(x.scatterplotAggregationFields.yStep), V = e?.get(x.scatterplotAggregationFields.realGridSize), $ = e?.get(x.scatterplotAggregationFields.rowCount), M = e?.get(x.scatterplotAggregationFields.columnCount), q = /* @__PURE__ */ new Map(), G = Ce(a);
7632
7647
  if (G?.forEach((H) => {
7633
7648
  Ft(H) && q.set(H.name, {
7634
7649
  onStatisticField: H.name,
@@ -7649,7 +7664,7 @@ async function lu(t) {
7649
7664
  });
7650
7665
  }), L !== "" && q.set(L, {
7651
7666
  onStatisticField: I,
7652
- outStatisticFieldName: S,
7667
+ outStatisticFieldName: h,
7653
7668
  statisticType: D.Count
7654
7669
  }), q.set(l, {
7655
7670
  onStatisticField: l,
@@ -7665,11 +7680,11 @@ async function lu(t) {
7665
7680
  ...r,
7666
7681
  outStatistics: [...q.values()]
7667
7682
  };
7668
- x = await Ts({
7683
+ v = await Ts({
7669
7684
  queryObject: a,
7670
7685
  queryConfig: H,
7671
7686
  xStep: P,
7672
- xMin: v,
7687
+ xMin: B,
7673
7688
  xMax: b,
7674
7689
  x: l,
7675
7690
  y: d,
@@ -7680,7 +7695,7 @@ async function lu(t) {
7680
7695
  } else if ($ !== void 0 && M !== void 0) {
7681
7696
  let H = 0;
7682
7697
  const { maxScatterCellsPerQuery: ae, maxScatterCellsPerQueryForStandard: pe } = $t(), Ni = await no(w, u) ? pe : ae, Ti = [];
7683
- let Ht = !0, Xe = v, ke = N, Je = "", Ct = 1, zt = 1, vt = Number.MAX_SAFE_INTEGER, Bt = Number.MIN_SAFE_INTEGER, Nt = Number.MAX_SAFE_INTEGER, Tt = Number.MIN_SAFE_INTEGER;
7698
+ let Ht = !0, Xe = B, ke = N, Je = "", Ct = 1, zt = 1, vt = Number.MAX_SAFE_INTEGER, Bt = Number.MIN_SAFE_INTEGER, Nt = Number.MAX_SAFE_INTEGER, Tt = Number.MIN_SAFE_INTEGER;
7684
7699
  for (; zt <= M && Ht; ) {
7685
7700
  for (ke = N, Ct = 1; Ct <= $ && Ht; ) {
7686
7701
  if (Je = su({
@@ -7693,7 +7708,7 @@ async function lu(t) {
7693
7708
  yStep: O,
7694
7709
  endOfRow: Ct === $,
7695
7710
  endOfColumn: zt === M
7696
- }), Xe < vt && (vt = Xe), Xe + P > Bt && (Bt = Xe + P), ke < Nt && (Nt = ke), ke + P > Tt && (Tt = ke + O), H += 1, H % Ni === 0 || H === V || H === B) {
7711
+ }), Xe < vt && (vt = Xe), Xe + P > Bt && (Bt = Xe + P), ke < Nt && (Nt = ke), ke + P > Tt && (Tt = ke + O), H += 1, H % Ni === 0 || H === V || H === C) {
7697
7712
  Je = `${Je} ${Ue.groupByCaseEnd}`;
7698
7713
  const pr = {
7699
7714
  ...r,
@@ -7719,11 +7734,11 @@ async function lu(t) {
7719
7734
  }
7720
7735
  Xe += P, zt += 1;
7721
7736
  }
7722
- x = (await Promise.all(Ti)).flat();
7737
+ v = (await Promise.all(Ti)).flat();
7723
7738
  }
7724
7739
  }
7725
7740
  }
7726
- return x;
7741
+ return v;
7727
7742
  }
7728
7743
  async function uu(t) {
7729
7744
  const { chartConfig: e, queryConfig: i, queryObject: a, errorStrings: r, abortKey: n, abortSignal: s } = t, o = e.series[0], { x: u, y: c } = o;
@@ -7734,10 +7749,10 @@ async function uu(t) {
7734
7749
  dataContextYMinField: m,
7735
7750
  dataContextYMaxField: y,
7736
7751
  queryNumberOfFeatures: g
7737
- } = C.scatterplotAggregationFields, { idField: p, isTraditionalTypeOID: S } = ve(z(a)), x = S ? p : "*", v = [
7752
+ } = x.scatterplotAggregationFields, { idField: p, isTraditionalTypeOID: h } = ve(z(a)), v = h ? p : "*", B = [
7738
7753
  {
7739
7754
  statisticType: D.Count,
7740
- onStatisticField: x,
7755
+ onStatisticField: v,
7741
7756
  outStatisticFieldName: g
7742
7757
  },
7743
7758
  {
@@ -7751,7 +7766,7 @@ async function uu(t) {
7751
7766
  onStatisticField: u
7752
7767
  }
7753
7768
  ];
7754
- u !== c && v.push(
7769
+ u !== c && B.push(
7755
7770
  {
7756
7771
  statisticType: D.Minimum,
7757
7772
  outStatisticFieldName: m,
@@ -7764,7 +7779,7 @@ async function uu(t) {
7764
7779
  }
7765
7780
  );
7766
7781
  const b = { ...i };
7767
- return b.outStatistics = v, l = await xt({
7782
+ return b.outStatistics = B, l = await xt({
7768
7783
  queryObject: a,
7769
7784
  queryConfig: b,
7770
7785
  errorStrings: r,
@@ -7777,45 +7792,45 @@ function wt(t) {
7777
7792
  return e === i || e === a ? e : Math.random() * (a - i) + i;
7778
7793
  }
7779
7794
  function cu(t) {
7780
- const { useQueryAttributeBins: e, graphic: i, x: a, y: r, yStep: n } = t, { groupByOutKeyword: s } = Ue, { dataContextXMinField: o, dataContextXMaxField: u, dataContextYMinField: c, dataContextYMaxField: l } = C.scatterplotAggregationFields;
7795
+ const { useQueryAttributeBins: e, graphic: i, x: a, y: r, yStep: n } = t, { groupByOutKeyword: s } = Ue, { dataContextXMinField: o, dataContextXMaxField: u, dataContextYMinField: c, dataContextYMaxField: l } = x.scatterplotAggregationFields;
7781
7796
  let d = [];
7782
7797
  if (e && "stackedAttributes" in i && i.stackedAttributes) {
7783
7798
  const f = Oa(a, r), m = i.attributes[f.lowerBoundaryAlias], y = i.attributes[f.upperBoundaryAlias];
7784
7799
  i.stackedAttributes.forEach((g) => {
7785
- let p = g[f.stackAlias], S;
7786
- typeof p == "number" && typeof n == "number" && (p *= n), typeof p == "number" && typeof n == "number" && (S = p + n);
7787
- const x = g[a], v = g[r];
7788
- typeof p == "number" && typeof S == "number" && typeof x == "number" && typeof v == "number" && d.push({
7800
+ let p = g[f.stackAlias], h;
7801
+ typeof p == "number" && typeof n == "number" && (p *= n), typeof p == "number" && typeof n == "number" && (h = p + n);
7802
+ const v = g[a], B = g[r];
7803
+ typeof p == "number" && typeof h == "number" && typeof v == "number" && typeof B == "number" && d.push({
7789
7804
  ...g,
7790
- [a]: wt({ value: x, valueMin: m, valueMax: y }),
7791
- [r]: wt({ value: v, valueMin: p, valueMax: S }),
7805
+ [a]: wt({ value: v, valueMin: m, valueMax: y }),
7806
+ [r]: wt({ value: B, valueMin: p, valueMax: h }),
7792
7807
  [o]: Math.min(m, y),
7793
7808
  [u]: Math.max(m, y),
7794
7809
  [c]: p,
7795
- [l]: S
7810
+ [l]: h
7796
7811
  });
7797
7812
  });
7798
7813
  } else {
7799
7814
  const { expr: f, isInItem: m } = Vt(i.attributes);
7800
7815
  if (m && f && i.attributes[f] !== s) {
7801
- let [y, g, p, S] = i.attributes[f].split("|");
7802
- y = Math.min(y, g), g = Math.max(y, g), p = Math.min(p, S), S = Math.max(p, S);
7803
- const x = {
7816
+ let [y, g, p, h] = i.attributes[f].split("|");
7817
+ y = Math.min(y, g), g = Math.max(y, g), p = Math.min(p, h), h = Math.max(p, h);
7818
+ const v = {
7804
7819
  ...i.attributes,
7805
7820
  [o]: y,
7806
7821
  [u]: g,
7807
7822
  [c]: p,
7808
- [l]: S
7823
+ [l]: h
7809
7824
  };
7810
- x[a] = wt({
7811
- value: x[a],
7825
+ v[a] = wt({
7826
+ value: v[a],
7812
7827
  valueMin: y,
7813
7828
  valueMax: g
7814
- }), x[r] = wt({
7815
- value: x[r],
7829
+ }), v[r] = wt({
7830
+ value: v[r],
7816
7831
  valueMin: p,
7817
- valueMax: S
7818
- }), d = [x];
7832
+ valueMax: h
7833
+ }), d = [v];
7819
7834
  }
7820
7835
  }
7821
7836
  return d;
@@ -7842,21 +7857,21 @@ async function fu(t) {
7842
7857
  let f = [];
7843
7858
  const m = Ce(e), y = kt(d).idFields, g = (m?.filter((b) => Ft(b) && b.name !== c && b.name !== l) ?? []).map(
7844
7859
  (b) => b.name
7845
- ) ?? [], p = u?.additionalTooltipFields ?? [], S = Array.from(
7860
+ ) ?? [], p = u?.additionalTooltipFields ?? [], h = Array.from(
7846
7861
  /* @__PURE__ */ new Set([c, l, ...y ?? [], ...g, ...p])
7847
- ), x = ge(d);
7848
- if (x && !x.isTable) {
7849
- const { rendererField: b, rendererNormalizationField: B } = io(d?.renderer ?? void 0);
7850
- oe(b) || S.push(b), oe(B) || S.push(B);
7862
+ ), v = ge(d);
7863
+ if (v && !v.isTable) {
7864
+ const { rendererField: b, rendererNormalizationField: C } = io(d?.renderer ?? void 0);
7865
+ oe(b) || h.push(b), oe(C) || h.push(C);
7851
7866
  }
7852
- const v = {
7867
+ const B = {
7853
7868
  ...i,
7854
7869
  orderByFields: [`${c} ${ye.Ascending}`],
7855
- outFields: S
7870
+ outFields: h
7856
7871
  };
7857
7872
  return f = await Fe({
7858
7873
  queryObject: e,
7859
- queryConfig: v,
7874
+ queryConfig: B,
7860
7875
  featureCount: r,
7861
7876
  errorStrings: n,
7862
7877
  abortKey: s,
@@ -7923,7 +7938,7 @@ async function dr(t) {
7923
7938
  errorStrings: o,
7924
7939
  abortKey: u,
7925
7940
  abortSignal: c
7926
- }), { queryNumberOfFeatures: f, yStep: m } = C.scatterplotAggregationFields, { maxScatterPointsBeforeAggregation: y } = ut(s), g = d?.get(f) ?? Number.NaN, p = g >= y, S = gn(a);
7941
+ }), { queryNumberOfFeatures: f, yStep: m } = x.scatterplotAggregationFields, { maxScatterPointsBeforeAggregation: y } = ut(s), g = d?.get(f) ?? Number.NaN, p = g >= y, h = gn(a);
7927
7942
  p && await nu({
7928
7943
  statsMap: d,
7929
7944
  chartConfig: e,
@@ -7934,35 +7949,35 @@ async function dr(t) {
7934
7949
  abortKey: u,
7935
7950
  abortSignal: c
7936
7951
  });
7937
- const x = await mu({
7952
+ const v = await mu({
7938
7953
  ...t,
7939
7954
  queryObject: a,
7940
7955
  statsMap: d,
7941
7956
  numberOfFeatures: g,
7942
7957
  isAggregationMode: p,
7943
- useQueryAttributeBins: S
7944
- }), v = du({
7958
+ useQueryAttributeBins: h
7959
+ }), B = du({
7945
7960
  chartConfig: e,
7946
- rawData: x,
7961
+ rawData: v,
7947
7962
  isAggregationMode: p,
7948
7963
  yStep: d.get(m),
7949
- useQueryAttributeBins: S
7964
+ useQueryAttributeBins: h
7950
7965
  });
7951
7966
  r !== !1 && ht({
7952
- arrayToSort: v,
7967
+ arrayToSort: B,
7953
7968
  sortingField: e.series[0].x,
7954
7969
  orderBy: ye.Ascending
7955
7970
  });
7956
- const { r2: b, trendLinePoints: B } = n !== !1 ? await Va({
7957
- data: v,
7971
+ const { r2: b, trendLinePoints: C } = n !== !1 ? await Va({
7972
+ data: B,
7958
7973
  statsMap: d,
7959
7974
  queryConfig: i,
7960
7975
  queryObject: a,
7961
7976
  chartConfig: e,
7962
7977
  errorStrings: o,
7963
7978
  abortSignal: c
7964
- }) : C.scatterplotSeries;
7965
- l = { dataItems: v, r2: b, trendLinePoints: B, aggregated: p };
7979
+ }) : x.scatterplotSeries;
7980
+ l = { dataItems: B, r2: b, trendLinePoints: C, aggregated: p };
7966
7981
  }
7967
7982
  return l;
7968
7983
  }
@@ -8045,7 +8060,7 @@ function Bi(t) {
8045
8060
  const { seriesConfig: e, filteredSeriesIds: i, showMean: a } = t;
8046
8061
  let r = [];
8047
8062
  if (a === !0) {
8048
- const n = e.find((s) => s.type === h.BoxPlotSeries);
8063
+ const n = e.find((s) => s.type === S.BoxPlotSeries);
8049
8064
  n !== void 0 && "y" in n && (r = [n.y].flat());
8050
8065
  } else
8051
8066
  r = ue(e, i);
@@ -8058,11 +8073,11 @@ function gu(t) {
8058
8073
  const { dataItem: e, x: i, y: a, nullAsValid: r = !1, aggregationType: n = D.Count } = t, s = e[i], o = e[a];
8059
8074
  return s !== void 0 && (typeof s != "number" || Number.isFinite(s)) && Me(o, r) && (n !== D.Count || o !== 0);
8060
8075
  }
8061
- function zd(t) {
8076
+ function Wd(t) {
8062
8077
  const { chartConfig: e, nullAsValid: i = !1, dataSet: a } = t;
8063
8078
  let r = !0;
8064
8079
  if (e !== void 0) {
8065
- const n = _(e.series);
8080
+ const n = j(e.series);
8066
8081
  if (a === void 0 || a.length === 0)
8067
8082
  r = !0;
8068
8083
  else {
@@ -8070,22 +8085,22 @@ function zd(t) {
8070
8085
  r = !a.some((o) => {
8071
8086
  let u = !1;
8072
8087
  switch (n) {
8073
- case h.HistogramSeries:
8088
+ case S.HistogramSeries:
8074
8089
  {
8075
8090
  const c = o;
8076
8091
  u = Me(c.minValue, i) && Me(c.maxValue, i);
8077
8092
  }
8078
8093
  break;
8079
- case h.ScatterSeries:
8094
+ case S.ScatterSeries:
8080
8095
  {
8081
8096
  const c = o, { x: l, y: d } = e.series[0];
8082
8097
  u = Me(c[l], i) && Me(c[d], i);
8083
8098
  }
8084
8099
  break;
8085
- case h.ComboLineAndBarSeries:
8086
- case h.RadarSeries:
8087
- case h.LineSeries:
8088
- case h.BarSeries: {
8100
+ case S.ComboLineAndBarSeries:
8101
+ case S.RadarSeries:
8102
+ case S.LineSeries:
8103
+ case S.BarSeries: {
8089
8104
  const c = o, { x: l } = e.series[0];
8090
8105
  u = s.some(
8091
8106
  (d) => gu({
@@ -8098,7 +8113,7 @@ function zd(t) {
8098
8113
  );
8099
8114
  break;
8100
8115
  }
8101
- case h.BoxPlotSeries: {
8116
+ case S.BoxPlotSeries: {
8102
8117
  if (de(e)) {
8103
8118
  const c = e.series;
8104
8119
  u = yu({
@@ -8110,7 +8125,7 @@ function zd(t) {
8110
8125
  }
8111
8126
  break;
8112
8127
  }
8113
- case h.PieSeries:
8128
+ case S.PieSeries:
8114
8129
  {
8115
8130
  const c = o;
8116
8131
  let { x: l, y: d } = e.series[0];
@@ -8119,15 +8134,15 @@ function zd(t) {
8119
8134
  u = c[l] !== void 0 && c[l] !== null && !hr(f) && Me(Number(f), i);
8120
8135
  }
8121
8136
  break;
8122
- case h.GaugeSeries:
8137
+ case S.GaugeSeries:
8123
8138
  {
8124
8139
  const { x: c } = e.series[0];
8125
8140
  u = Me(o[c], i);
8126
8141
  }
8127
8142
  break;
8128
- case h.HeatSeries:
8143
+ case S.HeatSeries:
8129
8144
  u = a.some(
8130
- (c) => Me(c[Q.valueField], i)
8145
+ (c) => Me(c[_.valueField], i)
8131
8146
  );
8132
8147
  break;
8133
8148
  }
@@ -8148,7 +8163,7 @@ function pu(t, e) {
8148
8163
  }
8149
8164
  function hu(t) {
8150
8165
  const { seriesConfig: e, filteredSeriesIds: i, filteredData: a } = t, r = pu(e, i), n = e.find(
8151
- (c) => c.type === h.LineSeries || c.type === h.RadarSeries
8166
+ (c) => c.type === S.LineSeries || c.type === S.RadarSeries
8152
8167
  )?.stackNegativeValuesToBaseline ?? !0;
8153
8168
  let s = Number.MIN_SAFE_INTEGER, o = Number.MAX_SAFE_INTEGER, u = !1;
8154
8169
  return a.forEach((c) => {
@@ -8179,30 +8194,30 @@ function Yi(t) {
8179
8194
  let e = Number.NaN, i = Number.NaN, a, r;
8180
8195
  const { chartConfig: n, chartData: s, filteredSeriesIds: o } = t, { series: u } = n;
8181
8196
  if (u?.length > 0) {
8182
- const { x: c } = u[0], l = _(n.series);
8183
- if (l === h.HistogramSeries && s.length > 0) {
8197
+ const { x: c } = u[0], l = j(n.series);
8198
+ if (l === S.HistogramSeries && s.length > 0) {
8184
8199
  const d = s[0]?.[$i.Start], f = s[s.length - 1]?.[$i.End];
8185
8200
  a = typeof d == "number" ? d : a, r = typeof f == "number" ? f : r;
8186
8201
  } else {
8187
8202
  const d = s.filter((m) => m[c] !== null);
8188
- if ({ min: a, max: r } = St(d, (m) => m[c]), n.axes?.[0]?.valueFormat.type === h.DateAxisFormat && a !== void 0 && r !== void 0 && ([a, r] = [new Date(a).valueOf(), new Date(r).valueOf()]), l === h.BoxPlotSeries) {
8203
+ if ({ min: a, max: r } = St(d, (m) => m[c]), n.axes?.[0]?.valueFormat.type === S.DateAxisFormat && a !== void 0 && r !== void 0 && ([a, r] = [new Date(a).valueOf(), new Date(r).valueOf()]), l === S.BoxPlotSeries) {
8189
8204
  e = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER;
8190
8205
  const m = ue(u, o), y = k(u), g = "standardizeValues" in n ? n.standardizeValues === !0 : void 0, p = n.series.map(
8191
- (S) => S.visible !== !1 ? fe({ where: S.query?.where }) : ""
8206
+ (h) => h.visible !== !1 ? fe({ where: h.query?.where }) : ""
8192
8207
  );
8193
- p.length === 0 && p.push(" "), d.forEach((S) => {
8194
- m.forEach((x) => {
8195
- const v = y === F.BoxPlotMultiFieldsAndCategory ? x : void 0;
8208
+ p.length === 0 && p.push(" "), d.forEach((h) => {
8209
+ m.forEach((v) => {
8210
+ const B = y === F.BoxPlotMultiFieldsAndCategory ? v : void 0;
8196
8211
  p.forEach((b) => {
8197
- const { min: B, max: N } = Su({
8198
- y: v,
8212
+ const { min: C, max: N } = Su({
8213
+ y: B,
8199
8214
  splitByValue: b,
8200
8215
  chartSubType: y,
8201
8216
  showOutliers: !1,
8202
8217
  standardizeValues: g,
8203
- dataItem: S
8218
+ dataItem: h
8204
8219
  });
8205
- B != null && B < e && (e = B), N != null && N > i && (i = N);
8220
+ C != null && C < e && (e = C), N != null && N > i && (i = N);
8206
8221
  });
8207
8222
  });
8208
8223
  });
@@ -8222,11 +8237,11 @@ function Yi(t) {
8222
8237
  case Te.Side:
8223
8238
  default: {
8224
8239
  e = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER, ue(u, o).forEach((g) => {
8225
- const { min: p, max: S } = St(
8240
+ const { min: p, max: h } = St(
8226
8241
  d,
8227
- (x) => x[g]
8242
+ (v) => v[g]
8228
8243
  );
8229
- p !== void 0 && p < e && (e = p), S !== void 0 && S > i && (i = S);
8244
+ p !== void 0 && p < e && (e = p), h !== void 0 && h > i && (i = h);
8230
8245
  });
8231
8246
  break;
8232
8247
  }
@@ -8247,7 +8262,7 @@ function yr(t) {
8247
8262
  let e = !1;
8248
8263
  if (t) {
8249
8264
  const i = t.axes?.[0], a = i?.isLogarithmic === !0, r = i?.valueFormat?.type;
8250
- e = (r === h.NumberAxisFormat || r === h.DateAxisFormat) && a;
8265
+ e = (r === S.NumberAxisFormat || r === S.DateAxisFormat) && a;
8251
8266
  }
8252
8267
  return e;
8253
8268
  }
@@ -8279,7 +8294,7 @@ function gr(t) {
8279
8294
  }
8280
8295
  return r;
8281
8296
  }
8282
- function Wd(t) {
8297
+ function Gd(t) {
8283
8298
  const { chartConfig: e, axisConfigIndex: i, chartData: a } = t;
8284
8299
  let r = !0;
8285
8300
  const n = e?.axes?.[i];
@@ -8294,14 +8309,14 @@ function bu(t, e) {
8294
8309
  return i;
8295
8310
  }
8296
8311
  function xu(t, e) {
8297
- const i = _(e);
8312
+ const i = j(e);
8298
8313
  let a = t;
8299
8314
  const r = e?.[0];
8300
- if ((i === h.PieSeries || i === h.BoxPlotSeries || i === h.LineSeries || i === h.RadarSeries || i === h.BarSeries || i === h.HeatSeries || i === h.ComboLineAndBarSeries) && r !== void 0) {
8315
+ if ((i === S.PieSeries || i === S.BoxPlotSeries || i === S.LineSeries || i === S.RadarSeries || i === S.BarSeries || i === S.HeatSeries || i === S.ComboLineAndBarSeries) && r !== void 0) {
8301
8316
  const n = ui(t);
8302
8317
  let s = n ? t : t.dataItems;
8303
8318
  if (t !== void 0) {
8304
- const { originalCategoryValue: o, originalYCategoryValue: u, originalDateValue: c, xAxisField: l } = C, d = i === h.HeatSeries ? Q.xField : r.x, f = i === h.HeatSeries ? Q.yField : void 0;
8319
+ const { originalCategoryValue: o, originalYCategoryValue: u, originalDateValue: c, xAxisField: l } = x, d = i === S.HeatSeries ? _.xField : r.x, f = i === S.HeatSeries ? _.yField : void 0;
8305
8320
  s = s.map((m) => {
8306
8321
  let y = m[d];
8307
8322
  m[c] !== void 0 ? y = m[c] : m[o] !== void 0 && (y = m[o]);
@@ -8318,30 +8333,30 @@ function xu(t, e) {
8318
8333
  }
8319
8334
  function Zi(t) {
8320
8335
  const e = { ...t };
8321
- delete e[C.technicalSortingFieldBySum], delete e[C.technicalSortingFieldByPercent], delete e[C.pieChart.technicalFieldSlicePercent], delete e[C.pieChart.technicalFieldGroupedSlices], delete e[C.lastTemporalBin], delete e[C.originalServerBinningRange], delete e[C.technicalFieldSplitByField], delete e[W.uniqueIdsName], Object.keys(e).filter(
8322
- (r) => r.includes(C.rendererSymbolField)
8336
+ delete e[x.technicalSortingFieldBySum], delete e[x.technicalSortingFieldByPercent], delete e[x.pieChart.technicalFieldSlicePercent], delete e[x.pieChart.technicalFieldGroupedSlices], delete e[x.lastTemporalBin], delete e[x.originalServerBinningRange], delete e[x.technicalFieldSplitByField], delete e[W.uniqueIdsName], Object.keys(e).filter(
8337
+ (r) => r.includes(x.rendererSymbolField)
8323
8338
  ).forEach((r) => delete e[r]);
8324
8339
  const a = Vt(e);
8325
8340
  return a.isInItem && delete e[a.expr ?? ""], e;
8326
8341
  }
8327
8342
  function Cu(t, e) {
8328
8343
  let i = t;
8329
- const a = _(e);
8344
+ const a = j(e);
8330
8345
  let r = Ci(i);
8331
8346
  if (r !== void 0)
8332
8347
  switch (a) {
8333
- case h.ComboLineAndBarSeries:
8334
- case h.BarSeries:
8335
- case h.LineSeries:
8336
- case h.RadarSeries:
8337
- case h.PieSeries:
8348
+ case S.ComboLineAndBarSeries:
8349
+ case S.BarSeries:
8350
+ case S.LineSeries:
8351
+ case S.RadarSeries:
8352
+ case S.PieSeries:
8338
8353
  {
8339
8354
  r = r.map(Zi), i = { dataItems: r };
8340
8355
  const { timeIntervalInfo: n, serverLimitReached: s } = t ?? {};
8341
8356
  Sr(n) || (i.timeIntervalInfo = n), s !== void 0 && (i.serverLimitReached = s);
8342
8357
  }
8343
8358
  break;
8344
- case h.ScatterSeries:
8359
+ case S.ScatterSeries:
8345
8360
  i = {
8346
8361
  ...i,
8347
8362
  dataItems: r.map(Zi)
@@ -8350,38 +8365,38 @@ function Cu(t, e) {
8350
8365
  }
8351
8366
  return i;
8352
8367
  }
8353
- const Gd = (t, e) => {
8368
+ const Ud = (t, e) => {
8354
8369
  const i = 10 ** e;
8355
8370
  return Math.round(t * i) / i;
8356
8371
  };
8357
- function Ud(t) {
8372
+ function Yd(t) {
8358
8373
  const { data: e, seriesConfig: i } = t;
8359
8374
  let a = He(e);
8360
8375
  return a !== void 0 && (a = xu(a, i), a = Cu(a, i), a = bu(a, i)), a;
8361
8376
  }
8362
8377
  function vu(t) {
8363
- const { dataFetchingResults: e, numberOfQueries: i, series: a } = t, r = _(a), n = k(a);
8378
+ const { dataFetchingResults: e, numberOfQueries: i, series: a } = t, r = j(a), n = k(a);
8364
8379
  let s = [];
8365
8380
  const o = /* @__PURE__ */ new Map();
8366
8381
  for (let u = 0; u < i; u += 1) {
8367
8382
  const c = e[u];
8368
8383
  if (c !== void 0) {
8369
8384
  let l;
8370
- if (r === h.ScatterSeries)
8385
+ if (r === S.ScatterSeries)
8371
8386
  l = c.dataItems;
8372
8387
  else if ("data" in c && c.data) {
8373
8388
  const d = c.data;
8374
8389
  "dataItems" in d && (l = d.dataItems), "outliers" in d && d.outliers && s.push(...d.outliers), "meanLines" in d && d.meanLines && s.push(...d.meanLines);
8375
8390
  }
8376
8391
  if (l)
8377
- if (a[0].type === h.HeatSeries)
8392
+ if (a[0].type === S.HeatSeries)
8378
8393
  i > 0 && l.forEach((d) => {
8379
8394
  o.set(
8380
- `${d[Q.xField]}-${d[Q.yField]}`,
8395
+ `${d[_.xField]}-${d[_.yField]}`,
8381
8396
  d
8382
8397
  );
8383
8398
  });
8384
- else if (a[0].type === h.ScatterSeries) {
8399
+ else if (a[0].type === S.ScatterSeries) {
8385
8400
  const { x: d, y: f } = a[0];
8386
8401
  s.push(
8387
8402
  ...l.map((m) => ({
@@ -8418,12 +8433,12 @@ async function Bu(t) {
8418
8433
  returnFeaturesExtent: f,
8419
8434
  popupTemplateFieldInfosEnabled: m,
8420
8435
  view: y
8421
- } = t, { series: g } = a, p = _(g), S = [], { maxOIDsPerSelectionQuery: x } = $t();
8436
+ } = t, { series: g } = a, p = j(g), h = [], { maxOIDsPerSelectionQuery: v } = $t();
8422
8437
  for (let b = 0; b < e; b += 1) {
8423
- const B = b * x, N = (b + 1) * x - 1, T = i.slice(B === 0 ? 0 : B - 1, N), w = { ...r };
8438
+ const C = b * v, N = (b + 1) * v - 1, T = i.slice(C === 0 ? 0 : C - 1, N), w = { ...r };
8424
8439
  switch (w.objectIds = T, p) {
8425
- case h.HeatSeries:
8426
- S.push(
8440
+ case S.HeatSeries:
8441
+ h.push(
8427
8442
  cr({
8428
8443
  completeHeatChartDataset: !1,
8429
8444
  // we do not want the empty bins to be added for the selection
@@ -8438,11 +8453,11 @@ async function Bu(t) {
8438
8453
  })
8439
8454
  );
8440
8455
  break;
8441
- case h.PieSeries:
8442
- case h.BarSeries:
8443
- case h.LineSeries:
8444
- case h.RadarSeries:
8445
- case h.ComboLineAndBarSeries:
8456
+ case S.PieSeries:
8457
+ case S.BarSeries:
8458
+ case S.LineSeries:
8459
+ case S.RadarSeries:
8460
+ case S.ComboLineAndBarSeries:
8446
8461
  if (Pe({
8447
8462
  xAxisValueFormatType: xe(a),
8448
8463
  setTimeBinningInfoWhenNotProvided: d,
@@ -8450,7 +8465,7 @@ async function Bu(t) {
8450
8465
  queryObject: s
8451
8466
  })) {
8452
8467
  const L = He(a);
8453
- "temporalBinning" in L.series[0] && L.series[0].temporalBinning && (L.series[0].temporalBinning.trimIncompleteTimeInterval = !1, rt(o, s) && (delete L.series[0].temporalBinning.start, delete L.series[0].temporalBinning.end)), S.push(
8468
+ "temporalBinning" in L.series[0] && L.series[0].temporalBinning && (L.series[0].temporalBinning.trimIncompleteTimeInterval = !1, rt(o, s) && (delete L.series[0].temporalBinning.start, delete L.series[0].temporalBinning.end)), h.push(
8454
8469
  xi({
8455
8470
  chartConfig: L,
8456
8471
  queryConfig: w,
@@ -8464,7 +8479,7 @@ async function Bu(t) {
8464
8479
  })
8465
8480
  );
8466
8481
  } else
8467
- S.push(
8482
+ h.push(
8468
8483
  tu({
8469
8484
  queryObject: s,
8470
8485
  chartConfig: a,
@@ -8477,8 +8492,8 @@ async function Bu(t) {
8477
8492
  })
8478
8493
  );
8479
8494
  break;
8480
- case h.BoxPlotSeries:
8481
- S.push(
8495
+ case S.BoxPlotSeries:
8496
+ h.push(
8482
8497
  iu({
8483
8498
  queryObject: s,
8484
8499
  chartConfig: a,
@@ -8494,8 +8509,8 @@ async function Bu(t) {
8494
8509
  })
8495
8510
  );
8496
8511
  break;
8497
- case h.ScatterSeries:
8498
- S.push(
8512
+ case S.ScatterSeries:
8513
+ h.push(
8499
8514
  dr({
8500
8515
  queryObject: s,
8501
8516
  chartConfig: a,
@@ -8515,8 +8530,8 @@ async function Bu(t) {
8515
8530
  })
8516
8531
  );
8517
8532
  break;
8518
- case h.HistogramSeries:
8519
- S.push(
8533
+ case S.HistogramSeries:
8534
+ h.push(
8520
8535
  Do({
8521
8536
  queryObject: s,
8522
8537
  queryConfig: w,
@@ -8528,9 +8543,9 @@ async function Bu(t) {
8528
8543
  break;
8529
8544
  }
8530
8545
  }
8531
- return await Promise.all(S);
8546
+ return await Promise.all(h);
8532
8547
  }
8533
- async function Yd(t) {
8548
+ async function Zd(t) {
8534
8549
  const {
8535
8550
  chartConfig: e,
8536
8551
  chartData: i,
@@ -8548,12 +8563,12 @@ async function Yd(t) {
8548
8563
  viewExtentUpdated: y,
8549
8564
  runtimeDataFilters: g,
8550
8565
  ignoreViewExtent: p,
8551
- returnSelectionOIDs: S,
8552
- selectionData: x
8553
- } = t, { series: v } = e, { selectionItems: b, selectionOIDs: B } = x ?? {};
8566
+ returnSelectionOIDs: h,
8567
+ selectionData: v
8568
+ } = t, { series: B } = e, { selectionItems: b, selectionOIDs: C } = v ?? {};
8554
8569
  let N;
8555
- const T = _(v), w = T !== h.HistogramSeries && T !== h.HeatSeries && b !== void 0 && b.length > 0 && !(v[0].x in b[0]) && !(ce in b[0]) && !(C.boxPlot.boxPlotCategory in b[0]);
8556
- if (y !== !0 && S !== !1 && B !== void 0 && B.length > 0 && (a === !0 || w || u)) {
8570
+ const T = j(B), w = T !== S.HistogramSeries && T !== S.HeatSeries && b !== void 0 && b.length > 0 && !(B[0].x in b[0]) && !(ce in b[0]) && !(x.boxPlot.boxPlotCategory in b[0]);
8571
+ if (y !== !0 && h !== !1 && C !== void 0 && C.length > 0 && (a === !0 || w || u)) {
8557
8572
  const A = Ci(i), I = Ha({
8558
8573
  queryObject: s,
8559
8574
  chartConfig: e,
@@ -8564,12 +8579,12 @@ async function Yd(t) {
8564
8579
  if (A !== void 0 && !Bn({ dataContext: A[0], chartConfig: e, chartLimits: c }))
8565
8580
  N = A.filter((P) => {
8566
8581
  const O = P[W.uniqueIdsName];
8567
- return typeof O == "number" || typeof O == "string" ? B?.includes(O) : !1;
8582
+ return typeof O == "number" || typeof O == "string" ? C?.includes(O) : !1;
8568
8583
  });
8569
- else if (B?.[0] !== void 0 && I !== void 0) {
8570
- const { maxOIDsPerSelectionQuery: P } = $t(), O = Math.ceil(B.length / P), V = te(e.series[0]?.query?.where), $ = await Bu({
8584
+ else if (C?.[0] !== void 0 && I !== void 0) {
8585
+ const { maxOIDsPerSelectionQuery: P } = $t(), O = Math.ceil(C.length / P), V = te(e.series[0]?.query?.where), $ = await Bu({
8571
8586
  numberOfQueries: O,
8572
- selectionOIDs: B,
8587
+ selectionOIDs: C,
8573
8588
  queryConfig: I,
8574
8589
  queryObject: s,
8575
8590
  replaceNoValueCategoryWithZero: r,
@@ -8586,13 +8601,13 @@ async function Yd(t) {
8586
8601
  N = vu({
8587
8602
  dataFetchingResults: $,
8588
8603
  numberOfQueries: O,
8589
- series: v
8604
+ series: B
8590
8605
  });
8591
8606
  }
8592
8607
  }
8593
8608
  return N;
8594
8609
  }
8595
- const Zd = {
8610
+ const Xd = {
8596
8611
  shouldCheckDataMinMaxForLogScaleOnXAxis: yr,
8597
8612
  minMaxHasZeroOrNegativeValues: li,
8598
8613
  isChartWithZeroOrNegativeValues: gr,
@@ -8602,8 +8617,8 @@ export {
8602
8617
  hu as $,
8603
8618
  re as A,
8604
8619
  E as B,
8605
- fd as C,
8606
- j as D,
8620
+ md as C,
8621
+ Q as D,
8607
8622
  le as E,
8608
8623
  zs as F,
8609
8624
  ps as G,
@@ -8611,11 +8626,11 @@ export {
8611
8626
  Ce as I,
8612
8627
  eo as J,
8613
8628
  dt as K,
8614
- hd as L,
8629
+ Sd as L,
8615
8630
  Tc as M,
8616
8631
  oo as N,
8617
8632
  so as O,
8618
- Ad as P,
8633
+ wd as P,
8619
8634
  hn as Q,
8620
8635
  Fu as R,
8621
8636
  Eo as S,
@@ -8627,27 +8642,27 @@ export {
8627
8642
  k as Y,
8628
8643
  Nc as Z,
8629
8644
  Yi as _,
8630
- dd as a,
8645
+ fd as a,
8631
8646
  Ec as a$,
8632
8647
  Mt as a0,
8633
- qd as a1,
8648
+ Vd as a1,
8634
8649
  Za as a2,
8635
8650
  gi as a3,
8636
8651
  ri as a4,
8637
8652
  ni as a5,
8638
8653
  Vi as a6,
8639
- xd as a7,
8640
- Td as a8,
8654
+ Cd as a7,
8655
+ Ad as a8,
8641
8656
  Dn as a9,
8642
8657
  Xs as aA,
8643
8658
  Qs as aB,
8644
8659
  _a as aC,
8645
8660
  io as aD,
8646
- Yd as aE,
8661
+ Zd as aE,
8647
8662
  Re as aF,
8648
8663
  te as aG,
8649
8664
  fe as aH,
8650
- Vd as aI,
8665
+ Rd as aI,
8651
8666
  Ks as aJ,
8652
8667
  ue as aK,
8653
8668
  hl as aL,
@@ -8668,14 +8683,14 @@ export {
8668
8683
  Mi as a_,
8669
8684
  ka as aa,
8670
8685
  Qa as ab,
8671
- Fd as ac,
8686
+ bd as ac,
8672
8687
  ro as ad,
8673
8688
  vc as ae,
8674
8689
  z as af,
8675
- Nd as ag,
8690
+ Td as ag,
8676
8691
  pn as ah,
8677
8692
  kt as ai,
8678
- Id as aj,
8693
+ Ed as aj,
8679
8694
  ge as ak,
8680
8695
  xo as al,
8681
8696
  za as am,
@@ -8683,17 +8698,17 @@ export {
8683
8698
  Oa as ao,
8684
8699
  Ea as ap,
8685
8700
  go as aq,
8686
- bd as ar,
8701
+ xd as ar,
8687
8702
  yo as as,
8688
8703
  Ot as at,
8689
8704
  Us as au,
8690
8705
  Ss as av,
8691
8706
  $a as aw,
8692
8707
  Ra as ax,
8693
- Sd as ay,
8708
+ Fd as ay,
8694
8709
  to as az,
8695
8710
  Ge as b,
8696
- gd as b$,
8711
+ pd as b$,
8697
8712
  Qc as b0,
8698
8713
  kc as b1,
8699
8714
  Rc as b2,
@@ -8707,7 +8722,7 @@ export {
8707
8722
  ho as bA,
8708
8723
  hi as bB,
8709
8724
  ft as bC,
8710
- Ld as bD,
8725
+ Pd as bD,
8711
8726
  lo as bE,
8712
8727
  xc as bF,
8713
8728
  Pt as bG,
@@ -8719,42 +8734,42 @@ export {
8719
8734
  Ps as bM,
8720
8735
  As as bN,
8721
8736
  Ns as bO,
8722
- Pd as bP,
8737
+ Md as bP,
8723
8738
  xt as bQ,
8724
- yd as bR,
8739
+ gd as bR,
8725
8740
  Cu as bS,
8726
8741
  Zi as bT,
8727
8742
  xu as bU,
8728
8743
  bu as bV,
8729
- Gd as bW,
8730
- Ud as bX,
8744
+ Ud as bW,
8745
+ Yd as bX,
8731
8746
  Uc as bY,
8732
8747
  Zs as bZ,
8733
8748
  Wi as b_,
8734
8749
  Bn as ba,
8735
8750
  ao as bb,
8736
- zd as bc,
8751
+ Wd as bc,
8737
8752
  Fc as bd,
8738
8753
  fa as be,
8739
8754
  Ee as bf,
8740
8755
  fr as bg,
8741
- Bd as bh,
8756
+ Nd as bh,
8742
8757
  mr as bi,
8743
8758
  Yc as bj,
8744
8759
  Ft as bk,
8745
8760
  mo as bl,
8746
- pd as bm,
8761
+ hd as bm,
8747
8762
  ha as bn,
8748
8763
  Pe as bo,
8749
8764
  no as bp,
8750
- Cd as bq,
8765
+ vd as bq,
8751
8766
  bc as br,
8752
8767
  ma as bs,
8753
8768
  mn as bt,
8754
- vd as bu,
8755
- wd as bv,
8769
+ Bd as bu,
8770
+ Ld as bv,
8756
8771
  Qt as bw,
8757
- Rd as bx,
8772
+ $d as bx,
8758
8773
  Fo as by,
8759
8774
  bo as bz,
8760
8775
  Ls as c,
@@ -8763,39 +8778,39 @@ export {
8763
8778
  Sn as c1,
8764
8779
  gu as c2,
8765
8780
  Fn as c3,
8766
- Wd as c4,
8781
+ Gd as c4,
8767
8782
  td as c5,
8768
8783
  cc as c6,
8769
8784
  sd as c7,
8770
- Qd as c8,
8785
+ _d as c8,
8771
8786
  nd as c9,
8772
8787
  bt as cA,
8773
8788
  al as cB,
8774
- Md as cC,
8789
+ Dd as cC,
8775
8790
  Sc as cD,
8776
8791
  Oi as cE,
8777
8792
  oc as cF,
8778
8793
  yc as cG,
8779
- ld as cH,
8780
- lc as cI,
8781
- Od as cJ,
8782
- uc as cK,
8783
- ud as cL,
8784
- ii as cM,
8785
- pt as cN,
8786
- dn as cO,
8787
- Jc as cP,
8788
- md as cQ,
8789
- We as cR,
8790
- $i as cS,
8791
- wa as cT,
8792
- Dd as cU,
8793
- ad as cV,
8794
- Hd as cW,
8795
- Jn as cX,
8796
- rd as cY,
8797
- xe as cZ,
8798
- $d as c_,
8794
+ Od as cH,
8795
+ ld as cI,
8796
+ lc as cJ,
8797
+ Id as cK,
8798
+ uc as cL,
8799
+ ud as cM,
8800
+ ii as cN,
8801
+ pt as cO,
8802
+ dn as cP,
8803
+ Jc as cQ,
8804
+ yd as cR,
8805
+ We as cS,
8806
+ $i as cT,
8807
+ dd as cU,
8808
+ wa as cV,
8809
+ ad as cW,
8810
+ zd as cX,
8811
+ Jn as cY,
8812
+ rd as cZ,
8813
+ xe as c_,
8799
8814
  Zn as ca,
8800
8815
  Et as cb,
8801
8816
  cn as cc,
@@ -8821,20 +8836,21 @@ export {
8821
8836
  Oo as cw,
8822
8837
  gc as cx,
8823
8838
  pc as cy,
8824
- jd as cz,
8839
+ Hd as cz,
8825
8840
  Bc as d,
8826
- _d as d0,
8827
- Io as d1,
8828
- id as d2,
8829
- Hn as d3,
8830
- yi as d4,
8831
- ur as d5,
8841
+ Qd as d0,
8842
+ jd as d1,
8843
+ Io as d2,
8844
+ id as d3,
8845
+ Hn as d4,
8846
+ yi as d5,
8847
+ ur as d6,
8832
8848
  Ha as e,
8833
8849
  Zc as f,
8834
8850
  Qe as g,
8835
8851
  Y as h,
8836
- Ed as i,
8837
- Zd as j,
8852
+ qd as i,
8853
+ Xd as j,
8838
8854
  dc as k,
8839
8855
  fc as l,
8840
8856
  ce as m,