@arcgis/charts-components 5.0.0-next.112 → 5.0.0-next.113

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 (286) hide show
  1. package/dist/cdn/{UH7CXBB3.js → 22K2EZQP.js} +2 -2
  2. package/dist/cdn/{SUKQFJCD.js → 24VUJTO7.js} +1 -1
  3. package/dist/cdn/{3Z2PK4GO.js → 2HWRB5HI.js} +2 -2
  4. package/dist/cdn/{6M7YBIAU.js → 2KW4LBN7.js} +1 -1
  5. package/dist/cdn/{RHWEMKO4.js → 2PLJKI2W.js} +1 -1
  6. package/dist/cdn/{AGSM4EWJ.js → 2SZBIEBN.js} +2 -2
  7. package/dist/cdn/{TBFYLG3X.js → 2U36JZBH.js} +2 -2
  8. package/dist/cdn/{HJS3QSUG.js → 32E3JP3J.js} +2 -2
  9. package/dist/cdn/{JFLRQJVQ.js → 3A2XXIIS.js} +2 -2
  10. package/dist/cdn/3D24GIFW.js +4 -0
  11. package/dist/cdn/{KRKIT6KM.js → 3HD2T4DD.js} +2 -2
  12. package/dist/cdn/{CGKENJKB.js → 3LNVUOQN.js} +2 -2
  13. package/dist/cdn/{F5WW6676.js → 3PE2NUEG.js} +2 -2
  14. package/dist/cdn/{VNDD7U27.js → 3ZQBBDV2.js} +2 -2
  15. package/dist/cdn/{S6ZFMFVV.js → 46UDMHVB.js} +2 -2
  16. package/dist/cdn/{JOYVX3OZ.js → 47HYKTJW.js} +2 -2
  17. package/dist/cdn/{BGFI7EZL.js → 4GFSYJAJ.js} +2 -2
  18. package/dist/cdn/{6AF7PE6S.js → 4JNTWJL2.js} +2 -2
  19. package/dist/cdn/{R6NGSEKV.js → 5JQBK7AJ.js} +2 -2
  20. package/dist/cdn/{7IY7LJYZ.js → 5VHQLG3Y.js} +2 -2
  21. package/dist/cdn/{TVOBVBVH.js → 62SE5JEG.js} +2 -2
  22. package/dist/cdn/{VX2N4VUX.js → 66G6UO37.js} +2 -2
  23. package/dist/cdn/{W5BXPUH3.js → 6BB5T7CX.js} +2 -2
  24. package/dist/cdn/{X6OOPAZD.js → 6DLXFK4Y.js} +2 -2
  25. package/dist/cdn/{W4A7OZA6.js → 6OYCR4AO.js} +2 -2
  26. package/dist/cdn/{S6K4OSMT.js → 6RIRGKD4.js} +2 -2
  27. package/dist/cdn/{GAER5YBN.js → 6SP7BCJO.js} +1 -1
  28. package/dist/cdn/{7SRKH4PM.js → 6YJCOKRY.js} +2 -2
  29. package/dist/cdn/{IAY3LIYF.js → 6YJTP5BF.js} +2 -2
  30. package/dist/cdn/{CJ7W2NQS.js → 7CNUQ7TY.js} +2 -2
  31. package/dist/cdn/{AIZJBR6C.js → 7HCS7YMO.js} +2 -2
  32. package/dist/cdn/{EST5HELS.js → 7ILAMVBV.js} +2 -2
  33. package/dist/cdn/{5IZDJYSR.js → 7IVRL6TK.js} +2 -2
  34. package/dist/cdn/{PDM3GRJU.js → 7JP6DG64.js} +2 -2
  35. package/dist/cdn/{W2MQFMYN.js → 7PHB54DX.js} +2 -2
  36. package/dist/cdn/{Q3EFRJUZ.js → 7SKMK2OS.js} +2 -2
  37. package/dist/cdn/{LRKDJ5OR.js → 7SQIR5MR.js} +2 -2
  38. package/dist/cdn/{FKOZL46R.js → 7VR2DCJN.js} +2 -2
  39. package/dist/cdn/{HZQ2H74J.js → 7ZKWG7CM.js} +2 -2
  40. package/dist/cdn/{YWUDRSMX.js → A2NTSBPN.js} +2 -2
  41. package/dist/cdn/{KTSZ4ZZX.js → AUPZ5Z6Y.js} +2 -2
  42. package/dist/cdn/{ATY2ZNOF.js → AZ3GOWWK.js} +2 -2
  43. package/dist/cdn/{DMUH773V.js → BLTOGKDC.js} +2 -2
  44. package/dist/cdn/{72JXGUPC.js → BN2NA5GG.js} +2 -2
  45. package/dist/cdn/{ET645KVO.js → BPP4GLBM.js} +2 -2
  46. package/dist/cdn/{MQQOMYXG.js → BRO6TSQJ.js} +2 -2
  47. package/dist/cdn/{QPYXOJN7.js → C2YE6KB6.js} +2 -2
  48. package/dist/cdn/{MDJIED6T.js → C3WBFPR7.js} +2 -2
  49. package/dist/cdn/{WBK4DMSY.js → CCCXR3NQ.js} +2 -2
  50. package/dist/cdn/{VMO6ZKUD.js → CE45CODD.js} +2 -2
  51. package/dist/cdn/{7RSTSFAF.js → CHVSFKNB.js} +2 -2
  52. package/dist/cdn/{ZYHCYICJ.js → CQVQ2BU2.js} +1 -1
  53. package/dist/cdn/{FQLUS5EI.js → CS32QUZD.js} +2 -2
  54. package/dist/cdn/{PELOQRS2.js → DN3TUYIQ.js} +2 -2
  55. package/dist/cdn/{HF4YBPCC.js → DT25NLE4.js} +2 -2
  56. package/dist/cdn/{V2IBTMX7.js → DYOPGAX5.js} +2 -2
  57. package/dist/cdn/{IVMC7S4S.js → E6S5FISL.js} +2 -2
  58. package/dist/cdn/{MMDUNBWH.js → EF6EETS2.js} +2 -2
  59. package/dist/cdn/{L6JUUFBQ.js → EIRNUEXN.js} +2 -2
  60. package/dist/cdn/{DAF44UMU.js → F4HNXKJV.js} +2 -2
  61. package/dist/cdn/{JXYEKXCR.js → F5J44NJK.js} +2 -2
  62. package/dist/cdn/{LCBFRXDT.js → FVEIH5AB.js} +2 -2
  63. package/dist/cdn/{NEF2NWKN.js → GBJWM7U7.js} +2 -2
  64. package/dist/cdn/{NP2MBDQJ.js → GJ27TRSC.js} +2 -2
  65. package/dist/cdn/{KANUBR4Q.js → GJMQNLIU.js} +2 -2
  66. package/dist/cdn/{J5PZQBWE.js → GKVMYRIW.js} +2 -2
  67. package/dist/cdn/{JASYKPQB.js → GN6B5JQY.js} +2 -2
  68. package/dist/cdn/{SA7IBIKH.js → GOT2TCI3.js} +2 -2
  69. package/dist/cdn/{BOKL6PMP.js → GT2FBH6H.js} +2 -2
  70. package/dist/cdn/{XGRWDX6S.js → GWKKVMG6.js} +2 -2
  71. package/dist/cdn/{ACSLQJIT.js → H2UUUHO6.js} +2 -2
  72. package/dist/cdn/{USWAJALK.js → H34IUP5R.js} +2 -2
  73. package/dist/cdn/{VG7ZSC7M.js → HJEM5WZL.js} +2 -2
  74. package/dist/cdn/{BSLFHCLJ.js → HMYIQX2F.js} +2 -2
  75. package/dist/cdn/{ZWAKJFEQ.js → HO3GBOER.js} +2 -2
  76. package/dist/cdn/{WCDJK5OG.js → HXAZBA2K.js} +2 -2
  77. package/dist/cdn/{XWRCVTYB.js → I3WHT25M.js} +2 -2
  78. package/dist/cdn/{XLBGFEM3.js → I44CMGPG.js} +1 -1
  79. package/dist/cdn/{RZR3OVJ7.js → IDVF7JBV.js} +2 -2
  80. package/dist/cdn/IKHIS2TM.js +4 -0
  81. package/dist/cdn/{T43XXY5E.js → IOETCVHS.js} +2 -2
  82. package/dist/cdn/{I4Y6JPTI.js → IYP7KSI7.js} +2 -2
  83. package/dist/cdn/{P3UKHHZN.js → IZTMOWED.js} +2 -2
  84. package/dist/cdn/{IDPHY4MX.js → J2R25MFN.js} +2 -2
  85. package/dist/cdn/{V5A6ZP6H.js → J3JXWSCJ.js} +2 -2
  86. package/dist/cdn/{EH2C7SUF.js → JHMMCTI2.js} +2 -2
  87. package/dist/cdn/{T6BIQI2M.js → JKIT2H66.js} +2 -2
  88. package/dist/cdn/{KYAGSI6J.js → JLLKBIT5.js} +2 -2
  89. package/dist/cdn/{HROO57XT.js → JREPAZHI.js} +2 -2
  90. package/dist/cdn/{FHQERGHF.js → JV6ZV32Y.js} +2 -2
  91. package/dist/cdn/{I4LPWRYD.js → JXCEFE3R.js} +2 -2
  92. package/dist/cdn/{BJPGODEF.js → K3ZIJCP5.js} +2 -2
  93. package/dist/cdn/{LKDFZPHX.js → KEI4R775.js} +2 -2
  94. package/dist/cdn/{LHUAKNWA.js → KF6P2MR5.js} +2 -2
  95. package/dist/cdn/{VS4ZYO4A.js → KUH673DM.js} +2 -2
  96. package/dist/cdn/{VOCGY6OG.js → L6BF4TR5.js} +2 -2
  97. package/dist/cdn/{RKINLZX3.js → LESQ7JGH.js} +2 -2
  98. package/dist/cdn/{AJHDFEWA.js → LPTMPPSU.js} +2 -2
  99. package/dist/cdn/{UFZYV6TQ.js → LQQYQTRT.js} +2 -2
  100. package/dist/cdn/{RR7EEZSN.js → LW7M2UQA.js} +2 -2
  101. package/dist/cdn/{HW7ZTJQT.js → LXUZTNR2.js} +2 -2
  102. package/dist/cdn/{XE2QJY3P.js → M3N6342N.js} +2 -2
  103. package/dist/cdn/{B7IVIGVX.js → MBMSX2PM.js} +2 -2
  104. package/dist/cdn/{VJRIOIOB.js → MG3JQ6XN.js} +2 -2
  105. package/dist/cdn/{6IQRZIHA.js → MJP6R6Q3.js} +2 -2
  106. package/dist/cdn/{F23GAMLR.js → MKJMP52F.js} +1 -1
  107. package/dist/cdn/{VWURG5YK.js → MQ3HYN5Q.js} +2 -2
  108. package/dist/cdn/{JCKYDPJX.js → MQP5RZ7T.js} +2 -2
  109. package/dist/cdn/{DQRLDZLM.js → MSSG326C.js} +2 -2
  110. package/dist/cdn/{G4VD4GDG.js → MVESQ7JB.js} +2 -2
  111. package/dist/cdn/{WHPKXPJM.js → N74AOFGM.js} +2 -2
  112. package/dist/cdn/{AR5YZHX5.js → NBJPWKJ6.js} +2 -2
  113. package/dist/cdn/{CO52FTSP.js → NCHSKKP7.js} +2 -2
  114. package/dist/cdn/{MYIMFPCR.js → NDZLHX7G.js} +4 -4
  115. package/dist/cdn/{KVJTFKXA.js → NGEIZ6EO.js} +2 -2
  116. package/dist/cdn/{6EOI6HSF.js → NZQTGPSZ.js} +2 -2
  117. package/dist/cdn/{QLJCZCEA.js → O5SNSXV4.js} +2 -2
  118. package/dist/cdn/{X4TLIY4A.js → O6JTLXKW.js} +2 -2
  119. package/dist/cdn/{O4XC5N5K.js → OBEVAHY5.js} +2 -2
  120. package/dist/cdn/{HADFPKXK.js → ONBA76BP.js} +2 -2
  121. package/dist/cdn/{G76RXRCQ.js → OSPR7WDI.js} +2 -2
  122. package/dist/cdn/{BFAJCWTT.js → OXQXM6SH.js} +2 -2
  123. package/dist/cdn/{DTOBLTQH.js → OZSGTNYB.js} +2 -2
  124. package/dist/cdn/{WNYUZUAL.js → P6ETAND4.js} +2 -2
  125. package/dist/cdn/{H7EEE6MC.js → P7MZAKKC.js} +2 -2
  126. package/dist/cdn/{TTJKKGBG.js → PG5X54AY.js} +2 -2
  127. package/dist/cdn/{4N2AR5WC.js → PU7KUYNK.js} +2 -2
  128. package/dist/cdn/PWXOGC4B.js +4 -0
  129. package/dist/cdn/{4CX4N4CM.js → PWYYESQJ.js} +2 -2
  130. package/dist/cdn/{HTY4LV7F.js → PZILWR66.js} +2 -2
  131. package/dist/cdn/{36RR2XKL.js → Q4SINJXI.js} +2 -2
  132. package/dist/cdn/{AAFHEFQ5.js → QLSYNNAZ.js} +2 -2
  133. package/dist/cdn/{6UWXPY2Q.js → QNP6NHQ7.js} +2 -2
  134. package/dist/cdn/{HRVMVPTD.js → QOV267SP.js} +2 -2
  135. package/dist/cdn/{22GHKINO.js → RC2BKLMI.js} +2 -2
  136. package/dist/cdn/{7RTOCT42.js → RCJGNS55.js} +3 -3
  137. package/dist/cdn/{IZU7CWRQ.js → SGFGRT2H.js} +2 -2
  138. package/dist/cdn/{FQMYTSXR.js → SHPDYIEP.js} +27 -27
  139. package/dist/cdn/{AVJTHN4Q.js → SLAYZFNU.js} +2 -2
  140. package/dist/cdn/{5JXKX44X.js → SLFBXSB6.js} +2 -2
  141. package/dist/cdn/{AZAAFFXY.js → SLWCPF3A.js} +2 -2
  142. package/dist/cdn/{VWCYOOGE.js → SLWFJIQZ.js} +2 -2
  143. package/dist/cdn/{CKCSNH4R.js → SSDAXM3H.js} +2 -2
  144. package/dist/cdn/{YQPKQ5BO.js → T3YE6JOL.js} +2 -2
  145. package/dist/cdn/{FXALR4JK.js → TAUGYQZH.js} +2 -2
  146. package/dist/cdn/{IJIOUFPF.js → TCO6M6ZN.js} +1 -1
  147. package/dist/cdn/{BP77PBTN.js → TCYJ2QQD.js} +2 -2
  148. package/dist/cdn/{OBTWOWEW.js → TENPMCNO.js} +2 -2
  149. package/dist/cdn/{CW25DPX4.js → THO3GY63.js} +2 -2
  150. package/dist/cdn/{SFETWD3Y.js → UCQQN7JQ.js} +2 -2
  151. package/dist/cdn/{EVSH4E7K.js → UHBIMV34.js} +2 -2
  152. package/dist/cdn/UIUZJZTN.js +4 -0
  153. package/dist/cdn/{4EMUBORS.js → VAKNNEI7.js} +2 -2
  154. package/dist/cdn/{PDBWZR4B.js → VMH23G42.js} +2 -2
  155. package/dist/cdn/{TMWYUBME.js → VTVDYD7H.js} +2 -2
  156. package/dist/cdn/{AK5ZWSZD.js → WA2GKYMU.js} +2 -2
  157. package/dist/cdn/{IWGOXTZS.js → WJ6GWUB7.js} +2 -2
  158. package/dist/cdn/{7U5YDNG6.js → WMH22PSY.js} +2 -2
  159. package/dist/cdn/{HLM6OT7O.js → WUBPDJPJ.js} +2 -2
  160. package/dist/cdn/{H6AYOPVH.js → XDTTJKHV.js} +2 -2
  161. package/dist/cdn/{QXEQW3EW.js → XMJVX4W3.js} +2 -2
  162. package/dist/cdn/{DCNF6JE5.js → XRVZRD6A.js} +2 -2
  163. package/dist/cdn/XRYFG4UE.js +4 -0
  164. package/dist/cdn/{5HSO3YGI.js → XVRDFETN.js} +2 -2
  165. package/dist/cdn/{AT2VXWNY.js → Y6DX3J2M.js} +2 -2
  166. package/dist/cdn/{V722F2KV.js → Y7XV33OO.js} +2 -2
  167. package/dist/cdn/{O3VS7UDV.js → YC32W3YI.js} +2 -2
  168. package/dist/cdn/{AHTPSJPK.js → YKPPZBGB.js} +2 -2
  169. package/dist/cdn/{3WDZL4FT.js → YP74SBNU.js} +2 -2
  170. package/dist/cdn/{FOMOL2PC.js → Z4UCJF5Q.js} +2 -2
  171. package/dist/cdn/{PWTYIT7Z.js → ZEOCTUHP.js} +2 -2
  172. package/dist/cdn/{4BL6LBJZ.js → ZIGPLOZM.js} +2 -2
  173. package/dist/cdn/{LAHMMMRN.js → ZP4AIILY.js} +2 -2
  174. package/dist/cdn/{6WGWBP5N.js → ZQGUQITP.js} +2 -2
  175. package/dist/cdn/index.js +2 -2
  176. package/dist/chart-rendering/common/data/utils/query-parser/index.d.ts +6 -1
  177. package/dist/chunks/action-bar-utils.js +2 -2
  178. package/dist/chunks/axis-model-wrapper.js +1 -1
  179. package/dist/chunks/bar-chart-model.js +1 -1
  180. package/dist/chunks/bar-chart-series.js +1 -1
  181. package/dist/chunks/bg_BG.js +1 -1
  182. package/dist/chunks/bg_BG2.js +1 -1
  183. package/dist/chunks/box-plot-data.js +6 -6
  184. package/dist/chunks/box-plot-model.js +16 -16
  185. package/dist/chunks/chart-ui-utils.js +1 -1
  186. package/dist/chunks/chart-ui-utils2.js +1 -1
  187. package/dist/chunks/combo-bar-line-chart-model.js +74 -92
  188. package/dist/chunks/common.js +1 -1
  189. package/dist/chunks/data.js +1 -1
  190. package/dist/chunks/default.js +1 -1
  191. package/dist/chunks/gauge-model.js +12 -12
  192. package/dist/chunks/heat-chart-model.js +6 -6
  193. package/dist/chunks/histogram-data.js +1 -1
  194. package/dist/chunks/histogram-model.js +9 -9
  195. package/dist/chunks/index.js +697 -693
  196. package/dist/chunks/index2.js +1 -1
  197. package/dist/chunks/index3.js +1 -1
  198. package/dist/chunks/index4.js +1 -1
  199. package/dist/chunks/interfaces.js +1 -1
  200. package/dist/chunks/line-chart-model.js +9 -8
  201. package/dist/chunks/model-with-multi-axes.js +290 -323
  202. package/dist/chunks/negative-values-stacked-to-baseline.js +62 -0
  203. package/dist/chunks/pie-chart-data.js +1 -1
  204. package/dist/chunks/pie-chart-model.js +9 -9
  205. package/dist/chunks/popover-ui-utils.js +1 -1
  206. package/dist/chunks/radar-chart-model.js +9 -8
  207. package/dist/chunks/resource.js +7 -7
  208. package/dist/chunks/rest-js-object-literals.js +1 -1
  209. package/dist/chunks/runtime.js +1 -1
  210. package/dist/chunks/scatterplot-model.js +7 -7
  211. package/dist/chunks/serial-chart-data.js +32 -32
  212. package/dist/chunks/serial-chart-model.js +2 -2
  213. package/dist/chunks/series-types.js +1 -1
  214. package/dist/chunks/sk_SK.js +1 -1
  215. package/dist/chunks/store.js +1 -1
  216. package/dist/chunks/type-guards.js +38 -42
  217. package/dist/chunks/useT9n.js +1 -1
  218. package/dist/chunks/web-component-utils.js +2 -2
  219. package/dist/components/arcgis-chart/customElement.js +2 -2
  220. package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
  221. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  222. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  223. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  224. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  225. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  226. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  227. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  228. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  229. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  230. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  231. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  232. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  233. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  234. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  235. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  236. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-create-flow/customElement.js +10 -10
  238. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-format/customElement.js +2 -2
  241. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
  243. package/dist/components/arcgis-charts-config-guide/customElement.js +2 -2
  244. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
  246. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  268. package/dist/docs/api.json +2 -2
  269. package/dist/docs/docs.json +2 -2
  270. package/dist/docs/web-types.json +1 -1
  271. package/dist/index.js +193 -194
  272. package/dist/loader.js +1 -1
  273. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +3 -16
  274. package/dist/model/line-chart-model/line-chart-model.d.ts +3 -2
  275. package/dist/model/mixins/index.d.ts +0 -1
  276. package/dist/model/properties/series/negative-values-stacked-to-baseline.d.ts +44 -0
  277. package/dist/model/radar-chart-model/radar-chart-model.d.ts +3 -2
  278. package/dist/model/shared/type-guards.d.ts +1 -6
  279. package/dist/model.js +21 -22
  280. package/package.json +4 -4
  281. package/dist/cdn/DCX5U2NY.js +0 -4
  282. package/dist/cdn/LWUZE3T5.js +0 -4
  283. package/dist/cdn/NEU3MK3S.js +0 -4
  284. package/dist/cdn/XJHREZRO.js +0 -4
  285. package/dist/model/mixins/model-with-baseline-stacking.d.ts +0 -21
  286. package/dist/model/mixins/utils/baseline-stacking.d.ts +0 -23
@@ -1,37 +1,37 @@
1
1
  import { fetchT9nStringsBundle as it, getElementLocale as We, supportedLocales as za } from "@arcgis/toolkit/intl";
2
- import { isArray as xn, cloneDeep as ai, isEmpty as Nl, isEqual as rt, sortBy as Hn, isNil as Pl } from "lodash-es";
3
- import { W as y, a as A, n as ue, g as fe, t as Oe, d as wr, r as Ml, b as me, m as De, i as R, e as qe, S as Cn, h as kl, o as El, u as j, j as Ee, p as Et, G as Rl } from "./series-types.js";
4
- import { extent as Xr, mean as $l, max as ql, min as Wl, sum as Vl, rollup as jl } from "d3-array";
2
+ import { isArray as xn, cloneDeep as ai, isEmpty as Pl, isEqual as rt, sortBy as Hn, isNil as Ml } from "lodash-es";
3
+ import { W as y, a as A, n as ue, g as fe, t as Oe, d as wr, r as kl, b as me, m as De, i as R, e as qe, S as Cn, h as El, o as Rl, u as j, j as Ee, p as Et, G as $l } from "./series-types.js";
4
+ import { extent as Xr, mean as ql, max as Wl, min as Vl, sum as jl, rollup as zl } from "d3-array";
5
5
  import { c as qt, R as ie, e as ee, b as ci, d as Fn, f as ne, j as ve, a as re, k as Qt } from "./rest-js-object-literals.js";
6
- import zl from "@arcgis/core/Graphic.js";
6
+ import _l from "@arcgis/core/Graphic.js";
7
7
  import * as _a from "@arcgis/core/renderers/support/jsonUtils.js";
8
8
  import * as Rr from "@arcgis/core/symbols/support/symbolUtils.js";
9
9
  import { substitute as de } from "@arcgis/core/intl.js";
10
10
  import Qn from "@arcgis/core/layers/support/FeatureFilter.js";
11
- import _l from "@arcgis/core/smartMapping/statistics/histogram.js";
11
+ import Ul from "@arcgis/core/smartMapping/statistics/histogram.js";
12
12
  import Zn from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
13
- import { linearRegression as Ul, linearRegressionLine as Gl, rSquared as Hl } from "simple-statistics";
13
+ import { linearRegression as Gl, linearRegressionLine as Hl, rSquared as Ql } from "simple-statistics";
14
14
  import cr from "@arcgis/core/request.js";
15
- import Ql from "@arcgis/core/AttributeBinsGraphic.js";
15
+ import Zl from "@arcgis/core/AttributeBinsGraphic.js";
16
16
  import * as Ua from "@arcgis/core/geometry/support/jsonUtils.js";
17
- import Zl from "@arcgis/core/layers/FeatureLayer.js";
18
- import Yl from "@arcgis/core/layers/support/Field.js";
19
- import * as Jl from "@arcgis/core/layers/support/fieldUtils.js";
20
- import Xl from "@arcgis/core/portal/Portal.js";
21
- import Kl from "@arcgis/core/rest/support/FeatureSet.js";
22
- import ed from "fast-memoize";
23
- import td from "@arcgis/core/rest/support/AttributeBinsQuery.js";
24
- import id from "@arcgis/core/rest/support/Query.js";
25
- import rd from "@arcgis/core/rest/support/StatisticDefinition.js";
17
+ import Yl from "@arcgis/core/layers/FeatureLayer.js";
18
+ import Jl from "@arcgis/core/layers/support/Field.js";
19
+ import * as Xl from "@arcgis/core/layers/support/fieldUtils.js";
20
+ import Kl from "@arcgis/core/portal/Portal.js";
21
+ import ed from "@arcgis/core/rest/support/FeatureSet.js";
22
+ import td from "fast-memoize";
23
+ import id from "@arcgis/core/rest/support/AttributeBinsQuery.js";
24
+ import rd from "@arcgis/core/rest/support/Query.js";
25
+ import nd from "@arcgis/core/rest/support/StatisticDefinition.js";
26
26
  import Ga from "@arcgis/core/time/TimeExtent.js";
27
27
  import * as Ha from "@arcgis/core/core/promiseUtils.js";
28
28
  import { g as Je } from "./runtime.js";
29
- import nd from "ajv";
30
- import { unsafeGetElementDirection as ad } from "@arcgis/toolkit/dom";
29
+ import ad from "ajv";
30
+ import { unsafeGetElementDirection as sd } from "@arcgis/toolkit/dom";
31
31
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
32
32
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
33
- v5.0.0-next.112 */
34
- const pt = "24.8.0", Fe = "arcgis_charts_pie_from_fields_name", Ze = "arcgis_charts_pie_from_fields_value", sd = "arcgis_charts_bar_line_from_fields_name", od = "arcgis_charts_bar_line_from_fields_value", st = {
33
+ v5.0.0-next.113 */
34
+ const pt = "24.8.0", Fe = "arcgis_charts_pie_from_fields_name", Ze = "arcgis_charts_pie_from_fields_value", od = "arcgis_charts_bar_line_from_fields_name", ld = "arcgis_charts_bar_line_from_fields_value", st = {
35
35
  Mean: "Mean",
36
36
  Median: "Median",
37
37
  StdDev: "Standard Deviation",
@@ -40,17 +40,17 @@ const pt = "24.8.0", Fe = "arcgis_charts_pie_from_fields_name", Ze = "arcgis_cha
40
40
  };
41
41
  class Vt extends Error {
42
42
  }
43
- class ld extends Vt {
43
+ class dd extends Vt {
44
44
  constructor(e) {
45
45
  super(`Invalid DateTime: ${e.toMessage()}`);
46
46
  }
47
47
  }
48
- class dd extends Vt {
48
+ class cd extends Vt {
49
49
  constructor(e) {
50
50
  super(`Invalid Interval: ${e.toMessage()}`);
51
51
  }
52
52
  }
53
- class cd extends Vt {
53
+ class ud extends Vt {
54
54
  constructor(e) {
55
55
  super(`Invalid Duration: ${e.toMessage()}`);
56
56
  }
@@ -77,7 +77,7 @@ const B = "numeric", Xe = "short", Be = "long", ur = {
77
77
  year: B,
78
78
  month: Xe,
79
79
  day: B
80
- }, ud = {
80
+ }, pd = {
81
81
  year: B,
82
82
  month: Xe,
83
83
  day: B,
@@ -155,7 +155,7 @@ const B = "numeric", Xe = "short", Be = "long", ur = {
155
155
  hour: B,
156
156
  minute: B,
157
157
  second: B
158
- }, pd = {
158
+ }, fd = {
159
159
  year: B,
160
160
  month: Xe,
161
161
  day: B,
@@ -322,7 +322,7 @@ class xr extends Pi {
322
322
  }
323
323
  }
324
324
  const Kr = /* @__PURE__ */ new Map();
325
- function fd(t) {
325
+ function hd(t) {
326
326
  let e = Kr.get(t);
327
327
  return e === void 0 && (e = new Intl.DateTimeFormat("en-US", {
328
328
  hour12: !1,
@@ -336,7 +336,7 @@ function fd(t) {
336
336
  era: "short"
337
337
  }), Kr.set(t, e)), e;
338
338
  }
339
- const hd = {
339
+ const yd = {
340
340
  year: 0,
341
341
  month: 1,
342
342
  day: 2,
@@ -345,14 +345,14 @@ const hd = {
345
345
  minute: 5,
346
346
  second: 6
347
347
  };
348
- function yd(t, e) {
348
+ function md(t, e) {
349
349
  const i = t.format(e).replace(/\u200E/g, ""), r = /(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i), [, n, a, s, o, l, d, c] = r;
350
350
  return [s, n, a, o, l, d, c];
351
351
  }
352
- function md(t, e) {
352
+ function gd(t, e) {
353
353
  const i = t.formatToParts(e), r = [];
354
354
  for (let n = 0; n < i.length; n++) {
355
- const { type: a, value: s } = i[n], o = hd[a];
355
+ const { type: a, value: s } = i[n], o = yd[a];
356
356
  a === "era" ? r[o] = s : q(o) || (r[o] = parseInt(s, 10));
357
357
  }
358
358
  return r;
@@ -463,8 +463,8 @@ class ct extends Pi {
463
463
  if (!this.valid) return NaN;
464
464
  const i = new Date(e);
465
465
  if (isNaN(i)) return NaN;
466
- const r = fd(this.name);
467
- let [n, a, s, o, l, d, c] = r.formatToParts ? md(r, i) : yd(r, i);
466
+ const r = hd(this.name);
467
+ let [n, a, s, o, l, d, c] = r.formatToParts ? gd(r, i) : md(r, i);
468
468
  o === "BC" && (n = -Math.abs(n) + 1);
469
469
  const p = Fr({
470
470
  year: n,
@@ -498,7 +498,7 @@ class ct extends Pi {
498
498
  }
499
499
  }
500
500
  let Yn = {};
501
- function gd(t, e = {}) {
501
+ function bd(t, e = {}) {
502
502
  const i = JSON.stringify([t, e]);
503
503
  let r = Yn[i];
504
504
  return r || (r = new Intl.ListFormat(t, e), Yn[i] = r), r;
@@ -510,19 +510,19 @@ function tn(t, e = {}) {
510
510
  return r === void 0 && (r = new Intl.DateTimeFormat(t, e), en.set(i, r)), r;
511
511
  }
512
512
  const rn = /* @__PURE__ */ new Map();
513
- function bd(t, e = {}) {
513
+ function Sd(t, e = {}) {
514
514
  const i = JSON.stringify([t, e]);
515
515
  let r = rn.get(i);
516
516
  return r === void 0 && (r = new Intl.NumberFormat(t, e), rn.set(i, r)), r;
517
517
  }
518
518
  const nn = /* @__PURE__ */ new Map();
519
- function Sd(t, e = {}) {
519
+ function vd(t, e = {}) {
520
520
  const { base: i, ...r } = e, n = JSON.stringify([t, r]);
521
521
  let a = nn.get(n);
522
522
  return a === void 0 && (a = new Intl.RelativeTimeFormat(t, e), nn.set(n, a)), a;
523
523
  }
524
524
  let bi = null;
525
- function vd() {
525
+ function wd() {
526
526
  return bi || (bi = new Intl.DateTimeFormat().resolvedOptions().locale, bi);
527
527
  }
528
528
  const an = /* @__PURE__ */ new Map();
@@ -531,7 +531,7 @@ function hs(t) {
531
531
  return e === void 0 && (e = new Intl.DateTimeFormat(t).resolvedOptions(), an.set(t, e)), e;
532
532
  }
533
533
  const sn = /* @__PURE__ */ new Map();
534
- function wd(t) {
534
+ function xd(t) {
535
535
  let e = sn.get(t);
536
536
  if (!e) {
537
537
  const i = new Intl.Locale(t);
@@ -539,7 +539,7 @@ function wd(t) {
539
539
  }
540
540
  return e;
541
541
  }
542
- function xd(t) {
542
+ function Cd(t) {
543
543
  const e = t.indexOf("-x-");
544
544
  e !== -1 && (t = t.substring(0, e));
545
545
  const i = t.indexOf("-u-");
@@ -557,10 +557,10 @@ function xd(t) {
557
557
  return [n, a, s];
558
558
  }
559
559
  }
560
- function Cd(t, e, i) {
560
+ function Fd(t, e, i) {
561
561
  return (i || e) && (t.includes("-u-") || (t += "-u"), i && (t += `-ca-${i}`), e && (t += `-nu-${e}`)), t;
562
562
  }
563
- function Fd(t) {
563
+ function Td(t) {
564
564
  const e = [];
565
565
  for (let i = 1; i <= 12; i++) {
566
566
  const r = E.utc(2009, i, 1);
@@ -568,7 +568,7 @@ function Fd(t) {
568
568
  }
569
569
  return e;
570
570
  }
571
- function Td(t) {
571
+ function Id(t) {
572
572
  const e = [];
573
573
  for (let i = 1; i <= 7; i++) {
574
574
  const r = E.utc(2016, 11, 13 + i);
@@ -580,16 +580,16 @@ function Gi(t, e, i, r) {
580
580
  const n = t.listingMode();
581
581
  return n === "error" ? null : n === "en" ? i(e) : r(e);
582
582
  }
583
- function Id(t) {
583
+ function Ad(t) {
584
584
  return t.numberingSystem && t.numberingSystem !== "latn" ? !1 : t.numberingSystem === "latn" || !t.locale || t.locale.startsWith("en") || hs(t.locale).numberingSystem === "latn";
585
585
  }
586
- class Ad {
586
+ class Ld {
587
587
  constructor(e, i, r) {
588
588
  this.padTo = r.padTo || 0, this.floor = r.floor || !1;
589
589
  const { padTo: n, floor: a, ...s } = r;
590
590
  if (!i || Object.keys(s).length > 0) {
591
591
  const o = { useGrouping: !1, ...r };
592
- r.padTo > 0 && (o.minimumIntegerDigits = r.padTo), this.inf = bd(e, o);
592
+ r.padTo > 0 && (o.minimumIntegerDigits = r.padTo), this.inf = Sd(e, o);
593
593
  }
594
594
  }
595
595
  format(e) {
@@ -602,7 +602,7 @@ class Ad {
602
602
  }
603
603
  }
604
604
  }
605
- class Ld {
605
+ class Od {
606
606
  constructor(e, i, r) {
607
607
  this.opts = r, this.originalZone = void 0;
608
608
  let n;
@@ -638,12 +638,12 @@ class Ld {
638
638
  return this.dtf.resolvedOptions();
639
639
  }
640
640
  }
641
- class Od {
641
+ class Dd {
642
642
  constructor(e, i, r) {
643
- this.opts = { style: "long", ...r }, !i && xs() && (this.rtf = Sd(e, r));
643
+ this.opts = { style: "long", ...r }, !i && xs() && (this.rtf = vd(e, r));
644
644
  }
645
645
  format(e, i) {
646
- return this.rtf ? this.rtf.format(e, i) : Jd(i, e, this.opts.numeric, this.opts.style !== "long");
646
+ return this.rtf ? this.rtf.format(e, i) : Xd(i, e, this.opts.numeric, this.opts.style !== "long");
647
647
  }
648
648
  formatToParts(e, i) {
649
649
  return this.rtf ? this.rtf.formatToParts(e, i) : [];
@@ -665,7 +665,7 @@ class J {
665
665
  );
666
666
  }
667
667
  static create(e, i, r, n, a = !1) {
668
- const s = e || le.defaultLocale, o = s || (a ? "en-US" : vd()), l = i || le.defaultNumberingSystem, d = r || le.defaultOutputCalendar, c = ln(n) || le.defaultWeekSettings;
668
+ const s = e || le.defaultLocale, o = s || (a ? "en-US" : wd()), l = i || le.defaultNumberingSystem, d = r || le.defaultOutputCalendar, c = ln(n) || le.defaultWeekSettings;
669
669
  return new J(o, l, d, c, s);
670
670
  }
671
671
  static resetCache() {
@@ -675,11 +675,11 @@ class J {
675
675
  return J.create(e, i, r, n);
676
676
  }
677
677
  constructor(e, i, r, n, a) {
678
- const [s, o, l] = xd(e);
679
- this.locale = s, this.numberingSystem = i || o || null, this.outputCalendar = r || l || null, this.weekSettings = n, this.intl = Cd(this.locale, this.numberingSystem, this.outputCalendar), this.weekdaysCache = { format: {}, standalone: {} }, this.monthsCache = { format: {}, standalone: {} }, this.meridiemCache = null, this.eraCache = {}, this.specifiedLocale = a, this.fastNumbersCached = null;
678
+ const [s, o, l] = Cd(e);
679
+ this.locale = s, this.numberingSystem = i || o || null, this.outputCalendar = r || l || null, this.weekSettings = n, this.intl = Fd(this.locale, this.numberingSystem, this.outputCalendar), this.weekdaysCache = { format: {}, standalone: {} }, this.monthsCache = { format: {}, standalone: {} }, this.meridiemCache = null, this.eraCache = {}, this.specifiedLocale = a, this.fastNumbersCached = null;
680
680
  }
681
681
  get fastNumbers() {
682
- return this.fastNumbersCached == null && (this.fastNumbersCached = Id(this)), this.fastNumbersCached;
682
+ return this.fastNumbersCached == null && (this.fastNumbersCached = Ad(this)), this.fastNumbersCached;
683
683
  }
684
684
  listingMode() {
685
685
  const e = this.isEnglish(), i = (this.numberingSystem === null || this.numberingSystem === "latn") && (this.outputCalendar === null || this.outputCalendar === "gregory");
@@ -707,7 +707,7 @@ class J {
707
707
  const n = i ? { month: e, day: "numeric" } : { month: e }, a = i ? "format" : "standalone";
708
708
  if (!this.monthsCache[a][e]) {
709
709
  const s = r ? (o) => this.dtFormatter(o, n).format() : (o) => this.extract(o, n, "month");
710
- this.monthsCache[a][e] = Fd(s);
710
+ this.monthsCache[a][e] = Td(s);
711
711
  }
712
712
  return this.monthsCache[a][e];
713
713
  });
@@ -715,7 +715,7 @@ class J {
715
715
  weekdays(e, i = !1) {
716
716
  return Gi(this, e, Ds, () => {
717
717
  const r = i ? { weekday: e, year: "numeric", month: "long", day: "numeric" } : { weekday: e }, n = i ? "format" : "standalone";
718
- return this.weekdaysCache[n][e] || (this.weekdaysCache[n][e] = Td(
718
+ return this.weekdaysCache[n][e] || (this.weekdaysCache[n][e] = Id(
719
719
  (a) => this.extract(a, r, "weekday")
720
720
  )), this.weekdaysCache[n][e];
721
721
  });
@@ -749,22 +749,22 @@ class J {
749
749
  return s ? s.value : null;
750
750
  }
751
751
  numberFormatter(e = {}) {
752
- return new Ad(this.intl, e.forceSimple || this.fastNumbers, e);
752
+ return new Ld(this.intl, e.forceSimple || this.fastNumbers, e);
753
753
  }
754
754
  dtFormatter(e, i = {}) {
755
- return new Ld(e, this.intl, i);
755
+ return new Od(e, this.intl, i);
756
756
  }
757
757
  relFormatter(e = {}) {
758
- return new Od(this.intl, this.isEnglish(), e);
758
+ return new Dd(this.intl, this.isEnglish(), e);
759
759
  }
760
760
  listFormatter(e = {}) {
761
- return gd(this.intl, e);
761
+ return bd(this.intl, e);
762
762
  }
763
763
  isEnglish() {
764
764
  return this.locale === "en" || this.locale.toLowerCase() === "en-us" || hs(this.intl).locale.startsWith("en-us");
765
765
  }
766
766
  getWeekSettings() {
767
- return this.weekSettings ? this.weekSettings : Cs() ? wd(this.locale) : ys;
767
+ return this.weekSettings ? this.weekSettings : Cs() ? xd(this.locale) : ys;
768
768
  }
769
769
  getStartOfWeek() {
770
770
  return this.getWeekSettings().firstDay;
@@ -902,7 +902,7 @@ class we extends Pi {
902
902
  return !0;
903
903
  }
904
904
  }
905
- class Dd extends Pi {
905
+ class Bd extends Pi {
906
906
  constructor(e) {
907
907
  super(), this.zoneName = e;
908
908
  }
@@ -944,10 +944,10 @@ function xt(t, e) {
944
944
  return e;
945
945
  if (t instanceof Pi)
946
946
  return t;
947
- if (Ed(t)) {
947
+ if (Rd(t)) {
948
948
  const i = t.toLowerCase();
949
949
  return i === "default" ? e : i === "local" || i === "system" ? xr.instance : i === "utc" || i === "gmt" ? we.utcInstance : we.parseSpecifier(i) || ct.create(t);
950
- } else return Ct(t) ? we.instance(t) : typeof t == "object" && "offset" in t && typeof t.offset == "function" ? t : new Dd(t);
950
+ } else return Ct(t) ? we.instance(t) : typeof t == "object" && "offset" in t && typeof t.offset == "function" ? t : new Bd(t);
951
951
  }
952
952
  const Tn = {
953
953
  arab: "[٠-٩]",
@@ -991,15 +991,15 @@ const Tn = {
991
991
  telu: [3174, 3183],
992
992
  thai: [3664, 3673],
993
993
  tibt: [3872, 3881]
994
- }, Bd = Tn.hanidec.replace(/[\[|\]]/g, "").split("");
995
- function Nd(t) {
994
+ }, Nd = Tn.hanidec.replace(/[\[|\]]/g, "").split("");
995
+ function Pd(t) {
996
996
  let e = parseInt(t, 10);
997
997
  if (isNaN(e)) {
998
998
  e = "";
999
999
  for (let i = 0; i < t.length; i++) {
1000
1000
  const r = t.charCodeAt(i);
1001
1001
  if (t[i].search(Tn.hanidec) !== -1)
1002
- e += Bd.indexOf(t[i]);
1002
+ e += Nd.indexOf(t[i]);
1003
1003
  else
1004
1004
  for (const n in Jn) {
1005
1005
  const [a, s] = Jn[n];
@@ -1011,7 +1011,7 @@ function Nd(t) {
1011
1011
  return e;
1012
1012
  }
1013
1013
  const on = /* @__PURE__ */ new Map();
1014
- function Pd() {
1014
+ function Md() {
1015
1015
  on.clear();
1016
1016
  }
1017
1017
  function Ge({ numberingSystem: t }, e = "") {
@@ -1158,7 +1158,7 @@ class le {
1158
1158
  * @return {void}
1159
1159
  */
1160
1160
  static resetCaches() {
1161
- J.resetCache(), ct.resetCache(), E.resetCache(), Pd();
1161
+ J.resetCache(), ct.resetCache(), E.resetCache(), Md();
1162
1162
  }
1163
1163
  }
1164
1164
  class Ye {
@@ -1225,7 +1225,7 @@ function la(t, e) {
1225
1225
  } else
1226
1226
  return { minDaysInFirstWeek: 4, startOfWeek: 1 };
1227
1227
  }
1228
- function Md(t, e = 4, i = 1) {
1228
+ function kd(t, e = 4, i = 1) {
1229
1229
  const r = Cr(t.weekYear), n = $e(
1230
1230
  t.weekNumber,
1231
1231
  1,
@@ -1233,7 +1233,7 @@ function Md(t, e = 4, i = 1) {
1233
1233
  ), a = $e(t.weekday, 1, 7);
1234
1234
  return r ? n ? a ? !1 : Re("weekday", t.weekday) : Re("week", t.weekNumber) : Re("weekYear", t.weekYear);
1235
1235
  }
1236
- function kd(t) {
1236
+ function Ed(t) {
1237
1237
  const e = Cr(t.year), i = $e(t.ordinal, 1, ii(t.year));
1238
1238
  return e ? i ? !1 : Re("ordinal", t.ordinal) : Re("year", t.year);
1239
1239
  }
@@ -1254,10 +1254,10 @@ function Ct(t) {
1254
1254
  function Cr(t) {
1255
1255
  return typeof t == "number" && t % 1 === 0;
1256
1256
  }
1257
- function Ed(t) {
1257
+ function Rd(t) {
1258
1258
  return typeof t == "string";
1259
1259
  }
1260
- function Rd(t) {
1260
+ function $d(t) {
1261
1261
  return Object.prototype.toString.call(t) === "[object Date]";
1262
1262
  }
1263
1263
  function xs() {
@@ -1274,7 +1274,7 @@ function Cs() {
1274
1274
  return !1;
1275
1275
  }
1276
1276
  }
1277
- function $d(t) {
1277
+ function qd(t) {
1278
1278
  return Array.isArray(t) ? t : [t];
1279
1279
  }
1280
1280
  function da(t, e, i) {
@@ -1284,7 +1284,7 @@ function da(t, e, i) {
1284
1284
  return r && i(r[0], a[0]) === r[0] ? r : a;
1285
1285
  }, null)[1];
1286
1286
  }
1287
- function qd(t, e) {
1287
+ function Wd(t, e) {
1288
1288
  return e.reduce((i, r) => (i[r] = t[r], i), {});
1289
1289
  }
1290
1290
  function si(t, e) {
@@ -1306,7 +1306,7 @@ function ln(t) {
1306
1306
  function $e(t, e, i) {
1307
1307
  return Cr(t) && t >= e && t <= i;
1308
1308
  }
1309
- function Wd(t, e) {
1309
+ function Vd(t, e) {
1310
1310
  return t - e * Math.floor(t / e);
1311
1311
  }
1312
1312
  function pe(t, e = 2) {
@@ -1352,7 +1352,7 @@ function ii(t) {
1352
1352
  return Mi(t) ? 366 : 365;
1353
1353
  }
1354
1354
  function fr(t, e) {
1355
- const i = Wd(e - 1, 12) + 1, r = t + (e - i) / 12;
1355
+ const i = Vd(e - 1, 12) + 1, r = t + (e - i) / 12;
1356
1356
  return i === 2 ? Mi(r) ? 29 : 28 : [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][i - 1];
1357
1357
  }
1358
1358
  function Fr(t) {
@@ -1426,9 +1426,9 @@ function xi(t, e) {
1426
1426
  }
1427
1427
  }
1428
1428
  function Ir(t) {
1429
- return qd(t, ["hour", "minute", "second", "millisecond"]);
1429
+ return Wd(t, ["hour", "minute", "second", "millisecond"]);
1430
1430
  }
1431
- const Vd = [
1431
+ const jd = [
1432
1432
  "January",
1433
1433
  "February",
1434
1434
  "March",
@@ -1454,15 +1454,15 @@ const Vd = [
1454
1454
  "Oct",
1455
1455
  "Nov",
1456
1456
  "Dec"
1457
- ], jd = ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"];
1457
+ ], zd = ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"];
1458
1458
  function As(t) {
1459
1459
  switch (t) {
1460
1460
  case "narrow":
1461
- return [...jd];
1461
+ return [...zd];
1462
1462
  case "short":
1463
1463
  return [...Is];
1464
1464
  case "long":
1465
- return [...Vd];
1465
+ return [...jd];
1466
1466
  case "numeric":
1467
1467
  return ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
1468
1468
  case "2-digit":
@@ -1479,11 +1479,11 @@ const Ls = [
1479
1479
  "Friday",
1480
1480
  "Saturday",
1481
1481
  "Sunday"
1482
- ], Os = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], zd = ["M", "T", "W", "T", "F", "S", "S"];
1482
+ ], Os = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], _d = ["M", "T", "W", "T", "F", "S", "S"];
1483
1483
  function Ds(t) {
1484
1484
  switch (t) {
1485
1485
  case "narrow":
1486
- return [...zd];
1486
+ return [..._d];
1487
1487
  case "short":
1488
1488
  return [...Os];
1489
1489
  case "long":
@@ -1494,32 +1494,32 @@ function Ds(t) {
1494
1494
  return null;
1495
1495
  }
1496
1496
  }
1497
- const Bs = ["AM", "PM"], _d = ["Before Christ", "Anno Domini"], Ud = ["BC", "AD"], Gd = ["B", "A"];
1497
+ const Bs = ["AM", "PM"], Ud = ["Before Christ", "Anno Domini"], Gd = ["BC", "AD"], Hd = ["B", "A"];
1498
1498
  function Ns(t) {
1499
1499
  switch (t) {
1500
1500
  case "narrow":
1501
- return [...Gd];
1501
+ return [...Hd];
1502
1502
  case "short":
1503
- return [...Ud];
1503
+ return [...Gd];
1504
1504
  case "long":
1505
- return [..._d];
1505
+ return [...Ud];
1506
1506
  default:
1507
1507
  return null;
1508
1508
  }
1509
1509
  }
1510
- function Hd(t) {
1510
+ function Qd(t) {
1511
1511
  return Bs[t.hour < 12 ? 0 : 1];
1512
1512
  }
1513
- function Qd(t, e) {
1513
+ function Zd(t, e) {
1514
1514
  return Ds(e)[t.weekday - 1];
1515
1515
  }
1516
- function Zd(t, e) {
1516
+ function Yd(t, e) {
1517
1517
  return As(e)[t.month - 1];
1518
1518
  }
1519
- function Yd(t, e) {
1519
+ function Jd(t, e) {
1520
1520
  return Ns(e)[t.year < 0 ? 0 : 1];
1521
1521
  }
1522
- function Jd(t, e, i = "always", r = !1) {
1522
+ function Xd(t, e, i = "always", r = !1) {
1523
1523
  const n = {
1524
1524
  years: ["year", "yr."],
1525
1525
  quarters: ["quarter", "qtr."],
@@ -1550,7 +1550,7 @@ function ua(t, e) {
1550
1550
  r.literal ? i += r.val : i += e(r.val);
1551
1551
  return i;
1552
1552
  }
1553
- const Xd = {
1553
+ const Kd = {
1554
1554
  D: ur,
1555
1555
  DD: Za,
1556
1556
  DDD: Ya,
@@ -1589,7 +1589,7 @@ class Se {
1589
1589
  return r.length > 0 && a.push({ literal: n || /^\s+$/.test(r), val: r }), a;
1590
1590
  }
1591
1591
  static macroTokenToFormatOpts(e) {
1592
- return Xd[e];
1592
+ return Kd[e];
1593
1593
  }
1594
1594
  constructor(e, i) {
1595
1595
  this.opts = i, this.loc = e, this.systemLoc = null;
@@ -1619,13 +1619,13 @@ class Se {
1619
1619
  return i > 0 && (n.padTo = i), r && (n.signDisplay = r), this.loc.numberFormatter(n).format(e);
1620
1620
  }
1621
1621
  formatDateTimeFromString(e, i) {
1622
- const r = this.loc.listingMode() === "en", n = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", a = (f, h) => this.loc.extract(e, f, h), s = (f) => e.isOffsetFixed && e.offset === 0 && f.allowZ ? "Z" : e.isValid ? e.zone.formatOffset(e.ts, f.format) : "", o = () => r ? Hd(e) : a({ hour: "numeric", hourCycle: "h12" }, "dayperiod"), l = (f, h) => r ? Zd(e, f) : a(h ? { month: f } : { month: f, day: "numeric" }, "month"), d = (f, h) => r ? Qd(e, f) : a(
1622
+ const r = this.loc.listingMode() === "en", n = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", a = (f, h) => this.loc.extract(e, f, h), s = (f) => e.isOffsetFixed && e.offset === 0 && f.allowZ ? "Z" : e.isValid ? e.zone.formatOffset(e.ts, f.format) : "", o = () => r ? Qd(e) : a({ hour: "numeric", hourCycle: "h12" }, "dayperiod"), l = (f, h) => r ? Yd(e, f) : a(h ? { month: f } : { month: f, day: "numeric" }, "month"), d = (f, h) => r ? Zd(e, f) : a(
1623
1623
  h ? { weekday: f } : { weekday: f, month: "long", day: "numeric" },
1624
1624
  "weekday"
1625
1625
  ), c = (f) => {
1626
1626
  const h = Se.macroTokenToFormatOpts(f);
1627
1627
  return h ? this.formatWithSystemDefault(e, h) : f;
1628
- }, u = (f) => r ? Yd(e, f) : a({ era: f }, "era"), p = (f) => {
1628
+ }, u = (f) => r ? Jd(e, f) : a({ era: f }, "era"), p = (f) => {
1629
1629
  switch (f) {
1630
1630
  // ms
1631
1631
  case "S":
@@ -1845,14 +1845,14 @@ function Ms(...t) {
1845
1845
  return [r, null, i + n];
1846
1846
  };
1847
1847
  }
1848
- const ks = /(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/, Kd = `(?:${ks.source}?(?:\\[(${Ps.source})\\])?)?`, Dn = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, Es = RegExp(`${Dn.source}${Kd}`), Bn = RegExp(`(?:[Tt]${Es.source})?`), ec = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, tc = /(\d{4})-?W(\d\d)(?:-?(\d))?/, ic = /(\d{4})-?(\d{3})/, rc = Ms("weekYear", "weekNumber", "weekDay"), nc = Ms("year", "ordinal"), ac = /(\d{4})-(\d\d)-(\d\d)/, Rs = RegExp(
1848
+ const ks = /(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/, ec = `(?:${ks.source}?(?:\\[(${Ps.source})\\])?)?`, Dn = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, Es = RegExp(`${Dn.source}${ec}`), Bn = RegExp(`(?:[Tt]${Es.source})?`), tc = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, ic = /(\d{4})-?W(\d\d)(?:-?(\d))?/, rc = /(\d{4})-?(\d{3})/, nc = Ms("weekYear", "weekNumber", "weekDay"), ac = Ms("year", "ordinal"), sc = /(\d{4})-(\d\d)-(\d\d)/, Rs = RegExp(
1849
1849
  `${Dn.source} ?(?:${ks.source}|(${Ps.source}))?`
1850
- ), sc = RegExp(`(?: ${Rs.source})?`);
1850
+ ), oc = RegExp(`(?: ${Rs.source})?`);
1851
1851
  function ri(t, e, i) {
1852
1852
  const r = t[e];
1853
1853
  return q(r) ? i : vt(r);
1854
1854
  }
1855
- function oc(t, e) {
1855
+ function lc(t, e) {
1856
1856
  return [{
1857
1857
  year: ri(t, e),
1858
1858
  month: ri(t, e + 1, 1),
@@ -1875,8 +1875,8 @@ function Ei(t, e) {
1875
1875
  const i = t[e] ? ct.create(t[e]) : null;
1876
1876
  return [{}, i, e + 1];
1877
1877
  }
1878
- const lc = RegExp(`^T?${Dn.source}$`), dc = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
1879
- function cc(t) {
1878
+ const dc = RegExp(`^T?${Dn.source}$`), cc = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
1879
+ function uc(t) {
1880
1880
  const [e, i, r, n, a, s, o, l, d] = t, c = e[0] === "-", u = l && l[0] === "-", p = (f, h = !1) => f !== void 0 && (h || f && c) ? -f : f;
1881
1881
  return [
1882
1882
  {
@@ -1891,7 +1891,7 @@ function cc(t) {
1891
1891
  }
1892
1892
  ];
1893
1893
  }
1894
- const uc = {
1894
+ const pc = {
1895
1895
  GMT: 0,
1896
1896
  EDT: -240,
1897
1897
  EST: -300,
@@ -1912,8 +1912,8 @@ function Nn(t, e, i, r, n, a, s) {
1912
1912
  };
1913
1913
  return s && (o.second = vt(s)), t && (o.weekday = t.length > 3 ? Ls.indexOf(t) + 1 : Os.indexOf(t) + 1), o;
1914
1914
  }
1915
- const pc = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
1916
- function fc(t) {
1915
+ const fc = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
1916
+ function hc(t) {
1917
1917
  const [
1918
1918
  ,
1919
1919
  e,
@@ -1929,27 +1929,22 @@ function fc(t) {
1929
1929
  u
1930
1930
  ] = t, p = Nn(e, n, r, i, a, s, o);
1931
1931
  let f;
1932
- return l ? f = uc[l] : d ? f = 0 : f = Tr(c, u), [p, new we(f)];
1932
+ return l ? f = pc[l] : d ? f = 0 : f = Tr(c, u), [p, new we(f)];
1933
1933
  }
1934
- function hc(t) {
1934
+ function yc(t) {
1935
1935
  return t.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim();
1936
1936
  }
1937
- const yc = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/, mc = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, gc = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
1937
+ const mc = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/, gc = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, bc = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
1938
1938
  function pa(t) {
1939
1939
  const [, e, i, r, n, a, s, o] = t;
1940
1940
  return [Nn(e, n, r, i, a, s, o), we.utcInstance];
1941
1941
  }
1942
- function bc(t) {
1942
+ function Sc(t) {
1943
1943
  const [, e, i, r, n, a, s, o] = t;
1944
1944
  return [Nn(e, o, i, r, n, a, s), we.utcInstance];
1945
1945
  }
1946
- const Sc = ui(ec, Bn), vc = ui(tc, Bn), wc = ui(ic, Bn), xc = ui(Es), $s = pi(
1947
- oc,
1948
- hi,
1949
- ki,
1950
- Ei
1951
- ), Cc = pi(
1952
- rc,
1946
+ const vc = ui(tc, Bn), wc = ui(ic, Bn), xc = ui(rc, Bn), Cc = ui(Es), $s = pi(
1947
+ lc,
1953
1948
  hi,
1954
1949
  ki,
1955
1950
  Ei
@@ -1959,47 +1954,52 @@ const Sc = ui(ec, Bn), vc = ui(tc, Bn), wc = ui(ic, Bn), xc = ui(Es), $s = pi(
1959
1954
  ki,
1960
1955
  Ei
1961
1956
  ), Tc = pi(
1957
+ ac,
1958
+ hi,
1959
+ ki,
1960
+ Ei
1961
+ ), Ic = pi(
1962
1962
  hi,
1963
1963
  ki,
1964
1964
  Ei
1965
1965
  );
1966
- function Ic(t) {
1966
+ function Ac(t) {
1967
1967
  return fi(
1968
1968
  t,
1969
- [Sc, $s],
1970
- [vc, Cc],
1969
+ [vc, $s],
1971
1970
  [wc, Fc],
1972
- [xc, Tc]
1971
+ [xc, Tc],
1972
+ [Cc, Ic]
1973
1973
  );
1974
1974
  }
1975
- function Ac(t) {
1976
- return fi(hc(t), [pc, fc]);
1977
- }
1978
1975
  function Lc(t) {
1976
+ return fi(yc(t), [fc, hc]);
1977
+ }
1978
+ function Oc(t) {
1979
1979
  return fi(
1980
1980
  t,
1981
- [yc, pa],
1982
1981
  [mc, pa],
1983
- [gc, bc]
1982
+ [gc, pa],
1983
+ [bc, Sc]
1984
1984
  );
1985
1985
  }
1986
- function Oc(t) {
1987
- return fi(t, [dc, cc]);
1986
+ function Dc(t) {
1987
+ return fi(t, [cc, uc]);
1988
1988
  }
1989
- const Dc = pi(hi);
1990
- function Bc(t) {
1991
- return fi(t, [lc, Dc]);
1989
+ const Bc = pi(hi);
1990
+ function Nc(t) {
1991
+ return fi(t, [dc, Bc]);
1992
1992
  }
1993
- const Nc = ui(ac, sc), Pc = ui(Rs), Mc = pi(
1993
+ const Pc = ui(sc, oc), Mc = ui(Rs), kc = pi(
1994
1994
  hi,
1995
1995
  ki,
1996
1996
  Ei
1997
1997
  );
1998
- function kc(t) {
1998
+ function Ec(t) {
1999
1999
  return fi(
2000
2000
  t,
2001
- [Nc, $s],
2002
- [Pc, Mc]
2001
+ [Pc, $s],
2002
+ [Mc, kc]
2003
2003
  );
2004
2004
  }
2005
2005
  const fa = "Invalid Duration", qs = {
@@ -2019,7 +2019,7 @@ const fa = "Invalid Duration", qs = {
2019
2019
  hours: { minutes: 60, seconds: 3600, milliseconds: 3600 * 1e3 },
2020
2020
  minutes: { seconds: 60, milliseconds: 60 * 1e3 },
2021
2021
  seconds: { milliseconds: 1e3 }
2022
- }, Ec = {
2022
+ }, Rc = {
2023
2023
  years: {
2024
2024
  quarters: 4,
2025
2025
  months: 12,
@@ -2048,7 +2048,7 @@ const fa = "Invalid Duration", qs = {
2048
2048
  milliseconds: 720 * 60 * 60 * 1e3
2049
2049
  },
2050
2050
  ...qs
2051
- }, ke = 146097 / 400, Zt = 146097 / 4800, Rc = {
2051
+ }, ke = 146097 / 400, Zt = 146097 / 4800, $c = {
2052
2052
  years: {
2053
2053
  quarters: 4,
2054
2054
  months: 12,
@@ -2087,7 +2087,7 @@ const fa = "Invalid Duration", qs = {
2087
2087
  "minutes",
2088
2088
  "seconds",
2089
2089
  "milliseconds"
2090
- ], $c = Rt.slice(0).reverse();
2090
+ ], qc = Rt.slice(0).reverse();
2091
2091
  function at(t, e, i = !1) {
2092
2092
  const r = {
2093
2093
  values: i ? e.values : { ...t.values, ...e.values || {} },
@@ -2099,7 +2099,7 @@ function at(t, e, i = !1) {
2099
2099
  }
2100
2100
  function Ws(t, e) {
2101
2101
  let i = e.milliseconds ?? 0;
2102
- for (const r of $c.slice(1))
2102
+ for (const r of qc.slice(1))
2103
2103
  e[r] && (i += e[r] * t[r].milliseconds);
2104
2104
  return i;
2105
2105
  }
@@ -2135,7 +2135,7 @@ class Z {
2135
2135
  */
2136
2136
  constructor(e) {
2137
2137
  const i = e.conversionAccuracy === "longterm" || !1;
2138
- let r = i ? Rc : Ec;
2138
+ let r = i ? $c : Rc;
2139
2139
  e.matrix && (r = e.matrix), this.values = e.values, this.loc = e.loc || J.create(), this.conversionAccuracy = i ? "longterm" : "casual", this.invalid = e.invalid || null, this.matrix = r, this.isLuxonDuration = !0;
2140
2140
  }
2141
2141
  /**
@@ -2218,7 +2218,7 @@ class Z {
2218
2218
  * @return {Duration}
2219
2219
  */
2220
2220
  static fromISO(e, i) {
2221
- const [r] = Oc(e);
2221
+ const [r] = Dc(e);
2222
2222
  return r ? Z.fromObject(r, i) : Z.invalid("unparsable", `the input "${e}" can't be parsed as ISO 8601`);
2223
2223
  }
2224
2224
  /**
@@ -2238,7 +2238,7 @@ class Z {
2238
2238
  * @return {Duration}
2239
2239
  */
2240
2240
  static fromISOTime(e, i) {
2241
- const [r] = Bc(e);
2241
+ const [r] = Nc(e);
2242
2242
  return r ? Z.fromObject(r, i) : Z.invalid("unparsable", `the input "${e}" can't be parsed as ISO 8601`);
2243
2243
  }
2244
2244
  /**
@@ -2252,7 +2252,7 @@ class Z {
2252
2252
  throw new be("need to specify a reason the Duration is invalid");
2253
2253
  const r = e instanceof Ye ? e : new Ye(e, i);
2254
2254
  if (le.throwOnInvalid)
2255
- throw new cd(r);
2255
+ throw new ud(r);
2256
2256
  return new Z({ invalid: r });
2257
2257
  }
2258
2258
  /**
@@ -2726,7 +2726,7 @@ class Z {
2726
2726
  }
2727
2727
  }
2728
2728
  const Yt = "Invalid Interval";
2729
- function qc(t, e) {
2729
+ function Wc(t, e) {
2730
2730
  return !t || !t.isValid ? oe.invalid("missing or invalid start") : !e || !e.isValid ? oe.invalid("missing or invalid end") : e < t ? oe.invalid(
2731
2731
  "end before start",
2732
2732
  `The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`
@@ -2750,7 +2750,7 @@ class oe {
2750
2750
  throw new be("need to specify a reason the Interval is invalid");
2751
2751
  const r = e instanceof Ye ? e : new Ye(e, i);
2752
2752
  if (le.throwOnInvalid)
2753
- throw new dd(r);
2753
+ throw new cd(r);
2754
2754
  return new oe({ invalid: r });
2755
2755
  }
2756
2756
  /**
@@ -2760,7 +2760,7 @@ class oe {
2760
2760
  * @return {Interval}
2761
2761
  */
2762
2762
  static fromDateTimes(e, i) {
2763
- const r = mi(e), n = mi(i), a = qc(r, n);
2763
+ const r = mi(e), n = mi(i), a = Wc(r, n);
2764
2764
  return a ?? new oe({
2765
2765
  start: r,
2766
2766
  end: n
@@ -3367,7 +3367,7 @@ function ma(t, e) {
3367
3367
  const i = (n) => n.toUTC(0, { keepLocalTime: !0 }).startOf("day").valueOf(), r = i(e) - i(t);
3368
3368
  return Math.floor(Z.fromMillis(r).as("days"));
3369
3369
  }
3370
- function Wc(t, e, i) {
3370
+ function Vc(t, e, i) {
3371
3371
  const r = [
3372
3372
  ["years", (l, d) => d.year - l.year],
3373
3373
  ["quarters", (l, d) => d.quarter - l.quarter + (d.year - l.year) * 4],
@@ -3386,8 +3386,8 @@ function Wc(t, e, i) {
3386
3386
  i.indexOf(l) >= 0 && (s = l, n[l] = d(t, e), o = a.plus(n), o > e ? (n[l]--, t = a.plus(n), t > e && (o = t, n[l]--, t = a.plus(n))) : t = o);
3387
3387
  return [t, n, o, s];
3388
3388
  }
3389
- function Vc(t, e, i, r) {
3390
- let [n, a, s, o] = Wc(t, e, i);
3389
+ function jc(t, e, i, r) {
3390
+ let [n, a, s, o] = Vc(t, e, i);
3391
3391
  const l = e - n, d = i.filter(
3392
3392
  (u) => ["hours", "minutes", "seconds", "milliseconds"].indexOf(u) >= 0
3393
3393
  );
@@ -3395,12 +3395,12 @@ function Vc(t, e, i, r) {
3395
3395
  const c = Z.fromObject(a, r);
3396
3396
  return d.length > 0 ? Z.fromMillis(l, r).shiftTo(...d).plus(c) : c;
3397
3397
  }
3398
- const jc = "missing Intl.DateTimeFormat.formatToParts support";
3398
+ const zc = "missing Intl.DateTimeFormat.formatToParts support";
3399
3399
  function Y(t, e = (i) => i) {
3400
- return { regex: t, deser: ([i]) => e(Nd(i)) };
3400
+ return { regex: t, deser: ([i]) => e(Pd(i)) };
3401
3401
  }
3402
- const zc = " ", Vs = `[ ${zc}]`, js = new RegExp(Vs, "g");
3403
- function _c(t) {
3402
+ const _c = " ", Vs = `[ ${_c}]`, js = new RegExp(Vs, "g");
3403
+ function Uc(t) {
3404
3404
  return t.replace(/\./g, "\\.?").replace(js, Vs);
3405
3405
  }
3406
3406
  function ga(t) {
@@ -3408,7 +3408,7 @@ function ga(t) {
3408
3408
  }
3409
3409
  function He(t, e) {
3410
3410
  return t === null ? null : {
3411
- regex: RegExp(t.map(_c).join("|")),
3411
+ regex: RegExp(t.map(Uc).join("|")),
3412
3412
  deser: ([i]) => t.findIndex((r) => ga(i) === ga(r)) + e
3413
3413
  };
3414
3414
  }
@@ -3418,11 +3418,11 @@ function ba(t, e) {
3418
3418
  function Qi(t) {
3419
3419
  return { regex: t, deser: ([e]) => e };
3420
3420
  }
3421
- function Uc(t) {
3421
+ function Gc(t) {
3422
3422
  return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
3423
3423
  }
3424
- function Gc(t, e) {
3425
- const i = Ge(e), r = Ge(e, "{2}"), n = Ge(e, "{3}"), a = Ge(e, "{4}"), s = Ge(e, "{6}"), o = Ge(e, "{1,2}"), l = Ge(e, "{1,3}"), d = Ge(e, "{1,6}"), c = Ge(e, "{1,9}"), u = Ge(e, "{2,4}"), p = Ge(e, "{4,6}"), f = (g) => ({ regex: RegExp(Uc(g.val)), deser: ([S]) => S, literal: !0 }), m = ((g) => {
3424
+ function Hc(t, e) {
3425
+ const i = Ge(e), r = Ge(e, "{2}"), n = Ge(e, "{3}"), a = Ge(e, "{4}"), s = Ge(e, "{6}"), o = Ge(e, "{1,2}"), l = Ge(e, "{1,3}"), d = Ge(e, "{1,6}"), c = Ge(e, "{1,9}"), u = Ge(e, "{2,4}"), p = Ge(e, "{4,6}"), f = (g) => ({ regex: RegExp(Gc(g.val)), deser: ([S]) => S, literal: !0 }), m = ((g) => {
3426
3426
  if (t.literal)
3427
3427
  return f(g);
3428
3428
  switch (g.val) {
@@ -3543,11 +3543,11 @@ function Gc(t, e) {
3543
3543
  return f(g);
3544
3544
  }
3545
3545
  })(t) || {
3546
- invalidReason: jc
3546
+ invalidReason: zc
3547
3547
  };
3548
3548
  return m.token = t, m;
3549
3549
  }
3550
- const Hc = {
3550
+ const Qc = {
3551
3551
  year: {
3552
3552
  "2-digit": "yy",
3553
3553
  numeric: "yyyyy"
@@ -3589,7 +3589,7 @@ const Hc = {
3589
3589
  short: "ZZZ"
3590
3590
  }
3591
3591
  };
3592
- function Qc(t, e, i) {
3592
+ function Zc(t, e, i) {
3593
3593
  const { type: r, value: n } = t;
3594
3594
  if (r === "literal") {
3595
3595
  const l = /^\s+$/.test(n);
@@ -3601,17 +3601,17 @@ function Qc(t, e, i) {
3601
3601
  const a = e[r];
3602
3602
  let s = r;
3603
3603
  r === "hour" && (e.hour12 != null ? s = e.hour12 ? "hour12" : "hour24" : e.hourCycle != null ? e.hourCycle === "h11" || e.hourCycle === "h12" ? s = "hour12" : s = "hour24" : s = i.hour12 ? "hour12" : "hour24");
3604
- let o = Hc[s];
3604
+ let o = Qc[s];
3605
3605
  if (typeof o == "object" && (o = o[a]), o)
3606
3606
  return {
3607
3607
  literal: !1,
3608
3608
  val: o
3609
3609
  };
3610
3610
  }
3611
- function Zc(t) {
3611
+ function Yc(t) {
3612
3612
  return [`^${t.map((i) => i.regex).reduce((i, r) => `${i}(${r.source})`, "")}$`, t];
3613
3613
  }
3614
- function Yc(t, e, i) {
3614
+ function Jc(t, e, i) {
3615
3615
  const r = t.match(e);
3616
3616
  if (r) {
3617
3617
  const n = {};
@@ -3625,7 +3625,7 @@ function Yc(t, e, i) {
3625
3625
  } else
3626
3626
  return [r, {}];
3627
3627
  }
3628
- function Jc(t) {
3628
+ function Xc(t) {
3629
3629
  const e = (a) => {
3630
3630
  switch (a) {
3631
3631
  case "S":
@@ -3666,28 +3666,28 @@ function Jc(t) {
3666
3666
  }, {}), i, r];
3667
3667
  }
3668
3668
  let jr = null;
3669
- function Xc() {
3669
+ function Kc() {
3670
3670
  return jr || (jr = E.fromMillis(1555555555555)), jr;
3671
3671
  }
3672
- function Kc(t, e) {
3672
+ function eu(t, e) {
3673
3673
  if (t.literal)
3674
3674
  return t;
3675
3675
  const i = Se.macroTokenToFormatOpts(t.val), r = Gs(i, e);
3676
3676
  return r == null || r.includes(void 0) ? t : r;
3677
3677
  }
3678
3678
  function zs(t, e) {
3679
- return Array.prototype.concat(...t.map((i) => Kc(i, e)));
3679
+ return Array.prototype.concat(...t.map((i) => eu(i, e)));
3680
3680
  }
3681
3681
  class _s {
3682
3682
  constructor(e, i) {
3683
- if (this.locale = e, this.format = i, this.tokens = zs(Se.parseFormat(i), e), this.units = this.tokens.map((r) => Gc(r, e)), this.disqualifyingUnit = this.units.find((r) => r.invalidReason), !this.disqualifyingUnit) {
3684
- const [r, n] = Zc(this.units);
3683
+ if (this.locale = e, this.format = i, this.tokens = zs(Se.parseFormat(i), e), this.units = this.tokens.map((r) => Hc(r, e)), this.disqualifyingUnit = this.units.find((r) => r.invalidReason), !this.disqualifyingUnit) {
3684
+ const [r, n] = Yc(this.units);
3685
3685
  this.regex = RegExp(r, "i"), this.handlers = n;
3686
3686
  }
3687
3687
  }
3688
3688
  explainFromTokens(e) {
3689
3689
  if (this.isValid) {
3690
- const [i, r] = Yc(e, this.regex, this.handlers), [n, a, s] = r ? Jc(r) : [null, null, void 0];
3690
+ const [i, r] = Jc(e, this.regex, this.handlers), [n, a, s] = r ? Xc(r) : [null, null, void 0];
3691
3691
  if (si(r, "a") && si(r, "H"))
3692
3692
  throw new ei(
3693
3693
  "Can't include meridiem when specifying 24-hour format"
@@ -3715,15 +3715,15 @@ class _s {
3715
3715
  function Us(t, e, i) {
3716
3716
  return new _s(t, i).explainFromTokens(e);
3717
3717
  }
3718
- function eu(t, e, i) {
3718
+ function tu(t, e, i) {
3719
3719
  const { result: r, zone: n, specificOffset: a, invalidReason: s } = Us(t, e, i);
3720
3720
  return [r, n, a, s];
3721
3721
  }
3722
3722
  function Gs(t, e) {
3723
3723
  if (!t)
3724
3724
  return null;
3725
- const r = Se.create(e, t).dtFormatter(Xc()), n = r.formatToParts(), a = r.resolvedOptions();
3726
- return n.map((s) => Qc(s, t, a));
3725
+ const r = Se.create(e, t).dtFormatter(Kc()), n = r.formatToParts(), a = r.resolvedOptions();
3726
+ return n.map((s) => Zc(s, t, a));
3727
3727
  }
3728
3728
  const zr = "Invalid DateTime", Sa = 864e13;
3729
3729
  function Si(t) {
@@ -3853,20 +3853,20 @@ const Qs = {
3853
3853
  minute: 0,
3854
3854
  second: 0,
3855
3855
  millisecond: 0
3856
- }, tu = {
3856
+ }, iu = {
3857
3857
  weekNumber: 1,
3858
3858
  weekday: 1,
3859
3859
  hour: 0,
3860
3860
  minute: 0,
3861
3861
  second: 0,
3862
3862
  millisecond: 0
3863
- }, iu = {
3863
+ }, ru = {
3864
3864
  ordinal: 1,
3865
3865
  hour: 0,
3866
3866
  minute: 0,
3867
3867
  second: 0,
3868
3868
  millisecond: 0
3869
- }, ar = ["year", "month", "day", "hour", "minute", "second", "millisecond"], ru = [
3869
+ }, ar = ["year", "month", "day", "hour", "minute", "second", "millisecond"], nu = [
3870
3870
  "weekYear",
3871
3871
  "weekNumber",
3872
3872
  "weekday",
@@ -3874,7 +3874,7 @@ const Qs = {
3874
3874
  "minute",
3875
3875
  "second",
3876
3876
  "millisecond"
3877
- ], nu = ["year", "ordinal", "hour", "minute", "second", "millisecond"];
3877
+ ], au = ["year", "ordinal", "hour", "minute", "second", "millisecond"];
3878
3878
  function sr(t) {
3879
3879
  const e = {
3880
3880
  year: "year",
@@ -3920,7 +3920,7 @@ function xa(t) {
3920
3920
  return sr(t);
3921
3921
  }
3922
3922
  }
3923
- function au(t) {
3923
+ function su(t) {
3924
3924
  if (vi === void 0 && (vi = le.now()), t.type !== "iana")
3925
3925
  return t.offset(vi);
3926
3926
  const e = t.name;
@@ -3941,7 +3941,7 @@ function Ca(t, e) {
3941
3941
  const s = vs(t) || ws(t);
3942
3942
  if (s)
3943
3943
  return E.invalid(s);
3944
- const o = au(i);
3944
+ const o = su(i);
3945
3945
  [n, a] = nr(t, o, i);
3946
3946
  }
3947
3947
  return new E({ ts: n, zone: i, loc: r, o: a });
@@ -4054,7 +4054,7 @@ class E {
4054
4054
  * @return {DateTime}
4055
4055
  */
4056
4056
  static fromJSDate(e, i = {}) {
4057
- const r = Rd(e) ? e.valueOf() : NaN;
4057
+ const r = $d(e) ? e.valueOf() : NaN;
4058
4058
  if (Number.isNaN(r))
4059
4059
  return E.invalid("invalid input");
4060
4060
  const n = xt(i.zone, le.defaultZone);
@@ -4153,13 +4153,13 @@ class E {
4153
4153
  throw new ei("Can't mix ordinal dates with month/day");
4154
4154
  const m = h || a.weekday && !f;
4155
4155
  let g, S, v = Zi(l, d);
4156
- m ? (g = ru, S = tu, v = pr(v, s, o)) : c ? (g = nu, S = iu, v = Vr(v)) : (g = ar, S = Qs);
4156
+ m ? (g = nu, S = iu, v = pr(v, s, o)) : c ? (g = au, S = ru, v = Vr(v)) : (g = ar, S = Qs);
4157
4157
  let w = !1;
4158
4158
  for (const P of g) {
4159
4159
  const I = a[P];
4160
4160
  q(I) ? w ? a[P] = S[P] : a[P] = v[P] : w = !0;
4161
4161
  }
4162
- const C = m ? Md(a, s, o) : c ? kd(a) : vs(a), F = C || ws(a);
4162
+ const C = m ? kd(a, s, o) : c ? Ed(a) : vs(a), F = C || ws(a);
4163
4163
  if (F)
4164
4164
  return E.invalid(F);
4165
4165
  const T = m ? sa(a, s, o) : c ? oa(a) : a, [L, O] = nr(T, d, r), N = new E({
@@ -4191,7 +4191,7 @@ class E {
4191
4191
  * @return {DateTime}
4192
4192
  */
4193
4193
  static fromISO(e, i = {}) {
4194
- const [r, n] = Ic(e);
4194
+ const [r, n] = Ac(e);
4195
4195
  return Jt(r, n, i, "ISO 8601", e);
4196
4196
  }
4197
4197
  /**
@@ -4210,7 +4210,7 @@ class E {
4210
4210
  * @return {DateTime}
4211
4211
  */
4212
4212
  static fromRFC2822(e, i = {}) {
4213
- const [r, n] = Ac(e);
4213
+ const [r, n] = Lc(e);
4214
4214
  return Jt(r, n, i, "RFC 2822", e);
4215
4215
  }
4216
4216
  /**
@@ -4230,7 +4230,7 @@ class E {
4230
4230
  * @return {DateTime}
4231
4231
  */
4232
4232
  static fromHTTP(e, i = {}) {
4233
- const [r, n] = Lc(e);
4233
+ const [r, n] = Oc(e);
4234
4234
  return Jt(r, n, i, "HTTP", i);
4235
4235
  }
4236
4236
  /**
@@ -4254,7 +4254,7 @@ class E {
4254
4254
  locale: n,
4255
4255
  numberingSystem: a,
4256
4256
  defaultToEN: !0
4257
- }), [o, l, d, c] = eu(s, e, i);
4257
+ }), [o, l, d, c] = tu(s, e, i);
4258
4258
  return c ? E.invalid(c) : Jt(o, l, r, `format ${i}`, e, d);
4259
4259
  }
4260
4260
  /**
@@ -4285,7 +4285,7 @@ class E {
4285
4285
  * @return {DateTime}
4286
4286
  */
4287
4287
  static fromSQL(e, i = {}) {
4288
- const [r, n] = kc(e);
4288
+ const [r, n] = Ec(e);
4289
4289
  return Jt(r, n, i, "SQL", e);
4290
4290
  }
4291
4291
  /**
@@ -4299,7 +4299,7 @@ class E {
4299
4299
  throw new be("need to specify a reason the DateTime is invalid");
4300
4300
  const r = e instanceof Ye ? e : new Ye(e, i);
4301
4301
  if (le.throwOnInvalid)
4302
- throw new ld(r);
4302
+ throw new dd(r);
4303
4303
  return new E({ invalid: r });
4304
4304
  }
4305
4305
  /**
@@ -5188,7 +5188,7 @@ class E {
5188
5188
  diff(e, i = "milliseconds", r = {}) {
5189
5189
  if (!this.isValid || !e.isValid)
5190
5190
  return Z.invalid("created by diffing an invalid DateTime");
5191
- const n = { locale: this.locale, numberingSystem: this.numberingSystem, ...r }, a = $d(i).map(Z.normalizeUnit), s = e.valueOf() > this.valueOf(), o = s ? this : e, l = s ? e : this, d = Vc(o, l, a, n);
5191
+ const n = { locale: this.locale, numberingSystem: this.numberingSystem, ...r }, a = qd(i).map(Z.normalizeUnit), s = e.valueOf() > this.valueOf(), o = s ? this : e, l = s ? e : this, d = jc(o, l, a, n);
5192
5192
  return s ? d.negate() : d;
5193
5193
  }
5194
5194
  /**
@@ -5403,7 +5403,7 @@ class E {
5403
5403
  * @type {Object}
5404
5404
  */
5405
5405
  static get DATE_MED_WITH_WEEKDAY() {
5406
- return ud;
5406
+ return pd;
5407
5407
  }
5408
5408
  /**
5409
5409
  * {@link DateTime#toLocaleString} format like 'October 14, 1983'
@@ -5508,7 +5508,7 @@ class E {
5508
5508
  * @type {Object}
5509
5509
  */
5510
5510
  static get DATETIME_MED_WITH_WEEKDAY() {
5511
- return pd;
5511
+ return fd;
5512
5512
  }
5513
5513
  /**
5514
5514
  * {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30 AM EDT'. Only 12-hour if the locale is.
@@ -5555,7 +5555,7 @@ const Ia = {
5555
5555
  Start: "minValue",
5556
5556
  End: "maxValue"
5557
5557
  };
5558
- function su(t, e) {
5558
+ function ou(t, e) {
5559
5559
  const i = e.errors[t];
5560
5560
  throw new je(e.modalHeaders.error, i ?? e.errors.simpleError);
5561
5561
  }
@@ -5584,28 +5584,28 @@ function ag(t) {
5584
5584
  e.verticalAxisLabelsBehavior !== i.verticalAxisLabelsBehavior
5585
5585
  ];
5586
5586
  }
5587
- function ou(t) {
5588
- return Te(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Te(t[2].valueFormat));
5589
- }
5590
5587
  function lu(t) {
5591
5588
  return Te(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Te(t[2].valueFormat));
5592
5589
  }
5593
5590
  function du(t) {
5594
- return (Ft(t?.[0]?.valueFormat) || $t(t?.[0]?.valueFormat)) && Te(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Te(t[2].valueFormat));
5591
+ return Te(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Te(t[2].valueFormat));
5595
5592
  }
5596
5593
  function cu(t) {
5597
- return Ft(t?.[0]?.valueFormat) && Ft(t?.[1]?.valueFormat) || $t(t?.[0]?.valueFormat) && Ft(t?.[1]?.valueFormat) || $t(t?.[0]?.valueFormat) && $t(t?.[1]?.valueFormat);
5594
+ return (Ft(t?.[0]?.valueFormat) || $t(t?.[0]?.valueFormat)) && Te(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Te(t[2].valueFormat));
5598
5595
  }
5599
5596
  function uu(t) {
5600
- return (Ft(t?.[0]?.valueFormat) || $t(t?.[0]?.valueFormat)) && Te(t?.[1]?.valueFormat);
5597
+ return Ft(t?.[0]?.valueFormat) && Ft(t?.[1]?.valueFormat) || $t(t?.[0]?.valueFormat) && Ft(t?.[1]?.valueFormat) || $t(t?.[0]?.valueFormat) && $t(t?.[1]?.valueFormat);
5601
5598
  }
5602
5599
  function pu(t) {
5603
- return Te(t?.[0]?.valueFormat) && Te(t?.[1]?.valueFormat);
5600
+ return (Ft(t?.[0]?.valueFormat) || $t(t?.[0]?.valueFormat)) && Te(t?.[1]?.valueFormat);
5604
5601
  }
5605
5602
  function fu(t) {
5606
5603
  return Te(t?.[0]?.valueFormat) && Te(t?.[1]?.valueFormat);
5607
5604
  }
5608
5605
  function hu(t) {
5606
+ return Te(t?.[0]?.valueFormat) && Te(t?.[1]?.valueFormat);
5607
+ }
5608
+ function yu(t) {
5609
5609
  return Te(t?.[0]?.valueFormat);
5610
5610
  }
5611
5611
  function sg(t) {
@@ -5613,33 +5613,33 @@ function sg(t) {
5613
5613
  let n, a;
5614
5614
  switch (e) {
5615
5615
  case y.GaugeSeries:
5616
- n = hu, a = "invalidValueFormatForGauge";
5616
+ n = yu, a = "invalidValueFormatForGauge";
5617
5617
  break;
5618
5618
  case y.ScatterSeries:
5619
- n = pu, a = "invalidValueFormatForScatterplot";
5619
+ n = fu, a = "invalidValueFormatForScatterplot";
5620
5620
  break;
5621
5621
  case y.HistogramSeries:
5622
- n = fu, a = "invalidValueFormatForHistogram";
5622
+ n = hu, a = "invalidValueFormatForHistogram";
5623
5623
  break;
5624
5624
  case y.LineSeries:
5625
- n = ou, a = "invalidValueFormatForLineChart";
5625
+ n = lu, a = "invalidValueFormatForLineChart";
5626
5626
  break;
5627
5627
  case y.BarSeries:
5628
- n = lu, a = "invalidValueFormatForBarChart";
5628
+ n = du, a = "invalidValueFormatForBarChart";
5629
5629
  break;
5630
5630
  case y.ComboLineAndBarSeries:
5631
- n = uu, a = "invalidValueFormatForComboBarLineChart";
5631
+ n = pu, a = "invalidValueFormatForComboBarLineChart";
5632
5632
  break;
5633
5633
  case y.BoxPlotSeries:
5634
- n = du, a = "invalidValueFormatForBoxPlot";
5634
+ n = cu, a = "invalidValueFormatForBoxPlot";
5635
5635
  break;
5636
5636
  case y.HeatSeries:
5637
- n = cu, a = "invalidValueFormatForHeatChart";
5637
+ n = uu, a = "invalidValueFormatForHeatChart";
5638
5638
  break;
5639
5639
  }
5640
- n !== void 0 && a !== void 0 && (n(i) || su(a, r));
5640
+ n !== void 0 && a !== void 0 && (n(i) || ou(a, r));
5641
5641
  }
5642
- function yu(t) {
5642
+ function mu(t) {
5643
5643
  const { isXAxis: e, chartType: i, valueFormat: r, isAxisForHistogramOverlaySeries: n } = t;
5644
5644
  return e && (Ft(r) || i === y.HistogramSeries && !n || i === y.BarSeries && Te(r));
5645
5645
  }
@@ -5651,7 +5651,7 @@ function og(t) {
5651
5651
  return (r === void 0 || r.includes(a.id)) && (i === !0 && "assignToSecondValueAxis" in a && a.assignToSecondValueAxis === !0 || i !== !0 && (!("assignToSecondValueAxis" in a) || a.assignToSecondValueAxis !== !0)) && ({ id: s } = a), s;
5652
5652
  }).filter((a) => a !== "")), n;
5653
5653
  }
5654
- const mu = {
5654
+ const gu = {
5655
5655
  MonoSelection: "monoSelection",
5656
5656
  MultiSelection: "multiSelection",
5657
5657
  MultiSelectionWithCtrlKey: "multiSelectionWithCtrlKey",
@@ -5674,7 +5674,7 @@ const mu = {
5674
5674
  LegendTitle: "legendTitle",
5675
5675
  LegendText: "legendText",
5676
5676
  DescriptionText: "descriptionText"
5677
- }, gu = 32, ot = "arcgis_charts_features_extent", ae = {
5677
+ }, bu = 32, ot = "arcgis_charts_features_extent", ae = {
5678
5678
  maxRecordCountFactor: 5,
5679
5679
  maxParallelRequests: 4,
5680
5680
  maxRecords: 2e3,
@@ -5685,7 +5685,7 @@ const mu = {
5685
5685
  outStatisticFieldName: "arcgis_charts_outStatisticFieldName_default_key"
5686
5686
  },
5687
5687
  uniqueIdsName: "arcgisChartsUniqueIds"
5688
- }, Zs = ["EXPR_1", "Expr1", "expr1", "EXPR1"], dg = 1, Ie = 0.7, bu = 25, Ys = [156, 156, 156, 255], Su = [156, 156, 156, 255], cg = qt.Solid, ug = 2, Fi = {
5688
+ }, Zs = ["EXPR_1", "Expr1", "expr1", "EXPR1"], dg = 1, Ie = 0.7, Su = 25, Ys = [156, 156, 156, 255], vu = [156, 156, 156, 255], cg = qt.Solid, ug = 2, Fi = {
5689
5689
  defaultGroupOfSlicesId: "arcgis_charts_group_of_slices",
5690
5690
  sliceIdPrefix: "arcgis-charts-slice-id",
5691
5691
  undefinedSliceId: "arcgis-charts-slice-id-undefined",
@@ -5695,7 +5695,7 @@ const mu = {
5695
5695
  valueField: "arcgis_charts_heat_chart_value",
5696
5696
  xField: "arcgis_charts_heat_chart_x",
5697
5697
  yField: "arcgis_charts_heat_chart_y"
5698
- }, vu = [
5698
+ }, wu = [
5699
5699
  [31, 120, 180, 255],
5700
5700
  [166, 206, 227, 255],
5701
5701
  [51, 160, 44, 255],
@@ -5727,7 +5727,7 @@ const mu = {
5727
5727
  // purple
5728
5728
  [220, 195, 255, 255]
5729
5729
  // lilac
5730
- ], wu = [
5730
+ ], xu = [
5731
5731
  [104, 104, 104, 255],
5732
5732
  [51, 124, 235, 255],
5733
5733
  [132, 0, 168, 255],
@@ -5743,7 +5743,7 @@ const mu = {
5743
5743
  // normal curve – subtle light gray
5744
5744
  ];
5745
5745
  function Ve(t) {
5746
- const { colorIndex: e, opacity: i, histogramOverlays: r } = t, n = Math.max(0, e ?? 0), a = [...r === !0 ? wu : vu], [s, o, l, d] = a[n % a.length], c = i !== void 0 ? i * 255 : d;
5746
+ const { colorIndex: e, opacity: i, histogramOverlays: r } = t, n = Math.max(0, e ?? 0), a = [...r === !0 ? xu : wu], [s, o, l, d] = a[n % a.length], c = i !== void 0 ? i * 255 : d;
5747
5747
  return [s, o, l, c];
5748
5748
  }
5749
5749
  function Js(t) {
@@ -5829,7 +5829,7 @@ function Ri(t) {
5829
5829
  width: r
5830
5830
  };
5831
5831
  }
5832
- function xu() {
5832
+ function Cu() {
5833
5833
  return {
5834
5834
  type: y.CategoryAxisFormat,
5835
5835
  characterLimit: 11
@@ -5889,7 +5889,7 @@ function Hr(t = "Category Axis") {
5889
5889
  visible: !0,
5890
5890
  title: e,
5891
5891
  labels: i,
5892
- valueFormat: xu(),
5892
+ valueFormat: Cu(),
5893
5893
  lineSymbol: Ri({ color: Ys })
5894
5894
  };
5895
5895
  }
@@ -5956,7 +5956,7 @@ function bg(t, e = !1) {
5956
5956
  })
5957
5957
  };
5958
5958
  }
5959
- function Cu(t = 0) {
5959
+ function Fu(t = 0) {
5960
5960
  return {
5961
5961
  type: ie.SMS,
5962
5962
  style: Fn.Circle,
@@ -5967,7 +5967,7 @@ function Cu(t = 0) {
5967
5967
  size: 5
5968
5968
  };
5969
5969
  }
5970
- function Fu(t) {
5970
+ function Tu(t) {
5971
5971
  return {
5972
5972
  type: ie.SLS,
5973
5973
  style: qt.Solid,
@@ -5978,7 +5978,7 @@ function Fu(t) {
5978
5978
  width: 2
5979
5979
  };
5980
5980
  }
5981
- function Tu(t = !1) {
5981
+ function Iu(t = !1) {
5982
5982
  return {
5983
5983
  type: ie.SMS,
5984
5984
  style: Fn.Circle,
@@ -5990,12 +5990,12 @@ function Sg() {
5990
5990
  return {
5991
5991
  type: y.SizePolicy,
5992
5992
  field: "",
5993
- scaleType: Ml.Linear,
5993
+ scaleType: kl.Linear,
5994
5994
  minSize: 5,
5995
5995
  maxSize: 30
5996
5996
  };
5997
5997
  }
5998
- function Iu(t = !1) {
5998
+ function Au(t = !1) {
5999
5999
  return {
6000
6000
  type: y.Overlays,
6001
6001
  trendLine: {
@@ -6011,7 +6011,7 @@ function Iu(t = !1) {
6011
6011
  }
6012
6012
  };
6013
6013
  }
6014
- function Au(t) {
6014
+ function Lu(t) {
6015
6015
  const e = t ?? "ObjectID";
6016
6016
  return {
6017
6017
  type: y.HeatSeries,
@@ -6035,15 +6035,15 @@ function Au(t) {
6035
6035
  }
6036
6036
  };
6037
6037
  }
6038
- function Lu() {
6038
+ function Ou() {
6039
6039
  return {
6040
6040
  type: y.ScatterSeries,
6041
6041
  id: y.ScatterSeries,
6042
6042
  name: y.ScatterSeries,
6043
6043
  x: "",
6044
6044
  y: "",
6045
- markerSymbol: Tu(),
6046
- overlays: Iu(),
6045
+ markerSymbol: Iu(),
6046
+ overlays: Au(),
6047
6047
  dataLabels: H({
6048
6048
  text: "",
6049
6049
  visible: !1,
@@ -6055,7 +6055,7 @@ function jt(t, e) {
6055
6055
  const i = [], r = t.xAxis, n = t.utilsStrings.statistics.count;
6056
6056
  let a, s;
6057
6057
  const o = Ri({
6058
- opacity: bu
6058
+ opacity: Su
6059
6059
  });
6060
6060
  switch (e === y.HeatSeries ? s = Hr(n) : (s = or(n), s.grid = o), e) {
6061
6061
  case y.BarSeries:
@@ -6080,7 +6080,7 @@ function jt(t, e) {
6080
6080
  }
6081
6081
  return a !== void 0 && i.push(a, s), i;
6082
6082
  }
6083
- function Ou() {
6083
+ function Du() {
6084
6084
  return {
6085
6085
  type: y.GaugeNeedle,
6086
6086
  symbol: {
@@ -6089,11 +6089,11 @@ function Ou() {
6089
6089
  }
6090
6090
  };
6091
6091
  }
6092
- function Du(t) {
6092
+ function Bu(t) {
6093
6093
  const e = [], i = t.xAxis, r = or(i);
6094
- return r.needle = Ou(), e.push(r), e;
6094
+ return r.needle = Du(), e.push(r), e;
6095
6095
  }
6096
- function Bu(t) {
6096
+ function Nu(t) {
6097
6097
  const e = t.commonStrings, i = t.objectIDField ?? "ObjectID", r = `${A.Count}_${i}_0`.toUpperCase(), n = e.countSeries;
6098
6098
  return {
6099
6099
  type: y.LineSeries,
@@ -6111,8 +6111,8 @@ function Bu(t) {
6111
6111
  },
6112
6112
  x: "",
6113
6113
  y: r,
6114
- lineSymbol: Fu(t.seriesIndex),
6115
- markerSymbol: Cu(t.seriesIndex),
6114
+ lineSymbol: Tu(t.seriesIndex),
6115
+ markerSymbol: Fu(t.seriesIndex),
6116
6116
  dataLabels: H({
6117
6117
  text: "",
6118
6118
  visible: !1,
@@ -6128,9 +6128,9 @@ function Bu(t) {
6128
6128
  };
6129
6129
  }
6130
6130
  function vg(t) {
6131
- return { ...Bu(t), type: y.RadarSeries };
6131
+ return { ...Nu(t), type: y.RadarSeries };
6132
6132
  }
6133
- function Nu(t) {
6133
+ function Pu(t) {
6134
6134
  return {
6135
6135
  type: ie.SFS,
6136
6136
  style: ci.Solid,
@@ -6158,7 +6158,7 @@ function wg(t) {
6158
6158
  },
6159
6159
  x: "",
6160
6160
  y: r,
6161
- fillSymbol: Nu(t.seriesIndex),
6161
+ fillSymbol: Pu(t.seriesIndex),
6162
6162
  dataLabels: H({
6163
6163
  text: "",
6164
6164
  visible: !1,
@@ -6186,17 +6186,17 @@ function xg(t, e) {
6186
6186
  y: ""
6187
6187
  };
6188
6188
  }
6189
- function Pu() {
6189
+ function Mu() {
6190
6190
  return {
6191
6191
  type: y.PieTick,
6192
6192
  visible: !0,
6193
6193
  lineSymbol: Ri({
6194
6194
  width: 1,
6195
- color: Su
6195
+ color: vu
6196
6196
  })
6197
6197
  };
6198
6198
  }
6199
- function Mu() {
6199
+ function ku() {
6200
6200
  return {
6201
6201
  type: ie.SFS,
6202
6202
  style: ci.Solid
@@ -6220,7 +6220,7 @@ function Cg(t, e) {
6220
6220
  },
6221
6221
  x: "",
6222
6222
  y: i,
6223
- fillSymbol: Mu(),
6223
+ fillSymbol: ku(),
6224
6224
  dataLabels: H({
6225
6225
  text: "",
6226
6226
  visible: !1,
@@ -6247,7 +6247,7 @@ function Cg(t, e) {
6247
6247
  maximumFractionDigits: 1
6248
6248
  }
6249
6249
  },
6250
- ticks: Pu()
6250
+ ticks: Mu()
6251
6251
  };
6252
6252
  }
6253
6253
  function Fg(t) {
@@ -6436,7 +6436,7 @@ function Dg(t, e = yt()) {
6436
6436
  font: X(_.ChartTitle)
6437
6437
  }),
6438
6438
  series: [],
6439
- axes: Du(t)
6439
+ axes: Bu(t)
6440
6440
  };
6441
6441
  }
6442
6442
  function Bg(t, e = yt()) {
@@ -6458,7 +6458,7 @@ function Bg(t, e = yt()) {
6458
6458
  }),
6459
6459
  background: Dt(),
6460
6460
  axes: jt(t, y.ScatterSeries),
6461
- series: [Lu()],
6461
+ series: [Ou()],
6462
6462
  legend: Ot()
6463
6463
  };
6464
6464
  }
@@ -6474,11 +6474,11 @@ function Ng(t, e) {
6474
6474
  }),
6475
6475
  background: Dt(),
6476
6476
  axes: jt(t, y.HeatSeries),
6477
- series: [Au(e)],
6477
+ series: [Lu(e)],
6478
6478
  legend: { ...Ot(), position: wr.Bottom }
6479
6479
  };
6480
6480
  }
6481
- function ku() {
6481
+ function Eu() {
6482
6482
  return {
6483
6483
  type: y.Overlays,
6484
6484
  mean: Ji(1),
@@ -6487,14 +6487,14 @@ function ku() {
6487
6487
  comparisonDistribution: Ji(4)
6488
6488
  };
6489
6489
  }
6490
- function Eu() {
6490
+ function Ru() {
6491
6491
  return {
6492
6492
  type: ie.SFS,
6493
6493
  style: ci.Solid,
6494
6494
  color: Ve({ colorIndex: 0, opacity: Ie })
6495
6495
  };
6496
6496
  }
6497
- function Ru() {
6497
+ function $u() {
6498
6498
  return {
6499
6499
  type: y.HistogramSeries,
6500
6500
  id: y.HistogramSeries,
@@ -6505,9 +6505,9 @@ function Ru() {
6505
6505
  assignToSecondValueAxis: !1,
6506
6506
  x: "",
6507
6507
  binCount: 32,
6508
- overlays: ku(),
6508
+ overlays: Eu(),
6509
6509
  dataTransformationType: me.None,
6510
- fillSymbol: Eu(),
6510
+ fillSymbol: Ru(),
6511
6511
  dataLabels: H({
6512
6512
  text: "",
6513
6513
  visible: !1,
@@ -6534,7 +6534,7 @@ function Pg(t, e = yt()) {
6534
6534
  }),
6535
6535
  background: Dt(),
6536
6536
  axes: jt(t, y.HistogramSeries),
6537
- series: [Ru()],
6537
+ series: [$u()],
6538
6538
  legend: Ot()
6539
6539
  };
6540
6540
  }
@@ -6687,13 +6687,13 @@ function kg(t, e) {
6687
6687
  }
6688
6688
  return i;
6689
6689
  }
6690
- function $u() {
6690
+ function qu() {
6691
6691
  return qe.Side;
6692
6692
  }
6693
6693
  function Eg(t) {
6694
6694
  return t.utilsStrings.notAvailable;
6695
6695
  }
6696
- const qu = 0, Wu = "_arcgis_charts_outliers", Vu = "_arcgis_charts_z_score", Rg = [210, 210, 210, 255 * Ie], $g = " percentage ", Qr = [150, 150, 150, 255], x = {
6696
+ const Wu = 0, Vu = "_arcgis_charts_outliers", ju = "_arcgis_charts_z_score", Rg = [210, 210, 210, 255 * Ie], $g = " percentage ", Qr = [150, 150, 150, 255], x = {
6697
6697
  aria: {
6698
6698
  defaultChartItemRole: "figure"
6699
6699
  },
@@ -6948,7 +6948,7 @@ const qu = 0, Wu = "_arcgis_charts_outliers", Vu = "_arcgis_charts_z_score", Rg
6948
6948
  lineSeries: {
6949
6949
  strokeWidth: 2,
6950
6950
  lineSmoothed: !1,
6951
- lineSmoothedKind: kl.Bezier,
6951
+ lineSmoothedKind: El.Bezier,
6952
6952
  showArea: !1,
6953
6953
  areaOpacity: 0.25,
6954
6954
  markerVisible: !0,
@@ -6974,7 +6974,7 @@ const qu = 0, Wu = "_arcgis_charts_outliers", Vu = "_arcgis_charts_z_score", Rg
6974
6974
  dataLabelsInside: !1,
6975
6975
  chartRadius: 80,
6976
6976
  chartOptimizedRadius: 70,
6977
- innerRadius: qu,
6977
+ innerRadius: Wu,
6978
6978
  min: -90,
6979
6979
  max: 270,
6980
6980
  displayCategoryOnLegend: !0,
@@ -7123,7 +7123,7 @@ const qu = 0, Wu = "_arcgis_charts_outliers", Vu = "_arcgis_charts_z_score", Rg
7123
7123
  axisLabelOveredOpacity: 0.5,
7124
7124
  // 50% of original opacity
7125
7125
  generalFontSize: 10,
7126
- actionMode: mu.MultiSelectionWithCtrlKey,
7126
+ actionMode: gu.MultiSelectionWithCtrlKey,
7127
7127
  debounceTime: 100,
7128
7128
  // 100 ms
7129
7129
  chartDefaultPaddingRight: 0,
@@ -7244,7 +7244,7 @@ const qu = 0, Wu = "_arcgis_charts_outliers", Vu = "_arcgis_charts_z_score", Rg
7244
7244
  },
7245
7245
  focusableThreshold: 500
7246
7246
  };
7247
- function ju(t) {
7247
+ function zu(t) {
7248
7248
  const { stringToTruncate: e, characterLimit: i, ellipsis: r = x.chartEllipsis } = t;
7249
7249
  let n = e;
7250
7250
  return typeof i == "number" && Number.isFinite(i) && i > 0 && i < e.length && (n = e.slice(0, i), n = `${n}${r}`), n;
@@ -7255,37 +7255,37 @@ function qg(t, e = ":") {
7255
7255
  function Wg(t) {
7256
7256
  return (i) => {
7257
7257
  let r = typeof i != "string" ? i?.toString() ?? "" : i;
7258
- return !ce(r) && r !== x.htmlEmptyContent && (r = ju({
7258
+ return !ce(r) && r !== x.htmlEmptyContent && (r = zu({
7259
7259
  stringToTruncate: r,
7260
7260
  characterLimit: t
7261
7261
  })), r;
7262
7262
  };
7263
7263
  }
7264
- function zu(t) {
7264
+ function _u(t) {
7265
7265
  const e = /[[]/gu, i = /[\]]/gu, r = /[{]/gu, n = /[}]/gu, a = /[']/gu;
7266
7266
  return t = t.replace(e, "[["), t = t.replace(i, "]]"), t = t.replace(r, "{{"), t = t.replace(n, "}}"), t = t.replace(a, "''"), t;
7267
7267
  }
7268
- function _u(t, e) {
7268
+ function Uu(t, e) {
7269
7269
  let i = "";
7270
7270
  return t !== void 0 && (i = `${e === "amChartsV5" ? "fontStyle" : "font-style"}:${t};`), i;
7271
7271
  }
7272
- function Uu(t, e) {
7272
+ function Gu(t, e) {
7273
7273
  let i = "";
7274
7274
  return t === !0 && (i = `${e === "amChartsV5" ? "letterSpacing" : "letter-spacing"}:1px;`), i;
7275
7275
  }
7276
7276
  function Vg(t) {
7277
- const { textSymbol: e, placeholderString: i, format: r, axisLabelsBehavior: n, defaults: a } = t, s = _u(e?.font?.style, r), o = Uu(e?.kerning, r);
7277
+ const { textSymbol: e, placeholderString: i, format: r, axisLabelsBehavior: n, defaults: a } = t, s = Uu(e?.font?.style, r), o = Gu(e?.kerning, r);
7278
7278
  let l = i ?? e?.text ?? "";
7279
7279
  if (r === "html") {
7280
7280
  let { wrap: d, maxWidth: c } = a ?? {};
7281
- n === El.Wrap && (d = !0, c = c ?? x.xAxisLabelMaxWidth);
7281
+ n === Rl.Wrap && (d = !0, c = c ?? x.xAxisLabelMaxWidth);
7282
7282
  const u = d === !0 && Number.isFinite(c) ? `max-width: ${c}px; word-break: break-word;` : "";
7283
7283
  l = `<p style="margin:0;${s}${o}${u}">${l}</p>`;
7284
7284
  } else
7285
- l = zu(l), (s !== "" || o !== "") && (l = `[${s}${o}]${l}[/]`);
7285
+ l = _u(l), (s !== "" || o !== "") && (l = `[${s}${o}]${l}[/]`);
7286
7286
  return l;
7287
7287
  }
7288
- function Gu(t) {
7288
+ function Hu(t) {
7289
7289
  return t ? t.replace(/[A-Z]/gu, (e) => `-${e.toLowerCase()}`) : void 0;
7290
7290
  }
7291
7291
  function Ai(t) {
@@ -7294,10 +7294,10 @@ function Ai(t) {
7294
7294
  function Ae(t) {
7295
7295
  return j(t?.series) === y.BoxPlotSeries;
7296
7296
  }
7297
- function Hu(t, e) {
7297
+ function Qu(t, e) {
7298
7298
  return t[0].dataTransformationType !== e[0].dataTransformationType;
7299
7299
  }
7300
- function Qu(t, e) {
7300
+ function Zu(t, e) {
7301
7301
  return t[0].binCount !== e[0].binCount;
7302
7302
  }
7303
7303
  function jg(t, e) {
@@ -7315,7 +7315,7 @@ function zg(t) {
7315
7315
  return n = e.series.map((d, c) => {
7316
7316
  const u = j([d]);
7317
7317
  let p;
7318
- return (u === y.BarSeries || u === y.LineSeries || u === y.RadarSeries) && (d.type === y.BarSeries ? p = d.fillSymbol?.color : (d.type === y.RadarSeries || d.type === y.LineSeries) && (p = d.lineSymbol?.color), s ? p = ap({
7318
+ return (u === y.BarSeries || u === y.LineSeries || u === y.RadarSeries) && (d.type === y.BarSeries ? p = d.fillSymbol?.color : (d.type === y.RadarSeries || d.type === y.LineSeries) && (p = d.lineSymbol?.color), s ? p = sp({
7319
7319
  dataItem: r[0],
7320
7320
  seriesConfig: d,
7321
7321
  chartSubType: a,
@@ -7327,14 +7327,14 @@ function zg(t) {
7327
7327
  function fn(t) {
7328
7328
  return t !== b.PieNoAggregation && t !== b.BarAndLineNoAggregation && t !== b.BarAndLineSplitByNoAggregation;
7329
7329
  }
7330
- function Zu(t) {
7330
+ function Yu(t) {
7331
7331
  const e = V(t.series);
7332
7332
  return e === b.BarAndLineFromFields || e === b.PieFromFields || e === b.BoxPlotMonoField || e === b.BoxPlotMultiFields || e === b.BoxPlotMonoFieldAndSplitBy || e === b.BoxPlotMultiFieldsAndSplitBy;
7333
7333
  }
7334
7334
  function Li(t) {
7335
7335
  return Ae(t) ? t?.showMean ?? !1 : !1;
7336
7336
  }
7337
- function Yu(t) {
7337
+ function Ju(t) {
7338
7338
  return Ae(t) ? t?.showOutliers : void 0;
7339
7339
  }
7340
7340
  function _g() {
@@ -7377,10 +7377,10 @@ function Ug(t) {
7377
7377
  }
7378
7378
  return r;
7379
7379
  }
7380
- function Ju(t, e) {
7381
- return Gu(t?.type) ?? e?.type;
7380
+ function Xu(t, e) {
7381
+ return Hu(t?.type) ?? e?.type;
7382
7382
  }
7383
- function Xu(t) {
7383
+ function Ku(t) {
7384
7384
  const e = x.rendererSymbolField;
7385
7385
  let i = e in t ? e : void 0;
7386
7386
  if (!i) {
@@ -7392,13 +7392,13 @@ function Xu(t) {
7392
7392
  }
7393
7393
  return t[i]?.label;
7394
7394
  }
7395
- function Ku(t) {
7395
+ function ep(t) {
7396
7396
  return t?.type !== void 0 && (t.color !== void 0 || t.label !== void 0 || t.style !== void 0 || t.outline !== void 0);
7397
7397
  }
7398
7398
  function Ks(t) {
7399
7399
  const { symbolField: e, dataItem: i, rendererSymbol: r, rendererOrigin: n } = t;
7400
7400
  let a = !1;
7401
- if (!Ku(r))
7401
+ if (!ep(r))
7402
7402
  delete i[e];
7403
7403
  else {
7404
7404
  const s = { ...r };
@@ -7406,7 +7406,7 @@ function Ks(t) {
7406
7406
  }
7407
7407
  return a;
7408
7408
  }
7409
- function ep(t) {
7409
+ function tp(t) {
7410
7410
  const { renderer: e, seriesConfig: i, chartSubType: r, dataItem: n, rendererOrigin: a } = t;
7411
7411
  let s, o = !1;
7412
7412
  const l = j(i), { outline: d, attributes: c } = e;
@@ -7448,7 +7448,7 @@ function ep(t) {
7448
7448
  }
7449
7449
  ), { rendererSymbol: s, colorMatchApplied: o };
7450
7450
  }
7451
- function tp(t) {
7451
+ function ip(t) {
7452
7452
  const { seriesConfig: e, chartSubType: i, rendererType: r } = t;
7453
7453
  let a = x.rendererSymbolField;
7454
7454
  if (r === ve.UniqueValue) {
@@ -7477,25 +7477,25 @@ function tp(t) {
7477
7477
  }
7478
7478
  function eo(t) {
7479
7479
  const { seriesConfig: e, chartSubType: i, rendererType: r, dataItem: n } = t;
7480
- let a = tp({
7480
+ let a = ip({
7481
7481
  seriesConfig: e,
7482
7482
  chartSubType: i,
7483
7483
  rendererType: r
7484
7484
  });
7485
7485
  return a instanceof Array && e.type === y.BoxPlotSeries && r === ve.PieChart && n !== void 0 && (a = a.find((s) => s === n[yi]) ?? a[0]), a = a !== x.rendererSymbolField ? `${x.rendererSymbolField}_${a.toString()}` : a, a;
7486
7486
  }
7487
- function ip(t) {
7487
+ function rp(t) {
7488
7488
  const { chartRenderer: e, queryObject: i } = t, r = e !== void 0 ? {
7489
7489
  // TODO: find a better way to copy the layer. For now it's all right as the information we need are not lost with the spread operator
7490
7490
  // eslint-disable-next-line @typescript-eslint/no-misused-spread
7491
7491
  ...Q(i),
7492
7492
  renderer: _a.fromJSON(e)
7493
7493
  } : Q(i);
7494
- return new zl({
7494
+ return new _l({
7495
7495
  layer: r
7496
7496
  });
7497
7497
  }
7498
- async function rp(t) {
7498
+ async function np(t) {
7499
7499
  const {
7500
7500
  seriesConfig: e,
7501
7501
  dataItem: i,
@@ -7510,7 +7510,7 @@ async function rp(t) {
7510
7510
  } = t;
7511
7511
  let u, p = !1;
7512
7512
  if (n === ve.PieChart) {
7513
- const f = ep({
7513
+ const f = tp({
7514
7514
  renderer: r,
7515
7515
  seriesConfig: e,
7516
7516
  chartSubType: s,
@@ -7518,7 +7518,7 @@ async function rp(t) {
7518
7518
  rendererOrigin: a
7519
7519
  });
7520
7520
  u = f.rendererSymbol, p = f.colorMatchApplied;
7521
- } else if (!Uo(i)) {
7521
+ } else if (!Go(i)) {
7522
7522
  const { x: f } = e[0], h = /* @__PURE__ */ new Map();
7523
7523
  o && o.trim() !== "" ? e.forEach((m) => {
7524
7524
  if (m.type === y.BarSeries || m.type === y.LineSeries || m.type === y.BoxPlotSeries || m.type === y.RadarSeries) {
@@ -7542,7 +7542,7 @@ async function rp(t) {
7542
7542
  [te.valueField]: i[te.valueField]
7543
7543
  }) : h.set(x.rendererSymbolField, {
7544
7544
  ...i,
7545
- [f]: dp(i)
7545
+ [f]: cp(i)
7546
7546
  });
7547
7547
  try {
7548
7548
  const m = Array.from(h.entries()), g = l.clone();
@@ -7587,7 +7587,7 @@ async function rp(t) {
7587
7587
  }
7588
7588
  return { rendererSymbol: u, colorMatchApplied: p };
7589
7589
  }
7590
- function np(t) {
7590
+ function ap(t) {
7591
7591
  const e = t;
7592
7592
  return t?.type === "uniqueValue" && (t.uniqueValueInfos = t.uniqueValueInfos.map((i) => {
7593
7593
  const r = i.value === null ? x.nullValue : i.value;
@@ -7604,16 +7604,16 @@ async function Gg(t) {
7604
7604
  const { data: e, queryObject: i, chartConfig: r, allowColorMatch: n } = t;
7605
7605
  let a = !1, s = [];
7606
7606
  if (n) {
7607
- const { series: o, chartRenderer: l } = r, d = np(l), c = d ? ti.ChartRenderer : ti.LayerRenderer, u = i ? Q(i) : void 0, p = d ?? u?.renderer;
7607
+ const { series: o, chartRenderer: l } = r, d = ap(l), c = d ? ti.ChartRenderer : ti.LayerRenderer, u = i ? Q(i) : void 0, p = d ?? u?.renderer;
7608
7608
  let f;
7609
- u && c === ti.LayerRenderer ? s = await rl(u) : c === ti.ChartRenderer && (s = op(p));
7610
- const h = Ju(d, u?.renderer), m = ip({
7609
+ u && c === ti.LayerRenderer ? s = await nl(u) : c === ti.ChartRenderer && (s = lp(p));
7610
+ const h = Xu(d, u?.renderer), m = rp({
7611
7611
  chartRenderer: l,
7612
7612
  queryObject: i
7613
7613
  }), g = V(o), S = Bt(r), v = ge(S.query?.where);
7614
7614
  f = /* @__PURE__ */ new Map();
7615
7615
  for (let w = 0; w < e.length; w += 1) {
7616
- const C = e[w], F = await rp({
7616
+ const C = e[w], F = await np({
7617
7617
  seriesConfig: r.series,
7618
7618
  dataItem: C,
7619
7619
  renderer: p,
@@ -7630,7 +7630,7 @@ async function Gg(t) {
7630
7630
  }
7631
7631
  return { dataItems: e, colorMatchApplied: a, rendererFieldNames: s };
7632
7632
  }
7633
- function ap(t) {
7633
+ function sp(t) {
7634
7634
  const { dataItem: e, seriesConfig: i, chartSubType: r, colorMatch: n, rendererType: a } = t;
7635
7635
  let s;
7636
7636
  if (n && e !== void 0) {
@@ -7659,19 +7659,19 @@ function Hg(t) {
7659
7659
  color: i?.outline?.color ?? a.outline?.color ?? i?.color
7660
7660
  }), a;
7661
7661
  }
7662
- function sp(t) {
7662
+ function op(t) {
7663
7663
  let e = [];
7664
7664
  return t && (e = t.series.flatMap((i) => i.query?.outStatistics?.map((r) => r.onStatisticField)).filter((i) => i !== void 0), e.length === 0 && (e = xe(t.series))), e;
7665
7665
  }
7666
7666
  function Qg(t, e) {
7667
7667
  let i = !1;
7668
7668
  if (t && e && e.length > 0 && So(t)) {
7669
- const n = Zu(t), a = Bt(t);
7670
- n ? i = sp(t).some((o) => e.includes(o)) : i = e.includes(a.x);
7669
+ const n = Yu(t), a = Bt(t);
7670
+ n ? i = op(t).some((o) => e.includes(o)) : i = e.includes(a.x);
7671
7671
  }
7672
7672
  return i;
7673
7673
  }
7674
- function op(t) {
7674
+ function lp(t) {
7675
7675
  let e = [];
7676
7676
  if (t && "type" in t && typeof t.type == "string")
7677
7677
  switch (t.type) {
@@ -7687,7 +7687,7 @@ function op(t) {
7687
7687
  }
7688
7688
  return e;
7689
7689
  }
7690
- function lp(t) {
7690
+ function dp(t) {
7691
7691
  let e;
7692
7692
  return t?.[0] !== void 0 && (e = t.reduce(
7693
7693
  (i, r) => ({
@@ -7713,12 +7713,12 @@ function Oi(t) {
7713
7713
  let l = e;
7714
7714
  const { originalCategoryValue: d, originalDateValue: c, typeOrDomainIdValue: u } = x;
7715
7715
  if (i !== void 0) {
7716
- const p = s ? Xu(i) : void 0;
7716
+ const p = s ? Ku(i) : void 0;
7717
7717
  r !== void 0 && i[r] !== void 0 ? l = i[r] : p !== void 0 ? l = p : n === !1 && i[u] !== void 0 ? l = i[u] : i[c] !== void 0 ? l = i[c] : i[d] !== void 0 ? l = i[d] : i[Fe] !== void 0 && (l = i[Fe]), !a && l === null && (l = "null", o?.series?.[0].type === y.BarSeries && (l = o.series?.[0]?.nullCategory?.text ?? Ii.nullCategory?.text ?? l));
7718
7718
  }
7719
7719
  return l;
7720
7720
  }
7721
- function dp(t) {
7721
+ function cp(t) {
7722
7722
  return t?.[x.typeOrDomainIdValue] !== void 0 ? t?.[x.typeOrDomainIdValue] : t?.[x.originalCategoryValue];
7723
7723
  }
7724
7724
  function yr(t) {
@@ -7750,7 +7750,7 @@ function yr(t) {
7750
7750
  });
7751
7751
  }
7752
7752
  }
7753
- function cp(t) {
7753
+ function up(t) {
7754
7754
  const { arrayToSort: e, orderBy: i, sortingField: r, fieldList: n, isByFieldsChart: a, preferLabel: s } = t;
7755
7755
  e !== void 0 && e.length > 1 && !ce(r) && i !== void 0 && i.length > 0 && e.sort((o, l) => {
7756
7756
  let d = o[r];
@@ -7763,7 +7763,7 @@ function cp(t) {
7763
7763
  return p === -1 && (p = i.length), c - p;
7764
7764
  });
7765
7765
  }
7766
- function up(t, e) {
7766
+ function pp(t, e) {
7767
7767
  const i = t;
7768
7768
  if (e?.[0] !== void 0 && V(e) === b.PieFromFields) {
7769
7769
  const { x: r, y: n } = e[0];
@@ -7771,7 +7771,7 @@ function up(t, e) {
7771
7771
  }
7772
7772
  return i;
7773
7773
  }
7774
- function pp(t, e) {
7774
+ function fp(t, e) {
7775
7775
  const i = j(e);
7776
7776
  let r = t;
7777
7777
  const n = e?.[0];
@@ -7798,10 +7798,10 @@ function La(t) {
7798
7798
  const r = Or(e);
7799
7799
  return r.isInItem && delete e[r.expr ?? ""], e;
7800
7800
  }
7801
- function fp(t, e) {
7801
+ function hp(t, e) {
7802
7802
  let i = t;
7803
7803
  const r = j(e);
7804
- let n = ml(i);
7804
+ let n = gl(i);
7805
7805
  if (n !== void 0)
7806
7806
  switch (r) {
7807
7807
  case y.ComboLineAndBarSeries:
@@ -7812,7 +7812,7 @@ function fp(t, e) {
7812
7812
  {
7813
7813
  n = n.map(La), i = { dataItems: n };
7814
7814
  const { timeIntervalInfo: a, serverLimitReached: s } = t ?? {};
7815
- Nl(a) || (i.timeIntervalInfo = a), s !== void 0 && (i.serverLimitReached = s);
7815
+ Pl(a) || (i.timeIntervalInfo = a), s !== void 0 && (i.serverLimitReached = s);
7816
7816
  }
7817
7817
  break;
7818
7818
  case y.ScatterSeries:
@@ -7827,7 +7827,7 @@ function fp(t, e) {
7827
7827
  function to(t) {
7828
7828
  const { data: e, seriesConfig: i } = t;
7829
7829
  let r = ai(e);
7830
- return r !== void 0 && (r = pp(r, i), r = fp(r, i), r = up(r, i)), r;
7830
+ return r !== void 0 && (r = fp(r, i), r = hp(r, i), r = pp(r, i)), r;
7831
7831
  }
7832
7832
  function io(t) {
7833
7833
  const { statsMap: e, dataContext: i, chartLimits: r } = t;
@@ -7838,7 +7838,7 @@ function io(t) {
7838
7838
  } else i !== void 0 && (n = x.scatterplotAggregationFields.dataContextXMinField in i);
7839
7839
  return n;
7840
7840
  }
7841
- function hp(t) {
7841
+ function yp(t) {
7842
7842
  let e = !0;
7843
7843
  const i = j(t.series);
7844
7844
  if (i === y.BarSeries || i === y.LineSeries || i === y.ComboLineAndBarSeries) {
@@ -7847,10 +7847,10 @@ function hp(t) {
7847
7847
  }
7848
7848
  return e;
7849
7849
  }
7850
- function yp(t) {
7850
+ function mp(t) {
7851
7851
  return V(t.series) !== b.PieNoAggregation;
7852
7852
  }
7853
- function mp(t) {
7853
+ function gp(t) {
7854
7854
  const { dataContext: e, chartConfig: i, chartLimits: r } = t;
7855
7855
  let n = !0;
7856
7856
  if (i !== void 0)
@@ -7858,18 +7858,18 @@ function mp(t) {
7858
7858
  case y.BarSeries:
7859
7859
  case y.LineSeries:
7860
7860
  case y.ComboLineAndBarSeries:
7861
- n = hp(i);
7861
+ n = yp(i);
7862
7862
  break;
7863
7863
  case y.ScatterSeries:
7864
7864
  n = io({ dataContext: e, chartLimits: r });
7865
7865
  break;
7866
7866
  case y.PieSeries:
7867
- n = yp(i);
7867
+ n = mp(i);
7868
7868
  break;
7869
7869
  }
7870
7870
  return n;
7871
7871
  }
7872
- function gp(t, e) {
7872
+ function bp(t, e) {
7873
7873
  let i = t;
7874
7874
  switch (e) {
7875
7875
  case me.Log:
@@ -7903,13 +7903,13 @@ function mr(t) {
7903
7903
  }
7904
7904
  return a;
7905
7905
  }
7906
- function bp(t, e) {
7906
+ function Sp(t, e) {
7907
7907
  let i = !0;
7908
7908
  if (t !== void 0 && t.length > 1 && !ce(e)) {
7909
7909
  let r = 0, n = 0, a = 0;
7910
7910
  t.forEach((s) => {
7911
7911
  const o = s[e];
7912
- !yf(o) || o === 0 ? a += 1 : o > 0 ? r += 1 : n += 1;
7912
+ !mf(o) || o === 0 ? a += 1 : o > 0 ? r += 1 : n += 1;
7913
7913
  }), i = a === t.length || r >= 0 && n === 0 || r === 0 && n >= 0;
7914
7914
  }
7915
7915
  return i;
@@ -7984,7 +7984,7 @@ function Oa(t, e) {
7984
7984
  }
7985
7985
  return i;
7986
7986
  }
7987
- function Sp(t) {
7987
+ function vp(t) {
7988
7988
  let e = !1;
7989
7989
  if (t !== void 0) {
7990
7990
  const i = t.replace(" ", ""), r = /^%(0*100{1,1}\.?((?:\.)0*)?$)|(^%0*\d{0,2}\.?((?:\.)\d*)?)$/u, n = /^(0*100{1,1}\.?((?:\.)0*)?%$)|(^0*\d{0,2}\.?((?:\.)\d*)?%)$/u;
@@ -7994,7 +7994,7 @@ function Sp(t) {
7994
7994
  }
7995
7995
  function Zg(t) {
7996
7996
  let e;
7997
- if (Sp(t)) {
7997
+ if (vp(t)) {
7998
7998
  const i = /%(\d{1,3}(.\d+)?)$/u, r = /(\d{1,3}(.\d+)?)%$/u, n = t.replace(" ", ""), a = i.exec(n)?.[1] ?? r.exec(n)?.[1];
7999
7999
  a !== void 0 && (e = Number(a));
8000
8000
  }
@@ -8048,20 +8048,20 @@ function no() {
8048
8048
  var t = {};
8049
8049
  return t["align-content"] = !1, t["align-items"] = !1, t["align-self"] = !1, t["alignment-adjust"] = !1, t["alignment-baseline"] = !1, t.all = !1, t["anchor-point"] = !1, t.animation = !1, t["animation-delay"] = !1, t["animation-direction"] = !1, t["animation-duration"] = !1, t["animation-fill-mode"] = !1, t["animation-iteration-count"] = !1, t["animation-name"] = !1, t["animation-play-state"] = !1, t["animation-timing-function"] = !1, t.azimuth = !1, t["backface-visibility"] = !1, t.background = !0, t["background-attachment"] = !0, t["background-clip"] = !0, t["background-color"] = !0, t["background-image"] = !0, t["background-origin"] = !0, t["background-position"] = !0, t["background-repeat"] = !0, t["background-size"] = !0, t["baseline-shift"] = !1, t.binding = !1, t.bleed = !1, t["bookmark-label"] = !1, t["bookmark-level"] = !1, t["bookmark-state"] = !1, t.border = !0, t["border-bottom"] = !0, t["border-bottom-color"] = !0, t["border-bottom-left-radius"] = !0, t["border-bottom-right-radius"] = !0, t["border-bottom-style"] = !0, t["border-bottom-width"] = !0, t["border-collapse"] = !0, t["border-color"] = !0, t["border-image"] = !0, t["border-image-outset"] = !0, t["border-image-repeat"] = !0, t["border-image-slice"] = !0, t["border-image-source"] = !0, t["border-image-width"] = !0, t["border-left"] = !0, t["border-left-color"] = !0, t["border-left-style"] = !0, t["border-left-width"] = !0, t["border-radius"] = !0, t["border-right"] = !0, t["border-right-color"] = !0, t["border-right-style"] = !0, t["border-right-width"] = !0, t["border-spacing"] = !0, t["border-style"] = !0, t["border-top"] = !0, t["border-top-color"] = !0, t["border-top-left-radius"] = !0, t["border-top-right-radius"] = !0, t["border-top-style"] = !0, t["border-top-width"] = !0, t["border-width"] = !0, t.bottom = !1, t["box-decoration-break"] = !0, t["box-shadow"] = !0, t["box-sizing"] = !0, t["box-snap"] = !0, t["box-suppress"] = !0, t["break-after"] = !0, t["break-before"] = !0, t["break-inside"] = !0, t["caption-side"] = !1, t.chains = !1, t.clear = !0, t.clip = !1, t["clip-path"] = !1, t["clip-rule"] = !1, t.color = !0, t["color-interpolation-filters"] = !0, t["column-count"] = !1, t["column-fill"] = !1, t["column-gap"] = !1, t["column-rule"] = !1, t["column-rule-color"] = !1, t["column-rule-style"] = !1, t["column-rule-width"] = !1, t["column-span"] = !1, t["column-width"] = !1, t.columns = !1, t.contain = !1, t.content = !1, t["counter-increment"] = !1, t["counter-reset"] = !1, t["counter-set"] = !1, t.crop = !1, t.cue = !1, t["cue-after"] = !1, t["cue-before"] = !1, t.cursor = !1, t.direction = !1, t.display = !0, t["display-inside"] = !0, t["display-list"] = !0, t["display-outside"] = !0, t["dominant-baseline"] = !1, t.elevation = !1, t["empty-cells"] = !1, t.filter = !1, t.flex = !1, t["flex-basis"] = !1, t["flex-direction"] = !1, t["flex-flow"] = !1, t["flex-grow"] = !1, t["flex-shrink"] = !1, t["flex-wrap"] = !1, t.float = !1, t["float-offset"] = !1, t["flood-color"] = !1, t["flood-opacity"] = !1, t["flow-from"] = !1, t["flow-into"] = !1, t.font = !0, t["font-family"] = !0, t["font-feature-settings"] = !0, t["font-kerning"] = !0, t["font-language-override"] = !0, t["font-size"] = !0, t["font-size-adjust"] = !0, t["font-stretch"] = !0, t["font-style"] = !0, t["font-synthesis"] = !0, t["font-variant"] = !0, t["font-variant-alternates"] = !0, t["font-variant-caps"] = !0, t["font-variant-east-asian"] = !0, t["font-variant-ligatures"] = !0, t["font-variant-numeric"] = !0, t["font-variant-position"] = !0, t["font-weight"] = !0, t.grid = !1, t["grid-area"] = !1, t["grid-auto-columns"] = !1, t["grid-auto-flow"] = !1, t["grid-auto-rows"] = !1, t["grid-column"] = !1, t["grid-column-end"] = !1, t["grid-column-start"] = !1, t["grid-row"] = !1, t["grid-row-end"] = !1, t["grid-row-start"] = !1, t["grid-template"] = !1, t["grid-template-areas"] = !1, t["grid-template-columns"] = !1, t["grid-template-rows"] = !1, t["hanging-punctuation"] = !1, t.height = !0, t.hyphens = !1, t.icon = !1, t["image-orientation"] = !1, t["image-resolution"] = !1, t["ime-mode"] = !1, t["initial-letters"] = !1, t["inline-box-align"] = !1, t["justify-content"] = !1, t["justify-items"] = !1, t["justify-self"] = !1, t.left = !1, t["letter-spacing"] = !0, t["lighting-color"] = !0, t["line-box-contain"] = !1, t["line-break"] = !1, t["line-grid"] = !1, t["line-height"] = !1, t["line-snap"] = !1, t["line-stacking"] = !1, t["line-stacking-ruby"] = !1, t["line-stacking-shift"] = !1, t["line-stacking-strategy"] = !1, t["list-style"] = !0, t["list-style-image"] = !0, t["list-style-position"] = !0, t["list-style-type"] = !0, t.margin = !0, t["margin-bottom"] = !0, t["margin-left"] = !0, t["margin-right"] = !0, t["margin-top"] = !0, t["marker-offset"] = !1, t["marker-side"] = !1, t.marks = !1, t.mask = !1, t["mask-box"] = !1, t["mask-box-outset"] = !1, t["mask-box-repeat"] = !1, t["mask-box-slice"] = !1, t["mask-box-source"] = !1, t["mask-box-width"] = !1, t["mask-clip"] = !1, t["mask-image"] = !1, t["mask-origin"] = !1, t["mask-position"] = !1, t["mask-repeat"] = !1, t["mask-size"] = !1, t["mask-source-type"] = !1, t["mask-type"] = !1, t["max-height"] = !0, t["max-lines"] = !1, t["max-width"] = !0, t["min-height"] = !0, t["min-width"] = !0, t["move-to"] = !1, t["nav-down"] = !1, t["nav-index"] = !1, t["nav-left"] = !1, t["nav-right"] = !1, t["nav-up"] = !1, t["object-fit"] = !1, t["object-position"] = !1, t.opacity = !1, t.order = !1, t.orphans = !1, t.outline = !1, t["outline-color"] = !1, t["outline-offset"] = !1, t["outline-style"] = !1, t["outline-width"] = !1, t.overflow = !1, t["overflow-wrap"] = !1, t["overflow-x"] = !1, t["overflow-y"] = !1, t.padding = !0, t["padding-bottom"] = !0, t["padding-left"] = !0, t["padding-right"] = !0, t["padding-top"] = !0, t.page = !1, t["page-break-after"] = !1, t["page-break-before"] = !1, t["page-break-inside"] = !1, t["page-policy"] = !1, t.pause = !1, t["pause-after"] = !1, t["pause-before"] = !1, t.perspective = !1, t["perspective-origin"] = !1, t.pitch = !1, t["pitch-range"] = !1, t["play-during"] = !1, t.position = !1, t["presentation-level"] = !1, t.quotes = !1, t["region-fragment"] = !1, t.resize = !1, t.rest = !1, t["rest-after"] = !1, t["rest-before"] = !1, t.richness = !1, t.right = !1, t.rotation = !1, t["rotation-point"] = !1, t["ruby-align"] = !1, t["ruby-merge"] = !1, t["ruby-position"] = !1, t["shape-image-threshold"] = !1, t["shape-outside"] = !1, t["shape-margin"] = !1, t.size = !1, t.speak = !1, t["speak-as"] = !1, t["speak-header"] = !1, t["speak-numeral"] = !1, t["speak-punctuation"] = !1, t["speech-rate"] = !1, t.stress = !1, t["string-set"] = !1, t["tab-size"] = !1, t["table-layout"] = !1, t["text-align"] = !0, t["text-align-last"] = !0, t["text-combine-upright"] = !0, t["text-decoration"] = !0, t["text-decoration-color"] = !0, t["text-decoration-line"] = !0, t["text-decoration-skip"] = !0, t["text-decoration-style"] = !0, t["text-emphasis"] = !0, t["text-emphasis-color"] = !0, t["text-emphasis-position"] = !0, t["text-emphasis-style"] = !0, t["text-height"] = !0, t["text-indent"] = !0, t["text-justify"] = !0, t["text-orientation"] = !0, t["text-overflow"] = !0, t["text-shadow"] = !0, t["text-space-collapse"] = !0, t["text-transform"] = !0, t["text-underline-position"] = !0, t["text-wrap"] = !0, t.top = !1, t.transform = !1, t["transform-origin"] = !1, t["transform-style"] = !1, t.transition = !1, t["transition-delay"] = !1, t["transition-duration"] = !1, t["transition-property"] = !1, t["transition-timing-function"] = !1, t["unicode-bidi"] = !1, t["vertical-align"] = !1, t.visibility = !1, t["voice-balance"] = !1, t["voice-duration"] = !1, t["voice-family"] = !1, t["voice-pitch"] = !1, t["voice-range"] = !1, t["voice-rate"] = !1, t["voice-stress"] = !1, t["voice-volume"] = !1, t.volume = !1, t["white-space"] = !1, t.widows = !1, t.width = !0, t["will-change"] = !1, t["word-break"] = !0, t["word-spacing"] = !0, t["word-wrap"] = !0, t["wrap-flow"] = !1, t["wrap-through"] = !1, t["writing-mode"] = !1, t["z-index"] = !1, t;
8050
8050
  }
8051
- function vp(t, e, i) {
8052
- }
8053
8051
  function wp(t, e, i) {
8054
8052
  }
8055
- var xp = /javascript\s*\:/img;
8056
- function Cp(t, e) {
8057
- return xp.test(e) ? "" : e;
8053
+ function xp(t, e, i) {
8054
+ }
8055
+ var Cp = /javascript\s*\:/img;
8056
+ function Fp(t, e) {
8057
+ return Cp.test(e) ? "" : e;
8058
8058
  }
8059
8059
  _t.whiteList = no();
8060
8060
  _t.getDefaultWhiteList = no;
8061
- _t.onAttr = vp;
8062
- _t.onIgnoreAttr = wp;
8063
- _t.safeAttrValue = Cp;
8064
- var Fp = {
8061
+ _t.onAttr = wp;
8062
+ _t.onIgnoreAttr = xp;
8063
+ _t.safeAttrValue = Fp;
8064
+ var Tp = {
8065
8065
  indexOf: function(t, e) {
8066
8066
  var i, r;
8067
8067
  if (Array.prototype.indexOf)
@@ -8084,8 +8084,8 @@ var Fp = {
8084
8084
  trimRight: function(t) {
8085
8085
  return String.prototype.trimRight ? t.trimRight() : t.replace(/(\s*$)/g, "");
8086
8086
  }
8087
- }, gi = Fp;
8088
- function Tp(t, e) {
8087
+ }, gi = Tp;
8088
+ function Ip(t, e) {
8089
8089
  t = gi.trimRight(t), t[t.length - 1] !== ";" && (t += ";");
8090
8090
  var i = t.length, r = !1, n = 0, a = 0, s = "";
8091
8091
  function o() {
@@ -8112,22 +8112,22 @@ function Tp(t, e) {
8112
8112
  }
8113
8113
  return gi.trim(s);
8114
8114
  }
8115
- var Ip = Tp, er = _t, Ap = Ip;
8115
+ var Ap = Ip, er = _t, Lp = Ap;
8116
8116
  function Da(t) {
8117
8117
  return t == null;
8118
8118
  }
8119
- function Lp(t) {
8119
+ function Op(t) {
8120
8120
  var e = {};
8121
8121
  for (var i in t)
8122
8122
  e[i] = t[i];
8123
8123
  return e;
8124
8124
  }
8125
8125
  function ao(t) {
8126
- t = Lp(t || {}), t.whiteList = t.whiteList || er.whiteList, t.onAttr = t.onAttr || er.onAttr, t.onIgnoreAttr = t.onIgnoreAttr || er.onIgnoreAttr, t.safeAttrValue = t.safeAttrValue || er.safeAttrValue, this.options = t;
8126
+ t = Op(t || {}), t.whiteList = t.whiteList || er.whiteList, t.onAttr = t.onAttr || er.onAttr, t.onIgnoreAttr = t.onIgnoreAttr || er.onIgnoreAttr, t.safeAttrValue = t.safeAttrValue || er.safeAttrValue, this.options = t;
8127
8127
  }
8128
8128
  ao.prototype.process = function(t) {
8129
8129
  if (t = t || "", t = t.toString(), !t) return "";
8130
- var e = this, i = e.options, r = i.whiteList, n = i.onAttr, a = i.onIgnoreAttr, s = i.safeAttrValue, o = Ap(t, function(l, d, c, u, p) {
8130
+ var e = this, i = e.options, r = i.whiteList, n = i.onAttr, a = i.onIgnoreAttr, s = i.safeAttrValue, o = Lp(t, function(l, d, c, u, p) {
8131
8131
  var f = r[c], h = !1;
8132
8132
  if (f === !0 ? h = f : typeof f == "function" ? h = f(u) : f instanceof RegExp && (h = f.test(u)), h !== !0 && (h = !1), u = s(c, u), !!u) {
8133
8133
  var m = {
@@ -8148,9 +8148,9 @@ ao.prototype.process = function(t) {
8148
8148
  });
8149
8149
  return o;
8150
8150
  };
8151
- var Op = ao;
8151
+ var Dp = ao;
8152
8152
  (function(t, e) {
8153
- var i = _t, r = Op;
8153
+ var i = _t, r = Dp;
8154
8154
  function n(s, o) {
8155
8155
  var l = new r(o);
8156
8156
  return l.process(s);
@@ -8182,7 +8182,7 @@ var Pn = yn.exports, Mn = {
8182
8182
  var e = /\s|\n|\t/, i = e.exec(t);
8183
8183
  return i ? i.index : -1;
8184
8184
  }
8185
- }, Dp = Pn.FilterCSS, Bp = Pn.getDefaultWhiteList, br = Mn;
8185
+ }, Bp = Pn.FilterCSS, Np = Pn.getDefaultWhiteList, br = Mn;
8186
8186
  function so() {
8187
8187
  return {
8188
8188
  a: ["target", "href", "title"],
@@ -8274,19 +8274,19 @@ function so() {
8274
8274
  ]
8275
8275
  };
8276
8276
  }
8277
- var oo = new Dp();
8278
- function Np(t, e, i) {
8279
- }
8277
+ var oo = new Bp();
8280
8278
  function Pp(t, e, i) {
8281
8279
  }
8282
8280
  function Mp(t, e, i) {
8283
8281
  }
8284
8282
  function kp(t, e, i) {
8285
8283
  }
8284
+ function Ep(t, e, i) {
8285
+ }
8286
8286
  function lo(t) {
8287
- return t.replace(Rp, "&lt;").replace($p, "&gt;");
8287
+ return t.replace($p, "&lt;").replace(qp, "&gt;");
8288
8288
  }
8289
- function Ep(t, e, i, r) {
8289
+ function Rp(t, e, i, r) {
8290
8290
  if (i = yo(i), e === "href" || e === "src") {
8291
8291
  if (i = br.trim(i), i === "#") return "#";
8292
8292
  if (!(i.substr(0, 7) === "http://" || i.substr(0, 8) === "https://" || i.substr(0, 7) === "mailto:" || i.substr(0, 4) === "tel:" || i.substr(0, 11) === "data:image/" || i.substr(0, 6) === "ftp://" || i.substr(0, 2) === "./" || i.substr(0, 3) === "../" || i[0] === "#" || i[0] === "/"))
@@ -8301,20 +8301,20 @@ function Ep(t, e, i, r) {
8301
8301
  }
8302
8302
  return i = mo(i), i;
8303
8303
  }
8304
- var Rp = /</g, $p = />/g, qp = /"/g, Wp = /&quot;/g, Vp = /&#([a-zA-Z0-9]*);?/gim, jp = /&colon;?/gim, zp = /&newline;?/gim, tr = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, Ba = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, Na = /u\s*r\s*l\s*\(.*/gi;
8304
+ var $p = /</g, qp = />/g, Wp = /"/g, Vp = /&quot;/g, jp = /&#([a-zA-Z0-9]*);?/gim, zp = /&colon;?/gim, _p = /&newline;?/gim, tr = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, Ba = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, Na = /u\s*r\s*l\s*\(.*/gi;
8305
8305
  function co(t) {
8306
- return t.replace(qp, "&quot;");
8306
+ return t.replace(Wp, "&quot;");
8307
8307
  }
8308
8308
  function uo(t) {
8309
- return t.replace(Wp, '"');
8309
+ return t.replace(Vp, '"');
8310
8310
  }
8311
8311
  function po(t) {
8312
- return t.replace(Vp, function(i, r) {
8312
+ return t.replace(jp, function(i, r) {
8313
8313
  return r[0] === "x" || r[0] === "X" ? String.fromCharCode(parseInt(r.substr(1), 16)) : String.fromCharCode(parseInt(r, 10));
8314
8314
  });
8315
8315
  }
8316
8316
  function fo(t) {
8317
- return t.replace(jp, ":").replace(zp, " ");
8317
+ return t.replace(zp, ":").replace(_p, " ");
8318
8318
  }
8319
8319
  function ho(t) {
8320
8320
  for (var e = "", i = 0, r = t.length; i < r; i++)
@@ -8327,10 +8327,10 @@ function yo(t) {
8327
8327
  function mo(t) {
8328
8328
  return t = co(t), t = lo(t), t;
8329
8329
  }
8330
- function _p() {
8330
+ function Up() {
8331
8331
  return "";
8332
8332
  }
8333
- function Up(t, e) {
8333
+ function Gp(t, e) {
8334
8334
  typeof e != "function" && (e = function() {
8335
8335
  });
8336
8336
  var i = !Array.isArray(t);
@@ -8360,7 +8360,7 @@ function Up(t, e) {
8360
8360
  }
8361
8361
  };
8362
8362
  }
8363
- function Gp(t) {
8363
+ function Hp(t) {
8364
8364
  for (var e = "", i = 0; i < t.length; ) {
8365
8365
  var r = t.indexOf("<!--", i);
8366
8366
  if (r === -1) {
@@ -8375,7 +8375,7 @@ function Gp(t) {
8375
8375
  }
8376
8376
  return e;
8377
8377
  }
8378
- function Hp(t) {
8378
+ function Qp(t) {
8379
8379
  var e = t.split("");
8380
8380
  return e = e.filter(function(i) {
8381
8381
  var r = i.charCodeAt(0);
@@ -8384,11 +8384,11 @@ function Hp(t) {
8384
8384
  }
8385
8385
  se.whiteList = so();
8386
8386
  se.getDefaultWhiteList = so;
8387
- se.onTag = Np;
8388
- se.onIgnoreTag = Pp;
8389
- se.onTagAttr = Mp;
8390
- se.onIgnoreTagAttr = kp;
8391
- se.safeAttrValue = Ep;
8387
+ se.onTag = Pp;
8388
+ se.onIgnoreTag = Mp;
8389
+ se.onTagAttr = kp;
8390
+ se.onIgnoreTagAttr = Ep;
8391
+ se.safeAttrValue = Rp;
8392
8392
  se.escapeHtml = lo;
8393
8393
  se.escapeQuote = co;
8394
8394
  se.unescapeQuote = uo;
@@ -8397,21 +8397,21 @@ se.escapeDangerHtml5Entities = fo;
8397
8397
  se.clearNonPrintableCharacter = ho;
8398
8398
  se.friendlyAttrValue = yo;
8399
8399
  se.escapeAttrValue = mo;
8400
- se.onIgnoreTagStripAll = _p;
8401
- se.StripTagBody = Up;
8402
- se.stripCommentTag = Gp;
8403
- se.stripBlankChar = Hp;
8400
+ se.onIgnoreTagStripAll = Up;
8401
+ se.StripTagBody = Gp;
8402
+ se.stripCommentTag = Hp;
8403
+ se.stripBlankChar = Qp;
8404
8404
  se.cssFilter = oo;
8405
- se.getDefaultCSSWhiteList = Bp;
8405
+ se.getDefaultCSSWhiteList = Np;
8406
8406
  var Lr = {}, wt = Mn;
8407
- function Qp(t) {
8407
+ function Zp(t) {
8408
8408
  var e = wt.spaceIndex(t), i;
8409
8409
  return e === -1 ? i = t.slice(1, -1) : i = t.slice(1, e + 1), i = wt.trim(i).toLowerCase(), i.slice(0, 1) === "/" && (i = i.slice(1)), i.slice(-1) === "/" && (i = i.slice(0, -1)), i;
8410
8410
  }
8411
- function Zp(t) {
8411
+ function Yp(t) {
8412
8412
  return t.slice(0, 2) === "</";
8413
8413
  }
8414
- function Yp(t, e, i) {
8414
+ function Jp(t, e, i) {
8415
8415
  var r = "", n = 0, a = !1, s = !1, o = 0, l = t.length, d = "", c = "";
8416
8416
  e: for (o = 0; o < l; o++) {
8417
8417
  var u = t.charAt(o);
@@ -8426,12 +8426,12 @@ function Yp(t, e, i) {
8426
8426
  continue;
8427
8427
  }
8428
8428
  if (u === ">") {
8429
- r += i(t.slice(n, a)), c = t.slice(a, o + 1), d = Qp(c), r += e(
8429
+ r += i(t.slice(n, a)), c = t.slice(a, o + 1), d = Zp(c), r += e(
8430
8430
  a,
8431
8431
  r.length,
8432
8432
  d,
8433
8433
  c,
8434
- Zp(c)
8434
+ Yp(c)
8435
8435
  ), n = o + 1, a = !1;
8436
8436
  continue;
8437
8437
  }
@@ -8450,11 +8450,11 @@ function Yp(t, e, i) {
8450
8450
  }
8451
8451
  return n < t.length && (r += i(t.substr(n))), r;
8452
8452
  }
8453
- var Jp = /[^a-zA-Z0-9\\_:.-]/gim;
8454
- function Xp(t, e) {
8453
+ var Xp = /[^a-zA-Z0-9\\_:.-]/gim;
8454
+ function Kp(t, e) {
8455
8455
  var i = 0, r = 0, n = [], a = !1, s = t.length;
8456
8456
  function o(p, f) {
8457
- if (p = wt.trim(p), p = p.replace(Jp, "").toLowerCase(), !(p.length < 1)) {
8457
+ if (p = wt.trim(p), p = p.replace(Xp, "").toLowerCase(), !(p.length < 1)) {
8458
8458
  var h = e(p, f || "");
8459
8459
  h && n.push(h);
8460
8460
  }
@@ -8462,7 +8462,7 @@ function Xp(t, e) {
8462
8462
  for (var l = 0; l < s; l++) {
8463
8463
  var d = t.charAt(l), c, u;
8464
8464
  if (a === !1 && d === "=") {
8465
- a = t.slice(i, l), i = l + 1, r = t.charAt(i) === '"' || t.charAt(i) === "'" ? i : ef(t, l + 1);
8465
+ a = t.slice(i, l), i = l + 1, r = t.charAt(i) === '"' || t.charAt(i) === "'" ? i : tf(t, l + 1);
8466
8466
  continue;
8467
8467
  }
8468
8468
  if (a !== !1 && l === r) {
@@ -8473,14 +8473,14 @@ function Xp(t, e) {
8473
8473
  }
8474
8474
  if (/\s|\n|\t/.test(d))
8475
8475
  if (t = t.replace(/\s|\n|\t/g, " "), a === !1)
8476
- if (u = Kp(t, l), u === -1) {
8476
+ if (u = ef(t, l), u === -1) {
8477
8477
  c = wt.trim(t.slice(i, l)), o(c), a = !1, i = l + 1;
8478
8478
  continue;
8479
8479
  } else {
8480
8480
  l = u - 1;
8481
8481
  continue;
8482
8482
  }
8483
- else if (u = tf(t, l - 1), u === -1) {
8483
+ else if (u = rf(t, l - 1), u === -1) {
8484
8484
  c = wt.trim(t.slice(i, l)), c = Pa(c), o(a, c), a = !1, i = l + 1;
8485
8485
  continue;
8486
8486
  } else
@@ -8488,40 +8488,40 @@ function Xp(t, e) {
8488
8488
  }
8489
8489
  return i < t.length && (a === !1 ? o(t.slice(i)) : o(a, Pa(wt.trim(t.slice(i))))), wt.trim(n.join(" "));
8490
8490
  }
8491
- function Kp(t, e) {
8491
+ function ef(t, e) {
8492
8492
  for (; e < t.length; e++) {
8493
8493
  var i = t[e];
8494
8494
  if (i !== " ")
8495
8495
  return i === "=" ? e : -1;
8496
8496
  }
8497
8497
  }
8498
- function ef(t, e) {
8498
+ function tf(t, e) {
8499
8499
  for (; e < t.length; e++) {
8500
8500
  var i = t[e];
8501
8501
  if (i !== " ")
8502
8502
  return i === "'" || i === '"' ? e : -1;
8503
8503
  }
8504
8504
  }
8505
- function tf(t, e) {
8505
+ function rf(t, e) {
8506
8506
  for (; e > 0; e--) {
8507
8507
  var i = t[e];
8508
8508
  if (i !== " ")
8509
8509
  return i === "=" ? e : -1;
8510
8510
  }
8511
8511
  }
8512
- function rf(t) {
8512
+ function nf(t) {
8513
8513
  return t[0] === '"' && t[t.length - 1] === '"' || t[0] === "'" && t[t.length - 1] === "'";
8514
8514
  }
8515
8515
  function Pa(t) {
8516
- return rf(t) ? t.substr(1, t.length - 2) : t;
8516
+ return nf(t) ? t.substr(1, t.length - 2) : t;
8517
8517
  }
8518
- Lr.parseTag = Yp;
8519
- Lr.parseAttr = Xp;
8520
- var nf = Pn.FilterCSS, Qe = se, go = Lr, af = go.parseTag, sf = go.parseAttr, lr = Mn;
8518
+ Lr.parseTag = Jp;
8519
+ Lr.parseAttr = Kp;
8520
+ var af = Pn.FilterCSS, Qe = se, go = Lr, sf = go.parseTag, of = go.parseAttr, lr = Mn;
8521
8521
  function ir(t) {
8522
8522
  return t == null;
8523
8523
  }
8524
- function of(t) {
8524
+ function lf(t) {
8525
8525
  var e = lr.spaceIndex(t);
8526
8526
  if (e === -1)
8527
8527
  return {
@@ -8535,13 +8535,13 @@ function of(t) {
8535
8535
  closing: i
8536
8536
  };
8537
8537
  }
8538
- function lf(t) {
8538
+ function df(t) {
8539
8539
  var e = {};
8540
8540
  for (var i in t)
8541
8541
  e[i] = t[i];
8542
8542
  return e;
8543
8543
  }
8544
- function df(t) {
8544
+ function cf(t) {
8545
8545
  var e = {};
8546
8546
  for (var i in t)
8547
8547
  Array.isArray(t[i]) ? e[i.toLowerCase()] = t[i].map(function(r) {
@@ -8550,9 +8550,9 @@ function df(t) {
8550
8550
  return e;
8551
8551
  }
8552
8552
  function bo(t) {
8553
- t = lf(t || {}), t.stripIgnoreTag && (t.onIgnoreTag && console.error(
8553
+ t = df(t || {}), t.stripIgnoreTag && (t.onIgnoreTag && console.error(
8554
8554
  'Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'
8555
- ), t.onIgnoreTag = Qe.onIgnoreTagStripAll), t.whiteList || t.allowList ? t.whiteList = df(t.whiteList || t.allowList) : t.whiteList = Qe.whiteList, t.onTag = t.onTag || Qe.onTag, t.onTagAttr = t.onTagAttr || Qe.onTagAttr, t.onIgnoreTag = t.onIgnoreTag || Qe.onIgnoreTag, t.onIgnoreTagAttr = t.onIgnoreTagAttr || Qe.onIgnoreTagAttr, t.safeAttrValue = t.safeAttrValue || Qe.safeAttrValue, t.escapeHtml = t.escapeHtml || Qe.escapeHtml, this.options = t, t.css === !1 ? this.cssFilter = !1 : (t.css = t.css || {}, this.cssFilter = new nf(t.css));
8555
+ ), t.onIgnoreTag = Qe.onIgnoreTagStripAll), t.whiteList || t.allowList ? t.whiteList = cf(t.whiteList || t.allowList) : t.whiteList = Qe.whiteList, t.onTag = t.onTag || Qe.onTag, t.onTagAttr = t.onTagAttr || Qe.onTagAttr, t.onIgnoreTag = t.onIgnoreTag || Qe.onIgnoreTag, t.onIgnoreTagAttr = t.onIgnoreTagAttr || Qe.onIgnoreTagAttr, t.safeAttrValue = t.safeAttrValue || Qe.safeAttrValue, t.escapeHtml = t.escapeHtml || Qe.escapeHtml, this.options = t, t.css === !1 ? this.cssFilter = !1 : (t.css = t.css || {}, this.cssFilter = new af(t.css));
8556
8556
  }
8557
8557
  bo.prototype.process = function(t) {
8558
8558
  if (t = t || "", t = t.toString(), !t) return "";
@@ -8563,7 +8563,7 @@ bo.prototype.process = function(t) {
8563
8563
  i.stripIgnoreTagBody,
8564
8564
  a
8565
8565
  ), a = u.onIgnoreTag);
8566
- var p = af(
8566
+ var p = sf(
8567
8567
  t,
8568
8568
  function(f, h, m, g, S) {
8569
8569
  var v = {
@@ -8576,7 +8576,7 @@ bo.prototype.process = function(t) {
8576
8576
  if (v.isWhite) {
8577
8577
  if (v.isClosing)
8578
8578
  return "</" + m + ">";
8579
- var C = of(g), F = r[m], T = sf(C.html, function(L, O) {
8579
+ var C = lf(g), F = r[m], T = of(C.html, function(L, O) {
8580
8580
  var N = lr.indexOf(F, L) !== -1, P = s(m, L, O, N);
8581
8581
  return ir(P) ? N ? (O = l(m, L, O, c), O ? L + '="' + O + '"' : L) : (P = o(m, L, O, N), ir(P) ? void 0 : P) : P;
8582
8582
  });
@@ -8588,9 +8588,9 @@ bo.prototype.process = function(t) {
8588
8588
  );
8589
8589
  return u && (p = u.remove(p)), p;
8590
8590
  };
8591
- var cf = bo;
8591
+ var uf = bo;
8592
8592
  (function(t, e) {
8593
- var i = se, r = Lr, n = cf;
8593
+ var i = se, r = Lr, n = uf;
8594
8594
  function a(o, l) {
8595
8595
  var d = new n(l);
8596
8596
  return d.process(o);
@@ -8606,7 +8606,7 @@ var cf = bo;
8606
8606
  }
8607
8607
  s() && (self.filterXSS = t.exports);
8608
8608
  })(hn, hn.exports);
8609
- var Xt = hn.exports, uf = function(t) {
8609
+ var Xt = hn.exports, pf = function(t) {
8610
8610
  if (typeof t != "object" || t === null || Object.prototype.toString.call(t) !== "[object Object]")
8611
8611
  return !1;
8612
8612
  var e = Object.getPrototypeOf(t);
@@ -8615,7 +8615,7 @@ var Xt = hn.exports, uf = function(t) {
8615
8615
  for (; Object.getPrototypeOf(e) !== null; )
8616
8616
  e = Object.getPrototypeOf(e);
8617
8617
  return Object.getPrototypeOf(t) === e;
8618
- }, pf = (
8618
+ }, ff = (
8619
8619
  /** @class */
8620
8620
  (function() {
8621
8621
  function t(e, i) {
@@ -8815,7 +8815,7 @@ var Xt = hn.exports, uf = function(t) {
8815
8815
  var d = r.validate(l, i);
8816
8816
  return d.isValid ? o.concat([l]) : (n = !0, o.concat([d.sanitized]));
8817
8817
  }, []);
8818
- else if (uf(e)) {
8818
+ else if (pf(e)) {
8819
8819
  var s = Object.keys(e);
8820
8820
  a = s.reduce(function(o, l) {
8821
8821
  var d = e[l], c = r.validate(d, i);
@@ -8891,15 +8891,15 @@ function kn(t) {
8891
8891
  let e = t?.stackedType;
8892
8892
  if (e === void 0 && t !== void 0) {
8893
8893
  const i = j(t.series);
8894
- (i === y.BarSeries || i === y.LineSeries || i === y.ComboLineAndBarSeries || i === y.RadarSeries) && (e = $u());
8894
+ (i === y.BarSeries || i === y.LineSeries || i === y.ComboLineAndBarSeries || i === y.RadarSeries) && (e = qu());
8895
8895
  }
8896
8896
  return e;
8897
8897
  }
8898
- function ff(t) {
8898
+ function hf(t) {
8899
8899
  let e = t;
8900
8900
  return e = e.replace(/'/gu, "''"), e = e.replace(/[/\\"|[\]\\]/gu, "\\$&"), e;
8901
8901
  }
8902
- function hf(t) {
8902
+ function yf(t) {
8903
8903
  let e = !1;
8904
8904
  if (typeof t != "number") {
8905
8905
  const i = new Intl.Segmenter();
@@ -8911,14 +8911,14 @@ function mn(t) {
8911
8911
  let e = t, i = "";
8912
8912
  t.startsWith("'") && t.endsWith("'") && (e = t.slice(1, -1), i = "'"), e = e.replace(/'/gu, "''");
8913
8913
  let r = "";
8914
- return hf(e) && (r = "N"), `${r}${i}${e}${i}`;
8914
+ return yf(e) && (r = "N"), `${r}${i}${e}${i}`;
8915
8915
  }
8916
8916
  function vo(t) {
8917
8917
  const { value: e, keepSurroundingQuotes: i, escape: r } = t;
8918
8918
  let n = e?.trim();
8919
8919
  if (!ce(n)) {
8920
8920
  let a = "";
8921
- n.startsWith("'") && n.endsWith("'") && (n = n.slice(1, -1), i && (a = "'")), r !== !1 && (n = ff(n)), n = `${a}${n}${a}`;
8921
+ n.startsWith("'") && n.endsWith("'") && (n = n.slice(1, -1), i && (a = "'")), r !== !1 && (n = hf(n)), n = `${a}${n}${a}`;
8922
8922
  }
8923
8923
  return n;
8924
8924
  }
@@ -9130,12 +9130,12 @@ function rb(t, e) {
9130
9130
  }
9131
9131
  }
9132
9132
  function nb(t) {
9133
- return new pf().sanitize(t);
9133
+ return new ff().sanitize(t);
9134
9134
  }
9135
- function yf(t) {
9135
+ function mf(t) {
9136
9136
  return t != null && !Number.isNaN(t) && Number.isFinite(t);
9137
9137
  }
9138
- function mf(t, e) {
9138
+ function gf(t, e) {
9139
9139
  let i = { fieldToSort: "" };
9140
9140
  if (!ce(t)) {
9141
9141
  const r = t.trim(), a = r.split(" ").at(-1)?.toUpperCase();
@@ -9143,8 +9143,8 @@ function mf(t, e) {
9143
9143
  }
9144
9144
  return i;
9145
9145
  }
9146
- function gf(t) {
9147
- return t.orderOptions?.orderByFields?.map((e) => mf(e).fieldToSort) ?? [];
9146
+ function bf(t) {
9147
+ return t.orderOptions?.orderByFields?.map((e) => gf(e).fieldToSort) ?? [];
9148
9148
  }
9149
9149
  function Fo(t) {
9150
9150
  return t === b.BarAndLineSplitBy || t === b.BarAndLineSplitByNoAggregation || t === b.BoxPlotMonoFieldAndSplitBy || t === b.BoxPlotMultiFieldsAndSplitBy || t === b.BoxPlotMonoFieldAndCategoryAndSplitBy;
@@ -9202,7 +9202,7 @@ function cb(t) {
9202
9202
  const e = kn(t);
9203
9203
  return e === qe.Stacked || e === qe.Stacked100;
9204
9204
  }
9205
- function bf(t) {
9205
+ function Sf(t) {
9206
9206
  let e;
9207
9207
  const i = t?.orderOptions?.data;
9208
9208
  return t.series?.length > 0 && i?.orderType === Oe.MultiAxes && (e = [], e.push({
@@ -9213,7 +9213,7 @@ function bf(t) {
9213
9213
  orderBy: i.orderByY
9214
9214
  })), e;
9215
9215
  }
9216
- function Sf(t) {
9216
+ function vf(t) {
9217
9217
  const e = V(t.series);
9218
9218
  let i;
9219
9219
  if (t.orderOptions?.data !== void 0) {
@@ -9241,7 +9241,7 @@ function Sf(t) {
9241
9241
  }
9242
9242
  return i;
9243
9243
  }
9244
- function vf(t) {
9244
+ function wf(t) {
9245
9245
  const e = t.series[0], { x: i, y: r } = e, n = V(t.series) === b.PieFromFields, a = V(t.series) === b.BarAndLineFromFields;
9246
9246
  let s, o = "", l;
9247
9247
  if (t.orderOptions?.data !== void 0) {
@@ -9279,16 +9279,16 @@ function bn(t) {
9279
9279
  let r;
9280
9280
  switch (i) {
9281
9281
  case y.HeatSeries:
9282
- Ai(t) && (e = bf(t));
9282
+ Ai(t) && (e = Sf(t));
9283
9283
  break;
9284
9284
  case y.BoxPlotSeries:
9285
- Ae(t) && (r = Sf(t));
9285
+ Ae(t) && (r = vf(t));
9286
9286
  break;
9287
9287
  case y.LineSeries:
9288
9288
  case y.BarSeries:
9289
9289
  case y.RadarSeries:
9290
9290
  case y.PieSeries:
9291
- r = vf(t);
9291
+ r = wf(t);
9292
9292
  break;
9293
9293
  }
9294
9294
  !e && r && (e = [], e.push(r));
@@ -9322,11 +9322,11 @@ function pb(t, e) {
9322
9322
  }
9323
9323
  }), i;
9324
9324
  }
9325
- function wf(t) {
9325
+ function xf(t) {
9326
9326
  const e = { ...t };
9327
9327
  return t.showMean === !0 && (e.series = [e.series[0]], e.series[0].query?.where !== void 0 && delete e.series[0].query.where), e;
9328
9328
  }
9329
- function xf(t) {
9329
+ function Cf(t) {
9330
9330
  return Ft(t?.axes?.[0]?.valueFormat) && Ft(t?.axes?.[1]?.valueFormat);
9331
9331
  }
9332
9332
  function Sr(t) {
@@ -9353,7 +9353,7 @@ function Sr(t) {
9353
9353
  break;
9354
9354
  }
9355
9355
  }
9356
- function Cf(t, e) {
9356
+ function Ff(t, e) {
9357
9357
  t.valid = !1, t.invalidType = e;
9358
9358
  }
9359
9359
  function fb(t) {
@@ -9364,7 +9364,7 @@ function fb(t) {
9364
9364
  seriesCount: n,
9365
9365
  queryObject: a,
9366
9366
  filterBySelection: s,
9367
- formatLocale: o = Ll(document.documentElement),
9367
+ formatLocale: o = Ol(document.documentElement),
9368
9368
  isTemporalChart: l,
9369
9369
  errorStrings: d
9370
9370
  } = t;
@@ -9567,7 +9567,7 @@ function En(t) {
9567
9567
  }
9568
9568
  }), o;
9569
9569
  }
9570
- function Ff(t) {
9570
+ function Tf(t) {
9571
9571
  const { data: e, yList: i, calculateZScore: r = !1 } = t, n = e[0], a = /* @__PURE__ */ new Map();
9572
9572
  return i.forEach((o) => {
9573
9573
  let l = {};
@@ -9579,7 +9579,7 @@ function Ff(t) {
9579
9579
  }), a.set(o, l);
9580
9580
  }), Array.from(a.values());
9581
9581
  }
9582
- function Tf(t) {
9582
+ function If(t) {
9583
9583
  const { data: e, splitByField: i, y: r } = t, n = {
9584
9584
  [x.boxPlot.boxPlotCategory]: r
9585
9585
  };
@@ -9590,7 +9590,7 @@ function Tf(t) {
9590
9590
  });
9591
9591
  }), [n];
9592
9592
  }
9593
- function If(t) {
9593
+ function Af(t) {
9594
9594
  const { splitByField: e, data: i, yList: r, calculateZScore: n = !1, meanAndStdDevPerField: a } = t, s = /* @__PURE__ */ new Map();
9595
9595
  return i.forEach((l) => {
9596
9596
  const d = l[e];
@@ -9613,7 +9613,7 @@ function If(t) {
9613
9613
  });
9614
9614
  }), Array.from(s.values());
9615
9615
  }
9616
- function Af(t) {
9616
+ function Lf(t) {
9617
9617
  const { data: e, yList: i, calculateZScore: r = !1, meanAndStdDevPerField: n } = t, a = e;
9618
9618
  return r && a.forEach((s) => {
9619
9619
  i.forEach((o) => {
@@ -9627,7 +9627,7 @@ function Af(t) {
9627
9627
  });
9628
9628
  }), a;
9629
9629
  }
9630
- function Lf(t) {
9630
+ function Of(t) {
9631
9631
  const { splitByField: e, x: i, data: r } = t, n = /* @__PURE__ */ new Map();
9632
9632
  return r.forEach((s) => {
9633
9633
  const o = s[i], l = { [i]: o }, d = s[e];
@@ -9646,7 +9646,7 @@ function Lf(t) {
9646
9646
  });
9647
9647
  }), Array.from(n.values());
9648
9648
  }
9649
- function Of(t, e) {
9649
+ function Df(t, e) {
9650
9650
  const { series: i } = t, r = i[0], { y: n } = r, a = V(t.series), s = {
9651
9651
  y: a === b.BoxPlotMultiFieldsAndCategory ? n : void 0,
9652
9652
  chartSubType: a
@@ -9682,7 +9682,7 @@ function Of(t, e) {
9682
9682
  });
9683
9683
  });
9684
9684
  }
9685
- function Df(t, e) {
9685
+ function Bf(t, e) {
9686
9686
  let i, r;
9687
9687
  const n = t[e[M.IQR]], a = t[e[M.FirstQuartile]], s = t[e[M.ThirdQuartile]];
9688
9688
  return Number.isFinite(n) && Number.isFinite(a) && Number.isFinite(s) && (i = a - n * 1.5, r = s + n * 1.5), { outlierMinThreshold: i, outlierMaxThreshold: r };
@@ -9706,7 +9706,7 @@ function To(t) {
9706
9706
  const { data: e, yField: i, x: r, chartSubType: n, splitByField: a } = t, s = n === b.BoxPlotMonoField || n === b.BoxPlotMonoFieldAndCategory || n === b.BoxPlotMonoFieldAndSplitBy || n === b.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : i, o = ni(s), l = [], d = [], { maxOperandsPerWhereClause: c } = $i();
9707
9707
  let u = [], p = [], f = 1;
9708
9708
  return e.forEach((h, m) => {
9709
- const { outlierMinThreshold: g, outlierMaxThreshold: S } = Df(h, o);
9709
+ const { outlierMinThreshold: g, outlierMaxThreshold: S } = Bf(h, o);
9710
9710
  if (typeof g == "number" && typeof S == "number") {
9711
9711
  const v = {
9712
9712
  yField: i,
@@ -9723,7 +9723,7 @@ function To(t) {
9723
9723
  f += 1;
9724
9724
  }), { outliersFilterBatches: l, dataWithoutOutliersFilterBatches: d };
9725
9725
  }
9726
- function Bf(t) {
9726
+ function Nf(t) {
9727
9727
  const { data: e, outlierDataItem: i, chartSubType: r, x: n, y: a, meanAndStdDevPerField: s, splitByField: o } = t;
9728
9728
  let l = s?.[li(a, A.Average)], d = s?.[li(a, A.StandardDeviation)];
9729
9729
  if (l === void 0 && d === void 0)
@@ -9752,7 +9752,7 @@ function Bf(t) {
9752
9752
  }
9753
9753
  return { mean: l, stdDev: d };
9754
9754
  }
9755
- async function Nf(t) {
9755
+ async function Pf(t) {
9756
9756
  const { seriesConfig: e, data: i, uniqueQuery: r, queryObject: n, meanAndStdDevPerField: a, abortKey: s } = t, o = V(e), l = e[0], { x: d } = l, c = ge(l.query?.where), u = Q(n), p = nt(u).idField, f = xe(e), h = [];
9757
9757
  for (let S = 0; S < f.length; S += 1) {
9758
9758
  const v = f[S], { outliersFilterBatches: w } = To({
@@ -9821,11 +9821,11 @@ async function Nf(t) {
9821
9821
  if (F[ae.uniqueIdsName] = [
9822
9822
  ...P?.[ae.uniqueIdsName] ?? [],
9823
9823
  F[p]
9824
- ], delete F[p], gl(o)) {
9824
+ ], delete F[p], bl(o)) {
9825
9825
  const I = he({
9826
9826
  ...T,
9827
9827
  standardizeValues: !0
9828
- }), { mean: k, stdDev: $ } = Bf({
9828
+ }), { mean: k, stdDev: $ } = Nf({
9829
9829
  data: i,
9830
9830
  outlierDataItem: F,
9831
9831
  chartSubType: o,
@@ -9846,7 +9846,7 @@ async function Nf(t) {
9846
9846
  }
9847
9847
  return Array.from(g.values());
9848
9848
  }
9849
- async function Pf(t) {
9849
+ async function Mf(t) {
9850
9850
  const { data: e, queryObject: i, uniqueQuery: r, elementCount: n, chartConfig: a, chartLimits: s, abortKey: o } = t;
9851
9851
  let l = [];
9852
9852
  const { series: d, showMean: c } = a, u = Mr({ showMean: c, seriesConfig: d }), p = V(d), f = Bt(a), { x: h } = f, m = ge(f.query?.where), g = [];
@@ -9890,7 +9890,7 @@ async function Pf(t) {
9890
9890
  x: m !== void 0 && m !== "" ? m : h
9891
9891
  })), l;
9892
9892
  }
9893
- async function Mf(t) {
9893
+ async function kf(t) {
9894
9894
  const { queryObject: e, uniqueQuery: i, chartConfig: r, abortKey: n } = t;
9895
9895
  let a;
9896
9896
  const { series: s, showMean: o } = r, l = V(s);
@@ -9926,7 +9926,7 @@ async function Mf(t) {
9926
9926
  }
9927
9927
  return a;
9928
9928
  }
9929
- function kf(t) {
9929
+ function Ef(t) {
9930
9930
  const { data: e, additionalData: i, chartConfig: r } = t, n = r.series[0], { x: a } = n, s = ge(n.query?.where);
9931
9931
  return e.map((o) => {
9932
9932
  let l = o;
@@ -9946,14 +9946,14 @@ function Io(t) {
9946
9946
  u[0][x.boxPlot.boxPlotCategory] = c[0];
9947
9947
  break;
9948
9948
  case b.BoxPlotMultiFields:
9949
- u = Ff({
9949
+ u = Tf({
9950
9950
  data: i,
9951
9951
  yList: c,
9952
9952
  calculateZScore: r
9953
9953
  });
9954
9954
  break;
9955
9955
  case b.BoxPlotMonoFieldAndSplitBy:
9956
- u = Tf({
9956
+ u = If({
9957
9957
  data: i,
9958
9958
  splitByField: p,
9959
9959
  y: c[0]
@@ -9961,7 +9961,7 @@ function Io(t) {
9961
9961
  });
9962
9962
  break;
9963
9963
  case b.BoxPlotMultiFieldsAndSplitBy:
9964
- u = If({
9964
+ u = Af({
9965
9965
  splitByField: p,
9966
9966
  data: i,
9967
9967
  yList: c,
@@ -9970,7 +9970,7 @@ function Io(t) {
9970
9970
  });
9971
9971
  break;
9972
9972
  case b.BoxPlotMultiFieldsAndCategory:
9973
- u = Af({
9973
+ u = Lf({
9974
9974
  data: i,
9975
9975
  yList: c,
9976
9976
  meanAndStdDevPerField: n,
@@ -9978,7 +9978,7 @@ function Io(t) {
9978
9978
  });
9979
9979
  break;
9980
9980
  case b.BoxPlotMonoFieldAndCategoryAndSplitBy:
9981
- u = Lf({
9981
+ u = Of({
9982
9982
  splitByField: p,
9983
9983
  x: d,
9984
9984
  data: i
@@ -9987,27 +9987,27 @@ function Io(t) {
9987
9987
  case b.BoxPlotMonoFieldAndCategory:
9988
9988
  }
9989
9989
  }
9990
- return Of(e, u), u;
9990
+ return Df(e, u), u;
9991
9991
  }
9992
- async function Ef(t) {
9992
+ async function Rf(t) {
9993
9993
  const { data: e, queryObject: i, uniqueQuery: r, fetchFullBoxPlotData: n, chartConfig: a, elementCount: s, chartLimits: o, abortKey: l } = t;
9994
9994
  let d = e, c = [];
9995
9995
  if (d !== void 0) {
9996
- const { series: u } = a, p = await Mf({
9996
+ const { series: u } = a, p = await kf({
9997
9997
  queryObject: i,
9998
9998
  uniqueQuery: r,
9999
9999
  chartConfig: a,
10000
10000
  abortKey: l
10001
10001
  });
10002
10002
  if (n !== !1) {
10003
- c = await Nf({
10003
+ c = await Pf({
10004
10004
  queryObject: i,
10005
10005
  uniqueQuery: r,
10006
10006
  seriesConfig: u,
10007
10007
  data: d,
10008
10008
  abortKey: l
10009
10009
  });
10010
- const f = await Pf({
10010
+ const f = await Mf({
10011
10011
  queryObject: i,
10012
10012
  uniqueQuery: r,
10013
10013
  elementCount: s,
@@ -10016,7 +10016,7 @@ async function Ef(t) {
10016
10016
  chartLimits: o,
10017
10017
  abortKey: l
10018
10018
  });
10019
- d = kf({
10019
+ d = Ef({
10020
10020
  data: d,
10021
10021
  additionalData: f,
10022
10022
  chartConfig: a
@@ -10049,7 +10049,7 @@ function Ao(t) {
10049
10049
  }
10050
10050
  return n;
10051
10051
  }
10052
- function Rf(t) {
10052
+ function $f(t) {
10053
10053
  const { dateFieldName: e, unit: i, runsOnClientQueryEngine: r } = t, n = Ao({ runsOnClientQueryEngine: r }), a = `EXTRACT(YEAR FROM ${e} ${n})`, s = `EXTRACT(MONTH FROM ${e} ${n})`, o = `EXTRACT(DAY FROM ${e} ${n})`, l = `EXTRACT(HOUR FROM ${e} ${n})`, d = `EXTRACT(MINUTE FROM ${e} ${n})`, c = `EXTRACT(SECOND FROM ${e} ${n})`;
10054
10054
  let u = [];
10055
10055
  switch (i) {
@@ -10071,19 +10071,19 @@ function Rf(t) {
10071
10071
  }
10072
10072
  return u;
10073
10073
  }
10074
- function $f(t) {
10074
+ function qf(t) {
10075
10075
  const { whereValue: e, outStatistics: i, y: r } = t;
10076
10076
  let n = ae.outStatistics.outStatisticFieldName ?? "";
10077
10077
  return i?.outStatisticFieldName !== void 0 ? n = i.outStatisticFieldName : i?.onStatisticField !== void 0 && i.statisticType !== void 0 ? n = `${i.statisticType}_${i.onStatisticField}_${e}` : r !== void 0 && (n = [r].flat()[0]), n;
10078
10078
  }
10079
- function qf(t) {
10079
+ function Wf(t) {
10080
10080
  const e = /* @__PURE__ */ new Map();
10081
10081
  for (let i = 0; i < t.length; i += 1) {
10082
10082
  const r = t[i], n = r.query?.where;
10083
10083
  if (n !== void 0 && "y" in r) {
10084
10084
  const a = Le({ where: n, normalize: !0, escape: !1 });
10085
10085
  if (a !== "") {
10086
- const s = $f({
10086
+ const s = qf({
10087
10087
  whereValue: a,
10088
10088
  outStatistics: r.query?.outStatistics?.[0],
10089
10089
  y: r.y
@@ -10094,13 +10094,13 @@ function qf(t) {
10094
10094
  }
10095
10095
  return e;
10096
10096
  }
10097
- function Wf(t) {
10097
+ function Vf(t) {
10098
10098
  const { uniqueQuery: e, splitByField: i, x: r } = t, n = [...e.groupByFieldsForStatistics ?? [], r, i].filter(
10099
10099
  (a) => a !== void 0 && a.trim() !== "" && a !== yi
10100
10100
  );
10101
10101
  e.groupByFieldsForStatistics = Array.from(new Set(n));
10102
10102
  }
10103
- function Vf(t) {
10103
+ function Lo(t) {
10104
10104
  return t.statisticType === A.ContinuousPercentile || t.statisticType === A.DiscretePercentile;
10105
10105
  }
10106
10106
  function jf(t) {
@@ -10118,8 +10118,8 @@ function jf(t) {
10118
10118
  a !== b.PieFromFields && a !== b.BarAndLineFromFields && (e.outStatistics[0].outStatisticFieldName = r ? d.outStatisticFieldName : [i].flat()[0]);
10119
10119
  const { outStatistics: c } = e;
10120
10120
  for (let u = 0; u < c.length; u += 1) {
10121
- const p = e.outStatistics[u];
10122
- p !== void 0 && Vf(p) && (s && !Bi(n) ? (c[u].statisticType = A.Count, delete c[u].statisticParameters) : c[u] = {
10121
+ const p = c[u];
10122
+ p !== void 0 && Lo(p) && (s && !Bi(n) ? (c[u].statisticType = A.Count, delete c[u].statisticParameters) : c[u] = {
10123
10123
  ...c[u],
10124
10124
  statisticParameters: c[u].statisticParameters ?? {
10125
10125
  value: x.defaultStatParameterValue
@@ -10187,7 +10187,7 @@ function _f(t, e) {
10187
10187
  function Uf(t) {
10188
10188
  const { uniqueQuery: e, x: i, splitByField: r, unit: n, chartSubType: a, objectIdFields: s, runsOnClientQueryEngine: o } = t;
10189
10189
  if (n !== void 0) {
10190
- const l = Rf({
10190
+ const l = $f({
10191
10191
  dateFieldName: i,
10192
10192
  unit: n,
10193
10193
  runsOnClientQueryEngine: o
@@ -10201,7 +10201,7 @@ function Uf(t) {
10201
10201
  ]);
10202
10202
  }
10203
10203
  }
10204
- function Lo(t) {
10204
+ function Oo(t) {
10205
10205
  const { chartConfig: e, options: i, uniqueQuery: r } = t;
10206
10206
  if (i?.chartLimits?.behaviorAfterLimit === Lt.RenderUpToTheLimit) {
10207
10207
  const n = ro(e, i?.chartLimits);
@@ -10230,7 +10230,7 @@ async function Rn(t) {
10230
10230
  let z = "";
10231
10231
  switch (i.fetchNullValues !== !0 && (f !== x.boxPlot.boxPlotCategory && (z = `${f} IS NOT NULL`), W.trim() !== "" && W !== f && !dt(p.where) && (z = K([z, `${W} IS NOT NULL`]))), c) {
10232
10232
  case b.BarAndLineSplitBy: {
10233
- g = qf(d), C = !0, S = !0, v = !0;
10233
+ g = Wf(d), C = !0, S = !0, v = !0;
10234
10234
  break;
10235
10235
  }
10236
10236
  case b.BarAndLineMultiFields:
@@ -10269,7 +10269,7 @@ async function Rn(t) {
10269
10269
  isTimeBinningSeries: m,
10270
10270
  returnFeaturesExtent: l,
10271
10271
  splitByField: W
10272
- }), C && Wf({ uniqueQuery: T, splitByField: W, x: f }), Ae(e) && F && (T.outStatistics = zf({ chartConfig: e, fetchFullBoxPlotData: s })), w ? delete T.orderByFields : i.orderByFields !== void 0 && (T.orderByFields = i.orderByFields.filter((_e) => {
10272
+ }), C && Vf({ uniqueQuery: T, splitByField: W, x: f }), Ae(e) && F && (T.outStatistics = zf({ chartConfig: e, fetchFullBoxPlotData: s })), w ? delete T.orderByFields : i.orderByFields !== void 0 && (T.orderByFields = i.orderByFields.filter((_e) => {
10273
10273
  const Me = _e.split(" ");
10274
10274
  return !ce(Me[0]);
10275
10275
  })), m && Ke(d[0])) {
@@ -10286,7 +10286,7 @@ async function Rn(t) {
10286
10286
  }
10287
10287
  T.where = z;
10288
10288
  }
10289
- Lo({ chartConfig: e, options: r, uniqueQuery: T });
10289
+ Oo({ chartConfig: e, options: r, uniqueQuery: T });
10290
10290
  const { gdbVersion: L, geometry: O, distance: N, units: P, timeExtent: I, where: k, objectIds: $, spatialRelationship: D } = i;
10291
10291
  return L !== void 0 && (T.gdbVersion = L), O !== void 0 && (T.geometry = O), N !== void 0 && (T.distance = N), P !== void 0 && (T.units = P), I !== void 0 && (T.timeExtent = I), $ !== void 0 && (T.objectIds = $), D !== void 0 && (T.spatialRelationship = D), k !== void 0 && (T.where = K([T.where, k])), { uniqueQuery: T, mapToStatField: g };
10292
10292
  }
@@ -10316,7 +10316,7 @@ async function Hf(t) {
10316
10316
  if (e !== void 0) {
10317
10317
  const { behaviorAfterLimit: l, maxGaugeByFeaturesLimit: d } = s ?? {}, c = Un(i);
10318
10318
  let u = !0, p;
10319
- if (c && (p = (await zo({
10319
+ if (c && (p = (await _o({
10320
10320
  chartConfig: i,
10321
10321
  queryObject: e,
10322
10322
  queryConfig: r,
@@ -10333,7 +10333,7 @@ async function Hf(t) {
10333
10333
  Number.isFinite(f) && (n.chartLimits = {
10334
10334
  ...s,
10335
10335
  maxGaugeByFeaturesLimit: f
10336
- }), Lo({ chartConfig: i, options: n, uniqueQuery: r });
10336
+ }), Oo({ chartConfig: i, options: n, uniqueQuery: r });
10337
10337
  }
10338
10338
  if (Number.isNaN(u) || u) {
10339
10339
  const f = await Gf({
@@ -10386,7 +10386,7 @@ async function hb(t) {
10386
10386
  function Qf(t = me.None, e) {
10387
10387
  return t === me.None || t === me.Log && e > 0 || t === me.Sqrt && e >= 0;
10388
10388
  }
10389
- function Oo(t, e) {
10389
+ function Do(t, e) {
10390
10390
  const i = { valid: !1 };
10391
10391
  return e === !0 ? i.invalidType = G.HistogramEmptyField : t === me.Log ? i.invalidType = G.NegativeValueInLogCalculation : t === me.Sqrt && (i.invalidType = G.NegativeValueInSqrtCalculation), i;
10392
10392
  }
@@ -10413,7 +10413,7 @@ function Yf(t) {
10413
10413
  }
10414
10414
  return e;
10415
10415
  }
10416
- function Do(t) {
10416
+ function Bo(t) {
10417
10417
  let e = "field";
10418
10418
  switch (t) {
10419
10419
  case me.Log:
@@ -10491,7 +10491,7 @@ function eh(t) {
10491
10491
  };
10492
10492
  return o !== me.None && (l = {
10493
10493
  ...l,
10494
- normalizationType: Do(o)
10494
+ normalizationType: Bo(o)
10495
10495
  }), l;
10496
10496
  }
10497
10497
  function th(t) {
@@ -10502,7 +10502,7 @@ function th(t) {
10502
10502
  field: l,
10503
10503
  minValue: a,
10504
10504
  maxValue: s,
10505
- numBins: d ?? gu,
10505
+ numBins: d ?? bu,
10506
10506
  classificationMethod: "equal-interval",
10507
10507
  // excluding the filters like 1=tionMethod: "equal-interval",1 from the sqlWhere. It's causing query failures (see https://devtopia.esri.com/WebGIS/arcgis-charts/issues/6677)
10508
10508
  sqlWhere: dt(o.where) ? void 0 : o.where,
@@ -10510,7 +10510,7 @@ function th(t) {
10510
10510
  };
10511
10511
  return c !== me.None && (u = {
10512
10512
  ...u,
10513
- normalizationType: Do(c)
10513
+ normalizationType: Bo(c)
10514
10514
  }), u;
10515
10515
  }
10516
10516
  function ih(t, e) {
@@ -10565,7 +10565,7 @@ async function rh(t) {
10565
10565
  const { avg: v, count: w, stddev: C, min: F, max: T, sum: L, median: O } = S;
10566
10566
  if (w === 0)
10567
10567
  c = {
10568
- ...Oo(d)
10568
+ ...Do(d)
10569
10569
  };
10570
10570
  else {
10571
10571
  const N = th({
@@ -10581,7 +10581,7 @@ async function rh(t) {
10581
10581
  N.filter = g;
10582
10582
  let P;
10583
10583
  try {
10584
- P = await _l(N);
10584
+ P = await Ul(N);
10585
10585
  } catch (k) {
10586
10586
  throw new je(Ne.QueryFeaturesError, o.errors.queryError, k);
10587
10587
  }
@@ -10601,7 +10601,7 @@ async function rh(t) {
10601
10601
  }
10602
10602
  return c;
10603
10603
  }
10604
- async function Bo(t) {
10604
+ async function No(t) {
10605
10605
  const { chartConfig: e, queryConfig: i, queryObject: r, options: n, abortKey: a, errorStrings: s } = t, { series: o } = e, l = o[0], { rawData: d, dataCompatibleWithTransformation: c, dataCountIncompatible: u, countIncludingNulls: p, countExcludingNulls: f } = await Xf({
10606
10606
  queryObject: r,
10607
10607
  chartConfig: e,
@@ -10609,7 +10609,7 @@ async function Bo(t) {
10609
10609
  abortKey: a
10610
10610
  });
10611
10611
  let h = { valid: !0 };
10612
- return !c || u ? h = Oo(l.dataTransformationType, u) : h = await rh({
10612
+ return !c || u ? h = Do(l.dataTransformationType, u) : h = await rh({
10613
10613
  chartConfig: e,
10614
10614
  queryObject: r,
10615
10615
  queryConfig: i,
@@ -10742,7 +10742,7 @@ async function ch(t) {
10742
10742
  outStatisticFieldName: U.name,
10743
10743
  statisticType: A.Maximum
10744
10744
  });
10745
- }), (await rl(L)).forEach((U) => {
10745
+ }), (await nl(L)).forEach((U) => {
10746
10746
  z.set(U, {
10747
10747
  onStatisticField: U,
10748
10748
  outStatisticFieldName: U,
@@ -10779,7 +10779,7 @@ async function ch(t) {
10779
10779
  });
10780
10780
  } else if (D !== void 0 && W !== void 0) {
10781
10781
  let U = 0;
10782
- const { maxScatterCellsPerQuery: Ce, maxScatterCellsPerQueryForStandard: mt } = $i(), Dl = await Ky(L) ? mt : Ce, Gn = [];
10782
+ const { maxScatterCellsPerQuery: Ce, maxScatterCellsPerQueryForStandard: mt } = $i(), Bl = await Ky(L) ? mt : Ce, Gn = [];
10783
10783
  let kr = !0, Gt = v, Nt = F, Ht = "", Vi = 1, Er = 1, ji = Number.MAX_SAFE_INTEGER, zi = Number.MIN_SAFE_INTEGER, _i = Number.MAX_SAFE_INTEGER, Ui = Number.MIN_SAFE_INTEGER;
10784
10784
  for (; Er <= W && kr; ) {
10785
10785
  for (Nt = F, Vi = 1; Vi <= D && kr; ) {
@@ -10793,9 +10793,9 @@ async function ch(t) {
10793
10793
  yStep: k,
10794
10794
  endOfRow: Vi === D,
10795
10795
  endOfColumn: Er === W
10796
- }), Gt < ji && (ji = Gt), Gt + I > zi && (zi = Gt + I), Nt < _i && (_i = Nt), Nt + I > Ui && (Ui = Nt + k), U += 1, U % Dl === 0 || U === $ || U === C) {
10796
+ }), Gt < ji && (ji = Gt), Gt + I > zi && (zi = Gt + I), Nt < _i && (_i = Nt), Nt + I > Ui && (Ui = Nt + k), U += 1, U % Bl === 0 || U === $ || U === C) {
10797
10797
  Ht = `${Ht} ${Wt.groupByCaseEnd}`;
10798
- const Bl = {
10798
+ const Nl = {
10799
10799
  ...n,
10800
10800
  groupByFieldsForStatistics: [Ht],
10801
10801
  outStatistics: [...z.values()]
@@ -10803,7 +10803,7 @@ async function ch(t) {
10803
10803
  Gn.push(
10804
10804
  dh({
10805
10805
  chartConfig: i,
10806
- queryConfig: Bl,
10806
+ queryConfig: Nl,
10807
10807
  queryObject: r,
10808
10808
  xMin: ji,
10809
10809
  xMax: zi,
@@ -10899,13 +10899,13 @@ async function yh(t) {
10899
10899
  }
10900
10900
  return { r2: l, trendLinePoints: d };
10901
10901
  }
10902
- function No(t) {
10902
+ function Po(t) {
10903
10903
  const { data: e, chartConfig: i } = t, r = i.series[0], { x: n, y: a } = r;
10904
10904
  let { r2: s, trendLinePoints: o } = x.scatterplotSeries;
10905
10905
  const l = hh({ data: e, x: n, y: a });
10906
10906
  if (l !== void 0) {
10907
- const d = Ul(l), c = Gl(d);
10908
- s = d.m === 0 ? 0 : Hl(l, c), o = fh({ x: n, y: a, trendlineXToY: c, data: e });
10907
+ const d = Gl(l), c = Hl(d);
10908
+ s = d.m === 0 ? 0 : Ql(l, c), o = fh({ x: n, y: a, trendlineXToY: c, data: e });
10909
10909
  }
10910
10910
  return { r2: s, trendLinePoints: o };
10911
10911
  }
@@ -10921,7 +10921,7 @@ async function mh(t) {
10921
10921
  } catch {
10922
10922
  d = !0;
10923
10923
  }
10924
- return (!e || d) && (l = No(t)), l;
10924
+ return (!e || d) && (l = Po(t)), l;
10925
10925
  }
10926
10926
  async function gh(t) {
10927
10927
  const { chartConfig: e, queryConfig: i, queryObject: r, abortKey: n } = t, a = e.series[0], { x: s, y: o } = a;
@@ -10976,7 +10976,7 @@ function bh(t) {
10976
10976
  const { useQueryAttributeBins: e, graphic: i, x: r, y: n, yStep: a } = t, { groupByOutKeyword: s } = Wt, { dataContextXMinField: o, dataContextXMaxField: l, dataContextYMinField: d, dataContextYMaxField: c } = x.scatterplotAggregationFields;
10977
10977
  let u = [];
10978
10978
  if (e && "stackedAttributes" in i && i.stackedAttributes) {
10979
- const p = Ho(r, n), f = i.attributes[p.lowerBoundaryAlias], h = i.attributes[p.upperBoundaryAlias];
10979
+ const p = Qo(r, n), f = i.attributes[p.lowerBoundaryAlias], h = i.attributes[p.upperBoundaryAlias];
10980
10980
  i.stackedAttributes.forEach((m) => {
10981
10981
  let g = m[p.stackAlias], S;
10982
10982
  typeof g == "number" && typeof a == "number" && (g *= a), typeof g == "number" && typeof a == "number" && (S = g + a);
@@ -11090,7 +11090,7 @@ async function wh(t) {
11090
11090
  }
11091
11091
  return e;
11092
11092
  }
11093
- async function Po(t) {
11093
+ async function Mo(t) {
11094
11094
  const { chartConfig: e, queryConfig: i, queryObject: r, sortData: n, calculateTrendLine: a, options: s, abortKey: o } = t, l = await gh({
11095
11095
  chartConfig: e,
11096
11096
  queryConfig: i,
@@ -11221,7 +11221,7 @@ function Fh(t) {
11221
11221
  ]);
11222
11222
  return a;
11223
11223
  }
11224
- function Mo(t, e) {
11224
+ function ko(t, e) {
11225
11225
  let i = "";
11226
11226
  const r = e[x.originalServerBinningRange] ?? e[x.dateBinningRange];
11227
11227
  if (xn(r) && r.length === 2) {
@@ -11234,7 +11234,7 @@ function Mo(t, e) {
11234
11234
  }
11235
11235
  return i;
11236
11236
  }
11237
- function ko(t, e) {
11237
+ function Eo(t, e) {
11238
11238
  let i = "";
11239
11239
  if (Number.isFinite(t)) {
11240
11240
  const r = 1 / 10 ** x.queryMaxFloatPrecision;
@@ -11242,7 +11242,7 @@ function ko(t, e) {
11242
11242
  }
11243
11243
  return i;
11244
11244
  }
11245
- function Eo(t) {
11245
+ function Ro(t) {
11246
11246
  const { xAxisField: e, yAxisField: i, splitBy: r, dataContext: n, xAxisFieldType: a, chartConfig: s } = t;
11247
11247
  let o = "";
11248
11248
  if (e !== void 0 && e !== x.boxPlot.boxPlotCategory) {
@@ -11252,7 +11252,7 @@ function Eo(t) {
11252
11252
  keepNullValues: !0,
11253
11253
  specificField: x.typeOrDomainIdValue
11254
11254
  });
11255
- a === re.Double ? o = ko(u, e) : ($t(s.axes?.[0].valueFormat) && (u = oi(u)), o = ut({
11255
+ a === re.Double ? o = Eo(u, e) : ($t(s.axes?.[0].valueFormat) && (u = oi(u)), o = ut({
11256
11256
  where: Tt(e, u),
11257
11257
  normalize: !1,
11258
11258
  escape: !0
@@ -11260,7 +11260,7 @@ function Eo(t) {
11260
11260
  }
11261
11261
  const l = ut({ where: r ?? "", normalize: !1, escape: !0 });
11262
11262
  let d = "";
11263
- if (Yu(s)) {
11263
+ if (Ju(s)) {
11264
11264
  const u = V(s.series) === b.BoxPlotMultiFieldsAndCategory ? i : void 0, p = he({
11265
11265
  key: M.Min,
11266
11266
  showOutliers: !0,
@@ -11283,7 +11283,7 @@ function Th(t) {
11283
11283
  const { xAxisField: e, splitBy: i, dataContext: r, xAxisFieldType: n, chartConfig: a } = t;
11284
11284
  let s = "";
11285
11285
  if (x.dateBinningRange in r)
11286
- s = Mo(e, r);
11286
+ s = ko(e, r);
11287
11287
  else if (V(a.series) !== b.BarAndLineFromFields) {
11288
11288
  let d = Oi({
11289
11289
  value: r[e],
@@ -11291,7 +11291,7 @@ function Th(t) {
11291
11291
  keepNullValues: !0,
11292
11292
  specificField: x.typeOrDomainIdValue
11293
11293
  });
11294
- n === re.Double ? s = ko(d, e) : ($t(a.axes?.[0].valueFormat) && (d = oi(d)), s = ut({
11294
+ n === re.Double ? s = Eo(d, e) : ($t(a.axes?.[0].valueFormat) && (d = oi(d)), s = ut({
11295
11295
  where: Tt(e, d),
11296
11296
  normalize: !1,
11297
11297
  escape: !0
@@ -11370,7 +11370,7 @@ function Lh(t) {
11370
11370
  let n = "";
11371
11371
  const a = r.series[0], { minValue: s, maxValue: o } = i;
11372
11372
  if (Number.isFinite(s) && Number.isFinite(o) && a.type === y.HistogramSeries) {
11373
- const l = gp(e, a.dataTransformationType), d = i.isLastBin ? "<=" : "<";
11373
+ const l = bp(e, a.dataTransformationType), d = i.isLastBin ? "<=" : "<";
11374
11374
  n = K([
11375
11375
  `${l}>=${s?.toString()}`,
11376
11376
  `${l}${d}${o?.toString()}`
@@ -11395,7 +11395,7 @@ function yb(t) {
11395
11395
  r = Th(t);
11396
11396
  break;
11397
11397
  case y.BoxPlotSeries:
11398
- r = Eo(t);
11398
+ r = Ro(t);
11399
11399
  break;
11400
11400
  case y.HistogramSeries:
11401
11401
  r = Lh(t);
@@ -11413,7 +11413,7 @@ async function Oh(t) {
11413
11413
  switch (v.objectIds = S, c) {
11414
11414
  case y.HeatSeries:
11415
11415
  u.push(
11416
- _o({
11416
+ Uo({
11417
11417
  completeHeatChartDataset: !1,
11418
11418
  // we do not want the empty bins to be added for the selection
11419
11419
  chartConfig: r,
@@ -11466,7 +11466,7 @@ async function Oh(t) {
11466
11466
  break;
11467
11467
  case y.ScatterSeries:
11468
11468
  u.push(
11469
- Po({
11469
+ Mo({
11470
11470
  queryObject: o,
11471
11471
  chartConfig: r,
11472
11472
  queryConfig: v,
@@ -11550,8 +11550,8 @@ async function Bh(t) {
11550
11550
  let g;
11551
11551
  const S = j(d), v = S !== y.HistogramSeries && S !== y.HeatSeries && h !== void 0 && h.length > 0 && !(d[0].x in h[0]) && !(Fe in h[0]) && !(x.boxPlot.boxPlotCategory in h[0]);
11552
11552
  if (u !== !0 && p !== !1 && m !== void 0 && m.length > 0 && (a === !0 || v || m.length !== n?.length || !rt(m, n))) {
11553
- const C = ml(r);
11554
- if (C !== void 0 && !mp({ dataContext: C[0], chartConfig: e, chartLimits: f }))
11553
+ const C = gl(r);
11554
+ if (C !== void 0 && !gp({ dataContext: C[0], chartConfig: e, chartLimits: f }))
11555
11555
  g = C.filter((F) => {
11556
11556
  const T = F[ae.uniqueIdsName];
11557
11557
  return typeof T == "number" || typeof T == "string" ? m?.includes(T) : !1;
@@ -11639,7 +11639,7 @@ async function Ph(t) {
11639
11639
  N !== void 0 && (L = N.replace(O, ""));
11640
11640
  }
11641
11641
  F.length === 0 && F.push(""), F.forEach((O) => {
11642
- const N = Eo({
11642
+ const N = Ro({
11643
11643
  chartConfig: r,
11644
11644
  xAxisField: u,
11645
11645
  yAxisField: L,
@@ -11729,7 +11729,7 @@ async function Mh(t) {
11729
11729
  const S = { ...i };
11730
11730
  if (n !== void 0 && n.length > 0) {
11731
11731
  const w = n.map(
11732
- (F) => Mo(u[0].x, F)
11732
+ (F) => ko(u[0].x, F)
11733
11733
  ), C = K(w, "OR");
11734
11734
  S.where = K([S.where, C]);
11735
11735
  }
@@ -11756,7 +11756,7 @@ async function Mh(t) {
11756
11756
  const { minValue: L, maxValue: O } = F, N = T === m.length - 1 ? "<=" : "<";
11757
11757
  return `${S} >= ${L} AND ${S} ${N} ${O}`;
11758
11758
  }), w = K(v, "OR"), C = { ...i };
11759
- C.where = K([C.where, w]), h = await Bo({
11759
+ C.where = K([C.where, w]), h = await No({
11760
11760
  queryObject: e,
11761
11761
  chartConfig: r,
11762
11762
  queryConfig: C,
@@ -11772,7 +11772,7 @@ async function Mh(t) {
11772
11772
  const { r2: S, trendLinePoints: v } = x.scatterplotSeries;
11773
11773
  h.data = { dataItems: [], r2: S, trendLinePoints: v, count: 0 }, h.count = 0;
11774
11774
  } else {
11775
- const { r2: S, trendLinePoints: v } = No({
11775
+ const { r2: S, trendLinePoints: v } = Po({
11776
11776
  data: m,
11777
11777
  chartConfig: r
11778
11778
  });
@@ -11802,7 +11802,7 @@ async function $n(t) {
11802
11802
  else {
11803
11803
  const c = { dataItems: [] };
11804
11804
  c.meanLines = d.data.dataItems;
11805
- const u = wf(i), p = (await vn({
11805
+ const u = xf(i), p = (await vn({
11806
11806
  queryObject: e,
11807
11807
  queryConfig: r,
11808
11808
  fetchFullBoxPlotData: !0,
@@ -11822,7 +11822,7 @@ async function kh(t) {
11822
11822
  else
11823
11823
  switch (u) {
11824
11824
  case y.HeatSeries:
11825
- p = await _o(t);
11825
+ p = await Uo(t);
11826
11826
  break;
11827
11827
  case y.BoxPlotSeries:
11828
11828
  Ae(i) && (p = await $n({
@@ -11852,7 +11852,7 @@ async function kh(t) {
11852
11852
  break;
11853
11853
  }
11854
11854
  case y.ScatterSeries:
11855
- p.data = await Po({
11855
+ p.data = await Mo({
11856
11856
  queryObject: e,
11857
11857
  queryConfig: r,
11858
11858
  options: n,
@@ -11862,7 +11862,7 @@ async function kh(t) {
11862
11862
  });
11863
11863
  break;
11864
11864
  case y.HistogramSeries:
11865
- p = await Bo({
11865
+ p = await No({
11866
11866
  queryObject: e,
11867
11867
  queryConfig: r,
11868
11868
  chartConfig: i,
@@ -11965,7 +11965,7 @@ function $h(t, e) {
11965
11965
  }
11966
11966
  return i;
11967
11967
  }
11968
- const Ro = [
11968
+ const $o = [
11969
11969
  b.BarAndLineMonoField,
11970
11970
  b.BarAndLineMultiFields,
11971
11971
  b.PieNoAggregation,
@@ -11974,7 +11974,7 @@ const Ro = [
11974
11974
  b.BoxPlotMultiFieldsAndCategory,
11975
11975
  b.BoxPlotMonoFieldAndCategoryAndSplitBy
11976
11976
  ], qh = 8e3;
11977
- function $o(t, e) {
11977
+ function qo(t, e) {
11978
11978
  let i = t;
11979
11979
  return e === R.Week ? i /= 7 : e === R.Month ? i /= 30 : e === R.Year && (i /= 365), i = Math.ceil(i), i;
11980
11980
  }
@@ -12067,16 +12067,16 @@ function jh(t) {
12067
12067
  switch (i) {
12068
12068
  case A.Count:
12069
12069
  case A.Sum:
12070
- a = Vl(s, (o) => o[r]);
12070
+ a = jl(s, (o) => o[r]);
12071
12071
  break;
12072
12072
  case A.Minimum:
12073
- a = Wl(s, (o) => o[r]);
12073
+ a = Vl(s, (o) => o[r]);
12074
12074
  break;
12075
12075
  case A.Maximum:
12076
- a = ql(s, (o) => o[r]);
12076
+ a = Wl(s, (o) => o[r]);
12077
12077
  break;
12078
12078
  case A.Average:
12079
- a = $l(s, (o) => o[r]);
12079
+ a = ql(s, (o) => o[r]);
12080
12080
  break;
12081
12081
  case A.ContinuousPercentile:
12082
12082
  }
@@ -12110,7 +12110,7 @@ function zh(t) {
12110
12110
  h.forEach(($) => {
12111
12111
  w[$] = jh({ binsToRegroup: P, statisticType: m, y: $, nullPolicy: p });
12112
12112
  });
12113
- const I = P.map(($) => $[ot]).filter(($) => $ !== void 0), k = lp(I);
12113
+ const I = P.map(($) => $[ot]).filter(($) => $ !== void 0), k = dp(I);
12114
12114
  k !== void 0 && (w[ot] = k), w[c] = C, w[x.xAxisField] = C, w[x.dateBinningRange] = [C, F], delete w[x.dateBinModel], s.push(w);
12115
12115
  } else T && u !== ue.End && s.length > 0 && (s[s.length - 1][x.dateBinningRange][1] = s[s.length - 1][x.dateBinningRange][1] + 1);
12116
12116
  S = L, v.binFirstOrLastIndex = L;
@@ -12131,7 +12131,7 @@ function zh(t) {
12131
12131
  }) : s = e;
12132
12132
  return s;
12133
12133
  }
12134
- function qo(t) {
12134
+ function Wo(t) {
12135
12135
  const { dateMinTimestamp: e, dateMaxTimestamp: i, timeIntervalInfo: r } = t, { size: n, unit: a } = r;
12136
12136
  let s = 0, o = 0;
12137
12137
  if (n !== void 0 && Number.isFinite(n) && Number.isFinite(e) && Number.isFinite(i)) {
@@ -12160,7 +12160,7 @@ function qo(t) {
12160
12160
  }
12161
12161
  return { numberOfFinalBinsWithinDataRange: s, numberOfSingleBinsWithinDataRange: o };
12162
12162
  }
12163
- function Wo(t) {
12163
+ function Vo(t) {
12164
12164
  const e = t[0].temporalBinning?.nullPolicy;
12165
12165
  return t.reduce(
12166
12166
  (r, n) => {
@@ -12184,7 +12184,7 @@ function _h(t) {
12184
12184
  if (o !== void 0 && Number.isFinite(o) && r / i !== o) {
12185
12185
  let h = Math.ceil(r / i) * i - r;
12186
12186
  l === R.Week && (h *= 7);
12187
- const m = Wo(a);
12187
+ const m = Vo(a);
12188
12188
  if (c === ue.End) {
12189
12189
  let g = n[0][d];
12190
12190
  for (let S = 0; S < h; S += 1)
@@ -12219,7 +12219,7 @@ function _h(t) {
12219
12219
  }
12220
12220
  function Uh(t) {
12221
12221
  const { numberOfSingleBinsWithinDataRange: e, dataLength: i, unit: r } = t;
12222
- return $o(i, r) >= e;
12222
+ return qo(i, r) >= e;
12223
12223
  }
12224
12224
  async function Gh(t) {
12225
12225
  const { queryObject: e, queryConfig: i, x: r } = t, n = `MIN_${r}`, a = `MAX_${r}`, s = `COUNT_${r}`, o = {
@@ -12266,7 +12266,7 @@ function Hh(t) {
12266
12266
  dataLength: s,
12267
12267
  unit: l
12268
12268
  })) {
12269
- const { x: u } = r[0], p = r[0].temporalBinning?.timeAggregationType, f = Wo(r);
12269
+ const { x: u } = r[0], p = r[0].temporalBinning?.timeAggregationType, f = Vo(r);
12270
12270
  let m = p === ue.End ? i : e, g = p === ue.End ? n.length - 1 : 0;
12271
12271
  for (; g < n.length && (p === ue.End && m > e || p !== ue.End && m < i); )
12272
12272
  m !== n[g][u] ? d.push({
@@ -12377,7 +12377,7 @@ async function Jh(t) {
12377
12377
  return a;
12378
12378
  }
12379
12379
  async function Xh(t) {
12380
- const { chartConfig: e, queryResults: i, mapToStatField: r, splitByField: n, x: a, y: s, nullPolicy: o, queryObject: l } = t, d = Zo(a), u = (await Pe(l)).find((g) => g.name === a)?.type, p = [], f = e.series[0], h = "temporalBinning" in f ? f.temporalBinning?.trimIncompleteTimeInterval : !1, m = "temporalBinning" in f ? f.temporalBinning?.timeAggregationType : !1;
12380
+ const { chartConfig: e, queryResults: i, mapToStatField: r, splitByField: n, x: a, y: s, nullPolicy: o, queryObject: l } = t, d = Yo(a), u = (await Pe(l)).find((g) => g.name === a)?.type, p = [], f = e.series[0], h = "temporalBinning" in f ? f.temporalBinning?.trimIncompleteTimeInterval : !1, m = "temporalBinning" in f ? f.temporalBinning?.timeAggregationType : !1;
12381
12381
  return i.forEach((g, S) => {
12382
12382
  if (!(h && (S === 0 && m === ue.End || S === i.length - 1 && m === ue.Start))) {
12383
12383
  const { attributes: w, stackedAttributes: C } = g;
@@ -12418,7 +12418,7 @@ async function Xh(t) {
12418
12418
  z !== void 0 && (I[z] = D[ae.outStatistics?.outStatisticFieldName ?? ""], P(I, z));
12419
12419
  }
12420
12420
  }) : P(I, s);
12421
- const { featureExtent: k, featureExtentKey: $ } = Vo({
12421
+ const { featureExtent: k, featureExtentKey: $ } = jo({
12422
12422
  feature: g,
12423
12423
  splitByField: n
12424
12424
  });
@@ -12437,7 +12437,7 @@ async function Kh(t) {
12437
12437
  arrayToSort: l,
12438
12438
  sortingField: r
12439
12439
  }), u > 1) {
12440
- const { numberOfFinalBinsWithinDataRange: p, numberOfSingleBinsWithinDataRange: f } = qo({
12440
+ const { numberOfFinalBinsWithinDataRange: p, numberOfSingleBinsWithinDataRange: f } = Wo({
12441
12441
  dateMinTimestamp: d,
12442
12442
  dateMaxTimestamp: c,
12443
12443
  timeIntervalInfo: o
@@ -12517,7 +12517,7 @@ function ry(t) {
12517
12517
  Number(e[5] ?? 0)
12518
12518
  ).valueOf();
12519
12519
  }
12520
- function Vo(t) {
12520
+ function jo(t) {
12521
12521
  const { feature: e, splitByField: i, chartSubType: r } = t;
12522
12522
  let n;
12523
12523
  if (e.aggregateGeometries && "Extent" in e.aggregateGeometries)
@@ -12537,7 +12537,7 @@ function ny(t) {
12537
12537
  function Di(t) {
12538
12538
  const { data: e, x: i, splitByField: r } = t;
12539
12539
  let n = e;
12540
- return e !== void 0 && e.length > 0 && (n = [...jl(
12540
+ return e !== void 0 && e.length > 0 && (n = [...zl(
12541
12541
  e,
12542
12542
  (s) => ny({ input: s, x: i, splitByField: r }),
12543
12543
  (s) => s[i]
@@ -12651,12 +12651,12 @@ function fy(t) {
12651
12651
  }
12652
12652
  function hy(t) {
12653
12653
  const { queryResponse: e, chartConfig: i, maxCategoryCount: r } = t, n = V(i.series);
12654
- return r && Number.isFinite(r) && r < e.length && Ro.includes(n) ? e.slice(0, r) : e;
12654
+ return r && Number.isFinite(r) && r < e.length && $o.includes(n) ? e.slice(0, r) : e;
12655
12655
  }
12656
12656
  function yy(t) {
12657
12657
  const { attributes: e, uniqueCategoryList: i, maxCategoryCount: r, x: n, chartSubType: a } = t;
12658
12658
  let s = !1;
12659
- if (n && r && Number.isFinite(r) && !Ro.includes(a))
12659
+ if (n && r && Number.isFinite(r) && !$o.includes(a))
12660
12660
  if ((a === b.BarAndLineFromFields || a === b.PieFromFields) && Object.keys(e).length > r)
12661
12661
  Object.keys(e).filter((o) => o !== A.EnvelopeAggregate).forEach((o, l) => {
12662
12662
  l >= r && delete e[o];
@@ -12667,7 +12667,7 @@ function yy(t) {
12667
12667
  }
12668
12668
  return s;
12669
12669
  }
12670
- function jo(t) {
12670
+ function zo(t) {
12671
12671
  const {
12672
12672
  queryObject: e,
12673
12673
  queryResponse: i,
@@ -12702,11 +12702,11 @@ function jo(t) {
12702
12702
  fy({ attributes: D, showMean: c, chartSubType: h });
12703
12703
  let W = D[g];
12704
12704
  W === null && f[0]?.query?.fetchNullValues === !0 && h !== b.PieFromFields && (D[w] = null, W = x.nullValue), s && typeof W == "string" ? W = new Date(W).valueOf() : o && (W = ry(D));
12705
- const { outStatisticFieldName: z } = ae.outStatistics ?? {}, { featureExtent: _e, featureExtentKey: Me } = Vo({ feature: $, splitByField: a, chartSubType: h });
12705
+ const { outStatisticFieldName: z } = ae.outStatistics ?? {}, { featureExtent: _e, featureExtentKey: Me } = jo({ feature: $, splitByField: a, chartSubType: h });
12706
12706
  if (_e && (D[Me] = _e), h === b.BarAndLineSplitBy && z !== void 0) {
12707
12707
  const U = D[a], Ce = n?.get(U);
12708
12708
  Ce !== void 0 && (U === a && (D[x.technicalFieldSplitByField] = D[Ce]), D[Ce] = D[z]), delete D[z];
12709
- } else (h === b.PieNoAggregation || h === b.BarAndLineNoAggregation || h === b.BarAndLineSplitByNoAggregation) && (s ? D[C] = W : W !== x.nullValue && (D[w] = W), yu({ isXAxis: !0, chartType: m, valueFormat: r.axes?.[0]?.valueFormat }) && (D[x.xAxisField] = `${W}-${k}`), D[ae.uniqueIdsName] = $.getObjectId());
12709
+ } else (h === b.PieNoAggregation || h === b.BarAndLineNoAggregation || h === b.BarAndLineSplitByNoAggregation) && (s ? D[C] = W : W !== x.nullValue && (D[w] = W), mu({ isXAxis: !0, chartType: m, valueFormat: r.axes?.[0]?.valueFormat }) && (D[x.xAxisField] = `${W}-${k}`), D[ae.uniqueIdsName] = $.getObjectId());
12710
12710
  const Ue = Xy({
12711
12711
  subtypeInfo: l,
12712
12712
  fieldList: p,
@@ -12737,8 +12737,8 @@ async function Dr(t) {
12737
12737
  queryConfig: i,
12738
12738
  featureCount: s,
12739
12739
  abortKey: a
12740
- }), S = await Pe(e, c), v = Jy(S), { x: w } = p[0], C = v.includes(w), F = il(e);
12741
- return h = jo({
12740
+ }), S = await Pe(e, c), v = Jy(S), { x: w } = p[0], C = v.includes(w), F = rl(e);
12741
+ return h = zo({
12742
12742
  queryObject: e,
12743
12743
  queryResponse: g,
12744
12744
  chartConfig: r,
@@ -12756,7 +12756,7 @@ async function Dr(t) {
12756
12756
  p
12757
12757
  )), h;
12758
12758
  }
12759
- async function zo(t) {
12759
+ async function _o(t) {
12760
12760
  const { chartConfig: e, queryObject: i, queryConfig: r, numberMaxOfFeaturesToFetch: n, behaviorAfterLimit: a, isGaugeByFeature: s } = t, { series: o } = e, l = V(o), { x: d } = o[0], c = o.length;
12761
12761
  let u, p;
12762
12762
  if (l === b.BoxPlotMonoField || l === b.BoxPlotMonoFieldAndSplitBy ? (p = c, u = p) : l === b.BoxPlotMultiFields || l === b.BoxPlotMultiFieldsAndSplitBy ? (p = e.series[0].y.length, u = p) : l === b.PieFromFields || l === b.BarAndLineFromFields ? (p = o[0].query?.outStatistics?.filter(
@@ -12813,7 +12813,7 @@ function qi(t) {
12813
12813
  let { sortingField: u } = d[0];
12814
12814
  const p = i.orderOptions?.data?.orderType === Oe.Category, f = d[0].preferLabel !== !1, h = s === b.BarAndLineFromFields || s === b.PieFromFields || s === b.BoxPlotMultiFields || s === b.BoxPlotMultiFieldsAndSplitBy, m = h || o === y.PieSeries, g = s === b.PieNoAggregation || s === b.BarAndLineNoAggregation || s === b.BarAndLineSplitByNoAggregation, S = h ? !1 : e?.length > 0 && e.some((v) => Object.hasOwn(v, x.typeOrDomainIdValue));
12815
12815
  if (p && (!f || (o === y.LineSeries || o === y.RadarSeries) && l === y.NumberAxisFormat) && (S ? u = x.typeOrDomainIdValue : m && (u = x.originalCategoryValue)), Array.isArray(c))
12816
- cp({
12816
+ up({
12817
12817
  arrayToSort: e,
12818
12818
  orderBy: c,
12819
12819
  sortingField: u,
@@ -12858,7 +12858,7 @@ async function vn(t) {
12858
12858
  fetchFullBoxPlotData: r,
12859
12859
  options: n
12860
12860
  });
12861
- let { categoryOrDateCount: L, elementCount: O } = await zo({
12861
+ let { categoryOrDateCount: L, elementCount: O } = await _o({
12862
12862
  chartConfig: e,
12863
12863
  queryObject: a,
12864
12864
  queryConfig: i,
@@ -12884,7 +12884,7 @@ async function vn(t) {
12884
12884
  chartLimits: c,
12885
12885
  usePopupTemplateFieldsInfo: u,
12886
12886
  abortKey: s
12887
- }), Ae(e) && m !== void 0 && (h.data = await Ef({
12887
+ }), Ae(e) && m !== void 0 && (h.data = await Rf({
12888
12888
  data: m,
12889
12889
  queryObject: a,
12890
12890
  fetchFullBoxPlotData: r,
@@ -12907,7 +12907,7 @@ async function vn(t) {
12907
12907
  fieldList: o
12908
12908
  }));
12909
12909
  let I = "";
12910
- w === b.PieFromFields ? I = Ze : "y" in v && typeof v.y == "string" && (I = v.y), bp(m, I) ? h.data = { dataItems: m } : Cf(h, G.PieChartMixOfNegativePositiveSlices);
12910
+ w === b.PieFromFields ? I = Ze : "y" in v && typeof v.y == "string" && (I = v.y), Sp(m, I) ? h.data = { dataItems: m } : Ff(h, G.PieChartMixOfNegativePositiveSlices);
12911
12911
  } else if ((C === y.RadarSeries || C === y.BarSeries || C === y.LineSeries || C === y.ComboLineAndBarSeries) && (w === b.BarAndLineFromFields && "y" in v && typeof v.y == "string" ? m = mr({
12912
12912
  dataToConvert: m[0],
12913
12913
  x: v.x,
@@ -12982,7 +12982,7 @@ function qa(t) {
12982
12982
  const { day: e, month: i } = t;
12983
12983
  return i === 2 && e > 29 || [4, 6, 9, 11].includes(i) && e > 30;
12984
12984
  }
12985
- async function _o(t) {
12985
+ async function Uo(t) {
12986
12986
  const {
12987
12987
  chartConfig: e,
12988
12988
  queryConfig: i,
@@ -12994,8 +12994,12 @@ async function _o(t) {
12994
12994
  } = t, l = { valid: !0 };
12995
12995
  let d;
12996
12996
  if (Ai(e)) {
12997
- const { nullPolicy: c } = e, u = e.series[0], { x: p, y: f, query: h, xTemporalBinning: m, yTemporalBinning: g } = u, S = h?.outStatistics?.[0]?.outStatisticFieldName ?? "", v = by(e), w = te.xField, C = te.yField, F = te.valueField, T = c === De.Zero ? 0 : null;
12998
- if (xf(e)) {
12997
+ const { nullPolicy: c } = e, u = e.series[0], { x: p, y: f, query: h, xTemporalBinning: m, yTemporalBinning: g } = u, S = h?.outStatistics?.[0]?.outStatisticFieldName ?? "";
12998
+ i?.outStatistics?.[0] && Lo(i.outStatistics[0]) && !("statisticParameters" in i?.outStatistics[0]) && (i.outStatistics[0].statisticParameters = {
12999
+ value: x.defaultStatParameterValue
13000
+ });
13001
+ const v = by(e), w = te.xField, C = te.yField, F = te.valueField, T = c === De.Zero ? 0 : null;
13002
+ if (Cf(e)) {
12999
13003
  const L = await My({
13000
13004
  chartConfig: e,
13001
13005
  queryObject: r,
@@ -13012,8 +13016,8 @@ async function _o(t) {
13012
13016
  }))
13013
13017
  Sr({ dataInfo: l, chartType: y.HeatSeries });
13014
13018
  else if (typeof L?.[0] == "object") {
13015
- const O = await Pe(r, s?.usePopupTemplateFieldsInfo), N = il(r);
13016
- d = jo({
13019
+ const O = await Pe(r, s?.usePopupTemplateFieldsInfo), N = rl(r);
13020
+ d = zo({
13017
13021
  queryObject: r,
13018
13022
  queryResponse: L,
13019
13023
  chartConfig: e,
@@ -13137,7 +13141,7 @@ async function Wn(t) {
13137
13141
  });
13138
13142
  if (P) {
13139
13143
  if (Bi(r)) {
13140
- const I = s?.[0] instanceof Ql ? s : await Wy({
13144
+ const I = s?.[0] instanceof Zl ? s : await Wy({
13141
13145
  queryObject: r,
13142
13146
  dateField: p,
13143
13147
  splitByField: f,
@@ -13170,12 +13174,12 @@ async function Wn(t) {
13170
13174
  }) || (P = !1);
13171
13175
  }
13172
13176
  } else if (L?.dateRange.dateMinTimestamp && L.dateRange.dateMaxTimestamp) {
13173
- const { numberOfFinalBinsWithinDataRange: I } = qo({
13177
+ const { numberOfFinalBinsWithinDataRange: I } = Wo({
13174
13178
  dateMinTimestamp: L.dateRange.dateMinTimestamp,
13175
13179
  dateMaxTimestamp: L.dateRange.dateMaxTimestamp,
13176
13180
  timeIntervalInfo: C
13177
13181
  });
13178
- w = I * c.length, w = $o(w, C.unit), m = await Dr({
13182
+ w = I * c.length, w = qo(w, C.unit), m = await Dr({
13179
13183
  queryObject: r,
13180
13184
  uniqueQuery: O,
13181
13185
  chartConfig: e,
@@ -13195,7 +13199,7 @@ async function Wn(t) {
13195
13199
  timeIntervalInfo: C
13196
13200
  });
13197
13201
  }
13198
- Go(r) && m && m?.length === qh && (F = !0), d === Lt.RenderUpToTheLimit && m && (m = wy({ chartConfig: e, options: a, data: m }));
13202
+ Ho(r) && m && m?.length === qh && (F = !0), d === Lt.RenderUpToTheLimit && m && (m = wy({ chartConfig: e, options: a, data: m }));
13199
13203
  }
13200
13204
  P || (h.valid = !1, h.invalidType = G.LineChartExceedsLimit), m && m.length > 0 && (m[m.length - 1][x.lastTemporalBin] = !0), h.data = { dataItems: m, timeIntervalInfo: C, serverLimitReached: F }, h.count = w;
13201
13205
  }
@@ -13249,12 +13253,12 @@ async function Cy(t) {
13249
13253
  }
13250
13254
  return o;
13251
13255
  }
13252
- function Uo(t) {
13256
+ function Go(t) {
13253
13257
  return t?.[Fi.defaultGroupOfSlicesId] === !0;
13254
13258
  }
13255
13259
  function bb(t, e) {
13256
13260
  const i = t.filter(
13257
- (r) => !Uo(r)
13261
+ (r) => !Go(r)
13258
13262
  );
13259
13263
  return !rt(i, e);
13260
13264
  }
@@ -13380,7 +13384,7 @@ function Ob(t) {
13380
13384
  function At(t) {
13381
13385
  return t !== void 0 && "layer" in t;
13382
13386
  }
13383
- function Go(t) {
13387
+ function Ho(t) {
13384
13388
  return t !== void 0 && "type" in t && t.type === "feature";
13385
13389
  }
13386
13390
  function Iy(t) {
@@ -13390,7 +13394,7 @@ function Vn(t) {
13390
13394
  return t !== void 0 && "type" in t && t.type === "subtype-sublayer";
13391
13395
  }
13392
13396
  function Ay(t) {
13393
- return Go(t) || Vn(t);
13397
+ return Ho(t) || Vn(t);
13394
13398
  }
13395
13399
  function ye(t) {
13396
13400
  return Vn(t) ? t.parent : t;
@@ -13489,7 +13493,7 @@ async function Ny(t) {
13489
13493
  }
13490
13494
  return u;
13491
13495
  }
13492
- function Ho(t, e) {
13496
+ function Qo(t, e) {
13493
13497
  return {
13494
13498
  lowerBoundaryAlias: `charts_lower_boundary_${t}`,
13495
13499
  upperBoundaryAlias: `charts_upper_boundary_${t}`,
@@ -13577,7 +13581,7 @@ async function Ey(t) {
13577
13581
  timeExtent: S ?? w.timeExtent,
13578
13582
  geometry: v
13579
13583
  };
13580
- Yo(F) && (F.cacheHint = !0), F.geometry !== void 0 && jn(s) && (m !== void 0 && (F.distance = m), g !== void 0 && (F.units = g));
13584
+ Jo(F) && (F.cacheHint = !0), F.geometry !== void 0 && jn(s) && (m !== void 0 && (F.distance = m), g !== void 0 && (F.units = g));
13581
13585
  try {
13582
13586
  o = await r.queryFeatureCount(F);
13583
13587
  } catch {
@@ -13598,7 +13602,7 @@ async function Wi(t) {
13598
13602
  };
13599
13603
  });
13600
13604
  i.outStatistics = s, delete i.num, delete i.orderByFields;
13601
- const o = Ko({
13605
+ const o = el({
13602
13606
  queryObject: e,
13603
13607
  queryConfig: i
13604
13608
  });
@@ -13628,12 +13632,12 @@ async function Wi(t) {
13628
13632
  }
13629
13633
  return a;
13630
13634
  }
13631
- async function Qo(t) {
13635
+ async function Zo(t) {
13632
13636
  const { queryObject: e, queryConfig: i, returnUniqueIdsOnly: r, abortKey: n } = t;
13633
13637
  let a = [];
13634
13638
  const s = Q(e);
13635
13639
  if (e !== void 0) {
13636
- const o = Zy(s), l = Ko({
13640
+ const o = Zy(s), l = el({
13637
13641
  queryObject: e,
13638
13642
  queryConfig: i,
13639
13643
  maxRecordCountFactor: o
@@ -13674,7 +13678,7 @@ async function Ry(t) {
13674
13678
  ...n,
13675
13679
  start: o,
13676
13680
  num: Math.min(r, i - o)
13677
- }, e.push(Qo(d)), o += r, s += 1;
13681
+ }, e.push(Zo(d)), o += r, s += 1;
13678
13682
  }
13679
13683
  return a = (await Promise.all(e)).flat(), a;
13680
13684
  }
@@ -13683,7 +13687,7 @@ async function ze(t) {
13683
13687
  let o = [];
13684
13688
  const l = Q(e);
13685
13689
  if (e !== void 0) {
13686
- const d = n ?? 1, c = Jo(l);
13690
+ const d = n ?? 1, c = Xo(l);
13687
13691
  if (a !== !0 && d > c && l.capabilities?.query.supportsPagination) {
13688
13692
  let u = 0, p = 0;
13689
13693
  const f = Math.ceil(d / c), h = Math.ceil(f / ae.maxParallelRequests), m = [];
@@ -13700,7 +13704,7 @@ async function ze(t) {
13700
13704
  m.push(S), p += 1;
13701
13705
  }
13702
13706
  o = (await Promise.all(m)).flat();
13703
- } else (Number.isNaN(d) || d >= 0) && (o = await Qo({
13707
+ } else (Number.isNaN(d) || d >= 0) && (o = await Zo({
13704
13708
  queryObject: e,
13705
13709
  queryConfig: i,
13706
13710
  returnUniqueIdsOnly: r,
@@ -13726,7 +13730,7 @@ function qy(t) {
13726
13730
  e !== void 0 && e.abort(), Ni.set(t, new AbortController());
13727
13731
  }
13728
13732
  }
13729
- function Zo(t) {
13733
+ function Yo(t) {
13730
13734
  return {
13731
13735
  lowerBoundaryAlias: `charts_lower_boundary_${t}`,
13732
13736
  upperBoundaryAlias: `charts_upper_boundary_${t}`
@@ -13775,11 +13779,11 @@ async function Wy(t) {
13775
13779
  }
13776
13780
  return s;
13777
13781
  }
13778
- function Yo(t) {
13782
+ function Jo(t) {
13779
13783
  const e = !t.geometry || t.geometry.type === "extent", i = (t.where ?? "").toUpperCase(), r = !i.includes("CURRENT_TIMESTAMP") && !i.includes("CURRENT_DATE") && !i.includes("CURRENT_TIME");
13780
13784
  return e && r;
13781
13785
  }
13782
- function Jo(t) {
13786
+ function Xo(t) {
13783
13787
  let e = ae.maxRecords;
13784
13788
  if (t && "sourceJSON" in t && t.sourceJSON?.maxRecordCount) {
13785
13789
  const { sourceJSON: i } = t;
@@ -13824,11 +13828,11 @@ function Br(t) {
13824
13828
  let e;
13825
13829
  return t !== void 0 && (e = Ua.fromJSON(t)), e;
13826
13830
  }
13827
- function Xo(t) {
13831
+ function Ko(t) {
13828
13832
  return t === void 0 ? ["*"] : Array.from(new Set(t));
13829
13833
  }
13830
13834
  function Nr(t) {
13831
- const { queryObject: e, queryConfig: i, queryType: r } = t, { where: n, outStatistics: a, geometry: s, distance: o, units: l, timeExtent: d, returnDistinctValues: c } = i ?? {}, u = r === "Query" ? new id({}) : new td({}), p = Q(e), f = ye(p);
13835
+ const { queryObject: e, queryConfig: i, queryType: r } = t, { where: n, outStatistics: a, geometry: s, distance: o, units: l, timeExtent: d, returnDistinctValues: c } = i ?? {}, u = r === "Query" ? new rd({}) : new id({}), p = Q(e), f = ye(p);
13832
13836
  let h;
13833
13837
  const m = Pr(p).idFields;
13834
13838
  r === "AttributeBinsQuery" && i?.objectIds?.[0] !== void 0 && m && (h = `${m} IN (${i.objectIds.join(",")})`);
@@ -13837,7 +13841,7 @@ function Nr(t) {
13837
13841
  const w = Dy(p);
13838
13842
  u.outStatistics = a.filter(
13839
13843
  (C) => C.statisticType !== A.EnvelopeAggregate || w
13840
- ).map((C) => rd.fromJSON(C));
13844
+ ).map((C) => nd.fromJSON(C));
13841
13845
  }
13842
13846
  const S = Br(s);
13843
13847
  S !== void 0 && (u.geometry = S, i?.spatialRelationship && (u.spatialRelationship = i.spatialRelationship), jn(p) && (o !== void 0 && (u.distance = o), l !== void 0 && (u.units = l)));
@@ -13845,7 +13849,7 @@ function Nr(t) {
13845
13849
  return d && (v = new Ga({
13846
13850
  start: d?.[0],
13847
13851
  end: d?.[1]
13848
- })), v !== void 0 ? u.timeExtent = v : f.timeExtent !== void 0 && (u.timeExtent = f.timeExtent), Yo(u) && (u.cacheHint = !0), u;
13852
+ })), v !== void 0 ? u.timeExtent = v : f.timeExtent !== void 0 && (u.timeExtent = f.timeExtent), Jo(u) && (u.cacheHint = !0), u;
13849
13853
  }
13850
13854
  function _y(t) {
13851
13855
  let e;
@@ -13864,7 +13868,7 @@ async function Uy(t) {
13864
13868
  queryObject: e,
13865
13869
  queryConfig: i,
13866
13870
  queryType: "AttributeBinsQuery"
13867
- }), { unit: c, size: u, timeAggregationType: p, start: f, end: h, offset: m, outTimeZone: g } = r, S = Zo(n);
13871
+ }), { unit: c, size: u, timeAggregationType: p, start: f, end: h, offset: m, outTimeZone: g } = r, S = Yo(n);
13868
13872
  if (d.lowerBoundaryAlias = S.lowerBoundaryAlias, d.upperBoundaryAlias = S.upperBoundaryAlias, l !== re.DateOnly && (d.outTimeZone = g ?? Intl.DateTimeFormat().resolvedOptions().timeZone), d.binParameters = {
13869
13873
  type: "date",
13870
13874
  field: n,
@@ -14005,7 +14009,7 @@ function Qy(t) {
14005
14009
  queryObject: e,
14006
14010
  queryConfig: i,
14007
14011
  queryType: "AttributeBinsQuery"
14008
- }), c = Ho(s, o);
14012
+ }), c = Qo(s, o);
14009
14013
  return d.lowerBoundaryAlias = c.lowerBoundaryAlias, d.upperBoundaryAlias = c.upperBoundaryAlias, d.binParameters = {
14010
14014
  type: "fixed-interval",
14011
14015
  field: s,
@@ -14020,23 +14024,23 @@ function Qy(t) {
14020
14024
  }
14021
14025
  }, d;
14022
14026
  }
14023
- function Ko(t) {
14027
+ function el(t) {
14024
14028
  const { queryObject: e, queryConfig: i, maxRecordCountFactor: r } = t, { groupByFieldsForStatistics: n, orderByFields: a, gdbVersion: s, start: o, num: l, outFields: d } = i ?? {}, c = Nr({ queryObject: e, queryConfig: i, queryType: "Query" });
14025
14029
  c.returnGeometry = !1;
14026
14030
  const u = Q(e), p = ye(u);
14027
- return c.outFields = Xo(d), c.groupByFieldsForStatistics = n ?? c.groupByFieldsForStatistics, c.orderByFields = a ?? [], c.objectIds = i?.objectIds, r !== void 0 && (c.maxRecordCountFactor = r), s !== void 0 && s !== "" ? c.gdbVersion = s : p.gdbVersion !== void 0 && p.gdbVersion !== "" && (c.gdbVersion = p.gdbVersion), l !== void 0 && (c.num = l), o !== void 0 && (c.start = o, c.num = c.num ?? Jo(u)), c;
14031
+ return c.outFields = Ko(d), c.groupByFieldsForStatistics = n ?? c.groupByFieldsForStatistics, c.orderByFields = a ?? [], c.objectIds = i?.objectIds, r !== void 0 && (c.maxRecordCountFactor = r), s !== void 0 && s !== "" ? c.gdbVersion = s : p.gdbVersion !== void 0 && p.gdbVersion !== "" && (c.gdbVersion = p.gdbVersion), l !== void 0 && (c.num = l), o !== void 0 && (c.start = o, c.num = c.num ?? Xo(u)), c;
14028
14032
  }
14029
14033
  function Zy(t) {
14030
14034
  return t && "sourceJSON" in t && t.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ? ae.maxRecordCountFactor : void 0;
14031
14035
  }
14032
14036
  const Pb = {
14033
- sanitizeOutFields: Xo
14037
+ sanitizeOutFields: Ko
14034
14038
  };
14035
14039
  function Yy(t) {
14036
14040
  let e, i, r;
14037
14041
  return t !== void 0 && (e = t.type, (e === ve.UniqueValue || e === ve.ClassBreaks) && (i = t.field ?? void 0, e === ve.ClassBreaks && (r = t.normalizationField ?? void 0))), { rendererType: e, rendererField: i, rendererNormalizationField: r };
14038
14042
  }
14039
- const el = ed(async (t) => {
14043
+ const tl = td(async (t) => {
14040
14044
  const e = t.featureCollection;
14041
14045
  let i, r;
14042
14046
  if (e?.layers?.[0] !== void 0) {
@@ -14046,7 +14050,7 @@ const el = ed(async (t) => {
14046
14050
  r = t.layerDefinition;
14047
14051
  const n = {};
14048
14052
  if (i !== void 0) {
14049
- if (n.source = Kl.fromJSON(i).features, r?.fields !== void 0 && (n.fields = r.fields.map((s) => Yl.fromJSON(s))), r?.objectIdField !== void 0 && (n.objectIdField = r.objectIdField), r?.geometryType !== void 0) {
14053
+ if (n.source = ed.fromJSON(i).features, r?.fields !== void 0 && (n.fields = r.fields.map((s) => Jl.fromJSON(s))), r?.objectIdField !== void 0 && (n.objectIdField = r.objectIdField), r?.geometryType !== void 0) {
14050
14054
  const s = Ua.fromJSON({
14051
14055
  geometryType: r.geometryType
14052
14056
  });
@@ -14059,7 +14063,7 @@ const el = ed(async (t) => {
14059
14063
  const s = r.drawingInfo;
14060
14064
  s?.renderer !== void 0 && (n.renderer = _a.fromJSON(s.renderer));
14061
14065
  }
14062
- const a = new Zl(n);
14066
+ const a = new Yl(n);
14063
14067
  return await a.load(), a;
14064
14068
  });
14065
14069
  async function Mb(t) {
@@ -14073,7 +14077,7 @@ async function Mb(t) {
14073
14077
  l(d) && (a = d);
14074
14078
  } else
14075
14079
  a = e;
14076
- } else "iLayer" in r && r.iLayer && (a = await el(r.iLayer));
14080
+ } else "iLayer" in r && r.iLayer && (a = await tl(r.iLayer));
14077
14081
  return a;
14078
14082
  }
14079
14083
  async function Pe(t, e) {
@@ -14141,7 +14145,7 @@ function Jy(t) {
14141
14145
  function Rb(t) {
14142
14146
  return t.filter((e) => di(e)).map((e) => e.name);
14143
14147
  }
14144
- function tl(t) {
14148
+ function il(t) {
14145
14149
  const { subtypeInfo: e, fieldName: i, fieldValueToMatch: r } = t;
14146
14150
  let n;
14147
14151
  const a = (s) => `${s.id}` == `${r}`;
@@ -14171,7 +14175,7 @@ function wn(t, e) {
14171
14175
  i.push({ id: o ?? "", name: a, domains: u });
14172
14176
  }), i.length === 0 ? void 0 : i;
14173
14177
  }
14174
- function il(t) {
14178
+ function rl(t) {
14175
14179
  let e;
14176
14180
  if (t !== void 0) {
14177
14181
  const i = Q(t);
@@ -14196,7 +14200,7 @@ function il(t) {
14196
14200
  function Xy(t) {
14197
14201
  const { fieldName: e, fieldValueToMatch: i, subtypeInfo: r, fieldList: n } = t;
14198
14202
  let a;
14199
- if ((typeof i != "string" || !ce(i)) && !ce(e) && (a = tl({
14203
+ if ((typeof i != "string" || !ce(i)) && !ce(e) && (a = il({
14200
14204
  subtypeInfo: r,
14201
14205
  fieldName: e,
14202
14206
  fieldValueToMatch: i
@@ -14219,11 +14223,11 @@ function Xy(t) {
14219
14223
  }
14220
14224
  return a;
14221
14225
  }
14222
- async function rl(t) {
14226
+ async function nl(t) {
14223
14227
  let e = [];
14224
- return !ye(t).isTable && t.fieldsIndex && (e = await Jl.getRendererFields(t.renderer, t.fieldsIndex)), e;
14228
+ return !ye(t).isTable && t.fieldsIndex && (e = await Xl.getRendererFields(t.renderer, t.fieldsIndex)), e;
14225
14229
  }
14226
- function nl(t) {
14230
+ function al(t) {
14227
14231
  const e = "/rest/services";
14228
14232
  let i = t.toLowerCase();
14229
14233
  const r = i.indexOf(e);
@@ -14233,14 +14237,14 @@ async function Ky(t) {
14233
14237
  let e = !0;
14234
14238
  const i = ".arcgis.com/", r = t.url, n = r?.includes(i);
14235
14239
  if (r && n && ye(t).sourceJSON?.serviceItemId !== void 0) {
14236
- const a = nl(r);
14240
+ const a = al(r);
14237
14241
  try {
14238
14242
  const s = (await cr(a, { query: { f: "json" } })).data;
14239
14243
  if (s.owningTenant !== void 0 && s.owningSystemUrl !== void 0) {
14240
14244
  const o = `${s.owningSystemUrl}/sharing/rest/portals/${s.owningTenant}`, l = (await cr(o, {
14241
14245
  authMode: "auto",
14242
14246
  query: { f: "json" }
14243
- })).data, d = new Xl({ sourceJSON: l });
14247
+ })).data, d = new Kl({ sourceJSON: l });
14244
14248
  await d.load(), e = d?.sourceJSON?.subscriptionInfo?.dataStoreLevel === void 0;
14245
14249
  }
14246
14250
  } catch {
@@ -14300,8 +14304,8 @@ async function nm(t, e) {
14300
14304
  let r = [];
14301
14305
  const n = t.series;
14302
14306
  let a = e;
14303
- if (t.iLayer && (a = await el(t.iLayer)), a !== void 0) {
14304
- const s = n[0].x ?? "", o = n.map((p) => "y" in p ? p.y : "").flat(), l = ge(t.series[0].query?.where), d = gf(t), c = t?.series.map((p) => {
14307
+ if (t.iLayer && (a = await tl(t.iLayer)), a !== void 0) {
14308
+ const s = n[0].x ?? "", o = n.map((p) => "y" in p ? p.y : "").flat(), l = ge(t.series[0].query?.where), d = bf(t), c = t?.series.map((p) => {
14305
14309
  const f = p.query?.outStatistics?.map((h) => h.onStatisticField) ?? [];
14306
14310
  return f?.length > 0 ? f : "";
14307
14311
  }).flat();
@@ -14340,8 +14344,8 @@ function qb(t) {
14340
14344
  return r;
14341
14345
  }
14342
14346
  const Wb = {
14343
- getServerRestInfo: nl,
14344
- getSubtypeName: tl,
14347
+ getServerRestInfo: al,
14348
+ getSubtypeName: il,
14345
14349
  getFeatureTypes: wn
14346
14350
  }, kt = [
14347
14351
  "1.0.0",
@@ -14515,11 +14519,11 @@ function ut(t) {
14515
14519
  let o = e;
14516
14520
  return a !== "" && s !== "" && (o = `${a}=${s}`), o;
14517
14521
  }
14518
- function al(t) {
14522
+ function sl(t) {
14519
14523
  let e = b.PieFromCategory;
14520
14524
  return t[0].query?.outStatistics === void 0 ? e = b.PieNoAggregation : t[0].query?.groupByFieldsForStatistics === void 0 && (e = b.PieFromFields), e;
14521
14525
  }
14522
- function sl(t) {
14526
+ function ol(t) {
14523
14527
  let e = b.BarAndLineMonoField;
14524
14528
  const i = t[0].query?.where;
14525
14529
  return t[0].query?.groupByFieldsForStatistics === void 0 && (t[0].query?.outStatistics ?? []).length > 0 ? e = b.BarAndLineFromFields : i === void 0 && t[0].query?.outStatistics === void 0 ? e = b.BarAndLineNoAggregation : dt(i) ? t.length > 1 && (e = b.BarAndLineMultiFields) : e = t[0].query?.outStatistics === void 0 ? b.BarAndLineSplitByNoAggregation : b.BarAndLineSplitBy, e;
@@ -14542,13 +14546,13 @@ function V(t) {
14542
14546
  if (t?.[0] !== void 0)
14543
14547
  switch (j(t)) {
14544
14548
  case y.PieSeries:
14545
- e = al(t);
14549
+ e = sl(t);
14546
14550
  break;
14547
14551
  case y.RadarSeries:
14548
14552
  case y.BarSeries:
14549
14553
  case y.LineSeries:
14550
14554
  case y.ComboLineAndBarSeries:
14551
- e = sl(t);
14555
+ e = ol(t);
14552
14556
  break;
14553
14557
  case y.BoxPlotSeries:
14554
14558
  e = pm(t);
@@ -14571,7 +14575,7 @@ function Ut(t) {
14571
14575
  function Ke(t) {
14572
14576
  return dm.includes(t.type);
14573
14577
  }
14574
- function ol(t) {
14578
+ function ll(t) {
14575
14579
  const { previousConfig: e, newConfig: i, behaviorAfterLimit: r } = t, n = e.series, a = i.series;
14576
14580
  let s = !1, o = !1;
14577
14581
  (r === Lt.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (o = !rt(
@@ -14603,13 +14607,13 @@ function hm(t, e) {
14603
14607
  }
14604
14608
  return i;
14605
14609
  }
14606
- function ll(t, e) {
14610
+ function dl(t, e) {
14607
14611
  return (t ?? !1) !== (e?.filterBySelection ?? !1);
14608
14612
  }
14609
- function dl(t, e) {
14613
+ function cl(t, e) {
14610
14614
  return Ke(t.series[0]) && Ke(e.series[0]) && (t.series[0].binTemporalData ?? x.binTemporalData) !== (e.series[0].binTemporalData ?? x.binTemporalData);
14611
14615
  }
14612
- function cl(t, e) {
14616
+ function ul(t, e) {
14613
14617
  const i = t.axes?.[0].valueFormat.type, r = e.axes?.[0].valueFormat.type, n = V(e.series), a = n === b.BarAndLineNoAggregation || n === b.BarAndLineSplitByNoAggregation, s = i === y.DateAxisFormat && r === y.NumberAxisFormat, o = i === y.NumberAxisFormat && r === y.DateAxisFormat;
14614
14618
  return i !== r && (a || s || o);
14615
14619
  }
@@ -14629,13 +14633,13 @@ function ym(t) {
14629
14633
  function Va(t, e) {
14630
14634
  return e.length !== t.length;
14631
14635
  }
14632
- function ul(t, e) {
14636
+ function pl(t, e) {
14633
14637
  return Li(t) !== Li(e);
14634
14638
  }
14635
- function pl(t, e) {
14639
+ function fl(t, e) {
14636
14640
  return JSON.stringify(t.series[0]?.valueConversion) !== JSON.stringify(e.series[0]?.valueConversion);
14637
14641
  }
14638
- function fl(t, e) {
14642
+ function hl(t, e) {
14639
14643
  return JSON.stringify(t.series[0]?.xTemporalBinning) !== JSON.stringify(e.series[0]?.xTemporalBinning) || JSON.stringify(t.series[0]?.yTemporalBinning) !== JSON.stringify(e.series[0]?.yTemporalBinning) || (t.firstDayOfWeek ?? 7) !== (e.firstDayOfWeek ?? 7) || t.outTimeZone !== e.outTimeZone || (t.nullPolicy ?? De.Null) !== (e.nullPolicy ?? De.Null);
14640
14644
  }
14641
14645
  function mm(t, e) {
@@ -14796,14 +14800,14 @@ function lS(t) {
14796
14800
  tooltipFieldsChanged: !1
14797
14801
  }
14798
14802
  };
14799
- switch (h.common.queryChanged = ol({
14803
+ switch (h.common.queryChanged = ll({
14800
14804
  previousConfig: e,
14801
14805
  newConfig: i,
14802
14806
  behaviorAfterLimit: r?.chartLimits?.behaviorAfterLimit
14803
- }), h.common.configFiltersChanged = fm(e, i), h.common.xOrYChanged = hm(d, l), h.common.filterBySelectionChanged = ll(n, r), h.common.dataForFilterBySelectionChanged = Sm({
14807
+ }), h.common.configFiltersChanged = fm(e, i), h.common.xOrYChanged = hm(d, l), h.common.filterBySelectionChanged = dl(n, r), h.common.dataForFilterBySelectionChanged = Sm({
14804
14808
  previousSelectionOIDs: s,
14805
14809
  options: r
14806
- }), h.common.binTemporalDataChanged = dl(e, i), h.common.valueFormatChangeRequiresNewData = cl(
14810
+ }), h.common.binTemporalDataChanged = cl(e, i), h.common.valueFormatChangeRequiresNewData = ul(
14807
14811
  e,
14808
14812
  i
14809
14813
  ), h.common = {
@@ -14816,7 +14820,7 @@ function lS(t) {
14816
14820
  })
14817
14821
  }, p = Object.values(h.common).some((m) => m), c) {
14818
14822
  case y.HistogramSeries:
14819
- h.histogram.dataPropsChanged = Qu(d, l) || Hu(
14823
+ h.histogram.dataPropsChanged = Zu(d, l) || Qu(
14820
14824
  d,
14821
14825
  l
14822
14826
  );
@@ -14827,13 +14831,13 @@ function lS(t) {
14827
14831
  h.common.numberOfSeriesChanged = Va(d, l);
14828
14832
  break;
14829
14833
  case y.BoxPlotSeries:
14830
- Ae(e) && Ae(i) && (h.common.numberOfSeriesChanged = Va(d, l), h.boxPlot.showMeanChanged = ul(e, i));
14834
+ Ae(e) && Ae(i) && (h.common.numberOfSeriesChanged = Va(d, l), h.boxPlot.showMeanChanged = pl(e, i));
14831
14835
  break;
14832
14836
  case y.GaugeSeries:
14833
- h.gauge.valueConversionChanged = pl(e, i);
14837
+ h.gauge.valueConversionChanged = fl(e, i);
14834
14838
  break;
14835
14839
  case y.HeatSeries:
14836
- Ai(e) && Ai(i) && (h.heatChart.binningChanged = fl(e, i), h.heatChart.hideEmptyRowsAndColumnsChanged = mm(
14840
+ Ai(e) && Ai(i) && (h.heatChart.binningChanged = hl(e, i), h.heatChart.hideEmptyRowsAndColumnsChanged = mm(
14837
14841
  e,
14838
14842
  i
14839
14843
  ), h.heatChart.includeLeapDay = gm(e, i));
@@ -14848,15 +14852,15 @@ function lS(t) {
14848
14852
  }
14849
14853
  return (h.gauge.valueConversionChanged || h.histogram.dataPropsChanged || h.common.numberOfSeriesChanged || h.common.binTemporalDataChanged || h.boxPlot.showMeanChanged || h.heatChart.binningChanged || h.heatChart.hideEmptyRowsAndColumnsChanged || h.heatChart.includeLeapDay || h.scatterPlot.tooltipFieldsChanged) && (f = !0), u = p || f, { dataUpdateNeeded: u, dataUpdateDetails: h };
14850
14854
  }
14851
- function hl(t, e) {
14855
+ function yl(t, e) {
14852
14856
  return t.series.map((i) => i.name).join() !== e.series.map((i) => i.name).join();
14853
14857
  }
14854
- function yl(t, e) {
14858
+ function ml(t, e) {
14855
14859
  const i = t.orderOptions?.series, r = e.orderOptions?.series, n = (i?.orderBy ?? fe.Ascending) !== (r?.orderBy ?? fe.Ascending), a = (i?.preferLabel ?? !0) !== (r?.preferLabel ?? !0);
14856
14860
  return n || a;
14857
14861
  }
14858
14862
  function dS(t, e) {
14859
- return yl(t, e) || hl(t, e);
14863
+ return ml(t, e) || yl(t, e);
14860
14864
  }
14861
14865
  function cS(t, e) {
14862
14866
  const i = ai(t);
@@ -14883,17 +14887,17 @@ function cS(t, e) {
14883
14887
  }), i;
14884
14888
  }
14885
14889
  const uS = {
14886
- getPieChartChartSubType: al,
14887
- getBarLineChartSubType: sl,
14888
- hasQueryChanged: ol,
14889
- hasFilterBySelectionChanged: ll,
14890
- hasBinTemporalDataChanged: dl,
14891
- hasGaugeValueConversionChanged: pl,
14892
- isNewDataRequiredForValueFormatChange: cl,
14893
- hasShowMeanChanged: ul,
14894
- hasHeatChartBinningChanged: fl,
14895
- hasSeriesOrderChanged: yl,
14896
- hasConfigSeriesNamesChanged: hl
14890
+ getPieChartChartSubType: sl,
14891
+ getBarLineChartSubType: ol,
14892
+ hasQueryChanged: ll,
14893
+ hasFilterBySelectionChanged: dl,
14894
+ hasBinTemporalDataChanged: cl,
14895
+ hasGaugeValueConversionChanged: fl,
14896
+ isNewDataRequiredForValueFormatChange: ul,
14897
+ hasShowMeanChanged: pl,
14898
+ hasHeatChartBinningChanged: hl,
14899
+ hasSeriesOrderChanged: ml,
14900
+ hasConfigSeriesNamesChanged: yl
14897
14901
  };
14898
14902
  function ni(t) {
14899
14903
  const e = t === void 0 || t === "";
@@ -14910,19 +14914,19 @@ function ni(t) {
14910
14914
  };
14911
14915
  }
14912
14916
  function Un(t) {
14913
- return "subType" in t && t.subType === Rl.FeatureGauge;
14917
+ return "subType" in t && t.subType === $l.FeatureGauge;
14914
14918
  }
14915
- function ml(t) {
14919
+ function gl(t) {
14916
14920
  let e;
14917
14921
  return t !== void 0 && ("bins" in t ? e = t.bins : "dataItems" in t && (e = t.dataItems)), e;
14918
14922
  }
14919
- function gl(t) {
14923
+ function bl(t) {
14920
14924
  return t === b.BoxPlotMultiFields || t === b.BoxPlotMultiFieldsAndCategory || t === b.BoxPlotMultiFieldsAndSplitBy;
14921
14925
  }
14922
14926
  function he(t) {
14923
14927
  const { key: e, y: i, chartSubType: r, splitBy: n, splitByValue: a, showOutliers: s, standardizeValues: o } = t;
14924
14928
  let l = a, c = ni(i)[e];
14925
- return s === !0 && (e === M.Min || e === M.Max) && (c = `${c}${Wu}`), o === !0 && (gl(r) || e === M.Outlier) && (c = `${c}${Vu}`), (a === void 0 || `${a}`.trim() === "") && (l = Le({ where: n, normalize: !0, escape: !1 })), l !== void 0 && `${l}`.trim() !== "" && (c = `${l}${c !== "" ? `_${c}` : ""}`), c;
14929
+ return s === !0 && (e === M.Min || e === M.Max) && (c = `${c}${Vu}`), o === !0 && (bl(r) || e === M.Outlier) && (c = `${c}${ju}`), (a === void 0 || `${a}`.trim() === "") && (l = Le({ where: n, normalize: !0, escape: !1 })), l !== void 0 && `${l}`.trim() !== "" && (c = `${l}${c !== "" ? `_${c}` : ""}`), c;
14926
14930
  }
14927
14931
  function Yr(t) {
14928
14932
  const { dataItem: e, y: i, splitBy: r, showOutliers: n } = t, a = he({ key: M.FirstQuartile, y: i, splitBy: r, showOutliers: n }), s = he({ key: M.ThirdQuartile, y: i, splitBy: r, showOutliers: n });
@@ -14959,12 +14963,12 @@ function vm(t) {
14959
14963
  }
14960
14964
  return s;
14961
14965
  }
14962
- function bl(t) {
14966
+ function Sl(t) {
14963
14967
  return t.map((e) => e.id).filter((e) => e !== void 0);
14964
14968
  }
14965
14969
  function xe(t, e) {
14966
14970
  let i = [];
14967
- const r = e ?? bl(t), n = V(t);
14971
+ const r = e ?? Sl(t), n = V(t);
14968
14972
  return i = t.filter((a) => r.includes(a.id)).map((a) => {
14969
14973
  let s = "y" in a ? a.y : void 0;
14970
14974
  return s !== void 0 && n === b.BarAndLineSplitByNoAggregation && (s = `${s.toString()}_${Le({ where: a.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), s;
@@ -15039,7 +15043,7 @@ function pS(t) {
15039
15043
  let { x: c, y: u } = e.series[0];
15040
15044
  V(e.series) === b.PieFromFields && (c = Fe, u = Ze);
15041
15045
  const p = d[u];
15042
- l = d[c] !== void 0 && d[c] !== null && !Pl(p) && St(Number(p), i);
15046
+ l = d[c] !== void 0 && d[c] !== null && !Ml(p) && St(Number(p), i);
15043
15047
  }
15044
15048
  break;
15045
15049
  case y.GaugeSeries:
@@ -15061,7 +15065,7 @@ function pS(t) {
15061
15065
  return n;
15062
15066
  }
15063
15067
  function xm(t, e) {
15064
- const i = /* @__PURE__ */ new Map(), r = e ?? bl(t);
15068
+ const i = /* @__PURE__ */ new Map(), r = e ?? Sl(t);
15065
15069
  return t.forEach((n) => {
15066
15070
  if (r.includes(n.id) && "y" in n) {
15067
15071
  const a = i.get(n.type) ?? [];
@@ -25244,7 +25248,7 @@ If not provided, the data will be displayed as it was retrieved from the server.
25244
25248
  }
25245
25249
  },
25246
25250
  $ref: "#/definitions/WebChart"
25247
- }, Sl = {
25251
+ }, vl = {
25248
25252
  NonNumericAggregation: "nonNumericAggregation",
25249
25253
  DuplicateSeriesID: "duplicateSeriesId"
25250
25254
  }, bt = {
@@ -25273,11 +25277,11 @@ If not provided, the data will be displayed as it was retrieved from the server.
25273
25277
  NegativeValueInXAxisLogScale: "negativeValueInXAxisLogScale",
25274
25278
  NegativeValueInYAxisLogScale: "negativeValueInYAxisLogScale"
25275
25279
  };
25276
- function vl(t) {
25280
+ function wl(t) {
25277
25281
  const e = t.lastIndexOf("/");
25278
25282
  return e !== -1 ? t.slice(e + 1) : t;
25279
25283
  }
25280
- async function wl(t) {
25284
+ async function xl(t) {
25281
25285
  const e = (await it(
25282
25286
  We(document.documentElement).t9nLocale,
25283
25287
  Je("./assets/common/t9n"),
@@ -25351,7 +25355,7 @@ async function wl(t) {
25351
25355
  case bt.AnyOf: {
25352
25356
  let a = [];
25353
25357
  i.schemaPath === "#/properties/legend/anyOf" && (a = Kt.definitions.WebChart.properties.legend.anyOf.map(
25354
- (s) => vl(s.$ref)
25358
+ (s) => wl(s.$ref)
25355
25359
  )), r = {
25356
25360
  ...i,
25357
25361
  params: a,
@@ -25366,7 +25370,7 @@ async function wl(t) {
25366
25370
  function wi(t, e) {
25367
25371
  return { ...t, $ref: `#/definitions/${e}` };
25368
25372
  }
25369
- async function xl(t) {
25373
+ async function Cl(t) {
25370
25374
  let e;
25371
25375
  const i = (await it(
25372
25376
  We(document.documentElement).t9nLocale,
@@ -25386,7 +25390,7 @@ async function xl(t) {
25386
25390
  return e;
25387
25391
  }
25388
25392
  function Tm() {
25389
- const t = new nd({ allErrors: !0 });
25393
+ const t = new ad({ allErrors: !0 });
25390
25394
  return async (e) => {
25391
25395
  let i = [];
25392
25396
  const r = j(e?.series);
@@ -25406,11 +25410,11 @@ function Tm() {
25406
25410
  break;
25407
25411
  }
25408
25412
  const a = t.compile(n);
25409
- return a(e), a.errors !== null && a.errors !== void 0 && (i = await wl(a.errors)), i;
25413
+ return a(e), a.errors !== null && a.errors !== void 0 && (i = await xl(a.errors)), i;
25410
25414
  };
25411
25415
  }
25412
25416
  const Im = Tm();
25413
- async function Cl(t) {
25417
+ async function Fl(t) {
25414
25418
  const { seriesConfigs: e, queryObject: i, allowUsingObjectIdStat: r } = t, n = [], a = await Pe(i), s = (await it(
25415
25419
  We(document.documentElement).t9nLocale,
25416
25420
  Je("./assets/common/t9n"),
@@ -25424,7 +25428,7 @@ async function Cl(t) {
25424
25428
  if (u && !(u.type === re.OID && r || di(u)) && c.statisticType !== A.Count) {
25425
25429
  const f = `series[${o}].query.outStatistics[${d}]`;
25426
25430
  n.push({
25427
- keyword: Sl.NonNumericAggregation,
25431
+ keyword: vl.NonNumericAggregation,
25428
25432
  message: de(s.errors.nonNumericAggregation, { dataPath: f }),
25429
25433
  dataPath: f,
25430
25434
  params: {
@@ -25438,7 +25442,7 @@ async function Cl(t) {
25438
25442
  }
25439
25443
  return n;
25440
25444
  }
25441
- async function Fl(t) {
25445
+ async function Tl(t) {
25442
25446
  const e = [], i = (await it(
25443
25447
  We(document.documentElement).t9nLocale,
25444
25448
  Je("./assets/common/t9n"),
@@ -25451,7 +25455,7 @@ async function Fl(t) {
25451
25455
  if (r.add(a.id), r.size === n) {
25452
25456
  const o = `series[${s}].id`;
25453
25457
  e.push({
25454
- keyword: Sl.DuplicateSeriesID,
25458
+ keyword: vl.DuplicateSeriesID,
25455
25459
  message: de(i.errors.duplicateSeriesID, {
25456
25460
  dataPath: o,
25457
25461
  seriesID: a.id,
@@ -25474,9 +25478,9 @@ function Am(t) {
25474
25478
  const o = r === y.ScatterSeries || r === y.BoxPlotSeries || n === b.BarAndLineNoAggregation || n === b.BarAndLineSplitByNoAggregation || n === b.PieNoAggregation, l = [
25475
25479
  yi,
25476
25480
  Fe,
25477
- sd,
25478
- Ze,
25479
25481
  od,
25482
+ Ze,
25483
+ ld,
25480
25484
  ae.outStatistics.outStatisticFieldName ?? ""
25481
25485
  ];
25482
25486
  let d = [];
@@ -25513,23 +25517,23 @@ async function Lm(t, e) {
25513
25517
  }
25514
25518
  return i;
25515
25519
  }
25516
- async function Tl(t) {
25520
+ async function Il(t) {
25517
25521
  const { input: e, queryObject: i, allowUsingObjectIdStat: r } = t;
25518
25522
  let n = [];
25519
25523
  if (i !== void 0) {
25520
- const a = await Cl({
25524
+ const a = await Fl({
25521
25525
  seriesConfigs: e.series,
25522
25526
  queryObject: i,
25523
25527
  allowUsingObjectIdStat: r
25524
25528
  });
25525
25529
  n = n.concat(a);
25526
25530
  }
25527
- return n = n.concat(await Fl(e)), n;
25531
+ return n = n.concat(await Tl(e)), n;
25528
25532
  }
25529
- async function Il(t, e) {
25533
+ async function Al(t, e) {
25530
25534
  let i = [];
25531
25535
  if (t !== void 0) {
25532
- const r = await xl(t);
25536
+ const r = await Cl(t);
25533
25537
  if (r !== void 0)
25534
25538
  i = i.concat(r);
25535
25539
  else if (e !== void 0) {
@@ -25547,7 +25551,7 @@ async function hS(t) {
25547
25551
  else {
25548
25552
  const a = await Im(e);
25549
25553
  let s = [], o = [];
25550
- e !== void 0 && a.length === 0 && (o = await Il(i, e), o.length === 0 && (s = await Tl({ input: e, queryObject: i, allowUsingObjectIdStat: r }))), n = {
25554
+ e !== void 0 && a.length === 0 && (o = await Al(i, e), o.length === 0 && (s = await Il({ input: e, queryObject: i, allowUsingObjectIdStat: r }))), n = {
25551
25555
  valid: a.length === 0 && s.length === 0 && o.length === 0,
25552
25556
  schemaErrors: a,
25553
25557
  customErrors: o,
@@ -25591,14 +25595,14 @@ function yS(t) {
25591
25595
  return i;
25592
25596
  }
25593
25597
  const mS = {
25594
- findCustomErrors: Il,
25595
- findWarnings: Tl,
25596
- findNumericAggregationWarnings: Cl,
25597
- findDuplicateSeriesIDWarnings: Fl,
25598
- findLayerLoadError: xl,
25598
+ findCustomErrors: Al,
25599
+ findWarnings: Il,
25600
+ findNumericAggregationWarnings: Fl,
25601
+ findDuplicateSeriesIDWarnings: Tl,
25602
+ findLayerLoadError: Cl,
25599
25603
  createStartingSchema: wi,
25600
- extractSchemaNameFromRefPath: vl,
25601
- customizeValidationErrors: wl
25604
+ extractSchemaNameFromRefPath: wl,
25605
+ customizeValidationErrors: xl
25602
25606
  };
25603
25607
  async function Jr(t) {
25604
25608
  const { queryObject: e, queryConfig: i, category: r, splitByField: n, chartLimits: a, abortKey: s } = t, o = n !== void 0, l = r !== yi ? [r] : [];
@@ -25678,7 +25682,7 @@ const ja = [
25678
25682
  preferredIntervalSize: [1, 2, 4, 5, 10, 25, 50, 100]
25679
25683
  }
25680
25684
  ], Om = "{ groupByFieldsForStatistics } WHEN { dateField }>='{ startDate }' AND { dateField }{ endDateOperand }'{ endDate }' THEN '{ y }|{ binIndex}'";
25681
- async function Al(t) {
25685
+ async function Ll(t) {
25682
25686
  const e = Je(`assets/common/t9n/messages.${t}.json`), i = await fetch(e);
25683
25687
  if (!i.ok)
25684
25688
  throw new Error(`Failed to load t9n file: ${e}`);
@@ -25699,7 +25703,7 @@ const Dm = [
25699
25703
  "it-IT"
25700
25704
  ];
25701
25705
  function gS(t) {
25702
- const { t9nLocale: e } = We(t ?? document.documentElement), i = Ll(t ?? document.documentElement), r = ad(t ?? document.documentElement) === "rtl";
25706
+ const { t9nLocale: e } = We(t ?? document.documentElement), i = Ol(t ?? document.documentElement), r = sd(t ?? document.documentElement) === "rtl";
25703
25707
  return { locale: e, formatLocale: i, rtl: r };
25704
25708
  }
25705
25709
  function bS(t) {
@@ -25732,15 +25736,15 @@ function Bm(t) {
25732
25736
  const e = Array.from(za);
25733
25737
  return Dm.includes(t) && !e.includes(t);
25734
25738
  }
25735
- function Ll(t) {
25739
+ function Ol(t) {
25736
25740
  const { lang: e, t9nLocale: i } = We(t);
25737
25741
  return Bm(e) ? e : i;
25738
25742
  }
25739
25743
  async function xS() {
25740
- return (await Al("en")).errorStrings;
25744
+ return (await Ll("en")).errorStrings;
25741
25745
  }
25742
25746
  async function CS() {
25743
- return (await Al("en")).utilsStrings;
25747
+ return (await Ll("en")).utilsStrings;
25744
25748
  }
25745
25749
  export {
25746
25750
  yS as $,
@@ -25772,18 +25776,18 @@ export {
25772
25776
  dm as Z,
25773
25777
  hS as _,
25774
25778
  Ze as a,
25775
- Au as a$,
25779
+ Lu as a$,
25776
25780
  mS as a0,
25777
- Sl as a1,
25781
+ vl as a1,
25778
25782
  bt as a2,
25779
25783
  G as a3,
25780
- mu as a4,
25784
+ gu as a4,
25781
25785
  lg as a5,
25782
25786
  ni as a6,
25783
25787
  Un as a7,
25784
- ml as a8,
25785
- gl as a9,
25786
- vu as aA,
25788
+ gl as a8,
25789
+ bl as a9,
25790
+ wu as aA,
25787
25791
  pg as aB,
25788
25792
  fg as aC,
25789
25793
  Ve as aD,
@@ -25794,7 +25798,7 @@ export {
25794
25798
  Xs as aI,
25795
25799
  H as aJ,
25796
25800
  Ri as aK,
25797
- xu as aL,
25801
+ Cu as aL,
25798
25802
  yg as aM,
25799
25803
  un as aN,
25800
25804
  mg as aO,
@@ -25805,11 +25809,11 @@ export {
25805
25809
  Dt as aT,
25806
25810
  ht as aU,
25807
25811
  bg as aV,
25808
- Cu as aW,
25809
- Fu as aX,
25810
- Tu as aY,
25812
+ Fu as aW,
25813
+ Tu as aX,
25814
+ Iu as aY,
25811
25815
  Sg as aZ,
25812
- Iu as a_,
25816
+ Au as a_,
25813
25817
  he as aa,
25814
25818
  Yr as ab,
25815
25819
  xe as ac,
@@ -25822,32 +25826,32 @@ export {
25822
25826
  M as aj,
25823
25827
  ja as ak,
25824
25828
  Om as al,
25825
- gu as am,
25829
+ bu as am,
25826
25830
  ot as an,
25827
25831
  ae as ao,
25828
25832
  Zs as ap,
25829
25833
  dg as aq,
25830
25834
  Ie as ar,
25831
- bu as as,
25835
+ Su as as,
25832
25836
  Ys as at,
25833
- Su as au,
25837
+ vu as au,
25834
25838
  cg as av,
25835
25839
  ug as aw,
25836
25840
  Fi as ax,
25837
25841
  yi as ay,
25838
25842
  te as az,
25839
- sd as b,
25843
+ od as b,
25840
25844
  qb as b$,
25841
- Lu as b0,
25845
+ Ou as b0,
25842
25846
  jt as b1,
25843
- Ou as b2,
25844
- Du as b3,
25845
- Bu as b4,
25847
+ Du as b2,
25848
+ Bu as b3,
25849
+ Nu as b4,
25846
25850
  vg as b5,
25847
- Nu as b6,
25851
+ Pu as b6,
25848
25852
  wg as b7,
25849
25853
  xg as b8,
25850
- Pu as b9,
25854
+ Mu as b9,
25851
25855
  $g as bA,
25852
25856
  Lt as bB,
25853
25857
  _ as bC,
@@ -25864,9 +25868,9 @@ export {
25864
25868
  Eb as bN,
25865
25869
  Jy as bO,
25866
25870
  Rb as bP,
25867
- il as bQ,
25871
+ rl as bQ,
25868
25872
  Xy as bR,
25869
- rl as bS,
25873
+ nl as bS,
25870
25874
  Ky as bT,
25871
25875
  em as bU,
25872
25876
  tm as bV,
@@ -25875,7 +25879,7 @@ export {
25875
25879
  $b as bY,
25876
25880
  nm as bZ,
25877
25881
  am as b_,
25878
- Mu as ba,
25882
+ ku as ba,
25879
25883
  Cg as bb,
25880
25884
  Fg as bc,
25881
25885
  Ti as bd,
@@ -25887,25 +25891,25 @@ export {
25887
25891
  Dg as bj,
25888
25892
  Bg as bk,
25889
25893
  Ng as bl,
25890
- ku as bm,
25891
- Eu as bn,
25892
- Ru as bo,
25894
+ Eu as bm,
25895
+ Ru as bn,
25896
+ $u as bo,
25893
25897
  Pg as bp,
25894
25898
  zt as bq,
25895
25899
  $i as br,
25896
25900
  Mg as bs,
25897
25901
  kg as bt,
25898
- $u as bu,
25902
+ qu as bu,
25899
25903
  Eg as bv,
25900
- qu as bw,
25901
- Wu as bx,
25902
- Vu as by,
25904
+ Wu as bw,
25905
+ Vu as bx,
25906
+ ju as by,
25903
25907
  Rg as bz,
25904
- od as c,
25908
+ ld as c,
25905
25909
  eb as c$,
25906
25910
  Wb as c0,
25907
25911
  Ny as c1,
25908
- Ho as c2,
25912
+ Qo as c2,
25909
25913
  Py as c3,
25910
25914
  My as c4,
25911
25915
  ky as c5,
@@ -25926,7 +25930,7 @@ export {
25926
25930
  SS as cK,
25927
25931
  vS as cL,
25928
25932
  wS as cM,
25929
- Ll as cN,
25933
+ Ol as cN,
25930
25934
  xS as cO,
25931
25935
  CS as cP,
25932
25936
  Dm as cQ,
@@ -25941,11 +25945,11 @@ export {
25941
25945
  Xg as cZ,
25942
25946
  Kg as c_,
25943
25947
  qy as ca,
25944
- Zo as cb,
25948
+ Yo as cb,
25945
25949
  Wy as cc,
25946
25950
  Ni as cd,
25947
- Yo as ce,
25948
- Jo as cf,
25951
+ Jo as ce,
25952
+ Xo as cf,
25949
25953
  K as cg,
25950
25954
  Vy as ch,
25951
25955
  jy as ci,
@@ -25955,12 +25959,12 @@ export {
25955
25959
  zn as cm,
25956
25960
  Hy as cn,
25957
25961
  Qy as co,
25958
- Ko as cp,
25962
+ el as cp,
25959
25963
  Zy as cq,
25960
25964
  Pb as cr,
25961
25965
  Ob as cs,
25962
25966
  At as ct,
25963
- Go as cu,
25967
+ Ho as cu,
25964
25968
  Iy as cv,
25965
25969
  Vn as cw,
25966
25970
  Ay as cx,
@@ -25975,34 +25979,34 @@ export {
25975
25979
  ib as d4,
25976
25980
  rb as d5,
25977
25981
  nb as d6,
25978
- yf as d7,
25979
- mf as d8,
25980
- gf as d9,
25981
- zu as dA,
25982
+ mf as d7,
25983
+ gf as d8,
25984
+ bf as d9,
25985
+ _u as dA,
25982
25986
  Qg as dB,
25983
25987
  $t as dC,
25984
25988
  Te as dD,
25985
25989
  Ib as dE,
25986
25990
  Li as dF,
25987
25991
  wb as dG,
25988
- ap as dH,
25992
+ sp as dH,
25989
25993
  Fb as dI,
25990
25994
  Ia as dJ,
25991
- ip as dK,
25992
- Ju as dL,
25995
+ rp as dK,
25996
+ Xu as dL,
25993
25997
  Ug as dM,
25994
- rp as dN,
25998
+ np as dN,
25995
25999
  ti as dO,
25996
26000
  Tb as dP,
25997
- Yu as dQ,
26001
+ Ju as dQ,
25998
26002
  yb as dR,
25999
26003
  mb as dS,
26000
26004
  Bh as dT,
26001
26005
  xh as dU,
26002
26006
  Di as dV,
26003
26007
  _g as dW,
26004
- ju as dX,
26005
- su as dY,
26008
+ zu as dX,
26009
+ ou as dY,
26006
26010
  og as dZ,
26007
26011
  Ab as d_,
26008
26012
  Fo as da,
@@ -26018,18 +26022,18 @@ export {
26018
26022
  x as dk,
26019
26023
  ft as dl,
26020
26024
  Rn as dm,
26021
- Uo as dn,
26025
+ Go as dn,
26022
26026
  qi as dp,
26023
26027
  Ii as dq,
26024
26028
  Vg as dr,
26025
26029
  Zg as ds,
26026
26030
  Hg as dt,
26027
- Al as du,
26031
+ Ll as du,
26028
26032
  Oi as dv,
26029
26033
  io as dw,
26030
26034
  rg as dx,
26031
26035
  qg as dy,
26032
- dp as dz,
26036
+ cp as dz,
26033
26037
  kt as e,
26034
26038
  hb as e0,
26035
26039
  Oa as e1,
@@ -26038,9 +26042,9 @@ export {
26038
26042
  Ft as e4,
26039
26043
  Cb as e5,
26040
26044
  cb as e6,
26041
- wf as e7,
26045
+ xf as e7,
26042
26046
  Wg as e8,
26043
- mp as e9,
26047
+ gp as e9,
26044
26048
  fb as ea,
26045
26049
  Lb as eb,
26046
26050
  pb as ec,
@@ -26051,17 +26055,17 @@ export {
26051
26055
  ub as eh,
26052
26056
  ag as ei,
26053
26057
  fn as ej,
26054
- yu as ek,
26058
+ mu as ek,
26055
26059
  to as el,
26056
26060
  vb as em,
26057
26061
  bb as en,
26058
26062
  zg as eo,
26059
26063
  gb as ep,
26060
- pp as eq,
26064
+ fp as eq,
26061
26065
  La as er,
26062
- up as es,
26066
+ pp as es,
26063
26067
  om as f,
26064
- el as g,
26068
+ tl as g,
26065
26069
  um as h,
26066
26070
  Bt as i,
26067
26071
  Vb as j,