@arcgis/charts-components 5.0.0-next.16 → 5.0.0-next.18

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 (292) hide show
  1. package/dist/cdn/{DFZU2FZW.js → 22QFY2OP.js} +2 -2
  2. package/dist/cdn/{BWNGWUCO.js → 2E53TFSD.js} +2 -2
  3. package/dist/cdn/{VJFW6DDZ.js → 2K2SKPJR.js} +2 -2
  4. package/dist/cdn/{IA2LLJIN.js → 2QTOW6PM.js} +2 -2
  5. package/dist/cdn/{7OEJFYKW.js → 2Z747DML.js} +2 -2
  6. package/dist/cdn/{75LVK7OF.js → 3ERIULTS.js} +2 -2
  7. package/dist/cdn/{SY6KMVCE.js → 3IHDG55R.js} +2 -2
  8. package/dist/cdn/{L4YYKDNC.js → 3YSYJKKQ.js} +2 -2
  9. package/dist/cdn/{N243ZCBV.js → 46OISS6R.js} +2 -2
  10. package/dist/cdn/{FIEVTCPG.js → 4AFLYKIX.js} +2 -2
  11. package/dist/cdn/{U7DZ66PS.js → 4HX6ZIXO.js} +2 -2
  12. package/dist/cdn/{APYRERQ3.js → 4KTLVL3G.js} +2 -2
  13. package/dist/cdn/{BVHAT7QZ.js → 4OEHNZZL.js} +2 -2
  14. package/dist/cdn/{M4X7JNMW.js → 4QH56IJD.js} +2 -2
  15. package/dist/cdn/{2DV3UFT7.js → 4RG2DZXM.js} +2 -2
  16. package/dist/cdn/{7ZR45N5A.js → 4UDDDJOH.js} +2 -2
  17. package/dist/cdn/{ODB5RFZC.js → 4YSV5STZ.js} +2 -2
  18. package/dist/cdn/{WR4LR34G.js → 4ZWYBMFH.js} +2 -2
  19. package/dist/cdn/{M24FQ5RC.js → 52V2ZSEG.js} +2 -2
  20. package/dist/cdn/{A7GKOXAW.js → 54PVBBEW.js} +2 -2
  21. package/dist/cdn/{7CDIDY6C.js → 5MEAXSB2.js} +2 -2
  22. package/dist/cdn/{BKH6RT5Y.js → 5PB5DG3U.js} +2 -2
  23. package/dist/cdn/{4N6SGOLD.js → 5QKH2ZAK.js} +2 -2
  24. package/dist/cdn/{W7ZWNCGA.js → 6J7YJRLN.js} +2 -2
  25. package/dist/cdn/{M5RO4CYC.js → 6M2T7TU6.js} +2 -2
  26. package/dist/cdn/{QO376ROG.js → 6N57NUOC.js} +1 -1
  27. package/dist/cdn/{NJFRPLWJ.js → 6WLAVTZZ.js} +2 -2
  28. package/dist/cdn/{DV5UADNC.js → 6XGB72HX.js} +2 -2
  29. package/dist/cdn/{LLSL4NWD.js → 6ZTW7NH4.js} +2 -2
  30. package/dist/cdn/{RKDS6OKT.js → 746EAYAR.js} +2 -2
  31. package/dist/cdn/{J55JQLTY.js → 7FSLVRMS.js} +2 -2
  32. package/dist/cdn/{V2WFA2N3.js → 7TTYPZO4.js} +2 -2
  33. package/dist/cdn/{VPLZQKC7.js → 7WA4GFL5.js} +2 -2
  34. package/dist/cdn/{4QCYLPL2.js → A7ACNS3U.js} +2 -2
  35. package/dist/cdn/{OY3LZYOM.js → ADDMEU7B.js} +2 -2
  36. package/dist/cdn/{FKUN6KST.js → AOKMBYZW.js} +2 -2
  37. package/dist/cdn/{TRHJO3JP.js → AOYURETY.js} +1 -1
  38. package/dist/cdn/{LSF5ORPK.js → ARMUTPM5.js} +2 -2
  39. package/dist/cdn/{M7FGDPVL.js → ARNZIBAN.js} +2 -2
  40. package/dist/cdn/{D2RUA7KZ.js → AZP72ZND.js} +2 -2
  41. package/dist/cdn/{JP7L36ND.js → BCG2JPIR.js} +2 -2
  42. package/dist/cdn/{RXZGPYSP.js → BKJ6HLVZ.js} +2 -2
  43. package/dist/cdn/{N3I3TUSS.js → BL7TPDNS.js} +1 -1
  44. package/dist/cdn/{KKUQV5KS.js → BODSRS7G.js} +2 -2
  45. package/dist/cdn/{GVHKWSR4.js → BPCO6MC5.js} +2 -2
  46. package/dist/cdn/{7AOR4SZW.js → BYHCIBIQ.js} +2 -2
  47. package/dist/cdn/{5IS6PFEA.js → CTPBM4FY.js} +1 -1
  48. package/dist/cdn/{GBP7NAM2.js → D3LGMADV.js} +2 -2
  49. package/dist/cdn/{3UQJWW2I.js → D6R6CNMD.js} +2 -2
  50. package/dist/cdn/{MNE54XSO.js → DAKHHXL4.js} +2 -2
  51. package/dist/cdn/{F74YEVEL.js → DNITE3EC.js} +2 -2
  52. package/dist/cdn/{QCO36U5Z.js → DTZK6X2W.js} +2 -2
  53. package/dist/cdn/{SVHEWJGL.js → DYJN62CT.js} +2 -2
  54. package/dist/cdn/{VAJBCCSR.js → E2AAWFIH.js} +2 -2
  55. package/dist/cdn/{6BE4Q5BI.js → E2W2PXZO.js} +2 -2
  56. package/dist/cdn/{VLWWXCDZ.js → E4LDSGOV.js} +1 -1
  57. package/dist/cdn/{KRXGU4TQ.js → E5D76PFP.js} +1 -1
  58. package/dist/cdn/{HLMACFPF.js → ENP6KIFM.js} +2 -2
  59. package/dist/cdn/{7LILYVRO.js → EWANSGYI.js} +2 -2
  60. package/dist/cdn/{RUSMNHSN.js → EXTQOJSB.js} +2 -2
  61. package/dist/cdn/{27SDYPGE.js → EZS67B6A.js} +2 -2
  62. package/dist/cdn/{AORW43VC.js → F6C6DIYS.js} +1 -1
  63. package/dist/cdn/{I3COHLTY.js → F7HV6QYL.js} +2 -2
  64. package/dist/cdn/{4NJYEFRK.js → F7P3TG2Z.js} +2 -2
  65. package/dist/cdn/{LA3QI7TJ.js → FA5I6XQZ.js} +2 -2
  66. package/dist/cdn/{I6HKARB3.js → FBCGIYWB.js} +2 -2
  67. package/dist/cdn/{PAAAJHCP.js → FEPJD7HA.js} +2 -2
  68. package/dist/cdn/{6DXWMCMD.js → FEYW4MHN.js} +2 -2
  69. package/dist/cdn/{SZ4I2OAI.js → FGLPTDBH.js} +2 -2
  70. package/dist/cdn/{EF7HHTE6.js → FNNMSNIO.js} +2 -2
  71. package/dist/cdn/{VTFRRECZ.js → FTSDPOUI.js} +2 -2
  72. package/dist/cdn/{44SX76W2.js → FUYEQMNM.js} +2 -2
  73. package/dist/cdn/{UAE7BA5W.js → G7R2XS3A.js} +1 -1
  74. package/dist/cdn/{OW3FJCI2.js → G7RKVVIA.js} +2 -2
  75. package/dist/cdn/{VO243ECZ.js → GEWRZEUN.js} +2 -2
  76. package/dist/cdn/{6IDVNPSO.js → GPMG4DHZ.js} +2 -2
  77. package/dist/cdn/{HVBAGLPC.js → GTORZ245.js} +2 -2
  78. package/dist/cdn/{IL6EMBQG.js → GVFGXHIG.js} +2 -2
  79. package/dist/cdn/{YEBMZVLE.js → HHMNLRMX.js} +2 -2
  80. package/dist/cdn/{ESZCXS2Y.js → HKDBBDDD.js} +2 -2
  81. package/dist/cdn/{IIOLKA23.js → HPEJ2GHV.js} +2 -2
  82. package/dist/cdn/{OF34HNGI.js → HQ6XAXRP.js} +2 -2
  83. package/dist/cdn/{5XLXJLIL.js → HUJQQ2XI.js} +2 -2
  84. package/dist/cdn/{CZVNVB6G.js → HXAUJMJZ.js} +2 -2
  85. package/dist/cdn/{BIB2VYE7.js → ID7YIU75.js} +2 -2
  86. package/dist/cdn/{RD6JGNZD.js → ISSGT6EK.js} +2 -2
  87. package/dist/cdn/{3WSKH4GJ.js → IZHDBC5E.js} +2 -2
  88. package/dist/cdn/{DYQTLKLN.js → J5CRBPFD.js} +2 -2
  89. package/dist/cdn/{JRMS34DF.js → JA5VME2V.js} +2 -2
  90. package/dist/cdn/{DCTIMCGK.js → JHN5GQ37.js} +2 -2
  91. package/dist/cdn/{J2USM26F.js → JJHFZT74.js} +2 -2
  92. package/dist/cdn/{I3ARLWYW.js → JNYSMYAP.js} +2 -2
  93. package/dist/cdn/{3Q6XIK2Q.js → JPKBM2AX.js} +2 -2
  94. package/dist/cdn/{S6YUJPAX.js → JR3NRDBT.js} +2 -2
  95. package/dist/cdn/{UJ3QD4FB.js → JYQIP4PV.js} +2 -2
  96. package/dist/cdn/{VCOR2UW7.js → JYULBCZ3.js} +2 -2
  97. package/dist/cdn/{IGLDIXJ3.js → KFSVQYOZ.js} +2 -2
  98. package/dist/cdn/{PSIDRXUC.js → KJNUSISJ.js} +2 -2
  99. package/dist/cdn/{CQYNEZMR.js → KQV2QAVI.js} +2 -2
  100. package/dist/cdn/{DEXYPO2C.js → LBV64ITJ.js} +2 -2
  101. package/dist/cdn/{RHXTS467.js → LG2PUCFT.js} +2 -2
  102. package/dist/cdn/{CXYEAQQC.js → LIXKOSQQ.js} +2 -2
  103. package/dist/cdn/{IRCR6UVZ.js → LK6TVRS4.js} +2 -2
  104. package/dist/cdn/{EFAYM3B4.js → M22H2352.js} +2 -2
  105. package/dist/cdn/{B4TQ5CQJ.js → MEG5OIHZ.js} +2 -2
  106. package/dist/cdn/{RVJMAVVT.js → MMJS4BJJ.js} +2 -2
  107. package/dist/cdn/{Q44IROOV.js → MSSHONZC.js} +2 -2
  108. package/dist/cdn/{V6G3HNJU.js → NADOC2UD.js} +2 -2
  109. package/dist/cdn/{UWH4JTOQ.js → NICQCHSG.js} +2 -2
  110. package/dist/cdn/{5EQ6WMYE.js → NMVVRRWP.js} +2 -2
  111. package/dist/cdn/{YPYW3PTC.js → NRCKAQZT.js} +2 -2
  112. package/dist/cdn/{PC5PQBAX.js → NZGH2SRO.js} +2 -2
  113. package/dist/cdn/{YETBF5YV.js → O37OPX4P.js} +2 -2
  114. package/dist/cdn/{UWICAXZY.js → O6HAQOKN.js} +2 -2
  115. package/dist/cdn/{XKIWE3BA.js → OULBOBVO.js} +2 -2
  116. package/dist/cdn/{XPYQX2JF.js → OZPB42PE.js} +16 -16
  117. package/dist/cdn/{PG3YXBWK.js → P2O4S3X7.js} +2 -2
  118. package/dist/cdn/{QQSMWADC.js → PD2TKZEQ.js} +2 -2
  119. package/dist/cdn/{RRUDD4HB.js → PISHBH3A.js} +2 -2
  120. package/dist/cdn/{IC5RARM3.js → PLFYF3CM.js} +2 -2
  121. package/dist/cdn/{GYXB5N5B.js → PNU3FYTB.js} +2 -2
  122. package/dist/cdn/{SMTD66NK.js → PS7AB357.js} +2 -2
  123. package/dist/cdn/{OZL3G2IW.js → QBN2MAHB.js} +2 -2
  124. package/dist/cdn/{WOZ43JRA.js → QNSZAEES.js} +2 -2
  125. package/dist/cdn/{7YNJWFQE.js → QW37APUM.js} +2 -2
  126. package/dist/cdn/{6XTG73WW.js → QZC7BRQZ.js} +2 -2
  127. package/dist/cdn/{CL3TK7I2.js → RDTVOZEE.js} +2 -2
  128. package/dist/cdn/{Q7YR26WW.js → RNH3BJTW.js} +2 -2
  129. package/dist/cdn/{7SIVCLZL.js → RQV6A5D2.js} +2 -2
  130. package/dist/cdn/{KNESTAME.js → RVGR2ABL.js} +2 -2
  131. package/dist/cdn/{SN3WAXIF.js → RWXNBIA5.js} +2 -2
  132. package/dist/cdn/{BV64FAHV.js → S4D3OSMN.js} +2 -2
  133. package/dist/cdn/{WDSLQZ5V.js → S7RQ6O2O.js} +2 -2
  134. package/dist/cdn/{WXFPTKK4.js → SFC2B37J.js} +2 -2
  135. package/dist/cdn/{MGPN3CS2.js → SJYGW3IF.js} +1 -1
  136. package/dist/cdn/{7R5PVQXW.js → SNBUMTAF.js} +2 -2
  137. package/dist/cdn/{HYJOHKO5.js → SP77QXYF.js} +2 -2
  138. package/dist/cdn/{5C47DLB7.js → SQKN3R3P.js} +2 -2
  139. package/dist/cdn/{OPY65BMJ.js → TFF5PELN.js} +2 -2
  140. package/dist/cdn/{Z347YXVP.js → TJTFNPLQ.js} +2 -2
  141. package/dist/cdn/{GJZQEF6U.js → TMVN5XU6.js} +2 -2
  142. package/dist/cdn/{5X3QBIN4.js → TP5I4XHC.js} +2 -2
  143. package/dist/cdn/{7EXQ4LPL.js → U3NSL2XS.js} +2 -2
  144. package/dist/cdn/{S4BOXREJ.js → U67GPDRF.js} +2 -2
  145. package/dist/cdn/{4ECUIC6S.js → U6JUP4VS.js} +2 -2
  146. package/dist/cdn/{S43APDMH.js → U6Y4DZOO.js} +2 -2
  147. package/dist/cdn/{WJWATVZS.js → UDANB354.js} +2 -2
  148. package/dist/cdn/{SAPMX5SQ.js → UFRFGOC6.js} +2 -2
  149. package/dist/cdn/{6XJRABAZ.js → UHEOJUOI.js} +2 -2
  150. package/dist/cdn/{2OKLA4JI.js → UUQ5BECZ.js} +2 -2
  151. package/dist/cdn/{AJPGZERW.js → V6VPRDIP.js} +2 -2
  152. package/dist/cdn/{TO3UZIFY.js → VC722ZOU.js} +2 -2
  153. package/dist/cdn/{EWCW3DFE.js → VHDUBXUS.js} +2 -2
  154. package/dist/cdn/{I5CUF7PR.js → VOFAP6VN.js} +2 -2
  155. package/dist/cdn/{PCDCS4HH.js → VPIMGRUE.js} +2 -2
  156. package/dist/cdn/{3H73WR3H.js → VTDIY2UV.js} +2 -2
  157. package/dist/cdn/{ZUJGGR4W.js → VUAGWXEA.js} +2 -2
  158. package/dist/cdn/{PTDQMECC.js → WHKQKE5Y.js} +2 -2
  159. package/dist/cdn/{QH76HY3O.js → WUZDDPKF.js} +2 -2
  160. package/dist/cdn/{XLJCRBM6.js → X24CBWOH.js} +2 -2
  161. package/dist/cdn/{OBNZPE6M.js → X2H2PVPD.js} +2 -2
  162. package/dist/cdn/{JKDJKOMN.js → X52W77YQ.js} +2 -2
  163. package/dist/cdn/{3MTIIKHE.js → X6OP2ZZA.js} +2 -2
  164. package/dist/cdn/X7C6ZWRD.js +4 -0
  165. package/dist/cdn/{BWIXRL6M.js → XATHF2YE.js} +1 -1
  166. package/dist/cdn/{R4ROQ7GO.js → XC6USXH5.js} +2 -2
  167. package/dist/cdn/{ZFOZ4DLB.js → XEB67PHO.js} +2 -2
  168. package/dist/cdn/{D32C4AAG.js → XKNHZDIV.js} +2 -2
  169. package/dist/cdn/{KBC4BEKH.js → XWFX6LQO.js} +2 -2
  170. package/dist/cdn/{RHRFASL3.js → Y4VFSGYK.js} +2 -2
  171. package/dist/cdn/{TUK4EWGJ.js → Y6CVR2ZW.js} +2 -2
  172. package/dist/cdn/{FS3ZTAWI.js → Y6KMF4NZ.js} +2 -2
  173. package/dist/cdn/{BBOG2LS4.js → YRRJULUF.js} +2 -2
  174. package/dist/cdn/{KYBV2YC7.js → YTMJT7P2.js} +2 -2
  175. package/dist/cdn/{C63LB7WP.js → YXVLPAA3.js} +2 -2
  176. package/dist/cdn/{CORV6HNZ.js → YZOWPGPO.js} +2 -2
  177. package/dist/cdn/{QO444EZ6.js → Z3QEXKS6.js} +2 -2
  178. package/dist/cdn/{YBZTC7D6.js → ZFFF34Q3.js} +2 -2
  179. package/dist/cdn/{J3QK4IL2.js → ZHMNSBAB.js} +2 -2
  180. package/dist/cdn/{XXGITJIE.js → ZOLKDNEJ.js} +2 -2
  181. package/dist/cdn/{UUFMSUJR.js → ZR53MUBY.js} +2 -2
  182. package/dist/cdn/{NXAMNUZ7.js → ZU7RYVEB.js} +2 -2
  183. package/dist/cdn/index.js +2 -2
  184. package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
  185. package/dist/chunks/action-bar-utils.js +1 -1
  186. package/dist/chunks/axis-model-wrapper.js +1 -1
  187. package/dist/chunks/bar-chart-model.js +1 -1
  188. package/dist/chunks/bar-chart-series.js +1 -1
  189. package/dist/chunks/baseline-stacking.js +1 -1
  190. package/dist/chunks/bg_BG.js +1 -1
  191. package/dist/chunks/bg_BG2.js +1 -1
  192. package/dist/chunks/box-plot-data.js +1 -1
  193. package/dist/chunks/box-plot-model.js +1 -1
  194. package/dist/chunks/chart-ui-utils.js +1 -1
  195. package/dist/chunks/chart-ui-utils2.js +1 -1
  196. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  197. package/dist/chunks/common.js +1 -1
  198. package/dist/chunks/config-update.js +403 -401
  199. package/dist/chunks/data.js +1 -1
  200. package/dist/chunks/default.js +1 -1
  201. package/dist/chunks/gauge-model.js +1 -1
  202. package/dist/chunks/heat-chart-model.js +1 -1
  203. package/dist/chunks/histogram-data.js +1 -1
  204. package/dist/chunks/histogram-model.js +1 -1
  205. package/dist/chunks/index.js +1 -1
  206. package/dist/chunks/index2.js +1 -1
  207. package/dist/chunks/index3.js +1 -1
  208. package/dist/chunks/index4.js +1 -1
  209. package/dist/chunks/index5.js +1 -1
  210. package/dist/chunks/interfaces.js +1 -1
  211. package/dist/chunks/interfaces2.js +1 -1
  212. package/dist/chunks/interfaces3.js +1 -1
  213. package/dist/chunks/interfaces4.js +1 -1
  214. package/dist/chunks/line-chart-model.js +1 -1
  215. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  216. package/dist/chunks/model-with-data-labels.js +1 -1
  217. package/dist/chunks/model-with-multi-axes.js +1 -1
  218. package/dist/chunks/model-with-rotation.js +1 -1
  219. package/dist/chunks/pie-chart-data.js +1 -1
  220. package/dist/chunks/pie-chart-model.js +1 -1
  221. package/dist/chunks/popover-ui-utils.js +1 -1
  222. package/dist/chunks/radar-chart-model.js +1 -1
  223. package/dist/chunks/resource.js +1 -1
  224. package/dist/chunks/rest-js-object-literals.js +1 -1
  225. package/dist/chunks/runtime.js +1 -1
  226. package/dist/chunks/scatterplot-model.js +1 -1
  227. package/dist/chunks/serial-chart-model.js +1 -1
  228. package/dist/chunks/series-types.js +1 -1
  229. package/dist/chunks/series.js +1 -1
  230. package/dist/chunks/sk_SK.js +1 -1
  231. package/dist/chunks/store.js +1 -1
  232. package/dist/chunks/type-guards.js +1 -1
  233. package/dist/chunks/useT9n.js +1 -1
  234. package/dist/chunks/web-component-utils.js +1 -1
  235. package/dist/components/arcgis-chart/customElement.js +1070 -1061
  236. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  238. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  280. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  283. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  284. package/dist/docs/api.json +2 -2
  285. package/dist/docs/docs.json +2 -2
  286. package/dist/docs/web-types.json +1 -1
  287. package/dist/index.js +1 -1
  288. package/dist/loader.js +1 -1
  289. package/dist/model.js +1 -1
  290. package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -8
  291. package/package.json +3 -3
  292. package/dist/cdn/BH6ZVVUX.js +0 -4
@@ -1,8 +1,8 @@
1
- import { W as S, d as Ii, u as W, m as re, b as _, g as me, t as be, e as ke, a as P, n as G, i as j, S as zt, o as $i } from "./series-types.js";
1
+ import { W as S, d as Ii, u as W, m as ne, b as _, g as fe, t as be, e as ke, a as P, n as G, i as j, S as zt, o as $i } from "./series-types.js";
2
2
  import "@arcgis/toolkit/intl";
3
3
  import { cloneDeep as Ce, isArray as vt, isEmpty as Ri, isEqual as Le, sortBy as Ot } from "lodash-es";
4
4
  import { extent as ki, mean as ji, max as Wi, min as Qi, sum as Hi, rollup as zi } from "d3-array";
5
- import { b6 as pt, cA as h, p as E, c9 as Gt, c5 as z, a6 as Ut, s as Gi, E as _t, d as ne, a as he, U as Y, cm as lt, b4 as $e, I as se, r as oe, q as Ne, bd as We, aV as Re, a2 as nt, T as xe, cg as ht, ck as ee, l as ge, cr as Ui, ca as qt, cc as Yt, P as V, k as K, G as U, a4 as k, cv as Kt, D as $, bV as _i, J as Nt, bA as ye, bI as Q, F as Yi, i as we, A as je, cd as Et, aW as Ue, m as Tt, ba as Te, c1 as Qe, a3 as Jt, cD as Ki, B as Xt, cf as Se, bz as _e, bM as Ji, b$ as Xi, b7 as Vt, S as Zi, bk as Zt, bx as ea, bl as ta, bZ as ia, b_ as ei, bt as aa, cl as mt, c3 as na, b8 as ra, bu as sa, V as oa, n as Fe, bO as ti, bB as la, bo as ii, bC as ca, bD as ua, cC as ae, R as da, Q as It, bE as ai, bW as fa, bw as ma, bi as ni, bv as ga, by as ya, bg as pa, bj as ha, Y as ri } from "./interfaces.js";
5
+ import { b6 as pt, cA as h, p as V, c9 as Gt, c5 as z, a6 as Ut, s as Gi, E as _t, d as ae, a as pe, U as Y, cm as lt, b4 as $e, I as re, r as se, q as Ne, bd as We, aV as Re, a2 as nt, T as xe, cg as ht, ck as Z, l as me, cr as Ui, ca as qt, cc as Yt, P as I, k as K, G as U, a4 as k, cv as Kt, D as R, bV as _i, J as Nt, bA as ge, bI as Q, F as Yi, i as we, A as je, cd as Et, aW as Ue, m as Tt, ba as Te, c1 as Qe, a3 as Jt, cD as Ki, B as Xt, cf as he, bz as _e, bM as Ji, b$ as Xi, b7 as Vt, S as Zi, bk as Zt, bx as ea, bl as ta, bZ as ia, b_ as ei, bt as aa, cl as mt, c3 as na, b8 as ra, bu as sa, V as oa, n as Se, bO as ti, bB as la, bo as ii, bC as ca, bD as ua, cC as ie, R as da, Q as It, bE as ai, bW as fa, bw as ma, bi as ni, bv as ga, by as ya, bg as pa, bj as ha, Y as ri } from "./interfaces.js";
6
6
  import "@arcgis/core/geometry/support/jsonUtils.js";
7
7
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
8
8
  import "@arcgis/core/rest/support/Query.js";
@@ -12,13 +12,13 @@ import "@arcgis/core/core/promiseUtils.js";
12
12
  import Sa from "@arcgis/core/request.js";
13
13
  import "./runtime.js";
14
14
  import "@arcgis/toolkit/dom";
15
- import { b as Fa, R as rt, a as Ye, j as ie } from "./rest-js-object-literals.js";
15
+ import { b as Fa, R as rt, a as Ye, j as te } from "./rest-js-object-literals.js";
16
16
  import { C as b } from "./interfaces4.js";
17
17
  import * as ba from "@arcgis/core/renderers/support/jsonUtils.js";
18
18
  import * as gt from "@arcgis/core/symbols/support/symbolUtils.js";
19
19
  import xa from "@arcgis/core/Graphic.js";
20
20
  import { u as yt } from "./index2.js";
21
- import { substitute as de } from "@arcgis/core/intl.js";
21
+ import { substitute as ue } from "@arcgis/core/intl.js";
22
22
  import { d as Ca } from "./index3.js";
23
23
  import $t from "@arcgis/core/layers/support/FeatureFilter.js";
24
24
  import Ba from "@arcgis/core/smartMapping/statistics/histogram.js";
@@ -27,12 +27,12 @@ import { linearRegression as va, linearRegressionLine as Na, rSquared as Ta } fr
27
27
  import { h as Aa } from "./index4.js";
28
28
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
29
29
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
30
- v5.0.0-next.16 */
30
+ v5.0.0-next.18 */
31
31
  async function Pa(i, e) {
32
32
  const t = e.errors[i];
33
33
  throw new pt(e.modalHeaders.error, t ?? e.errors.simpleError);
34
34
  }
35
- function pe(i) {
35
+ function ye(i) {
36
36
  return i.axes?.[0]?.valueFormat?.type;
37
37
  }
38
38
  function no(i) {
@@ -44,7 +44,7 @@ function J(i) {
44
44
  function ro(i) {
45
45
  return J(i) && i.intlOptions?.style === "percent";
46
46
  }
47
- function fe(i) {
47
+ function de(i) {
48
48
  return i?.type === S.CategoryAxisFormat;
49
49
  }
50
50
  function Pe(i) {
@@ -64,13 +64,13 @@ function Ma(i) {
64
64
  return J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
65
65
  }
66
66
  function wa(i) {
67
- return (fe(i?.[0]?.valueFormat) || Pe(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
67
+ return (de(i?.[0]?.valueFormat) || Pe(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
68
68
  }
69
69
  function Da(i) {
70
- return fe(i?.[0]?.valueFormat) && fe(i?.[1]?.valueFormat) || Pe(i?.[0]?.valueFormat) && fe(i?.[1]?.valueFormat) || Pe(i?.[0]?.valueFormat) && Pe(i?.[1]?.valueFormat);
70
+ return de(i?.[0]?.valueFormat) && de(i?.[1]?.valueFormat) || Pe(i?.[0]?.valueFormat) && de(i?.[1]?.valueFormat) || Pe(i?.[0]?.valueFormat) && Pe(i?.[1]?.valueFormat);
71
71
  }
72
72
  function Oa(i) {
73
- return (fe(i?.[0]?.valueFormat) || Pe(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat);
73
+ return (de(i?.[0]?.valueFormat) || Pe(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat);
74
74
  }
75
75
  function qa(i) {
76
76
  return J(i?.[0]?.valueFormat) && J(i?.[1]?.valueFormat);
@@ -114,7 +114,7 @@ async function oo(i) {
114
114
  }
115
115
  function Ia(i) {
116
116
  const { isXAxis: e, chartType: t, valueFormat: a, isAxisForHistogramOverlaySeries: n } = i;
117
- return e && (fe(a) || t === S.HistogramSeries && !n || t === S.BarSeries && J(a));
117
+ return e && (de(a) || t === S.HistogramSeries && !n || t === S.BarSeries && J(a));
118
118
  }
119
119
  function lo(i) {
120
120
  const { chartConfig: e, isSecondValueAxis: t, seriesIds: a } = i;
@@ -197,7 +197,10 @@ const si = {
197
197
  heatChartLabelPadding: {
198
198
  paddingTop: 2
199
199
  },
200
- heatChartFirstDayOfWeek: 7
200
+ heatChartFirstDayOfWeek: 7,
201
+ pieChartDataLabel: {
202
+ minWidth: 30
203
+ }
201
204
  };
202
205
  function $a(i, e) {
203
206
  return i[0].dataTransformationType !== e[0].dataTransformationType;
@@ -216,7 +219,7 @@ function St(i, e) {
216
219
  function uo(i) {
217
220
  const { chartConfig: e, queryObject: t, chartData: a } = i;
218
221
  let n = [];
219
- const r = E(e.series), s = Gt(e), o = z(t), c = e.chartRenderer ?? o?.renderer?.toJSON();
222
+ const r = V(e.series), s = Gt(e), o = z(t), c = e.chartRenderer ?? o?.renderer?.toJSON();
220
223
  return n = e.series.map((l, u) => {
221
224
  const d = W([l]);
222
225
  let f;
@@ -233,7 +236,7 @@ function Ft(i) {
233
236
  return i !== h.PieNoAggregation && i !== h.BarAndLineNoAggregation && i !== h.BarAndLineSplitByNoAggregation;
234
237
  }
235
238
  function ka(i) {
236
- const e = E(i.series);
239
+ const e = V(i.series);
237
240
  return e === h.BarAndLineFromFields || e === h.PieFromFields || e === h.BoxPlotMonoField || e === h.BoxPlotMultiFields || e === h.BoxPlotMonoFieldAndSplitBy || e === h.BoxPlotMultiFieldsAndSplitBy;
238
241
  }
239
242
  function He(i) {
@@ -272,7 +275,7 @@ function ze(i) {
272
275
  const { originalCategoryValue: l, originalDateValue: u, typeOrDomainIdValue: d } = b;
273
276
  if (t !== void 0) {
274
277
  const f = s ? Fs(t) : void 0;
275
- a !== void 0 && t[a] !== void 0 ? c = t[a] : f !== void 0 ? c = f : n === !1 && t[d] !== void 0 ? c = t[d] : t[u] !== void 0 ? c = t[u] : t[l] !== void 0 ? c = t[l] : t[ne] !== void 0 && (c = t[ne]), !r && c === null && (c = "null", o?.series?.[0].type === S.BarSeries && (c = o.series?.[0]?.nullCategory?.text ?? si.nullCategory?.text ?? c));
278
+ a !== void 0 && t[a] !== void 0 ? c = t[a] : f !== void 0 ? c = f : n === !1 && t[d] !== void 0 ? c = t[d] : t[u] !== void 0 ? c = t[u] : t[l] !== void 0 ? c = t[l] : t[ae] !== void 0 && (c = t[ae]), !r && c === null && (c = "null", o?.series?.[0].type === S.BarSeries && (c = o.series?.[0]?.nullCategory?.text ?? si.nullCategory?.text ?? c));
276
279
  }
277
280
  return c;
278
281
  }
@@ -291,7 +294,7 @@ function Ge(i) {
291
294
  isPieOrByFieldsChart: c
292
295
  } = i;
293
296
  if (e !== void 0 && e.length > 1) {
294
- const l = t === me.Descending && n !== !0;
297
+ const l = t === fe.Descending && n !== !0;
295
298
  e.sort((u, d) => {
296
299
  let f = 0, m = u[a];
297
300
  s === !0 && !c && (m = ze({
@@ -310,7 +313,7 @@ function Ge(i) {
310
313
  }
311
314
  function Ha(i) {
312
315
  const { arrayToSort: e, orderBy: t, sortingField: a, fieldList: n, isByFieldsChart: r, preferLabel: s } = i;
313
- e !== void 0 && e.length > 1 && !ee(a) && t !== void 0 && t.length > 0 && e.sort((o, c) => {
316
+ e !== void 0 && e.length > 1 && !Z(a) && t !== void 0 && t.length > 0 && e.sort((o, c) => {
314
317
  let l = o[a];
315
318
  s && r && typeof l == "string" && (l = ht(n, l));
316
319
  let u = t.indexOf(l?.toString() ?? "");
@@ -323,9 +326,9 @@ function Ha(i) {
323
326
  }
324
327
  function oi(i, e) {
325
328
  const t = i;
326
- if (e?.[0] !== void 0 && E(e) === h.PieFromFields) {
329
+ if (e?.[0] !== void 0 && V(e) === h.PieFromFields) {
327
330
  const { x: a, y: n } = e[0];
328
- (vt(i) ? t : t.dataItems).forEach((o) => (ne in o && a !== ne && (o[a] = o[a] !== void 0 ? o[a] : o[ne], delete o[ne]), he in o && n !== he && (o[n] = o[n] !== void 0 ? o[n] : o[he], delete o[he]), o));
331
+ (vt(i) ? t : t.dataItems).forEach((o) => (ae in o && a !== ae && (o[a] = o[a] !== void 0 ? o[a] : o[ae], delete o[ae]), pe in o && n !== pe && (o[n] = o[n] !== void 0 ? o[n] : o[pe], delete o[pe]), o));
329
332
  }
330
333
  return t;
331
334
  }
@@ -400,13 +403,13 @@ function Ga(i) {
400
403
  let e = !0;
401
404
  const t = W(i.series);
402
405
  if (t === S.BarSeries || t === S.LineSeries || t === S.ComboLineAndBarSeries) {
403
- const a = E(i.series);
406
+ const a = V(i.series);
404
407
  e = a !== h.BarAndLineNoAggregation && a !== h.BarAndLineSplitByNoAggregation;
405
408
  }
406
409
  return e;
407
410
  }
408
411
  function Ua(i) {
409
- return E(i.series) !== h.PieNoAggregation;
412
+ return V(i.series) !== h.PieNoAggregation;
410
413
  }
411
414
  function _a(i) {
412
415
  const { dataContext: e, chartConfig: t, chartLimits: a } = i;
@@ -461,7 +464,7 @@ function Ka(i, e) {
461
464
  return JSON.stringify(i.series[0]?.valueConversion) !== JSON.stringify(e.series[0]?.valueConversion);
462
465
  }
463
466
  function Ja(i, e) {
464
- return JSON.stringify(i.series[0]?.xTemporalBinning) !== JSON.stringify(e.series[0]?.xTemporalBinning) || JSON.stringify(i.series[0]?.yTemporalBinning) !== JSON.stringify(e.series[0]?.yTemporalBinning) || (i.firstDayOfWeek ?? 7) !== (e.firstDayOfWeek ?? 7) || i.outTimeZone !== e.outTimeZone || (i.nullPolicy ?? re.Null) !== (e.nullPolicy ?? re.Null);
467
+ return JSON.stringify(i.series[0]?.xTemporalBinning) !== JSON.stringify(e.series[0]?.xTemporalBinning) || JSON.stringify(i.series[0]?.yTemporalBinning) !== JSON.stringify(e.series[0]?.yTemporalBinning) || (i.firstDayOfWeek ?? 7) !== (e.firstDayOfWeek ?? 7) || i.outTimeZone !== e.outTimeZone || (i.nullPolicy ?? ne.Null) !== (e.nullPolicy ?? ne.Null);
465
468
  }
466
469
  function Xa(i) {
467
470
  const { oldConfig: e, newConfig: t, fieldList: a } = i, n = e.series[0], r = t.series[0];
@@ -506,9 +509,9 @@ function kt(i, e) {
506
509
  function Za(i) {
507
510
  const { oldSeries: e, newConfig: t, oldTimeIntervalInfo: a, setTimeBinningInfoWhenNotProvided: n } = i, r = t.series?.[0];
508
511
  let s = !1, o = !1, c = !1;
509
- if (oe(r) && Ne({
512
+ if (se(r) && Ne({
510
513
  seriesConfig: r,
511
- xAxisValueFormatType: pe(t),
514
+ xAxisValueFormatType: ye(t),
512
515
  setTimeBinningInfoWhenNotProvided: n
513
516
  })) {
514
517
  const l = e[0];
@@ -536,7 +539,7 @@ function tn(i, e) {
536
539
  else {
537
540
  const a = W(i);
538
541
  if (a !== S.HistogramSeries && a !== S.GaugeSeries) {
539
- const n = se(i).sort(), r = se(e).sort();
542
+ const n = re(i).sort(), r = re(e).sort();
540
543
  t = JSON.stringify(n) !== JSON.stringify(r);
541
544
  }
542
545
  }
@@ -551,23 +554,23 @@ function di(i) {
551
554
  return t?.filterBySelection === !0 && (a = e?.length !== t?.selectionData?.selectionOIDs?.length || !Le(e, t?.selectionData?.selectionOIDs)), a;
552
555
  }
553
556
  function nn(i, e) {
554
- return oe(i.series[0]) && oe(e.series[0]) && (i.series[0].binTemporalData ?? b.binTemporalData) !== (e.series[0].binTemporalData ?? b.binTemporalData);
557
+ return se(i.series[0]) && se(e.series[0]) && (i.series[0].binTemporalData ?? b.binTemporalData) !== (e.series[0].binTemporalData ?? b.binTemporalData);
555
558
  }
556
559
  function ho(i, e) {
557
560
  return i?.length !== e?.length || i?.some((t, a) => {
558
- const n = ge({ where: t?.query?.where }), r = ge({ where: e?.[a]?.query?.where });
561
+ const n = me({ where: t?.query?.where }), r = me({ where: e?.[a]?.query?.where });
559
562
  return n !== r;
560
563
  });
561
564
  }
562
565
  function So(i, e) {
563
- const t = se(i), a = se(e);
566
+ const t = re(i), a = re(e);
564
567
  return JSON.stringify(t) !== JSON.stringify(a);
565
568
  }
566
569
  function rn(i, e) {
567
570
  return He(i) !== He(e);
568
571
  }
569
572
  function sn(i, e) {
570
- const t = i.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, n = E(e.series), r = n === h.BarAndLineNoAggregation || n === h.BarAndLineSplitByNoAggregation, s = t === S.DateAxisFormat && a === S.NumberAxisFormat, o = t === S.NumberAxisFormat && a === S.DateAxisFormat;
573
+ const t = i.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, n = V(e.series), r = n === h.BarAndLineNoAggregation || n === h.BarAndLineSplitByNoAggregation, s = t === S.DateAxisFormat && a === S.NumberAxisFormat, o = t === S.NumberAxisFormat && a === S.DateAxisFormat;
571
574
  return t !== a && (r || s || o);
572
575
  }
573
576
  function Fo(i) {
@@ -657,7 +660,7 @@ function bo(i) {
657
660
  }
658
661
  function on(i, e) {
659
662
  let t = !0;
660
- if (i !== void 0 && i.length > 1 && !ee(e)) {
663
+ if (i !== void 0 && i.length > 1 && !Z(e)) {
661
664
  let a = 0, n = 0, r = 0;
662
665
  i.forEach((s) => {
663
666
  const o = s[e];
@@ -689,7 +692,7 @@ function fi(i, e) {
689
692
  maxLineThreePlusSeriesCountTotal: g,
690
693
  maxPieChartSliceCountTotal: y,
691
694
  maxGaugeByFeaturesLimit: p
692
- } = Re(e), C = W(i.series), F = i.series.length === 0 ? 1 : i.series.length, x = E(i.series);
695
+ } = Re(e), C = W(i.series), F = i.series.length === 0 ? 1 : i.series.length, x = V(i.series);
693
696
  switch (C) {
694
697
  case S.ComboLineAndBarSeries:
695
698
  case S.BarSeries:
@@ -752,7 +755,7 @@ function xo(i) {
752
755
  }
753
756
  return e;
754
757
  }
755
- const le = {
758
+ const oe = {
756
759
  DataProcessComplete: "arcgisChartsJSDataProcessComplete",
757
760
  DataFetchComplete: "arcgisChartsJSDataFetchComplete",
758
761
  LegendItemVisibilityChange: "arcgisChartsJSLegendItemVisibilityChange",
@@ -765,7 +768,7 @@ const le = {
765
768
  BadDataWarningRaise: "arcgisChartsJSBadDataWarningRaise",
766
769
  SeriesOrder: "arcgisChartsJSSeriesOrder"
767
770
  };
768
- function ce(i) {
771
+ function le(i) {
769
772
  return {
770
773
  detail: i,
771
774
  composed: !0,
@@ -778,7 +781,7 @@ function Co(i) {
778
781
  if (a && e) {
779
782
  const n = ci({ data: e, seriesConfig: t });
780
783
  a.dispatchEvent(
781
- new window.CustomEvent(le.DataProcessComplete, ce(n))
784
+ new window.CustomEvent(oe.DataProcessComplete, le(n))
782
785
  );
783
786
  }
784
787
  }
@@ -786,37 +789,37 @@ function Bo(i) {
786
789
  const { data: e, chartConfig: t, htmlContainer: a } = i;
787
790
  if (a && e) {
788
791
  const n = fs(e, t);
789
- a.dispatchEvent(new window.CustomEvent(le.DataFetchComplete, ce(n)));
792
+ a.dispatchEvent(new window.CustomEvent(oe.DataFetchComplete, le(n)));
790
793
  }
791
794
  }
792
795
  function vo(i, e) {
793
796
  e && e.dispatchEvent(
794
- new window.CustomEvent(le.LegendItemVisibilityChange, ce(i))
797
+ new window.CustomEvent(oe.LegendItemVisibilityChange, le(i))
795
798
  );
796
799
  }
797
800
  function No(i, e) {
798
- e && e.dispatchEvent(new window.CustomEvent(le.UpdateComplete, ce(i)));
801
+ e && e.dispatchEvent(new window.CustomEvent(oe.UpdateComplete, le(i)));
799
802
  }
800
803
  function To(i) {
801
- i && i.dispatchEvent(new window.CustomEvent(le.RenderingComplete, ce()));
804
+ i && i.dispatchEvent(new window.CustomEvent(oe.RenderingComplete, le()));
802
805
  }
803
806
  function Ao(i) {
804
807
  const { data: e, seriesConfig: t, htmlContainer: a } = i;
805
808
  if (a) {
806
809
  const n = e;
807
810
  let r = Ce(e.selectionItems);
808
- r && (r = li(r, t), r = r.map(bt), r = oi(r, t), n.selectionItems = r), a.dispatchEvent(new window.CustomEvent(le.SelectionComplete, ce(n)));
811
+ r && (r = li(r, t), r = r.map(bt), r = oi(r, t), n.selectionItems = r), a.dispatchEvent(new window.CustomEvent(oe.SelectionComplete, le(n)));
809
812
  }
810
813
  }
811
814
  function Po(i) {
812
- i && i.dispatchEvent(new window.CustomEvent(le.TooManySelectedElements, ce()));
815
+ i && i.dispatchEvent(new window.CustomEvent(oe.TooManySelectedElements, le()));
813
816
  }
814
817
  function Lo(i) {
815
818
  const { data: e, htmlContainer: t, chartId: a, colorMatchApplied: n } = i;
816
819
  t && t.dispatchEvent(
817
820
  new window.CustomEvent(
818
- le.SeriesColorsChange,
819
- ce({
821
+ oe.SeriesColorsChange,
822
+ le({
820
823
  chartId: a,
821
824
  data: e,
822
825
  colorMatchApplied: n
@@ -825,18 +828,18 @@ function Lo(i) {
825
828
  );
826
829
  }
827
830
  function Mo(i, e) {
828
- e && e.dispatchEvent(new window.CustomEvent(le.AxesMinMaxChange, ce(i)));
831
+ e && e.dispatchEvent(new window.CustomEvent(oe.AxesMinMaxChange, le(i)));
829
832
  }
830
833
  function wo(i, e) {
831
- e && e.dispatchEvent(new window.CustomEvent(le.BadDataWarningRaise, ce(i)));
834
+ e && e.dispatchEvent(new window.CustomEvent(oe.BadDataWarningRaise, le(i)));
832
835
  }
833
836
  function cn(i) {
834
837
  const { data: e, htmlContainer: t } = i;
835
- t && e && t.dispatchEvent(new window.CustomEvent(le.SeriesOrder, ce(e)));
838
+ t && e && t.dispatchEvent(new window.CustomEvent(oe.SeriesOrder, le(e)));
836
839
  }
837
840
  function Do(i, e) {
838
841
  let t, a, n, r;
839
- return oe(i.series[0]) && (t = i.series[0].temporalBinning?.unit, n = i.series[0].temporalBinning?.size), oe(e.series[0]) && (a = e.series[0].temporalBinning?.unit, r = e.series[0].temporalBinning?.size), St(t, n) && !St(a, r);
842
+ return se(i.series[0]) && (t = i.series[0].temporalBinning?.unit, n = i.series[0].temporalBinning?.size), se(e.series[0]) && (a = e.series[0].temporalBinning?.unit, r = e.series[0].temporalBinning?.size), St(t, n) && !St(a, r);
840
843
  }
841
844
  function Oo(i, e) {
842
845
  return i.axes?.length === 3 && e.axes?.length === 2 || i.axes?.length === 2 && e.axes?.length === 3;
@@ -875,22 +878,22 @@ function un(i, e) {
875
878
  return i.series.map((t) => t.name).join() !== e.series.map((t) => t.name).join();
876
879
  }
877
880
  function dn(i, e) {
878
- const t = i.orderOptions?.series, a = e.orderOptions?.series, n = (t?.orderBy ?? me.Ascending) !== (a?.orderBy ?? me.Ascending), r = (t?.preferLabel ?? !0) !== (a?.preferLabel ?? !0);
881
+ const t = i.orderOptions?.series, a = e.orderOptions?.series, n = (t?.orderBy ?? fe.Ascending) !== (a?.orderBy ?? fe.Ascending), r = (t?.preferLabel ?? !0) !== (a?.preferLabel ?? !0);
879
882
  return n || r;
880
883
  }
881
884
  function Qo(i, e) {
882
885
  return dn(i, e) || un(i, e);
883
886
  }
884
887
  function fn(i) {
885
- const e = E(i.series);
888
+ const e = V(i.series);
886
889
  let t;
887
890
  if (i.orderOptions?.data !== void 0) {
888
891
  let a = i.orderOptions?.data?.orderType ?? be.Category, n = i.orderOptions?.data?.orderBy;
889
892
  if (a === be.Category)
890
893
  a = i.series[0].x;
891
894
  else {
892
- a === be.Mean ? a = V.Average : a === be.Median && (a = V.Median);
893
- const r = e === h.BoxPlotMultiFieldsAndCategory && typeof i.series[0].y == "string" ? i.series[0].y : void 0, s = K(i.series[0].query?.where), o = ge({
895
+ a === be.Mean ? a = I.Average : a === be.Median && (a = I.Median);
896
+ const r = e === h.BoxPlotMultiFieldsAndCategory && typeof i.series[0].y == "string" ? i.series[0].y : void 0, s = K(i.series[0].query?.where), o = me({
894
897
  where: i.series[0].query?.where
895
898
  });
896
899
  a = U({
@@ -899,11 +902,11 @@ function fn(i) {
899
902
  chartSubType: e,
900
903
  splitBy: s,
901
904
  splitByValue: o
902
- }), Array.isArray(n) && (n = me.Ascending);
905
+ }), Array.isArray(n) && (n = fe.Ascending);
903
906
  }
904
907
  t = {
905
908
  sortingField: a,
906
- orderBy: n ?? me.Ascending,
909
+ orderBy: n ?? fe.Ascending,
907
910
  preferLabel: i.orderOptions.data.preferLabel ?? !0
908
911
  };
909
912
  }
@@ -913,18 +916,18 @@ function mn(i) {
913
916
  let e;
914
917
  if (!mi(i) && i.series?.length > 0 && i.orderOptions?.data?.orderType === be.Category) {
915
918
  let a;
916
- fe(i.axes?.[0]?.valueFormat) ? a = k.xField : fe(i.axes?.[1]?.valueFormat) && (a = k.yField), a && (e = {
919
+ de(i.axes?.[0]?.valueFormat) ? a = k.xField : de(i.axes?.[1]?.valueFormat) && (a = k.yField), a && (e = {
917
920
  sortingField: a,
918
- orderBy: i.orderOptions?.data?.orderBy ?? me.Ascending
921
+ orderBy: i.orderOptions?.data?.orderBy ?? fe.Ascending
919
922
  });
920
923
  }
921
924
  return e;
922
925
  }
923
926
  function gn(i) {
924
- const e = i.series[0], { x: t, y: a } = e, n = E(i.series) === h.PieFromFields, r = E(i.series) === h.BarAndLineFromFields;
927
+ const e = i.series[0], { x: t, y: a } = e, n = V(i.series) === h.PieFromFields, r = V(i.series) === h.BarAndLineFromFields;
925
928
  let s, o = "", c;
926
929
  if (i.orderOptions?.data !== void 0) {
927
- if (o = i.orderOptions?.data?.orderType ?? be.Category, c = i.orderOptions?.data?.orderBy, o === be.Category ? o = n ? ne : t : o = n ? he : [a].flat()[0], o !== void 0 && o !== "") {
930
+ if (o = i.orderOptions?.data?.orderType ?? be.Category, c = i.orderOptions?.data?.orderBy, o === be.Category ? o = n ? ae : t : o = n ? pe : [a].flat()[0], o !== void 0 && o !== "") {
928
931
  const l = Yt(i);
929
932
  if (W(i.series) !== S.PieSeries && o !== t && i.series?.length > 1)
930
933
  switch (l) {
@@ -940,7 +943,7 @@ function gn(i) {
940
943
  }
941
944
  s = {
942
945
  sortingField: o,
943
- orderBy: c ?? me.Ascending,
946
+ orderBy: c ?? fe.Ascending,
944
947
  preferLabel: i.orderOptions.data.preferLabel ?? !0
945
948
  };
946
949
  }
@@ -971,7 +974,7 @@ function xt(i) {
971
974
  return e;
972
975
  }
973
976
  function Ho(i) {
974
- const { oldConfig: e, newConfig: t, dataUpdateNeeded: a } = i, n = E(t.series);
977
+ const { oldConfig: e, newConfig: t, dataUpdateNeeded: a } = i, n = V(t.series);
975
978
  let r = !1, s = !1;
976
979
  if (n !== h.BoxPlotMonoField && n !== h.BoxPlotMonoFieldAndSplitBy && t.orderOptions?.data !== void 0) {
977
980
  const o = xt(e), c = xt(t);
@@ -998,14 +1001,14 @@ function Go(i, e) {
998
1001
  if (n !== void 0) {
999
1002
  let r;
1000
1003
  if (a === !1) {
1001
- const s = E(t.series);
1004
+ const s = V(t.series);
1002
1005
  r = Kt(s) ? "splitByValue" : "name";
1003
1006
  } else
1004
1007
  r = "name";
1005
1008
  t.series.sort((s, o) => {
1006
1009
  let c, l;
1007
- r === "splitByValue" ? (c = ge({ where: s.query?.where }) ?? "", l = ge({ where: o.query?.where }) ?? "") : (c = s.name, l = o.name);
1008
- const [u, d] = n.toUpperCase() === me.Descending ? [l, c] : [c, l];
1010
+ r === "splitByValue" ? (c = me({ where: s.query?.where }) ?? "", l = me({ where: o.query?.where }) ?? "") : (c = s.name, l = o.name);
1011
+ const [u, d] = n.toUpperCase() === fe.Descending ? [l, c] : [c, l];
1009
1012
  return typeof u == "string" && typeof d == "string" ? u.localeCompare(d) : Number(u) - Number(d);
1010
1013
  });
1011
1014
  }
@@ -1021,29 +1024,29 @@ function yn(i) {
1021
1024
  }
1022
1025
  function mi(i) {
1023
1026
  let e = !1;
1024
- return i && (e = i.series[0].type === S.HeatSeries && fe(i.axes?.[0]?.valueFormat) && fe(i.axes?.[1]?.valueFormat)), e;
1027
+ return i && (e = i.series[0].type === S.HeatSeries && de(i.axes?.[0]?.valueFormat) && de(i.axes?.[1]?.valueFormat)), e;
1025
1028
  }
1026
1029
  function ot(i) {
1027
1030
  const { dataInfo: e, chartType: t, subError: a } = i;
1028
1031
  switch (e.valid = !1, t) {
1029
1032
  case S.BarSeries:
1030
1033
  case S.ComboLineAndBarSeries:
1031
- e.invalidType = $.BarElementExceedsLimit;
1034
+ e.invalidType = R.BarElementExceedsLimit;
1032
1035
  break;
1033
1036
  case S.LineSeries:
1034
- e.invalidType = $.LineChartExceedsLimit;
1037
+ e.invalidType = R.LineChartExceedsLimit;
1035
1038
  break;
1036
1039
  case S.PieSeries:
1037
- e.invalidType = $.PieChartExceedsLimit;
1040
+ e.invalidType = R.PieChartExceedsLimit;
1038
1041
  break;
1039
1042
  case S.GaugeSeries:
1040
- e.invalidType = $.GaugeExceedsLimit;
1043
+ e.invalidType = R.GaugeExceedsLimit;
1041
1044
  break;
1042
1045
  case S.BoxPlotSeries:
1043
- a?.outlierLimit === !0 ? e.invalidType = $.BoxPlotOutliersExceedsLimit : e.invalidType = $.BoxPlotExceedsLimit;
1046
+ a?.outlierLimit === !0 ? e.invalidType = R.BoxPlotOutliersExceedsLimit : e.invalidType = R.BoxPlotExceedsLimit;
1044
1047
  break;
1045
1048
  case S.HeatSeries:
1046
- e.invalidType = $.HeatChartExceedsLimit;
1049
+ e.invalidType = R.HeatChartExceedsLimit;
1047
1050
  break;
1048
1051
  }
1049
1052
  }
@@ -1066,12 +1069,12 @@ async function Uo(i) {
1066
1069
  const f = new Intl.NumberFormat(o), m = Re(t), { maxCategoryCount: g } = m;
1067
1070
  let y = l.modalHeaders.invalidChart;
1068
1071
  switch (e) {
1069
- case $.BarElementExceedsLimit: {
1072
+ case R.BarElementExceedsLimit: {
1070
1073
  y = l.modalHeaders.tooManyFeatures;
1071
1074
  let C = Number.NaN, F = Number.NaN, x = "";
1072
1075
  n !== void 0 && (n <= m.maxBarChartSeriesCount ? n === 1 ? (x = l.errors.uniqueSeriesBarCountCannotExceedLimit, C = m.maxBarUniqueSeriesCountTotal) : n === 2 ? (x = l.errors.twoSeriesBarCountCannotExceedLimit, C = m.maxBarTwoSeriesCountTotal, F = m.maxBarTwoSeriesCountPerSeries) : n > 2 && (x = l.errors.threePlusSeriesBarCountCannotExceedLimit, C = m.maxBarThreePlusSeriesCountTotal, F = m.maxBarThreePlusSeriesCountPerSeries) : (x = l.errors.barSeriesCountCannotExceedLimit, F = m.maxBarChartSeriesCount));
1073
1076
  const B = f.format(C), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1074
- u = de(x, {
1077
+ u = ue(x, {
1075
1078
  totalLimit: B,
1076
1079
  seriesLimit: N,
1077
1080
  elementCount: v
@@ -1082,13 +1085,13 @@ async function Uo(i) {
1082
1085
  };
1083
1086
  break;
1084
1087
  }
1085
- case $.LineChartExceedsLimit:
1088
+ case R.LineChartExceedsLimit:
1086
1089
  {
1087
1090
  y = l.modalHeaders.tooManyFeatures;
1088
1091
  let C = Number.NaN, F = Number.NaN, x = "";
1089
1092
  n !== void 0 && (n <= m.maxLineChartSeriesCount ? n === 1 ? (x = c ? l.errors.uniqueTemporalSeriesLineCountCannotExceedLimit : l.errors.uniqueSeriesLineCountCannotExceedLimit, C = m.maxLineUniqueSeriesCountTotal) : n === 2 ? (x = c ? l.errors.twoTemporalSeriesLineCountCannotExceedLimit : l.errors.twoSeriesLineCountCannotExceedLimit, C = m.maxLineTwoSeriesCountTotal, F = m.maxLineTwoSeriesCountPerSeries) : n > 2 && (x = c ? l.errors.threePlusTemporalSeriesLineCountCannotExceedLimit : l.errors.threePlusSeriesLineCountCannotExceedLimit, C = m.maxLineThreePlusSeriesCountTotal, F = m.maxLineThreePlusSeriesCountPerSeries) : (x = l.errors.lineSeriesCountCannotExceedLimit, F = m.maxLineChartSeriesCount));
1090
1093
  const B = f.format(C), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1091
- u = de(x, {
1094
+ u = ue(x, {
1092
1095
  elementCount: v,
1093
1096
  seriesLimit: N,
1094
1097
  totalLimit: B
@@ -1099,13 +1102,13 @@ async function Uo(i) {
1099
1102
  };
1100
1103
  }
1101
1104
  break;
1102
- case $.BoxPlotExceedsLimit:
1105
+ case R.BoxPlotExceedsLimit:
1103
1106
  {
1104
1107
  y = l.modalHeaders.tooManyFeatures;
1105
1108
  let C = Number.NaN, F = Number.NaN, x = "";
1106
1109
  n !== void 0 && (n <= m.maxBoxPlotSeriesCount ? n === 1 ? (x = l.errors.uniqueSeriesBoxCountCannotExceedLimit, C = m.maxBoxUniqueSeriesCountTotal) : n === 2 ? (x = l.errors.twoSeriesBoxCountCannotExceedLimit, C = m.maxBoxTwoSeriesCountTotal, F = m.maxBoxTwoSeriesCountPerSeries) : n > 2 && (x = l.errors.threePlusBoxLineCountCannotExceedLimit, C = m.maxBoxThreePlusSeriesCountTotal, F = m.maxBoxThreePlusSeriesCountPerSeries) : (x = l.errors.boxSeriesCountCannotExceedLimit, F = m.maxBoxPlotSeriesCount));
1107
1110
  const B = f.format(C), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1108
- u = de(x, {
1111
+ u = ue(x, {
1109
1112
  elementCount: v,
1110
1113
  seriesLimit: N,
1111
1114
  totalLimit: B
@@ -1116,20 +1119,20 @@ async function Uo(i) {
1116
1119
  };
1117
1120
  }
1118
1121
  break;
1119
- case $.BoxPlotOutliersExceedsLimit:
1122
+ case R.BoxPlotOutliersExceedsLimit:
1120
1123
  {
1121
1124
  y = l.modalHeaders.tooManyFeatures;
1122
1125
  const C = l.errors.boxSeriesOutlierCannotExceedLimit, F = m.maxBoxPlotOutlierLimit, x = f.format(F);
1123
- u = de(C, {
1126
+ u = ue(C, {
1124
1127
  totalLimit: x
1125
1128
  }), d = { actualCount: a ?? Number.NaN, totalLimit: F };
1126
1129
  }
1127
1130
  break;
1128
- case $.HeatChartExceedsLimit:
1131
+ case R.HeatChartExceedsLimit:
1129
1132
  {
1130
1133
  y = l.modalHeaders.tooManyFeatures;
1131
1134
  const C = l.errors.heatChartCannotExceedLimit, F = m.maxHeatChartCellLimit, x = f.format(F), B = a !== void 0 ? f.format(a) : "";
1132
- u = de(C, {
1135
+ u = ue(C, {
1133
1136
  featureCount: B,
1134
1137
  totalLimit: x
1135
1138
  }), d = {
@@ -1138,11 +1141,11 @@ async function Uo(i) {
1138
1141
  };
1139
1142
  }
1140
1143
  break;
1141
- case $.PieChartExceedsLimit:
1144
+ case R.PieChartExceedsLimit:
1142
1145
  {
1143
1146
  y = l.modalHeaders.tooManyFeatures;
1144
1147
  const C = l.errors.pieChartSlicesCannotExceedLimit, F = m.maxPieChartSliceCountTotal, x = f.format(F), B = a !== void 0 ? f.format(a) : "";
1145
- u = de(C, {
1148
+ u = ue(C, {
1146
1149
  sliceCount: B,
1147
1150
  totalLimit: x
1148
1151
  }), d = {
@@ -1151,11 +1154,11 @@ async function Uo(i) {
1151
1154
  };
1152
1155
  }
1153
1156
  break;
1154
- case $.GaugeExceedsLimit:
1157
+ case R.GaugeExceedsLimit:
1155
1158
  {
1156
1159
  y = l.modalHeaders.tooManyFeatures;
1157
1160
  const C = l.errors.gaugeCannotExceedLimit, F = m.maxGaugeByFeaturesLimit, x = f.format(F), B = a !== void 0 ? f.format(a) : "";
1158
- u = de(C, {
1161
+ u = ue(C, {
1159
1162
  featureCount: B,
1160
1163
  totalLimit: x
1161
1164
  }), d = {
@@ -1164,38 +1167,38 @@ async function Uo(i) {
1164
1167
  };
1165
1168
  }
1166
1169
  break;
1167
- case $.PieChartMixOfNegativePositiveSlices:
1170
+ case R.PieChartMixOfNegativePositiveSlices:
1168
1171
  y = l.modalHeaders.cannotCombineNegativeAndPositiveSlices, u = l.errors.pieChartCannotHaveMixtureOfPositiveAndNegativeSlices;
1169
1172
  break;
1170
- case $.NegativeValueInSqrtCalculation:
1173
+ case R.NegativeValueInSqrtCalculation:
1171
1174
  y = l.modalHeaders.invalidData, u = l.errors.negativeValueInDataForSqrtTransformation;
1172
1175
  break;
1173
- case $.NegativeValueInLogCalculation:
1176
+ case R.NegativeValueInLogCalculation:
1174
1177
  y = l.modalHeaders.invalidData, u = l.errors.negativeValueInDataForLogTransformation;
1175
1178
  break;
1176
- case $.HistogramEmptyField:
1179
+ case R.HistogramEmptyField:
1177
1180
  u = l.errors.histogramEmptyField;
1178
1181
  break;
1179
- case $.EmptyDataSet:
1182
+ case R.EmptyDataSet:
1180
1183
  y = l.modalHeaders.noDataAvailable, s === !0 ? u = l.errors.noDataFBSMessage : _i(r) ? u = l.errors.noDataFBEMessage : u = l.errors.noDataMessage;
1181
1184
  break;
1182
- case $.NegativeValueInXAxisLogScale:
1185
+ case R.NegativeValueInXAxisLogScale:
1183
1186
  u = l.errors.logarithmicXAxisNotPossible;
1184
1187
  break;
1185
- case $.NegativeValueInYAxisLogScale:
1188
+ case R.NegativeValueInYAxisLogScale:
1186
1189
  u = l.errors.logarithmicYAxisNotPossible;
1187
1190
  break;
1188
- case $.BadData:
1191
+ case R.BadData:
1189
1192
  }
1190
- if (u === l.errors.defaultInvalidChart && (e === $.BarElementExceedsLimit || e === $.LineChartExceedsLimit || e === $.HeatChartExceedsLimit || e === $.PieChartExceedsLimit || e === $.GaugeExceedsLimit || e === $.BoxPlotExceedsLimit) && typeof a == "number" && typeof n == "number" && a / n > g) {
1193
+ if (u === l.errors.defaultInvalidChart && (e === R.BarElementExceedsLimit || e === R.LineChartExceedsLimit || e === R.HeatChartExceedsLimit || e === R.PieChartExceedsLimit || e === R.GaugeExceedsLimit || e === R.BoxPlotExceedsLimit) && typeof a == "number" && typeof n == "number" && a / n > g) {
1191
1194
  const C = a / n;
1192
- u = de(l.errors.categoryCountCannotExceedLimit, {
1195
+ u = ue(l.errors.categoryCountCannotExceedLimit, {
1193
1196
  categoryCount: f.format(C),
1194
1197
  maxCategoryCount: f.format(g)
1195
1198
  });
1196
1199
  }
1197
1200
  return {
1198
- keyword: e ?? $.BadData,
1201
+ keyword: e ?? R.BadData,
1199
1202
  header: y,
1200
1203
  message: u,
1201
1204
  params: d
@@ -1217,12 +1220,12 @@ function At(i) {
1217
1220
  };
1218
1221
  const l = U({
1219
1222
  ...c,
1220
- key: V.Average
1223
+ key: I.Average
1221
1224
  }), u = U({
1222
1225
  ...c,
1223
- key: V.StandardDeviation
1226
+ key: I.StandardDeviation
1224
1227
  }), d = r ?? Number(e[l]), f = s ?? Number(e[u]);
1225
- return Number.isFinite(d) && Number.isFinite(f) && Object.values(V).forEach((m) => {
1228
+ return Number.isFinite(d) && Number.isFinite(f) && Object.values(I).forEach((m) => {
1226
1229
  const g = U({
1227
1230
  key: m,
1228
1231
  y: a,
@@ -1239,7 +1242,7 @@ function At(i) {
1239
1242
  standardizeValues: !0
1240
1243
  };
1241
1244
  let C = U(c);
1242
- if (o[C] = Ct({ mean: d, stdDev: f, value: p }), m === V.Min || m === V.Max) {
1245
+ if (o[C] = Ct({ mean: d, stdDev: f, value: p }), m === I.Min || m === I.Max) {
1243
1246
  c = {
1244
1247
  ...c,
1245
1248
  key: m,
@@ -1341,11 +1344,11 @@ function xn(i) {
1341
1344
  }), Array.from(n.values());
1342
1345
  }
1343
1346
  function Cn(i, e) {
1344
- const { series: t } = i, a = t[0], { y: n } = a, r = E(i.series), s = {
1347
+ const { series: t } = i, a = t[0], { y: n } = a, r = V(i.series), s = {
1345
1348
  y: r === h.BoxPlotMultiFieldsAndCategory ? n : void 0,
1346
1349
  chartSubType: r
1347
1350
  }, o = i.series.map((c) => {
1348
- let l = ge({
1351
+ let l = me({
1349
1352
  where: c.query?.where,
1350
1353
  normalize: !1,
1351
1354
  escape: !0
@@ -1357,19 +1360,19 @@ function Cn(i, e) {
1357
1360
  s.splitByValue = l;
1358
1361
  const u = U({
1359
1362
  ...s,
1360
- key: V.Min,
1363
+ key: I.Min,
1361
1364
  showOutliers: !0
1362
1365
  }), d = U({
1363
1366
  ...s,
1364
- key: V.Min,
1367
+ key: I.Min,
1365
1368
  showOutliers: !1
1366
1369
  }), f = U({
1367
1370
  ...s,
1368
- key: V.Max,
1371
+ key: I.Max,
1369
1372
  showOutliers: !0
1370
1373
  }), m = U({
1371
1374
  ...s,
1372
- key: V.Max,
1375
+ key: I.Max,
1373
1376
  showOutliers: !1
1374
1377
  });
1375
1378
  c[f] === void 0 && c[m] !== void 0 && (c[f] = c[m]), c[u] === void 0 && c[d] !== void 0 && (c[u] = c[d]);
@@ -1378,7 +1381,7 @@ function Cn(i, e) {
1378
1381
  }
1379
1382
  function Bn(i, e) {
1380
1383
  let t, a;
1381
- const n = i[e[V.IQR]], r = i[e[V.FirstQuartile]], s = i[e[V.ThirdQuartile]];
1384
+ const n = i[e[I.IQR]], r = i[e[I.FirstQuartile]], s = i[e[I.ThirdQuartile]];
1382
1385
  return Number.isFinite(n) && Number.isFinite(r) && Number.isFinite(s) && (t = r - n * 1.5, a = s + n * 1.5), { outlierMinThreshold: t, outlierMaxThreshold: a };
1383
1386
  }
1384
1387
  function Wt(i) {
@@ -1424,14 +1427,14 @@ function vn(i) {
1424
1427
  switch (a) {
1425
1428
  case h.BoxPlotMultiFields: {
1426
1429
  const u = je(r), d = e[0];
1427
- c = Number(d[u[V.Average]]), l = Number(d[u[V.StandardDeviation]]);
1430
+ c = Number(d[u[I.Average]]), l = Number(d[u[I.StandardDeviation]]);
1428
1431
  break;
1429
1432
  }
1430
1433
  case h.BoxPlotMultiFieldsAndCategory: {
1431
1434
  const u = e.find((d) => d[n] === t[n]);
1432
1435
  if (u !== void 0) {
1433
1436
  const d = je(r);
1434
- c = Number(u[d[V.Average]]), l = Number(u[d[V.StandardDeviation]]);
1437
+ c = Number(u[d[I.Average]]), l = Number(u[d[I.StandardDeviation]]);
1435
1438
  }
1436
1439
  break;
1437
1440
  }
@@ -1439,7 +1442,7 @@ function vn(i) {
1439
1442
  const u = e.find((d) => d[o] === t[o]);
1440
1443
  if (u !== void 0) {
1441
1444
  const d = je(r);
1442
- c = Number(u[d[V.Average]]), l = Number(u[d[V.StandardDeviation]]);
1445
+ c = Number(u[d[I.Average]]), l = Number(u[d[I.StandardDeviation]]);
1443
1446
  }
1444
1447
  break;
1445
1448
  }
@@ -1447,7 +1450,7 @@ function vn(i) {
1447
1450
  return { mean: c, stdDev: l };
1448
1451
  }
1449
1452
  async function Nn(i) {
1450
- const { seriesConfig: e, data: t, uniqueQuery: a, queryObject: n, meanAndStdDevPerField: r, abortKey: s } = i, o = E(e), c = e[0], { x: l } = c, u = K(c.query?.where), d = z(n), f = se(e), m = [];
1453
+ const { seriesConfig: e, data: t, uniqueQuery: a, queryObject: n, meanAndStdDevPerField: r, abortKey: s } = i, o = V(e), c = e[0], { x: l } = c, u = K(c.query?.where), d = z(n), f = re(e), m = [];
1451
1454
  for (let p = 0; p < f.length; p += 1) {
1452
1455
  const C = f[p], { outliersFilterBatches: F } = gi({
1453
1456
  data: t,
@@ -1471,7 +1474,7 @@ async function Nn(i) {
1471
1474
  outFields: N
1472
1475
  };
1473
1476
  m.push(
1474
- ye({
1477
+ ge({
1475
1478
  queryObject: n,
1476
1479
  queryConfig: v,
1477
1480
  featureCount: 1,
@@ -1490,7 +1493,7 @@ async function Nn(i) {
1490
1493
  if (B[F] !== void 0) {
1491
1494
  l === b.boxPlot.boxPlotCategory && (B[b.boxPlot.boxPlotCategory] = F);
1492
1495
  let N = {
1493
- key: V.Outlier,
1496
+ key: I.Outlier,
1494
1497
  chartSubType: o
1495
1498
  };
1496
1499
  switch (o) {
@@ -1509,9 +1512,9 @@ async function Nn(i) {
1509
1512
  };
1510
1513
  break;
1511
1514
  }
1512
- const v = U(N), T = B[F];
1513
- B[v] = T;
1514
- const w = `${B[l]}-${B[u]}-${T}`, L = y.get(w);
1515
+ const v = U(N), A = B[F];
1516
+ B[v] = A;
1517
+ const w = `${B[l]}-${B[u]}-${A}`, L = y.get(w);
1515
1518
  if (B[Y.uniqueIdsName] = [
1516
1519
  ...L?.[Y.uniqueIdsName] ?? [],
1517
1520
  B[d.objectIdField]
@@ -1519,7 +1522,7 @@ async function Nn(i) {
1519
1522
  const D = U({
1520
1523
  ...N,
1521
1524
  standardizeValues: !0
1522
- }), { mean: R, stdDev: M } = vn({
1525
+ }), { mean: M, stdDev: O } = vn({
1523
1526
  data: t,
1524
1527
  outlierDataItem: B,
1525
1528
  chartSubType: o,
@@ -1528,10 +1531,10 @@ async function Nn(i) {
1528
1531
  splitByField: u,
1529
1532
  meanAndStdDevPerField: r
1530
1533
  });
1531
- R !== void 0 && M !== void 0 && (B[D] = Ct({
1532
- value: T,
1533
- mean: R,
1534
- stdDev: M
1534
+ M !== void 0 && O !== void 0 && (B[D] = Ct({
1535
+ value: A,
1536
+ mean: M,
1537
+ stdDev: O
1535
1538
  }));
1536
1539
  }
1537
1540
  delete B[F], B[b.boxPlot.boxPlotOutlierId] = !0, y.set(w, B);
@@ -1543,7 +1546,7 @@ async function Nn(i) {
1543
1546
  async function Tn(i) {
1544
1547
  const { data: e, queryObject: t, uniqueQuery: a, elementCount: n, chartConfig: r, chartLimits: s, abortKey: o } = i;
1545
1548
  let c = [];
1546
- const { series: l, showMean: u } = r, d = Nt({ showMean: u, seriesConfig: l }), f = E(l), m = we(r), { x: g } = m, y = K(m.query?.where), p = [];
1549
+ const { series: l, showMean: u } = r, d = Nt({ showMean: u, seriesConfig: l }), f = V(l), m = we(r), { x: g } = m, y = K(m.query?.where), p = [];
1547
1550
  for (let F = 0; F < d.length; F += 1) {
1548
1551
  const x = d[F], { dataWithoutOutliersFilterBatches: B } = gi({
1549
1552
  data: e,
@@ -1553,11 +1556,11 @@ async function Tn(i) {
1553
1556
  splitByField: y
1554
1557
  });
1555
1558
  for (let N = 0; N < B.length; N += 1) {
1556
- const v = B[N], T = {
1559
+ const v = B[N], A = {
1557
1560
  ...a,
1558
1561
  where: Q([a.where, v])
1559
1562
  };
1560
- T.outStatistics !== void 0 && (T.outStatistics = T.outStatistics?.filter(
1563
+ A.outStatistics !== void 0 && (A.outStatistics = A.outStatistics?.filter(
1561
1564
  (w) => (w.statisticType === P.Minimum || w.statisticType === P.Maximum) && w.onStatisticField === x
1562
1565
  ).map((w) => ({
1563
1566
  ...w,
@@ -1565,7 +1568,7 @@ async function Tn(i) {
1565
1568
  }))), p.push(
1566
1569
  ut({
1567
1570
  queryObject: t,
1568
- uniqueQuery: T,
1571
+ uniqueQuery: A,
1569
1572
  chartConfig: r,
1570
1573
  elementCount: n,
1571
1574
  isTimeBinningSeries: !1,
@@ -1587,7 +1590,7 @@ async function Tn(i) {
1587
1590
  async function An(i) {
1588
1591
  const { queryObject: e, uniqueQuery: t, chartConfig: a, abortKey: n } = i;
1589
1592
  let r;
1590
- const { series: s, showMean: o } = a, c = E(s);
1593
+ const { series: s, showMean: o } = a, c = V(s);
1591
1594
  if (c === h.BoxPlotMultiFieldsAndCategory || c === h.BoxPlotMultiFieldsAndSplitBy) {
1592
1595
  const l = Nt({ showMean: o, seriesConfig: s }), u = {
1593
1596
  ...t
@@ -1610,7 +1613,7 @@ async function An(i) {
1610
1613
  );
1611
1614
  }
1612
1615
  u.outStatistics = d;
1613
- const f = await ye({
1616
+ const f = await ge({
1614
1617
  queryObject: e,
1615
1618
  queryConfig: u,
1616
1619
  featureCount: 1,
@@ -1631,7 +1634,7 @@ function Pn(i) {
1631
1634
  });
1632
1635
  }
1633
1636
  function yi(i) {
1634
- const { chartConfig: e, data: t, calculateZScore: a = !1, meanAndStdDevPerField: n } = i, { series: r, showMean: s } = e, o = we(e), c = E(e.series), { x: l } = o, u = Nt({ showMean: s, seriesConfig: r });
1637
+ const { chartConfig: e, data: t, calculateZScore: a = !1, meanAndStdDevPerField: n } = i, { series: r, showMean: s } = e, o = we(e), c = V(e.series), { x: l } = o, u = Nt({ showMean: s, seriesConfig: r });
1635
1638
  let d = t;
1636
1639
  if ((o.type === S.LineSeries || o.type === S.BoxPlotSeries) && t?.[0] !== void 0) {
1637
1640
  const f = K(o.query?.where);
@@ -1735,7 +1738,7 @@ function wn(i) {
1735
1738
  for (let t = 0; t < i.length; t += 1) {
1736
1739
  const a = i[t], n = a.query?.where;
1737
1740
  if (n !== void 0 && "y" in a) {
1738
- const r = ge({ where: n, normalize: !0, escape: !1 });
1741
+ const r = me({ where: n, normalize: !0, escape: !1 });
1739
1742
  if (r !== "") {
1740
1743
  const s = Mn({
1741
1744
  whereValue: r,
@@ -1790,33 +1793,33 @@ function qn(i) {
1790
1793
  }
1791
1794
  ];
1792
1795
  }
1793
- o === !0 && (!s || ee(c)) && e.outStatistics?.push({ statisticType: P.EnvelopeAggregate, onStatisticField: "1" });
1796
+ o === !0 && (!s || Z(c)) && e.outStatistics?.push({ statisticType: P.EnvelopeAggregate, onStatisticField: "1" });
1794
1797
  }
1795
1798
  function En(i) {
1796
1799
  const { chartConfig: e, fetchFullBoxPlotData: t } = i, { series: a } = e, n = He(e);
1797
1800
  let r = [
1798
- { statisticType: P.Average, suffix: V.Average }
1801
+ { statisticType: P.Average, suffix: I.Average }
1799
1802
  ];
1800
1803
  t === !0 && (r = [
1801
1804
  ...r,
1802
- { statisticType: P.Minimum, suffix: V.Min },
1805
+ { statisticType: P.Minimum, suffix: I.Min },
1803
1806
  {
1804
1807
  statisticType: P.ContinuousPercentile,
1805
1808
  statisticParameters: { value: 0.25 },
1806
- suffix: V.FirstQuartile
1809
+ suffix: I.FirstQuartile
1807
1810
  },
1808
1811
  {
1809
1812
  statisticType: P.ContinuousPercentile,
1810
1813
  statisticParameters: { value: 0.5 },
1811
- suffix: V.Median
1814
+ suffix: I.Median
1812
1815
  },
1813
1816
  {
1814
1817
  statisticType: P.ContinuousPercentile,
1815
1818
  statisticParameters: { value: 0.75 },
1816
- suffix: V.ThirdQuartile
1819
+ suffix: I.ThirdQuartile
1817
1820
  },
1818
- { statisticType: P.Maximum, suffix: V.Max },
1819
- { statisticType: P.StandardDeviation, suffix: V.StandardDeviation }
1821
+ { statisticType: P.Maximum, suffix: I.Max },
1822
+ { statisticType: P.StandardDeviation, suffix: I.StandardDeviation }
1820
1823
  ]);
1821
1824
  const s = /* @__PURE__ */ new Set();
1822
1825
  return n && "y" in a[0] ? [a[0].y].flat().forEach((c) => s.add(c)) : a.forEach((c) => {
@@ -1842,7 +1845,7 @@ function In(i) {
1842
1845
  const { uniqueQuery: e, x: t, splitByField: a, unit: n, chartSubType: r, objectIdField: s } = i;
1843
1846
  if (n !== void 0) {
1844
1847
  const o = Ki(t, n);
1845
- e.orderByFields = o, e.groupByFieldsForStatistics = o, r === h.BarAndLineSplitBy && !ee(a) ? e.groupByFieldsForStatistics.push(a) : r === h.BarAndLineNoAggregation && (e.groupByFieldsForStatistics.push(s), e.outStatistics = [
1848
+ e.orderByFields = o, e.groupByFieldsForStatistics = o, r === h.BarAndLineSplitBy && !Z(a) ? e.groupByFieldsForStatistics.push(a) : r === h.BarAndLineNoAggregation && (e.groupByFieldsForStatistics.push(s), e.outStatistics = [
1846
1849
  {
1847
1850
  onStatisticField: s,
1848
1851
  outStatisticFieldName: `COUNT_${s}`,
@@ -1856,7 +1859,7 @@ function pi(i) {
1856
1859
  if (t?.chartLimits?.behaviorAfterLimit === $e.RenderUpToTheLimit) {
1857
1860
  const n = fi(e, t?.chartLimits);
1858
1861
  if (n !== void 0) {
1859
- const r = E(e.series);
1862
+ const r = V(e.series);
1860
1863
  if (r === h.PieFromFields || r === h.BarAndLineFromFields) {
1861
1864
  if (a.outStatistics?.[0] !== void 0) {
1862
1865
  const s = (l, u) => l.statisticType === P.EnvelopeAggregate === u, o = a.outStatistics.filter((l) => s(l, !0)), c = a.outStatistics.filter((l) => s(l, !1));
@@ -1868,17 +1871,17 @@ function pi(i) {
1868
1871
  }
1869
1872
  }
1870
1873
  async function ct(i) {
1871
- const { chartConfig: e, queryConfig: t, options: a, queryObject: n, timeIntervalInfo: r, fetchFullBoxPlotData: s } = i, { setTimeBinningInfoWhenNotProvided: o, returnFeaturesExtent: c } = a ?? {}, l = e.series, u = E(l), d = we(e), { query: f, x: m } = d, g = "y" in d ? d.y : void 0, y = Ne({
1872
- xAxisValueFormatType: pe(e),
1874
+ const { chartConfig: e, queryConfig: t, options: a, queryObject: n, timeIntervalInfo: r, fetchFullBoxPlotData: s } = i, { setTimeBinningInfoWhenNotProvided: o, returnFeaturesExtent: c } = a ?? {}, l = e.series, u = V(l), d = we(e), { query: f, x: m } = d, g = "y" in d ? d.y : void 0, y = Ne({
1875
+ xAxisValueFormatType: ye(e),
1873
1876
  setTimeBinningInfoWhenNotProvided: o,
1874
1877
  seriesConfig: d
1875
1878
  });
1876
1879
  let p = /* @__PURE__ */ new Map(), C = !1, F = !1, x = !1, B = !1, N = !1, v = {};
1877
1880
  if (f !== void 0) {
1878
1881
  v = Ce(f);
1879
- const O = K(f.where);
1882
+ const E = K(f.where);
1880
1883
  let H = "";
1881
- switch (t.fetchNullValues !== !0 && (m !== b.boxPlot.boxPlotCategory && (H = `${m} IS NOT NULL`), O.trim() !== "" && O !== m && !Tt(f.where) && (H = Q([H, `${O} IS NOT NULL`]))), u) {
1884
+ switch (t.fetchNullValues !== !0 && (m !== b.boxPlot.boxPlotCategory && (H = `${m} IS NOT NULL`), E.trim() !== "" && E !== m && !Tt(f.where) && (H = Q([H, `${E} IS NOT NULL`]))), u) {
1882
1885
  case h.BarAndLineSplitBy: {
1883
1886
  p = wn(l), B = !0, C = !0, F = !0;
1884
1887
  break;
@@ -1918,29 +1921,29 @@ async function ct(i) {
1918
1921
  chartSubType: u,
1919
1922
  isTimeBinningSeries: y,
1920
1923
  returnFeaturesExtent: c,
1921
- splitByField: O
1922
- }), B && Dn({ uniqueQuery: v, splitByField: O, x: m }), N && (v.outStatistics = En({ chartConfig: e, fetchFullBoxPlotData: s })), x ? delete v.orderByFields : t.orderByFields !== void 0 && (v.orderByFields = t.orderByFields.filter((X) => {
1923
- const I = X.split(" ");
1924
- return !ee(I[0]);
1925
- })), y && oe(l[0])) {
1926
- const X = z(n), { objectIdField: I } = X;
1927
- (await Te(n)).find((te) => te.name === m)?.type !== Ye.DateOnly && In({
1924
+ splitByField: E
1925
+ }), B && Dn({ uniqueQuery: v, splitByField: E, x: m }), N && (v.outStatistics = En({ chartConfig: e, fetchFullBoxPlotData: s })), x ? delete v.orderByFields : t.orderByFields !== void 0 && (v.orderByFields = t.orderByFields.filter((Fe) => {
1926
+ const $ = Fe.split(" ");
1927
+ return !Z($[0]);
1928
+ })), y && se(l[0])) {
1929
+ const Fe = z(n), { objectIdField: $ } = Fe;
1930
+ (await Te(n)).find((ee) => ee.name === m)?.type !== Ye.DateOnly && In({
1928
1931
  uniqueQuery: v,
1929
1932
  x: m,
1930
1933
  splitByField: K(f.where),
1931
1934
  unit: r?.unit ?? l[0].temporalBinning?.unit,
1932
1935
  chartSubType: u,
1933
- objectIdField: I
1936
+ objectIdField: $
1934
1937
  });
1935
1938
  }
1936
1939
  v.where = H;
1937
1940
  }
1938
1941
  pi({ chartConfig: e, options: a, uniqueQuery: v });
1939
- const { gdbVersion: T, geometry: w, distance: L, units: D, timeExtent: R, where: M, objectIds: q, spatialRelationship: A } = t;
1940
- return T !== void 0 && (v.gdbVersion = T), w !== void 0 && (v.geometry = w), L !== void 0 && (v.distance = L), D !== void 0 && (v.units = D), R !== void 0 && (v.timeExtent = R), q !== void 0 && (v.objectIds = q), A !== void 0 && (v.spatialRelationship = A), M !== void 0 && (v.where = Q([v.where, M])), { uniqueQuery: v, mapToStatField: p };
1942
+ const { gdbVersion: A, geometry: w, distance: L, units: D, timeExtent: M, where: O, objectIds: q, spatialRelationship: T } = t;
1943
+ return A !== void 0 && (v.gdbVersion = A), w !== void 0 && (v.geometry = w), L !== void 0 && (v.distance = L), D !== void 0 && (v.units = D), M !== void 0 && (v.timeExtent = M), q !== void 0 && (v.objectIds = q), T !== void 0 && (v.spatialRelationship = T), O !== void 0 && (v.where = Q([v.where, O])), { uniqueQuery: v, mapToStatField: p };
1941
1944
  }
1942
1945
  async function $n(i) {
1943
- const { queryObject: e, queryConfig: t, chartConfig: a, abortKey: n } = i, r = a.series[0], { x: s, valueConversion: o } = r, c = Xt(a), l = await ye({
1946
+ const { queryObject: e, queryConfig: t, chartConfig: a, abortKey: n } = i, r = a.series[0], { x: s, valueConversion: o } = r, c = Xt(a), l = await ge({
1944
1947
  queryObject: e,
1945
1948
  queryConfig: t,
1946
1949
  featureCount: t.num ?? 1,
@@ -1972,7 +1975,7 @@ async function Rn(i) {
1972
1975
  behaviorAfterLimit: c,
1973
1976
  numberMaxOfFeaturesToFetch: l,
1974
1977
  isGaugeByFeature: u
1975
- })).elementCount, n?.chartLimits?.behaviorAfterLimit !== $e.RenderUpToTheLimit && (d = Se({
1978
+ })).elementCount, n?.chartLimits?.behaviorAfterLimit !== $e.RenderUpToTheLimit && (d = he({
1976
1979
  count: f ?? 0,
1977
1980
  seriesCount: t.series.length,
1978
1981
  chartType: S.GaugeSeries,
@@ -2037,7 +2040,7 @@ function kn(i = _.None, e) {
2037
2040
  }
2038
2041
  function hi(i, e) {
2039
2042
  const t = { valid: !1 };
2040
- return e === !0 ? t.invalidType = $.HistogramEmptyField : i === _.Log ? t.invalidType = $.NegativeValueInLogCalculation : i === _.Sqrt && (t.invalidType = $.NegativeValueInSqrtCalculation), t;
2043
+ return e === !0 ? t.invalidType = R.HistogramEmptyField : i === _.Log ? t.invalidType = R.NegativeValueInLogCalculation : i === _.Sqrt && (t.invalidType = R.NegativeValueInSqrtCalculation), t;
2041
2044
  }
2042
2045
  function jn(i, e) {
2043
2046
  let t = i;
@@ -2209,7 +2212,7 @@ async function Yn(i) {
2209
2212
  } catch {
2210
2213
  }
2211
2214
  C = zn(C);
2212
- const { avg: F, count: x, stddev: B, min: N, max: v, sum: T, median: w } = C;
2215
+ const { avg: F, count: x, stddev: B, min: N, max: v, sum: A, median: w } = C;
2213
2216
  if (x === 0)
2214
2217
  u = {
2215
2218
  ...hi(l)
@@ -2229,10 +2232,10 @@ async function Yn(i) {
2229
2232
  let D;
2230
2233
  try {
2231
2234
  D = await Ba(L);
2232
- } catch (M) {
2233
- throw new pt(Vt.QueryFeaturesError, o.errors.queryError, M);
2235
+ } catch (O) {
2236
+ throw new pt(Vt.QueryFeaturesError, o.errors.queryError, O);
2234
2237
  }
2235
- const R = _n(r, n);
2238
+ const M = _n(r, n);
2236
2239
  u.data = {
2237
2240
  mean: F,
2238
2241
  stddev: B,
@@ -2241,8 +2244,8 @@ async function Yn(i) {
2241
2244
  median: Number(w),
2242
2245
  bins: D?.bins,
2243
2246
  count: n,
2244
- nulls: R,
2245
- sum: T ?? void 0
2247
+ nulls: M,
2248
+ sum: A ?? void 0
2246
2249
  }, u.data.bins.length > 0 && (u.data.bins[u.data.bins.length - 1].isLastBin = !0);
2247
2250
  }
2248
2251
  }
@@ -2274,7 +2277,7 @@ async function Kn(i) {
2274
2277
  };
2275
2278
  return {
2276
2279
  valid: !0,
2277
- data: { dataItems: (await ye({
2280
+ data: { dataItems: (await ge({
2278
2281
  queryObject: e,
2279
2282
  queryConfig: o
2280
2283
  })).map((u) => ({
@@ -2335,7 +2338,7 @@ async function Zn(i) {
2335
2338
  function er(i) {
2336
2339
  const { groupByFieldsForStatistics: e, x: t, y: a, xValue: n, yValue: r, xStep: s, yStep: o, endOfRow: c, endOfColumn: l } = i;
2337
2340
  let u = e === "" ? Me.groupByCaseBegin : e;
2338
- return u = de(Jn, {
2341
+ return u = ue(Jn, {
2339
2342
  groupByFieldsForStatistics: u,
2340
2343
  x: t,
2341
2344
  y: a,
@@ -2355,7 +2358,7 @@ function er(i) {
2355
2358
  }
2356
2359
  async function tr(i) {
2357
2360
  const { chartConfig: e, queryConfig: t, queryObject: a, xMin: n, xMax: r, yMin: s, yMax: o, abortKey: c } = i, l = e.series[0], { x: u, y: d } = l, f = { ...t };
2358
- return f.where = Q([f.where, `${u}>=${n}`, `${u}<=${r}`]), u !== d && (f.where = Q([f.where, `${d}>=${s}`, `${d}<=${o}`])), await ye({
2361
+ return f.where = Q([f.where, `${u}>=${n}`, `${u}<=${r}`]), u !== d && (f.where = Q([f.where, `${d}>=${s}`, `${d}<=${o}`])), await ge({
2359
2362
  queryObject: a,
2360
2363
  queryConfig: f,
2361
2364
  noBatch: !0,
@@ -2376,26 +2379,26 @@ async function ir(i) {
2376
2379
  let C;
2377
2380
  const F = e?.get(d) ?? Number.NaN, x = e?.get(f) ?? Number.NaN, B = e?.get(y) ?? Number.NaN, N = e?.get(m) ?? F, v = e?.get(g) ?? x;
2378
2381
  if (F != null && N !== void 0 && N !== null && x !== void 0 && x !== null && v !== void 0 && v !== null && !Number.isNaN(F + x + N + v)) {
2379
- const T = z(a), { objectIdField: w } = T, L = e?.get(b.scatterplotAggregationFields.xStep), D = e?.get(b.scatterplotAggregationFields.yStep), R = e?.get(b.scatterplotAggregationFields.realGridSize), M = e?.get(b.scatterplotAggregationFields.rowCount), q = e?.get(b.scatterplotAggregationFields.columnCount), A = /* @__PURE__ */ new Map(), O = await Te(a);
2380
- if (O?.forEach((I) => {
2381
- We(I) && A.set(I.name, {
2382
- onStatisticField: I.name,
2383
- outStatisticFieldName: I.name,
2382
+ const A = z(a), { objectIdField: w } = A, L = e?.get(b.scatterplotAggregationFields.xStep), D = e?.get(b.scatterplotAggregationFields.yStep), M = e?.get(b.scatterplotAggregationFields.realGridSize), O = e?.get(b.scatterplotAggregationFields.rowCount), q = e?.get(b.scatterplotAggregationFields.columnCount), T = /* @__PURE__ */ new Map(), E = await Te(a);
2383
+ if (E?.forEach(($) => {
2384
+ We($) && T.set($.name, {
2385
+ onStatisticField: $.name,
2386
+ outStatisticFieldName: $.name,
2384
2387
  statisticType: P.Maximum
2385
2388
  });
2386
- }), (O.filter((I) => c?.additionalTooltipFields?.includes(I.name)) ?? [])?.forEach((I) => {
2387
- We(I) || A.set(I.name, {
2388
- onStatisticField: I.name,
2389
- outStatisticFieldName: I.name,
2389
+ }), (E.filter(($) => c?.additionalTooltipFields?.includes($.name)) ?? [])?.forEach(($) => {
2390
+ We($) || T.set($.name, {
2391
+ onStatisticField: $.name,
2392
+ outStatisticFieldName: $.name,
2390
2393
  statisticType: P.Maximum
2391
2394
  });
2392
- }), (await Zt(T)).forEach((I) => {
2393
- A.set(I, {
2394
- onStatisticField: I,
2395
- outStatisticFieldName: I,
2395
+ }), (await Zt(A)).forEach(($) => {
2396
+ T.set($, {
2397
+ onStatisticField: $,
2398
+ outStatisticFieldName: $,
2396
2399
  statisticType: P.Maximum
2397
2400
  });
2398
- }), A.set(w, {
2401
+ }), T.set(w, {
2399
2402
  onStatisticField: w,
2400
2403
  outStatisticFieldName: p,
2401
2404
  statisticType: P.Count
@@ -2409,13 +2412,13 @@ async function ir(i) {
2409
2412
  statisticType: P.Maximum
2410
2413
  }), L !== void 0 && D !== void 0) {
2411
2414
  if (r) {
2412
- const I = {
2415
+ const $ = {
2413
2416
  ...n,
2414
- outStatistics: [...A.values()]
2417
+ outStatistics: [...T.values()]
2415
2418
  };
2416
2419
  C = await ea({
2417
2420
  queryObject: a,
2418
- queryConfig: I,
2421
+ queryConfig: $,
2419
2422
  xStep: L,
2420
2423
  xMin: F,
2421
2424
  xMax: x,
@@ -2424,12 +2427,12 @@ async function ir(i) {
2424
2427
  yStep: D,
2425
2428
  errorStrings: s
2426
2429
  });
2427
- } else if (M !== void 0 && q !== void 0) {
2428
- let I = 0;
2429
- const { maxScatterCellsPerQuery: Z, maxScatterCellsPerQueryForStandard: ue } = Ue(), De = await ta(T) ? ue : Z, Dt = [];
2430
+ } else if (O !== void 0 && q !== void 0) {
2431
+ let $ = 0;
2432
+ const { maxScatterCellsPerQuery: X, maxScatterCellsPerQueryForStandard: ce } = Ue(), De = await ta(A) ? ce : X, Dt = [];
2430
2433
  let dt = !0, Oe = F, Ae = N, qe = "", Je = 1, ft = 1, Xe = Number.MAX_SAFE_INTEGER, Ze = Number.MIN_SAFE_INTEGER, et = Number.MAX_SAFE_INTEGER, tt = Number.MIN_SAFE_INTEGER;
2431
2434
  for (; ft <= q && dt; ) {
2432
- for (Ae = N, Je = 1; Je <= M && dt; ) {
2435
+ for (Ae = N, Je = 1; Je <= O && dt; ) {
2433
2436
  if (qe = er({
2434
2437
  groupByFieldsForStatistics: qe,
2435
2438
  x: l,
@@ -2438,14 +2441,14 @@ async function ir(i) {
2438
2441
  yValue: Ae,
2439
2442
  xStep: L,
2440
2443
  yStep: D,
2441
- endOfRow: Je === M,
2444
+ endOfRow: Je === O,
2442
2445
  endOfColumn: ft === q
2443
- }), Oe < Xe && (Xe = Oe), Oe + L > Ze && (Ze = Oe + L), Ae < et && (et = Ae), Ae + L > tt && (tt = Ae + D), I += 1, I % De === 0 || I === R || I === B) {
2446
+ }), Oe < Xe && (Xe = Oe), Oe + L > Ze && (Ze = Oe + L), Ae < et && (et = Ae), Ae + L > tt && (tt = Ae + D), $ += 1, $ % De === 0 || $ === M || $ === B) {
2444
2447
  qe = `${qe} ${Me.groupByCaseEnd}`;
2445
2448
  const Vi = {
2446
2449
  ...n,
2447
2450
  groupByFieldsForStatistics: [qe],
2448
- outStatistics: [...A.values()]
2451
+ outStatistics: [...T.values()]
2449
2452
  };
2450
2453
  Dt.push(
2451
2454
  tr({
@@ -2458,7 +2461,7 @@ async function ir(i) {
2458
2461
  yMax: tt,
2459
2462
  abortKey: o
2460
2463
  })
2461
- ), Xe = Number.MAX_SAFE_INTEGER, Ze = Number.MIN_SAFE_INTEGER, et = Number.MAX_SAFE_INTEGER, tt = Number.MIN_SAFE_INTEGER, qe = "", I === R && (dt = !1);
2464
+ ), Xe = Number.MAX_SAFE_INTEGER, Ze = Number.MIN_SAFE_INTEGER, et = Number.MAX_SAFE_INTEGER, tt = Number.MIN_SAFE_INTEGER, qe = "", $ === M && (dt = !1);
2462
2465
  }
2463
2466
  Ae += D, Je += 1;
2464
2467
  }
@@ -2530,18 +2533,18 @@ async function or(i) {
2530
2533
  });
2531
2534
  if (x !== void 0) {
2532
2535
  let B = Number.NaN, N = Number.NaN;
2533
- const { expr: v } = mt(x, y), { expr: T } = mt(x, p), { expr: w } = mt(x, C);
2534
- v !== void 0 && Number.isFinite(x[v]) && (B = x[v]), T !== void 0 && Number.isFinite(x[T]) && (N = x[T]), w !== void 0 && Number.isFinite(x[w]) && (c = x[w]);
2535
- const { dataContextXMinField: L, dataContextXMaxField: D, dataContextYMinField: R, dataContextYMaxField: M } = b.scatterplotAggregationFields, q = e.get(L) ?? Number.NaN, A = e.get(D) ?? Number.NaN, O = e.get(R) ?? Number.NaN, H = e.get(M) ?? Number.NaN, I = (A - q) / 100;
2536
- let Z = q - I, ue = Number.NaN;
2537
- for (; !(ue >= O && ue <= H) && Z <= A; )
2538
- Z += I, ue = B * Z + N;
2539
- let te = A + I, De = Number.NaN;
2540
- for (; !(De >= O && De <= H) && te >= q; )
2541
- te -= I, De = B * te + N;
2536
+ const { expr: v } = mt(x, y), { expr: A } = mt(x, p), { expr: w } = mt(x, C);
2537
+ v !== void 0 && Number.isFinite(x[v]) && (B = x[v]), A !== void 0 && Number.isFinite(x[A]) && (N = x[A]), w !== void 0 && Number.isFinite(x[w]) && (c = x[w]);
2538
+ const { dataContextXMinField: L, dataContextXMaxField: D, dataContextYMinField: M, dataContextYMaxField: O } = b.scatterplotAggregationFields, q = e.get(L) ?? Number.NaN, T = e.get(D) ?? Number.NaN, E = e.get(M) ?? Number.NaN, H = e.get(O) ?? Number.NaN, $ = (T - q) / 100;
2539
+ let X = q - $, ce = Number.NaN;
2540
+ for (; !(ce >= E && ce <= H) && X <= T; )
2541
+ X += $, ce = B * X + N;
2542
+ let ee = T + $, De = Number.NaN;
2543
+ for (; !(De >= E && De <= H) && ee >= q; )
2544
+ ee -= $, De = B * ee + N;
2542
2545
  l = [
2543
- { [s]: Z, [o]: ue },
2544
- { [s]: te, [o]: De }
2546
+ { [s]: X, [o]: ce },
2547
+ { [s]: ee, [o]: De }
2545
2548
  ];
2546
2549
  }
2547
2550
  return { r2: c, trendLinePoints: l };
@@ -2690,14 +2693,14 @@ async function fr(i) {
2690
2693
  );
2691
2694
  if (!ei(l).isTable) {
2692
2695
  const { rendererField: p, rendererNormalizationField: C } = ra(l?.renderer ?? void 0);
2693
- ee(p) || g.push(p), ee(C) || g.push(C);
2696
+ Z(p) || g.push(p), Z(C) || g.push(C);
2694
2697
  }
2695
2698
  const y = {
2696
2699
  ...t,
2697
- orderByFields: [`${o} ${me.Ascending}`],
2700
+ orderByFields: [`${o} ${fe.Ascending}`],
2698
2701
  outFields: g
2699
2702
  };
2700
- return u = await ye({
2703
+ return u = await ge({
2701
2704
  queryObject: e,
2702
2705
  queryConfig: y,
2703
2706
  featureCount: n,
@@ -2769,7 +2772,7 @@ async function xi(i) {
2769
2772
  n !== !1 && Ge({
2770
2773
  arrayToSort: p,
2771
2774
  sortingField: e.series[0].x,
2772
- orderBy: me.Ascending
2775
+ orderBy: fe.Ascending
2773
2776
  });
2774
2777
  const { r2: C, trendLinePoints: F } = r !== !1 ? await lr({
2775
2778
  data: p,
@@ -2820,11 +2823,11 @@ function yr(i) {
2820
2823
  const { chartConfig: e, currentSelectionDataItems: t, options: a } = i, { selectionData: n } = a ?? {};
2821
2824
  let r = [];
2822
2825
  if (e !== void 0) {
2823
- const s = e.series, o = E(s), { selectionItems: c } = n ?? {};
2826
+ const s = e.series, o = V(s), { selectionItems: c } = n ?? {};
2824
2827
  if (c !== void 0 && gr({
2825
2828
  itemsA: c,
2826
2829
  itemsB: t,
2827
- isPieFromFields: E(e.series) === h.PieFromFields,
2830
+ isPieFromFields: V(e.series) === h.PieFromFields,
2828
2831
  x: e.series[0].x,
2829
2832
  y: "y" in e.series[0] ? e.series[0].y.toString() : void 0,
2830
2833
  outStatisticFieldName: e.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
@@ -2862,8 +2865,8 @@ function pr(i) {
2862
2865
  }
2863
2866
  } else
2864
2867
  r = Q([
2865
- Fe({ where: Be(t, e[t]) }),
2866
- a !== void 0 ? Fe({ where: Be(a, e[a]) }) : ""
2868
+ Se({ where: Be(t, e[t]) }),
2869
+ a !== void 0 ? Se({ where: Be(a, e[a]) }) : ""
2867
2870
  ]);
2868
2871
  return r;
2869
2872
  }
@@ -2896,27 +2899,27 @@ function vi(i) {
2896
2899
  keepNullValues: !0,
2897
2900
  specificField: b.typeOrDomainIdValue
2898
2901
  });
2899
- r === Ye.Double ? o = Bi(d, e) : (Pe(s.axes?.[0].valueFormat) && (d = Ve(d)), o = Fe({
2902
+ r === Ye.Double ? o = Bi(d, e) : (Pe(s.axes?.[0].valueFormat) && (d = Ve(d)), o = Se({
2900
2903
  where: Be(e, d),
2901
2904
  normalize: !1,
2902
2905
  escape: !0
2903
2906
  }));
2904
2907
  }
2905
- const c = Fe({ where: a ?? "", normalize: !1, escape: !0 });
2908
+ const c = Se({ where: a ?? "", normalize: !1, escape: !0 });
2906
2909
  let l = "";
2907
2910
  if (ja(s) === !0) {
2908
- const d = E(s.series) === h.BoxPlotMultiFieldsAndCategory ? t : void 0, f = U({
2909
- key: V.Min,
2911
+ const d = V(s.series) === h.BoxPlotMultiFieldsAndCategory ? t : void 0, f = U({
2912
+ key: I.Min,
2910
2913
  showOutliers: !0,
2911
2914
  splitBy: a,
2912
2915
  y: d
2913
2916
  }), m = U({
2914
- key: V.Max,
2917
+ key: I.Max,
2915
2918
  showOutliers: !0,
2916
2919
  splitBy: a,
2917
2920
  y: d
2918
2921
  }), g = e === b.boxPlot.boxPlotCategory ? n[e] : t;
2919
- if (!ee(g)) {
2922
+ if (!Z(g)) {
2920
2923
  const y = n[f], p = n[m];
2921
2924
  Number.isFinite(y) && Number.isFinite(p) && (l = `${g?.toString()}>=${y?.toString()} AND ${g?.toString()}<=${p?.toString()}`);
2922
2925
  }
@@ -2928,26 +2931,26 @@ function hr(i) {
2928
2931
  let s = "";
2929
2932
  if (b.dateBinningRange in a)
2930
2933
  s = Ci(e, a);
2931
- else if (E(r.series) !== h.BarAndLineFromFields) {
2934
+ else if (V(r.series) !== h.BarAndLineFromFields) {
2932
2935
  let l = ze({
2933
2936
  value: a[e],
2934
2937
  dataContext: a,
2935
2938
  keepNullValues: !0,
2936
2939
  specificField: b.typeOrDomainIdValue
2937
2940
  });
2938
- n === Ye.Double ? s = Bi(l, e) : (Pe(r.axes?.[0].valueFormat) && (l = Ve(l)), s = Fe({
2941
+ n === Ye.Double ? s = Bi(l, e) : (Pe(r.axes?.[0].valueFormat) && (l = Ve(l)), s = Se({
2939
2942
  where: Be(e, l),
2940
2943
  normalize: !1,
2941
2944
  escape: !0
2942
2945
  }));
2943
2946
  }
2944
- const o = Fe({ where: t ?? "", normalize: !1, escape: !0 });
2947
+ const o = Se({ where: t ?? "", normalize: !1, escape: !0 });
2945
2948
  return Q([s, o]);
2946
2949
  }
2947
2950
  function Sr(i) {
2948
2951
  const { xAxisField: e, dataContext: t, chartConfig: a } = i;
2949
2952
  let n = b.typeOrDomainIdValue in t ? t[b.typeOrDomainIdValue] : t[b.originalCategoryValue];
2950
- return n === void 0 && (n = t[e]), E(a.series) === h.PieFromFields ? "" : Fe({
2953
+ return n === void 0 && (n = t[e]), V(a.series) === h.PieFromFields ? "" : Se({
2951
2954
  where: Be(e, n),
2952
2955
  normalize: !1,
2953
2956
  escape: !0
@@ -2981,7 +2984,7 @@ function Fr(i) {
2981
2984
  if (c.type === S.HeatSeries) {
2982
2985
  let u, d;
2983
2986
  const f = a[k.xField], m = a[k.yField], g = n.axes?.[0]?.valueFormat?.type, y = n.axes?.[1]?.valueFormat?.type;
2984
- g === S.CategoryAxisFormat ? u = Fe({
2987
+ g === S.CategoryAxisFormat ? u = Se({
2985
2988
  where: Be(c.x, f),
2986
2989
  normalize: !1,
2987
2990
  escape: !0
@@ -2993,7 +2996,7 @@ function Fr(i) {
2993
2996
  outTimeZone: r,
2994
2997
  dataTimeZone: s,
2995
2998
  runsOnClientQueryEngine: o
2996
- }), y === S.CategoryAxisFormat ? d = Fe({
2999
+ }), y === S.CategoryAxisFormat ? d = Se({
2997
3000
  where: Be(c.y, m),
2998
3001
  normalize: !1,
2999
3002
  escape: !0
@@ -3071,7 +3074,7 @@ async function xr(i) {
3071
3074
  case S.RadarSeries:
3072
3075
  case S.ComboLineAndBarSeries:
3073
3076
  if (Ne({
3074
- xAxisValueFormatType: pe(a),
3077
+ xAxisValueFormatType: ye(a),
3075
3078
  setTimeBinningInfoWhenNotProvided: c,
3076
3079
  seriesConfig: l[0]
3077
3080
  })) {
@@ -3135,7 +3138,7 @@ async function xr(i) {
3135
3138
  return await Promise.all(d);
3136
3139
  }
3137
3140
  function Cr(i) {
3138
- const { dataFetchingResults: e, numberOfQueries: t, series: a } = i, n = W(a), r = E(a);
3141
+ const { dataFetchingResults: e, numberOfQueries: t, series: a } = i, n = W(a), r = V(a);
3139
3142
  let s = [];
3140
3143
  const o = /* @__PURE__ */ new Map();
3141
3144
  for (let c = 0; c < t; c += 1) {
@@ -3166,8 +3169,8 @@ function Cr(i) {
3166
3169
  );
3167
3170
  } else l.valid && (r === h.PieFromFields ? s = st({
3168
3171
  dataToConvert: u[0],
3169
- x: ne,
3170
- y: he
3172
+ x: ae,
3173
+ y: pe
3171
3174
  }) : r === h.BarAndLineFromFields ? s = st({
3172
3175
  dataToConvert: u[0],
3173
3176
  x: a[0].x,
@@ -3189,7 +3192,7 @@ async function Br(i) {
3189
3192
  errorStrings: c
3190
3193
  } = i, { series: l } = e, { selectionData: u, viewExtentUpdated: d, returnSelectionOIDs: f, chartLimits: m } = o ?? {}, { selectionItems: g, selectionOIDs: y } = u ?? {};
3191
3194
  let p;
3192
- const C = W(l), F = C !== S.HistogramSeries && C !== S.HeatSeries && g !== void 0 && g.length > 0 && !(l[0].x in g[0]) && !(ne in g[0]) && !(b.boxPlot.boxPlotCategory in g[0]);
3195
+ const C = W(l), F = C !== S.HistogramSeries && C !== S.HeatSeries && g !== void 0 && g.length > 0 && !(l[0].x in g[0]) && !(ae in g[0]) && !(b.boxPlot.boxPlotCategory in g[0]);
3193
3196
  if (d !== !0 && f !== !1 && y !== void 0 && y.length > 0 && (r === !0 || F || y.length !== n?.length || !Le(y, n))) {
3194
3197
  const B = _t(a);
3195
3198
  if (B !== void 0 && !_a({ dataContext: B[0], chartConfig: e, chartLimits: m }))
@@ -3198,7 +3201,7 @@ async function Br(i) {
3198
3201
  return typeof v == "number" ? y?.includes(v) : !1;
3199
3202
  });
3200
3203
  else if (y?.[0] !== void 0 && t !== void 0) {
3201
- const { maxOIDsPerSelectionQuery: N } = Ue(), v = Math.ceil(y.length / N), T = await xr({
3204
+ const { maxOIDsPerSelectionQuery: N } = Ue(), v = Math.ceil(y.length / N), A = await xr({
3202
3205
  numberOfQueries: v,
3203
3206
  selectionOIDs: y,
3204
3207
  queryConfig: t,
@@ -3208,7 +3211,7 @@ async function Br(i) {
3208
3211
  chartConfig: e
3209
3212
  });
3210
3213
  p = Cr({
3211
- dataFetchingResults: T,
3214
+ dataFetchingResults: A,
3212
3215
  numberOfQueries: v,
3213
3216
  series: l
3214
3217
  });
@@ -3247,7 +3250,7 @@ async function Ko(i) {
3247
3250
  return r;
3248
3251
  }
3249
3252
  async function Nr(i) {
3250
- const { queryObject: e, queryConfig: t, chartConfig: a, currentSelectionDataItems: n, options: r, errorStrings: s, abortKey: o } = i, c = E(a.series);
3253
+ const { queryObject: e, queryConfig: t, chartConfig: a, currentSelectionDataItems: n, options: r, errorStrings: s, abortKey: o } = i, c = V(a.series);
3251
3254
  let l = { valid: !0, data: { dataItems: [] } };
3252
3255
  if (n !== void 0 && n.length > 0) {
3253
3256
  const u = we(a), { x: d } = u, f = "y" in u ? u.y : "";
@@ -3263,27 +3266,27 @@ async function Nr(i) {
3263
3266
  case h.BoxPlotMonoFieldAndSplitBy:
3264
3267
  case h.BoxPlotMultiFieldsAndSplitBy:
3265
3268
  case h.BoxPlotMonoFieldAndCategoryAndSplitBy: {
3266
- const w = K(u.query?.where ?? ""), L = `_${V.Average}`;
3269
+ const w = K(u.query?.where ?? ""), L = `_${I.Average}`;
3267
3270
  Object.keys(B).forEach((D) => {
3268
3271
  if (D.includes(L)) {
3269
- const R = D.replace(L, "");
3270
- R.trim() !== "" && N.push(Be(w, R));
3272
+ const M = D.replace(L, "");
3273
+ M.trim() !== "" && N.push(Be(w, M));
3271
3274
  }
3272
3275
  });
3273
3276
  break;
3274
3277
  }
3275
3278
  }
3276
3279
  const v = [f].flat();
3277
- let T = v.length === 1 ? v[0] : "";
3280
+ let A = v.length === 1 ? v[0] : "";
3278
3281
  if (c === h.BoxPlotMultiFieldsAndCategory) {
3279
- const w = `_${V.FirstQuartile}`, L = Object.keys(B).find((D) => D.includes(w));
3280
- L !== void 0 && (T = L.replace(w, ""));
3282
+ const w = `_${I.FirstQuartile}`, L = Object.keys(B).find((D) => D.includes(w));
3283
+ L !== void 0 && (A = L.replace(w, ""));
3281
3284
  }
3282
3285
  N.length === 0 && N.push(""), N.forEach((w) => {
3283
3286
  const L = vi({
3284
3287
  chartConfig: a,
3285
3288
  xAxisField: d,
3286
- yAxisField: T,
3289
+ yAxisField: A,
3287
3290
  splitBy: w,
3288
3291
  dataContext: B,
3289
3292
  xAxisFieldType: m
@@ -3322,7 +3325,7 @@ async function Tr(i) {
3322
3325
  options: o,
3323
3326
  errorStrings: c,
3324
3327
  abortKey: l
3325
- } = i, { series: u } = a, d = W(u), f = pe(a);
3328
+ } = i, { series: u } = a, d = W(u), f = ye(a);
3326
3329
  let m = { valid: !0 }, g;
3327
3330
  di({ currentSelectionOIDs: r, options: o }) ? g = await Br({
3328
3331
  chartConfig: a,
@@ -3340,10 +3343,10 @@ async function Tr(i) {
3340
3343
  m.data = { dataItems: g };
3341
3344
  break;
3342
3345
  case S.PieSeries:
3343
- if (E(a.series) === h.PieFromFields) {
3346
+ if (V(a.series) === h.PieFromFields) {
3344
3347
  const { x: p, y: C } = a.series[0], F = Ce(g);
3345
3348
  F.forEach((x) => {
3346
- p in x && (x[ne] = x[p], delete x[p]), C in x && (x[he] = x[C], delete x[C]);
3349
+ p in x && (x[ae] = x[p], delete x[p]), C in x && (x[pe] = x[C], delete x[C]);
3347
3350
  }), m.data = { dataItems: F };
3348
3351
  } else
3349
3352
  m.data = { dataItems: g };
@@ -3390,8 +3393,8 @@ async function Tr(i) {
3390
3393
  }, m.count = 0;
3391
3394
  else {
3392
3395
  const { x: p } = u[0], C = g.map((B, N) => {
3393
- const { minValue: v, maxValue: T } = B, w = N === g.length - 1 ? "<=" : "<";
3394
- return `${p} >= ${v} AND ${p} ${w} ${T}`;
3396
+ const { minValue: v, maxValue: A } = B, w = N === g.length - 1 ? "<=" : "<";
3397
+ return `${p} >= ${v} AND ${p} ${w} ${A}`;
3395
3398
  }), F = Q(C, "OR"), x = { ...t };
3396
3399
  x.where = Q([x.where, F]), m = await Fi({
3397
3400
  queryObject: e,
@@ -3478,7 +3481,7 @@ async function Ar(i) {
3478
3481
  fieldList: c
3479
3482
  };
3480
3483
  Ne({
3481
- xAxisValueFormatType: pe(t),
3484
+ xAxisValueFormatType: ye(t),
3482
3485
  setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided,
3483
3486
  seriesConfig: l[0]
3484
3487
  }) ? (n !== void 0 && (m.binnedServerData = n), f = await wt(m)) : f = await Bt(m);
@@ -3563,7 +3566,7 @@ function Pr(i, e, t) {
3563
3566
  async function Lr(i) {
3564
3567
  const { seriesData: e, chartConfig: t, queryConfig: a, queryObject: n, categoryOrDateCount: r, behaviorAfterLimit: s, abortKey: o } = i, { series: c } = t;
3565
3568
  let l = e;
3566
- const u = E(c), d = pe(t);
3569
+ const u = V(c), d = ye(t);
3567
3570
  if (s !== $e.RenderUpToTheLimit && n !== void 0 && r !== void 0 && r > e.length && u !== h.BarAndLineFromFields && u !== h.BarAndLineNoAggregation && u !== h.PieNoAggregation && d === S.CategoryAxisFormat) {
3568
3571
  const { x: f } = c[0], m = {
3569
3572
  ...a,
@@ -3571,7 +3574,7 @@ async function Lr(i) {
3571
3574
  outFields: [f]
3572
3575
  };
3573
3576
  delete m.outStatistics, delete m.orderByFields, delete m.groupByFieldsForStatistics;
3574
- const y = (await ye({
3577
+ const y = (await ge({
3575
3578
  queryObject: n,
3576
3579
  queryConfig: m,
3577
3580
  featureCount: r,
@@ -3583,7 +3586,7 @@ async function Lr(i) {
3583
3586
  }
3584
3587
  function Mr(i, e) {
3585
3588
  const t = i, { series: a } = e;
3586
- if (pe(e) === S.CategoryAxisFormat && a[0].query?.outStatistics?.[0].statisticType === P.Count) {
3589
+ if (ye(e) === S.CategoryAxisFormat && a[0].query?.outStatistics?.[0].statisticType === P.Count) {
3587
3590
  const n = a.reduce(
3588
3591
  (r, s) => {
3589
3592
  const o = s.query?.outStatistics?.[0].outStatisticFieldName ?? [s.y].flat()[0];
@@ -3615,18 +3618,18 @@ function ve(i) {
3615
3618
  const r = a === "next" ? n : -n;
3616
3619
  switch (t) {
3617
3620
  case j.Second:
3618
- return ae.fromMillis(e).plus({ seconds: r }).valueOf();
3621
+ return ie.fromMillis(e).plus({ seconds: r }).valueOf();
3619
3622
  case j.Minute:
3620
- return ae.fromMillis(e).plus({ minutes: r }).valueOf();
3623
+ return ie.fromMillis(e).plus({ minutes: r }).valueOf();
3621
3624
  case j.Hour:
3622
- return ae.fromMillis(e).plus({ hours: r }).valueOf();
3625
+ return ie.fromMillis(e).plus({ hours: r }).valueOf();
3623
3626
  case j.Week:
3624
3627
  case j.Day:
3625
- return ae.fromMillis(e).plus({ days: r }).valueOf();
3628
+ return ie.fromMillis(e).plus({ days: r }).valueOf();
3626
3629
  case j.Month:
3627
- return ae.fromMillis(e).plus({ months: r }).valueOf();
3630
+ return ie.fromMillis(e).plus({ months: r }).valueOf();
3628
3631
  case j.Year:
3629
- return ae.fromMillis(e).plus({ years: r }).valueOf();
3632
+ return ie.fromMillis(e).plus({ years: r }).valueOf();
3630
3633
  }
3631
3634
  }
3632
3635
  return e;
@@ -3692,7 +3695,7 @@ function Or(i) {
3692
3695
  function qr(i) {
3693
3696
  const { binsToRegroup: e, statisticType: t, y: a, nullPolicy: n } = i;
3694
3697
  let r;
3695
- n !== re.Interpolate && (r = n === re.Zero ? 0 : null);
3698
+ n !== ne.Interpolate && (r = n === ne.Zero ? 0 : null);
3696
3699
  const s = e.filter((o) => Number.isFinite(o[a]));
3697
3700
  if (s.length > 0)
3698
3701
  switch (t) {
@@ -3718,8 +3721,8 @@ function Er(i) {
3718
3721
  let s = [];
3719
3722
  const { unit: o } = a, c = a.size ?? 1, l = t[0], { x: u } = l;
3720
3723
  let d, f;
3721
- if (oe(l) && (f = l.temporalBinning?.nullPolicy, d = l.temporalBinning?.timeAggregationType), c > 1 || o === j.Week || o === j.Month || o === j.Year) {
3722
- const { query: m } = t[0], g = se(t), { statisticType: y } = m?.outStatistics?.[0] ?? zt;
3724
+ if (se(l) && (f = l.temporalBinning?.nullPolicy, d = l.temporalBinning?.timeAggregationType), c > 1 || o === j.Week || o === j.Month || o === j.Year) {
3725
+ const { query: m } = t[0], g = re(t), { statisticType: y } = m?.outStatistics?.[0] ?? zt;
3723
3726
  let p = !1, C = d === G.End ? e.length - 1 : 0;
3724
3727
  const F = {
3725
3728
  binFirstOrLastIndex: C,
@@ -3729,7 +3732,7 @@ function Er(i) {
3729
3732
  };
3730
3733
  for (; !p; ) {
3731
3734
  let x = {};
3732
- const { binStartDate: B, binEndDate: N, last: v, nextBinFirstOrLastIndex: T, sliceStartIndex: w, sliceEndIndex: L } = d === G.End ? (
3735
+ const { binStartDate: B, binEndDate: N, last: v, nextBinFirstOrLastIndex: A, sliceStartIndex: w, sliceEndIndex: L } = d === G.End ? (
3733
3736
  // When grouping from the end we'll start from the last date and move backward to create the bins
3734
3737
  Or(F)
3735
3738
  ) : (
@@ -3741,10 +3744,10 @@ function Er(i) {
3741
3744
  g.forEach((q) => {
3742
3745
  x[q] = qr({ binsToRegroup: D, statisticType: y, y: q, nullPolicy: f });
3743
3746
  });
3744
- const R = D.map((q) => q[xe]).filter((q) => q !== void 0), M = Wa(R);
3745
- M !== void 0 && (x[xe] = M), x[u] = B, x[b.xAxisField] = B, x[b.dateBinningRange] = [B, N], delete x[b.dateBinModel], s.push(x);
3747
+ const M = D.map((q) => q[xe]).filter((q) => q !== void 0), O = Wa(M);
3748
+ O !== void 0 && (x[xe] = O), x[u] = B, x[b.xAxisField] = B, x[b.dateBinningRange] = [B, N], delete x[b.dateBinModel], s.push(x);
3746
3749
  } else v && d !== G.End && s.length > 0 && (s[s.length - 1][b.dateBinningRange][1] = s[s.length - 1][b.dateBinningRange][1] + 1);
3747
- C = T, F.binFirstOrLastIndex = T;
3750
+ C = A, F.binFirstOrLastIndex = A;
3748
3751
  }
3749
3752
  d === G.End && (s = s.reverse());
3750
3753
  } else c === 1 ? s = e.map((m, g) => {
@@ -3767,7 +3770,7 @@ function Ai(i) {
3767
3770
  let s = 0, o = 0;
3768
3771
  if (n !== void 0 && Number.isFinite(n) && Number.isFinite(e) && Number.isFinite(t)) {
3769
3772
  let c = -1;
3770
- const l = ae.fromMillis(e), u = ae.fromMillis(t);
3773
+ const l = ie.fromMillis(e), u = ie.fromMillis(t);
3771
3774
  switch (r) {
3772
3775
  case j.Second:
3773
3776
  c = u.diff(l, "seconds").get("seconds");
@@ -3797,7 +3800,7 @@ function Pi(i) {
3797
3800
  (a, n) => {
3798
3801
  a[b.dateBinModel] = void 0;
3799
3802
  const r = n.query?.outStatistics?.[0].outStatisticFieldName ?? [n.y].flat()[0];
3800
- return e !== re.Interpolate && (a[r] = e === re.Zero ? 0 : null), a;
3803
+ return e !== ne.Interpolate && (a[r] = e === ne.Zero ? 0 : null), a;
3801
3804
  },
3802
3805
  {}
3803
3806
  );
@@ -3933,7 +3936,7 @@ function kr(i) {
3933
3936
  function jr(i) {
3934
3937
  const { groupByFieldsForStatistics: e, dateField: t, queryStartDate: a, queryEndDate: n, y: r, binIndex: s, lastBin: o } = i;
3935
3938
  let c = e === "" ? Me.groupByCaseBegin : e;
3936
- return c = de(da, {
3939
+ return c = ue(da, {
3937
3940
  groupByFieldsForStatistics: c,
3938
3941
  dateField: t,
3939
3942
  startDate: `${a}`,
@@ -3975,7 +3978,7 @@ function* Wr(i) {
3975
3978
  outStatistics: d,
3976
3979
  orderByFields: void 0
3977
3980
  };
3978
- yield ye({
3981
+ yield ge({
3979
3982
  queryObject: e,
3980
3983
  queryConfig: m,
3981
3984
  noBatch: !0
@@ -4008,53 +4011,52 @@ async function Qr(i) {
4008
4011
  return r;
4009
4012
  }
4010
4013
  async function Hr(i) {
4011
- const { chartConfig: e, queryResults: t, mapToStatField: a, splitByField: n, x: r, y: s, nullPolicy: o, queryObject: c } = i, l = ua(r), d = (await Te(c)).find((C) => C.name === r)?.type, f = [], m = e.series[0], g = m.query?.outStatistics?.[0]?.statisticType, y = "temporalBinning" in m ? m.temporalBinning?.trimIncompleteTimeInterval : !1, p = "temporalBinning" in m ? m.temporalBinning?.timeAggregationType : !1;
4012
- return t.forEach((C, F) => {
4013
- if (!(y && (F === 0 && p === G.End || F === t.length - 1 && p === G.Start))) {
4014
- const { attributes: B, stackedAttributes: N } = C;
4015
- let v = B[l.lowerBoundaryAlias], T = B[l.upperBoundaryAlias];
4016
- const w = v, L = T, D = (M, q) => {
4017
- let A = M;
4018
- if (q === Ye.DateOnly && (typeof M == "string" && M.length === 10 || typeof M == "number"))
4014
+ const { chartConfig: e, queryResults: t, mapToStatField: a, splitByField: n, x: r, y: s, nullPolicy: o, queryObject: c } = i, l = ua(r), d = (await Te(c)).find((p) => p.name === r)?.type, f = [], m = e.series[0], g = "temporalBinning" in m ? m.temporalBinning?.trimIncompleteTimeInterval : !1, y = "temporalBinning" in m ? m.temporalBinning?.timeAggregationType : !1;
4015
+ return t.forEach((p, C) => {
4016
+ if (!(g && (C === 0 && y === G.End || C === t.length - 1 && y === G.Start))) {
4017
+ const { attributes: x, stackedAttributes: B } = p;
4018
+ let N = x[l.lowerBoundaryAlias], v = x[l.upperBoundaryAlias];
4019
+ const A = N, w = v, L = (M, O) => {
4020
+ let q = M;
4021
+ if (O === Ye.DateOnly && (typeof M == "string" && M.length === 10 || typeof M == "number"))
4019
4022
  if (typeof M == "string") {
4020
- const O = M.split("-");
4021
- O.length === 3 && (A = ae.local(Number(O[0]), Number(O[1]), Number(O[2])).valueOf());
4023
+ const T = M.split("-");
4024
+ T.length === 3 && (q = ie.local(Number(T[0]), Number(T[1]), Number(T[2])).valueOf());
4022
4025
  } else
4023
- A = new Date(M), A = new Date(A.valueOf() + A.getTimezoneOffset() * 6e4), A = ae.local(A.getFullYear(), A.getMonth() + 1, A.getDate()).valueOf();
4024
- else typeof M == "string" && ["+", "-"].forEach((O) => {
4025
- O && M.lastIndexOf(O) === M.length - 6 && (A = new Date(M.slice(0, M.lastIndexOf(O))).valueOf());
4026
+ q = new Date(M), q = new Date(q.valueOf() + q.getTimezoneOffset() * 6e4), q = ie.local(q.getFullYear(), q.getMonth() + 1, q.getDate()).valueOf();
4027
+ else typeof M == "string" && ["+", "-"].forEach((T) => {
4028
+ T && M.lastIndexOf(T) === M.length - 6 && (q = new Date(M.slice(0, M.lastIndexOf(T))).valueOf());
4026
4029
  });
4027
- return A;
4030
+ return q;
4028
4031
  };
4029
- v = D(v, d), T = D(T, d);
4030
- const R = (M, q) => {
4031
- if (q)
4032
+ N = L(N, d), v = L(v, d);
4033
+ const D = (M, O) => {
4034
+ if (O)
4032
4035
  switch (!0) {
4033
- case (o === re.Zero && (M[q] === void 0 || M[q] === null)):
4034
- M[q] = 0;
4036
+ case (o === ne.Zero && (M[O] === void 0 || M[O] === null)):
4037
+ M[O] = 0;
4035
4038
  break;
4036
- case (o === re.Null && M[q] === 0 && g === P.Count):
4037
- M[q] = null;
4039
+ case o === ne.Null:
4038
4040
  break;
4039
- case (o === re.Interpolate && (M[q] === 0 || M[q] === void 0 || M[q] === null)):
4040
- delete M[q];
4041
+ case (o === ne.Interpolate && (M[O] === void 0 || M[O] === null)):
4042
+ delete M[O];
4041
4043
  break;
4042
4044
  }
4043
4045
  };
4044
- if (typeof v == "number" && typeof T == "number") {
4045
- const M = { ...B };
4046
- M[b.originalServerBinningRange] = [w, L], M[r] = v, M[b.xAxisField] = v, M[b.dateBinningRange] = [v, T], delete M[l.lowerBoundaryAlias], delete M[l.upperBoundaryAlias], N && n && !ee(n) && a ? N.forEach((O) => {
4047
- const H = O[n];
4048
- if (H === null || typeof H == "string" || typeof H == "number") {
4049
- const X = a?.get(H);
4050
- X !== void 0 && (M[X] = O[Y.outStatistics?.outStatisticFieldName ?? ""], R(M, X));
4046
+ if (typeof N == "number" && typeof v == "number") {
4047
+ const M = { ...x };
4048
+ M[b.originalServerBinningRange] = [A, w], M[r] = N, M[b.xAxisField] = N, M[b.dateBinningRange] = [N, v], delete M[l.lowerBoundaryAlias], delete M[l.upperBoundaryAlias], B && n && !Z(n) && a ? B.forEach((T) => {
4049
+ const E = T[n];
4050
+ if (E === null || typeof E == "string" || typeof E == "number") {
4051
+ const H = a?.get(E);
4052
+ H !== void 0 && (M[H] = T[Y.outStatistics?.outStatisticFieldName ?? ""], D(M, H));
4051
4053
  }
4052
- }) : R(M, s);
4053
- const { featureExtent: q, featureExtentKey: A } = Li({
4054
- feature: C,
4054
+ }) : D(M, s);
4055
+ const { featureExtent: O, featureExtentKey: q } = Li({
4056
+ feature: p,
4055
4057
  splitByField: n
4056
4058
  });
4057
- q && (M[A] = q), f.push(M);
4059
+ O && (M[q] = O), f.push(M);
4058
4060
  }
4059
4061
  }
4060
4062
  }), f;
@@ -4128,7 +4130,7 @@ function Ur(i) {
4128
4130
  function _r(i) {
4129
4131
  const { series: e, isTimeBinningSeries: t, setTimeBinningInfoWhenNotProvided: a } = i;
4130
4132
  let n = !1;
4131
- if (oe(e) && t) {
4133
+ if (se(e) && t) {
4132
4134
  const { unit: r, size: s } = e.temporalBinning ?? {};
4133
4135
  n = !St(r, s) && a === !0;
4134
4136
  }
@@ -4140,7 +4142,7 @@ function Yr(i) {
4140
4142
  const a = i[`EXPR_${t}`] ?? i[`Expr${t}`] ?? i[`expr${t}`] ?? i[`EXPR${t}`];
4141
4143
  a !== null && e.push(a);
4142
4144
  }
4143
- return ae.local(
4145
+ return ie.local(
4144
4146
  Number(e[0] ?? 1969),
4145
4147
  Number(e[1] ?? 1),
4146
4148
  Number(e[2] ?? 1),
@@ -4174,7 +4176,7 @@ function Lt(i) {
4174
4176
  function Jr(i, e) {
4175
4177
  const t = i, a = W(e);
4176
4178
  if (a !== S.PieSeries && a !== S.BoxPlotSeries) {
4177
- const n = se(e), r = e[0].y;
4179
+ const n = re(e), r = e[0].y;
4178
4180
  i.forEach((s) => {
4179
4181
  let o = 0;
4180
4182
  if (n.forEach((c) => {
@@ -4192,10 +4194,10 @@ function Jr(i, e) {
4192
4194
  return t;
4193
4195
  }
4194
4196
  function Xr(i, e) {
4195
- const t = e, a = se(i), n = a.length === 1;
4197
+ const t = e, a = re(i), n = a.length === 1;
4196
4198
  return a.forEach((r) => {
4197
- const s = je(n ? void 0 : r), o = t[s[V.FirstQuartile]], c = t[s[V.ThirdQuartile]];
4198
- Number.isFinite(o) && Number.isFinite(c) && c >= o && (t[s[V.IQR]] = c - o);
4199
+ const s = je(n ? void 0 : r), o = t[s[I.FirstQuartile]], c = t[s[I.ThirdQuartile]];
4200
+ Number.isFinite(o) && Number.isFinite(c) && c >= o && (t[s[I.IQR]] = c - o);
4199
4201
  }), t;
4200
4202
  }
4201
4203
  function Zr(i, e) {
@@ -4232,7 +4234,7 @@ function ts(i, e) {
4232
4234
  }
4233
4235
  function is(i) {
4234
4236
  const { dataItem: e, splitByField: t, y: a } = i;
4235
- if (e !== void 0 && !ee(t) && !ee(a)) {
4237
+ if (e !== void 0 && !Z(t) && !Z(a)) {
4236
4238
  const n = e[t], r = `${a}_${n?.toString()}`;
4237
4239
  e[r] = e[a], delete e[a];
4238
4240
  }
@@ -4277,7 +4279,7 @@ function rs(i) {
4277
4279
  t && (a === h.BoxPlotMonoFieldAndSplitBy || a === h.BoxPlotMultiFieldsAndSplitBy || a === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[b.boxPlot.boxPlotMeanLineMarkerId] = !0);
4278
4280
  }
4279
4281
  function ss(i) {
4280
- const { queryResponse: e, chartConfig: t, maxCategoryCount: a } = i, n = E(t.series);
4282
+ const { queryResponse: e, chartConfig: t, maxCategoryCount: a } = i, n = V(t.series);
4281
4283
  return a && Number.isFinite(a) && a < e.length && Ni.includes(n) ? e.slice(0, a) : e;
4282
4284
  }
4283
4285
  function os(i) {
@@ -4308,35 +4310,35 @@ function Mi(i) {
4308
4310
  showMean: u,
4309
4311
  chartLimits: d,
4310
4312
  fieldList: f
4311
- } = i, { series: m } = t, g = E(m), y = W(m), { x: p } = m[0], C = "y" in m[0] ? m[0].y : void 0, F = m[0].query?.outStatistics ?? [], { originalCategoryValue: x, originalDateValue: B, typeOrDomainFieldName: N, typeOrDomainIdValue: v } = b, T = [];
4313
+ } = i, { series: m } = t, g = V(m), y = W(m), { x: p } = m[0], C = "y" in m[0] ? m[0].y : void 0, F = m[0].query?.outStatistics ?? [], { originalCategoryValue: x, originalDateValue: B, typeOrDomainFieldName: N, typeOrDomainIdValue: v } = b, A = [];
4312
4314
  let w = 0;
4313
- const L = /* @__PURE__ */ new Set(), { maxCategoryCount: D } = Re(d), R = ss({ queryResponse: e, chartConfig: t, maxCategoryCount: D });
4314
- for (let M = 0; R[M] && M < R.length && !(l !== void 0 && w >= l); M += 1) {
4315
+ const L = /* @__PURE__ */ new Set(), { maxCategoryCount: D } = Re(d), M = ss({ queryResponse: e, chartConfig: t, maxCategoryCount: D });
4316
+ for (let O = 0; M[O] && O < M.length && !(l !== void 0 && w >= l); O += 1) {
4315
4317
  w += ns(g, t);
4316
- const q = R[M];
4317
- let A = { ...q.attributes };
4318
- if (os({ attributes: A, uniqueCategoryList: L, maxCategoryCount: D, x: p, chartSubType: g }))
4318
+ const q = M[O];
4319
+ let T = { ...q.attributes };
4320
+ if (os({ attributes: T, uniqueCategoryList: L, maxCategoryCount: D, x: p, chartSubType: g }))
4319
4321
  continue;
4320
- es(A, m), g === h.PieFromFields || g === h.BarAndLineFromFields ? A = ts(A, F) : typeof C == "string" && g === h.BarAndLineSplitByNoAggregation ? is({ dataItem: A, splitByField: n, y: C }) : C && (g === h.BoxPlotMonoField || g === h.BoxPlotMonoFieldAndCategory || g === h.BoxPlotMonoFieldAndSplitBy || g === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && as(
4321
- A,
4322
+ es(T, m), g === h.PieFromFields || g === h.BarAndLineFromFields ? T = ts(T, F) : typeof C == "string" && g === h.BarAndLineSplitByNoAggregation ? is({ dataItem: T, splitByField: n, y: C }) : C && (g === h.BoxPlotMonoField || g === h.BoxPlotMonoFieldAndCategory || g === h.BoxPlotMonoFieldAndSplitBy || g === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && as(
4323
+ T,
4322
4324
  typeof C == "string" ? C : C[0]
4323
- ), rs({ attributes: A, showMean: u, chartSubType: g });
4324
- let O = A[p];
4325
- O === null && m[0]?.query?.fetchNullValues === !0 && g !== h.PieFromFields && (A[x] = null, O = b.nullValue), s && typeof O == "string" ? O = new Date(O).valueOf() : o && (O = Yr(A));
4326
- const { outStatisticFieldName: H } = Y.outStatistics ?? {}, { featureExtent: X, featureExtentKey: I } = Li({ feature: q, splitByField: n, chartSubType: g });
4327
- if (X && (A[I] = X), g === h.BarAndLineSplitBy && H !== void 0) {
4328
- const ue = A[n], te = a?.get(ue);
4329
- te !== void 0 && (ue === n && (A[b.technicalFieldSplitByField] = A[te]), A[te] = A[H]), delete A[H];
4330
- } else (g === h.PieNoAggregation || g === h.BarAndLineNoAggregation || g === h.BarAndLineSplitByNoAggregation) && (s ? A[B] = O : O !== b.nullValue && (A[x] = O), Ia({ isXAxis: !0, chartType: y, valueFormat: t.axes?.[0]?.valueFormat }) && (A[b.xAxisField] = `${O}-${M}`), A[Y.uniqueIdsName] = A[r]);
4331
- const Z = ha({
4325
+ ), rs({ attributes: T, showMean: u, chartSubType: g });
4326
+ let E = T[p];
4327
+ E === null && m[0]?.query?.fetchNullValues === !0 && g !== h.PieFromFields && (T[x] = null, E = b.nullValue), s && typeof E == "string" ? E = new Date(E).valueOf() : o && (E = Yr(T));
4328
+ const { outStatisticFieldName: H } = Y.outStatistics ?? {}, { featureExtent: Fe, featureExtentKey: $ } = Li({ feature: q, splitByField: n, chartSubType: g });
4329
+ if (Fe && (T[$] = Fe), g === h.BarAndLineSplitBy && H !== void 0) {
4330
+ const ce = T[n], ee = a?.get(ce);
4331
+ ee !== void 0 && (ce === n && (T[b.technicalFieldSplitByField] = T[ee]), T[ee] = T[H]), delete T[H];
4332
+ } else (g === h.PieNoAggregation || g === h.BarAndLineNoAggregation || g === h.BarAndLineSplitByNoAggregation) && (s ? T[B] = E : E !== b.nullValue && (T[x] = E), Ia({ isXAxis: !0, chartType: y, valueFormat: t.axes?.[0]?.valueFormat }) && (T[b.xAxisField] = `${E}-${O}`), T[Y.uniqueIdsName] = T[r]);
4333
+ const X = ha({
4332
4334
  subtypeInfo: c,
4333
4335
  fieldList: f,
4334
4336
  fieldName: p,
4335
- fieldValueToMatch: O
4337
+ fieldValueToMatch: E
4336
4338
  });
4337
- Z !== void 0 && Z !== O && g !== h.PieFromFields && (A[x] = Z, A[N] = p, A[v] = O), y === S.BoxPlotSeries && (A = Xr(m, A)), y === S.PieSeries && typeof O == "number" && (A[x] === void 0 && (A[x] = A[p]), O = `${O}`), O !== void 0 && (A[x] === void 0 && (A[x] = A[p]), A[p] = Z ?? O, A[p] === null && (A[p] = b.nullValue), A[b.xAxisField] === void 0 && (A[b.xAxisField] = A[v] ?? A[p])), A = Zr(A, t), T.push(A);
4339
+ X !== void 0 && X !== E && g !== h.PieFromFields && (T[x] = X, T[N] = p, T[v] = E), y === S.BoxPlotSeries && (T = Xr(m, T)), y === S.PieSeries && typeof E == "number" && (T[x] === void 0 && (T[x] = T[p]), E = `${E}`), E !== void 0 && (T[x] === void 0 && (T[x] = T[p]), T[p] = X ?? E, T[p] === null && (T[p] = b.nullValue), T[b.xAxisField] === void 0 && (T[b.xAxisField] = T[v] ?? T[p])), T = Zr(T, t), A.push(T);
4338
4340
  }
4339
- return T;
4341
+ return A;
4340
4342
  }
4341
4343
  async function ut(i) {
4342
4344
  const {
@@ -4350,9 +4352,9 @@ async function ut(i) {
4350
4352
  showMean: c,
4351
4353
  chartLimits: l,
4352
4354
  usePopupTemplateFieldsInfo: u
4353
- } = i, { series: d } = a, f = E(d);
4355
+ } = i, { series: d } = a, f = V(d);
4354
4356
  let m = [];
4355
- const g = f === h.BarAndLineSplitBy || f === h.BarAndLineSplitByNoAggregation ? K(d[0].query?.where) : "", y = await ye({
4357
+ const g = f === h.BarAndLineSplitBy || f === h.BarAndLineSplitByNoAggregation ? K(d[0].query?.where) : "", y = await ge({
4356
4358
  queryObject: e,
4357
4359
  queryConfig: t,
4358
4360
  featureCount: s,
@@ -4377,7 +4379,7 @@ async function ut(i) {
4377
4379
  )), m;
4378
4380
  }
4379
4381
  async function wi(i) {
4380
- const { chartConfig: e, queryObject: t, queryConfig: a, numberMaxOfFeaturesToFetch: n, behaviorAfterLimit: r, isGaugeByFeature: s } = i, { series: o } = e, c = E(o), { x: l } = o[0], u = o.length;
4382
+ const { chartConfig: e, queryObject: t, queryConfig: a, numberMaxOfFeaturesToFetch: n, behaviorAfterLimit: r, isGaugeByFeature: s } = i, { series: o } = e, c = V(o), { x: l } = o[0], u = o.length;
4381
4383
  let d, f;
4382
4384
  if (c === h.BoxPlotMonoField || c === h.BoxPlotMonoFieldAndSplitBy ? (f = u, d = f) : c === h.BoxPlotMultiFields || c === h.BoxPlotMultiFieldsAndSplitBy ? (f = e.series[0].y.length, d = f) : c === h.PieFromFields || c === h.BarAndLineFromFields ? (f = o[0].query?.outStatistics?.filter(
4383
4385
  (m) => m.statisticType !== P.EnvelopeAggregate
@@ -4390,7 +4392,7 @@ async function wi(i) {
4390
4392
  function Ke(i) {
4391
4393
  const { arrayToSort: e, chartConfig: t, fieldList: a, isTimeBinningSeries: n } = i;
4392
4394
  if (n !== !0) {
4393
- const { series: r } = t, s = E(r), o = W(r), c = pe(t), l = xt(t);
4395
+ const { series: r } = t, s = V(r), o = W(r), c = ye(t), l = xt(t);
4394
4396
  if (o === S.HeatSeries)
4395
4397
  l !== void 0 && Ge({
4396
4398
  arrayToSort: e,
@@ -4429,7 +4431,7 @@ function Ke(i) {
4429
4431
  async function Bt(i) {
4430
4432
  const { chartConfig: e, queryConfig: t, fetchFullBoxPlotData: a, options: n, queryObject: r, abortKey: s, fieldList: o } = i, c = "showMean" in e && typeof e.showMean == "boolean" ? e.showMean : !1, { chartLimits: l, usePopupTemplateFieldsInfo: u } = n ?? {}, d = n?.replaceNoValueCategoryWithZero ?? b.options.replaceNoValueCategoryWithZero, { behaviorAfterLimit: f } = l ?? {}, m = { valid: !0 };
4431
4433
  let g, y = !1;
4432
- const p = e.series, C = p[0], F = E(e.series);
4434
+ const p = e.series, C = p[0], F = V(e.series);
4433
4435
  if (C !== void 0 && r !== void 0) {
4434
4436
  const x = W(p), { uniqueQuery: B, mapToStatField: N } = await ct({
4435
4437
  chartConfig: e,
@@ -4438,16 +4440,16 @@ async function Bt(i) {
4438
4440
  fetchFullBoxPlotData: a,
4439
4441
  options: n
4440
4442
  });
4441
- let { categoryOrDateCount: v, elementCount: T } = await wi({
4443
+ let { categoryOrDateCount: v, elementCount: A } = await wi({
4442
4444
  chartConfig: e,
4443
4445
  queryObject: r,
4444
4446
  queryConfig: t,
4445
4447
  behaviorAfterLimit: f,
4446
4448
  numberMaxOfFeaturesToFetch: B.num
4447
4449
  });
4448
- const w = !Number.isFinite(T);
4449
- let L = w || Se({
4450
- count: T ?? 0,
4450
+ const w = !Number.isFinite(A);
4451
+ let L = w || he({
4452
+ count: A ?? 0,
4451
4453
  seriesCount: p.length,
4452
4454
  chartType: x,
4453
4455
  chartLimits: l
@@ -4457,7 +4459,7 @@ async function Bt(i) {
4457
4459
  uniqueQuery: B,
4458
4460
  chartConfig: e,
4459
4461
  mapToStatField: N,
4460
- elementCount: T,
4462
+ elementCount: A,
4461
4463
  isTimeBinningSeries: !1,
4462
4464
  showMean: c,
4463
4465
  chartLimits: l,
@@ -4469,11 +4471,11 @@ async function Bt(i) {
4469
4471
  fetchFullBoxPlotData: a,
4470
4472
  uniqueQuery: B,
4471
4473
  chartConfig: e,
4472
- elementCount: T,
4474
+ elementCount: A,
4473
4475
  chartLimits: l,
4474
4476
  abortKey: s
4475
- }), l?.maxBoxPlotOutlierLimit !== void 0 && (L = (m.data.outliers ?? []).length <= l.maxBoxPlotOutlierLimit, y = !L)), w && (v = g.length, T = Ft(F) ? v * p.length : v, L = Se({
4476
- count: T,
4477
+ }), l?.maxBoxPlotOutlierLimit !== void 0 && (L = (m.data.outliers ?? []).length <= l.maxBoxPlotOutlierLimit, y = !L)), w && (v = g.length, A = Ft(F) ? v * p.length : v, L = he({
4478
+ count: A,
4477
4479
  seriesCount: p.length,
4478
4480
  chartType: x,
4479
4481
  chartLimits: l
@@ -4481,12 +4483,12 @@ async function Bt(i) {
4481
4483
  if (x === S.PieSeries) {
4482
4484
  F === h.PieFromFields && (g = st({
4483
4485
  dataToConvert: g[0],
4484
- x: ne,
4485
- y: he,
4486
+ x: ae,
4487
+ y: pe,
4486
4488
  fieldList: o
4487
4489
  }));
4488
4490
  let D = "";
4489
- F === h.PieFromFields ? D = he : "y" in C && typeof C.y == "string" && (D = C.y), on(g, D) ? m.data = { dataItems: g } : pn(m, $.PieChartMixOfNegativePositiveSlices);
4491
+ F === h.PieFromFields ? D = pe : "y" in C && typeof C.y == "string" && (D = C.y), on(g, D) ? m.data = { dataItems: g } : pn(m, R.PieChartMixOfNegativePositiveSlices);
4490
4492
  } else if ((x === S.RadarSeries || x === S.BarSeries || x === S.LineSeries || x === S.ComboLineAndBarSeries) && (F === h.BarAndLineFromFields && "y" in C && typeof C.y == "string" ? g = st({
4491
4493
  dataToConvert: g[0],
4492
4494
  x: C.x,
@@ -4500,22 +4502,22 @@ async function Bt(i) {
4500
4502
  categoryOrDateCount: v,
4501
4503
  behaviorAfterLimit: f,
4502
4504
  abortKey: s
4503
- }), T = Ft(F) ? g.length * p.length : g.length, L = Se({
4504
- count: T,
4505
+ }), A = Ft(F) ? g.length * p.length : g.length, L = he({
4506
+ count: A,
4505
4507
  seriesCount: p.length,
4506
4508
  chartType: x,
4507
4509
  chartLimits: l
4508
4510
  }), L)) {
4509
4511
  d && (g = Mr(g, e)), Ke({ arrayToSort: g, chartConfig: e, fieldList: o });
4510
4512
  let D = {};
4511
- if (oe(C)) {
4512
- const { size: R, unit: M } = C.temporalBinning ?? {};
4513
- R !== void 0 && M !== void 0 && (D = { size: R, unit: M });
4513
+ if (se(C)) {
4514
+ const { size: M, unit: O } = C.temporalBinning ?? {};
4515
+ M !== void 0 && O !== void 0 && (D = { size: M, unit: O });
4514
4516
  }
4515
4517
  m.data = { dataItems: g, timeIntervalInfo: D };
4516
4518
  }
4517
4519
  }
4518
- L || ot({ dataInfo: m, chartType: x, subError: { outlierLimit: y } }), m.count = T;
4520
+ L || ot({ dataInfo: m, chartType: x, subError: { outlierLimit: y } }), m.count = A;
4519
4521
  }
4520
4522
  return m;
4521
4523
  }
@@ -4547,7 +4549,7 @@ async function Di(i) {
4547
4549
  errorStrings: r,
4548
4550
  abortKey: o
4549
4551
  });
4550
- if (!Se({
4552
+ if (!he({
4551
4553
  count: C?.length ?? 0,
4552
4554
  seriesCount: 1,
4553
4555
  chartType: S.HeatSeries,
@@ -4571,17 +4573,17 @@ async function Di(i) {
4571
4573
  const B = await yt({ queryObject: a, queryConfig: t, category: f, abortKey: o }), N = await yt({ queryObject: a, queryConfig: t, category: m, abortKey: o });
4572
4574
  if (l.length !== B?.length * N?.length) {
4573
4575
  const v = B.flatMap(
4574
- (T) => N.map((w) => ({
4575
- [k.xField]: T,
4576
+ (A) => N.map((w) => ({
4577
+ [k.xField]: A,
4576
4578
  [k.yField]: w,
4577
- [k.valueField]: d === re.Zero ? 0 : null
4579
+ [k.valueField]: d === ne.Zero ? 0 : null
4578
4580
  }))
4579
4581
  );
4580
4582
  l = [
4581
4583
  ...l,
4582
4584
  ...v.filter(
4583
- (T) => !l.some(
4584
- (w) => `${w[k.xField]}${w[k.yField]}` == `${T[k.xField]}${T[k.yField]}`
4585
+ (A) => !l.some(
4586
+ (w) => `${w[k.xField]}${w[k.yField]}` == `${A[k.xField]}${A[k.yField]}`
4585
4587
  )
4586
4588
  )
4587
4589
  ];
@@ -4596,8 +4598,8 @@ async function Di(i) {
4596
4598
  }), F = y ? ls(y.unit) : await yt({ queryObject: a, queryConfig: t, category: m, abortKey: o });
4597
4599
  let x = 0;
4598
4600
  l = C?.features.flatMap((B) => {
4599
- const N = [], { attributes: v, stackedAttributes: T } = B, w = [];
4600
- return T?.forEach((L) => {
4601
+ const N = [], { attributes: v, stackedAttributes: A } = B, w = [];
4602
+ return A?.forEach((L) => {
4601
4603
  const D = `${L[m]}`;
4602
4604
  w.push(D), N.push({
4603
4605
  [k.xField]: `${v.lowerBoundary}`,
@@ -4608,10 +4610,10 @@ async function Di(i) {
4608
4610
  N.push({
4609
4611
  [k.xField]: `${v.lowerBoundary}`,
4610
4612
  [k.yField]: D,
4611
- [k.valueField]: d === re.Zero ? 0 : null
4613
+ [k.valueField]: d === ne.Zero ? 0 : null
4612
4614
  });
4613
4615
  }), x += N.length, N;
4614
- }), Se({
4616
+ }), he({
4615
4617
  count: x,
4616
4618
  seriesCount: 1,
4617
4619
  chartType: S.HeatSeries,
@@ -4626,7 +4628,7 @@ function cs(i) {
4626
4628
  let r = a;
4627
4629
  const s = fi(e, t?.chartLimits);
4628
4630
  if (s !== void 0) {
4629
- const o = se(n);
4631
+ const o = re(n);
4630
4632
  if (o.length === 1)
4631
4633
  r = a.filter((c) => Number.isFinite(c[o[0]])).slice(0, s);
4632
4634
  else if (a.length * o.length > s) {
@@ -4651,7 +4653,7 @@ function cs(i) {
4651
4653
  async function wt(i) {
4652
4654
  const { chartConfig: e, queryConfig: t, queryObject: a, abortKey: n, binnedServerData: r, options: s } = i, { chartLimits: o, usePopupTemplateFieldsInfo: c } = s ?? {}, { behaviorAfterLimit: l } = o ?? {}, u = e.series, d = u[0], { x: f } = d, m = K(d.query?.where), g = { valid: !0 };
4653
4655
  let y;
4654
- if (oe(d)) {
4656
+ if (se(d)) {
4655
4657
  const { temporalBinning: p } = d;
4656
4658
  if (a && p) {
4657
4659
  const { unit: C, size: F } = p;
@@ -4661,8 +4663,8 @@ async function wt(i) {
4661
4663
  isTimeBinningSeries: !0,
4662
4664
  setTimeBinningInfoWhenNotProvided: s?.setTimeBinningInfoWhenNotProvided
4663
4665
  });
4664
- let T = r?.timeBinningStats;
4665
- !T && (!Qe(a) || v) && (T = await $r({ queryObject: a, queryConfig: t, x: f })), v && T && T.numberOfFeatures > 0 && T.dateRange.dateMaxTimestamp !== void 0 && T.dateRange.dateMinTimestamp !== void 0 && (B = Ur(T), (await Te(a)).find((q) => q.name === f)?.type === Ye.DateOnly && B.unit !== void 0 && [
4666
+ let A = r?.timeBinningStats;
4667
+ !A && (!Qe(a) || v) && (A = await $r({ queryObject: a, queryConfig: t, x: f })), v && A && A.numberOfFeatures > 0 && A.dateRange.dateMaxTimestamp !== void 0 && A.dateRange.dateMinTimestamp !== void 0 && (B = Ur(A), (await Te(a)).find((q) => q.name === f)?.type === Ye.DateOnly && B.unit !== void 0 && [
4666
4668
  j.Hour,
4667
4669
  j.Minute,
4668
4670
  j.Second
@@ -4674,7 +4676,7 @@ async function wt(i) {
4674
4676
  timeIntervalInfo: B,
4675
4677
  options: s
4676
4678
  });
4677
- let D = Se({
4679
+ let D = he({
4678
4680
  count: x ?? 0,
4679
4681
  seriesCount: u.length,
4680
4682
  chartType: S.LineSeries,
@@ -4682,45 +4684,45 @@ async function wt(i) {
4682
4684
  });
4683
4685
  if (D) {
4684
4686
  if (Qe(a)) {
4685
- const R = await ai({
4687
+ const M = await ai({
4686
4688
  queryObject: a,
4687
4689
  dateField: f,
4688
4690
  splitByField: m,
4689
4691
  queryConfig: w,
4690
4692
  temporalBinning: p
4691
- }), M = "y" in d && typeof d.y == "string" ? d.y : void 0;
4693
+ }), O = "y" in d && typeof d.y == "string" ? d.y : void 0;
4692
4694
  if (y = await Hr({
4693
4695
  chartConfig: e,
4694
- queryResults: R,
4696
+ queryResults: M,
4695
4697
  mapToStatField: L,
4696
4698
  splitByField: m,
4697
4699
  x: f,
4698
- y: M,
4700
+ y: O,
4699
4701
  nullPolicy: p.nullPolicy,
4700
4702
  queryObject: a
4701
- }), !Se({
4703
+ }), !he({
4702
4704
  count: y.length,
4703
4705
  seriesCount: u.length,
4704
4706
  chartType: S.LineSeries,
4705
4707
  chartLimits: o
4706
4708
  })) {
4707
- const q = se(u), A = y.filter(
4708
- (O) => q.some((H) => H in O && Number.isFinite(O[H]))
4709
+ const q = re(u), T = y.filter(
4710
+ (E) => q.some((H) => H in E && Number.isFinite(E[H]))
4709
4711
  ).length;
4710
- Se({
4711
- count: A,
4712
+ he({
4713
+ count: T,
4712
4714
  seriesCount: u.length,
4713
4715
  chartType: S.LineSeries,
4714
4716
  chartLimits: o
4715
4717
  }) || (D = !1);
4716
4718
  }
4717
- } else if (T?.dateRange.dateMinTimestamp && T.dateRange.dateMaxTimestamp) {
4718
- const { numberOfFinalBinsWithinDataRange: R } = Ai({
4719
- dateMinTimestamp: T.dateRange.dateMinTimestamp,
4720
- dateMaxTimestamp: T.dateRange.dateMaxTimestamp,
4719
+ } else if (A?.dateRange.dateMinTimestamp && A.dateRange.dateMaxTimestamp) {
4720
+ const { numberOfFinalBinsWithinDataRange: M } = Ai({
4721
+ dateMinTimestamp: A.dateRange.dateMinTimestamp,
4722
+ dateMaxTimestamp: A.dateRange.dateMaxTimestamp,
4721
4723
  timeIntervalInfo: B
4722
4724
  });
4723
- x = R * u.length, x = Ti(x, B.unit), y = r?.data ?? await ut({
4725
+ x = M * u.length, x = Ti(x, B.unit), y = r?.data ?? await ut({
4724
4726
  queryObject: a,
4725
4727
  uniqueQuery: w,
4726
4728
  chartConfig: e,
@@ -4730,19 +4732,19 @@ async function wt(i) {
4730
4732
  isTimeBinningSeries: !0,
4731
4733
  usePopupTemplateFieldsInfo: c,
4732
4734
  abortKey: n
4733
- }), g.binnedServerData = { data: Ce(y), timeBinningStats: T }, y = await zr({
4735
+ }), g.binnedServerData = { data: Ce(y), timeBinningStats: A }, y = await zr({
4734
4736
  queryObject: a,
4735
4737
  queryConfig: t,
4736
4738
  queryResults: y,
4737
4739
  x: f,
4738
4740
  seriesConfig: u,
4739
- dateRange: T.dateRange,
4741
+ dateRange: A.dateRange,
4740
4742
  timeIntervalInfo: B
4741
4743
  });
4742
4744
  }
4743
4745
  fa(a) && y && y?.length === wr && (N = !0), l === $e.RenderUpToTheLimit && y && (y = cs({ chartConfig: e, options: s, data: y }));
4744
4746
  }
4745
- D || (g.valid = !1, g.invalidType = $.LineChartExceedsLimit), y && y.length > 0 && (y[y.length - 1][b.lastTemporalBin] = !0), g.data = { dataItems: y, timeIntervalInfo: B, serverLimitReached: N }, g.count = x;
4747
+ D || (g.valid = !1, g.invalidType = R.LineChartExceedsLimit), y && y.length > 0 && (y[y.length - 1][b.lastTemporalBin] = !0), g.data = { dataItems: y, timeIntervalInfo: B, serverLimitReached: N }, g.count = x;
4746
4748
  }
4747
4749
  }
4748
4750
  return g;
@@ -4752,7 +4754,7 @@ async function us(i) {
4752
4754
  if (a !== void 0) {
4753
4755
  const d = e.series, f = Ne({
4754
4756
  seriesConfig: d[0],
4755
- xAxisValueFormatType: pe(e),
4757
+ xAxisValueFormatType: ye(e),
4756
4758
  setTimeBinningInfoWhenNotProvided: o
4757
4759
  }), { uniqueQuery: m, mapToStatField: g } = await ct({
4758
4760
  chartConfig: e,
@@ -4828,7 +4830,7 @@ function Zo(i, e = ":") {
4828
4830
  function el(i) {
4829
4831
  return (t) => {
4830
4832
  let a = typeof t != "string" ? t?.toString() ?? "" : t;
4831
- return !ee(a) && a !== b.htmlEmptyContent && (a = ms({
4833
+ return !Z(a) && a !== b.htmlEmptyContent && (a = ms({
4832
4834
  stringToTruncate: a,
4833
4835
  characterLimit: i
4834
4836
  })), a;
@@ -4871,28 +4873,28 @@ function il(i) {
4871
4873
  if (e.chartRenderer)
4872
4874
  a = !0;
4873
4875
  else {
4874
- const { series: n } = e, r = W(n), s = E(n), o = we(e), c = Ne({
4876
+ const { series: n } = e, r = W(n), s = V(n), o = we(e), c = Ne({
4875
4877
  seriesConfig: o
4876
4878
  }), u = z(t)?.renderer;
4877
4879
  switch (u?.type) {
4878
- case ie.Simple:
4880
+ case te.Simple:
4879
4881
  a = r === S.HistogramSeries || r === S.ScatterSeries || s === h.BarAndLineMonoField || s === h.BoxPlotMonoField || s === h.BoxPlotMultiFields || s === h.BoxPlotMonoFieldAndCategory || s === h.BarAndLineNoAggregation && n.length === 1 && !c;
4880
4882
  break;
4881
- case ie.UniqueValue:
4883
+ case te.UniqueValue:
4882
4884
  {
4883
4885
  const f = u?.field, m = K(o.query?.where), { x: g } = o;
4884
4886
  a = (s === h.BoxPlotMonoFieldAndSplitBy || s === h.BoxPlotMultiFieldsAndSplitBy || s === h.BoxPlotMonoFieldAndCategoryAndSplitBy || s === h.BarAndLineSplitByNoAggregation || s === h.BarAndLineSplitBy) && f === m || (s === h.BoxPlotMonoFieldAndCategory || s === h.PieFromCategory || s === h.BarAndLineMonoField) && f === g || s === h.BarAndLineNoAggregation || s === h.PieNoAggregation || r === S.ScatterSeries;
4885
4887
  }
4886
4888
  break;
4887
- case ie.PieChart:
4889
+ case te.PieChart:
4888
4890
  a = s === h.PieFromFields || s === h.BarAndLineFromFields || s === h.BarAndLineMultiFields || s === h.BarAndLineMonoField || s === h.BoxPlotMonoField || s === h.BoxPlotMultiFields || s === h.BoxPlotMonoFieldAndCategory || s === h.BoxPlotMultiFieldsAndCategory;
4889
4891
  break;
4890
- case ie.ClassBreaks:
4892
+ case te.ClassBreaks:
4891
4893
  a = r === S.ScatterSeries || s === h.BarAndLineNoAggregation || s === h.PieNoAggregation;
4892
4894
  break;
4893
- case ie.Dictionary:
4894
- case ie.DotDensity:
4895
- case ie.Heatmap:
4895
+ case te.Dictionary:
4896
+ case te.DotDensity:
4897
+ case te.Heatmap:
4896
4898
  break;
4897
4899
  }
4898
4900
  }
@@ -4972,14 +4974,14 @@ function xs(i) {
4972
4974
  function Cs(i) {
4973
4975
  const { seriesConfig: e, chartSubType: t, rendererType: a } = i;
4974
4976
  let r = b.rendererSymbolField;
4975
- if (a === ie.UniqueValue) {
4977
+ if (a === te.UniqueValue) {
4976
4978
  if (Kt(t)) {
4977
- const s = ge({
4979
+ const s = me({
4978
4980
  where: e.query?.where
4979
4981
  });
4980
4982
  s === null ? r = b.nullValue : t === h.BarAndLineSplitBy && typeof e.y == "string" ? r = e.y : t === h.BarAndLineSplitByNoAggregation && typeof e.y == "string" ? r = `${e.y}_${s}` : r = `${s}`;
4981
4983
  }
4982
- } else if (a === ie.PieChart)
4984
+ } else if (a === te.PieChart)
4983
4985
  switch (t) {
4984
4986
  case h.BoxPlotMultiFields:
4985
4987
  r = Array.isArray(e.y) ? e.y.flat() : e.y;
@@ -5001,7 +5003,7 @@ function Ei(i) {
5001
5003
  chartSubType: t,
5002
5004
  rendererType: a
5003
5005
  });
5004
- return r instanceof Array && e.type === S.BoxPlotSeries && a === ie.PieChart && n !== void 0 && (r = r.find((s) => s === n[Jt]) ?? r[0]), r = r !== b.rendererSymbolField ? `${b.rendererSymbolField}_${r.toString()}` : r, r;
5006
+ return r instanceof Array && e.type === S.BoxPlotSeries && a === te.PieChart && n !== void 0 && (r = r.find((s) => s === n[Jt]) ?? r[0]), r = r !== b.rendererSymbolField ? `${b.rendererSymbolField}_${r.toString()}` : r, r;
5005
5007
  }
5006
5008
  function Bs(i) {
5007
5009
  const { chartRenderer: e, queryObject: t } = i, a = e !== void 0 ? {
@@ -5028,7 +5030,7 @@ async function vs(i) {
5028
5030
  mapAttributesToSymbol: u
5029
5031
  } = i;
5030
5032
  let d, f = !1;
5031
- if (n === ie.PieChart) {
5033
+ if (n === te.PieChart) {
5032
5034
  const m = xs({
5033
5035
  renderer: a,
5034
5036
  seriesConfig: e,
@@ -5046,7 +5048,7 @@ async function vs(i) {
5046
5048
  chartSubType: s,
5047
5049
  rendererType: n,
5048
5050
  dataItem: t
5049
- }), C = ge({
5051
+ }), C = me({
5050
5052
  where: y.query?.where,
5051
5053
  normalize: !0,
5052
5054
  keepSurroundingQuotes: !1,
@@ -5080,7 +5082,7 @@ async function vs(i) {
5080
5082
  if (d = (await gt.getDisplayedSymbol(p))?.toJSON(), d != null) {
5081
5083
  d.color === void 0 && (d.color = (await gt.getDisplayedColor(p))?.toJSON());
5082
5084
  const v = await gt.getLegendLabel(p);
5083
- v != null && v !== "" && (d.label = v, d.uniqueValue = C?.find((T) => T.label === v)?.value ?? void 0);
5085
+ v != null && v !== "" && (d.label = v, d.uniqueValue = C?.find((A) => A.label === v)?.value ?? void 0);
5084
5086
  }
5085
5087
  u?.set(JSON.stringify(B), d);
5086
5088
  }
@@ -5124,7 +5126,7 @@ async function al(i) {
5124
5126
  const g = Ss(l, d?.renderer), y = Bs({
5125
5127
  chartRenderer: c,
5126
5128
  queryObject: t
5127
- }), p = E(o), C = we(a), F = K(C.query?.where);
5129
+ }), p = V(o), C = we(a), F = K(C.query?.where);
5128
5130
  m = /* @__PURE__ */ new Map();
5129
5131
  for (let x = 0; x < e.length; x += 1) {
5130
5132
  const B = e[x], N = await vs({
@@ -5175,7 +5177,7 @@ function nl(i) {
5175
5177
  }
5176
5178
  function As(i) {
5177
5179
  let e = [];
5178
- return i && (e = i.series.flatMap((t) => t.query?.outStatistics?.map((a) => a.onStatisticField)).filter((t) => t !== void 0), e.length === 0 && (e = se(i.series))), e;
5180
+ return i && (e = i.series.flatMap((t) => t.query?.outStatistics?.map((a) => a.onStatisticField)).filter((t) => t !== void 0), e.length === 0 && (e = re(i.series))), e;
5179
5181
  }
5180
5182
  function rl(i, e) {
5181
5183
  let t = !1;
@@ -5225,8 +5227,8 @@ async function Ls(i) {
5225
5227
  runtimeDataFilters: a?.runtimeDataFilters,
5226
5228
  ignoreViewExtent: a?.ignoreViewExtent
5227
5229
  });
5228
- if (o.outStatistics?.[0]?.outStatisticFieldName && (o.outStatistics[0].outStatisticFieldName = Y.outStatistics.outStatisticFieldName), oe(s) && Ne({
5229
- xAxisValueFormatType: pe(t),
5230
+ if (o.outStatistics?.[0]?.outStatisticFieldName && (o.outStatistics[0].outStatisticFieldName = Y.outStatistics.outStatisticFieldName), se(s) && Ne({
5231
+ xAxisValueFormatType: ye(t),
5230
5232
  setTimeBinningInfoWhenNotProvided: a?.setTimeBinningInfoWhenNotProvided,
5231
5233
  seriesConfig: s
5232
5234
  }) && Qe(e)) {
@@ -5252,7 +5254,7 @@ async function Ls(i) {
5252
5254
  queryObject: e,
5253
5255
  queryConfig: o,
5254
5256
  options: a
5255
- }), l = await ye({
5257
+ }), l = await ge({
5256
5258
  queryObject: e,
5257
5259
  queryConfig: c,
5258
5260
  featureCount: 1
@@ -5268,7 +5270,7 @@ async function Ls(i) {
5268
5270
  function Ms(i, e) {
5269
5271
  const t = /* @__PURE__ */ new Map();
5270
5272
  return i.series.forEach((a) => {
5271
- let n = ge({
5273
+ let n = me({
5272
5274
  where: a.query?.where,
5273
5275
  // normalize the value so it matches what we get from getAllValues()
5274
5276
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
@@ -5317,7 +5319,7 @@ async function ul(i) {
5317
5319
  if (r !== void 0 && t !== void 0 && (t.series.length > 0 || s !== void 0) && r.addMissingSeries) {
5318
5320
  const o = t.series.length === 0;
5319
5321
  t.series.length === 0 && s !== void 0 && t.series.push(s);
5320
- const c = E(t.series);
5322
+ const c = V(t.series);
5321
5323
  if ((c === h.BoxPlotMonoFieldAndSplitBy || c === h.BoxPlotMultiFieldsAndSplitBy || c === h.BoxPlotMonoFieldAndCategoryAndSplitBy || c === h.BarAndLineSplitBy || c === h.BarAndLineSplitByNoAggregation) && n !== void 0) {
5322
5324
  const l = K(t.series[0]?.query?.where), u = z(n);
5323
5325
  await u.load();
@@ -5367,14 +5369,14 @@ export {
5367
5369
  jt as N,
5368
5370
  ro as O,
5369
5371
  oo as P,
5370
- fe as Q,
5372
+ de as Q,
5371
5373
  Ee as R,
5372
5374
  To as S,
5373
5375
  $o as T,
5374
5376
  yn as U,
5375
5377
  el as V,
5376
5378
  _a as W,
5377
- pe as X,
5379
+ ye as X,
5378
5380
  Uo as Y,
5379
5381
  wo as Z,
5380
5382
  Go as _,