@arcgis/charts-components 5.1.0-next.84 → 5.1.0-next.85

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 (143) hide show
  1. package/dist/cdn/{VOZZX4SC.js → 3DN4ZRPN.js} +1 -1
  2. package/dist/cdn/{ZSJC4C5P.js → 3EZT4DMV.js} +1 -1
  3. package/dist/cdn/{HNRCM6PK.js → 45UZ5A2P.js} +1 -1
  4. package/dist/cdn/{XCH5CHGV.js → 4JYFPXNP.js} +1 -1
  5. package/dist/cdn/{HB3WXSA7.js → 4M44GUGJ.js} +1 -1
  6. package/dist/cdn/{ULGNP3WR.js → 4NGF4CFB.js} +1 -1
  7. package/dist/cdn/{HEAWMKHN.js → 4T6ARKXI.js} +1 -1
  8. package/dist/cdn/{R74T42O6.js → 54XEB3TI.js} +1 -1
  9. package/dist/cdn/{J357ZCYM.js → 5FR6VDUA.js} +1 -1
  10. package/dist/cdn/{PIGPI5SJ.js → 5JYTP6ED.js} +1 -1
  11. package/dist/cdn/{ZXKZQC6E.js → 5KBAXDQP.js} +1 -1
  12. package/dist/cdn/{XPZSWUPI.js → 64LZP4QQ.js} +1 -1
  13. package/dist/cdn/{SIY3MF6J.js → 6LEDHDVS.js} +1 -1
  14. package/dist/cdn/{6X22GKZU.js → 6WHMWFQV.js} +1 -1
  15. package/dist/cdn/{KLTZSPJS.js → 6ZQWP3MJ.js} +1 -1
  16. package/dist/cdn/{XGZGBDH5.js → 7CQDF63V.js} +1 -1
  17. package/dist/cdn/{XAVBJXBP.js → 7HR7XH2G.js} +1 -1
  18. package/dist/cdn/{QQCHTR6B.js → 7R74WZE5.js} +1 -1
  19. package/dist/cdn/{U3NL6ZC7.js → ABINJ3BK.js} +1 -1
  20. package/dist/cdn/{A37H3SVA.js → ADAJBZRP.js} +1 -1
  21. package/dist/cdn/{VIGSYW5X.js → AU5I6VM4.js} +1 -1
  22. package/dist/cdn/{3ENPK57S.js → BCCYIEWA.js} +1 -1
  23. package/dist/cdn/{WFN7BG5G.js → CRP74XRF.js} +1 -1
  24. package/dist/cdn/{DAEYP26T.js → DCK2YGKJ.js} +1 -1
  25. package/dist/cdn/{E733Z33T.js → DJ2U4EHB.js} +1 -1
  26. package/dist/cdn/{MRB3I6TM.js → DLKG6DVQ.js} +1 -1
  27. package/dist/cdn/{UCBDTBOD.js → DMFLHZHN.js} +1 -1
  28. package/dist/cdn/{AZUSRKOK.js → E2TM7BJP.js} +1 -1
  29. package/dist/cdn/{6KRLGANY.js → EF2W7QYA.js} +1 -1
  30. package/dist/cdn/{VSKGD2H4.js → EPJKU44A.js} +1 -1
  31. package/dist/cdn/{IW6D7QUP.js → EQTKAWX7.js} +1 -1
  32. package/dist/cdn/{I5EYVSC2.js → ESPYLUAE.js} +1 -1
  33. package/dist/cdn/{WCSDJWVC.js → G6DYYIOL.js} +1 -1
  34. package/dist/cdn/{NUBTEI5P.js → G7SW4EUO.js} +1 -1
  35. package/dist/cdn/{A7PUR6B2.js → GY72PUJO.js} +1 -1
  36. package/dist/cdn/{2RUIYTX4.js → H6CD2WG5.js} +1 -1
  37. package/dist/cdn/{MUCTAJAG.js → HLWXN26K.js} +1 -1
  38. package/dist/cdn/{RVEMMJHP.js → I346TCJF.js} +1 -1
  39. package/dist/cdn/{MA53AIOL.js → I3F7HHTI.js} +1 -1
  40. package/dist/cdn/{Q7U7KMOE.js → IWIH7WUN.js} +1 -1
  41. package/dist/cdn/{EHHYQUKT.js → JKNNRHD2.js} +1 -1
  42. package/dist/cdn/{JXBYGJRQ.js → KOP2PBMW.js} +1 -1
  43. package/dist/cdn/{GK2JCOKX.js → KQPSYN5C.js} +1 -1
  44. package/dist/cdn/{DCOCX4D6.js → LNB6B5WL.js} +1 -1
  45. package/dist/cdn/{Z53U2R2U.js → LQGOVHK5.js} +1 -1
  46. package/dist/cdn/{WG4J7XHM.js → MO6SHL7R.js} +1 -1
  47. package/dist/cdn/{LSE7GMZ6.js → MPEXW6QX.js} +1 -1
  48. package/dist/cdn/{P4DMPP4G.js → N333UOH4.js} +1 -1
  49. package/dist/cdn/{I5UUCCC5.js → NFHOSKHP.js} +1 -1
  50. package/dist/cdn/{ENGJY4XN.js → NG4T3CM7.js} +1 -1
  51. package/dist/cdn/{DBMK3K5J.js → NGG777T3.js} +2 -2
  52. package/dist/cdn/{QAAONBNI.js → NSIRDSJE.js} +1 -1
  53. package/dist/cdn/{7QNNDM54.js → NT6PM5XH.js} +1 -1
  54. package/dist/cdn/{FMOLT3GH.js → OFVDF7MK.js} +1 -1
  55. package/dist/cdn/{BI2BTX6M.js → PNDSQQ5E.js} +1 -1
  56. package/dist/cdn/{RLF3QXNC.js → PNXMBMZW.js} +1 -1
  57. package/dist/cdn/{HDA4WG3T.js → PVGB35UN.js} +1 -1
  58. package/dist/cdn/{N34MP7DE.js → Q5N7EDBG.js} +1 -1
  59. package/dist/cdn/{VPJR5TYG.js → QBGYIPDE.js} +3 -3
  60. package/dist/cdn/{6JAQZNJM.js → QXUDRWYI.js} +1 -1
  61. package/dist/cdn/{Z4TNNRFO.js → R3KMZ5JQ.js} +1 -1
  62. package/dist/cdn/{BLWTWQ27.js → RL2K7DDP.js} +1 -1
  63. package/dist/cdn/{SVXM5HWY.js → SL2YX32M.js} +1 -1
  64. package/dist/cdn/{DEJQRJHG.js → SN3JJXMR.js} +1 -1
  65. package/dist/cdn/{CHYSUXBV.js → SUAG7EYU.js} +1 -1
  66. package/dist/cdn/{4OTBWSQH.js → TMCW2LUV.js} +1 -1
  67. package/dist/cdn/{3NHV7E4U.js → TQNTRGWQ.js} +3 -3
  68. package/dist/cdn/{DN5VSX3A.js → TRBZZLQ4.js} +1 -1
  69. package/dist/cdn/{4CH2EYXV.js → TUAKPBN6.js} +1 -1
  70. package/dist/cdn/{TOPPLLVP.js → TXUK6Z75.js} +1 -1
  71. package/dist/cdn/{54ECMYNJ.js → U436QJR4.js} +1 -1
  72. package/dist/cdn/{KQCLLXOY.js → UE5DMUQ3.js} +1 -1
  73. package/dist/cdn/{YFP2CYXB.js → UP66E6QT.js} +1 -1
  74. package/dist/cdn/{B3DSGL3M.js → UUKLISLI.js} +1 -1
  75. package/dist/cdn/{U2I2Z3Y5.js → UVWAABXY.js} +1 -1
  76. package/dist/cdn/{ATR6WXMN.js → VF57GKNK.js} +1 -1
  77. package/dist/cdn/{I6C5TW36.js → VICPGXIO.js} +1 -1
  78. package/dist/cdn/{IGFS6UYZ.js → WAOI2ELL.js} +1 -1
  79. package/dist/cdn/{BVCSABY7.js → X43NGKXD.js} +1 -1
  80. package/dist/cdn/{KNDQ7NQP.js → XBPOWLBI.js} +1 -1
  81. package/dist/cdn/{WZ66AYP5.js → XDQXFURT.js} +1 -1
  82. package/dist/cdn/{M33FWGOW.js → XP5EHKK5.js} +1 -1
  83. package/dist/cdn/{6CMTJKSD.js → XXZLJJUD.js} +1 -1
  84. package/dist/cdn/{QZOCPM4T.js → YDR7QMVT.js} +1 -1
  85. package/dist/cdn/{AWBJOD47.js → YPCD27EC.js} +1 -1
  86. package/dist/cdn/{XLLR24SE.js → YWCBY5V6.js} +1 -1
  87. package/dist/cdn/{Z7K6264D.js → ZXHUZALT.js} +1 -1
  88. package/dist/cdn/{ZG7D2EZ6.js → ZZ6ZKTOB.js} +1 -1
  89. package/dist/cdn/index.js +1 -1
  90. package/dist/chunks/action-bar-utils.js +7 -7
  91. package/dist/chunks/bar-chart-model.js +1 -1
  92. package/dist/chunks/box-plot-data.js +18 -18
  93. package/dist/chunks/box-plot-model.js +8 -8
  94. package/dist/chunks/chart-model.js +9 -9
  95. package/dist/chunks/chart-ui-utils2.js +1 -1
  96. package/dist/chunks/class-breaks.js +5 -5
  97. package/dist/chunks/data.js +12 -12
  98. package/dist/chunks/heat-chart-model.js +8 -8
  99. package/dist/chunks/histogram-data.js +1 -1
  100. package/dist/chunks/index.js +1041 -991
  101. package/dist/chunks/index2.js +42 -42
  102. package/dist/chunks/line-chart-model.js +1 -1
  103. package/dist/chunks/pie-chart-data.js +5 -5
  104. package/dist/chunks/pie-chart-model.js +1 -1
  105. package/dist/chunks/radar-chart-model.js +1 -1
  106. package/dist/chunks/rotated-state.js +1 -1
  107. package/dist/chunks/scatterplot-model.js +9 -9
  108. package/dist/chunks/serial-chart-data.js +77 -77
  109. package/dist/chunks/serial-chart-model.js +16 -16
  110. package/dist/chunks/series-length.js +1 -1
  111. package/dist/chunks/utils.js +11 -11
  112. package/dist/chunks/web-component-utils.js +11 -11
  113. package/dist/components/arcgis-chart/customElement.js +5 -3
  114. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  115. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  116. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -10
  117. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  118. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  119. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  120. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  121. package/dist/components/arcgis-charts-config-create-flow/customElement.js +4 -4
  122. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  123. package/dist/components/arcgis-charts-config-guide/customElement.js +2 -2
  124. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  125. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +5 -5
  126. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -5
  127. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  128. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  129. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +8 -8
  130. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  131. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +5 -5
  132. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  133. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  134. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  136. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  137. package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
  138. package/dist/docs/api.json +1 -1
  139. package/dist/docs/docs.json +1 -1
  140. package/dist/docs/web-types.json +1 -1
  141. package/dist/index.js +283 -282
  142. package/dist/utils/misc/index.d.ts +1 -1
  143. package/package.json +3 -3
@@ -1,41 +1,41 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { computeStatisticsHistograms as ea, fetchPixelFeatureSet as ta, computeRasterAttributeTable as ia } from "@arcgis/core/applications/Components/imageryUtils.js";
3
- import gr from "@arcgis/core/geometry/Extent.js";
2
+ import { fetchT9nStringsBundle as Re, getElementLocale as Ae, supportedLocales as gr } from "@arcgis/toolkit/intl";
3
+ import { cloneDeep as wt, isEmpty as br, isEqual as $e, memoize as $i, sortBy as Ji, isArray as qi, isNil as ea } from "lodash-es";
4
+ import { DateTime as xe } from "luxon";
5
+ import { u as y, r as I, t as re, p as ne, n as ve, k as li, m as Ce, s as $, q as Ie, a as Ei, S as ta, g as ee, l as ia, w as q, j as ra, d as Te, v as dt, G as na } from "./series-types.js";
4
6
  import "@arcgis/toolkit/type";
5
- import { u as y, r as I, t as re, p as ne, n as ve, k as li, m as Ce, s as $, q as Ie, a as $i, S as ra, g as ee, l as na, w as q, j as aa, d as Te, v as dt, G as sa } from "./series-types.js";
6
7
  import { g as pt, i as X, d as K, f as He, h as Ve, k as te, e as fe, R as Q, j as xt } from "./rest-js-object-literals.js";
7
- import * as br from "@arcgis/core/geometry/support/jsonUtils.js";
8
- import oa from "@arcgis/core/rest/support/AttributeBinsQuery.js";
9
- import la from "@arcgis/core/rest/support/Query.js";
10
- import da from "@arcgis/core/rest/support/StatisticDefinition.js";
11
- import Sr from "@arcgis/core/time/TimeExtent.js";
12
- import ca from "@arcgis/core/layers/FeatureLayer.js";
13
- import pa from "@arcgis/core/layers/support/CodedValueDomain.js";
14
- import ua from "@arcgis/core/layers/support/Field.js";
15
- import * as fa from "@arcgis/core/layers/support/fieldUtils.js";
16
- import ya from "@arcgis/core/portal/Portal.js";
17
- import * as xr from "@arcgis/core/renderers/support/jsonUtils.js";
8
+ import aa from "@arcgis/core/Graphic.js";
9
+ import * as Sr from "@arcgis/core/renderers/support/jsonUtils.js";
10
+ import * as xi from "@arcgis/core/symbols/support/symbolUtils.js";
11
+ import * as xr from "@arcgis/core/geometry/support/jsonUtils.js";
12
+ import sa from "@arcgis/core/layers/FeatureLayer.js";
13
+ import oa from "@arcgis/core/layers/support/CodedValueDomain.js";
14
+ import la from "@arcgis/core/layers/support/Field.js";
15
+ import * as da from "@arcgis/core/layers/support/fieldUtils.js";
16
+ import ca from "@arcgis/core/portal/Portal.js";
18
17
  import ti from "@arcgis/core/request.js";
19
18
  import vr from "@arcgis/core/rest/support/FeatureSet.js";
20
- import { cloneDeep as wt, isEmpty as Cr, isEqual as Re, memoize as qi, sortBy as Ji, isArray as Ei, isNil as ha } from "lodash-es";
21
- import { fetchT9nStringsBundle as $e, getElementLocale as Ae, supportedLocales as Fr } from "@arcgis/toolkit/intl";
22
- import { DateTime as xe } from "luxon";
23
- import ma from "@arcgis/core/Graphic.js";
24
- import * as xi from "@arcgis/core/symbols/support/symbolUtils.js";
25
- import ga from "@esri/arcgis-html-sanitizer";
19
+ import pa from "@esri/arcgis-html-sanitizer";
26
20
  import Ki from "@arcgis/core/layers/support/FeatureFilter.js";
27
- import ba from "@arcgis/core/smartMapping/statistics/histogram.js";
21
+ import ua from "@arcgis/core/smartMapping/statistics/histogram.js";
28
22
  import Xi from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
29
- import Sa from "@arcgis/core/AttributeBinsGraphic.js";
23
+ import fa from "@arcgis/core/AttributeBinsGraphic.js";
30
24
  import { substitute as ie } from "@arcgis/core/intl.js";
31
- import { linearRegression as xa, linearRegressionLine as va, rSquared as Ca } from "simple-statistics";
32
- import { sqlLiteral as Fa } from "@arcgis/core/core/sql.js";
33
- import * as wr from "@arcgis/core/core/promiseUtils.js";
25
+ import { linearRegression as ya, linearRegressionLine as ha, rSquared as ma } from "simple-statistics";
26
+ import { sqlLiteral as ga } from "@arcgis/core/core/sql.js";
27
+ import ba from "@arcgis/core/rest/support/AttributeBinsQuery.js";
28
+ import Sa from "@arcgis/core/rest/support/Query.js";
29
+ import xa from "@arcgis/core/rest/support/StatisticDefinition.js";
30
+ import Cr from "@arcgis/core/time/TimeExtent.js";
31
+ import * as Fr from "@arcgis/core/core/promiseUtils.js";
34
32
  import { g as qe } from "./runtime.js";
35
- import wa from "ajv";
33
+ import va from "ajv";
34
+ import { computeStatisticsHistograms as Ca, computeRasterAttributeTable as Fa, fetchPixelFeatureSet as wa } from "@arcgis/core/applications/Components/imageryUtils.js";
36
35
  import Ta from "@arcgis/core/layers/ImageryLayer.js";
37
36
  import Ia from "@arcgis/core/layers/ImageryTileLayer.js";
38
37
  import Aa from "@arcgis/core/geometry/Point.js";
38
+ import wr from "@arcgis/core/geometry/Extent.js";
39
39
  import { unsafeGetElementDirection as Ba } from "@arcgis/toolkit/dom";
40
40
  const Ye = "25.0.0", me = "arcgis_charts_pie_from_fields_name", De = "arcgis_charts_pie_from_fields_value", La = "arcgis_charts_bar_line_from_fields_name", Da = "arcgis_charts_bar_line_from_fields_value", je = {
41
41
  Mean: "Mean",
@@ -55,13 +55,13 @@ function Na(t, e) {
55
55
  function ke(t) {
56
56
  return t.axes?.[0]?.valueFormat?.type;
57
57
  }
58
- function up(t) {
58
+ function hp(t) {
59
59
  return t.intlOptions;
60
60
  }
61
61
  function ce(t) {
62
62
  return t?.type === y.NumberAxisFormat;
63
63
  }
64
- function fp(t) {
64
+ function mp(t) {
65
65
  return ce(t) && t.intlOptions?.style === "percent";
66
66
  }
67
67
  function ze(t) {
@@ -70,7 +70,7 @@ function ze(t) {
70
70
  function ct(t) {
71
71
  return t?.type === y.DateAxisFormat;
72
72
  }
73
- function yp(t) {
73
+ function gp(t) {
74
74
  const { oldConfig: e, newConfig: i, rotationChanged: r } = t;
75
75
  return r ? [!0, !0] : [
76
76
  e.horizontalAxisLabelsBehavior !== i.horizontalAxisLabelsBehavior,
@@ -101,7 +101,7 @@ function Ea(t) {
101
101
  function ka(t) {
102
102
  return ce(t?.[0]?.valueFormat);
103
103
  }
104
- function hp(t) {
104
+ function bp(t) {
105
105
  const { chartType: e, axesConfig: i, errorStrings: r } = t;
106
106
  let n, a;
107
107
  switch (e) {
@@ -142,7 +142,7 @@ const Va = {
142
142
  MultiSelectionWithCtrlKey: "multiSelectionWithCtrlKey",
143
143
  Zoom: "zoom",
144
144
  None: "none"
145
- }, mp = {
145
+ }, Sp = {
146
146
  MultiAxes: "multi-axes",
147
147
  XAxis: "x-axis",
148
148
  YAxis: "y-axis"
@@ -165,7 +165,7 @@ const Va = {
165
165
  maxRecords: 2e3,
166
166
  orderByJSAPIDelimiter: " ",
167
167
  outStatistics: {
168
- statisticType: $i.statisticType,
168
+ statisticType: Ei.statisticType,
169
169
  onStatisticField: "OBJECTID",
170
170
  outStatisticFieldName: "arcgis_charts_outStatisticFieldName_default_key"
171
171
  },
@@ -173,7 +173,7 @@ const Va = {
173
173
  heatChartLowerBoundaryAlias: "lowerBoundary5x1",
174
174
  heatChartUpperBoundaryAlias: "upperBoundary5x1",
175
175
  defaultStatParameterValue: 0.5
176
- }, Tr = ["EXPR_1", "Expr1", "expr1", "EXPR1"], gp = 1, ge = 0.7, za = 25, Ir = [156, 156, 156, 255], _a = [156, 156, 156, 255], bp = pt.Solid, Sp = 2, ii = {
176
+ }, Tr = ["EXPR_1", "Expr1", "expr1", "EXPR1"], xp = 1, ge = 0.7, za = 25, Ir = [156, 156, 156, 255], _a = [156, 156, 156, 255], vp = pt.Solid, Cp = 2, ii = {
177
177
  defaultGroupOfSlicesId: "arcgis_charts_group_of_slices",
178
178
  sliceIdPrefix: "arcgis-charts-slice-id",
179
179
  undefinedSliceId: "arcgis-charts-slice-id-undefined",
@@ -183,7 +183,7 @@ const Va = {
183
183
  valueField: "arcgis_charts_heat_chart_value",
184
184
  xField: "arcgis_charts_heat_chart_x",
185
185
  yField: "arcgis_charts_heat_chart_y"
186
- }, xp = {
186
+ }, Fp = {
187
187
  min: 1,
188
188
  max: 10
189
189
  }, Ga = [
@@ -197,7 +197,7 @@ const Va = {
197
197
  [253, 191, 111, 255],
198
198
  [106, 61, 154, 255],
199
199
  [202, 178, 214, 255]
200
- ], vp = [
200
+ ], wp = [
201
201
  [90, 180, 255, 255],
202
202
  // blue
203
203
  [165, 220, 255, 255],
@@ -223,7 +223,7 @@ const Va = {
223
223
  [51, 124, 235, 255],
224
224
  [132, 0, 168, 255],
225
225
  [156, 156, 156, 255]
226
- ], Cp = [
226
+ ], Tp = [
227
227
  [104, 104, 104, 255],
228
228
  // std deviation – neutral gray
229
229
  [51, 124, 235, 255],
@@ -232,7 +232,7 @@ const Va = {
232
232
  // median – lighter purple
233
233
  [156, 156, 156, 255]
234
234
  // normal curve – subtle light gray
235
- ], Fp = [255, 255, 255, 255], wp = [43, 43, 43, 255], Tp = [0, 122, 194, 255], Ip = [255, 255, 255, 255], Ap = [0, 0, 0, 255], Kt = [150, 150, 150, 178.5];
235
+ ], Ip = [255, 255, 255, 255], Ap = [43, 43, 43, 255], Bp = [0, 122, 194, 255], Lp = [255, 255, 255, 255], Dp = [0, 0, 0, 255], Kt = [150, 150, 150, 178.5];
236
236
  function Be(t) {
237
237
  const { colorIndex: e, opacity: i, histogramOverlays: r } = t, n = Math.max(0, e ?? 0), a = [...r === !0 ? Ua : Ga], [s, o, d, l] = a[n % a.length], c = i !== void 0 ? i * 255 : l;
238
238
  return [s, o, d, c];
@@ -240,7 +240,7 @@ function Be(t) {
240
240
  function Ar(t) {
241
241
  return [0, 0, 0, (t ?? ge) * 255];
242
242
  }
243
- function Bp() {
243
+ function Np() {
244
244
  return {
245
245
  type: y.CursorCrosshair,
246
246
  verticalLineVisible: !1,
@@ -326,7 +326,7 @@ function Ha() {
326
326
  characterLimit: 11
327
327
  };
328
328
  }
329
- function Lp() {
329
+ function Op() {
330
330
  return {
331
331
  type: y.DateAxisFormat,
332
332
  intlOptions: {}
@@ -343,7 +343,7 @@ function wi() {
343
343
  }
344
344
  };
345
345
  }
346
- function Dp() {
346
+ function Pp() {
347
347
  return {
348
348
  type: y.NumberAxisFormat,
349
349
  intlOptions: {
@@ -353,7 +353,7 @@ function Dp() {
353
353
  }
354
354
  };
355
355
  }
356
- function Np() {
356
+ function Mp() {
357
357
  return {
358
358
  type: y.NumberAxisFormat,
359
359
  intlOptions: {
@@ -436,7 +436,7 @@ function Je(t) {
436
436
  function We() {
437
437
  return `Chart ${Date.now()}`;
438
438
  }
439
- function Op(t, e = !1) {
439
+ function Rp(t, e = !1) {
440
440
  return {
441
441
  type: X.SFS,
442
442
  style: He.Solid,
@@ -476,11 +476,11 @@ function Ja(t = !1) {
476
476
  size: 7
477
477
  };
478
478
  }
479
- function Pp() {
479
+ function $p() {
480
480
  return {
481
481
  type: y.SizePolicy,
482
482
  field: "",
483
- scaleType: ra.Linear,
483
+ scaleType: ta.Linear,
484
484
  minSize: 5,
485
485
  maxSize: 30
486
486
  };
@@ -626,7 +626,7 @@ function is(t) {
626
626
  }
627
627
  };
628
628
  }
629
- function Mp(t) {
629
+ function qp(t) {
630
630
  return { ...is(t), type: y.RadarSeries };
631
631
  }
632
632
  function rs(t) {
@@ -639,7 +639,7 @@ function rs(t) {
639
639
  })
640
640
  };
641
641
  }
642
- function Rp(t) {
642
+ function Ep(t) {
643
643
  const e = t.objectIDField ?? "*", i = t.commonStrings, r = `${I.Count}_Y_0`.toUpperCase(), n = i.countSeries;
644
644
  return {
645
645
  type: y.BarSeries,
@@ -666,7 +666,7 @@ function Rp(t) {
666
666
  })
667
667
  };
668
668
  }
669
- function $p(t, e) {
669
+ function kp(t, e) {
670
670
  const i = t.countSeries;
671
671
  return {
672
672
  name: i,
@@ -701,7 +701,7 @@ function as() {
701
701
  style: He.Solid
702
702
  };
703
703
  }
704
- function qp(t, e) {
704
+ function Wp(t, e) {
705
705
  const i = `${I.Count}_${e}_0`.toUpperCase(), r = t.countSeries;
706
706
  return {
707
707
  type: y.PieSeries,
@@ -749,7 +749,7 @@ function qp(t, e) {
749
749
  ticks: ns()
750
750
  };
751
751
  }
752
- function Ep(t) {
752
+ function Vp(t) {
753
753
  const e = t.objectIDField ?? "ObjectID", i = `${I.Count}_${e}_0`.toUpperCase(), r = "Series0";
754
754
  return {
755
755
  type: y.GaugeSeries,
@@ -770,7 +770,7 @@ function Ep(t) {
770
770
  function Mt() {
771
771
  return !1;
772
772
  }
773
- function kp(t, e = We()) {
773
+ function jp(t, e = We()) {
774
774
  return {
775
775
  version: Ye,
776
776
  type: y.Chart,
@@ -800,7 +800,7 @@ function kp(t, e = We()) {
800
800
  legend: nt()
801
801
  };
802
802
  }
803
- function Wp(t, e = We()) {
803
+ function zp(t, e = We()) {
804
804
  return {
805
805
  version: Ye,
806
806
  type: y.Chart,
@@ -832,7 +832,7 @@ function Wp(t, e = We()) {
832
832
  showOutliers: !1
833
833
  };
834
834
  }
835
- function Vp(t, e = We()) {
835
+ function _p(t, e = We()) {
836
836
  return {
837
837
  version: Ye,
838
838
  type: y.Chart,
@@ -862,7 +862,7 @@ function Vp(t, e = We()) {
862
862
  legend: nt()
863
863
  };
864
864
  }
865
- function jp(t, e = We()) {
865
+ function Gp(t, e = We()) {
866
866
  return {
867
867
  version: Ye,
868
868
  type: y.Chart,
@@ -891,7 +891,7 @@ function jp(t, e = We()) {
891
891
  legend: nt()
892
892
  };
893
893
  }
894
- function zp(t, e = We()) {
894
+ function Up(t, e = We()) {
895
895
  return {
896
896
  version: Ye,
897
897
  type: y.Chart,
@@ -923,7 +923,7 @@ function zp(t, e = We()) {
923
923
  }
924
924
  };
925
925
  }
926
- function _p(t, e = We()) {
926
+ function Hp(t, e = We()) {
927
927
  return {
928
928
  version: Ye,
929
929
  type: y.Chart,
@@ -938,7 +938,7 @@ function _p(t, e = We()) {
938
938
  axes: ts(t)
939
939
  };
940
940
  }
941
- function Gp(t, e = We()) {
941
+ function Qp(t, e = We()) {
942
942
  return {
943
943
  version: Ye,
944
944
  type: y.Chart,
@@ -961,7 +961,7 @@ function Gp(t, e = We()) {
961
961
  legend: nt()
962
962
  };
963
963
  }
964
- function Up(t, e) {
964
+ function Yp(t, e) {
965
965
  return {
966
966
  version: Ye,
967
967
  type: y.Chart,
@@ -1014,7 +1014,7 @@ function ls() {
1014
1014
  })
1015
1015
  };
1016
1016
  }
1017
- function Hp(t, e = We()) {
1017
+ function Jp(t, e = We()) {
1018
1018
  return {
1019
1019
  version: Ye,
1020
1020
  type: y.Chart,
@@ -1126,7 +1126,7 @@ function ci() {
1126
1126
  maxOperandsPerWhereClause: 50
1127
1127
  };
1128
1128
  }
1129
- function Qp(t, e) {
1129
+ function Kp(t, e) {
1130
1130
  let i;
1131
1131
  switch (t) {
1132
1132
  case I.Average: {
@@ -1169,7 +1169,7 @@ function Qp(t, e) {
1169
1169
  }
1170
1170
  return i;
1171
1171
  }
1172
- function Yp(t, e) {
1172
+ function Xp(t, e) {
1173
1173
  let i;
1174
1174
  switch (t) {
1175
1175
  case re.End: {
@@ -1189,10 +1189,10 @@ function Yp(t, e) {
1189
1189
  function ds() {
1190
1190
  return Ie.Side;
1191
1191
  }
1192
- function Jp(t) {
1192
+ function Zp(t) {
1193
1193
  return t.utilsStrings.notAvailable;
1194
1194
  }
1195
- const cs = 0, ps = "_arcgis_charts_outliers", us = "_arcgis_charts_z_score", Kp = [210, 210, 210, 255 * ge], Xp = " percentage ", Zp = {
1195
+ const cs = 0, ps = "_arcgis_charts_outliers", us = "_arcgis_charts_z_score", eu = [210, 210, 210, 255 * ge], tu = " percentage ", iu = {
1196
1196
  getChartId: We,
1197
1197
  getDefaultCategoryAxis: Xt
1198
1198
  }, C = {
@@ -1450,7 +1450,7 @@ const cs = 0, ps = "_arcgis_charts_outliers", us = "_arcgis_charts_z_score", Kp
1450
1450
  lineSeries: {
1451
1451
  strokeWidth: 2,
1452
1452
  lineSmoothed: !1,
1453
- lineSmoothedKind: na.Bezier,
1453
+ lineSmoothedKind: ia.Bezier,
1454
1454
  showArea: !1,
1455
1455
  areaOpacity: 0.25,
1456
1456
  markerVisible: !0,
@@ -1680,22 +1680,22 @@ function mt(t) {
1680
1680
  bubbles: !0
1681
1681
  };
1682
1682
  }
1683
- function eu(t, e) {
1683
+ function ru(t, e) {
1684
1684
  e && e.dispatchEvent(
1685
1685
  new window.CustomEvent(ht.LegendItemVisibilityChange, mt(t))
1686
1686
  );
1687
1687
  }
1688
- function tu(t) {
1688
+ function nu(t) {
1689
1689
  t && t.dispatchEvent(new window.CustomEvent(ht.RenderingComplete, mt()));
1690
1690
  }
1691
- function iu(t) {
1691
+ function au(t) {
1692
1692
  const { data: e, htmlContainer: i } = t;
1693
1693
  i && i.dispatchEvent(new window.CustomEvent(ht.SelectionComplete, mt(e)));
1694
1694
  }
1695
- function ru(t) {
1695
+ function su(t) {
1696
1696
  t && t.dispatchEvent(new window.CustomEvent(ht.TooManySelectedElements, mt()));
1697
1697
  }
1698
- function nu(t) {
1698
+ function ou(t) {
1699
1699
  const { data: e, htmlContainer: i, chartId: r, colorMatchApplied: n } = t;
1700
1700
  i && i.dispatchEvent(
1701
1701
  new window.CustomEvent(
@@ -1708,7 +1708,7 @@ function nu(t) {
1708
1708
  )
1709
1709
  );
1710
1710
  }
1711
- function au(t, e) {
1711
+ function lu(t, e) {
1712
1712
  e && e.dispatchEvent(new window.CustomEvent(ht.AxesMinMaxChange, mt(t)));
1713
1713
  }
1714
1714
  function fs(t) {
@@ -1718,7 +1718,7 @@ function fs(t) {
1718
1718
  function ys(t) {
1719
1719
  return t !== void 0 && t !== He.Solid && t !== He.Null;
1720
1720
  }
1721
- function su(t, e) {
1721
+ function du(t, e) {
1722
1722
  let i = "";
1723
1723
  const a = (e ?? 0) / 2, s = 0 - a, o = 0 + a, d = 0 - a, l = 0 + a;
1724
1724
  switch (t) {
@@ -2063,7 +2063,7 @@ function Fs(t) {
2063
2063
  }
2064
2064
  return e;
2065
2065
  }
2066
- function ou(t) {
2066
+ function cu(t) {
2067
2067
  let e;
2068
2068
  if (Fs(t)) {
2069
2069
  const i = /%(\d{1,3}(.\d+)?)$/u, r = /(\d{1,3}(.\d+)?)%$/u, n = t.replace(" ", ""), a = i.exec(n)?.[1] ?? r.exec(n)?.[1];
@@ -2076,10 +2076,10 @@ function ws(t) {
2076
2076
  let n = e;
2077
2077
  return typeof i == "number" && Number.isFinite(i) && i > 0 && i < e.length && (n = e.slice(0, i), n = `${n}${r}`), n;
2078
2078
  }
2079
- function lu(t, e = ":") {
2079
+ function pu(t, e = ":") {
2080
2080
  return t ? `‏${e}` : `‎${e}`;
2081
2081
  }
2082
- function du(t) {
2082
+ function uu(t) {
2083
2083
  return (i) => {
2084
2084
  let r = typeof i != "string" ? i?.toString() ?? "" : i;
2085
2085
  return !ae(r) && r !== C.htmlEmptyContent && (r = ws({
@@ -2100,12 +2100,12 @@ function As(t, e) {
2100
2100
  let i = "";
2101
2101
  return t === !0 && (i = `${e === "amChartsV5" ? "letterSpacing" : "letter-spacing"}:1px;`), i;
2102
2102
  }
2103
- function cu(t) {
2103
+ function fu(t) {
2104
2104
  const { textSymbol: e, placeholderString: i, format: r, axisLabelsBehavior: n, defaults: a } = t, s = Is(e?.font?.style, r), o = As(e?.kerning, r);
2105
2105
  let d = i ?? e?.text ?? "";
2106
2106
  if (r === "html") {
2107
2107
  let { wrap: l, maxWidth: c } = a ?? {};
2108
- n === aa.Wrap && (l = !0, c = c ?? C.xAxisLabelMaxWidth);
2108
+ n === ra.Wrap && (l = !0, c = c ?? C.xAxisLabelMaxWidth);
2109
2109
  const p = l === !0 && Number.isFinite(c) ? `max-width: ${c}px; word-break: break-word;` : "";
2110
2110
  d = `<p style="margin:0;${s}${o}${p}">${d}</p>`;
2111
2111
  } else
@@ -2115,18 +2115,18 @@ function cu(t) {
2115
2115
  function Bs(t) {
2116
2116
  return t ? t.replace(/[A-Z]/gu, (e) => `-${e.toLowerCase()}`) : void 0;
2117
2117
  }
2118
- const pu = [
2118
+ const yu = [
2119
2119
  y.BarSeries,
2120
2120
  y.BoxPlotSeries,
2121
2121
  y.LineSeries,
2122
2122
  y.PieSeries,
2123
2123
  y.HistogramSeries,
2124
2124
  y.ScatterSeries
2125
- ], uu = 1, fu = { PNG: "png" }, Ct = {
2125
+ ], hu = 1, mu = { PNG: "png" }, Ct = {
2126
2126
  ChartRenderer: 1,
2127
2127
  LayerRenderer: 2
2128
2128
  };
2129
- function yu(t) {
2129
+ function gu(t) {
2130
2130
  const { chartConfig: e, queryObject: i } = t;
2131
2131
  let r = !1;
2132
2132
  if (e.chartRenderer)
@@ -2272,9 +2272,9 @@ function Ms(t) {
2272
2272
  // TODO: find a better way to copy the layer. For now it's all right as the information we need are not lost with the spread operator
2273
2273
  // eslint-disable-next-line @typescript-eslint/no-misused-spread
2274
2274
  ...k(i),
2275
- renderer: xr.fromJSON(e)
2275
+ renderer: Sr.fromJSON(e)
2276
2276
  } : k(i);
2277
- return new ma({
2277
+ return new aa({
2278
2278
  layer: r
2279
2279
  });
2280
2280
  }
@@ -2393,7 +2393,7 @@ function $s(t) {
2393
2393
  }
2394
2394
  return s;
2395
2395
  }
2396
- function hu(t) {
2396
+ function bu(t) {
2397
2397
  const { seriesSymbol: e, rendererSymbol: i, colorIndex: r } = t;
2398
2398
  let n = i?.color ?? e.color;
2399
2399
  n = n ?? Be({ colorIndex: r, opacity: ge });
@@ -2412,7 +2412,7 @@ function qs(t) {
2412
2412
  let e = [];
2413
2413
  return t && (e = t.series.flatMap((i) => i.query?.outStatistics?.map((r) => r.onStatisticField)).filter((i) => i !== void 0), e.length === 0 && (e = he(t.series))), e;
2414
2414
  }
2415
- function mu(t, e) {
2415
+ function Su(t, e) {
2416
2416
  let i = !1;
2417
2417
  if (t && e && e.length > 0 && $r(t)) {
2418
2418
  const n = Vs(t), a = Ke(t);
@@ -2451,7 +2451,7 @@ function ks(t, e) {
2451
2451
  function Ws(t, e) {
2452
2452
  return t[0].binCount !== e[0].binCount;
2453
2453
  }
2454
- function gu(t, e) {
2454
+ function xu(t, e) {
2455
2455
  let i = !0;
2456
2456
  const r = q(t?.series), n = q(e?.series);
2457
2457
  return r && r !== n && (i = r === y.ComboLineAndBarSeries && (n === y.BarSeries || n === y.LineSeries) || n === y.ComboLineAndBarSeries && (r === y.BarSeries || r === y.LineSeries) || r === y.BarSeries && n === y.LineSeries || r === y.LineSeries && n === y.BarSeries), i;
@@ -2459,7 +2459,7 @@ function gu(t, e) {
2459
2459
  function Ti(t, e) {
2460
2460
  return t !== void 0 && e !== void 0 && e > 0;
2461
2461
  }
2462
- function bu(t) {
2462
+ function vu(t) {
2463
2463
  const { chartConfig: e, queryObject: i, chartData: r } = t;
2464
2464
  let n = [];
2465
2465
  const a = E(e.series), s = $r(e), o = k(i), d = e.chartRenderer ?? o?.renderer?.toJSON();
@@ -2488,7 +2488,7 @@ function Bt(t) {
2488
2488
  function js(t) {
2489
2489
  return ye(t) ? t?.showOutliers : void 0;
2490
2490
  }
2491
- function Su() {
2491
+ function Cu() {
2492
2492
  return `{name} {${C.originalCategoryValue}} {dateY} {valueX} {dateX} {valueY}`;
2493
2493
  }
2494
2494
  const O = {
@@ -2818,7 +2818,7 @@ const oe = {
2818
2818
  BoxPlotMultiFieldsAndSplitBy: "boxPlotMultiFieldsAndSplitBy",
2819
2819
  // box plot with a numeric field, a category and a split-by field
2820
2820
  BoxPlotMonoFieldAndCategoryAndSplitBy: "boxPlotMonoFieldAndCategoryAndSplitBy"
2821
- }, xu = {
2821
+ }, Fu = {
2822
2822
  SelectionByClick: "SelectionByClick",
2823
2823
  SelectionByRange: "SelectionByRange",
2824
2824
  ProgrammaticSelection: "ProgrammaticSelection",
@@ -2835,7 +2835,7 @@ function ir(t) {
2835
2835
  }
2836
2836
  return e;
2837
2837
  }
2838
- function vu(t) {
2838
+ function wu(t) {
2839
2839
  return t?.map((e) => e.type) ?? [];
2840
2840
  }
2841
2841
  function Wi(t) {
@@ -2869,7 +2869,7 @@ function qr(t) {
2869
2869
  let n = e?.trim();
2870
2870
  if (!ae(n)) {
2871
2871
  let a = "";
2872
- n.startsWith("'") && n.endsWith("'") && (n = n.slice(1, -1), i && (a = "'")), r !== !1 && (n = Xs(n)), n = `${a}${n}${a}`;
2872
+ n.startsWith("'") && n.endsWith("'") && (n = n.slice(1, -1), i && (a = "'")), r && (n = Xs(n)), n = `${a}${n}${a}`;
2873
2873
  }
2874
2874
  return n;
2875
2875
  }
@@ -2938,11 +2938,11 @@ function Bi(t = [], e) {
2938
2938
  const i = t.find((r) => r.name === e)?.alias;
2939
2939
  return i !== "" ? i ?? e : e;
2940
2940
  }
2941
- function Cu(t = [], e) {
2941
+ function Tu(t = [], e) {
2942
2942
  const i = t.find((r) => r.alias === e)?.name;
2943
2943
  return i !== "" ? i ?? e : e;
2944
2944
  }
2945
- function Fu(t) {
2945
+ function Iu(t) {
2946
2946
  let e = !1;
2947
2947
  switch (q(t)) {
2948
2948
  case y.HeatSeries:
@@ -3004,7 +3004,7 @@ function ei(t, e) {
3004
3004
  function pi(t) {
3005
3005
  return ei(t, Tr);
3006
3006
  }
3007
- function wu(t, e) {
3007
+ function Au(t, e) {
3008
3008
  let i;
3009
3009
  switch (t) {
3010
3010
  case $.Second:
@@ -3034,7 +3034,7 @@ function wu(t, e) {
3034
3034
  }
3035
3035
  return i;
3036
3036
  }
3037
- function Tu(t) {
3037
+ function Bu(t) {
3038
3038
  let e;
3039
3039
  switch (t) {
3040
3040
  case je.Mean:
@@ -3053,7 +3053,7 @@ function Tu(t) {
3053
3053
  }
3054
3054
  return e;
3055
3055
  }
3056
- function Iu(t, e) {
3056
+ function Lu(t, e) {
3057
3057
  if (e !== void 0) {
3058
3058
  const { seriesId: i, overlayType: r, visible: n } = t.detail;
3059
3059
  let a;
@@ -3080,8 +3080,8 @@ function Iu(t, e) {
3080
3080
  a !== void 0 && (a.visible = n);
3081
3081
  }
3082
3082
  }
3083
- function Au(t) {
3084
- return new ga().sanitize(t);
3083
+ function Du(t) {
3084
+ return new pa().sanitize(t);
3085
3085
  }
3086
3086
  function to(t) {
3087
3087
  return t != null && !Number.isNaN(t) && Number.isFinite(t);
@@ -3100,7 +3100,7 @@ function io(t) {
3100
3100
  function jr(t) {
3101
3101
  return t === g.BarAndLineSplitBy || t === g.BarAndLineSplitByNoAggregation || t === g.BoxPlotMonoFieldAndSplitBy || t === g.BoxPlotMultiFieldsAndSplitBy || t === g.BoxPlotMonoFieldAndCategoryAndSplitBy;
3102
3102
  }
3103
- function Bu(t, e) {
3103
+ function Nu(t, e) {
3104
3104
  let { selectionItems: i } = t ?? {};
3105
3105
  const { selectionOIDs: r } = t ?? {};
3106
3106
  let { selectionItems: n } = e ?? {};
@@ -3109,13 +3109,13 @@ function Bu(t, e) {
3109
3109
  [_e]: void 0
3110
3110
  });
3111
3111
  i !== void 0 && (i = i.map(s)), n !== void 0 && (n = n.map(s));
3112
- const o = !Re(i, n), d = !Re(r, a);
3112
+ const o = !$e(i, n), d = !$e(r, a);
3113
3113
  return o || d;
3114
3114
  }
3115
- function Lu(t) {
3116
- return t?.selectionPixelTarget ? Cr(t.selectionPixelTarget.pixelRanges) : t?.selectionOIDs === void 0 || t.selectionOIDs.length === 0;
3115
+ function Ou(t) {
3116
+ return t?.selectionPixelTarget ? br(t.selectionPixelTarget.pixelRanges) : t?.selectionOIDs === void 0 || t.selectionOIDs.length === 0;
3117
3117
  }
3118
- function Du(t = {
3118
+ function Pu(t = {
3119
3119
  arrayA: [],
3120
3120
  arrayB: [],
3121
3121
  getKey: (e) => e
@@ -3141,14 +3141,14 @@ function Du(t = {
3141
3141
  o[d] = s[l];
3142
3142
  }), o;
3143
3143
  }
3144
- function Nu(t, e) {
3144
+ function Mu(t, e) {
3145
3145
  return (t === g.BarAndLineNoAggregation || t === g.BarAndLineSplitByNoAggregation) && e !== void 0 ? e.x : C.xAxisField;
3146
3146
  }
3147
- function Ou(t) {
3147
+ function Ru(t) {
3148
3148
  const { r: e, g: i, b: r, a: n = 1 } = t, a = Math.round((1 - n) * 255 + n * e), s = Math.round((1 - n) * 255 + n * i), o = Math.round((1 - n) * 255 + n * r);
3149
3149
  return 0.299 * a + 0.587 * s + 0.114 * o > 128;
3150
3150
  }
3151
- const Pu = {
3151
+ const $u = {
3152
3152
  isSupportedHistogram: kr,
3153
3153
  isSupportedPieChart: Wr,
3154
3154
  isSupportedScatterplot: Er
@@ -3173,7 +3173,7 @@ function ni(t, e) {
3173
3173
  if (de(t))
3174
3174
  throw new Error(e ?? "Raster layer is not supported by this operation.");
3175
3175
  }
3176
- function Mu(t) {
3176
+ function qu(t) {
3177
3177
  return t !== void 0 && (!("url" in t) || !t.url);
3178
3178
  }
3179
3179
  function Ee(t) {
@@ -3182,7 +3182,7 @@ function Ee(t) {
3182
3182
  function zr(t) {
3183
3183
  return t !== void 0 && "type" in t && t.type === "feature";
3184
3184
  }
3185
- function Ru(t) {
3185
+ function Eu(t) {
3186
3186
  return t !== void 0 && "type" in t && t.type === "subtype-group";
3187
3187
  }
3188
3188
  function _r(t) {
@@ -3203,7 +3203,7 @@ function lo(t) {
3203
3203
  function qt(t, e) {
3204
3204
  return t !== void 0 && (Ee(t) || "capabilities" in t && t.capabilities?.queryAttributeBins?.supportsDate === !0 && (ae(e) || t.capabilities?.queryAttributeBins?.supportsStackBy));
3205
3205
  }
3206
- function $u(t) {
3206
+ function ku(t) {
3207
3207
  return ue(
3208
3208
  k(t)
3209
3209
  )?.sourceJSON?.advancedQueryCapabilities.supportedOperationsWithCacheHint.includes("queryBins");
@@ -3219,7 +3219,7 @@ function co(t) {
3219
3219
  }
3220
3220
  return e;
3221
3221
  }
3222
- function qu(t) {
3222
+ function Wu(t) {
3223
3223
  let e;
3224
3224
  return Ee(t) ? e = t.layer : e = t, e;
3225
3225
  }
@@ -3232,7 +3232,7 @@ function po(t) {
3232
3232
  const i = ue(t)?.sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics ?? [], r = t?.capabilities?.query.supportedSpatialAggregationStatistics ?? {};
3233
3233
  return e = i.includes("EnvelopeAggregate") || "envelope" in r && r.envelope === !0, e;
3234
3234
  }
3235
- function Eu(t) {
3235
+ function Vu(t) {
3236
3236
  const { chartConfig: e, queryObject: i } = t;
3237
3237
  let r;
3238
3238
  if (i) {
@@ -3289,7 +3289,7 @@ async function fo(t) {
3289
3289
  try {
3290
3290
  p = (await ti(x, b)).data?.features?.[0]?.attributes;
3291
3291
  } catch (v) {
3292
- const F = (await $e(
3292
+ const F = (await Re(
3293
3293
  Ae(document.documentElement).t9nLocale,
3294
3294
  qe("./assets/common/t9n"),
3295
3295
  "messages."
@@ -3409,8 +3409,8 @@ async function Vt(t) {
3409
3409
  signal: r !== void 0 ? et.get(r)?.signal : void 0
3410
3410
  });
3411
3411
  } catch (c) {
3412
- if (!wr.isAbortError(c)) {
3413
- const p = (await $e(
3412
+ if (!Fr.isAbortError(c)) {
3413
+ const p = (await Re(
3414
3414
  Ae(document.documentElement).t9nLocale,
3415
3415
  qe("./assets/common/t9n"),
3416
3416
  "messages."
@@ -3452,8 +3452,8 @@ async function Hr(t) {
3452
3452
  signal: n !== void 0 ? et.get(n)?.signal : void 0
3453
3453
  })).features;
3454
3454
  } catch (l) {
3455
- if (!wr.isAbortError(l)) {
3456
- const c = (await $e(
3455
+ if (!Fr.isAbortError(l)) {
3456
+ const c = (await Re(
3457
3457
  Ae(document.documentElement).t9nLocale,
3458
3458
  qe("./assets/common/t9n"),
3459
3459
  "messages."
@@ -3504,7 +3504,7 @@ async function Le(t) {
3504
3504
  }));
3505
3505
  return o;
3506
3506
  }
3507
- async function ku(t) {
3507
+ async function ju(t) {
3508
3508
  const { queryObject: e, queryConfig: i, uniqueFeature: r, abortKey: n } = t, a = { ...i, returnDistinctValues: !0 };
3509
3509
  return await Le({
3510
3510
  queryObject: e,
@@ -3547,7 +3547,7 @@ async function xo(t) {
3547
3547
  }
3548
3548
  }
3549
3549
  } catch (l) {
3550
- const c = (await $e(
3550
+ const c = (await Re(
3551
3551
  Ae(document.documentElement).t9nLocale,
3552
3552
  qe("./assets/common/t9n"),
3553
3553
  "messages."
@@ -3556,7 +3556,7 @@ async function xo(t) {
3556
3556
  }
3557
3557
  }
3558
3558
  if (o === !1) {
3559
- const d = (await $e(
3559
+ const d = (await Re(
3560
3560
  Ae(document.documentElement).t9nLocale,
3561
3561
  qe("./assets/common/t9n"),
3562
3562
  "messages."
@@ -3608,32 +3608,32 @@ function Fo(t) {
3608
3608
  }
3609
3609
  return n;
3610
3610
  }
3611
- function Wu(t) {
3611
+ function zu(t) {
3612
3612
  let e;
3613
- return t !== void 0 && (e = new Sr({
3613
+ return t !== void 0 && (e = new Cr({
3614
3614
  start: new Date(t[0]),
3615
3615
  end: new Date(t[1])
3616
3616
  })), e;
3617
3617
  }
3618
3618
  function Ot(t) {
3619
3619
  let e;
3620
- return t !== void 0 && (e = br.fromJSON(t)), e;
3620
+ return t !== void 0 && (e = xr.fromJSON(t)), e;
3621
3621
  }
3622
3622
  function Jr(t) {
3623
3623
  return t === void 0 ? ["*"] : Array.from(new Set(t));
3624
3624
  }
3625
3625
  function ui(t) {
3626
3626
  const { queryType: e, queryObject: i, queryConfig: r } = t, { where: n, outStatistics: a, geometry: s, distance: o, units: d, timeExtent: l, returnDistinctValues: c } = r ?? {}, p = k(i);
3627
- let f = ue(p)?.createQuery() ?? new la(), h;
3627
+ let f = ue(p)?.createQuery() ?? new Sa(), h;
3628
3628
  const m = fi(p).idFields;
3629
- if (e === "AttributeBinsQuery" && r?.objectIds?.[0] !== void 0 && m && (h = `${m} IN (${r.objectIds.join(",")})`), e === "AttributeBinsQuery" && (f = new oa(f.toJSON())), f.where = Z([f.where, n, h]), "returnDistinctValues" in f && (f.returnDistinctValues = c ?? !1), a !== void 0) {
3629
+ if (e === "AttributeBinsQuery" && r?.objectIds?.[0] !== void 0 && m && (h = `${m} IN (${r.objectIds.join(",")})`), e === "AttributeBinsQuery" && (f = new ba(f.toJSON())), f.where = Z([f.where, n, h]), "returnDistinctValues" in f && (f.returnDistinctValues = c ?? !1), a !== void 0) {
3630
3630
  const S = po(p);
3631
3631
  f.outStatistics = a.filter(
3632
3632
  (x) => x.statisticType !== I.EnvelopeAggregate || S
3633
- ).map((x) => da.fromJSON(x));
3633
+ ).map((x) => xa.fromJSON(x));
3634
3634
  }
3635
3635
  const b = Ot(s);
3636
- return b !== void 0 && (f.geometry = b, r?.spatialRelationship && (f.spatialRelationship = r.spatialRelationship), Gr(p) && (o !== void 0 && (f.distance = o), d !== void 0 && (f.units = d))), l && (f.timeExtent = new Sr({
3636
+ return b !== void 0 && (f.geometry = b, r?.spatialRelationship && (f.spatialRelationship = r.spatialRelationship), Gr(p) && (o !== void 0 && (f.distance = o), d !== void 0 && (f.units = d))), l && (f.timeExtent = new Cr({
3637
3637
  start: l?.[0],
3638
3638
  end: l?.[1]
3639
3639
  })), vo(f) && (f.cacheHint = !0), f;
@@ -3831,7 +3831,7 @@ function ji(t) {
3831
3831
  function Lo(t) {
3832
3832
  return t && "sourceJSON" in t && t.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ? U.maxRecordCountFactor : void 0;
3833
3833
  }
3834
- const Vu = {
3834
+ const _u = {
3835
3835
  sanitizeOutFields: Jr
3836
3836
  }, Kr = {
3837
3837
  NonNumericAggregation: "nonNumericAggregation",
@@ -3903,7 +3903,7 @@ async function Oo(t) {
3903
3903
  x: S,
3904
3904
  y: x,
3905
3905
  spatialReference: v
3906
- }), T = No(d), w = await ea(
3906
+ }), T = No(d), w = await Ca(
3907
3907
  c,
3908
3908
  {
3909
3909
  bandIds: [h],
@@ -4058,7 +4058,7 @@ function ko(t, e) {
4058
4058
  }
4059
4059
  return i;
4060
4060
  }
4061
- function ju(t, e, i = 1) {
4061
+ function Gu(t, e, i = 1) {
4062
4062
  const r = Math.max(0, Math.ceil((e - t) / i)), n = new Array(r);
4063
4063
  for (let a = 0; a < r; a++)
4064
4064
  n[a] = t + a * i;
@@ -4138,8 +4138,8 @@ function Xr(t) {
4138
4138
  let { r2: s, trendLinePoints: o } = C.scatterplotSeries;
4139
4139
  const d = jo({ data: e, x: n, y: a });
4140
4140
  if (d !== void 0) {
4141
- const l = xa(d), c = va(l);
4142
- s = l.m === 0 ? 0 : Ca(d, c), o = Vo({ x: n, y: a, trendlineXToY: c, data: e });
4141
+ const l = ya(d), c = ha(l);
4142
+ s = l.m === 0 ? 0 : ma(d, c), o = Vo({ x: n, y: a, trendlineXToY: c, data: e });
4143
4143
  }
4144
4144
  return { r2: s, trendLinePoints: o };
4145
4145
  }
@@ -4173,7 +4173,7 @@ async function Ho(t) {
4173
4173
  const { queryObject: e, queryConfig: i, abortKey: r } = t;
4174
4174
  if (!e || !de(e))
4175
4175
  throw new pe(oe.LayerNotSupported);
4176
- return await el({
4176
+ return await ol({
4177
4177
  queryObject: e,
4178
4178
  queryConfig: i,
4179
4179
  imagerySkipFactor: _o,
@@ -4226,20 +4226,249 @@ function Jo(t) {
4226
4226
  }), n = {
4227
4227
  xBandId: o,
4228
4228
  yBandId: d,
4229
- pixelRanges: new gr({ xmin: l, xmax: p, ymin: c, ymax: u })
4229
+ pixelRanges: new wr({ xmin: l, xmax: p, ymin: c, ymax: u })
4230
4230
  };
4231
4231
  }
4232
4232
  }
4233
4233
  return n;
4234
4234
  }
4235
- const en = "PixelID", Ko = [
4235
+ function Ko(t, e) {
4236
+ let i = !0;
4237
+ if (e?.trim()) {
4238
+ const r = {};
4239
+ Object.entries(t).forEach(([s, o]) => {
4240
+ r[s.toUpperCase()] = o;
4241
+ });
4242
+ const n = e.trim(), a = n.match(/^(\w+)\s+IS\s+(NOT\s+)?NULL$/iu);
4243
+ if (a) {
4244
+ const [s, o, d] = a, l = r[o.toUpperCase()], c = l == null;
4245
+ i = d ? !c : c;
4246
+ } else {
4247
+ const s = n.match(/^(\w+)\s*(=|!=|<>|>|<|>=|<=)\s*(.+)$/iu);
4248
+ if (s) {
4249
+ const [o, d, l, c] = s, p = d.toUpperCase();
4250
+ if (!(p in r))
4251
+ i = !1;
4252
+ else {
4253
+ const u = r[p];
4254
+ let f = c.trim().replace(/^['"]|['"]$/gu, "");
4255
+ switch (typeof u == "number" ? f = Number(f) : typeof u == "boolean" && (f = f.toLowerCase() === "true"), l) {
4256
+ case "=":
4257
+ i = u === f;
4258
+ break;
4259
+ case "!=":
4260
+ case "<>":
4261
+ i = u !== f;
4262
+ break;
4263
+ case ">":
4264
+ i = u > f;
4265
+ break;
4266
+ case "<":
4267
+ i = u < f;
4268
+ break;
4269
+ case ">=":
4270
+ i = u >= f;
4271
+ break;
4272
+ case "<=":
4273
+ i = u <= f;
4274
+ break;
4275
+ default:
4276
+ i = !0;
4277
+ }
4278
+ }
4279
+ }
4280
+ }
4281
+ }
4282
+ return i;
4283
+ }
4284
+ function Xo(t) {
4285
+ const { features: e, aggregationType: i, onField: r } = t;
4286
+ let n;
4287
+ if (!r)
4288
+ i === "count" && (n = e.length);
4289
+ else
4290
+ switch (i) {
4291
+ case "count": {
4292
+ r === "*" ? n = e.length : n = e.filter((a) => a[r] !== null && a[r] !== void 0).length;
4293
+ break;
4294
+ }
4295
+ case "sum": {
4296
+ n = e.reduce((a, s) => {
4297
+ const o = s[r];
4298
+ return a + (typeof o == "number" ? o : 0);
4299
+ }, 0);
4300
+ break;
4301
+ }
4302
+ case "avg": {
4303
+ let a = 0, s = 0;
4304
+ e.forEach((o) => {
4305
+ const d = o[r];
4306
+ typeof d == "number" && (a += d, s++);
4307
+ }), n = s > 0 ? a / s : 0;
4308
+ break;
4309
+ }
4310
+ case "min": {
4311
+ const a = e.map((s) => s[r]).filter((s) => typeof s == "number" && s !== null && s !== void 0);
4312
+ n = a.length > 0 ? Math.min(...a) : void 0;
4313
+ break;
4314
+ }
4315
+ case "max": {
4316
+ const a = e.map((s) => s[r]).filter((s) => typeof s == "number" && s !== null && s !== void 0);
4317
+ n = a.length > 0 ? Math.max(...a) : void 0;
4318
+ break;
4319
+ }
4320
+ case "percentile-continuous": {
4321
+ const s = [...e.map((d) => d[r]).filter((d) => typeof d == "number" && d !== null && d !== void 0)].sort((d, l) => d - l), o = Math.floor(s.length / 2);
4322
+ n = s.length % 2 !== 0 ? s[o] : (s[o - 1] + s[o]) / 2;
4323
+ break;
4324
+ }
4325
+ }
4326
+ return n;
4327
+ }
4328
+ function nr(t, e) {
4329
+ let i;
4330
+ return t == null && e ? i = {
4331
+ groupKey: C.nullValue,
4332
+ display: C.nullValue,
4333
+ original: null
4334
+ } : i = { groupKey: t, display: t, original: t }, i;
4335
+ }
4336
+ async function Zo(t) {
4337
+ const { layer: e, geometry: i, abortKey: r } = t;
4338
+ e.loaded || await e.load();
4339
+ const n = await e.generateRasterInfo(e.rasterFunction), a = Ot(i) ?? e.fullExtent;
4340
+ let s = n.attributeTable;
4341
+ return a instanceof wr && a.equals(e.fullExtent) || (s = await Fa(
4342
+ e,
4343
+ {
4344
+ geometry: a
4345
+ },
4346
+ {
4347
+ signal: r !== void 0 ? et.get(r)?.signal : void 0
4348
+ }
4349
+ )), s;
4350
+ }
4351
+ async function el(t) {
4352
+ const { chartConfig: e, queryConfig: i, queryObject: r, abortKey: n } = t;
4353
+ let a;
4354
+ if (r === void 0)
4355
+ throw new Error("QueryObject is undefined!");
4356
+ const s = k(r);
4357
+ if (!de(s))
4358
+ throw new pe(oe.LayerNotSupported);
4359
+ const o = await Zo({
4360
+ layer: s,
4361
+ geometry: i.geometry,
4362
+ abortKey: n
4363
+ }), d = o?.features;
4364
+ if (!o || !d)
4365
+ a = {
4366
+ valid: !1,
4367
+ invalidType: W.BadData
4368
+ };
4369
+ else {
4370
+ const l = e.series;
4371
+ if (!l || l.length === 0 || d.length === 0)
4372
+ a = {
4373
+ valid: !0
4374
+ };
4375
+ else {
4376
+ const c = i.groupByFieldsForStatistics?.[0] ?? "", p = l.some((h) => h.query?.fetchNullValues), u = /* @__PURE__ */ new Map();
4377
+ for (const h of d) {
4378
+ const { groupKey: m } = nr(h.attributes[c], p);
4379
+ m === C.nullValue && !p || (u.has(m) || u.set(m, []), u.get(m).push(h.attributes));
4380
+ }
4381
+ const f = [];
4382
+ u.forEach((h) => {
4383
+ const m = {}, b = h[0][c], { display: S, original: x } = nr(b, p);
4384
+ m[c] = S, m[C.xAxisField] = S, m[C.originalCategoryValue] = x, l.forEach((v) => {
4385
+ const F = v.query?.outStatistics?.[0];
4386
+ if (!F) {
4387
+ const { name: B } = v;
4388
+ m[B] = h[0][B];
4389
+ return;
4390
+ }
4391
+ let T = h;
4392
+ const w = v.query?.where;
4393
+ w && (T = h.filter((B) => Ko(B, w)));
4394
+ const A = F.statisticType, P = F.onStatisticField, D = F.outStatisticFieldName;
4395
+ m[D] = Xo({
4396
+ features: T,
4397
+ aggregationType: A,
4398
+ onField: P
4399
+ });
4400
+ }), f.push(m);
4401
+ }), a = {
4402
+ valid: !0,
4403
+ data: {
4404
+ dataItems: f
4405
+ }
4406
+ };
4407
+ }
4408
+ }
4409
+ return a;
4410
+ }
4411
+ async function Uu(t) {
4412
+ const { layer: e, category: i, splitByField: r } = t, s = (await e.generateRasterInfo(e.rasterFunction))?.attributeTable?.features, o = r !== void 0;
4413
+ return Array.from(
4414
+ new Set(
4415
+ s?.map(
4416
+ (l) => l.attributes[o ? r : i]
4417
+ )
4418
+ )
4419
+ ).sort((l, c) => typeof l == "string" && typeof c == "string" ? l.localeCompare(c) : Number(l) - Number(c));
4420
+ }
4421
+ function tl(t, e) {
4422
+ const i = /* @__PURE__ */ new Map();
4423
+ return e.forEach((n, a) => {
4424
+ i.set(n, a);
4425
+ }), t.reduce((n, a) => {
4426
+ const s = n[n.length - 1];
4427
+ if (!s)
4428
+ return n.push([a, a]), n;
4429
+ if (a === s[1])
4430
+ return n;
4431
+ const o = i.get(a), d = i.get(s[1]);
4432
+ return o !== void 0 && d !== void 0 && o === d + 1 ? (s[1] = a, n) : (n.push([a, a]), n);
4433
+ }, []);
4434
+ }
4435
+ function il(t, e) {
4436
+ return t?.map(({ attributes: r }) => r[e]).filter((r) => r != null).sort((r, n) => r - n);
4437
+ }
4438
+ function rl(t) {
4439
+ const { chartConfig: e, layer: i, selectionDataItems: r } = t;
4440
+ let n;
4441
+ const a = i.serviceRasterInfo?.attributeTable, s = e.series?.[0]?.x, o = a?.features, d = a?.fields?.find(({ name: l }) => l.toLowerCase() === "value")?.name;
4442
+ if (r.length > 0 && s && o && o.length > 0 && d) {
4443
+ const l = new Set(
4444
+ r.map((c) => c[C.originalCategoryValue]).filter((c) => c !== void 0)
4445
+ );
4446
+ if (l.size > 0) {
4447
+ const c = /* @__PURE__ */ new Set();
4448
+ o.forEach((u) => {
4449
+ const f = u.attributes, h = f[s];
4450
+ l.has(h) && c.add(f[d]);
4451
+ });
4452
+ const p = Array.from(c).sort((u, f) => u - f);
4453
+ if (p.length > 0) {
4454
+ const u = il(o, d);
4455
+ n = {
4456
+ bandId: 0,
4457
+ pixelRanges: tl(p, u)
4458
+ };
4459
+ }
4460
+ }
4461
+ }
4462
+ return n;
4463
+ }
4464
+ const en = "PixelID", nl = [
4236
4465
  y.BarSeries,
4237
4466
  y.HistogramSeries,
4238
4467
  y.ScatterSeries
4239
4468
  ];
4240
- async function zu(t, e) {
4469
+ async function Hu(t, e) {
4241
4470
  let i = !1;
4242
- if (eo(Ko, t))
4471
+ if (eo(nl, t))
4243
4472
  switch (q(t?.series)) {
4244
4473
  case y.BarSeries:
4245
4474
  e.loaded || await e.load(), i = !!(await e.generateRasterInfo(e.rasterFunction)).attributeTable;
@@ -4251,12 +4480,12 @@ async function zu(t, e) {
4251
4480
  }
4252
4481
  return i;
4253
4482
  }
4254
- async function Xo(t) {
4483
+ async function al(t) {
4255
4484
  const { layer: e, chartConfig: i } = t;
4256
4485
  let r;
4257
4486
  return de(e) ? r = e : i?.iLayer?.layerType === "ArcGISImageServiceLayer" ? r = await nn(i.iLayer) : i?.iLayer?.layerType === "ArcGISTiledImageServiceLayer" && (r = await an(i.iLayer)), r;
4258
4487
  }
4259
- function Zo(t) {
4488
+ function sl(t) {
4260
4489
  let e;
4261
4490
  switch (t) {
4262
4491
  case "f32":
@@ -4286,7 +4515,7 @@ function rn(t) {
4286
4515
  if (n.attributeTable)
4287
4516
  a = n.attributeTable.fields.map((s) => s.toJSON());
4288
4517
  else {
4289
- const s = Zo(n.pixelType), o = n.bandInfos.map((c) => ({
4518
+ const s = sl(n.pixelType), o = n.bandInfos.map((c) => ({
4290
4519
  name: c.name,
4291
4520
  alias: c.name,
4292
4521
  type: s
@@ -4308,12 +4537,12 @@ function rn(t) {
4308
4537
  }
4309
4538
  return a;
4310
4539
  }
4311
- async function _u(t, e) {
4540
+ async function Qu(t, e) {
4312
4541
  await t.load();
4313
4542
  const i = await t.generateRasterInfo(t.rasterFunction);
4314
4543
  return rn({ layer: t, rasterInfo: i, usePopupTemplateFieldsInfo: e });
4315
4544
  }
4316
- const nn = qi(
4545
+ const nn = $i(
4317
4546
  async (t) => {
4318
4547
  const e = {}, i = t.layerDefinition;
4319
4548
  e.definitionExpression = i?.definitionExpression, e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && t.layerDefinition?.id !== void 0 && (e.portalItem = { id: t.itemId });
@@ -4322,7 +4551,7 @@ const nn = qi(
4322
4551
  },
4323
4552
  (t) => JSON.stringify(t, Object.keys(t).sort())
4324
4553
  // stringify with sorted keys
4325
- ), an = qi(
4554
+ ), an = $i(
4326
4555
  async (t) => {
4327
4556
  const e = {};
4328
4557
  e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && (e.portalItem = { id: t.itemId });
@@ -4339,10 +4568,17 @@ const nn = qi(
4339
4568
  a > -1 && (i = a);
4340
4569
  }
4341
4570
  return i;
4342
- }, Gu = (t) => {
4571
+ }, Yu = (t) => {
4343
4572
  const { chartConfig: e, layer: i, selectionDataItems: r } = t, n = q(e.series);
4344
4573
  let a;
4345
4574
  switch (n) {
4575
+ case y.BarSeries:
4576
+ a = rl({
4577
+ chartConfig: e,
4578
+ layer: i,
4579
+ selectionDataItems: r
4580
+ });
4581
+ break;
4346
4582
  case y.HistogramSeries:
4347
4583
  a = $o({
4348
4584
  chartConfig: e,
@@ -4363,7 +4599,7 @@ const nn = qi(
4363
4599
  }
4364
4600
  return a;
4365
4601
  };
4366
- async function el(t) {
4602
+ async function ol(t) {
4367
4603
  const { queryObject: e, queryConfig: i, imagerySkipFactor: r, imageryMaxPixelCount: n, abortKey: a } = t;
4368
4604
  let s = [];
4369
4605
  if (e !== void 0)
@@ -4375,14 +4611,14 @@ async function el(t) {
4375
4611
  autoResample: !0,
4376
4612
  maxPixelCount: n,
4377
4613
  skipFactor: r
4378
- }, c = a && et.get(a)?.signal || void 0, p = await ta(o, l, { signal: c });
4614
+ }, c = a && et.get(a)?.signal || void 0, p = await wa(o, l, { signal: c });
4379
4615
  s = vr.fromJSON(p.featureSet).features;
4380
4616
  } catch {
4381
4617
  s = [];
4382
4618
  }
4383
4619
  return s;
4384
4620
  }
4385
- function tl(t) {
4621
+ function ll(t) {
4386
4622
  const { queryObject: e, defaultGeometry: i, ignoreViewExtent: r, viewExtent: n } = t;
4387
4623
  let a = i;
4388
4624
  if (!r && n) {
@@ -4410,11 +4646,11 @@ function tl(t) {
4410
4646
  }
4411
4647
  return a;
4412
4648
  }
4413
- function il(t) {
4649
+ function dl(t) {
4414
4650
  let e, i, r;
4415
4651
  return t !== void 0 && (e = t.type, (e === fe.UniqueValue || e === fe.ClassBreaks) && (i = t.field ?? void 0, e === fe.ClassBreaks && (r = t.normalizationField ?? void 0))), { rendererType: e, rendererField: i, rendererNormalizationField: r };
4416
4652
  }
4417
- const zi = qi(
4653
+ const zi = $i(
4418
4654
  async (t, e) => {
4419
4655
  const i = t.featureCollection;
4420
4656
  let r, n;
@@ -4425,8 +4661,8 @@ const zi = qi(
4425
4661
  n = t.layerDefinition;
4426
4662
  const a = {};
4427
4663
  if (r !== void 0) {
4428
- if (a.source = vr.fromJSON(r).features, n?.fields !== void 0 && (a.fields = n.fields.map((o) => ua.fromJSON(o))), n?.objectIdField !== void 0 && (a.objectIdField = n.objectIdField), n?.geometryType !== void 0) {
4429
- const o = br.fromJSON({
4664
+ if (a.source = vr.fromJSON(r).features, n?.fields !== void 0 && (a.fields = n.fields.map((o) => la.fromJSON(o))), n?.objectIdField !== void 0 && (a.objectIdField = n.objectIdField), n?.geometryType !== void 0) {
4665
+ const o = xr.fromJSON({
4430
4666
  geometryType: n.geometryType
4431
4667
  });
4432
4668
  o?.type !== void 0 && o?.type !== "extent" && (a.geometryType = o.type);
@@ -4436,15 +4672,15 @@ const zi = qi(
4436
4672
  a.id = t.id, n?.id !== void 0 && (a.layerId = n.id), t.url !== void 0 && (a.url = t.url), t.itemId !== void 0 && n?.id !== void 0 && (a.portalItem = { id: t.itemId });
4437
4673
  if (n !== void 0) {
4438
4674
  const o = n.drawingInfo;
4439
- o?.renderer !== void 0 && (a.renderer = xr.fromJSON(o.renderer));
4675
+ o?.renderer !== void 0 && (a.renderer = Sr.fromJSON(o.renderer));
4440
4676
  }
4441
- const s = new ca(a);
4677
+ const s = new sa(a);
4442
4678
  return await s.load({ signal: e }), s;
4443
4679
  },
4444
4680
  (t) => JSON.stringify(t)
4445
4681
  // stringify with sorted keys
4446
4682
  );
4447
- async function Uu(t) {
4683
+ async function Ju(t) {
4448
4684
  let e;
4449
4685
  switch (t?.layerType ?? "") {
4450
4686
  case "ArcGISFeatureLayer":
@@ -4461,11 +4697,11 @@ async function Uu(t) {
4461
4697
  }
4462
4698
  return e;
4463
4699
  }
4464
- async function Hu(t) {
4700
+ async function Ku(t) {
4465
4701
  const { layer: e, view: i, chartConfig: r, filterByExtent: n, abortSignal: a } = t, s = de(e) || so(r);
4466
4702
  let o;
4467
4703
  if (s)
4468
- o = await Xo(t);
4704
+ o = await al(t);
4469
4705
  else {
4470
4706
  const d = k(e), l = ue(d);
4471
4707
  l !== void 0 ? n && i !== void 0 && !l.isTable ? (l.outFields = ["*"], o = await i.whenLayerView(l)) : o = e : r?.iLayer && r.iLayer?.layerType === "ArcGISFeatureLayer" && (o = await zi(r.iLayer, a));
@@ -4523,16 +4759,16 @@ function Lt(t) {
4523
4759
  ];
4524
4760
  return t !== void 0 && e.includes(t.type);
4525
4761
  }
4526
- function rl(t) {
4762
+ function cl(t) {
4527
4763
  return t?.type === Q.Date || t?.type === Q.DateOnly || t?.type === Q.TimestampOffset;
4528
4764
  }
4529
- function Qu(t) {
4765
+ function Xu(t) {
4530
4766
  return t?.type === Q.String;
4531
4767
  }
4532
- function Yu(t) {
4768
+ function Zu(t) {
4533
4769
  return t?.type === Q.TimeOnly;
4534
4770
  }
4535
- function Ju(t) {
4771
+ function ef(t) {
4536
4772
  const e = [
4537
4773
  Q.SmallInteger,
4538
4774
  Q.Integer,
@@ -4540,17 +4776,17 @@ function Ju(t) {
4540
4776
  ];
4541
4777
  return t !== void 0 && e.includes(t.type);
4542
4778
  }
4543
- function nl(t) {
4544
- return t.filter((e) => rl(e)).map((e) => e.name);
4779
+ function pl(t) {
4780
+ return t.filter((e) => cl(e)).map((e) => e.name);
4545
4781
  }
4546
- function Ku(t) {
4782
+ function tf(t) {
4547
4783
  return t.filter((e) => Lt(e)).map((e) => e.name);
4548
4784
  }
4549
4785
  function Di(t, e) {
4550
4786
  let i;
4551
4787
  if (e) {
4552
4788
  const n = k(t).getFieldDomain(e);
4553
- n instanceof pa && (i = n);
4789
+ n instanceof oa && (i = n);
4554
4790
  }
4555
4791
  return i;
4556
4792
  }
@@ -4558,13 +4794,13 @@ function Ni(t, e) {
4558
4794
  let i = e?.getName(t?.toString()) ?? e?.getName(t) ?? e?.getName(Number(t));
4559
4795
  return i === null && (i = void 0), i;
4560
4796
  }
4561
- function nr(t) {
4797
+ function ar(t) {
4562
4798
  const { queryObject: e, fieldName: i, fieldValue: r } = t;
4563
4799
  return de(e) ? void 0 : Ni(r, Di(e, i));
4564
4800
  }
4565
4801
  async function on(t) {
4566
4802
  let e = [];
4567
- return t && !ue(t)?.isTable && t.fieldsIndex && (e = await fa.getRendererFields(t.renderer, t.fieldsIndex)), e;
4803
+ return t && !ue(t)?.isTable && t.fieldsIndex && (e = await da.getRendererFields(t.renderer, t.fieldsIndex)), e;
4568
4804
  }
4569
4805
  function ln(t) {
4570
4806
  const e = "/rest/services";
@@ -4572,7 +4808,7 @@ function ln(t) {
4572
4808
  const r = i.indexOf(e);
4573
4809
  return i = r > -1 ? t.substring(0, r) : t, `${i}/rest/info`;
4574
4810
  }
4575
- async function al(t) {
4811
+ async function ul(t) {
4576
4812
  let e = !0;
4577
4813
  const i = ".arcgis.com/", r = t?.url, n = r?.includes(i);
4578
4814
  if (r && n && ue(t)?.sourceJSON?.serviceItemId !== void 0) {
@@ -4583,7 +4819,7 @@ async function al(t) {
4583
4819
  const o = `${s.owningSystemUrl}/sharing/rest/portals/${s.owningTenant}`, d = (await ti(o, {
4584
4820
  authMode: "auto",
4585
4821
  query: { f: "json" }
4586
- })).data, l = new ya({ sourceJSON: d });
4822
+ })).data, l = new ca({ sourceJSON: d });
4587
4823
  await l.load(), e = l?.sourceJSON?.subscriptionInfo?.dataStoreLevel === void 0;
4588
4824
  }
4589
4825
  } catch {
@@ -4591,19 +4827,19 @@ async function al(t) {
4591
4827
  }
4592
4828
  return e;
4593
4829
  }
4594
- function sl(t) {
4595
- const { queryObject: e, fieldToMatch: i, returnUndefinedIfNotFound: r } = t, n = Fe(e), a = ol(n, i), s = r ? "" : i;
4830
+ function fl(t) {
4831
+ const { queryObject: e, fieldToMatch: i, returnUndefinedIfNotFound: r } = t, n = Fe(e), a = yl(n, i), s = r ? "" : i;
4596
4832
  return a?.name ?? s;
4597
4833
  }
4598
- function ol(t, e) {
4834
+ function yl(t, e) {
4599
4835
  let i = t.find((r) => e === r.name);
4600
4836
  return i || (i = t.find((r) => e.toUpperCase() === r.name.toUpperCase())), i;
4601
4837
  }
4602
- function ll(t) {
4838
+ function hl(t) {
4603
4839
  const { fieldsList: e, queryObject: i, returnUndefinedIfNotFound: r } = t;
4604
4840
  let n = e;
4605
4841
  return n !== void 0 && (n = n.map(
4606
- (a) => sl({ queryObject: i, fieldToMatch: a, returnUndefinedIfNotFound: r })
4842
+ (a) => fl({ queryObject: i, fieldToMatch: a, returnUndefinedIfNotFound: r })
4607
4843
  )), n;
4608
4844
  }
4609
4845
  function dn(t) {
@@ -4626,7 +4862,7 @@ function dn(t) {
4626
4862
  objectIds: w,
4627
4863
  spatialRelationship: A
4628
4864
  } = r ?? {}, P = s[0], { query: D } = P, { where: B } = D ?? {}, R = E(s), L = { ...D };
4629
- return L.where = Z([d, b]), R !== g.BarAndLineSplitBy && R !== g.BoxPlotMonoFieldAndSplitBy && R !== g.BoxPlotMonoFieldAndCategoryAndSplitBy && R !== g.BoxPlotMultiFieldsAndSplitBy && R !== g.BarAndLineSplitByNoAggregation && (L.where = Z([L.where, B])), i.orderOptions?.orderByFields !== void 0 && (L.orderByFields = i.orderOptions.orderByFields), L.gdbVersion = S ?? l, L.timeExtent = Co(e, x ?? c), L.geometry = de(e) ? tl({
4865
+ return L.where = Z([d, b]), R !== g.BarAndLineSplitBy && R !== g.BoxPlotMonoFieldAndSplitBy && R !== g.BoxPlotMonoFieldAndCategoryAndSplitBy && R !== g.BoxPlotMultiFieldsAndSplitBy && R !== g.BarAndLineSplitByNoAggregation && (L.where = Z([L.where, B])), i.orderOptions?.orderByFields !== void 0 && (L.orderByFields = i.orderOptions.orderByFields), L.gdbVersion = S ?? l, L.timeExtent = Co(e, x ?? c), L.geometry = de(e) ? ll({
4630
4866
  queryObject: e,
4631
4867
  defaultGeometry: v ?? p,
4632
4868
  ignoreViewExtent: n,
@@ -4641,11 +4877,11 @@ function dn(t) {
4641
4877
  });
4642
4878
  }), L;
4643
4879
  }
4644
- async function Xu(t) {
4880
+ async function rf(t) {
4645
4881
  let e = [];
4646
- return t !== void 0 && (e = await cl(t)), e;
4882
+ return t !== void 0 && (e = await gl(t)), e;
4647
4883
  }
4648
- async function dl(t, e) {
4884
+ async function ml(t, e) {
4649
4885
  const i = [];
4650
4886
  let r = [];
4651
4887
  const n = t.series;
@@ -4656,21 +4892,21 @@ async function dl(t, e) {
4656
4892
  return f?.length > 0 ? f : "";
4657
4893
  }).flat();
4658
4894
  i.push(s), i.push(...o), i.push(d), i.push(...l), i.push(...c);
4659
- const p = ll({ fieldsList: i, queryObject: a, returnUndefinedIfNotFound: !0 });
4895
+ const p = hl({ fieldsList: i, queryObject: a, returnUndefinedIfNotFound: !0 });
4660
4896
  p && (r = Array.from(new Set(p)).filter((u) => u !== ""));
4661
4897
  }
4662
4898
  return r;
4663
4899
  }
4664
- async function cl(t) {
4900
+ async function gl(t) {
4665
4901
  const e = t.charts ?? [];
4666
4902
  let i = [];
4667
4903
  if (e.length > 0) {
4668
- const r = e.map(async (n) => await dl(n, t));
4904
+ const r = e.map(async (n) => await ml(n, t));
4669
4905
  i = await Promise.all(r).then((n) => n.flat()), i = Array.from(new Set(i.filter((n) => n !== "")));
4670
4906
  }
4671
4907
  return i;
4672
4908
  }
4673
- const pl = (t) => {
4909
+ const bl = (t) => {
4674
4910
  let e;
4675
4911
  if ("portalItem" in t) {
4676
4912
  const i = t.portalItem?.id;
@@ -4678,18 +4914,18 @@ const pl = (t) => {
4678
4914
  }
4679
4915
  return e;
4680
4916
  };
4681
- function Zu(t) {
4917
+ function nf(t) {
4682
4918
  const { view: e, portalItemId: i } = t;
4683
4919
  let r;
4684
4920
  if (e && i) {
4685
4921
  const n = Array.from(e.map?.allLayers ?? []).find(
4686
- (a) => pl(a) === i
4922
+ (a) => bl(a) === i
4687
4923
  );
4688
4924
  n && (r = n);
4689
4925
  }
4690
4926
  return r;
4691
4927
  }
4692
- const ef = {
4928
+ const af = {
4693
4929
  getServerRestInfo: ln
4694
4930
  }, lt = [
4695
4931
  "1.0.0",
@@ -4780,7 +5016,7 @@ const ef = {
4780
5016
  "24.7.0",
4781
5017
  "24.8.0",
4782
5018
  "25.0.0"
4783
- ], ul = "1.0.0", fl = "unrecognized.version", yl = [
5019
+ ], Sl = "1.0.0", xl = "unrecognized.version", vl = [
4784
5020
  y.LineSeries,
4785
5021
  y.BarSeries,
4786
5022
  y.ComboLineAndBarSeries,
@@ -4804,12 +5040,12 @@ function vi(t, e) {
4804
5040
  }
4805
5041
  return i;
4806
5042
  }
4807
- function hl(t) {
5043
+ function Cl(t) {
4808
5044
  return t !== void 0 ? /^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(t) : !1;
4809
5045
  }
4810
- function ml(t) {
5046
+ function Fl(t) {
4811
5047
  let e = dt.Same, i = [];
4812
- if (hl(t) && t !== void 0) {
5048
+ if (Cl(t) && t !== void 0) {
4813
5049
  lt.sort(vi);
4814
5050
  const n = vi(t, lt[lt.length - 1]);
4815
5051
  if (n === 1 ? e = dt.Newer : n === -1 && (e = dt.Older), e === dt.Newer || e === dt.Same)
@@ -4820,10 +5056,10 @@ function ml(t) {
4820
5056
  i = lt.slice(a, lt.length);
4821
5057
  break;
4822
5058
  }
4823
- i.length === 0 && i.push(ul);
5059
+ i.length === 0 && i.push(Sl);
4824
5060
  }
4825
5061
  } else
4826
- e = dt.Unrecognized, i.push(fl);
5062
+ e = dt.Unrecognized, i.push(xl);
4827
5063
  return { versionStatus: e, versions: i };
4828
5064
  }
4829
5065
  function Ke(t) {
@@ -4831,18 +5067,18 @@ function Ke(t) {
4831
5067
  let r = ("showMean" in t ? t.showMean : !1) === !0 ? e.find((n) => n.type === y.LineSeries) : e[0];
4832
5068
  return r ??= e[0], r;
4833
5069
  }
4834
- function tf(t, e) {
5070
+ function sf(t, e) {
4835
5071
  const i = t !== null ? t.toString() : null, r = e != null ? e.toString() : null;
4836
5072
  return r !== null && r !== i ? X.SFS : X.SLS;
4837
5073
  }
4838
5074
  function le(t, e) {
4839
5075
  let i = "";
4840
- return t !== void 0 && t.includes("=") && (i = e !== !1 ? qr({ value: t.split("=")[0] }) : t.split("=")[0].trim()), i;
5076
+ return t?.includes("=") && (i = e !== !1 ? qr({ value: t.split("=")[0], escape: !1 }) : t.split("=")[0].trim()), i;
4841
5077
  }
4842
5078
  function be(t) {
4843
- const { where: e, normalize: i, keepSurroundingQuotes: r, escape: n } = t;
5079
+ const { where: e, normalize: i, keepSurroundingQuotes: r, escape: n = !1 } = t;
4844
5080
  let a = "";
4845
- return e !== void 0 && e.includes("=") && (a = e.split("=").slice(1).join("=").trim(), a === "null" ? a = null : a.trim() !== "" && !Number.isNaN(Number(a)) ? a = Number(a) : i === !1 ? n === !0 && (a = Ai(a)) : a = qr({ value: a, keepSurroundingQuotes: r, escape: n })), a;
5081
+ return e?.includes("=") && (a = e.split("=").slice(1).join("=").trim(), a === "null" ? a = null : a.trim() !== "" && !Number.isNaN(Number(a)) ? a = Number(a) : i === !1 ? n && (a = Ai(a)) : a = qr({ value: a, keepSurroundingQuotes: r, escape: n })), a;
4846
5082
  }
4847
5083
  function Ue(t) {
4848
5084
  let e = !1;
@@ -4873,7 +5109,7 @@ function pn(t) {
4873
5109
  const i = t[0].query?.where;
4874
5110
  return t[0].query?.groupByFieldsForStatistics === void 0 && (t[0].query?.outStatistics ?? []).length > 0 ? e = g.BarAndLineFromFields : i === void 0 && t[0].query?.outStatistics === void 0 ? e = g.BarAndLineNoAggregation : Ue(i) ? t.length > 1 && (e = g.BarAndLineMultiFields) : e = t[0].query?.outStatistics === void 0 ? g.BarAndLineSplitByNoAggregation : g.BarAndLineSplitBy, e;
4875
5111
  }
4876
- function gl(t) {
5112
+ function wl(t) {
4877
5113
  let e = g.BoxPlotMonoField;
4878
5114
  const i = t.length === 1, r = t.find((o) => o.type === y.LineSeries) ?? t[0], { x: n } = r, a = "y" in r ? r.y : "", s = r.query?.where;
4879
5115
  return n === Nt ? typeof a == "object" && a.length > 1 ? Ue(s) ? i && (e = g.BoxPlotMultiFields) : e = g.BoxPlotMultiFieldsAndSplitBy : i ? e = g.BoxPlotMonoField : Ue(s) || (e = g.BoxPlotMonoFieldAndSplitBy) : i ? e = g.BoxPlotMonoFieldAndCategory : Ue(s) ? e = g.BoxPlotMultiFieldsAndCategory : e = g.BoxPlotMonoFieldAndCategoryAndSplitBy, e;
@@ -4892,7 +5128,7 @@ function E(t) {
4892
5128
  e = pn(t);
4893
5129
  break;
4894
5130
  case y.BoxPlotSeries:
4895
- e = gl(t);
5131
+ e = wl(t);
4896
5132
  break;
4897
5133
  }
4898
5134
  return e;
@@ -4910,12 +5146,12 @@ function st(t) {
4910
5146
  return a;
4911
5147
  }
4912
5148
  function Ne(t) {
4913
- return yl.includes(t?.type);
5149
+ return vl.includes(t?.type);
4914
5150
  }
4915
5151
  function un(t) {
4916
5152
  const { previousConfig: e, newConfig: i, behaviorAfterLimit: r } = t, n = e.series, a = i.series;
4917
5153
  let s = !1, o = !1;
4918
- (r === rt.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (o = !Re(
5154
+ (r === rt.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (o = !$e(
4919
5155
  e.orderOptions?.orderByFields,
4920
5156
  i.orderOptions?.orderByFields
4921
5157
  ));
@@ -4926,12 +5162,12 @@ function un(t) {
4926
5162
  a.map((c) => c.query),
4927
5163
  ["where", "outStatistics[0].outStatisticFieldName", "outStatistics[0].onStatisticField"]
4928
5164
  );
4929
- return s = !Re(d, l), s || o;
5165
+ return s = !$e(d, l), s || o;
4930
5166
  }
4931
- function bl(t, e) {
5167
+ function Tl(t, e) {
4932
5168
  return JSON.stringify(t.dataFilters) !== JSON.stringify(e.dataFilters);
4933
5169
  }
4934
- function Sl(t, e) {
5170
+ function Il(t, e) {
4935
5171
  let i = !1;
4936
5172
  if (e.length && t.length)
4937
5173
  if (e[0].x !== t[0].x)
@@ -4955,7 +5191,7 @@ function hn(t, e) {
4955
5191
  const i = t.axes?.[0].valueFormat.type, r = e.axes?.[0].valueFormat.type, n = E(e.series), a = n === g.BarAndLineNoAggregation || n === g.BarAndLineSplitByNoAggregation, s = i === y.DateAxisFormat && r === y.NumberAxisFormat, o = i === y.NumberAxisFormat && r === y.DateAxisFormat;
4956
5192
  return i !== r && (a || s || o);
4957
5193
  }
4958
- function xl(t) {
5194
+ function Al(t) {
4959
5195
  const { previousSeries: e, newConfig: i, setTimeBinningInfoWhenNotProvided: r, queryObject: n } = t, a = i.series?.[0];
4960
5196
  let s = !1, o = !1;
4961
5197
  if (a && Ne(a) && st({
@@ -4969,7 +5205,7 @@ function xl(t) {
4969
5205
  }
4970
5206
  return { timeBinningChanged: s, newTimeBinningWillBeCalculated: o };
4971
5207
  }
4972
- function ar(t, e) {
5208
+ function sr(t, e) {
4973
5209
  return e.length !== t.length;
4974
5210
  }
4975
5211
  function mn(t, e) {
@@ -4981,49 +5217,49 @@ function gn(t, e) {
4981
5217
  function bn(t, e) {
4982
5218
  return JSON.stringify(t.series[0]?.xTemporalBinning) !== JSON.stringify(e.series[0]?.xTemporalBinning) || JSON.stringify(t.series[0]?.yTemporalBinning) !== JSON.stringify(e.series[0]?.yTemporalBinning) || (t.firstDayOfWeek ?? 7) !== (e.firstDayOfWeek ?? 7) || t.outTimeZone !== e.outTimeZone || (t.nullPolicy ?? Ce.Null) !== (e.nullPolicy ?? Ce.Null);
4983
5219
  }
4984
- function vl(t, e) {
5220
+ function Bl(t, e) {
4985
5221
  return (t.hideEmptyRowsAndColumns ?? !1) !== (e.hideEmptyRowsAndColumns ?? !1);
4986
5222
  }
4987
- function Cl(t, e) {
5223
+ function Ll(t, e) {
4988
5224
  return (t.includeLeapDay ?? Tt.heatChart.includeLeapDay) !== (e.includeLeapDay ?? Tt.heatChart.includeLeapDay);
4989
5225
  }
4990
- function Fl(t) {
5226
+ function Dl(t) {
4991
5227
  const { previousConfig: e, newConfig: i, fieldList: r } = t, n = e.series[0], a = i.series[0];
4992
5228
  let s = !1;
4993
5229
  if (n.type === y.ScatterSeries && a.type === y.ScatterSeries && r && r.length > 0) {
4994
5230
  const o = new Set(n.additionalTooltipFields || []), d = new Set(a.additionalTooltipFields || []);
4995
- if (!Re(o, d)) {
5231
+ if (!$e(o, d)) {
4996
5232
  const l = Array.from(d).filter((c) => !o.has(c));
4997
5233
  l.length > 0 && (s = r?.some((c) => l.includes(c.name) && !Lt(c)));
4998
5234
  }
4999
5235
  }
5000
5236
  return s;
5001
5237
  }
5002
- function rf(t, e) {
5238
+ function of(t, e) {
5003
5239
  return (t.colorMatch ?? !1) !== (e.colorMatch ?? !1);
5004
5240
  }
5005
- function nf(t, e) {
5241
+ function lf(t, e) {
5006
5242
  return (t.stackedType ?? Ie.Side) !== (e.stackedType ?? Ie.Side);
5007
5243
  }
5008
5244
  function ai(t) {
5009
5245
  const e = { ...t };
5010
5246
  return e.position === void 0 && (e.position = Tt.heatChart.legend.position), e;
5011
5247
  }
5012
- function af(t, e) {
5248
+ function df(t, e) {
5013
5249
  const i = t.legend ?? { type: y.Legend }, r = e.legend ?? { type: y.Legend }, n = ai(i), a = ai(r);
5014
- return !Re(n, a);
5250
+ return !$e(n, a);
5015
5251
  }
5016
- function sf(t, e) {
5252
+ function cf(t, e) {
5017
5253
  const i = t.legend ?? { type: y.Legend }, r = e.legend ?? { type: y.Legend }, n = ai(i), a = ai(r);
5018
5254
  return n.position !== a.position;
5019
5255
  }
5020
- function of(t, e) {
5256
+ function pf(t, e) {
5021
5257
  return JSON.stringify(t.series[0]?.gradientRules) !== JSON.stringify(e.series[0]?.gradientRules);
5022
5258
  }
5023
- function lf(t, e) {
5259
+ function uf(t, e) {
5024
5260
  return t.series[0].heatRulesType !== e.series[0].heatRulesType;
5025
5261
  }
5026
- function df(t) {
5262
+ function ff(t) {
5027
5263
  const { oldConfig: e, newConfig: i } = t;
5028
5264
  let r = !1;
5029
5265
  const n = e.series[0], a = i.series[0], s = q(e.series), o = q(i.series);
@@ -5039,52 +5275,52 @@ function df(t) {
5039
5275
  }
5040
5276
  return r;
5041
5277
  }
5042
- function wl(t) {
5278
+ function Nl(t) {
5043
5279
  const { previousSelectionOIDs: e, options: i } = t;
5044
5280
  let r = !1;
5045
- return i?.filterBySelection === !0 && (r = e?.length !== i?.selectionData?.selectionOIDs?.length || !Re(e, i?.selectionData?.selectionOIDs)), r;
5281
+ return i?.filterBySelection === !0 && (r = e?.length !== i?.selectionData?.selectionOIDs?.length || !$e(e, i?.selectionData?.selectionOIDs)), r;
5046
5282
  }
5047
- function cf(t, e) {
5283
+ function yf(t, e) {
5048
5284
  return t?.length !== e?.length || t?.some((i, r) => {
5049
5285
  const n = be({ where: i?.query?.where }), a = be({ where: e?.[r]?.query?.where });
5050
5286
  return n !== a;
5051
5287
  });
5052
5288
  }
5053
- function pf(t, e) {
5289
+ function hf(t, e) {
5054
5290
  const i = he(t), r = he(e);
5055
5291
  return JSON.stringify(i) !== JSON.stringify(r);
5056
5292
  }
5057
- function uf(t, e) {
5293
+ function mf(t, e) {
5058
5294
  let i, r, n, a;
5059
5295
  return Ne(t.series[0]) && (i = t.series[0].temporalBinning?.unit, n = t.series[0].temporalBinning?.size), Ne(e.series[0]) && (r = e.series[0].temporalBinning?.unit, a = e.series[0].temporalBinning?.size), Ti(i, n) && !Ti(r, a);
5060
5296
  }
5061
- function ff(t, e) {
5297
+ function gf(t, e) {
5062
5298
  return t.axes?.length === 3 && e.axes?.length === 2 || t.axes?.length === 2 && e.axes?.length === 3;
5063
5299
  }
5064
- function yf(t, e) {
5300
+ function bf(t, e) {
5065
5301
  return JSON.stringify(t.series.map((i) => i.assignToSecondValueAxis ?? !1)) !== JSON.stringify(e.series.map((i) => i.assignToSecondValueAxis ?? !1));
5066
5302
  }
5067
- function hf(t, e) {
5303
+ function Sf(t, e) {
5068
5304
  const i = t.axes?.map((n) => n?.guides?.map((a) => a?.above === !0)), r = e.axes?.map((n) => n?.guides?.map((a) => a?.above === !0));
5069
5305
  return JSON.stringify(i) !== JSON.stringify(r);
5070
5306
  }
5071
- function mf(t, e) {
5307
+ function xf(t, e) {
5072
5308
  return ir(t) !== ir(e);
5073
5309
  }
5074
- function gf(t, e) {
5310
+ function vf(t, e) {
5075
5311
  return (t.showOutliers ?? C.boxPlot.boxPlotOutliersVisibility) !== (e.showOutliers ?? C.boxPlot.boxPlotOutliersVisibility);
5076
5312
  }
5077
- function bf(t, e) {
5313
+ function Cf(t, e) {
5078
5314
  return (t.standardizeValues ?? C.boxPlot.boxPlotStandardizeValuesVisibility) !== (e.standardizeValues ?? C.boxPlot.boxPlotStandardizeValuesVisibility);
5079
5315
  }
5080
- function Sf(t, e) {
5316
+ function Ff(t, e) {
5081
5317
  return JSON.stringify(t?.chartRenderer) !== JSON.stringify(e?.chartRenderer);
5082
5318
  }
5083
- function xf(t, e) {
5319
+ function wf(t, e) {
5084
5320
  const i = t.axes?.[0].valueFormat.type === y.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0, r = e.axes?.[0].valueFormat.type === y.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0;
5085
5321
  return i !== r;
5086
5322
  }
5087
- function vf(t, e) {
5323
+ function Tf(t, e) {
5088
5324
  let i = !1;
5089
5325
  const r = t.series[0], n = e.series[0];
5090
5326
  if (r.type === y.ScatterSeries && n.type === y.ScatterSeries) {
@@ -5093,7 +5329,7 @@ function vf(t, e) {
5093
5329
  }
5094
5330
  return i;
5095
5331
  }
5096
- function Cf(t, e) {
5332
+ function If(t, e) {
5097
5333
  let i = !1;
5098
5334
  const r = t.series[0], n = e.series[0];
5099
5335
  if (r.type === y.ScatterSeries && n.type === y.ScatterSeries) {
@@ -5102,7 +5338,7 @@ function Cf(t, e) {
5102
5338
  }
5103
5339
  return i;
5104
5340
  }
5105
- function Tl(t) {
5341
+ function Ol(t) {
5106
5342
  const {
5107
5343
  previousConfig: e,
5108
5344
  newConfig: i,
@@ -5143,7 +5379,7 @@ function Tl(t) {
5143
5379
  previousConfig: e,
5144
5380
  newConfig: i,
5145
5381
  behaviorAfterLimit: r?.chartLimits?.behaviorAfterLimit
5146
- }), h.common.configFiltersChanged = bl(e, i), h.common.xOrYChanged = Sl(l, d), h.common.filterBySelectionChanged = fn(n, r), h.common.dataForFilterBySelectionChanged = wl({
5382
+ }), h.common.configFiltersChanged = Tl(e, i), h.common.xOrYChanged = Il(l, d), h.common.filterBySelectionChanged = fn(n, r), h.common.dataForFilterBySelectionChanged = Nl({
5147
5383
  previousSelectionOIDs: a,
5148
5384
  options: r
5149
5385
  }), h.common.binTemporalDataChanged = yn(e, i), h.common.valueFormatChangeRequiresNewData = hn(
@@ -5151,7 +5387,7 @@ function Tl(t) {
5151
5387
  i
5152
5388
  ), h.common = {
5153
5389
  ...h.common,
5154
- ...xl({
5390
+ ...Al({
5155
5391
  previousSeries: l,
5156
5392
  newConfig: i,
5157
5393
  setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided,
@@ -5167,22 +5403,22 @@ function Tl(t) {
5167
5403
  case y.LineSeries:
5168
5404
  case y.BarSeries:
5169
5405
  case y.ComboLineAndBarSeries:
5170
- h.common.numberOfSeriesChanged = ar(l, d);
5406
+ h.common.numberOfSeriesChanged = sr(l, d);
5171
5407
  break;
5172
5408
  case y.BoxPlotSeries:
5173
- ye(e) && ye(i) && (h.common.numberOfSeriesChanged = ar(l, d), h.boxPlot.showMeanChanged = mn(e, i));
5409
+ ye(e) && ye(i) && (h.common.numberOfSeriesChanged = sr(l, d), h.boxPlot.showMeanChanged = mn(e, i));
5174
5410
  break;
5175
5411
  case y.GaugeSeries:
5176
5412
  h.gauge.valueConversionChanged = gn(e, i);
5177
5413
  break;
5178
5414
  case y.HeatSeries:
5179
- At(e) && At(i) && (h.heatChart.binningChanged = bn(e, i), h.heatChart.hideEmptyRowsAndColumnsChanged = vl(
5415
+ At(e) && At(i) && (h.heatChart.binningChanged = bn(e, i), h.heatChart.hideEmptyRowsAndColumnsChanged = Bl(
5180
5416
  e,
5181
5417
  i
5182
- ), h.heatChart.includeLeapDay = Cl(e, i));
5418
+ ), h.heatChart.includeLeapDay = Ll(e, i));
5183
5419
  break;
5184
5420
  case y.ScatterSeries:
5185
- h.scatterPlot.tooltipFieldsChanged = Fl({
5421
+ h.scatterPlot.tooltipFieldsChanged = Dl({
5186
5422
  previousConfig: e,
5187
5423
  newConfig: i,
5188
5424
  fieldList: s
@@ -5191,7 +5427,7 @@ function Tl(t) {
5191
5427
  }
5192
5428
  return u = Object.values(h.common).some((m) => m), (h.gauge.valueConversionChanged || h.histogram.dataPropsChanged || h.boxPlot.showMeanChanged || h.heatChart.binningChanged || h.heatChart.hideEmptyRowsAndColumnsChanged || h.heatChart.includeLeapDay || h.scatterPlot.tooltipFieldsChanged) && (f = !0), p = u || f, { dataUpdateNeeded: p, dataUpdateDetails: h };
5193
5429
  }
5194
- function Ff(t, e) {
5430
+ function Af(t, e) {
5195
5431
  const i = wt(t);
5196
5432
  if (i && i.series.length > 1) {
5197
5433
  const { preferLabel: r, orderBy: n } = i.orderOptions?.series ?? {};
@@ -5309,7 +5545,7 @@ function Oi(t) {
5309
5545
  }
5310
5546
  return e;
5311
5547
  }
5312
- function wf(t) {
5548
+ function Bf(t) {
5313
5549
  const { oldConfig: e, newConfig: i, dataWasUpdated: r } = t, n = q(i.series), a = E(i.series);
5314
5550
  let s = !1, o = !1;
5315
5551
  if (a !== g.BoxPlotMonoField && a !== g.BoxPlotMonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
@@ -5324,7 +5560,7 @@ function wf(t) {
5324
5560
  }
5325
5561
  return s;
5326
5562
  }
5327
- const Tf = {
5563
+ const Lf = {
5328
5564
  getPieChartChartSubType: cn,
5329
5565
  getBarLineChartSubType: pn,
5330
5566
  hasQueryChanged: un,
@@ -5338,14 +5574,14 @@ const Tf = {
5338
5574
  getDataOrderParametersForCommonChart: vn,
5339
5575
  getDataOrderParametersForHeatChart: Sn
5340
5576
  };
5341
- function Il(t = ee.None, e) {
5577
+ function Pl(t = ee.None, e) {
5342
5578
  return t === ee.None || t === ee.Log && e > 0 || t === ee.Sqrt && e >= 0;
5343
5579
  }
5344
5580
  function Cn(t, e) {
5345
5581
  const i = { valid: !1 };
5346
5582
  return e === !0 ? i.invalidType = W.HistogramEmptyField : t === ee.Log ? i.invalidType = W.NegativeValueInLogCalculation : t === ee.Sqrt && (i.invalidType = W.NegativeValueInSqrtCalculation), i;
5347
5583
  }
5348
- function Al(t, e) {
5584
+ function Ml(t, e) {
5349
5585
  let i = t;
5350
5586
  switch (e) {
5351
5587
  case ee.Log:
@@ -5357,7 +5593,7 @@ function Al(t, e) {
5357
5593
  }
5358
5594
  return i;
5359
5595
  }
5360
- function Bl(t) {
5596
+ function Rl(t) {
5361
5597
  let e = t;
5362
5598
  if (t) {
5363
5599
  const i = t.toString().split(".");
@@ -5381,7 +5617,7 @@ function Fn(t) {
5381
5617
  }
5382
5618
  return e;
5383
5619
  }
5384
- async function Ll(t) {
5620
+ async function $l(t) {
5385
5621
  const { queryObject: e, fieldName: i, queryConfig: r, abortKey: n } = t, a = k(e), { idField: s, isTraditionalTypeOID: o } = Oe(a), d = o ? s : "*", l = `${I.Count}_${s}`, c = `${I.Count}_${i}`, p = `${I.Minimum}_${i}`, u = `${I.Maximum}_${i}`, f = {
5386
5622
  ...r,
5387
5623
  outStatistics: [
@@ -5413,15 +5649,15 @@ async function Ll(t) {
5413
5649
  }), m = h.get(l) ?? Number.NaN, b = h.get(c) ?? Number.NaN, S = h.get(p) ?? Number.NaN, x = h.get(u) ?? Number.NaN;
5414
5650
  return { countExcludingNulls: b, countIncludingNulls: m, min: S, max: x };
5415
5651
  }
5416
- async function Dl(t) {
5652
+ async function ql(t) {
5417
5653
  const { queryConfig: e, chartConfig: i, queryObject: r, abortKey: n } = t, a = i.series[0], { x: s, dataTransformationType: o } = a;
5418
5654
  let d = [];
5419
- const { countIncludingNulls: l, countExcludingNulls: c, min: p, max: u } = await Ll({
5655
+ const { countIncludingNulls: l, countExcludingNulls: c, min: p, max: u } = await $l({
5420
5656
  queryObject: r,
5421
5657
  queryConfig: e,
5422
5658
  fieldName: s,
5423
5659
  abortKey: n
5424
- }), f = Il(o, p), h = c < 2 || p === u, m = { ...e };
5660
+ }), f = Pl(o, p), h = c < 2 || p === u, m = { ...e };
5425
5661
  return m.where = Z([m.where, `${s} is not null`]), {
5426
5662
  rawData: d,
5427
5663
  dataCompatibleWithTransformation: f,
@@ -5430,11 +5666,11 @@ async function Dl(t) {
5430
5666
  countIncludingNulls: l
5431
5667
  };
5432
5668
  }
5433
- function Nl(t) {
5669
+ function El(t) {
5434
5670
  const e = { ...t };
5435
5671
  return e.avg = e.avg ?? Number.NaN, e.count = e.count ?? Number.NaN, e.max = e.max ?? Number.NaN, e.min = e.min ?? Number.NaN, e.stddev = e.stddev ?? Number.NaN, e.sum = e.sum ?? Number.NaN, e.variance = e.variance ?? Number.NaN, e.median = e.median ?? Number.NaN, e;
5436
5672
  }
5437
- function Ol(t) {
5673
+ function kl(t) {
5438
5674
  const { seriesConfig: e, layer: i, useFeaturesInView: r, view: n, queryConfig: a } = t, { x: s, dataTransformationType: o } = e;
5439
5675
  let d = {
5440
5676
  layer: i,
@@ -5449,7 +5685,7 @@ function Ol(t) {
5449
5685
  normalizationType: Fn(o)
5450
5686
  }), d;
5451
5687
  }
5452
- function Pl(t) {
5688
+ function Wl(t) {
5453
5689
  const { seriesConfig: e, layer: i, useFeaturesInView: r, view: n, minValue: a, maxValue: s, queryConfig: o } = t, { x: d, binCount: l, dataTransformationType: c } = e;
5454
5690
  let p = {
5455
5691
  layer: i,
@@ -5468,11 +5704,11 @@ function Pl(t) {
5468
5704
  normalizationType: Fn(c)
5469
5705
  }), p;
5470
5706
  }
5471
- function Ml(t, e) {
5707
+ function Vl(t, e) {
5472
5708
  let i = Number.NaN;
5473
5709
  return t !== void 0 && e !== void 0 && (i = t - e), i;
5474
5710
  }
5475
- async function Rl(t) {
5711
+ async function jl(t) {
5476
5712
  const {
5477
5713
  chartConfig: e,
5478
5714
  queryConfig: i,
@@ -5483,7 +5719,7 @@ async function Rl(t) {
5483
5719
  errorStrings: o
5484
5720
  } = t, d = e.series[0], { dataTransformationType: l } = d;
5485
5721
  let c = { valid: !0 };
5486
- const p = k(r), f = Ot(i?.geometry)?.extent?.toJSON() !== void 0, h = s?.view, m = Ol({
5722
+ const p = k(r), f = Ot(i?.geometry)?.extent?.toJSON() !== void 0, h = s?.view, m = kl({
5487
5723
  seriesConfig: d,
5488
5724
  layer: p,
5489
5725
  view: h,
@@ -5515,19 +5751,19 @@ async function Rl(t) {
5515
5751
  D?.median && (S.median = D.median);
5516
5752
  } catch {
5517
5753
  }
5518
- S = Nl(S);
5754
+ S = El(S);
5519
5755
  const { avg: x, count: v, stddev: F, min: T, max: w, sum: A, median: P } = S;
5520
5756
  if (v === 0)
5521
5757
  c = {
5522
5758
  ...Cn(l)
5523
5759
  };
5524
5760
  else {
5525
- const D = Pl({
5761
+ const D = Wl({
5526
5762
  seriesConfig: d,
5527
5763
  layer: p,
5528
5764
  view: h,
5529
5765
  useFeaturesInView: f,
5530
- minValue: Bl(T),
5766
+ minValue: Rl(T),
5531
5767
  maxValue: w,
5532
5768
  valueExpression: m.valueExpression,
5533
5769
  queryConfig: i
@@ -5535,11 +5771,11 @@ async function Rl(t) {
5535
5771
  D.filter = b;
5536
5772
  let B;
5537
5773
  try {
5538
- B = await ba(D);
5774
+ B = await ua(D);
5539
5775
  } catch (L) {
5540
5776
  throw new pe(oe.QueryFeaturesError, o.errors.queryError, L);
5541
5777
  }
5542
- const R = Ml(a, n);
5778
+ const R = Vl(a, n);
5543
5779
  c.data = {
5544
5780
  mean: x,
5545
5781
  stddev: F,
@@ -5566,13 +5802,13 @@ async function wn(t) {
5566
5802
  dataCountIncompatible: u,
5567
5803
  countIncludingNulls: f,
5568
5804
  countExcludingNulls: h
5569
- } = await Dl({
5805
+ } = await ql({
5570
5806
  queryObject: r,
5571
5807
  chartConfig: e,
5572
5808
  queryConfig: i,
5573
5809
  abortKey: a
5574
5810
  });
5575
- l = { valid: !0 }, !p || u ? l = Cn(d.dataTransformationType, u) : l = await Rl({
5811
+ l = { valid: !0 }, !p || u ? l = Cn(d.dataTransformationType, u) : l = await jl({
5576
5812
  chartConfig: e,
5577
5813
  queryObject: r,
5578
5814
  queryConfig: i,
@@ -5584,7 +5820,7 @@ async function wn(t) {
5584
5820
  }
5585
5821
  return l;
5586
5822
  }
5587
- async function $l(t) {
5823
+ async function zl(t) {
5588
5824
  const { queryObject: e, queryConfig: i, chartConfig: r, x: n } = t, { series: a } = r, { dataTransformationType: s } = a[0], o = {
5589
5825
  ...i,
5590
5826
  orderByFields: [n],
@@ -5596,7 +5832,7 @@ async function $l(t) {
5596
5832
  queryObject: e,
5597
5833
  queryConfig: o
5598
5834
  })).map((c) => ({
5599
- [n]: Al(c.attributes[n], s)
5835
+ [n]: Ml(c.attributes[n], s)
5600
5836
  })) }
5601
5837
  };
5602
5838
  }
@@ -5605,14 +5841,14 @@ const ut = {
5605
5841
  groupByOutKeyword: "OUT",
5606
5842
  groupByCaseEnd: "ELSE 'OUT' END"
5607
5843
  };
5608
- function If(t) {
5844
+ function Df(t) {
5609
5845
  return q(t.series) !== y.BoxPlotSeries ? C.xAxisField : t.series[0].x;
5610
5846
  }
5611
- function Af(t) {
5847
+ function Nf(t) {
5612
5848
  const e = Wi(t);
5613
5849
  return e === Ie.Stacked || e === Ie.Stacked100;
5614
5850
  }
5615
- function Bf(t, e) {
5851
+ function Of(t, e) {
5616
5852
  const i = [], r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
5617
5853
  return t.forEach((a, s) => n.set(a.id, s)), e.forEach((a, s) => {
5618
5854
  let o = n.get(a.id);
@@ -5624,7 +5860,7 @@ function Bf(t, e) {
5624
5860
  }
5625
5861
  }), i;
5626
5862
  }
5627
- function ql(t) {
5863
+ function _l(t) {
5628
5864
  const e = { ...t };
5629
5865
  return t.showMean === !0 && (e.series = [e.series[0]], e.series[0].query?.where !== void 0 && delete e.series[0].query.where), e;
5630
5866
  }
@@ -5655,10 +5891,10 @@ function si(t) {
5655
5891
  break;
5656
5892
  }
5657
5893
  }
5658
- function El(t, e) {
5894
+ function Gl(t, e) {
5659
5895
  t.valid = !1, t.invalidType = e;
5660
5896
  }
5661
- function Lf(t) {
5897
+ function Pf(t) {
5662
5898
  const {
5663
5899
  invalidType: e,
5664
5900
  chartLimits: i,
@@ -5869,7 +6105,7 @@ function _i(t) {
5869
6105
  }
5870
6106
  }), o;
5871
6107
  }
5872
- function kl(t) {
6108
+ function Ul(t) {
5873
6109
  const { data: e, yList: i, calculateZScore: r = !1 } = t, n = e[0], a = /* @__PURE__ */ new Map();
5874
6110
  return i.forEach((o) => {
5875
6111
  let d = {};
@@ -5881,7 +6117,7 @@ function kl(t) {
5881
6117
  }), a.set(o, d);
5882
6118
  }), Array.from(a.values());
5883
6119
  }
5884
- function Wl(t) {
6120
+ function Hl(t) {
5885
6121
  const { data: e, splitByField: i, y: r } = t, n = {
5886
6122
  [C.boxPlot.boxPlotCategory]: r
5887
6123
  };
@@ -5892,7 +6128,7 @@ function Wl(t) {
5892
6128
  });
5893
6129
  }), [n];
5894
6130
  }
5895
- function Vl(t) {
6131
+ function Ql(t) {
5896
6132
  const { splitByField: e, data: i, yList: r, calculateZScore: n = !1, meanAndStdDevPerField: a } = t, s = /* @__PURE__ */ new Map();
5897
6133
  return i.forEach((d) => {
5898
6134
  const l = d[e];
@@ -5915,7 +6151,7 @@ function Vl(t) {
5915
6151
  });
5916
6152
  }), Array.from(s.values());
5917
6153
  }
5918
- function jl(t) {
6154
+ function Yl(t) {
5919
6155
  const { data: e, yList: i, calculateZScore: r = !1, meanAndStdDevPerField: n } = t, a = e;
5920
6156
  return r && a.forEach((s) => {
5921
6157
  i.forEach((o) => {
@@ -5929,7 +6165,7 @@ function jl(t) {
5929
6165
  });
5930
6166
  }), a;
5931
6167
  }
5932
- function zl(t) {
6168
+ function Jl(t) {
5933
6169
  const { splitByField: e, x: i, data: r } = t, n = /* @__PURE__ */ new Map();
5934
6170
  return r.forEach((s) => {
5935
6171
  const o = s[i], d = { [i]: o }, l = s[e];
@@ -5948,7 +6184,7 @@ function zl(t) {
5948
6184
  });
5949
6185
  }), Array.from(n.values());
5950
6186
  }
5951
- function _l(t, e) {
6187
+ function Kl(t, e) {
5952
6188
  const { series: i } = t, r = i[0], { y: n } = r, a = E(t.series), s = {
5953
6189
  y: a === g.BoxPlotMultiFieldsAndCategory ? n : void 0,
5954
6190
  chartSubType: a
@@ -5984,12 +6220,12 @@ function _l(t, e) {
5984
6220
  });
5985
6221
  });
5986
6222
  }
5987
- function Gl(t, e) {
6223
+ function Xl(t, e) {
5988
6224
  let i, r;
5989
6225
  const n = t[e[O.IQR]], a = t[e[O.FirstQuartile]], s = t[e[O.ThirdQuartile]];
5990
6226
  return Number.isFinite(n) && Number.isFinite(a) && Number.isFinite(s) && (i = a - n * 1.5, r = s + n * 1.5), { outlierMinThreshold: i, outlierMaxThreshold: r };
5991
6227
  }
5992
- function sr(t) {
6228
+ function or(t) {
5993
6229
  const { yField: e, xField: i, xValue: r, splitByField: n, splitByValue: a, outlierMaxThreshold: s, outlierMinThreshold: o, target: d } = t;
5994
6230
  let l;
5995
6231
  if (i !== void 0 && r !== void 0) {
@@ -6008,7 +6244,7 @@ function In(t) {
6008
6244
  const { data: e, yField: i, x: r, chartSubType: n, splitByField: a } = t, s = n === g.BoxPlotMonoField || n === g.BoxPlotMonoFieldAndCategory || n === g.BoxPlotMonoFieldAndSplitBy || n === g.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : i, o = Ft(s), d = [], l = [], { maxOperandsPerWhereClause: c } = ci();
6009
6245
  let p = [], u = [], f = 1;
6010
6246
  return e.forEach((h, m) => {
6011
- const { outlierMinThreshold: b, outlierMaxThreshold: S } = Gl(h, o);
6247
+ const { outlierMinThreshold: b, outlierMaxThreshold: S } = Xl(h, o);
6012
6248
  if (typeof b == "number" && typeof S == "number") {
6013
6249
  const x = {
6014
6250
  yField: i,
@@ -6019,12 +6255,12 @@ function In(t) {
6019
6255
  value: h[r],
6020
6256
  dataContext: h,
6021
6257
  keepNullValues: !0
6022
- })), (n === g.BoxPlotMonoFieldAndSplitBy || n === g.BoxPlotMultiFieldsAndSplitBy || n === g.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in h && (x.splitByField = a, x.splitByValue = h[a]), p.push(sr({ ...x, target: "outliers" })), u.push(sr({ ...x, target: "alternativeData" })), (f % c === 0 || m === e.length - 1) && (d.push(Z(p, "OR")), l.push(Z(u, "OR")), p = [], u = []);
6258
+ })), (n === g.BoxPlotMonoFieldAndSplitBy || n === g.BoxPlotMultiFieldsAndSplitBy || n === g.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in h && (x.splitByField = a, x.splitByValue = h[a]), p.push(or({ ...x, target: "outliers" })), u.push(or({ ...x, target: "alternativeData" })), (f % c === 0 || m === e.length - 1) && (d.push(Z(p, "OR")), l.push(Z(u, "OR")), p = [], u = []);
6023
6259
  }
6024
6260
  f += 1;
6025
6261
  }), { outliersFilterBatches: d, dataWithoutOutliersFilterBatches: l };
6026
6262
  }
6027
- function Ul(t) {
6263
+ function Zl(t) {
6028
6264
  const { data: e, outlierDataItem: i, chartSubType: r, x: n, y: a, meanAndStdDevPerField: s, splitByField: o } = t;
6029
6265
  let d = s?.[Dt(a, I.Average)], l = s?.[Dt(a, I.StandardDeviation)];
6030
6266
  if (d === void 0 && l === void 0)
@@ -6053,7 +6289,7 @@ function Ul(t) {
6053
6289
  }
6054
6290
  return { mean: d, stdDev: l };
6055
6291
  }
6056
- async function Hl(t) {
6292
+ async function ed(t) {
6057
6293
  const { seriesConfig: e, data: i, uniqueQuery: r, queryObject: n, meanAndStdDevPerField: a, abortKey: s } = t, o = E(e), d = e[0], { x: l } = d, c = le(d.query?.where), p = k(n), u = Oe(p).idField, f = he(e), h = [];
6058
6294
  for (let S = 0; S < f.length; S += 1) {
6059
6295
  const x = f[S], { outliersFilterBatches: v } = In({
@@ -6126,7 +6362,7 @@ async function Hl(t) {
6126
6362
  const R = se({
6127
6363
  ...w,
6128
6364
  standardizeValues: !0
6129
- }), { mean: L, stdDev: M } = Ul({
6365
+ }), { mean: L, stdDev: M } = Zl({
6130
6366
  data: i,
6131
6367
  outlierDataItem: T,
6132
6368
  chartSubType: o,
@@ -6147,7 +6383,7 @@ async function Hl(t) {
6147
6383
  }
6148
6384
  return Array.from(b.values());
6149
6385
  }
6150
- async function Ql(t) {
6386
+ async function td(t) {
6151
6387
  const { data: e, queryObject: i, uniqueQuery: r, elementCount: n, chartConfig: a, chartLimits: s, abortKey: o } = t;
6152
6388
  let d = [];
6153
6389
  const { series: l, showMean: c } = a, p = hi({ showMean: c, seriesConfig: l }), u = E(l), f = Ke(a), { x: h } = f, m = le(f.query?.where), b = [];
@@ -6191,7 +6427,7 @@ async function Ql(t) {
6191
6427
  x: m !== void 0 && m !== "" ? m : h
6192
6428
  })), d;
6193
6429
  }
6194
- async function Yl(t) {
6430
+ async function id(t) {
6195
6431
  const { queryObject: e, uniqueQuery: i, chartConfig: r, abortKey: n } = t;
6196
6432
  let a;
6197
6433
  const { series: s, showMean: o } = r, d = E(s);
@@ -6227,7 +6463,7 @@ async function Yl(t) {
6227
6463
  }
6228
6464
  return a;
6229
6465
  }
6230
- function Jl(t) {
6466
+ function rd(t) {
6231
6467
  const { data: e, additionalData: i, chartConfig: r } = t, n = r.series[0], { x: a } = n, s = le(n.query?.where);
6232
6468
  return e.map((o) => {
6233
6469
  let d = o;
@@ -6247,14 +6483,14 @@ function An(t) {
6247
6483
  p[0][C.boxPlot.boxPlotCategory] = c[0];
6248
6484
  break;
6249
6485
  case g.BoxPlotMultiFields:
6250
- p = kl({
6486
+ p = Ul({
6251
6487
  data: i,
6252
6488
  yList: c,
6253
6489
  calculateZScore: r
6254
6490
  });
6255
6491
  break;
6256
6492
  case g.BoxPlotMonoFieldAndSplitBy:
6257
- p = Wl({
6493
+ p = Hl({
6258
6494
  data: i,
6259
6495
  splitByField: u,
6260
6496
  y: c[0]
@@ -6262,7 +6498,7 @@ function An(t) {
6262
6498
  });
6263
6499
  break;
6264
6500
  case g.BoxPlotMultiFieldsAndSplitBy:
6265
- p = Vl({
6501
+ p = Ql({
6266
6502
  splitByField: u,
6267
6503
  data: i,
6268
6504
  yList: c,
@@ -6271,7 +6507,7 @@ function An(t) {
6271
6507
  });
6272
6508
  break;
6273
6509
  case g.BoxPlotMultiFieldsAndCategory:
6274
- p = jl({
6510
+ p = Yl({
6275
6511
  data: i,
6276
6512
  yList: c,
6277
6513
  meanAndStdDevPerField: n,
@@ -6279,7 +6515,7 @@ function An(t) {
6279
6515
  });
6280
6516
  break;
6281
6517
  case g.BoxPlotMonoFieldAndCategoryAndSplitBy:
6282
- p = zl({
6518
+ p = Jl({
6283
6519
  splitByField: u,
6284
6520
  x: l,
6285
6521
  data: i
@@ -6288,27 +6524,27 @@ function An(t) {
6288
6524
  case g.BoxPlotMonoFieldAndCategory:
6289
6525
  }
6290
6526
  }
6291
- return _l(e, p), p;
6527
+ return Kl(e, p), p;
6292
6528
  }
6293
- async function Kl(t) {
6529
+ async function nd(t) {
6294
6530
  const { data: e, queryObject: i, uniqueQuery: r, fetchFullBoxPlotData: n, chartConfig: a, elementCount: s, chartLimits: o, abortKey: d } = t;
6295
6531
  let l = e, c = [];
6296
6532
  if (l !== void 0) {
6297
- const { series: p } = a, u = await Yl({
6533
+ const { series: p } = a, u = await id({
6298
6534
  queryObject: i,
6299
6535
  uniqueQuery: r,
6300
6536
  chartConfig: a,
6301
6537
  abortKey: d
6302
6538
  });
6303
6539
  if (n !== !1) {
6304
- c = await Hl({
6540
+ c = await ed({
6305
6541
  queryObject: i,
6306
6542
  uniqueQuery: r,
6307
6543
  seriesConfig: p,
6308
6544
  data: l,
6309
6545
  abortKey: d
6310
6546
  });
6311
- const f = await Ql({
6547
+ const f = await td({
6312
6548
  queryObject: i,
6313
6549
  uniqueQuery: r,
6314
6550
  elementCount: s,
@@ -6317,7 +6553,7 @@ async function Kl(t) {
6317
6553
  chartLimits: o,
6318
6554
  abortKey: d
6319
6555
  });
6320
- l = Jl({
6556
+ l = rd({
6321
6557
  data: l,
6322
6558
  additionalData: f,
6323
6559
  chartConfig: a
@@ -6332,7 +6568,7 @@ async function Kl(t) {
6332
6568
  }
6333
6569
  return { dataItems: l, outliers: c };
6334
6570
  }
6335
- async function Xl(t) {
6571
+ async function ad(t) {
6336
6572
  const { queryObject: e, queryConfig: i, chartConfig: r, abortKey: n } = t, a = r.series[0], { x: s, valueConversion: o } = a, d = Qi(r), l = await Le({
6337
6573
  queryObject: e,
6338
6574
  queryConfig: i,
@@ -6353,7 +6589,7 @@ async function Xl(t) {
6353
6589
  }
6354
6590
  return c;
6355
6591
  }
6356
- async function Zl(t) {
6592
+ async function sd(t) {
6357
6593
  const { queryObject: e, chartConfig: i, queryConfig: r, options: n, abortKey: a } = t, { chartLimits: s } = n ?? {}, o = { valid: !0 }, { behaviorAfterLimit: d, maxGaugeByFeaturesLimit: l } = s ?? {}, c = Qi(i);
6358
6594
  let p = !0, u;
6359
6595
  if (c && (u = (await qn({
@@ -6376,7 +6612,7 @@ async function Zl(t) {
6376
6612
  }), Rr({ chartConfig: i, options: n, uniqueQuery: r });
6377
6613
  }
6378
6614
  if (Number.isNaN(p) || p) {
6379
- const f = await Xl({
6615
+ const f = await ad({
6380
6616
  queryObject: e,
6381
6617
  chartConfig: i,
6382
6618
  queryConfig: r,
@@ -6390,7 +6626,7 @@ async function Zl(t) {
6390
6626
  });
6391
6627
  return o;
6392
6628
  }
6393
- async function Df(t) {
6629
+ async function Mf(t) {
6394
6630
  const { queryObject: e, chartConfig: i, queryConfig: r } = t, { minimumFromField: n, maximumFromField: a } = i.axes[0], s = [];
6395
6631
  let o = "", d = "";
6396
6632
  n !== void 0 && (typeof n == "string" ? (o = `${I.Minimum}_${n}`, s.push({
@@ -6422,11 +6658,11 @@ async function Df(t) {
6422
6658
  }), p = c.get(o), u = c.get(d);
6423
6659
  return { minimumFromData: p, maximumFromData: u };
6424
6660
  }
6425
- function or(t) {
6661
+ function lr(t) {
6426
6662
  const { orderBy: e, axisFormatOptions: i } = t;
6427
6663
  return e !== void 0 && i !== void 0 && (!Array.isArray(e) || i?.type === y.CategoryAxisFormat);
6428
6664
  }
6429
- function lr(t, e, i) {
6665
+ function dr(t, e, i) {
6430
6666
  let r = 0;
6431
6667
  if (Array.isArray(i)) {
6432
6668
  const n = t?.toString() ?? "", a = e?.toString() ?? "";
@@ -6435,24 +6671,24 @@ function lr(t, e, i) {
6435
6671
  } else i === ne.Descending ? typeof t == "string" && typeof e == "string" ? r = e.localeCompare(t, void 0, { numeric: !0 }) : r = (Number(e) || 0) - (Number(t) || 0) : i === ne.Ascending && (typeof t == "string" && typeof e == "string" ? r = t.localeCompare(e, void 0, { numeric: !0 }) : r = (Number(t) || 0) - (Number(e) || 0));
6436
6672
  return r;
6437
6673
  }
6438
- function ed(t) {
6674
+ function od(t) {
6439
6675
  const { arrayToSort: e, chartConfig: i, dataOrderParameters: r } = t;
6440
6676
  let n, a, s = !1, o = !1, d = !1;
6441
- r && e.length > 1 && ([n, a] = r, s = n && n.sortingField.length > 0 && or({
6677
+ r && e.length > 1 && ([n, a] = r, s = n && n.sortingField.length > 0 && lr({
6442
6678
  orderBy: n.orderBy,
6443
6679
  axisFormatOptions: i.axes?.[0]?.valueFormat
6444
- }), o = a && a.sortingField.length > 0 && or({
6680
+ }), o = a && a.sortingField.length > 0 && lr({
6445
6681
  orderBy: a.orderBy,
6446
6682
  axisFormatOptions: i.axes?.[1]?.valueFormat
6447
6683
  }), d = s || o), d && e.sort((l, c) => {
6448
6684
  let p = 0;
6449
6685
  if (s && n?.sortingField) {
6450
6686
  const u = n.orderBy;
6451
- p = lr(l[n.sortingField], c[n.sortingField], u);
6687
+ p = dr(l[n.sortingField], c[n.sortingField], u);
6452
6688
  }
6453
6689
  if (p === 0 && o && a?.sortingField) {
6454
6690
  const u = a.orderBy;
6455
- p = lr(l[a.sortingField], c[a.sortingField], u);
6691
+ p = dr(l[a.sortingField], c[a.sortingField], u);
6456
6692
  }
6457
6693
  return p;
6458
6694
  });
@@ -6462,7 +6698,7 @@ function oi(t) {
6462
6698
  if (n !== !0 && e[0] !== void 0) {
6463
6699
  const { series: a } = i, s = E(a), o = q(a), d = ke(i), l = Oi(i);
6464
6700
  if (At(i) && e !== void 0)
6465
- ed({ arrayToSort: e, chartConfig: i, dataOrderParameters: l });
6701
+ od({ arrayToSort: e, chartConfig: i, dataOrderParameters: l });
6466
6702
  else if (l?.[0] !== void 0 && e !== void 0 && e.length > 1) {
6467
6703
  const { orderBy: c } = l[0];
6468
6704
  let { sortingField: p } = l[0];
@@ -6492,7 +6728,7 @@ function oi(t) {
6492
6728
  }
6493
6729
  }
6494
6730
  }
6495
- function Nf(t) {
6731
+ function Rf(t) {
6496
6732
  const { alteredConfig: e, dataInfo: i, fieldList: r, options: n, queryObject: a } = t, s = Yi(i.data);
6497
6733
  if (s && oi({
6498
6734
  arrayToSort: s,
@@ -6512,7 +6748,7 @@ function Nf(t) {
6512
6748
  });
6513
6749
  }
6514
6750
  }
6515
- function Of(t) {
6751
+ function $f(t) {
6516
6752
  const {
6517
6753
  config: e,
6518
6754
  previousConfig: i,
@@ -6528,7 +6764,7 @@ function Of(t) {
6528
6764
  let h = !1;
6529
6765
  if (r.includes(f)) {
6530
6766
  const { oldValue: m, newValue: b } = n.get(f) ?? {};
6531
- h = !Re(m, b);
6767
+ h = !$e(m, b);
6532
6768
  }
6533
6769
  return h;
6534
6770
  }), u;
@@ -6537,7 +6773,7 @@ function Of(t) {
6537
6773
  p = Ee(f) !== Ee(h);
6538
6774
  }
6539
6775
  if (n.get("layer") && (u = { common: { layerChanged: !0 } }), e && i) {
6540
- const f = Tl({
6776
+ const f = Ol({
6541
6777
  previousConfig: i,
6542
6778
  newConfig: e,
6543
6779
  options: a,
@@ -6550,17 +6786,17 @@ function Of(t) {
6550
6786
  }
6551
6787
  return { dataUpdateNeeded: p, dataUpdateDetails: u };
6552
6788
  }
6553
- function td(t) {
6789
+ function ld(t) {
6554
6790
  return t?.type === "uniqueValue" && (t.uniqueValueInfos = t.uniqueValueInfos.map((e) => {
6555
6791
  const i = e.value === null ? C.nullValue : e.value;
6556
6792
  return { ...e, value: i };
6557
6793
  })), t;
6558
6794
  }
6559
- async function Pf(t) {
6795
+ async function qf(t) {
6560
6796
  const { data: e, queryObject: i, chartConfig: r, allowColorMatch: n } = t;
6561
6797
  let a = !1, s = [];
6562
6798
  if (n && !de(i)) {
6563
- const { series: o, chartRenderer: d } = r, l = td(d), c = l ? Ct.ChartRenderer : Ct.LayerRenderer, p = i ? k(i) : void 0, u = l ?? p?.renderer;
6799
+ const { series: o, chartRenderer: d } = r, l = ld(d), c = l ? Ct.ChartRenderer : Ct.LayerRenderer, p = i ? k(i) : void 0, u = l ?? p?.renderer;
6564
6800
  let f;
6565
6801
  p && c === Ct.LayerRenderer ? s = await on(p) : c === Ct.ChartRenderer && (s = Es(u));
6566
6802
  const h = Ls(l, p?.renderer), m = Ms({
@@ -6586,7 +6822,7 @@ async function Pf(t) {
6586
6822
  }
6587
6823
  return { dataItems: e, colorMatchApplied: a, rendererFieldNames: s };
6588
6824
  }
6589
- function id(t) {
6825
+ function dd(t) {
6590
6826
  const { itemsA: e, itemsB: i, isPieFromFields: r, x: n, y: a, outStatisticFieldName: s } = t, o = wt(e), d = wt(i);
6591
6827
  let l = !1;
6592
6828
  if (o === void 0 && d !== void 0 || o !== void 0 && d === void 0)
@@ -6619,16 +6855,16 @@ function id(t) {
6619
6855
  }), m.push(v), m;
6620
6856
  }, u = (m, b) => JSON.stringify(m).localeCompare(JSON.stringify(b));
6621
6857
  let f = o?.reduce(p, [])?.sort(u), h = d?.reduce(p, [])?.sort(u);
6622
- f && h && n && f.length !== h.length && (f = kt({ data: f, x: n }), h = kt({ data: h, x: n })), l = f?.length !== h?.length || !Re(f, h);
6858
+ f && h && n && f.length !== h.length && (f = kt({ data: f, x: n }), h = kt({ data: h, x: n })), l = f?.length !== h?.length || !$e(f, h);
6623
6859
  }
6624
6860
  return l;
6625
6861
  }
6626
- function rd(t) {
6862
+ function cd(t) {
6627
6863
  const { chartConfig: e, currentSelectionDataItems: i, options: r } = t, { selectionData: n } = r ?? {};
6628
6864
  let a = [];
6629
6865
  if (e !== void 0) {
6630
6866
  const s = e.series, o = E(s), { selectionItems: d } = n ?? {};
6631
- if (d !== void 0 && id({
6867
+ if (d !== void 0 && dd({
6632
6868
  itemsA: d,
6633
6869
  itemsB: i,
6634
6870
  isPieFromFields: E(e.series) === g.PieFromFields,
@@ -6657,7 +6893,7 @@ function tt(t, e) {
6657
6893
  }
6658
6894
  return i;
6659
6895
  }
6660
- function nd(t) {
6896
+ function pd(t) {
6661
6897
  const { dataContext: e, xAxisField: i, yAxisField: r, options: n } = t;
6662
6898
  let a = "";
6663
6899
  const { dataContextXMinField: s, dataContextXMaxField: o, dataContextYMinField: d, dataContextYMaxField: l } = C.scatterplotAggregationFields;
@@ -6674,20 +6910,20 @@ function nd(t) {
6674
6910
  ]);
6675
6911
  return a;
6676
6912
  }
6677
- function dr(t) {
6913
+ function cr(t) {
6678
6914
  const { fieldsIndex: e, fieldName: i, inputDate: r } = t, n = e.get(i), a = e.getTimeZone(i);
6679
- return Fa(new Date(r), { type: "date" }, { type: n, timeZone: a });
6915
+ return ga(new Date(r), { type: "date" }, { type: n, timeZone: a });
6680
6916
  }
6681
6917
  function Bn(t) {
6682
6918
  const { xAxisField: e, dataContext: i, queryObject: r } = t;
6683
6919
  let n = "";
6684
6920
  const a = i[C.originalServerBinningRange] ?? i[C.dateBinningRange];
6685
- if (Ei(a) && a.length === 2) {
6921
+ if (qi(a) && a.length === 2) {
6686
6922
  let [s, o] = a, d = !0;
6687
6923
  const l = Ee(r);
6688
6924
  if (l) {
6689
6925
  const c = k(r), { fieldsIndex: p } = c;
6690
- s = dr({ fieldsIndex: p, fieldName: e, inputDate: s }), o = dr({ fieldsIndex: p, fieldName: e, inputDate: o });
6926
+ s = cr({ fieldsIndex: p, fieldName: e, inputDate: s }), o = cr({ fieldsIndex: p, fieldName: e, inputDate: o });
6691
6927
  } else
6692
6928
  typeof s == "number" && typeof o == "number" ? Number.isFinite(s) && Number.isFinite(o) ? (s = It(s), o = It(o)) : d = !1 : typeof s == "string" && typeof o == "string" && (s = new Date(s).toISOString(), o = new Date(o).toISOString());
6693
6929
  if (d) {
@@ -6741,7 +6977,7 @@ function Dn(t) {
6741
6977
  }
6742
6978
  return Z([o, d, l]);
6743
6979
  }
6744
- function ad(t) {
6980
+ function ud(t) {
6745
6981
  const { xAxisField: e, splitBy: i, dataContext: r, xAxisFieldType: n, chartConfig: a, queryObject: s } = t;
6746
6982
  let o = "";
6747
6983
  if (C.dateBinningRange in r)
@@ -6761,7 +6997,7 @@ function ad(t) {
6761
6997
  const d = Qe({ where: i ?? "", normalize: !1, escape: !0 });
6762
6998
  return Z([o, d]);
6763
6999
  }
6764
- function sd(t) {
7000
+ function fd(t) {
6765
7001
  const { xAxisField: e, dataContext: i, chartConfig: r } = t;
6766
7002
  let n = i[C.originalCategoryValue];
6767
7003
  return n === void 0 && (n = i[e]), E(r.series) === g.PieFromFields ? "" : Qe({
@@ -6770,7 +7006,7 @@ function sd(t) {
6770
7006
  escape: !0
6771
7007
  });
6772
7008
  }
6773
- function cr(t) {
7009
+ function pr(t) {
6774
7010
  const { field: e, fieldType: i, fieldValue: r, unit: n, outTimeZone: a, dataTimeZone: s, runsOnClientQueryEngine: o } = t;
6775
7011
  let d;
6776
7012
  const { expression: l } = Vi({
@@ -6784,7 +7020,7 @@ function cr(t) {
6784
7020
  });
6785
7021
  return l && (d = `${l}=${r}`), d;
6786
7022
  }
6787
- function od(t) {
7023
+ function yd(t) {
6788
7024
  const {
6789
7025
  xAxisFieldType: e,
6790
7026
  yAxisFieldType: i,
@@ -6802,7 +7038,7 @@ function od(t) {
6802
7038
  where: tt(d.x, f ?? u),
6803
7039
  normalize: !1,
6804
7040
  escape: !0
6805
- }) : c = cr({
7041
+ }) : c = pr({
6806
7042
  field: d.x,
6807
7043
  fieldType: e,
6808
7044
  fieldValue: u,
@@ -6814,7 +7050,7 @@ function od(t) {
6814
7050
  where: tt(d.y, m ?? h),
6815
7051
  normalize: !1,
6816
7052
  escape: !0
6817
- }) : p = cr({
7053
+ }) : p = pr({
6818
7054
  field: d.y,
6819
7055
  fieldType: i,
6820
7056
  fieldValue: h,
@@ -6826,7 +7062,7 @@ function od(t) {
6826
7062
  }
6827
7063
  return l;
6828
7064
  }
6829
- function ld(t) {
7065
+ function hd(t) {
6830
7066
  const { xAxisField: e, dataContext: i, chartConfig: r } = t;
6831
7067
  let n = "";
6832
7068
  const a = r.series[0], { minValue: s, maxValue: o } = i;
@@ -6839,35 +7075,35 @@ function ld(t) {
6839
7075
  }
6840
7076
  return n;
6841
7077
  }
6842
- function Mf(t) {
7078
+ function Ef(t) {
6843
7079
  const { chartConfig: e } = t, i = q(e.series);
6844
7080
  let r = "";
6845
7081
  switch (i) {
6846
7082
  case y.ScatterSeries:
6847
- r = nd(t);
7083
+ r = pd(t);
6848
7084
  break;
6849
7085
  case y.HeatSeries:
6850
- r = od(t);
7086
+ r = yd(t);
6851
7087
  break;
6852
7088
  case y.RadarSeries:
6853
7089
  case y.BarSeries:
6854
7090
  case y.LineSeries:
6855
7091
  case y.ComboLineAndBarSeries:
6856
- r = ad(t);
7092
+ r = ud(t);
6857
7093
  break;
6858
7094
  case y.BoxPlotSeries:
6859
7095
  r = Dn(t);
6860
7096
  break;
6861
7097
  case y.HistogramSeries:
6862
- r = ld(t);
7098
+ r = hd(t);
6863
7099
  break;
6864
7100
  case y.PieSeries:
6865
- r = sd(t);
7101
+ r = fd(t);
6866
7102
  break;
6867
7103
  }
6868
7104
  return r;
6869
7105
  }
6870
- async function dd(t) {
7106
+ async function md(t) {
6871
7107
  const { queryObject: e, queryConfig: i, chartConfig: r, currentSelectionDataItems: n, options: a, errorStrings: s, abortKey: o } = t, d = E(r.series);
6872
7108
  let l = { valid: !0, data: { dataItems: [] } };
6873
7109
  if (n !== void 0 && n.length > 0) {
@@ -6929,7 +7165,7 @@ async function dd(t) {
6929
7165
  }
6930
7166
  return l;
6931
7167
  }
6932
- async function cd(t) {
7168
+ async function gd(t) {
6933
7169
  const {
6934
7170
  queryObject: e,
6935
7171
  queryConfig: i,
@@ -6943,7 +7179,7 @@ async function cd(t) {
6943
7179
  ni(e);
6944
7180
  const { series: l } = r, c = q(l), p = ke(r);
6945
7181
  let u = { valid: !0 }, f = s?.selectionData?.selectionItems ?? [];
6946
- a || (f = rd({ chartConfig: r, currentSelectionDataItems: n, options: s }));
7182
+ a || (f = cd({ chartConfig: r, currentSelectionDataItems: n, options: s }));
6947
7183
  let h = !1;
6948
7184
  switch (c) {
6949
7185
  case y.HeatSeries:
@@ -6960,7 +7196,7 @@ async function cd(t) {
6960
7196
  u.count = f.length, h = !0;
6961
7197
  break;
6962
7198
  case y.BoxPlotSeries:
6963
- ye(r) && (u = await dd({
7199
+ ye(r) && (u = await md({
6964
7200
  queryObject: e,
6965
7201
  queryConfig: i,
6966
7202
  chartConfig: r,
@@ -7062,7 +7298,7 @@ async function Gi(t) {
7062
7298
  else {
7063
7299
  const c = { dataItems: [] };
7064
7300
  c.meanLines = l.data.dataItems;
7065
- const p = ql(i), u = (await Mi({
7301
+ const p = _l(i), u = (await Mi({
7066
7302
  queryObject: e,
7067
7303
  queryConfig: r,
7068
7304
  fetchFullBoxPlotData: !0,
@@ -7074,7 +7310,7 @@ async function Gi(t) {
7074
7310
  }
7075
7311
  return o;
7076
7312
  }
7077
- async function pd(t) {
7313
+ async function bd(t) {
7078
7314
  const {
7079
7315
  queryObject: e,
7080
7316
  chartConfig: i,
@@ -7089,7 +7325,7 @@ async function pd(t) {
7089
7325
  } = t, { series: p } = i, { filterBySelection: u } = n ?? {}, f = q(p);
7090
7326
  let h = { valid: !0 };
7091
7327
  if (u === !0)
7092
- h = await cd({
7328
+ h = await gd({
7093
7329
  queryObject: e,
7094
7330
  queryConfig: r,
7095
7331
  chartConfig: i,
@@ -7166,7 +7402,7 @@ async function pd(t) {
7166
7402
  });
7167
7403
  break;
7168
7404
  case y.GaugeSeries:
7169
- ni(e), h = await Zl({
7405
+ ni(e), h = await sd({
7170
7406
  queryObject: e,
7171
7407
  chartConfig: i,
7172
7408
  queryConfig: r,
@@ -7177,7 +7413,7 @@ async function pd(t) {
7177
7413
  }
7178
7414
  return h;
7179
7415
  }
7180
- async function Rf(t) {
7416
+ async function kf(t) {
7181
7417
  const {
7182
7418
  queryObject: e,
7183
7419
  chartConfig: i,
@@ -7197,7 +7433,7 @@ async function Rf(t) {
7197
7433
  ignoreViewExtent: s?.ignoreViewExtent,
7198
7434
  viewExtent: s?.view?.extent
7199
7435
  });
7200
- return So(r), c = await pd({
7436
+ return So(r), c = await bd({
7201
7437
  chartConfig: i,
7202
7438
  queryObject: e,
7203
7439
  queryConfig: p,
@@ -7210,7 +7446,7 @@ async function Rf(t) {
7210
7446
  preFetchedQueryResponse: l
7211
7447
  }), c.queryConfig = p, c;
7212
7448
  }
7213
- function ud(t, e, i) {
7449
+ function Sd(t, e, i) {
7214
7450
  const r = /* @__PURE__ */ new Map();
7215
7451
  for (let a = 0; a < t.length; a += 1)
7216
7452
  r.set(t[a], { [i]: t[a] });
@@ -7220,7 +7456,7 @@ function ud(t, e, i) {
7220
7456
  }
7221
7457
  return [...r.values()];
7222
7458
  }
7223
- async function fd(t) {
7459
+ async function xd(t) {
7224
7460
  const { seriesData: e, chartConfig: i, queryConfig: r, queryObject: n, categoryOrDateCount: a, behaviorAfterLimit: s, abortKey: o } = t, { series: d } = i;
7225
7461
  let l = e;
7226
7462
  const c = E(d), p = ke(i);
@@ -7237,11 +7473,11 @@ async function fd(t) {
7237
7473
  featureCount: a,
7238
7474
  abortKey: o
7239
7475
  })).map((b) => b.attributes[u]).filter((b) => b != null);
7240
- m.length > e.length && (l = ud(m, e, u));
7476
+ m.length > e.length && (l = Sd(m, e, u));
7241
7477
  }
7242
7478
  return l;
7243
7479
  }
7244
- function yd(t, e) {
7480
+ function vd(t, e) {
7245
7481
  const i = t, { series: r } = e;
7246
7482
  if (ke(e) === y.CategoryAxisFormat && r[0].query?.outStatistics?.[0].statisticType === I.Count) {
7247
7483
  const n = r.reduce(
@@ -7264,7 +7500,7 @@ const Nn = [
7264
7500
  g.BoxPlotMonoFieldAndCategory,
7265
7501
  g.BoxPlotMultiFieldsAndCategory,
7266
7502
  g.BoxPlotMonoFieldAndCategoryAndSplitBy
7267
- ], hd = 8e3;
7503
+ ], Cd = 8e3;
7268
7504
  function On(t, e) {
7269
7505
  let i = t;
7270
7506
  return e === $.Week ? i /= 7 : e === $.Month ? i /= 30 : e === $.Year && (i /= 365), i = Math.ceil(i), i;
@@ -7291,7 +7527,7 @@ function it(t) {
7291
7527
  }
7292
7528
  return e;
7293
7529
  }
7294
- function md(t) {
7530
+ function Fd(t) {
7295
7531
  const { binFirstOrLastIndex: e, data: i, x: r, timeIntervalInfo: n } = t, { unit: a, size: s } = n, o = a === $.Week ? (s ?? 1) * 7 : s, d = i[e][r];
7296
7532
  let l = e;
7297
7533
  const c = it({
@@ -7321,7 +7557,7 @@ function md(t) {
7321
7557
  sliceEndIndex: f
7322
7558
  };
7323
7559
  }
7324
- function gd(t) {
7560
+ function wd(t) {
7325
7561
  const { binFirstOrLastIndex: e, data: i, x: r, timeIntervalInfo: n } = t, { unit: a, size: s } = n, o = a === $.Week ? (s ?? 1) * 7 : s, d = i[e][r];
7326
7562
  let l = e;
7327
7563
  const c = it({
@@ -7349,7 +7585,7 @@ function gd(t) {
7349
7585
  last: u
7350
7586
  };
7351
7587
  }
7352
- function bd(t) {
7588
+ function Td(t) {
7353
7589
  const { binsToRegroup: e, statisticType: i, y: r, nullPolicy: n } = t;
7354
7590
  let a;
7355
7591
  n !== Ce.Interpolate && (a = n === Ce.Zero ? 0 : null);
@@ -7373,13 +7609,13 @@ function bd(t) {
7373
7609
  }
7374
7610
  return a;
7375
7611
  }
7376
- function Sd(t) {
7612
+ function Id(t) {
7377
7613
  const { data: e, seriesConfig: i, timeIntervalInfo: r, dateMinTimestamp: n, dateMaxTimestamp: a } = t;
7378
7614
  let s = [];
7379
7615
  const { unit: o } = r, d = r.size ?? 1, l = i[0], { x: c } = l;
7380
7616
  let p, u;
7381
7617
  if (Ne(l) && (u = l.temporalBinning?.nullPolicy, p = l.temporalBinning?.timeAggregationType), d > 1 || o === $.Week || o === $.Month || o === $.Year) {
7382
- const { query: f } = i[0], h = he(i), { statisticType: m } = f?.outStatistics?.[0] ?? $i;
7618
+ const { query: f } = i[0], h = he(i), { statisticType: m } = f?.outStatistics?.[0] ?? Ei;
7383
7619
  let b = !1, S = p === re.End ? e.length - 1 : 0;
7384
7620
  const x = {
7385
7621
  binFirstOrLastIndex: S,
@@ -7391,15 +7627,15 @@ function Sd(t) {
7391
7627
  let v = {};
7392
7628
  const { binStartDate: F, binEndDate: T, last: w, nextBinFirstOrLastIndex: A, sliceStartIndex: P, sliceEndIndex: D } = p === re.End ? (
7393
7629
  // When grouping from the end we'll start from the last date and move backward to create the bins
7394
- gd(x)
7630
+ wd(x)
7395
7631
  ) : (
7396
7632
  // When grouping from the start we'll start from the first date and move forward to create the bins
7397
- md(x)
7633
+ Fd(x)
7398
7634
  );
7399
7635
  if (b = w, v = p === re.End ? v = e[D - 1] : v = e[S], T > a && F < a || F < n && T > n || F >= n && T <= a) {
7400
7636
  const B = e.slice(P, D).filter((M) => !(C.dateBinModel in M));
7401
7637
  h.forEach((M) => {
7402
- v[M] = bd({ binsToRegroup: B, statisticType: m, y: M, nullPolicy: u });
7638
+ v[M] = Td({ binsToRegroup: B, statisticType: m, y: M, nullPolicy: u });
7403
7639
  });
7404
7640
  const R = B.map((M) => M[_e]).filter((M) => M !== void 0), L = hs(R);
7405
7641
  L !== void 0 && (v[_e] = L), v[c] = F, v[C.xAxisField] = F, v[C.dateBinningRange] = [F, T], delete v[C.dateBinModel], s.push(v);
@@ -7462,7 +7698,7 @@ function Mn(t) {
7462
7698
  {}
7463
7699
  );
7464
7700
  }
7465
- function xd(t) {
7701
+ function Ad(t) {
7466
7702
  const {
7467
7703
  dateMaxTimestamp: e,
7468
7704
  numberOfFinalBinsWithinDataRange: i,
@@ -7508,11 +7744,11 @@ function xd(t) {
7508
7744
  }
7509
7745
  return { newDateMin: p, newDateMax: u };
7510
7746
  }
7511
- function vd(t) {
7747
+ function Bd(t) {
7512
7748
  const { numberOfSingleBinsWithinDataRange: e, dataLength: i, unit: r } = t;
7513
7749
  return On(i, r) >= e;
7514
7750
  }
7515
- async function Cd(t) {
7751
+ async function Ld(t) {
7516
7752
  const { queryObject: e, queryConfig: i, x: r } = t, n = `MIN_${r}`, a = `MAX_${r}`, s = `COUNT_${r}`, o = {
7517
7753
  ...i,
7518
7754
  outStatistics: [
@@ -7542,7 +7778,7 @@ async function Cd(t) {
7542
7778
  const p = d.get(s);
7543
7779
  return typeof l == "string" && (l = new Date(l).valueOf()), typeof c == "string" && (c = new Date(c).valueOf()), { dateRange: { dateMinTimestamp: l, dateMaxTimestamp: c }, numberOfFeatures: p };
7544
7780
  }
7545
- function Fd(t) {
7781
+ function Dd(t) {
7546
7782
  const {
7547
7783
  newDateMin: e,
7548
7784
  newDateMax: i,
@@ -7552,7 +7788,7 @@ function Fd(t) {
7552
7788
  initialNumberOfBins: s,
7553
7789
  timeIntervalInfo: o
7554
7790
  } = t, { unit: d } = o, l = n;
7555
- if (!vd({
7791
+ if (!Bd({
7556
7792
  numberOfSingleBinsWithinDataRange: a,
7557
7793
  dataLength: s,
7558
7794
  unit: d
@@ -7573,7 +7809,7 @@ function Fd(t) {
7573
7809
  }
7574
7810
  return l;
7575
7811
  }
7576
- function wd(t) {
7812
+ function Nd(t) {
7577
7813
  const { data: e, seriesConfig: i, dateMinTimestamp: r, dateMaxTimestamp: n } = t, a = e;
7578
7814
  if (i[0].temporalBinning?.trimIncompleteTimeInterval !== !1) {
7579
7815
  const { timeAggregationType: s } = i[0].temporalBinning ?? {}, o = e[0]?.[C.dateBinningRange]?.[0], d = e[e.length - 1]?.[C.dateBinningRange]?.[1];
@@ -7590,10 +7826,10 @@ function wd(t) {
7590
7826
  }
7591
7827
  return a;
7592
7828
  }
7593
- function Td(t) {
7829
+ function Od(t) {
7594
7830
  const { groupByFieldsForStatistics: e, dateField: i, queryStartDate: r, queryEndDate: n, y: a, binIndex: s, lastBin: o } = t;
7595
7831
  let d = e === "" ? ut.groupByCaseBegin : e;
7596
- return d = ie(Ic, {
7832
+ return d = ie(Pc, {
7597
7833
  groupByFieldsForStatistics: d,
7598
7834
  dateField: i,
7599
7835
  startDate: `${r}`,
@@ -7604,7 +7840,7 @@ function Td(t) {
7604
7840
  // we use <= to catch the last bin's value, < otherwise
7605
7841
  }), d;
7606
7842
  }
7607
- function* Id(t) {
7843
+ function* Pd(t) {
7608
7844
  const { queryObject: e, seriesConfig: i, queryConfig: r, completeData: n } = t;
7609
7845
  for (let a = 0; a < i.length; a += 1) {
7610
7846
  const s = i[a], { query: o, x: d, y: l } = s, p = [
@@ -7618,7 +7854,7 @@ function* Id(t) {
7618
7854
  let u = ut.groupByCaseBegin;
7619
7855
  for (let h = 0; h < n.length; h += 1) {
7620
7856
  const m = n[h], [b, S] = m[C.dateBinningRange], x = It(b), v = It(S);
7621
- u = Td({
7857
+ u = Od({
7622
7858
  groupByFieldsForStatistics: u,
7623
7859
  queryStartDate: x,
7624
7860
  queryEndDate: v,
@@ -7642,10 +7878,10 @@ function* Id(t) {
7642
7878
  });
7643
7879
  }
7644
7880
  }
7645
- async function Ad(t) {
7646
- const { queryObject: e, data: i, seriesConfig: r, queryConfig: n } = t, a = i, { statisticType: s } = r[0].query?.outStatistics?.[0] ?? $i;
7881
+ async function Md(t) {
7882
+ const { queryObject: e, data: i, seriesConfig: r, queryConfig: n } = t, a = i, { statisticType: s } = r[0].query?.outStatistics?.[0] ?? Ei;
7647
7883
  if (s === I.ContinuousPercentile && a.length > 0) {
7648
- const o = Id({
7884
+ const o = Pd({
7649
7885
  queryObject: e,
7650
7886
  completeData: a,
7651
7887
  seriesConfig: r,
@@ -7667,7 +7903,7 @@ async function Ad(t) {
7667
7903
  }
7668
7904
  return a;
7669
7905
  }
7670
- function pr(t) {
7906
+ function ur(t) {
7671
7907
  const { dataItem: e, nullPolicy: i, statField: r } = t;
7672
7908
  if (r) {
7673
7909
  const n = e[r];
@@ -7685,7 +7921,7 @@ function pr(t) {
7685
7921
  }
7686
7922
  }
7687
7923
  }
7688
- function Bd(t) {
7924
+ function Rd(t) {
7689
7925
  const { chartConfig: e, queryResults: i, mapToStatField: r, splitByField: n, x: a, y: s, nullPolicy: o, queryObject: d } = t, l = Qr(a), p = Fe(d).find((b) => b.name === a)?.type, u = [], f = e.series[0], h = "temporalBinning" in f ? f.temporalBinning?.trimIncompleteTimeInterval : !1, m = "temporalBinning" in f ? f.temporalBinning?.timeAggregationType : !1;
7690
7926
  return i.forEach((b, S) => {
7691
7927
  if (!(h && (S === 0 && m === re.End || S === i.length - 1 && m === re.Start))) {
@@ -7710,9 +7946,9 @@ function Bd(t) {
7710
7946
  const G = M[n];
7711
7947
  if (G === null || typeof G == "string" || typeof G == "number") {
7712
7948
  const z = r?.get(G);
7713
- z !== void 0 && (B[z] = M[U.outStatistics?.outStatisticFieldName ?? ""], pr({ dataItem: B, statField: z, nullPolicy: o }));
7949
+ z !== void 0 && (B[z] = M[U.outStatistics?.outStatisticFieldName ?? ""], ur({ dataItem: B, statField: z, nullPolicy: o }));
7714
7950
  }
7715
- }) : typeof s == "string" && pr({ dataItem: B, statField: s, nullPolicy: o });
7951
+ }) : typeof s == "string" && ur({ dataItem: B, statField: s, nullPolicy: o });
7716
7952
  const { featureExtent: R, featureExtentKey: L } = Rn({
7717
7953
  feature: b,
7718
7954
  splitByField: n
@@ -7722,7 +7958,7 @@ function Bd(t) {
7722
7958
  }
7723
7959
  }), u;
7724
7960
  }
7725
- async function Ld(t) {
7961
+ async function $d(t) {
7726
7962
  const { queryObject: e, queryResults: i, x: r, queryConfig: n, seriesConfig: a, dateRange: s, timeIntervalInfo: o } = t;
7727
7963
  let d = i;
7728
7964
  const { dateMinTimestamp: l, dateMaxTimestamp: c } = s;
@@ -7736,7 +7972,7 @@ async function Ld(t) {
7736
7972
  dateMinTimestamp: l,
7737
7973
  dateMaxTimestamp: c,
7738
7974
  timeIntervalInfo: o
7739
- }), { newDateMin: h, newDateMax: m } = xd({
7975
+ }), { newDateMin: h, newDateMax: m } = Ad({
7740
7976
  dateMaxTimestamp: c,
7741
7977
  data: d,
7742
7978
  numberOfFinalBinsWithinDataRange: u,
@@ -7744,7 +7980,7 @@ async function Ld(t) {
7744
7980
  seriesConfig: a,
7745
7981
  timeIntervalInfo: o
7746
7982
  });
7747
- d = Fd({
7983
+ d = Dd({
7748
7984
  newDateMin: h,
7749
7985
  newDateMax: m,
7750
7986
  seriesConfig: a,
@@ -7755,31 +7991,31 @@ async function Ld(t) {
7755
7991
  }), $t({
7756
7992
  arrayToSort: d,
7757
7993
  sortingField: r
7758
- }), d = Sd({
7994
+ }), d = Id({
7759
7995
  data: d,
7760
7996
  seriesConfig: a,
7761
7997
  dateMinTimestamp: l,
7762
7998
  dateMaxTimestamp: c,
7763
7999
  timeIntervalInfo: o
7764
- }), d = wd({
8000
+ }), d = Nd({
7765
8001
  data: d,
7766
8002
  seriesConfig: a,
7767
8003
  dateMinTimestamp: l,
7768
8004
  dateMaxTimestamp: c
7769
- }), e && (d = await Ad({ queryObject: e, data: d, seriesConfig: a, queryConfig: n }));
8005
+ }), e && (d = await Md({ queryObject: e, data: d, seriesConfig: a, queryConfig: n }));
7770
8006
  }
7771
8007
  }
7772
8008
  return d;
7773
8009
  }
7774
- function Dd(t) {
8010
+ function qd(t) {
7775
8011
  return Math.floor(Math.min(Math.max(8, Math.sqrt(t ?? 8)), 128) + 0.5);
7776
8012
  }
7777
- function Nd(t) {
8013
+ function Ed(t) {
7778
8014
  const { dateRange: e, numberOfFeatures: i } = t;
7779
8015
  let r, n, { dateMinTimestamp: a, dateMaxTimestamp: s } = e;
7780
8016
  if (a && s) {
7781
8017
  typeof a == "string" && (a = new Date(a).valueOf()), typeof s == "string" && (s = new Date(s).valueOf());
7782
- const o = Dd(i), d = (s - a) / o, l = hr.findIndex((S) => S.threshold > d), c = hr[l], { unitMs: p, preferredIntervalSize: u } = c;
8018
+ const o = qd(i), d = (s - a) / o, l = mr.findIndex((S) => S.threshold > d), c = mr[l], { unitMs: p, preferredIntervalSize: u } = c;
7783
8019
  ({ unit: r } = c);
7784
8020
  const f = d / p, h = u.findIndex(
7785
8021
  (S) => S >= f
@@ -7788,7 +8024,7 @@ function Nd(t) {
7788
8024
  }
7789
8025
  return { size: n, unit: r };
7790
8026
  }
7791
- function Od(t) {
8027
+ function kd(t) {
7792
8028
  const { series: e, isTimeBinningSeries: i, setTimeBinningInfoWhenNotProvided: r } = t;
7793
8029
  let n = !1;
7794
8030
  if (Ne(e) && i) {
@@ -7797,7 +8033,7 @@ function Od(t) {
7797
8033
  }
7798
8034
  return n;
7799
8035
  }
7800
- function Pd(t) {
8036
+ function Wd(t) {
7801
8037
  const e = [];
7802
8038
  for (let i = 1; i <= 6; i += 1) {
7803
8039
  const r = t[`EXPR_${i}`] ?? t[`Expr${i}`] ?? t[`expr${i}`] ?? t[`EXPR${i}`];
@@ -7825,7 +8061,7 @@ function Rn(t) {
7825
8061
  let s = _e;
7826
8062
  return a !== void 0 && i !== void 0 && r !== void 0 && r === g.BarAndLineSplitBy && (s = e.attributes[i] !== void 0 ? `${_e}_${e.attributes[i]}` : _e), { featureExtent: a, featureExtentKey: s };
7827
8063
  }
7828
- function Md(t) {
8064
+ function Vd(t) {
7829
8065
  const { input: e, x: i, splitByField: r } = t;
7830
8066
  return e.reduce((a, s) => (r !== void 0 && r !== i && !(C.technicalFieldSplitByField in s) && delete s[r], Object.assign(a, s)), {});
7831
8067
  }
@@ -7841,11 +8077,11 @@ function kt(t) {
7841
8077
  const d = a.get(o) ?? [];
7842
8078
  d.push(s), a.set(o, d);
7843
8079
  }
7844
- n = Array.from(a.values(), (s) => Md({ input: s, x: i, splitByField: r }));
8080
+ n = Array.from(a.values(), (s) => Vd({ input: s, x: i, splitByField: r }));
7845
8081
  }
7846
8082
  return n;
7847
8083
  }
7848
- function Rd(t, e) {
8084
+ function jd(t, e) {
7849
8085
  const i = t, r = q(e);
7850
8086
  if (r !== y.PieSeries && r !== y.BoxPlotSeries) {
7851
8087
  const n = he(e), a = e[0].y;
@@ -7865,14 +8101,14 @@ function Rd(t, e) {
7865
8101
  }
7866
8102
  return i;
7867
8103
  }
7868
- function $d(t, e) {
8104
+ function zd(t, e) {
7869
8105
  const i = e, r = he(t), n = r.length === 1;
7870
8106
  return r.forEach((a) => {
7871
8107
  const s = Ft(n ? void 0 : a), o = i[s[O.FirstQuartile]], d = i[s[O.ThirdQuartile]];
7872
8108
  Number.isFinite(o) && Number.isFinite(d) && d >= o && (i[s[O.IQR]] = d - o);
7873
8109
  }), i;
7874
8110
  }
7875
- function qd(t, e) {
8111
+ function _d(t, e) {
7876
8112
  const i = e.series[0], r = t;
7877
8113
  if (i.type === y.HeatSeries) {
7878
8114
  const { x: n, y: a } = i;
@@ -7887,7 +8123,7 @@ function Ui(t, e) {
7887
8123
  i && (t[i] === void 0 && (t[i] = t[i.toUpperCase()] !== void 0 ? t[i.toUpperCase()] : t[i.toLowerCase()]), t[i] !== void 0 ? (i !== i.toUpperCase() && delete t[i.toUpperCase()], i !== i.toLowerCase() && delete t[i.toLowerCase()]) : delete t[i]);
7888
8124
  });
7889
8125
  }
7890
- function Ed(t, e) {
8126
+ function Gd(t, e) {
7891
8127
  let i = [];
7892
8128
  U.outStatistics.outStatisticFieldName && Object.keys(t).includes(U.outStatistics.outStatisticFieldName) ? i = [U.outStatistics.outStatisticFieldName] : i = Array.from(
7893
8129
  new Set(
@@ -7895,7 +8131,7 @@ function Ed(t, e) {
7895
8131
  )
7896
8132
  ), Ui(t, i);
7897
8133
  }
7898
- function kd(t, e) {
8134
+ function Ud(t, e) {
7899
8135
  let i = { ...t };
7900
8136
  return t !== void 0 && e[0] !== void 0 && (i = Object.keys(t).reduce((r, n) => {
7901
8137
  const a = e.find(
@@ -7904,14 +8140,14 @@ function kd(t, e) {
7904
8140
  return a !== void 0 && t[n] !== void 0 && a !== n ? r[a] = t[n] : r[n] = t[n], r;
7905
8141
  }, {})), i;
7906
8142
  }
7907
- function Wd(t) {
8143
+ function Hd(t) {
7908
8144
  const { dataItem: e, splitByField: i, y: r, fieldOID: n } = t;
7909
8145
  if (e !== void 0 && !ae(i) && !ae(r)) {
7910
8146
  const a = e[i], s = `${r}_${a?.toString()}`;
7911
8147
  e[s] = e[r], n && r !== n && delete e[r];
7912
8148
  }
7913
8149
  }
7914
- function Vd(t, e) {
8150
+ function Qd(t, e) {
7915
8151
  Object.keys(t).forEach((r) => {
7916
8152
  if (r.startsWith(`${e}_`)) {
7917
8153
  const n = r.slice(e.length + 1);
@@ -7919,7 +8155,7 @@ function Vd(t, e) {
7919
8155
  }
7920
8156
  });
7921
8157
  }
7922
- function jd(t, e) {
8158
+ function Yd(t, e) {
7923
8159
  let i = 1;
7924
8160
  switch (t) {
7925
8161
  case g.BarAndLineFromFields:
@@ -7946,15 +8182,15 @@ function jd(t, e) {
7946
8182
  }
7947
8183
  return i;
7948
8184
  }
7949
- function zd(t) {
8185
+ function Jd(t) {
7950
8186
  const { attributes: e, showMean: i, chartSubType: r } = t;
7951
8187
  i && (r === g.BoxPlotMonoFieldAndSplitBy || r === g.BoxPlotMultiFieldsAndSplitBy || r === g.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[C.boxPlot.boxPlotMeanLineMarkerId] = !0);
7952
8188
  }
7953
- function _d(t) {
8189
+ function Kd(t) {
7954
8190
  const { queryResponse: e, chartConfig: i, maxCategoryCount: r } = t, n = E(i.series);
7955
8191
  return r && Number.isFinite(r) && r < e.length && Nn.includes(n) ? e.slice(0, r) : e;
7956
8192
  }
7957
- function Gd(t) {
8193
+ function Xd(t) {
7958
8194
  const { attributes: e, uniqueCategoryList: i, maxCategoryCount: r, x: n, chartSubType: a } = t;
7959
8195
  let s = !1;
7960
8196
  if (n && r && Number.isFinite(r) && !Nn.includes(a))
@@ -7968,7 +8204,7 @@ function Gd(t) {
7968
8204
  }
7969
8205
  return s;
7970
8206
  }
7971
- function Ud(t) {
8207
+ function Zd(t) {
7972
8208
  const {
7973
8209
  attributes: e,
7974
8210
  xValue: i,
@@ -7985,7 +8221,7 @@ function Ud(t) {
7985
8221
  let u, f;
7986
8222
  l !== g.PieFromFields && (s && (typeof i == "string" || typeof i == "number") && (u = Ni(i, s)), o && d === y.HeatSeries && typeof a == "string" && (typeof r == "string" || typeof r == "number") && (f = Ni(r, o)), u !== void 0 && u !== i && (typeof u != "string" || !ce(c)) && (e[C.originalCategoryValue] = e[n], e[n] = u), typeof a == "string" && !ce(p) && f !== void 0 && f !== r && (e[C.originalYCategoryValue] = e[a], e[a] = f));
7987
8223
  }
7988
- function Hd(t) {
8224
+ function ec(t) {
7989
8225
  let e;
7990
8226
  const [i, r, n] = t.split(":");
7991
8227
  return Number.isFinite(Number(i)) && Number.isFinite(Number(r)) && Number.isFinite(Number(n)) && (e = new Date(2e3, 0, 1, Number(i), Number(r), Number(n)).valueOf()), e;
@@ -8002,34 +8238,34 @@ function $n(t) {
8002
8238
  showMean: d,
8003
8239
  chartLimits: l,
8004
8240
  fieldList: c
8005
- } = t, { series: p } = r, u = E(p), f = q(p), { x: h } = p[0], m = "y" in p[0] ? p[0].y : void 0, b = p[0].query?.outStatistics ?? [], S = ze(r?.axes?.[0]?.valueFormat), { originalYCategoryValue: x, originalCategoryValue: v, originalDateValue: F } = C, T = Di(e, h), w = typeof m == "string" ? Di(e, m) : void 0, P = nl(c ?? []).includes(h), D = [];
8241
+ } = t, { series: p } = r, u = E(p), f = q(p), { x: h } = p[0], m = "y" in p[0] ? p[0].y : void 0, b = p[0].query?.outStatistics ?? [], S = ze(r?.axes?.[0]?.valueFormat), { originalYCategoryValue: x, originalCategoryValue: v, originalDateValue: F } = C, T = Di(e, h), w = typeof m == "string" ? Di(e, m) : void 0, P = pl(c ?? []).includes(h), D = [];
8006
8242
  let B = 0;
8007
- const R = /* @__PURE__ */ new Set(), { maxCategoryCount: L } = yt(l), M = _d({ queryResponse: i, chartConfig: r, maxCategoryCount: L });
8243
+ const R = /* @__PURE__ */ new Set(), { maxCategoryCount: L } = yt(l), M = Kd({ queryResponse: i, chartConfig: r, maxCategoryCount: L });
8008
8244
  for (let G = 0; M[G] && G < M.length && !(o !== void 0 && B >= o); G += 1) {
8009
- B += jd(u, r);
8245
+ B += Yd(u, r);
8010
8246
  const z = M[G];
8011
8247
  let N = { ...z.attributes };
8012
- if (Gd({ attributes: N, uniqueCategoryList: R, maxCategoryCount: L, x: h, chartSubType: u }))
8248
+ if (Xd({ attributes: N, uniqueCategoryList: R, maxCategoryCount: L, x: h, chartSubType: u }))
8013
8249
  continue;
8014
- if (Ed(N, p), u === g.PieFromFields || u === g.BarAndLineFromFields)
8015
- N = kd(N, b);
8250
+ if (Gd(N, p), u === g.PieFromFields || u === g.BarAndLineFromFields)
8251
+ N = Ud(N, b);
8016
8252
  else if (typeof m == "string" && u === g.BarAndLineSplitByNoAggregation) {
8017
8253
  const Se = k(e), { idField: gt, isTraditionalTypeOID: mi } = Oe(Se);
8018
- Wd({ dataItem: N, splitByField: a, y: m, fieldOID: mi ? gt : void 0 });
8019
- } else m && (u === g.BoxPlotMonoField || u === g.BoxPlotMonoFieldAndCategory || u === g.BoxPlotMonoFieldAndSplitBy || u === g.BoxPlotMonoFieldAndCategoryAndSplitBy) && Vd(
8254
+ Hd({ dataItem: N, splitByField: a, y: m, fieldOID: mi ? gt : void 0 });
8255
+ } else m && (u === g.BoxPlotMonoField || u === g.BoxPlotMonoFieldAndCategory || u === g.BoxPlotMonoFieldAndSplitBy || u === g.BoxPlotMonoFieldAndCategoryAndSplitBy) && Qd(
8020
8256
  N,
8021
8257
  typeof m == "string" ? m : m[0]
8022
8258
  );
8023
- zd({ attributes: N, showMean: d, chartSubType: u });
8259
+ Jd({ attributes: N, showMean: d, chartSubType: u });
8024
8260
  let J = N[h];
8025
8261
  const we = typeof m == "string" ? N[m] : void 0;
8026
- J === null && p[0]?.query?.fetchNullValues === !0 && u !== g.PieFromFields && (N[v] = null, J = C.nullValue), S || (P && typeof J == "string" ? J = new Date(J).valueOf() : s && (J = Pd(N))), typeof J == "string" && c?.find((Se) => Se.name === h)?.type === Q.TimeOnly && (N[v] = J, J = Hd(J));
8262
+ J === null && p[0]?.query?.fetchNullValues === !0 && u !== g.PieFromFields && (N[v] = null, J = C.nullValue), S || (P && typeof J == "string" ? J = new Date(J).valueOf() : s && (J = Wd(N))), typeof J == "string" && c?.find((Se) => Se.name === h)?.type === Q.TimeOnly && (N[v] = J, J = ec(J));
8027
8263
  const { outStatisticFieldName: Pe } = U.outStatistics ?? {}, { featureExtent: H, featureExtentKey: Me } = Rn({ feature: z, splitByField: a, chartSubType: u });
8028
8264
  if (H && (N[Me] = H), u === g.BarAndLineSplitBy && Pe !== void 0) {
8029
8265
  const Se = N[a], gt = n?.get(Se);
8030
8266
  gt !== void 0 && (Se === a && (N[C.technicalFieldSplitByField] = N[gt]), N[gt] = N[Pe]), delete N[Pe];
8031
8267
  } else (u === g.PieNoAggregation || u === g.BarAndLineNoAggregation || u === g.BarAndLineSplitByNoAggregation) && (P ? N[F] = J : J !== C.nullValue && (N[v] = J), Wa({ isXAxis: !0, chartType: f, valueFormat: r.axes?.[0]?.valueFormat }) && (N[C.xAxisField] = `${J}-${G}`), N[U.uniqueIdsName] = z.getObjectId());
8032
- f === y.BoxPlotSeries && (N = $d(p, N)), f === y.PieSeries && typeof J == "number" && (N[v] === void 0 && (N[v] = N[h]), J = `${J}`), J !== void 0 && (N[v] === void 0 && (N[v] = N[h]), N[h] === null ? N[h] = f === y.HeatSeries ? "null" : C.nullValue : N[h] = J, Ud({
8268
+ f === y.BoxPlotSeries && (N = zd(p, N)), f === y.PieSeries && typeof J == "number" && (N[v] === void 0 && (N[v] = N[h]), J = `${J}`), J !== void 0 && (N[v] === void 0 && (N[v] = N[h]), N[h] === null ? N[h] = f === y.HeatSeries ? "null" : C.nullValue : N[h] = J, Zd({
8033
8269
  attributes: N,
8034
8270
  xValue: J,
8035
8271
  yValue: we,
@@ -8041,7 +8277,7 @@ function $n(t) {
8041
8277
  chartSubType: u,
8042
8278
  xAxisValueFormat: r.axes?.[0].valueFormat,
8043
8279
  yAxisValueFormat: r.axes?.[1]?.valueFormat
8044
- }), f === y.HeatSeries && typeof m == "string" && N[m] === null && (N[m] = "null", N[x] = null), N[C.xAxisField] === void 0 && (N[C.xAxisField] = N[h])), N = qd(N, r), D.push(N);
8280
+ }), f === y.HeatSeries && typeof m == "string" && N[m] === null && (N[m] = "null", N[x] = null), N[C.xAxisField] === void 0 && (N[C.xAxisField] = N[h])), N = _d(N, r), D.push(N);
8045
8281
  }
8046
8282
  return D;
8047
8283
  }
@@ -8077,7 +8313,7 @@ async function yi(t) {
8077
8313
  resultLimit: i.num,
8078
8314
  showMean: d,
8079
8315
  chartLimits: l
8080
- }), f !== g.BarAndLineSplitByNoAggregation && f !== g.BarAndLineFromFields && (m !== "" && (h = kt({ data: h, x, splitByField: m })), h = Rd(
8316
+ }), f !== g.BarAndLineSplitByNoAggregation && f !== g.BarAndLineFromFields && (m !== "" && (h = kt({ data: h, x, splitByField: m })), h = jd(
8081
8317
  h,
8082
8318
  u
8083
8319
  )), h;
@@ -8109,7 +8345,7 @@ async function Mi(t) {
8109
8345
  let S, x = !1;
8110
8346
  const v = e.series, F = v[0], T = E(e.series);
8111
8347
  if (de(a))
8112
- m = q(v) === y.BarSeries ? await Dc(t) : b;
8348
+ m = q(v) === y.BarSeries ? await el(t) : b;
8113
8349
  else {
8114
8350
  if (F !== void 0) {
8115
8351
  const w = q(v), { uniqueQuery: A, mapToStatField: P } = ki({
@@ -8145,7 +8381,7 @@ async function Mi(t) {
8145
8381
  chartLimits: c,
8146
8382
  usePopupTemplateFieldsInfo: p,
8147
8383
  abortKey: s
8148
- }), ye(e) && S !== void 0 && (b.data = await Kl({
8384
+ }), ye(e) && S !== void 0 && (b.data = await nd({
8149
8385
  data: S,
8150
8386
  queryObject: a,
8151
8387
  fetchFullBoxPlotData: r,
@@ -8168,13 +8404,13 @@ async function Mi(t) {
8168
8404
  fieldList: o
8169
8405
  }));
8170
8406
  let M = "";
8171
- T === g.PieFromFields ? M = De : "y" in F && typeof F.y == "string" && (M = F.y), Cs(S, M) ? b.data = { dataItems: S } : El(b, W.PieChartMixOfNegativePositiveSlices);
8407
+ T === g.PieFromFields ? M = De : "y" in F && typeof F.y == "string" && (M = F.y), Cs(S, M) ? b.data = { dataItems: S } : Gl(b, W.PieChartMixOfNegativePositiveSlices);
8172
8408
  } else if ((w === y.RadarSeries || w === y.BarSeries || w === y.LineSeries || w === y.ComboLineAndBarSeries) && (T === g.BarAndLineFromFields && "y" in F && typeof F.y == "string" ? S = ri({
8173
8409
  dataToConvert: S[0],
8174
8410
  x: F.x,
8175
8411
  y: F.y,
8176
8412
  fieldList: o
8177
- }) : S = await fd({
8413
+ }) : S = await xd({
8178
8414
  queryObject: a,
8179
8415
  seriesData: S,
8180
8416
  chartConfig: e,
@@ -8188,7 +8424,7 @@ async function Mi(t) {
8188
8424
  chartType: w,
8189
8425
  chartLimits: c
8190
8426
  }), L)) {
8191
- f && (S = yd(S, e));
8427
+ f && (S = vd(S, e));
8192
8428
  let M = {};
8193
8429
  if (Ne(F)) {
8194
8430
  const { size: G, unit: z } = F.temporalBinning ?? {};
@@ -8207,7 +8443,7 @@ async function Mi(t) {
8207
8443
  }
8208
8444
  return m;
8209
8445
  }
8210
- function Qd(t) {
8446
+ function tc(t) {
8211
8447
  let e;
8212
8448
  const { start: i, end: r } = Vi({
8213
8449
  field: "",
@@ -8216,10 +8452,10 @@ function Qd(t) {
8216
8452
  });
8217
8453
  return r && (e = Array.from({ length: r + (i === 0 ? 1 : 0) }, (n, a) => (a + (i ?? 1)).toString())), e;
8218
8454
  }
8219
- function Yd(t) {
8455
+ function ic(t) {
8220
8456
  return t.hideEmptyRowsAndColumns === !0 && (t.nullPolicy !== Ce.Zero || t.series[0].query?.outStatistics?.[0].statisticType === I.Count);
8221
8457
  }
8222
- function Jd(t) {
8458
+ function rc(t) {
8223
8459
  const { dataItems: e, valueField: i, filterOutZero: r } = t, n = [null];
8224
8460
  r && n.push(0);
8225
8461
  const a = new Set(
@@ -8231,7 +8467,7 @@ function Jd(t) {
8231
8467
  (o) => a.has(o[V.xField]) && s.has(o[V.yField])
8232
8468
  );
8233
8469
  }
8234
- function Kd(t) {
8470
+ function nc(t) {
8235
8471
  const { dataItems: e, xUniqueValues: i, yUniqueValues: r, valueField: n, emptyCellValue: a, x: s, y: o, queryObject: d } = t, l = [], c = /* @__PURE__ */ new Set();
8236
8472
  for (const p of e) {
8237
8473
  const u = p[C.originalCategoryValue] !== void 0 ? p[C.originalCategoryValue] : p[V.xField], f = p[C.originalYCategoryValue] !== void 0 ? p[C.originalYCategoryValue] : p[V.yField];
@@ -8242,11 +8478,11 @@ function Kd(t) {
8242
8478
  for (const f of r) {
8243
8479
  const h = String(f);
8244
8480
  if (!c.has(`${u}|${h}`)) {
8245
- const m = d ? nr({
8481
+ const m = d ? ar({
8246
8482
  queryObject: d,
8247
8483
  fieldName: s,
8248
8484
  fieldValue: u
8249
- }) ?? p : p, b = d ? nr({
8485
+ }) ?? p : p, b = d ? ar({
8250
8486
  queryObject: d,
8251
8487
  fieldName: o,
8252
8488
  fieldValue: h
@@ -8263,7 +8499,7 @@ function Kd(t) {
8263
8499
  }
8264
8500
  return l;
8265
8501
  }
8266
- function ur(t) {
8502
+ function fr(t) {
8267
8503
  const { day: e, month: i, includeLeapDay: r } = t;
8268
8504
  return i === 2 && e > (r ? 29 : 28) || [4, 6, 9, 11].includes(i) && e > 30;
8269
8505
  }
@@ -8279,7 +8515,7 @@ async function En(t) {
8279
8515
  } = t, d = { valid: !0 };
8280
8516
  let l;
8281
8517
  if (At(e)) {
8282
- const { nullPolicy: c } = e, p = e.series[0], { x: u, y: f, query: h, xTemporalBinning: m, yTemporalBinning: b } = p, S = h?.outStatistics?.[0]?.outStatisticFieldName ?? "", x = h?.outStatistics?.[0]?.statisticType ?? I.Count, v = Yd(e), F = V.valueField, T = c === Ce.Zero ? 0 : null;
8518
+ const { nullPolicy: c } = e, p = e.series[0], { x: u, y: f, query: h, xTemporalBinning: m, yTemporalBinning: b } = p, S = h?.outStatistics?.[0]?.outStatisticFieldName ?? "", x = h?.outStatistics?.[0]?.statisticType ?? I.Count, v = ic(e), F = V.valueField, T = c === Ce.Zero ? 0 : null;
8283
8519
  if (Tn(e)) {
8284
8520
  const w = await ho({
8285
8521
  chartConfig: e,
@@ -8311,7 +8547,7 @@ async function En(t) {
8311
8547
  const P = await Fi({ queryObject: r, queryConfig: i, category: u, abortKey: o }), D = await Fi({ queryObject: r, queryConfig: i, category: f, abortKey: o });
8312
8548
  l.length !== P?.length * D?.length && (l = [
8313
8549
  ...l,
8314
- ...Kd({
8550
+ ...nc({
8315
8551
  dataItems: l,
8316
8552
  xUniqueValues: P,
8317
8553
  yUniqueValues: D,
@@ -8321,7 +8557,7 @@ async function En(t) {
8321
8557
  y: f,
8322
8558
  queryObject: r
8323
8559
  })
8324
- ], v && (l = Jd({
8560
+ ], v && (l = rc({
8325
8561
  dataItems: l,
8326
8562
  valueField: F,
8327
8563
  filterOutZero: x === I.Count
@@ -8334,7 +8570,7 @@ async function En(t) {
8334
8570
  queryConfig: i,
8335
8571
  options: s,
8336
8572
  errorStrings: a
8337
- }), A = b ? Qd(b.unit) : await Fi({ queryObject: r, queryConfig: i, category: f, abortKey: o });
8573
+ }), A = b ? tc(b.unit) : await Fi({ queryObject: r, queryConfig: i, category: f, abortKey: o });
8338
8574
  let P = 0;
8339
8575
  l = w?.features.flatMap((D) => {
8340
8576
  const B = [], { attributes: R, stackedAttributes: L } = D, M = [];
@@ -8348,11 +8584,11 @@ async function En(t) {
8348
8584
  }), n && A && M.length !== A?.length) {
8349
8585
  const G = A.filter((z) => !M.includes(z.toString()));
8350
8586
  v && (G.length !== A.length || M.length === 0) || G.forEach((z) => {
8351
- Number.isFinite(Number(R[U.heatChartLowerBoundaryAlias])) && Number.isFinite(Number(z)) && (m?.unit === Te.DayOfMonth && b?.unit === Te.MonthOfYear && ur({
8587
+ Number.isFinite(Number(R[U.heatChartLowerBoundaryAlias])) && Number.isFinite(Number(z)) && (m?.unit === Te.DayOfMonth && b?.unit === Te.MonthOfYear && fr({
8352
8588
  day: Number(R[U.heatChartLowerBoundaryAlias]),
8353
8589
  month: Number(z),
8354
8590
  includeLeapDay: e.includeLeapDay
8355
- }) || b?.unit === Te.DayOfMonth && m?.unit === Te.MonthOfYear && ur({
8591
+ }) || b?.unit === Te.DayOfMonth && m?.unit === Te.MonthOfYear && fr({
8356
8592
  day: Number(z),
8357
8593
  month: Number(R[U.heatChartLowerBoundaryAlias]),
8358
8594
  includeLeapDay: e.includeLeapDay
@@ -8374,7 +8610,7 @@ async function En(t) {
8374
8610
  }
8375
8611
  return l && (d.data = { dataItems: l }), d;
8376
8612
  }
8377
- function Xd(t) {
8613
+ function ac(t) {
8378
8614
  const { chartConfig: e, options: i, data: r } = t, n = e.series;
8379
8615
  let a = r;
8380
8616
  const s = Dr(e, i?.chartLimits);
@@ -8409,12 +8645,12 @@ async function Hi(t) {
8409
8645
  if (r && b) {
8410
8646
  const { unit: S, size: x } = b;
8411
8647
  let v = 1, F = { unit: S, size: x }, T = !1;
8412
- const w = Od({
8648
+ const w = kd({
8413
8649
  series: p,
8414
8650
  isTimeBinningSeries: !0,
8415
8651
  setTimeBinningInfoWhenNotProvided: a?.setTimeBinningInfoWhenNotProvided
8416
- }), A = !qt(r) || w ? await Cd({ queryObject: r, queryConfig: i, x: u }) : void 0;
8417
- w && A && A.numberOfFeatures > 0 && A.dateRange.dateMaxTimestamp !== void 0 && A.dateRange.dateMinTimestamp !== void 0 && (F = Nd(A), Fe(r).find((M) => M.name === u)?.type === Q.DateOnly && F.unit !== void 0 && [
8652
+ }), A = !qt(r) || w ? await Ld({ queryObject: r, queryConfig: i, x: u }) : void 0;
8653
+ w && A && A.numberOfFeatures > 0 && A.dateRange.dateMaxTimestamp !== void 0 && A.dateRange.dateMinTimestamp !== void 0 && (F = Ed(A), Fe(r).find((M) => M.name === u)?.type === Q.DateOnly && F.unit !== void 0 && [
8418
8654
  $.Hour,
8419
8655
  $.Minute,
8420
8656
  $.Second
@@ -8434,14 +8670,14 @@ async function Hi(t) {
8434
8670
  });
8435
8671
  if (B) {
8436
8672
  if (qt(r)) {
8437
- const R = s?.[0] instanceof Sa ? s : await xo({
8673
+ const R = s?.[0] instanceof fa ? s : await xo({
8438
8674
  queryObject: r,
8439
8675
  dateField: u,
8440
8676
  splitByField: f,
8441
8677
  queryConfig: P,
8442
8678
  temporalBinning: b
8443
8679
  }), L = "y" in p && typeof p.y == "string" ? p.y : void 0;
8444
- if (m = Bd({
8680
+ if (m = Rd({
8445
8681
  chartConfig: e,
8446
8682
  queryResults: R,
8447
8683
  mapToStatField: D,
@@ -8482,7 +8718,7 @@ async function Hi(t) {
8482
8718
  isTimeBinningSeries: !0,
8483
8719
  usePopupTemplateFieldsInfo: d,
8484
8720
  abortKey: n
8485
- }), m = await Ld({
8721
+ }), m = await $d({
8486
8722
  queryObject: r,
8487
8723
  queryConfig: i,
8488
8724
  queryResults: m,
@@ -8492,14 +8728,14 @@ async function Hi(t) {
8492
8728
  timeIntervalInfo: F
8493
8729
  });
8494
8730
  }
8495
- zr(r) && m && m?.length === hd && (T = !0), l === rt.RenderUpToTheLimit && m && (m = Xd({ chartConfig: e, options: a, data: m }));
8731
+ zr(r) && m && m?.length === Cd && (T = !0), l === rt.RenderUpToTheLimit && m && (m = ac({ chartConfig: e, options: a, data: m }));
8496
8732
  }
8497
8733
  B || (h.valid = !1, h.invalidType = W.LineChartExceedsLimit), m && m.length > 0 && (m[m.length - 1][C.lastTemporalBin] = !0), h.data = { dataItems: m, timeIntervalInfo: F, serverLimitReached: T }, h.count = v;
8498
8734
  }
8499
8735
  }
8500
8736
  return h;
8501
8737
  }
8502
- async function Zd(t) {
8738
+ async function sc(t) {
8503
8739
  const { chartConfig: e, queryConfig: i, queryObject: r, abortKey: n, options: a } = t, s = Bt(e), { setTimeBinningInfoWhenNotProvided: o, chartLimits: d, usePopupTemplateFieldsInfo: l } = a ?? {}, c = { valid: !0 }, p = e.series, u = st({
8504
8740
  seriesConfig: p[0],
8505
8741
  xAxisValueFormatType: ke(e),
@@ -8527,7 +8763,7 @@ async function Zd(t) {
8527
8763
  });
8528
8764
  return ye(e) && (m = An({ chartConfig: e, data: m, calculateZScore: !1 })), c.data = { dataItems: m }, c;
8529
8765
  }
8530
- async function ec(t) {
8766
+ async function oc(t) {
8531
8767
  const { chartConfig: e, queryConfig: i, queryObject: r, abortKey: n, options: a, errorStrings: s } = t;
8532
8768
  let o = { valid: !0 };
8533
8769
  if (ye(e)) {
@@ -8543,8 +8779,8 @@ async function ec(t) {
8543
8779
  }
8544
8780
  return o;
8545
8781
  }
8546
- const tc = "{ groupByFieldsForStatistics } WHEN ({ y } { yMinOperand } { yValue } AND { y } { yMaxOperand } { yValuePlusStep } AND { x } { xMinOperand } { xValue } AND { x } { xMaxOperand } { xValuePlusStep }) THEN '{ xValue }|{ xValuePlusStep}|{ yValue }|{ yValuePlusStep }'";
8547
- async function ic(t) {
8782
+ const lc = "{ groupByFieldsForStatistics } WHEN ({ y } { yMinOperand } { yValue } AND { y } { yMaxOperand } { yValuePlusStep } AND { x } { xMinOperand } { xValue } AND { x } { xMaxOperand } { xValuePlusStep }) THEN '{ xValue }|{ xValuePlusStep}|{ yValue }|{ yValuePlusStep }'";
8783
+ async function dc(t) {
8548
8784
  const { chartConfig: e, queryObject: i, queryConfig: r, abortKey: n } = t, a = e.series[0], { x: s, y: o } = a, { dataContextCountDistinctX: d, dataContextCountDistinctY: l } = C.scatterplotAggregationFields, c = {
8549
8785
  ...r,
8550
8786
  outStatistics: [
@@ -8568,7 +8804,7 @@ async function ic(t) {
8568
8804
  abortKey: n
8569
8805
  });
8570
8806
  }
8571
- async function rc(t) {
8807
+ async function cc(t) {
8572
8808
  const { statsMap: e, chartConfig: i, queryObject: r, options: n, queryConfig: a, abortKey: s } = t, {
8573
8809
  dataContextXMinField: o,
8574
8810
  dataContextXMaxField: d,
@@ -8580,7 +8816,7 @@ async function rc(t) {
8580
8816
  let f, h, m, b, S;
8581
8817
  const x = e.get(o), v = e.get(d), F = e.get(l), T = e.get(c);
8582
8818
  if (x != null && F !== void 0 && F !== null && v !== void 0 && v !== null && T !== void 0 && T !== null && !Number.isNaN(x + v + F + T)) {
8583
- const { maxScatterPointsAfterAggregation: w } = yt(n?.chartLimits), P = Math.floor(Math.sqrt(w)), D = await ic({
8819
+ const { maxScatterPointsAfterAggregation: w } = yt(n?.chartLimits), P = Math.floor(Math.sqrt(w)), D = await dc({
8584
8820
  queryObject: r,
8585
8821
  chartConfig: i,
8586
8822
  queryConfig: a,
@@ -8589,10 +8825,10 @@ async function rc(t) {
8589
8825
  m = Math.min(D.get(u) ?? Number.NaN, P), b = Math.min(D.get(p) ?? Number.NaN, P), S = b * m, f = v === x ? 0 : (v - x) / (b - 1), h = T === F ? 0 : (T - F) / (m - 1), e.set(C.scatterplotAggregationFields.xStep, f), e.set(C.scatterplotAggregationFields.yStep, h), e.set(C.scatterplotAggregationFields.rowCount, m), e.set(C.scatterplotAggregationFields.columnCount, b), e.set(C.scatterplotAggregationFields.realGridSize, S);
8590
8826
  }
8591
8827
  }
8592
- function nc(t) {
8828
+ function pc(t) {
8593
8829
  const { groupByFieldsForStatistics: e, x: i, y: r, xValue: n, yValue: a, xStep: s, yStep: o, endOfRow: d, endOfColumn: l } = t;
8594
8830
  let c = e === "" ? ut.groupByCaseBegin : e;
8595
- return c = ie(tc, {
8831
+ return c = ie(lc, {
8596
8832
  groupByFieldsForStatistics: c,
8597
8833
  x: i,
8598
8834
  y: r,
@@ -8610,7 +8846,7 @@ function nc(t) {
8610
8846
  // we use = to catch the last value of the line, < otherwise
8611
8847
  }), c;
8612
8848
  }
8613
- async function ac(t) {
8849
+ async function uc(t) {
8614
8850
  const { chartConfig: e, queryConfig: i, queryObject: r, xMin: n, xMax: a, yMin: s, yMax: o, abortKey: d } = t, l = e.series[0], { x: c, y: p } = l, u = { ...i };
8615
8851
  return u.where = Z([u.where, `${c}>=${n}`, `${c}<=${a}`]), c !== p && (u.where = Z([u.where, `${p}>=${s}`, `${p}<=${o}`])), await Le({
8616
8852
  queryObject: r,
@@ -8621,7 +8857,7 @@ async function ac(t) {
8621
8857
  abortKey: d
8622
8858
  });
8623
8859
  }
8624
- async function sc(t) {
8860
+ async function fc(t) {
8625
8861
  const { statsMap: e, chartConfig: i, queryObject: r, queryConfig: n, useQueryAttributeBins: a, errorStrings: s, abortKey: o } = t, d = i.series[0], { x: l, y: c } = d, {
8626
8862
  dataContextXMinField: p,
8627
8863
  dataContextXMaxField: u,
@@ -8683,11 +8919,11 @@ async function sc(t) {
8683
8919
  });
8684
8920
  } else if (G !== void 0 && z !== void 0) {
8685
8921
  let H = 0;
8686
- const { maxScatterCellsPerQuery: Me, maxScatterCellsPerQueryForStandard: Se } = ci(), mi = await al(A) ? Se : Me, gi = [];
8922
+ const { maxScatterCellsPerQuery: Me, maxScatterCellsPerQueryForStandard: Se } = ci(), mi = await ul(A) ? Se : Me, gi = [];
8687
8923
  let bi = !0, bt = x, ot = T, St = "", jt = 1, Si = 1, zt = Number.MAX_SAFE_INTEGER, _t = Number.MIN_SAFE_INTEGER, Gt = Number.MAX_SAFE_INTEGER, Ut = Number.MIN_SAFE_INTEGER;
8688
8924
  for (; Si <= z && bi; ) {
8689
8925
  for (ot = T, jt = 1; jt <= G && bi; ) {
8690
- if (St = nc({
8926
+ if (St = pc({
8691
8927
  groupByFieldsForStatistics: St,
8692
8928
  x: l,
8693
8929
  y: c,
@@ -8705,7 +8941,7 @@ async function sc(t) {
8705
8941
  outStatistics: [...N.values()]
8706
8942
  };
8707
8943
  gi.push(
8708
- ac({
8944
+ uc({
8709
8945
  chartConfig: i,
8710
8946
  queryConfig: Zn,
8711
8947
  queryObject: r,
@@ -8727,7 +8963,7 @@ async function sc(t) {
8727
8963
  }
8728
8964
  return S;
8729
8965
  }
8730
- async function oc(t) {
8966
+ async function yc(t) {
8731
8967
  const { chartConfig: e, queryConfig: i, queryObject: r, abortKey: n } = t, a = e.series[0], { x: s, y: o } = a;
8732
8968
  let d = /* @__PURE__ */ new Map();
8733
8969
  const {
@@ -8776,7 +9012,7 @@ function Jt(t) {
8776
9012
  const { value: e, valueMin: i, valueMax: r } = t;
8777
9013
  return e === i || e === r ? e : Math.random() * (r - i) + i;
8778
9014
  }
8779
- function lc(t) {
9015
+ function hc(t) {
8780
9016
  const { useQueryAttributeBins: e, graphic: i, x: r, y: n, yStep: a } = t, { groupByOutKeyword: s } = ut, { dataContextXMinField: o, dataContextXMaxField: d, dataContextYMinField: l, dataContextYMaxField: c } = C.scatterplotAggregationFields;
8781
9017
  let p = [];
8782
9018
  if (e && "stackedAttributes" in i && i.stackedAttributes) {
@@ -8820,11 +9056,11 @@ function lc(t) {
8820
9056
  }
8821
9057
  return p;
8822
9058
  }
8823
- function dc(t) {
9059
+ function mc(t) {
8824
9060
  const { chartConfig: e, rawData: i, isAggregationMode: r, yStep: n, useQueryAttributeBins: a } = t, s = e.series[0], { x: o, y: d } = s;
8825
9061
  let c = (Array.isArray(i) ? i : i?.features)?.flatMap((p) => {
8826
9062
  let u = [{ ...p.attributes }];
8827
- return Ui(u[0], [o, d]), r ? u = lc({
9063
+ return Ui(u[0], [o, d]), r ? u = hc({
8828
9064
  useQueryAttributeBins: a,
8829
9065
  graphic: p,
8830
9066
  x: o,
@@ -8837,7 +9073,7 @@ function dc(t) {
8837
9073
  return Number.isFinite(p[o]) && Number.isFinite(p[d]) && (u === void 0 || p[u] !== ut.groupByOutKeyword);
8838
9074
  }), c ?? [];
8839
9075
  }
8840
- async function cc(t) {
9076
+ async function gc(t) {
8841
9077
  const { queryObject: e, queryConfig: i, chartConfig: r, featureCount: n, abortKey: a } = t, s = r.series[0], { x: o, y: d } = s, l = k(e);
8842
9078
  let c = [];
8843
9079
  const p = Fe(e), u = fi(l).idFields, f = (p?.filter((x) => Lt(x) && x.name !== o && x.name !== d) ?? []).map(
@@ -8846,7 +9082,7 @@ async function cc(t) {
8846
9082
  /* @__PURE__ */ new Set([o, d, ...u ?? [], ...f, ...h])
8847
9083
  ), b = ue(l);
8848
9084
  if (b && !b.isTable) {
8849
- const { rendererField: x, rendererNormalizationField: v } = il(l?.renderer ?? void 0);
9085
+ const { rendererField: x, rendererNormalizationField: v } = dl(l?.renderer ?? void 0);
8850
9086
  ae(x) || m.push(x), ae(v) || m.push(v);
8851
9087
  }
8852
9088
  const S = {
@@ -8861,7 +9097,7 @@ async function cc(t) {
8861
9097
  abortKey: a
8862
9098
  }), c;
8863
9099
  }
8864
- async function pc(t) {
9100
+ async function bc(t) {
8865
9101
  let e;
8866
9102
  const {
8867
9103
  chartConfig: i,
@@ -8876,7 +9112,7 @@ async function pc(t) {
8876
9112
  } = t, p = i.series[0], { x: u, y: f } = p;
8877
9113
  if (!Number.isNaN(s) && s > 0) {
8878
9114
  const h = { ...r };
8879
- h.where = Z([h.where, `${u} IS NOT NULL`, `${f} IS NOT NULL`]), o ? e = await sc({
9115
+ h.where = Z([h.where, `${u} IS NOT NULL`, `${f} IS NOT NULL`]), o ? e = await fc({
8880
9116
  chartConfig: i,
8881
9117
  queryObject: n,
8882
9118
  queryConfig: h,
@@ -8884,7 +9120,7 @@ async function pc(t) {
8884
9120
  useQueryAttributeBins: d,
8885
9121
  errorStrings: l,
8886
9122
  abortKey: c
8887
- }) : e = await cc({
9123
+ }) : e = await gc({
8888
9124
  queryObject: n,
8889
9125
  chartConfig: i,
8890
9126
  queryConfig: h,
@@ -8900,13 +9136,13 @@ async function kn(t) {
8900
9136
  if (de(r))
8901
9137
  d = await Qo(t);
8902
9138
  else {
8903
- const l = await oc({
9139
+ const l = await yc({
8904
9140
  chartConfig: e,
8905
9141
  queryConfig: i,
8906
9142
  queryObject: r,
8907
9143
  abortKey: o
8908
9144
  }), { queryNumberOfFeatures: c, yStep: p } = C.scatterplotAggregationFields, { maxScatterPointsBeforeAggregation: u } = yt(s?.chartLimits), f = l?.get(c) ?? Number.NaN, h = f >= u, m = co(r);
8909
- h && await rc({
9145
+ h && await cc({
8910
9146
  statsMap: l,
8911
9147
  chartConfig: e,
8912
9148
  queryObject: r,
@@ -8914,14 +9150,14 @@ async function kn(t) {
8914
9150
  queryConfig: i,
8915
9151
  abortKey: o
8916
9152
  });
8917
- const b = await pc({
9153
+ const b = await bc({
8918
9154
  ...t,
8919
9155
  queryObject: r,
8920
9156
  statsMap: l,
8921
9157
  numberOfFeatures: f,
8922
9158
  isAggregationMode: h,
8923
9159
  useQueryAttributeBins: m
8924
- }), S = dc({
9160
+ }), S = mc({
8925
9161
  chartConfig: e,
8926
9162
  rawData: b,
8927
9163
  isAggregationMode: h,
@@ -8960,7 +9196,7 @@ function Ft(t) {
8960
9196
  };
8961
9197
  }
8962
9198
  function Qi(t) {
8963
- return "subType" in t && t.subType === sa.FeatureGauge;
9199
+ return "subType" in t && t.subType === na.FeatureGauge;
8964
9200
  }
8965
9201
  function Yi(t) {
8966
9202
  let e;
@@ -8978,7 +9214,7 @@ function Ci(t) {
8978
9214
  const { dataItem: e, y: i, splitBy: r, showOutliers: n } = t, a = se({ key: O.FirstQuartile, y: i, splitBy: r, showOutliers: n }), s = se({ key: O.ThirdQuartile, y: i, splitBy: r, showOutliers: n });
8979
9215
  return Number.isFinite(e[a]) || Number.isFinite(e[s]);
8980
9216
  }
8981
- function uc(t) {
9217
+ function Sc(t) {
8982
9218
  const { configSeries: e, boxPlotDataItem: i, yList: r, showOutliers: n } = t, a = E(e);
8983
9219
  let s = !1;
8984
9220
  switch (a) {
@@ -9033,11 +9269,11 @@ function hi(t) {
9033
9269
  function Ze(t, e) {
9034
9270
  return t === null && e === !0 || Number.isFinite(t);
9035
9271
  }
9036
- function fc(t) {
9272
+ function xc(t) {
9037
9273
  const { dataItem: e, x: i, y: r, nullAsValid: n = !1 } = t;
9038
9274
  return e[i] !== void 0 && (typeof e[i] != "number" || Number.isFinite(e[i])) && Ze(e[r], n);
9039
9275
  }
9040
- function $f(t) {
9276
+ function Wf(t) {
9041
9277
  const { chartConfig: e, nullAsValid: i = !1, dataSet: r } = t;
9042
9278
  let n = !0;
9043
9279
  if (e !== void 0) {
@@ -9067,14 +9303,14 @@ function $f(t) {
9067
9303
  case y.BarSeries: {
9068
9304
  const l = o, { x: c } = e.series[0];
9069
9305
  d = s.some(
9070
- (p) => fc({ dataItem: l, x: c, y: p, nullAsValid: i })
9306
+ (p) => xc({ dataItem: l, x: c, y: p, nullAsValid: i })
9071
9307
  );
9072
9308
  break;
9073
9309
  }
9074
9310
  case y.BoxPlotSeries: {
9075
9311
  if (ye(e)) {
9076
9312
  const l = e.series;
9077
- d = uc({
9313
+ d = Sc({
9078
9314
  configSeries: l,
9079
9315
  boxPlotDataItem: o,
9080
9316
  yList: s,
@@ -9089,7 +9325,7 @@ function $f(t) {
9089
9325
  let { x: c, y: p } = e.series[0];
9090
9326
  E(e.series) === g.PieFromFields && (c = me, p = De);
9091
9327
  const u = l[p];
9092
- d = l[c] !== void 0 && l[c] !== null && !ha(u) && Ze(Number(u), i);
9328
+ d = l[c] !== void 0 && l[c] !== null && !ea(u) && Ze(Number(u), i);
9093
9329
  }
9094
9330
  break;
9095
9331
  case y.GaugeSeries:
@@ -9110,7 +9346,7 @@ function $f(t) {
9110
9346
  }
9111
9347
  return n;
9112
9348
  }
9113
- function yc(t, e) {
9349
+ function vc(t, e) {
9114
9350
  const i = /* @__PURE__ */ new Map(), r = e ?? Vn(t);
9115
9351
  return t.forEach((n) => {
9116
9352
  if (r.includes(n.id) && "y" in n) {
@@ -9119,8 +9355,8 @@ function yc(t, e) {
9119
9355
  }
9120
9356
  }), i;
9121
9357
  }
9122
- function hc(t) {
9123
- const { seriesConfig: e, filteredSeriesIds: i, filteredData: r } = t, n = yc(e, i), a = e.find(
9358
+ function Cc(t) {
9359
+ const { seriesConfig: e, filteredSeriesIds: i, filteredData: r } = t, n = vc(e, i), a = e.find(
9124
9360
  (l) => l.type === y.LineSeries || l.type === y.RadarSeries
9125
9361
  )?.stackNegativeValuesToBaseline ?? !0;
9126
9362
  let s = Number.MIN_SAFE_INTEGER, o = Number.MAX_SAFE_INTEGER, d = !1;
@@ -9144,11 +9380,11 @@ function hc(t) {
9144
9380
  });
9145
9381
  }), { stackedMinY: o, stackedMaxY: s, dataHasNegativeValues: d };
9146
9382
  }
9147
- function mc(t) {
9383
+ function Fc(t) {
9148
9384
  const { dataItem: e, ...i } = t, r = se({ key: O.Min, ...i }), n = se({ key: O.Max, ...i }), a = e[r], s = e[n];
9149
9385
  return { min: a, max: s };
9150
9386
  }
9151
- function fr(t) {
9387
+ function yr(t) {
9152
9388
  let e = Number.NaN, i = Number.NaN, r, n;
9153
9389
  const { chartConfig: a, chartData: s, filteredSeriesIds: o } = t, { series: d } = a;
9154
9390
  if (d?.length > 0) {
@@ -9167,7 +9403,7 @@ function fr(t) {
9167
9403
  f.forEach((x) => {
9168
9404
  const v = h === g.BoxPlotMultiFieldsAndCategory ? x : void 0;
9169
9405
  b.forEach((F) => {
9170
- const { min: T, max: w } = mc({
9406
+ const { min: T, max: w } = Fc({
9171
9407
  y: v,
9172
9408
  splitByValue: F,
9173
9409
  chartSubType: h,
@@ -9184,7 +9420,7 @@ function fr(t) {
9184
9420
  // we should keep the intention of the function purely as it is, meaning retrieving the min/max values from the stacked series.
9185
9421
  case Ie.Stacked100:
9186
9422
  case Ie.Stacked: {
9187
- const { stackedMinY: h, stackedMaxY: m } = hc({
9423
+ const { stackedMinY: h, stackedMaxY: m } = Cc({
9188
9424
  seriesConfig: d,
9189
9425
  filteredData: p,
9190
9426
  filteredSeriesIds: o
@@ -9208,7 +9444,7 @@ function fr(t) {
9208
9444
  }
9209
9445
  return { minY: e, maxY: i, minX: r, maxX: n };
9210
9446
  }
9211
- function gc(t) {
9447
+ function wc(t) {
9212
9448
  const { chartConfig: e, isSecondValueAxis: i, seriesIds: r } = t;
9213
9449
  let n = r;
9214
9450
  return e.axes?.length === 3 && (n = e.series.map((a) => {
@@ -9233,17 +9469,17 @@ function zn(t) {
9233
9469
  let n = !1;
9234
9470
  if (r === 0) {
9235
9471
  if (jn(e)) {
9236
- const { minX: a, maxX: s } = fr({
9472
+ const { minX: a, maxX: s } = yr({
9237
9473
  chartConfig: e,
9238
9474
  chartData: i
9239
9475
  });
9240
9476
  n = Ri(a, s);
9241
9477
  }
9242
9478
  } else {
9243
- const a = gc({
9479
+ const a = wc({
9244
9480
  chartConfig: e,
9245
9481
  isSecondValueAxis: r === 2
9246
- }), { minY: s, maxY: o } = fr({
9482
+ }), { minY: s, maxY: o } = yr({
9247
9483
  chartConfig: e,
9248
9484
  chartData: i,
9249
9485
  filteredSeriesIds: a
@@ -9252,26 +9488,26 @@ function zn(t) {
9252
9488
  }
9253
9489
  return n;
9254
9490
  }
9255
- function qf(t) {
9491
+ function Vf(t) {
9256
9492
  const { chartConfig: e, axisConfigIndex: i, chartData: r } = t;
9257
9493
  let n = !0;
9258
9494
  const a = e?.axes?.[i];
9259
9495
  return e && r && a?.isLogarithmic === !0 && (n = !zn({ chartConfig: e, chartData: r, axisConfigIndex: i })), n;
9260
9496
  }
9261
- function bc(t, e) {
9497
+ function Tc(t, e) {
9262
9498
  const i = t;
9263
9499
  if (e?.[0] !== void 0 && E(e) === g.PieFromFields) {
9264
9500
  const { x: r, y: n } = e[0];
9265
- (Ei(t) ? i : i.dataItems).forEach((o) => (me in o && r !== me && (o[r] = o[r] !== void 0 ? o[r] : o[me], delete o[me]), De in o && n !== De && (o[n] = o[n] !== void 0 ? o[n] : o[De], delete o[De]), o));
9501
+ (qi(t) ? i : i.dataItems).forEach((o) => (me in o && r !== me && (o[r] = o[r] !== void 0 ? o[r] : o[me], delete o[me]), De in o && n !== De && (o[n] = o[n] !== void 0 ? o[n] : o[De], delete o[De]), o));
9266
9502
  }
9267
9503
  return i;
9268
9504
  }
9269
- function Sc(t, e) {
9505
+ function Ic(t, e) {
9270
9506
  const i = q(e);
9271
9507
  let r = t;
9272
9508
  const n = e?.[0];
9273
9509
  if ((i === y.PieSeries || i === y.BoxPlotSeries || i === y.LineSeries || i === y.RadarSeries || i === y.BarSeries || i === y.HeatSeries || i === y.ComboLineAndBarSeries) && n !== void 0) {
9274
- const a = Ei(t);
9510
+ const a = qi(t);
9275
9511
  let s = a ? t : t.dataItems;
9276
9512
  if (t !== void 0) {
9277
9513
  const { originalCategoryValue: o, originalYCategoryValue: d, originalDateValue: l, xAxisField: c } = C, p = i === y.HeatSeries ? V.xField : n.x, u = i === y.HeatSeries ? V.yField : void 0;
@@ -9289,7 +9525,7 @@ function Sc(t, e) {
9289
9525
  }
9290
9526
  return r;
9291
9527
  }
9292
- function yr(t) {
9528
+ function hr(t) {
9293
9529
  const e = { ...t };
9294
9530
  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[U.uniqueIdsName], Object.keys(e).filter(
9295
9531
  (n) => n.includes(C.rendererSymbolField)
@@ -9297,7 +9533,7 @@ function yr(t) {
9297
9533
  const r = pi(e);
9298
9534
  return r.isInItem && delete e[r.expr ?? ""], e;
9299
9535
  }
9300
- function xc(t, e) {
9536
+ function Ac(t, e) {
9301
9537
  let i = t;
9302
9538
  const r = q(e);
9303
9539
  let n = Yi(i);
@@ -9309,30 +9545,30 @@ function xc(t, e) {
9309
9545
  case y.RadarSeries:
9310
9546
  case y.PieSeries:
9311
9547
  {
9312
- n = n.map(yr), i = { dataItems: n };
9548
+ n = n.map(hr), i = { dataItems: n };
9313
9549
  const { timeIntervalInfo: a, serverLimitReached: s } = t ?? {};
9314
- Cr(a) || (i.timeIntervalInfo = a), s !== void 0 && (i.serverLimitReached = s);
9550
+ br(a) || (i.timeIntervalInfo = a), s !== void 0 && (i.serverLimitReached = s);
9315
9551
  }
9316
9552
  break;
9317
9553
  case y.ScatterSeries:
9318
9554
  i = {
9319
9555
  ...i,
9320
- dataItems: n.map(yr)
9556
+ dataItems: n.map(hr)
9321
9557
  };
9322
9558
  break;
9323
9559
  }
9324
9560
  return i;
9325
9561
  }
9326
- const Ef = (t, e) => {
9562
+ const jf = (t, e) => {
9327
9563
  const i = 10 ** e;
9328
9564
  return Math.round(t * i) / i;
9329
9565
  };
9330
- function kf(t) {
9566
+ function zf(t) {
9331
9567
  const { data: e, seriesConfig: i } = t;
9332
9568
  let r = wt(e);
9333
- return r !== void 0 && (r = Sc(r, i), r = xc(r, i), r = bc(r, i)), r;
9569
+ return r !== void 0 && (r = Ic(r, i), r = Ac(r, i), r = Tc(r, i)), r;
9334
9570
  }
9335
- function vc(t) {
9571
+ function Bc(t) {
9336
9572
  const { dataFetchingResults: e, numberOfQueries: i, series: r } = t, n = q(r), a = E(r);
9337
9573
  let s = [];
9338
9574
  const o = /* @__PURE__ */ new Map();
@@ -9375,7 +9611,7 @@ function vc(t) {
9375
9611
  }
9376
9612
  return o.size > 0 && (s = Array.from(o.values())), s;
9377
9613
  }
9378
- async function Cc(t) {
9614
+ async function Lc(t) {
9379
9615
  const { numberOfQueries: e, selectionOIDs: i, chartConfig: r, queryConfig: n, options: a, errorStrings: s, queryObject: o } = t, { setTimeBinningInfoWhenNotProvided: d } = a ?? {}, { series: l } = r, c = q(l), p = [], { maxOIDsPerSelectionQuery: u } = ci();
9380
9616
  for (let h = 0; h < e; h += 1) {
9381
9617
  const m = h * u, b = (h + 1) * u - 1, S = i.slice(m === 0 ? 0 : m - 1, b), x = { ...n };
@@ -9415,7 +9651,7 @@ async function Cc(t) {
9415
9651
  );
9416
9652
  } else
9417
9653
  p.push(
9418
- Zd({
9654
+ sc({
9419
9655
  queryObject: o,
9420
9656
  chartConfig: r,
9421
9657
  options: a,
@@ -9425,7 +9661,7 @@ async function Cc(t) {
9425
9661
  break;
9426
9662
  case y.BoxPlotSeries:
9427
9663
  p.push(
9428
- ec({
9664
+ oc({
9429
9665
  queryObject: o,
9430
9666
  chartConfig: r,
9431
9667
  options: a,
@@ -9451,7 +9687,7 @@ async function Cc(t) {
9451
9687
  break;
9452
9688
  case y.HistogramSeries:
9453
9689
  p.push(
9454
- $l({
9690
+ zl({
9455
9691
  queryObject: o,
9456
9692
  queryConfig: x,
9457
9693
  chartConfig: r,
@@ -9463,14 +9699,14 @@ async function Cc(t) {
9463
9699
  }
9464
9700
  return await Promise.all(p);
9465
9701
  }
9466
- async function Wf(t) {
9702
+ async function _f(t) {
9467
9703
  const { updatedPropsSnapshot: e, chartConfig: i, chartData: r, dataWasUpdated: n, queryObject: a, options: s, errorStrings: o } = t, { series: d } = i, { selectionData: l, viewExtentUpdated: c, returnSelectionOIDs: p, chartLimits: u } = s ?? {}, { selectionItems: f, selectionOIDs: h } = l ?? {};
9468
9704
  let m;
9469
9705
  const b = q(d);
9470
9706
  let S = !1;
9471
9707
  if (e.has("selectionData")) {
9472
9708
  const { oldValue: F, newValue: T } = e.get("selectionData");
9473
- S = !Re(F?.selectionOIDs, T?.selectionOIDs);
9709
+ S = !$e(F?.selectionOIDs, T?.selectionOIDs);
9474
9710
  }
9475
9711
  const x = b !== y.HistogramSeries && b !== y.HeatSeries && f !== void 0 && f.length > 0 && !(d[0].x in f[0]) && !(me in f[0]) && !(C.boxPlot.boxPlotCategory in f[0]);
9476
9712
  if (c !== !0 && p !== !1 && h !== void 0 && h.length > 0 && (n === !0 || x || S)) {
@@ -9487,7 +9723,7 @@ async function Wf(t) {
9487
9723
  return typeof A == "number" || typeof A == "string" ? h?.includes(A) : !1;
9488
9724
  });
9489
9725
  else if (h?.[0] !== void 0 && T !== void 0) {
9490
- const { maxOIDsPerSelectionQuery: w } = ci(), A = Math.ceil(h.length / w), P = await Cc({
9726
+ const { maxOIDsPerSelectionQuery: w } = ci(), A = Math.ceil(h.length / w), P = await Lc({
9491
9727
  numberOfQueries: A,
9492
9728
  selectionOIDs: h,
9493
9729
  queryConfig: T,
@@ -9496,7 +9732,7 @@ async function Wf(t) {
9496
9732
  errorStrings: o,
9497
9733
  chartConfig: i
9498
9734
  });
9499
- m = vc({
9735
+ m = Bc({
9500
9736
  dataFetchingResults: P,
9501
9737
  numberOfQueries: A,
9502
9738
  series: d
@@ -9505,7 +9741,7 @@ async function Wf(t) {
9505
9741
  }
9506
9742
  return m;
9507
9743
  }
9508
- const Vf = {
9744
+ const Gf = {
9509
9745
  shouldCheckDataMinMaxForLogScaleOnXAxis: jn,
9510
9746
  minMaxHasZeroOrNegativeValues: Ri,
9511
9747
  isChartWithZeroOrNegativeValues: zn
@@ -19650,7 +19886,7 @@ function _n(t) {
19650
19886
  return e !== -1 ? t.slice(e + 1) : t;
19651
19887
  }
19652
19888
  async function Gn(t) {
19653
- const e = (await $e(
19889
+ const e = (await Re(
19654
19890
  Ae(document.documentElement).t9nLocale,
19655
19891
  qe("./assets/common/t9n"),
19656
19892
  "messages."
@@ -19740,7 +19976,7 @@ function Pt(t, e) {
19740
19976
  }
19741
19977
  async function Un(t) {
19742
19978
  let e;
19743
- const i = (await $e(
19979
+ const i = (await Re(
19744
19980
  Ae(document.documentElement).t9nLocale,
19745
19981
  qe("./assets/common/t9n"),
19746
19982
  "messages."
@@ -19757,8 +19993,8 @@ async function Un(t) {
19757
19993
  }
19758
19994
  return e;
19759
19995
  }
19760
- function Fc() {
19761
- const t = new wa({ allErrors: !0 });
19996
+ function Dc() {
19997
+ const t = new va({ allErrors: !0 });
19762
19998
  return async (e) => {
19763
19999
  let i = [];
19764
20000
  const r = q(e?.series);
@@ -19781,9 +20017,9 @@ function Fc() {
19781
20017
  return a(e), a.errors !== null && a.errors !== void 0 && (i = await Gn(a.errors)), i;
19782
20018
  };
19783
20019
  }
19784
- const wc = Fc();
20020
+ const Nc = Dc();
19785
20021
  async function Hn(t) {
19786
- const { seriesConfigs: e, queryObject: i, allowUsingObjectIdStat: r } = t, n = [], a = i ? Fe(i) : void 0, s = (await $e(
20022
+ const { seriesConfigs: e, queryObject: i, allowUsingObjectIdStat: r } = t, n = [], a = i ? Fe(i) : void 0, s = (await Re(
19787
20023
  Ae(document.documentElement).t9nLocale,
19788
20024
  qe("./assets/common/t9n"),
19789
20025
  "messages."
@@ -19811,7 +20047,7 @@ async function Hn(t) {
19811
20047
  return n;
19812
20048
  }
19813
20049
  async function Qn(t) {
19814
- const e = [], i = (await $e(
20050
+ const e = [], i = (await Re(
19815
20051
  Ae(document.documentElement).t9nLocale,
19816
20052
  qe("./assets/common/t9n"),
19817
20053
  "messages."
@@ -19873,9 +20109,9 @@ function Yn(t) {
19873
20109
  }
19874
20110
  return Array.from(e.values()).filter((r) => !ae(r));
19875
20111
  }
19876
- async function Tc(t, e) {
20112
+ async function Oc(t, e) {
19877
20113
  let i;
19878
- const r = (await $e(
20114
+ const r = (await Re(
19879
20115
  Ae(document.documentElement).t9nLocale,
19880
20116
  qe("./assets/common/t9n"),
19881
20117
  "messages."
@@ -19910,19 +20146,19 @@ async function Kn(t, e) {
19910
20146
  if (r !== void 0)
19911
20147
  i = i.concat(r);
19912
20148
  else if (e !== void 0) {
19913
- const n = await Tc(e, t);
20149
+ const n = await Oc(e, t);
19914
20150
  n !== void 0 && (i = i.concat(n));
19915
20151
  }
19916
20152
  }
19917
20153
  return i;
19918
20154
  }
19919
- async function jf(t) {
20155
+ async function Uf(t) {
19920
20156
  const { input: e, queryObject: i, allowUsingObjectIdStat: r } = t;
19921
20157
  let n;
19922
- if (ml(e?.version).versionStatus === dt.Newer)
20158
+ if (Fl(e?.version).versionStatus === dt.Newer)
19923
20159
  n = { valid: !0, schemaErrors: [], customErrors: [], warnings: [] };
19924
20160
  else {
19925
- const a = await wc(e);
20161
+ const a = await Nc(e);
19926
20162
  let s = [], o = [];
19927
20163
  e !== void 0 && a.length === 0 && (o = await Kn(i, e), o.length === 0 && (s = await Jn({ input: e, queryObject: i, allowUsingObjectIdStat: r }))), n = {
19928
20164
  valid: a.length === 0 && s.length === 0 && o.length === 0,
@@ -19933,7 +20169,7 @@ async function jf(t) {
19933
20169
  }
19934
20170
  return n;
19935
20171
  }
19936
- function zf(t) {
20172
+ function Hf(t) {
19937
20173
  const e = q(t?.series);
19938
20174
  let i = !1;
19939
20175
  switch (e) {
@@ -19973,7 +20209,7 @@ function zf(t) {
19973
20209
  }
19974
20210
  return i;
19975
20211
  }
19976
- const _f = {
20212
+ const Qf = {
19977
20213
  findCustomErrors: Kn,
19978
20214
  findWarnings: Jn,
19979
20215
  findNumericAggregationWarnings: Hn,
@@ -20018,7 +20254,7 @@ async function Fi(t) {
20018
20254
  )
20019
20255
  ).sort((b, S) => typeof b == "string" && typeof S == "string" ? b.localeCompare(S) : Number(b) - Number(S));
20020
20256
  }
20021
- const hr = [
20257
+ const mr = [
20022
20258
  {
20023
20259
  unit: $.Second,
20024
20260
  threshold: 6e4,
@@ -20061,195 +20297,8 @@ const hr = [
20061
20297
  unitMs: 1e3 * 60 * 60 * 24 * 7 * 4 * 12,
20062
20298
  preferredIntervalSize: [1, 2, 4, 5, 10, 25, 50, 100]
20063
20299
  }
20064
- ], Ic = "{ groupByFieldsForStatistics } WHEN { dateField }>='{ startDate }' AND { dateField }{ endDateOperand }'{ endDate }' THEN '{ y }|{ binIndex}'";
20065
- function Ac(t, e) {
20066
- let i = !0;
20067
- if (e?.trim()) {
20068
- const r = {};
20069
- Object.entries(t).forEach(([s, o]) => {
20070
- r[s.toUpperCase()] = o;
20071
- });
20072
- const n = e.trim(), a = n.match(/^(\w+)\s+IS\s+(NOT\s+)?NULL$/iu);
20073
- if (a) {
20074
- const [s, o, d] = a, l = r[o.toUpperCase()], c = l == null;
20075
- i = d ? !c : c;
20076
- } else {
20077
- const s = n.match(/^(\w+)\s*(=|!=|<>|>|<|>=|<=)\s*(.+)$/iu);
20078
- if (s) {
20079
- const [o, d, l, c] = s, p = d.toUpperCase();
20080
- if (!(p in r))
20081
- i = !1;
20082
- else {
20083
- const u = r[p];
20084
- let f = c.trim().replace(/^['"]|['"]$/gu, "");
20085
- switch (typeof u == "number" ? f = Number(f) : typeof u == "boolean" && (f = f.toLowerCase() === "true"), l) {
20086
- case "=":
20087
- i = u === f;
20088
- break;
20089
- case "!=":
20090
- case "<>":
20091
- i = u !== f;
20092
- break;
20093
- case ">":
20094
- i = u > f;
20095
- break;
20096
- case "<":
20097
- i = u < f;
20098
- break;
20099
- case ">=":
20100
- i = u >= f;
20101
- break;
20102
- case "<=":
20103
- i = u <= f;
20104
- break;
20105
- default:
20106
- i = !0;
20107
- }
20108
- }
20109
- }
20110
- }
20111
- }
20112
- return i;
20113
- }
20114
- function Bc(t) {
20115
- const { features: e, aggregationType: i, onField: r } = t;
20116
- let n;
20117
- if (!r)
20118
- i === "count" && (n = e.length);
20119
- else
20120
- switch (i) {
20121
- case "count": {
20122
- r === "*" ? n = e.length : n = e.filter((a) => a[r] !== null && a[r] !== void 0).length;
20123
- break;
20124
- }
20125
- case "sum": {
20126
- n = e.reduce((a, s) => {
20127
- const o = s[r];
20128
- return a + (typeof o == "number" ? o : 0);
20129
- }, 0);
20130
- break;
20131
- }
20132
- case "avg": {
20133
- let a = 0, s = 0;
20134
- e.forEach((o) => {
20135
- const d = o[r];
20136
- typeof d == "number" && (a += d, s++);
20137
- }), n = s > 0 ? a / s : 0;
20138
- break;
20139
- }
20140
- case "min": {
20141
- const a = e.map((s) => s[r]).filter((s) => typeof s == "number" && s !== null && s !== void 0);
20142
- n = a.length > 0 ? Math.min(...a) : void 0;
20143
- break;
20144
- }
20145
- case "max": {
20146
- const a = e.map((s) => s[r]).filter((s) => typeof s == "number" && s !== null && s !== void 0);
20147
- n = a.length > 0 ? Math.max(...a) : void 0;
20148
- break;
20149
- }
20150
- case "percentile-continuous": {
20151
- const s = [...e.map((d) => d[r]).filter((d) => typeof d == "number" && d !== null && d !== void 0)].sort((d, l) => d - l), o = Math.floor(s.length / 2);
20152
- n = s.length % 2 !== 0 ? s[o] : (s[o - 1] + s[o]) / 2;
20153
- break;
20154
- }
20155
- }
20156
- return n;
20157
- }
20158
- function mr(t, e) {
20159
- let i;
20160
- return t == null && e ? i = {
20161
- groupKey: C.nullValue,
20162
- display: C.nullValue,
20163
- original: null
20164
- } : i = { groupKey: t, display: t, original: t }, i;
20165
- }
20166
- async function Lc(t) {
20167
- const { layer: e, geometry: i, abortKey: r } = t;
20168
- e.loaded || await e.load();
20169
- const n = await e.generateRasterInfo(e.rasterFunction), a = Ot(i) ?? e.fullExtent;
20170
- let s = n.attributeTable;
20171
- return a instanceof gr && a.equals(e.fullExtent) || (s = await ia(
20172
- e,
20173
- {
20174
- geometry: a
20175
- },
20176
- {
20177
- signal: r !== void 0 ? et.get(r)?.signal : void 0
20178
- }
20179
- )), s;
20180
- }
20181
- async function Dc(t) {
20182
- const { chartConfig: e, queryConfig: i, queryObject: r, abortKey: n } = t;
20183
- let a;
20184
- if (r === void 0)
20185
- throw new Error("QueryObject is undefined!");
20186
- const s = k(r);
20187
- if (!de(s))
20188
- throw new pe(oe.LayerNotSupported);
20189
- const o = await Lc({
20190
- layer: s,
20191
- geometry: i.geometry,
20192
- abortKey: n
20193
- }), d = o?.features;
20194
- if (!o || !d)
20195
- a = {
20196
- valid: !1,
20197
- invalidType: W.BadData
20198
- };
20199
- else {
20200
- const l = e.series;
20201
- if (!l || l.length === 0 || d.length === 0)
20202
- a = {
20203
- valid: !0
20204
- };
20205
- else {
20206
- const c = i.groupByFieldsForStatistics?.[0] ?? "", p = l.some((h) => h.query?.fetchNullValues), u = /* @__PURE__ */ new Map();
20207
- for (const h of d) {
20208
- const { groupKey: m } = mr(h.attributes[c], p);
20209
- m === C.nullValue && !p || (u.has(m) || u.set(m, []), u.get(m).push(h.attributes));
20210
- }
20211
- const f = [];
20212
- u.forEach((h) => {
20213
- const m = {}, b = h[0][c], { display: S, original: x } = mr(b, p);
20214
- m[c] = S, m[C.xAxisField] = S, m[C.originalCategoryValue] = x, l.forEach((v) => {
20215
- const F = v.query?.outStatistics?.[0];
20216
- if (!F) {
20217
- const { name: B } = v;
20218
- m[B] = h[0][B];
20219
- return;
20220
- }
20221
- let T = h;
20222
- const w = v.query?.where;
20223
- w && (T = h.filter((B) => Ac(B, w)));
20224
- const A = F.statisticType, P = F.onStatisticField, D = F.outStatisticFieldName;
20225
- m[D] = Bc({
20226
- features: T,
20227
- aggregationType: A,
20228
- onField: P
20229
- });
20230
- }), f.push(m);
20231
- }), a = {
20232
- valid: !0,
20233
- data: {
20234
- dataItems: f
20235
- }
20236
- };
20237
- }
20238
- }
20239
- return a;
20240
- }
20241
- async function Gf(t) {
20242
- const { layer: e, category: i, splitByField: r } = t, s = (await e.generateRasterInfo(e.rasterFunction))?.attributeTable?.features, o = r !== void 0;
20243
- return Array.from(
20244
- new Set(
20245
- s?.map(
20246
- (l) => l.attributes[o ? r : i]
20247
- )
20248
- )
20249
- ).sort((l, c) => typeof l == "string" && typeof c == "string" ? l.localeCompare(c) : Number(l) - Number(c));
20250
- }
20251
- const Nc = [
20252
- ...Fr,
20300
+ ], Pc = "{ groupByFieldsForStatistics } WHEN { dateField }>='{ startDate }' AND { dateField }{ endDateOperand }'{ endDate }' THEN '{ y }|{ binIndex}'", Mc = [
20301
+ ...gr,
20253
20302
  "ar-u-nu-latn",
20254
20303
  "en-AU",
20255
20304
  "en-GB",
@@ -20262,15 +20311,15 @@ const Nc = [
20262
20311
  "it-CH",
20263
20312
  "it-IT"
20264
20313
  ];
20265
- function Uf(t) {
20314
+ function Yf(t) {
20266
20315
  const { t9nLocale: e } = Ae(t ?? document.documentElement), i = Xn(t ?? document.documentElement), r = Ba(t ?? document.documentElement) === "rtl";
20267
20316
  return { locale: e, formatLocale: i, rtl: r };
20268
20317
  }
20269
- function Hf(t) {
20318
+ function Jf(t) {
20270
20319
  let e;
20271
20320
  return t === "unknown" ? e = "UTC" : t !== void 0 && t !== "system" && (e = t), e;
20272
20321
  }
20273
- function Qf(t, e) {
20322
+ function Kf(t, e) {
20274
20323
  const i = {
20275
20324
  year: "numeric",
20276
20325
  month: "2-digit",
@@ -20279,7 +20328,7 @@ function Qf(t, e) {
20279
20328
  };
20280
20329
  return new Intl.DateTimeFormat("en-CA", i).format(t);
20281
20330
  }
20282
- function Yf(t, e) {
20331
+ function Xf(t, e) {
20283
20332
  const i = {
20284
20333
  hour: "2-digit",
20285
20334
  minute: "2-digit",
@@ -20288,17 +20337,17 @@ function Yf(t, e) {
20288
20337
  };
20289
20338
  return new Intl.DateTimeFormat("en-US", i).format(t);
20290
20339
  }
20291
- function Jf(t, e) {
20340
+ function Zf(t, e) {
20292
20341
  const [, i, , , , r] = 1111.1.toLocaleString(e), n = t.replace(i, "").replace(r, ".");
20293
20342
  return Number.parseFloat(n);
20294
20343
  }
20295
- function Oc(t) {
20296
- const e = Array.from(Fr);
20297
- return Nc.includes(t) && !e.includes(t);
20344
+ function Rc(t) {
20345
+ const e = Array.from(gr);
20346
+ return Mc.includes(t) && !e.includes(t);
20298
20347
  }
20299
20348
  function Xn(t) {
20300
20349
  const { lang: e, t9nLocale: i } = Ae(t);
20301
- return Oc(e) ? e : i;
20350
+ return Rc(e) ? e : i;
20302
20351
  }
20303
20352
  export {
20304
20353
  Ne as $,
@@ -20307,77 +20356,77 @@ export {
20307
20356
  g as C,
20308
20357
  W as D,
20309
20358
  oe as E,
20310
- Kp as F,
20359
+ eu as F,
20311
20360
  za as G,
20312
20361
  V as H,
20313
- xp as I,
20314
- bp as J,
20315
- Sp as K,
20362
+ Fp as I,
20363
+ vp as J,
20364
+ Cp as K,
20316
20365
  rt as L,
20317
20366
  me as M,
20318
20367
  De as N,
20319
20368
  je as O,
20320
20369
  _a as P,
20321
- Cf as Q,
20370
+ If as Q,
20322
20371
  Ci as R,
20323
- xu as S,
20372
+ Fu as S,
20324
20373
  j as T,
20325
- Tl as U,
20374
+ Ol as U,
20326
20375
  Gr as V,
20327
20376
  Ye as W,
20328
- $u as X,
20377
+ ku as X,
20329
20378
  lo as Y,
20330
20379
  co as Z,
20331
20380
  qt as _,
20332
20381
  pe as a,
20333
- Jp as a$,
20382
+ Zp as a$,
20334
20383
  Ai as a0,
20335
20384
  Yi as a1,
20336
- cl as a2,
20337
- dl as a3,
20385
+ gl as a2,
20386
+ ml as a3,
20338
20387
  _e as a4,
20339
- Dc as a5,
20388
+ el as a5,
20340
20389
  Mo as a6,
20341
20390
  Qo as a7,
20342
20391
  Fe as a8,
20343
- el as a9,
20344
- kp as aA,
20345
- Rp as aB,
20392
+ ol as a9,
20393
+ jp as aA,
20394
+ Ep as aB,
20346
20395
  rs as aC,
20347
- Wp as aD,
20348
- Op as aE,
20349
- $p as aF,
20396
+ zp as aD,
20397
+ Rp as aE,
20398
+ kp as aF,
20350
20399
  Ha as aG,
20351
20400
  Mt as aH,
20352
20401
  _ as aI,
20353
20402
  Ar as aJ,
20354
- Bp as aK,
20355
- Lp as aL,
20403
+ Np as aK,
20404
+ Op as aL,
20356
20405
  Y as aM,
20357
- _p as aN,
20406
+ Hp as aN,
20358
20407
  es as aO,
20359
- Ep as aP,
20360
- Up as aQ,
20361
- Hp as aR,
20408
+ Vp as aP,
20409
+ Yp as aQ,
20410
+ Jp as aR,
20362
20411
  ss as aS,
20363
20412
  ls as aT,
20364
20413
  os as aU,
20365
20414
  nt as aV,
20366
- Vp as aW,
20415
+ _p as aW,
20367
20416
  Ya as aX,
20368
20417
  Qa as aY,
20369
20418
  is as aZ,
20370
20419
  Wt as a_,
20371
- _u as aa,
20372
- tf as ab,
20373
- ol as ac,
20374
- sl as ad,
20375
- Zu as ae,
20376
- ul as af,
20377
- gp as ag,
20420
+ Qu as aa,
20421
+ sf as ab,
20422
+ yl as ac,
20423
+ fl as ad,
20424
+ nf as ae,
20425
+ Sl as af,
20426
+ xp as ag,
20378
20427
  di as ah,
20379
- gc as ai,
20380
- gl as aj,
20428
+ wc as ai,
20429
+ wl as aj,
20381
20430
  Ft as ak,
20382
20431
  hi as al,
20383
20432
  se as am,
@@ -20385,32 +20434,32 @@ export {
20385
20434
  yt as ao,
20386
20435
  E as ap,
20387
20436
  ci as aq,
20388
- ml as ar,
20437
+ Fl as ar,
20389
20438
  $r as as,
20390
- fr as at,
20391
- hc as au,
20439
+ yr as at,
20440
+ Cc as au,
20392
20441
  Oi as av,
20393
- Qf as aw,
20394
- Qp as ax,
20442
+ Kf as aw,
20443
+ Kp as ax,
20395
20444
  ft as ay,
20396
20445
  at as az,
20397
20446
  Xe as b,
20398
- il as b$,
20447
+ on as b$,
20399
20448
  wi as b0,
20400
20449
  Ht as b1,
20401
- Np as b2,
20402
- zp as b3,
20403
- qp as b4,
20450
+ Mp as b2,
20451
+ Up as b3,
20452
+ Wp as b4,
20404
20453
  as as b5,
20405
20454
  ns as b6,
20406
- jp as b7,
20407
- Mp as b8,
20408
- Gp as b9,
20455
+ Gp as b7,
20456
+ qp as b8,
20457
+ Qp as b9,
20409
20458
  k as bA,
20410
- Ku as bB,
20459
+ tf as bB,
20411
20460
  po as bC,
20412
20461
  fi as bD,
20413
- Uf as bE,
20462
+ Yf as bE,
20414
20463
  ue as bF,
20415
20464
  Lo as bG,
20416
20465
  Yr as bH,
@@ -20418,262 +20467,263 @@ export {
20418
20467
  Be as bJ,
20419
20468
  Vr as bK,
20420
20469
  io as bL,
20421
- Tu as bM,
20470
+ Bu as bM,
20422
20471
  Ur as bN,
20423
20472
  Qr as bO,
20424
20473
  Fo as bP,
20425
- Hu as bQ,
20474
+ Ku as bQ,
20426
20475
  Co as bR,
20427
20476
  Li as bS,
20428
- $o as bT,
20429
- rn as bU,
20430
- tn as bV,
20431
- Gu as bW,
20432
- tl as bX,
20433
- Xo as bY,
20434
- Jo as bZ,
20435
- on as b_,
20477
+ rl as bT,
20478
+ $o as bU,
20479
+ rn as bV,
20480
+ tn as bW,
20481
+ Yu as bX,
20482
+ ll as bY,
20483
+ al as bZ,
20484
+ Jo as b_,
20436
20485
  Ja as ba,
20437
- Pp as bb,
20486
+ $p as bb,
20438
20487
  ds as bc,
20439
- Dp as bd,
20488
+ Pp as bd,
20440
20489
  Br as be,
20441
- Yp as bf,
20490
+ Xp as bf,
20442
20491
  Je as bg,
20443
20492
  Ka as bh,
20444
20493
  Zt as bi,
20445
- Nu as bj,
20494
+ Mu as bj,
20446
20495
  Xn as bk,
20447
20496
  zi as bl,
20448
20497
  Bi as bm,
20449
20498
  Di as bn,
20450
20499
  Ni as bo,
20451
- nr as bp,
20500
+ ar as bp,
20452
20501
  sn as bq,
20453
- Cu as br,
20454
- Xu as bs,
20502
+ Tu as br,
20503
+ rf as bs,
20455
20504
  ts as bt,
20456
20505
  Xa as bu,
20457
20506
  nn as bv,
20458
20507
  an as bw,
20459
- Uu as bx,
20460
- nl as by,
20461
- qu as bz,
20508
+ Ju as bx,
20509
+ pl as by,
20510
+ Wu as bz,
20462
20511
  Kr as c,
20463
- jr as c$,
20464
- Za as c0,
20465
- Wf as c1,
20466
- Ke as c2,
20467
- vu as c3,
20468
- le as c4,
20469
- be as c5,
20470
- Wi as c6,
20471
- wu as c7,
20472
- Yf as c8,
20473
- he as c9,
20474
- bf as cA,
20475
- uf as cB,
20476
- ja as cC,
20477
- Ue as cD,
20478
- ir as cE,
20479
- Ou as cF,
20480
- rl as cG,
20481
- $f as cH,
20482
- ae as cI,
20483
- Mu as cJ,
20484
- zr as cK,
20485
- Ee as cL,
20486
- Qi as cM,
20487
- ro as cN,
20488
- no as cO,
20489
- Ju as cP,
20490
- Wn as cQ,
20491
- wf as cR,
20492
- Ge as cS,
20493
- Lt as cT,
20494
- zf as cU,
20495
- ei as cV,
20496
- vo as cW,
20497
- pi as cX,
20498
- zu as cY,
20499
- Lu as cZ,
20500
- st as c_,
20501
- Kt as ca,
20502
- Ic as cb,
20503
- Fl as cc,
20504
- hf as cd,
20512
+ st as c$,
20513
+ dl as c0,
20514
+ Za as c1,
20515
+ _f as c2,
20516
+ Ke as c3,
20517
+ wu as c4,
20518
+ le as c5,
20519
+ be as c6,
20520
+ Wi as c7,
20521
+ Au as c8,
20522
+ Xf as c9,
20523
+ lf as cA,
20524
+ Cf as cB,
20525
+ mf as cC,
20526
+ ja as cD,
20527
+ Ue as cE,
20528
+ ir as cF,
20529
+ Ru as cG,
20530
+ cl as cH,
20531
+ Wf as cI,
20532
+ ae as cJ,
20533
+ qu as cK,
20534
+ zr as cL,
20535
+ Ee as cM,
20536
+ Qi as cN,
20537
+ ro as cO,
20538
+ no as cP,
20539
+ ef as cQ,
20540
+ Wn as cR,
20541
+ Bf as cS,
20542
+ Ge as cT,
20543
+ Lt as cU,
20544
+ Hf as cV,
20545
+ ei as cW,
20546
+ vo as cX,
20547
+ pi as cY,
20548
+ Hu as cZ,
20549
+ Ou as c_,
20550
+ he as ca,
20551
+ Kt as cb,
20552
+ Pc as cc,
20553
+ Dl as cd,
20505
20554
  Sf as ce,
20506
- rf as cf,
20507
- bl as cg,
20508
- wl as ch,
20509
- ff as ci,
20510
- of as cj,
20511
- vl as ck,
20512
- Cl as cl,
20513
- af as cm,
20514
- sf as cn,
20515
- lf as co,
20516
- xf as cp,
20517
- ar as cq,
20518
- pf as cr,
20519
- gf as cs,
20520
- mf as ct,
20521
- Bu as cu,
20522
- yf as cv,
20523
- vf as cw,
20524
- df as cx,
20525
- cf as cy,
20526
- nf as cz,
20527
- mp as d,
20528
- jf as d$,
20529
- al as d0,
20530
- Qu as d1,
20531
- Ru as d2,
20532
- _r as d3,
20533
- eo as d4,
20534
- oo as d5,
20535
- de as d6,
20536
- ao as d7,
20537
- so as d8,
20538
- Yu as d9,
20539
- xo as dA,
20540
- Tr as dB,
20541
- U as dC,
20542
- go as dD,
20543
- ho as dE,
20544
- Vu as dF,
20545
- Vt as dG,
20546
- ku as dH,
20547
- Ga as dI,
20548
- ge as dJ,
20549
- xc as dK,
20550
- yr as dL,
20551
- Sc as dM,
20552
- bc as dN,
20553
- Ef as dO,
20554
- kf as dP,
20555
- Au as dQ,
20555
+ Ff as cf,
20556
+ of as cg,
20557
+ Tl as ch,
20558
+ Nl as ci,
20559
+ gf as cj,
20560
+ pf as ck,
20561
+ Bl as cl,
20562
+ Ll as cm,
20563
+ df as cn,
20564
+ cf as co,
20565
+ uf as cp,
20566
+ wf as cq,
20567
+ sr as cr,
20568
+ hf as cs,
20569
+ vf as ct,
20570
+ xf as cu,
20571
+ Nu as cv,
20572
+ bf as cw,
20573
+ Tf as cx,
20574
+ ff as cy,
20575
+ yf as cz,
20576
+ Sp as d,
20577
+ xc as d$,
20578
+ jr as d0,
20579
+ ul as d1,
20580
+ Xu as d2,
20581
+ Eu as d3,
20582
+ _r as d4,
20583
+ eo as d5,
20584
+ oo as d6,
20585
+ de as d7,
20586
+ ao as d8,
20587
+ so as d9,
20588
+ mo as dA,
20589
+ xo as dB,
20590
+ Tr as dC,
20591
+ U as dD,
20592
+ go as dE,
20593
+ ho as dF,
20594
+ _u as dG,
20595
+ Vt as dH,
20596
+ ju as dI,
20597
+ Ga as dJ,
20598
+ ge as dK,
20599
+ Ac as dL,
20600
+ hr as dM,
20601
+ Ic as dN,
20602
+ Tc as dO,
20603
+ jf as dP,
20604
+ zf as dQ,
20556
20605
  Du as dR,
20557
- Ff as dS,
20558
- Ko as dT,
20559
- hr as dU,
20560
- Gf as dV,
20561
- Fi as dW,
20562
- fl as dX,
20563
- Iu as dY,
20564
- Zp as dZ,
20565
- fc as d_,
20566
- to as da,
20567
- ef as db,
20568
- Ip as dc,
20569
- wp as dd,
20570
- Fp as de,
20571
- Tp as df,
20572
- Jf as dg,
20573
- Ao as dh,
20574
- Bo as di,
20575
- To as dj,
20576
- ji as dk,
20577
- Ot as dl,
20578
- Wu as dm,
20579
- ll as dn,
20580
- Pu as dp,
20581
- ai as dq,
20582
- qr as dr,
20583
- Qe as ds,
20584
- Xp as dt,
20585
- cs as du,
20586
- ii as dv,
20587
- Le as dw,
20588
- fo as dx,
20589
- yo as dy,
20590
- mo as dz,
20591
- Nc as e,
20592
- fu as e$,
20593
- yl as e0,
20594
- qf as e1,
20595
- C as e2,
20596
- At as e3,
20597
- ye as e4,
20598
- Tn as e5,
20599
- pu as e6,
20600
- js as e7,
20601
- ke as e8,
20602
- ki as e9,
20603
- eu as eA,
20604
- Ls as eB,
20605
- nu as eC,
20606
- ql as eD,
20607
- iu as eE,
20608
- ru as eF,
20609
- Mf as eG,
20610
- id as eH,
20611
- kt as eI,
20612
- If as eJ,
20613
- au as eK,
20614
- Df as eL,
20615
- er as eM,
20616
- fp as eN,
20617
- gu as eO,
20618
- yp as eP,
20619
- Bf as eQ,
20620
- hp as eR,
20621
- bu as eS,
20622
- Ii as eT,
20623
- Tt as eU,
20624
- ys as eV,
20625
- ju as eW,
20626
- Zi as eX,
20627
- ws as eY,
20628
- Af as eZ,
20629
- uu as e_,
20630
- qn as ea,
20631
- cu as eb,
20632
- su as ec,
20633
- hu as ed,
20634
- Pf as ee,
20635
- yu as ef,
20636
- xs as eg,
20637
- $s as eh,
20638
- oi as ei,
20639
- Wa as ej,
20640
- ct as ek,
20641
- ce as el,
20642
- ze as em,
20643
- Na as en,
20644
- up as eo,
20645
- du as ep,
20646
- Rt as eq,
20647
- mu as er,
20648
- ms as es,
20649
- Bt as et,
20650
- Lr as eu,
20651
- ou as ev,
20652
- Su as ew,
20653
- tu as ex,
20654
- lu as ey,
20655
- Ts as ez,
20606
+ Pu as dS,
20607
+ Af as dT,
20608
+ nl as dU,
20609
+ mr as dV,
20610
+ Uu as dW,
20611
+ Fi as dX,
20612
+ xl as dY,
20613
+ Lu as dZ,
20614
+ iu as d_,
20615
+ Zu as da,
20616
+ to as db,
20617
+ af as dc,
20618
+ Lp as dd,
20619
+ Ap as de,
20620
+ Ip as df,
20621
+ Bp as dg,
20622
+ Zf as dh,
20623
+ Ao as di,
20624
+ Bo as dj,
20625
+ To as dk,
20626
+ ji as dl,
20627
+ Ot as dm,
20628
+ zu as dn,
20629
+ hl as dp,
20630
+ $u as dq,
20631
+ ai as dr,
20632
+ qr as ds,
20633
+ Qe as dt,
20634
+ tu as du,
20635
+ cs as dv,
20636
+ ii as dw,
20637
+ Le as dx,
20638
+ fo as dy,
20639
+ yo as dz,
20640
+ Mc as e,
20641
+ hu as e$,
20642
+ Uf as e0,
20643
+ vl as e1,
20644
+ Vf as e2,
20645
+ C as e3,
20646
+ At as e4,
20647
+ ye as e5,
20648
+ Tn as e6,
20649
+ yu as e7,
20650
+ js as e8,
20651
+ ke as e9,
20652
+ Ts as eA,
20653
+ ru as eB,
20654
+ Ls as eC,
20655
+ ou as eD,
20656
+ _l as eE,
20657
+ au as eF,
20658
+ su as eG,
20659
+ Ef as eH,
20660
+ dd as eI,
20661
+ kt as eJ,
20662
+ Df as eK,
20663
+ lu as eL,
20664
+ Mf as eM,
20665
+ er as eN,
20666
+ mp as eO,
20667
+ xu as eP,
20668
+ gp as eQ,
20669
+ Of as eR,
20670
+ bp as eS,
20671
+ vu as eT,
20672
+ Ii as eU,
20673
+ Tt as eV,
20674
+ ys as eW,
20675
+ Gu as eX,
20676
+ Zi as eY,
20677
+ ws as eZ,
20678
+ Nf as e_,
20679
+ ki as ea,
20680
+ qn as eb,
20681
+ fu as ec,
20682
+ du as ed,
20683
+ bu as ee,
20684
+ qf as ef,
20685
+ gu as eg,
20686
+ xs as eh,
20687
+ $s as ei,
20688
+ oi as ej,
20689
+ Wa as ek,
20690
+ ct as el,
20691
+ ce as em,
20692
+ ze as en,
20693
+ Na as eo,
20694
+ hp as ep,
20695
+ uu as eq,
20696
+ Rt as er,
20697
+ Su as es,
20698
+ ms as et,
20699
+ Bt as eu,
20700
+ Lr as ev,
20701
+ cu as ew,
20702
+ Cu as ex,
20703
+ nu as ey,
20704
+ pu as ez,
20656
20705
  et as f,
20657
- Lf as f0,
20658
- Of as f1,
20659
- Rf as f2,
20660
- Nf as f3,
20706
+ mu as f0,
20707
+ Pf as f1,
20708
+ $f as f2,
20709
+ kf as f3,
20710
+ Rf as f4,
20661
20711
  So as g,
20662
- Eu as h,
20712
+ Vu as h,
20663
20713
  ni as i,
20664
20714
  ps as j,
20665
20715
  us as k,
20666
20716
  dn as l,
20667
- Fu as m,
20668
- Tf as n,
20669
- _f as o,
20717
+ Iu as m,
20718
+ Lf as n,
20719
+ Qf as o,
20670
20720
  lt as p,
20671
20721
  Z as q,
20672
- Hf as r,
20673
- Cp as s,
20674
- vp as t,
20675
- Ap as u,
20676
- Vf as v,
20722
+ Jf as r,
20723
+ Tp as s,
20724
+ wp as t,
20725
+ Dp as u,
20726
+ Gf as v,
20677
20727
  Ir as w,
20678
20728
  La as x,
20679
20729
  Da as y,