@arcgis/charts-components 5.0.0-next.82 → 5.0.0-next.83

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 (284) hide show
  1. package/dist/cdn/{ID4KLCKL.js → 25Y37HDR.js} +2 -2
  2. package/dist/cdn/{SVFBLZRG.js → 27C6OYEU.js} +2 -2
  3. package/dist/cdn/{2X6OEAMC.js → 2JGZI22M.js} +2 -2
  4. package/dist/cdn/{C2GL44TV.js → 2MDNOLE7.js} +2 -2
  5. package/dist/cdn/{7RJ3BRYL.js → 2R2BMNFS.js} +2 -2
  6. package/dist/cdn/{MWZCDWXJ.js → 2URKDTYG.js} +2 -2
  7. package/dist/cdn/{N2P6UVWA.js → 34AN32NU.js} +2 -2
  8. package/dist/cdn/{J2MLQG3H.js → 3AYBTZOD.js} +2 -2
  9. package/dist/cdn/{4AFJKCFC.js → 3EUVHMED.js} +2 -2
  10. package/dist/cdn/{XKAQPTVD.js → 3H2K4XBV.js} +1 -1
  11. package/dist/cdn/{HZ76IUUB.js → 3IIMADO3.js} +2 -2
  12. package/dist/cdn/{6NY6XAPA.js → 3ZYAE5XJ.js} +2 -2
  13. package/dist/cdn/{QNNTCDH6.js → 43L2SHNE.js} +2 -2
  14. package/dist/cdn/{KR2QKH56.js → 44C65EPN.js} +2 -2
  15. package/dist/cdn/{3ZCUKUCK.js → 46TC66MH.js} +2 -2
  16. package/dist/cdn/{SUCLWTR7.js → 4GC6PYXQ.js} +2 -2
  17. package/dist/cdn/{OYOZQ6BX.js → 4QWZUG2D.js} +2 -2
  18. package/dist/cdn/{SLP4HZRV.js → 4RAFZ47P.js} +2 -2
  19. package/dist/cdn/{WD6KLXL4.js → 527U5NXD.js} +2 -2
  20. package/dist/cdn/{OYR6S256.js → 5BKZOADD.js} +2 -2
  21. package/dist/cdn/{FNGN342Z.js → 5D7ZUMTV.js} +2 -2
  22. package/dist/cdn/{FH72ZPX7.js → 5LRAWDB2.js} +2 -2
  23. package/dist/cdn/{BXF23WTO.js → 5RGWSKTL.js} +2 -2
  24. package/dist/cdn/{P3UPQRJY.js → 5W7WNESA.js} +2 -2
  25. package/dist/cdn/{5VZRFMNA.js → 66HFNW6H.js} +2 -2
  26. package/dist/cdn/{FEAD2EGY.js → 6BAHKCP2.js} +2 -2
  27. package/dist/cdn/{UBERBHGT.js → 6BU3J2SA.js} +2 -2
  28. package/dist/cdn/{4GE4PO5L.js → 6J6NQYSI.js} +2 -2
  29. package/dist/cdn/{MR47DXWM.js → 6JM25GLX.js} +2 -2
  30. package/dist/cdn/{CMECQ2WO.js → 6N2CDTKQ.js} +2 -2
  31. package/dist/cdn/{HFA5AVAJ.js → 6ODKBWA2.js} +2 -2
  32. package/dist/cdn/{HGG6MSJ3.js → 6XD36WUB.js} +2 -2
  33. package/dist/cdn/{YX33ZLN7.js → 6ZING2WG.js} +2 -2
  34. package/dist/cdn/{V3BGXVPS.js → 73AALWAA.js} +2 -2
  35. package/dist/cdn/{PR7YLRYH.js → 76QNL3QY.js} +2 -2
  36. package/dist/cdn/{SENFSEDM.js → 7M5OGSR4.js} +2 -2
  37. package/dist/cdn/{DTTTMC2G.js → 7MAMXI6G.js} +2 -2
  38. package/dist/cdn/{PIR47ALR.js → A4RR4KDV.js} +2 -2
  39. package/dist/cdn/{NYLTCHWT.js → ABA4O33C.js} +2 -2
  40. package/dist/cdn/{GUIWMLRF.js → AOF2FRZQ.js} +2 -2
  41. package/dist/cdn/{REI76RNU.js → AP3R3DLT.js} +2 -2
  42. package/dist/cdn/{CJTS4EQF.js → AR5FMR5D.js} +2 -2
  43. package/dist/cdn/{6JUMUTIR.js → ATQCKVJT.js} +2 -2
  44. package/dist/cdn/{TCBHJHAO.js → B2OY4O7O.js} +2 -2
  45. package/dist/cdn/{6VH3A5Z4.js → B367QDVM.js} +2 -2
  46. package/dist/cdn/{NYFN3OZQ.js → BGPL3ABR.js} +2 -2
  47. package/dist/cdn/{SNHBFGLF.js → BOEMVU2X.js} +2 -2
  48. package/dist/cdn/{DLKML36B.js → C6BBQKLV.js} +2 -2
  49. package/dist/cdn/{M3YOAXPV.js → C6GQWD6M.js} +1 -1
  50. package/dist/cdn/{5J6UKAEO.js → C6RJFRJF.js} +2 -2
  51. package/dist/cdn/{5FLP5RBH.js → CGOOCGXY.js} +2 -2
  52. package/dist/cdn/{MJFBZKDF.js → CPKI64AD.js} +2 -2
  53. package/dist/cdn/{DANPC3NW.js → CQGE2VEZ.js} +2 -2
  54. package/dist/cdn/{2YLX5KHX.js → CRAQO4PS.js} +2 -2
  55. package/dist/cdn/{HVQYPJYG.js → CV3B3IW7.js} +2 -2
  56. package/dist/cdn/{M7JKK2TX.js → CWQEKPVV.js} +2 -2
  57. package/dist/cdn/{HJCNLXYP.js → DUGYLVYQ.js} +2 -2
  58. package/dist/cdn/{ACBAUAFV.js → E4MHCKDX.js} +2 -2
  59. package/dist/cdn/{S3JUFAG7.js → EBGU4L67.js} +2 -2
  60. package/dist/cdn/{ORJFH7RB.js → EUOM2DXX.js} +2 -2
  61. package/dist/cdn/{S6KT4PHH.js → EUWN6PM7.js} +2 -2
  62. package/dist/cdn/{RZUWXQ6J.js → EVNRTE63.js} +2 -2
  63. package/dist/cdn/{OTMHZ7HS.js → EVXBLPWJ.js} +2 -2
  64. package/dist/cdn/{PSARDJYA.js → EYPQQTEC.js} +2 -2
  65. package/dist/cdn/{47XTRITZ.js → F5JHRHTH.js} +2 -2
  66. package/dist/cdn/{JJF2XQOQ.js → FEPQCR7K.js} +2 -2
  67. package/dist/cdn/{MZHLDBMI.js → FIA6C76M.js} +2 -2
  68. package/dist/cdn/{BTTGQ6XP.js → FTZEKVEP.js} +2 -2
  69. package/dist/cdn/{3QE3OOEP.js → FY2PR3YV.js} +2 -2
  70. package/dist/cdn/{5PCQZWAL.js → G37SJXYM.js} +2 -2
  71. package/dist/cdn/{QUVQE5T7.js → G52APDCY.js} +2 -2
  72. package/dist/cdn/{RCGAHLPN.js → G5EI65RE.js} +2 -2
  73. package/dist/cdn/{5HXCU6IC.js → GRMN5AFA.js} +2 -2
  74. package/dist/cdn/{BCXSCTX5.js → GSWPCZQ4.js} +2 -2
  75. package/dist/cdn/{QFX7MSYF.js → GZK4RV4W.js} +2 -2
  76. package/dist/cdn/{LZPZPSD4.js → H6Q7HM6T.js} +2 -2
  77. package/dist/cdn/{3QWEUEKJ.js → HRN22FP6.js} +2 -2
  78. package/dist/cdn/{QY4NTO5K.js → HRWEA44X.js} +2 -2
  79. package/dist/cdn/{GM7WXVYK.js → HTTMW54T.js} +2 -2
  80. package/dist/cdn/{R2PECFVJ.js → HWFJCIN3.js} +2 -2
  81. package/dist/cdn/{XPGDAJTQ.js → I2QRU3ZC.js} +2 -2
  82. package/dist/cdn/{QIV3GTIW.js → I6F4VPFP.js} +2 -2
  83. package/dist/cdn/{GUMYBKXE.js → IIFWMCPX.js} +2 -2
  84. package/dist/cdn/{RMVK4IHH.js → ILZ7MZIF.js} +2 -2
  85. package/dist/cdn/{ZL66QNDQ.js → IMG54JSG.js} +2 -2
  86. package/dist/cdn/{X6HU7JTC.js → J2SR4QWQ.js} +2 -2
  87. package/dist/cdn/{AEN7AIHQ.js → JD2MFZE5.js} +2 -2
  88. package/dist/cdn/{PJDCY7XR.js → JUV5AKDD.js} +1 -1
  89. package/dist/cdn/{QCH5ORG3.js → K44RJ3OT.js} +2 -2
  90. package/dist/cdn/{TY73XE2A.js → K4OINBVK.js} +2 -2
  91. package/dist/cdn/{L7QXH5IA.js → KC5JW7Z5.js} +1 -1
  92. package/dist/cdn/{4EMMF7RZ.js → KM5KLVJA.js} +2 -2
  93. package/dist/cdn/{S7PAAPVN.js → LP4WFXYL.js} +2 -2
  94. package/dist/cdn/{R7DJ4T7Z.js → LU5QJI5Y.js} +2 -2
  95. package/dist/cdn/{R52ISWKJ.js → LZDLNPT7.js} +2 -2
  96. package/dist/cdn/{55LYY6DW.js → M3O3VBTN.js} +2 -2
  97. package/dist/cdn/{SIPYSAJO.js → MQMTLLMU.js} +2 -2
  98. package/dist/cdn/{IZ2FEMD6.js → MRYSATLQ.js} +2 -2
  99. package/dist/cdn/{4T6UUSSN.js → MSEYVQHW.js} +2 -2
  100. package/dist/cdn/{A2IDWZZJ.js → MWBVWNCT.js} +2 -2
  101. package/dist/cdn/{BGHM4ASW.js → N4BTEWGL.js} +2 -2
  102. package/dist/cdn/{Z5RE37OL.js → NH7GUJM5.js} +2 -2
  103. package/dist/cdn/{XCM646HB.js → NJOSRPHG.js} +2 -2
  104. package/dist/cdn/{MU4NXBE3.js → NT36XY2J.js} +2 -2
  105. package/dist/cdn/{DK5UB6MW.js → NYZYIGZO.js} +2 -2
  106. package/dist/cdn/{RNEO24RZ.js → O3YAFNJL.js} +2 -2
  107. package/dist/cdn/{L656K4DM.js → O7RZFRFS.js} +2 -2
  108. package/dist/cdn/{QNRZGUGY.js → OGN5Z4XS.js} +2 -2
  109. package/dist/cdn/{YNEWX7AQ.js → OOJCTMYF.js} +2 -2
  110. package/dist/cdn/{PK75ODFD.js → OOJZ5CVG.js} +7 -7
  111. package/dist/cdn/{SEN5GKGH.js → OSCGQXNH.js} +1 -1
  112. package/dist/cdn/{W3PKQS7J.js → OVG53JKT.js} +2 -2
  113. package/dist/cdn/{5HOFUJOV.js → P5K44KTE.js} +2 -2
  114. package/dist/cdn/{UR4JJLLU.js → PBWYWPAW.js} +2 -2
  115. package/dist/cdn/{LNASQIBL.js → PHZNKHD7.js} +2 -2
  116. package/dist/cdn/{O75XHMWO.js → PPATMX33.js} +2 -2
  117. package/dist/cdn/{Y5LHA2WJ.js → PV5WGD6J.js} +2 -2
  118. package/dist/cdn/{CW2AAXRE.js → PYRKH4UO.js} +2 -2
  119. package/dist/cdn/{CFFOROJQ.js → Q2NHUP6S.js} +1 -1
  120. package/dist/cdn/{LIICYTLU.js → Q446UMC7.js} +2 -2
  121. package/dist/cdn/{QXPCXM5M.js → Q55S6C77.js} +1 -1
  122. package/dist/cdn/{4VFNNHNS.js → Q6EWBCWS.js} +2 -2
  123. package/dist/cdn/{PT4ZOCYW.js → Q6PRFP53.js} +2 -2
  124. package/dist/cdn/{PEVK6U3L.js → QA5VE3Y4.js} +2 -2
  125. package/dist/cdn/{CVAWYGBR.js → QHLH7G2Q.js} +2 -2
  126. package/dist/cdn/{OG4CG2UK.js → QO354KKW.js} +2 -2
  127. package/dist/cdn/{TQ52UPHA.js → QZRHOCHY.js} +2 -2
  128. package/dist/cdn/{UBUDSX63.js → R6CDALRK.js} +2 -2
  129. package/dist/cdn/{RVKRLE2E.js → RJRN7IM5.js} +2 -2
  130. package/dist/cdn/{IB3R6V5G.js → RKKNPOGN.js} +2 -2
  131. package/dist/cdn/{GTYOGXXU.js → RMKX2HBL.js} +2 -2
  132. package/dist/cdn/{FE65TFNZ.js → RNYLVMTZ.js} +2 -2
  133. package/dist/cdn/{JHWGJFKA.js → RWRLBUPY.js} +2 -2
  134. package/dist/cdn/{ZFGZYNJC.js → RXFNBDM3.js} +1 -1
  135. package/dist/cdn/{U5O6IZAF.js → RXKXD3D3.js} +2 -2
  136. package/dist/cdn/{3IH2AAS4.js → RXYMGSEU.js} +2 -2
  137. package/dist/cdn/{3SZ34ERT.js → S46IKAMB.js} +2 -2
  138. package/dist/cdn/{OYJF2GCP.js → S5RGVXOG.js} +2 -2
  139. package/dist/cdn/{OEQBHM47.js → T7RU7KKF.js} +2 -2
  140. package/dist/cdn/{3HC3MJZH.js → TGF32GEO.js} +2 -2
  141. package/dist/cdn/{7BSQFZGV.js → TKR63NUC.js} +2 -2
  142. package/dist/cdn/{2DHMSZUK.js → TM7NT25W.js} +2 -2
  143. package/dist/cdn/{5C47KET7.js → TYHXH4QJ.js} +2 -2
  144. package/dist/cdn/{ICAIWZJ5.js → U62NMBXV.js} +2 -2
  145. package/dist/cdn/{RZOOQHX2.js → UCW2KCDG.js} +2 -2
  146. package/dist/cdn/{5FIWO3QI.js → UD44ILLT.js} +2 -2
  147. package/dist/cdn/{DYXVDTMG.js → UOUIQSPH.js} +2 -2
  148. package/dist/cdn/{CZYICAXR.js → UPVC3TEU.js} +2 -2
  149. package/dist/cdn/{4QYDI2WG.js → V4XIYW47.js} +2 -2
  150. package/dist/cdn/{W7C3P6H5.js → V66HKPWP.js} +2 -2
  151. package/dist/cdn/{RDHG2ACJ.js → VCXMDWYL.js} +2 -2
  152. package/dist/cdn/{TCQXB7KL.js → VHA7CTN7.js} +2 -2
  153. package/dist/cdn/{MVY2IBBH.js → VMNFTWZV.js} +2 -2
  154. package/dist/cdn/{CNKQRO5I.js → VQVE7IKJ.js} +2 -2
  155. package/dist/cdn/{HMLNJASW.js → W3M32IWC.js} +2 -2
  156. package/dist/cdn/{RSU3B63O.js → WAI2KJVM.js} +1 -1
  157. package/dist/cdn/{Z3UAXAGB.js → WIL7G7FS.js} +2 -2
  158. package/dist/cdn/{PW556MVA.js → WOQQYKCH.js} +2 -2
  159. package/dist/cdn/{5C3MTDLG.js → WR47ECZL.js} +2 -2
  160. package/dist/cdn/{MC76T4GA.js → XCLUSAT6.js} +2 -2
  161. package/dist/cdn/{AL5NSZA2.js → XEK3OIL4.js} +2 -2
  162. package/dist/cdn/{BIDRKP4K.js → XRDJWH56.js} +2 -2
  163. package/dist/cdn/{BTWELYXD.js → XS6CZSGE.js} +2 -2
  164. package/dist/cdn/{XAB763XV.js → XS6QJV33.js} +2 -2
  165. package/dist/cdn/{4SHSEQT6.js → XTPWOZIG.js} +2 -2
  166. package/dist/cdn/{SXTAS6I7.js → XUJRXKNK.js} +2 -2
  167. package/dist/cdn/{K3S7KZJ3.js → Y7OC6ZR6.js} +2 -2
  168. package/dist/cdn/{HSQNRG5Q.js → Y7Z4KAGH.js} +2 -2
  169. package/dist/cdn/{OVIUISPS.js → YOMPGIYG.js} +2 -2
  170. package/dist/cdn/{YA7FVAJF.js → YS7AV2BK.js} +2 -2
  171. package/dist/cdn/{RU3XCXK7.js → Z2QVGI6X.js} +2 -2
  172. package/dist/cdn/{5CMTYIHQ.js → Z4TCSCEH.js} +2 -2
  173. package/dist/cdn/{3RBBYAG2.js → Z5DOUMY2.js} +2 -2
  174. package/dist/cdn/{RIBBUAI2.js → ZDTOQCNA.js} +2 -2
  175. package/dist/cdn/{4VGADKVH.js → ZFWHF3QQ.js} +2 -2
  176. package/dist/cdn/{YFKSJMEM.js → ZGFB2ELK.js} +2 -2
  177. package/dist/cdn/{Q7GSIUN4.js → ZJOQCPYK.js} +2 -2
  178. package/dist/cdn/{MDELEK2F.js → ZKWDSMJ6.js} +2 -2
  179. package/dist/cdn/{AYDI2ZR4.js → ZN6M3YYC.js} +2 -2
  180. package/dist/cdn/{3PEJITCG.js → ZUIQJBWT.js} +2 -2
  181. package/dist/cdn/index.js +2 -2
  182. package/dist/chunks/action-bar-utils.js +1 -1
  183. package/dist/chunks/axis-model-wrapper.js +1 -1
  184. package/dist/chunks/bar-chart-model.js +1 -1
  185. package/dist/chunks/bar-chart-series.js +1 -1
  186. package/dist/chunks/baseline-stacking.js +1 -1
  187. package/dist/chunks/bg_BG.js +1 -1
  188. package/dist/chunks/bg_BG2.js +1 -1
  189. package/dist/chunks/box-plot-data.js +1 -1
  190. package/dist/chunks/box-plot-model.js +1 -1
  191. package/dist/chunks/chart-ui-utils.js +1 -1
  192. package/dist/chunks/chart-ui-utils2.js +1 -1
  193. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  194. package/dist/chunks/common.js +1 -1
  195. package/dist/chunks/config-update.js +1 -1
  196. package/dist/chunks/data.js +1 -1
  197. package/dist/chunks/default.js +1 -1
  198. package/dist/chunks/gauge-model.js +1 -1
  199. package/dist/chunks/heat-chart-model.js +1 -1
  200. package/dist/chunks/histogram-data.js +1 -1
  201. package/dist/chunks/histogram-model.js +1 -1
  202. package/dist/chunks/index.js +1 -1
  203. package/dist/chunks/index2.js +1 -1
  204. package/dist/chunks/index3.js +1 -1
  205. package/dist/chunks/index4.js +1 -1
  206. package/dist/chunks/interfaces.js +1 -1
  207. package/dist/chunks/line-chart-model.js +1 -1
  208. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  209. package/dist/chunks/model-with-data-labels.js +1 -1
  210. package/dist/chunks/model-with-multi-axes.js +1 -1
  211. package/dist/chunks/model-with-rotation.js +1 -1
  212. package/dist/chunks/pie-chart-data.js +1 -1
  213. package/dist/chunks/pie-chart-model.js +1 -1
  214. package/dist/chunks/popover-ui-utils.js +1 -1
  215. package/dist/chunks/radar-chart-model.js +1 -1
  216. package/dist/chunks/resource.js +1 -1
  217. package/dist/chunks/rest-js-object-literals.js +1 -1
  218. package/dist/chunks/runtime.js +1 -1
  219. package/dist/chunks/scatterplot-model.js +1 -1
  220. package/dist/chunks/serial-chart-data.js +1 -1
  221. package/dist/chunks/serial-chart-model.js +1 -1
  222. package/dist/chunks/series-types.js +1 -1
  223. package/dist/chunks/series.js +1 -1
  224. package/dist/chunks/sk_SK.js +1 -1
  225. package/dist/chunks/store.js +1 -1
  226. package/dist/chunks/type-guards.js +1 -1
  227. package/dist/chunks/useT9n.js +1 -1
  228. package/dist/chunks/web-component-utils.js +1 -1
  229. package/dist/components/arcgis-chart/customElement.js +1 -1
  230. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  231. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  232. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  233. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  234. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  235. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  236. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  238. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  278. package/dist/docs/api.json +2 -2
  279. package/dist/docs/docs.json +2 -2
  280. package/dist/docs/web-types.json +1 -1
  281. package/dist/index.js +1 -1
  282. package/dist/loader.js +1 -1
  283. package/dist/model.js +1 -1
  284. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.82 */
4
- import{d as a}from"./DTTTMC2G.js";import{g as f}from"./J2MLQG3H.js";import b from"./R7DJ4T7Z.js";import{j as t}from"./CFFOROJQ.js";import"./M3YOAXPV.js";import"./XKAQPTVD.js";import{E as c,g as n,h as s,l as m,y as h}from"./ZFGZYNJC.js";import"./RSU3B63O.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{Ac:y,vc:d,xc:g,zc:p}])=>{var C=n`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends h{constructor(){super(...arguments),this.onModelConfigChange=async i=>{let e=i?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(e)},this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigNoSeriesUpdate=m()}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,timeZone:1,popoverPlacement:1,seriesColor:0,calculatedDataMinMaxBounds:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=C}async load(){this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model)}willUpdate(i){let e=!1;i.has("model")&&this.modelChange(this.model,i.get("model")),i.has("layer")&&this.layer!==void 0&&!t(i.get("layer"),this.layer)&&(e=!0),i.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==i.get("usePopupTemplateFieldsInfo")&&(e=!0),i.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&(e=!0),e&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(i,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),i?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}seriesColorChange(i){this.activeColorMatch=i?.get(0)?.markerSymbol===void 0,this.model.colorMatch&&i?.forEach((e,o)=>{e&&i?.get(0)!==void 0&&("lineSymbol"in e&&(e.lineSymbol?.color!==void 0&&!t(this.model.getSeriesColor(o),e.lineSymbol.color)&&this.model.setSeriesColor(e.lineSymbol.color,o),e.lineSymbol?.style!==void 0&&!t(this.model.getSeriesLineStyle(o),e.lineSymbol.style)&&this.model.setSeriesLineStyle(e.lineSymbol.style,o),e.lineSymbol?.width!==void 0&&!t(this.model.getSeriesLineWidth(o),e.lineSymbol.width)&&this.model.setSeriesLineWidth(e.lineSymbol.width,o)),"markerSymbol"in e&&(e.markerSymbol?.color!==void 0&&!t(this.model.getSeriesMarkerColor(o),e.markerSymbol?.color)&&this.model.setSeriesMarkerColor(e.markerSymbol?.color,o),e.markerSymbol?.style!==void 0&&!t(this.model.getSeriesMarkerStyle(o),e.markerSymbol?.style)&&this.model.setSeriesMarkerStyle(e.markerSymbol?.style,o),e.markerSymbol?.size!==void 0&&this.model.getSeriesMarkerSize(o)!==e.markerSymbol?.size&&this.model.setSeriesMarkerSize(e.markerSymbol?.size,o)))})}async updateFetchLayerFieldsInfo(i){let e=i??this.model.config,o=this.layer;if(!o){let r=f(e)?e.iLayer:void 0;r&&(o=await d(r))}o&&(this.layerFieldsInfo=await g(o,this.usePopupTemplateFieldsInfo))}render(){let i=this.layerFieldsInfo?.find(r=>r.name===this.model.xAxisField),e=i!==void 0&&(p(i)||y(i)),o;switch(this.page){case a.Data:o=s`<arcgis-charts-config-line-chart-data .model=${this.model} .resetTimeInterval=${this.model.resetTimeInterval} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-line-chart-data>`;break;case a.Series:o=s`<arcgis-charts-config-line-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-line-chart-series>`;break;case a.Axes:o=s`<arcgis-charts-config-axes .model=${this.model} show-min-y-bound-option show-max-y-bound-option show-enable-x-log-option show-enable-y-log-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds}></arcgis-charts-config-axes>`;break;case a.Guides:o=s`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .enableXAxisGuide=${e} enable-y-axis-guide></arcgis-charts-config-guides>`;break;case a.Format:o=s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case a.General:o=s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:o="";break}return o}};c("arcgis-charts-config-line-chart",l);return l},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b)
3
+ v5.0.0-next.83 */
4
+ import{d as a}from"./7MAMXI6G.js";import{g as f}from"./3AYBTZOD.js";import b from"./LU5QJI5Y.js";import{j as t}from"./Q2NHUP6S.js";import"./C6GQWD6M.js";import"./3H2K4XBV.js";import{E as c,g as n,h as s,l as m,y as h}from"./RXFNBDM3.js";import"./WAI2KJVM.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{Ac:y,vc:d,xc:g,zc:p}])=>{var C=n`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends h{constructor(){super(...arguments),this.onModelConfigChange=async i=>{let e=i?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(e)},this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigNoSeriesUpdate=m()}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,timeZone:1,popoverPlacement:1,seriesColor:0,calculatedDataMinMaxBounds:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=C}async load(){this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model)}willUpdate(i){let e=!1;i.has("model")&&this.modelChange(this.model,i.get("model")),i.has("layer")&&this.layer!==void 0&&!t(i.get("layer"),this.layer)&&(e=!0),i.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==i.get("usePopupTemplateFieldsInfo")&&(e=!0),i.has("seriesColor")&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&(e=!0),e&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(i,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),i?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}seriesColorChange(i){this.activeColorMatch=i?.get(0)?.markerSymbol===void 0,this.model.colorMatch&&i?.forEach((e,o)=>{e&&i?.get(0)!==void 0&&("lineSymbol"in e&&(e.lineSymbol?.color!==void 0&&!t(this.model.getSeriesColor(o),e.lineSymbol.color)&&this.model.setSeriesColor(e.lineSymbol.color,o),e.lineSymbol?.style!==void 0&&!t(this.model.getSeriesLineStyle(o),e.lineSymbol.style)&&this.model.setSeriesLineStyle(e.lineSymbol.style,o),e.lineSymbol?.width!==void 0&&!t(this.model.getSeriesLineWidth(o),e.lineSymbol.width)&&this.model.setSeriesLineWidth(e.lineSymbol.width,o)),"markerSymbol"in e&&(e.markerSymbol?.color!==void 0&&!t(this.model.getSeriesMarkerColor(o),e.markerSymbol?.color)&&this.model.setSeriesMarkerColor(e.markerSymbol?.color,o),e.markerSymbol?.style!==void 0&&!t(this.model.getSeriesMarkerStyle(o),e.markerSymbol?.style)&&this.model.setSeriesMarkerStyle(e.markerSymbol?.style,o),e.markerSymbol?.size!==void 0&&this.model.getSeriesMarkerSize(o)!==e.markerSymbol?.size&&this.model.setSeriesMarkerSize(e.markerSymbol?.size,o)))})}async updateFetchLayerFieldsInfo(i){let e=i??this.model.config,o=this.layer;if(!o){let r=f(e)?e.iLayer:void 0;r&&(o=await d(r))}o&&(this.layerFieldsInfo=await g(o,this.usePopupTemplateFieldsInfo))}render(){let i=this.layerFieldsInfo?.find(r=>r.name===this.model.xAxisField),e=i!==void 0&&(p(i)||y(i)),o;switch(this.page){case a.Data:o=s`<arcgis-charts-config-line-chart-data .model=${this.model} .resetTimeInterval=${this.model.resetTimeInterval} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-line-chart-data>`;break;case a.Series:o=s`<arcgis-charts-config-line-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-line-chart-series>`;break;case a.Axes:o=s`<arcgis-charts-config-axes .model=${this.model} show-min-y-bound-option show-max-y-bound-option show-enable-x-log-option show-enable-y-log-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds}></arcgis-charts-config-axes>`;break;case a.Guides:o=s`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .enableXAxisGuide=${e} enable-y-axis-guide></arcgis-charts-config-guides>`;break;case a.Format:o=s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case a.General:o=s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:o="";break}return o}};c("arcgis-charts-config-line-chart",l);return l},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.82 */
4
- import"./RSU3B63O.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"K",_big_number_suffix_6:"Mio",_big_number_suffix_9:"Mrd",_big_number_suffix_12:"Bio",_big_number_suffix_15:"Brd",_big_number_suffix_18:"Trill",_big_number_suffix_21:"Trd",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd. MMM, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd. MMM, yyyy",_date_day:"dd. MMM",_date_day_full:"dd. MMM, yyyy",_date_week:"ww",_date_week_full:"dd. MMM, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"v. Chr.",_era_bc:"n. Chr.",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"Januar",February:"Februar",March:"M\xE4rz",April:"April",May:"Mai",June:"Juni",July:"Juli",August:"August",September:"September",October:"Oktober",November:"November",December:"Dezember",Jan:"Jan.",Feb:"Febr.",Mar:"M\xE4rz",Apr:"Apr.","May(short)":"Mai",Jun:"Juni",Jul:"Juli",Aug:"Aug.",Sep:"Sept.",Oct:"Okt.",Nov:"Nov.",Dec:"Dez.",Sunday:"Sonntag",Monday:"Montag",Tuesday:"Dienstag",Wednesday:"Mittwoch",Thursday:"Donnerstag",Friday:"Freitag",Saturday:"Samstag",Sun:"So.",Mon:"Mo.",Tue:"Di.",Wed:"Mi.",Thu:"Do.",Fri:"Fr.",Sat:"Sa.",_dateOrd:function(e){return e+"."},"Zoom Out":"Herauszoomen",Play:"Abspielen",Stop:"Stop",Legend:"Legende","Press ENTER to toggle":"Klicken, tippen oder ENTER dr\xFCcken zum Umschalten",Loading:"Wird geladen",Home:"Home",Chart:"Diagramm","Serial chart":"Seriendiagramm","X/Y chart":"X-Y-Diagramm","Pie chart":"Kreisdiagramm","Gauge chart":"Messdiagramm","Radar chart":"Netzdiagramm","Sankey diagram":"Sankey-Diagramm","Chord diagram":"","Flow diagram":"Flussdiagramm","TreeMap chart":"Baumdiagramm",Series:"Serie","Candlestick Series":"Kerzendiagramm","Column Series":"Balkendiagramm","Line Series":"Liniendiagramm","Pie Slice Series":"Kreisdiagramm","X/Y Series":"Punktdiagramm",Map:"Karte","Press ENTER to zoom in":"Dr\xFCcke ENTER zum Hereinzoomen","Press ENTER to zoom out":"Dr\xFCcke ENTER zum Herauszoomen","Use arrow keys to zoom in and out":"Benutze die Pfeiltasten zum Zoomen","Use plus and minus keys on your keyboard to zoom in and out":"Benutze Plus- und Minustasten zum Zoomen",Export:"Export",Image:"Bild",Data:"Daten",Print:"Drucken","Press ENTER to open":"Zum \xD6ffnen klicken, tippen oder ENTER dr\xFCcken","Press ENTER to print.":"Zum Drucken klicken, tippen oder ENTER dr\xFCcken.","Press ENTER to export as %1.":"Klicken, tippen oder ENTER dr\xFCcken um als %1 zu exportieren","(Press ESC to close this message)":"ESC dr\xFCcken um diese Nachricht zu schlie\xDFen","Image Export Complete":"Bildexport komplett","Export operation took longer than expected. Something might have gone wrong.":"Der Export dauert l\xE4nger als geplant. Vielleicht ist etwas schiefgelaufen.","Saved from":"Gespeichert von",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"TAB nutzen, um Ankerpunkte auszuw\xE4hlen oder linke und rechte Pfeiltaste um die Auswahl zu \xE4ndern","Use left and right arrows to move selection":"Linke und rechte Pfeiltaste nutzen um die Auswahl zu verschieben","Use left and right arrows to move left selection":"Linke und rechte Pfeiltaste nutzen um die linke Auswahl zu verschieben","Use left and right arrows to move right selection":"Linke und rechte Pfeiltaste nutzen um die rechte Auswahl zu verschieben","Use TAB select grip buttons or up and down arrows to change selection":"TAB nutzen, um Ankerpunkte auszuw\xE4hlen oder Pfeiltaste nach oben und unten dr\xFCcken, um die Auswahl zu \xE4ndern","Use up and down arrows to move selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die Auswahl zu verschieben","Use up and down arrows to move lower selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die untere Auswahl zu verschieben","Use up and down arrows to move upper selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die obere Auswahl zu verschieben","From %1 to %2":"Von %1 bis %2","From %1":"Von %1","To %1":"Bis %1","No parser available for file: %1":"Kein Parser f\xFCr Datei %1 verf\xFCgbar","Error parsing file: %1":"Fehler beim Parsen von Datei %1","Unable to load file: %1":"Datei %1 konnte nicht geladen werden","Invalid date":"Kein Datum",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.83 */
4
+ import"./WAI2KJVM.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"K",_big_number_suffix_6:"Mio",_big_number_suffix_9:"Mrd",_big_number_suffix_12:"Bio",_big_number_suffix_15:"Brd",_big_number_suffix_18:"Trill",_big_number_suffix_21:"Trd",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd. MMM, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd. MMM, yyyy",_date_day:"dd. MMM",_date_day_full:"dd. MMM, yyyy",_date_week:"ww",_date_week_full:"dd. MMM, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"v. Chr.",_era_bc:"n. Chr.",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"Januar",February:"Februar",March:"M\xE4rz",April:"April",May:"Mai",June:"Juni",July:"Juli",August:"August",September:"September",October:"Oktober",November:"November",December:"Dezember",Jan:"Jan.",Feb:"Febr.",Mar:"M\xE4rz",Apr:"Apr.","May(short)":"Mai",Jun:"Juni",Jul:"Juli",Aug:"Aug.",Sep:"Sept.",Oct:"Okt.",Nov:"Nov.",Dec:"Dez.",Sunday:"Sonntag",Monday:"Montag",Tuesday:"Dienstag",Wednesday:"Mittwoch",Thursday:"Donnerstag",Friday:"Freitag",Saturday:"Samstag",Sun:"So.",Mon:"Mo.",Tue:"Di.",Wed:"Mi.",Thu:"Do.",Fri:"Fr.",Sat:"Sa.",_dateOrd:function(e){return e+"."},"Zoom Out":"Herauszoomen",Play:"Abspielen",Stop:"Stop",Legend:"Legende","Press ENTER to toggle":"Klicken, tippen oder ENTER dr\xFCcken zum Umschalten",Loading:"Wird geladen",Home:"Home",Chart:"Diagramm","Serial chart":"Seriendiagramm","X/Y chart":"X-Y-Diagramm","Pie chart":"Kreisdiagramm","Gauge chart":"Messdiagramm","Radar chart":"Netzdiagramm","Sankey diagram":"Sankey-Diagramm","Chord diagram":"","Flow diagram":"Flussdiagramm","TreeMap chart":"Baumdiagramm",Series:"Serie","Candlestick Series":"Kerzendiagramm","Column Series":"Balkendiagramm","Line Series":"Liniendiagramm","Pie Slice Series":"Kreisdiagramm","X/Y Series":"Punktdiagramm",Map:"Karte","Press ENTER to zoom in":"Dr\xFCcke ENTER zum Hereinzoomen","Press ENTER to zoom out":"Dr\xFCcke ENTER zum Herauszoomen","Use arrow keys to zoom in and out":"Benutze die Pfeiltasten zum Zoomen","Use plus and minus keys on your keyboard to zoom in and out":"Benutze Plus- und Minustasten zum Zoomen",Export:"Export",Image:"Bild",Data:"Daten",Print:"Drucken","Press ENTER to open":"Zum \xD6ffnen klicken, tippen oder ENTER dr\xFCcken","Press ENTER to print.":"Zum Drucken klicken, tippen oder ENTER dr\xFCcken.","Press ENTER to export as %1.":"Klicken, tippen oder ENTER dr\xFCcken um als %1 zu exportieren","(Press ESC to close this message)":"ESC dr\xFCcken um diese Nachricht zu schlie\xDFen","Image Export Complete":"Bildexport komplett","Export operation took longer than expected. Something might have gone wrong.":"Der Export dauert l\xE4nger als geplant. Vielleicht ist etwas schiefgelaufen.","Saved from":"Gespeichert von",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"TAB nutzen, um Ankerpunkte auszuw\xE4hlen oder linke und rechte Pfeiltaste um die Auswahl zu \xE4ndern","Use left and right arrows to move selection":"Linke und rechte Pfeiltaste nutzen um die Auswahl zu verschieben","Use left and right arrows to move left selection":"Linke und rechte Pfeiltaste nutzen um die linke Auswahl zu verschieben","Use left and right arrows to move right selection":"Linke und rechte Pfeiltaste nutzen um die rechte Auswahl zu verschieben","Use TAB select grip buttons or up and down arrows to change selection":"TAB nutzen, um Ankerpunkte auszuw\xE4hlen oder Pfeiltaste nach oben und unten dr\xFCcken, um die Auswahl zu \xE4ndern","Use up and down arrows to move selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die Auswahl zu verschieben","Use up and down arrows to move lower selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die untere Auswahl zu verschieben","Use up and down arrows to move upper selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die obere Auswahl zu verschieben","From %1 to %2":"Von %1 bis %2","From %1":"Von %1","To %1":"Bis %1","No parser available for file: %1":"Kein Parser f\xFCr Datei %1 verf\xFCgbar","Error parsing file: %1":"Fehler beim Parsen von Datei %1","Unable to load file: %1":"Datei %1 konnte nicht geladen werden","Invalid date":"Kein Datum",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.82 */
4
- import c from"./N2P6UVWA.js";import{i as o,j as a}from"./J2MLQG3H.js";import b from"./R7DJ4T7Z.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{Y:m},{a:t,b:n,c:l,d:p}])=>{var L=(e,s)=>{if(o(s.series[e])||a(s.series[e]))return t(s.series[e])},q=(e,s,i)=>{(o(i.series[s])||a(i.series[s]))&&n(e,i.series[s])},C=(e,s)=>{if(o(s.series[e])||a(s.series[e]))return l(s.series[e])},E=(e,s,i)=>{(o(i.series[s])||a(i.series[s]))&&p(e,i.series[s])},G=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].markerSymbol?.color:void 0,H=(e,s,i)=>{if(o(i.series[s])||a(i.series[s])){let r=i.series[s];r.markerSymbol===void 0&&(r.markerSymbol=m()),r.markerSymbol.color=e}},J=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.markerSymbol?.style:void 0,K=(e,s,i)=>{if(o(i.series[s])||a(i.series[s])){let r=i.series[s];r.markerSymbol===void 0&&(r.markerSymbol=m()),r.markerSymbol.style=e}},P=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.markerSymbol?.size:void 0,Q=(e,s,i)=>{if(o(i.series[s])||a(i.series[s])){let r=i.series[s];r.markerSymbol===void 0&&(r.markerSymbol=m()),r.markerSymbol.size=e}},R=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.lineSmoothed??!1:!1,U=e=>{let{smoothed:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].lineSmoothed=s)},X=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].showArea??!1:!1,Y=e=>{let{visible:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].showArea=s)},Z=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].markerVisible??!0:!1,_=e=>{let{visible:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].markerVisible=s)},$=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].areaColor:void 0,D=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.connectLines:void 0,F=e=>{let{connect:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].connectLines=s)},M=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].stackNegativeValuesToBaseline??!0:!1,O=e=>{let{stackNegativeValuesToBaseline:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].stackNegativeValuesToBaseline=s)};return{a:L,b:q,c:C,d:E,e:G,f:H,g:J,h:K,i:P,j:Q,k:R,l:U,m:X,n:Y,o:Z,p:_,q:$,r:D,s:F,t:M,u:O}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b,c)
3
+ v5.0.0-next.83 */
4
+ import c from"./34AN32NU.js";import{i as o,j as a}from"./3AYBTZOD.js";import b from"./LU5QJI5Y.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{Y:m},{a:t,b:n,c:l,d:p}])=>{var L=(e,s)=>{if(o(s.series[e])||a(s.series[e]))return t(s.series[e])},q=(e,s,i)=>{(o(i.series[s])||a(i.series[s]))&&n(e,i.series[s])},C=(e,s)=>{if(o(s.series[e])||a(s.series[e]))return l(s.series[e])},E=(e,s,i)=>{(o(i.series[s])||a(i.series[s]))&&p(e,i.series[s])},G=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].markerSymbol?.color:void 0,H=(e,s,i)=>{if(o(i.series[s])||a(i.series[s])){let r=i.series[s];r.markerSymbol===void 0&&(r.markerSymbol=m()),r.markerSymbol.color=e}},J=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.markerSymbol?.style:void 0,K=(e,s,i)=>{if(o(i.series[s])||a(i.series[s])){let r=i.series[s];r.markerSymbol===void 0&&(r.markerSymbol=m()),r.markerSymbol.style=e}},P=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.markerSymbol?.size:void 0,Q=(e,s,i)=>{if(o(i.series[s])||a(i.series[s])){let r=i.series[s];r.markerSymbol===void 0&&(r.markerSymbol=m()),r.markerSymbol.size=e}},R=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.lineSmoothed??!1:!1,U=e=>{let{smoothed:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].lineSmoothed=s)},X=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].showArea??!1:!1,Y=e=>{let{visible:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].showArea=s)},Z=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].markerVisible??!0:!1,_=e=>{let{visible:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].markerVisible=s)},$=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].areaColor:void 0,D=(e,s)=>o(s.series[e])||a(s.series[e])?s.series?.[e]?.connectLines:void 0,F=e=>{let{connect:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].connectLines=s)},M=(e,s)=>o(s.series[e])||a(s.series[e])?s.series[e].stackNegativeValuesToBaseline??!0:!1,O=e=>{let{stackNegativeValuesToBaseline:s,seriesIndex:i,config:r}=e;(o(r.series[i])||a(r.series[i]))&&(r.series[i].stackNegativeValuesToBaseline=s)};return{a:L,b:q,c:C,d:E,e:G,f:H,g:J,h:K,i:P,j:Q,k:R,l:U,m:X,n:Y,o:Z,p:_,q:$,r:D,s:F,t:M,u:O}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.82 */
4
- import i from"./MC76T4GA.js";import h from"./N2P6UVWA.js";import g from"./OYOZQ6BX.js";import f from"./5C3MTDLG.js";import e from"./TCBHJHAO.js";import d from"./3SZ34ERT.js";import c from"./3IH2AAS4.js";import{i as o}from"./J2MLQG3H.js";import b from"./PEVK6U3L.js";import a from"./R7DJ4T7Z.js";import"./CFFOROJQ.js";import"./M3YOAXPV.js";import{b as x}from"./QXPCXM5M.js";import{a as B}from"./XKAQPTVD.js";import"./ZFGZYNJC.js";import"./RSU3B63O.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{B:a,C:h,E:n,Ga:c,H:M,ha:A,oa:O,vb:U,z:I},,{b:b,c:P,d:D},,{a:E,d:R,e:N},{a:V,b:W,c:z,d:T},k,{a:j,b:g,c:q,d:l},{A:C,B:F,C:ce,D:ge,a:X,b:m,c:Y,d:G,e:d,f:f,g:H,h:J,i:K,j:Q,k:Z,l:$,m:ee,n:p,o:te,p:se,q:ie,r:y,s:re,t:oe,u:ne,v:u,w:S,x:ae,y:he,z:_}])=>{var w=class extends E{constructor(){super(...arguments),this._chartType=B.BoxPlotSeries,this._category=n,this._splitByField="",this._numericFields=[]}async setup(e){await this.loadConfigFromLayer(e),this.setupLocalProps(),e.config!==void 0&&await this.updateSeriesFromLayerFilter(),typeof this.resolveSetup=="function"&&this.resolveSetup()}get category(){return this._category}set category(e){let t=e.trim()==="";this._category=t?n:e,this.dirtyAsyncSetters.push("category"),this.processSeriesRebuild()}get numericFields(){return this._numericFields}set numericFields(e){let{layerFieldsInfo:t}=this.layerInfo;typeof e=="string"&&(e=[e]),P(t,e)?(this._numericFields=e,this.dirtyAsyncSetters.push("numericFields"),ce(this._category,this._numericFields)&&(this._splitByField="",this.dirtyAsyncSetters.push("splitByField")),this.processSeriesRebuild()):console.log("Invalid numericFields")}get splitByField(){return this._splitByField}set splitByField(e){b(this.layerInfo.layerFieldsInfo,e)?(this._splitByField=e,this.dirtyAsyncSetters.push("splitByField"),this.processSeriesRebuild()):console.log("Invalid splitByField")}get showOutliers(){return re(this._config)}set showOutliers(e){this.guardSetterFromAsyncOverwrite(()=>{oe({newShowOutliers:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("showOutliers")})}get standardizeValues(){return te(this._config)}set standardizeValues(e){this.guardSetterFromAsyncOverwrite(()=>{ne({newStandardizeValues:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("standardizeValues")})}getSortOrder(){return u(this._config)}setSortOrder(e,t){this.guardSetterFromAsyncOverwrite(()=>{S(e,this._config,t),this.emitConfigUpdate("setSortOrder")})}async getCustomSortValues(){return await F(this._config,this.layerInfo)}async setDataFilters(e){super.setDataFilters(e);let t=u(this._config);if(t===x.customSort){let s=await F(this._config,this.layerInfo);S(t,this._config,s)}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setDataFilter")}get orderByList(){return _(this._config)}set orderByList(e){this.guardSetterFromAsyncOverwrite(()=>{C(e,this._config),this.emitConfigUpdate("orderByList")})}async updateSeriesFromLayerFilter(){this.dirtyAsyncSetters.push("updateSeriesFromLayerFilter"),await this.processSeriesRebuild()}get showMeanLines(){return ae(this._config)}set showMeanLines(e){this.guardSetterFromAsyncOverwrite(()=>{let{previousMeanLinesBoxColor:t}=he({newShowMeanLines:e,config:this._config,commonStrings:this.commonStrings,previousMeanLinesBoxColor:this.previousMeanLinesBoxColor});this.previousMeanLinesBoxColor=t,this.emitConfigUpdate("showMeanLines")})}get meanLinesBoxColor(){return G(this._config)}set meanLinesBoxColor(e){this.guardSetterFromAsyncOverwrite(()=>{d(e,this._config),this.emitConfigUpdate("meanLinesBoxColor")})}setupLocalProps(){this._category=Z(this._config),this._splitByField=$(this._config),this._numericFields=ee(this._config)}generateDefaultConfig(){let e=O(this.commonStrings);return e.series=[A(this.commonStrings)],e}resetConfig(){let e=this._config.id;this._config=this.generateDefaultConfig(),this._config.id=e,this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("resetConfig")}canUseSynchronousSeriesRebuild(){return!ge(this.category,this.numericFields,this.splitByField)}async processSeriesRebuild(){if(this.layerInfo!==void 0){let e=this.dirtyAsyncSetters[this.dirtyAsyncSetters.length-1];if(this.canUseSynchronousSeriesRebuild())this.dirtyAsyncSetters=[],p(this.getBuildNewSeriesProps());else if(!this.asyncConfigUpdateInProgress){for(this.asyncConfigUpdateInProgress=!0,this.setupFinished=new Promise(t=>{this.resolveSetup=t});this.dirtyAsyncSetters.length>0;)this.dirtyAsyncSetters=[],await p(this.getBuildNewSeriesProps());this.asyncConfigUpdateInProgress=!1,this.resolveSetup?.()}this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate(e)}}getBuildNewSeriesProps(){return{category:this.category,splitByField:this.splitByField,numericFields:this.numericFields,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}}getSeriesName(e){return X(e,this._config)}setSeriesName(e,t){this.guardSetterFromAsyncOverwrite(()=>{m(e,t,this._config),this.emitConfigUpdate("setSeriesName")})}getSeriesColor(e){return Y(e,this._config)}setSeriesColor(e,t){this.guardSetterFromAsyncOverwrite(()=>{f(e,t,this._config),this.emitConfigUpdate("setSeriesColor")})}getSeriesLineStyle(e){let t=this._config.series[e];if(this.showMeanLines===!0&&o(t))return j(t)}setSeriesLineStyle(e,t){this.guardSetterFromAsyncOverwrite(()=>{let s=this._config.series[t];this.showMeanLines===!0&&o(s)&&g(e,s),this.emitConfigUpdate("setSeriesLineStyle")})}getSeriesLineWidth(e){let t=this._config.series[e];if(this.showMeanLines===!0&&o(t))return q(t)}setSeriesLineWidth(e,t){this.guardSetterFromAsyncOverwrite(()=>{let s=this._config.series[t];this.showMeanLines===!0&&o(s)&&l(e,s),this.emitConfigUpdate("setSeriesLineWidth")})}get orderOfSeries(){return H(this._config)}set orderOfSeries(e){this.guardSetterFromAsyncOverwrite(()=>{J(e,this._config),this.emitConfigUpdate("orderOfSeries")})}moveSeries(e,t){this.guardSetterFromAsyncOverwrite(()=>{K(e,t,this._config),this.emitConfigUpdate("moveSeries")})}get boxPlotSeriesIndexWhenMeanLinesShown(){return Q(this._config)}moveCustomSortValuesInOrderByList(e,t){this.guardSetterFromAsyncOverwrite(()=>{let s=_(this._config),[i]=s.splice(e,1);s.splice(t,0,i),C(s,this._config),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")})}generateChartTitle(){return ie(this._config,this.layerInfo,this.commonStrings)}generateXAxisTitle(){return this._category!==n?U(this.layerInfo.layerFieldsInfo,this._category):""}generateYAxisTitle(){return se(this._config,this.layerInfo,this.commonStrings)}resetSeriesStyling(){this.guardSetterFromAsyncOverwrite(()=>{for(let e=this.showMeanLines===!0?1:0;e<this.seriesLength;e+=1){let t=this.getSeriesId(e),s=M({colorIndex:e,opacity:I}),i=this._config.series[e];f(s,e,this._config);let r=y({series:i,splitByField:this._splitByField,layerInfo:this.layerInfo,commonStrings:this.commonStrings});m(r??t,e,this._config),this.showMeanLines===!0&&o(i)&&(g(a,i),l(h,i))}this.showMeanLines===!0&&d(c,this._config),this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")})}resetAvailable(){let e=!this.colorMatch,t=this.showMeanLines===!0&&this.meanLinesBoxColor!==c,s=!1,i=!1;if(!e)for(let r=this.showMeanLines===!0?1:0;r<this.seriesLength;r+=1){let L=this._config.series[r],v=y({series:L,splitByField:this._splitByField,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),le=this.getSeriesName(r);if(v!==void 0&&v!==le){s=!0;break}if(this.showMeanLines===!0&&o(L)){let me=this.getSeriesLineStyle(r),de=this.getSeriesLineWidth(r);if(me!==a||de!==h){i=!0;break}}}return e||t||s||i}};D(w,[N,W,z,V,k,T,R]);return w},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,c,d,e,f,g,h,i)
3
+ v5.0.0-next.83 */
4
+ import i from"./XCLUSAT6.js";import h from"./34AN32NU.js";import g from"./4QWZUG2D.js";import f from"./WR47ECZL.js";import e from"./B2OY4O7O.js";import d from"./S46IKAMB.js";import c from"./RXYMGSEU.js";import{i as o}from"./3AYBTZOD.js";import b from"./QA5VE3Y4.js";import a from"./LU5QJI5Y.js";import"./Q2NHUP6S.js";import"./C6GQWD6M.js";import{b as x}from"./Q55S6C77.js";import{a as B}from"./3H2K4XBV.js";import"./RXFNBDM3.js";import"./WAI2KJVM.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{B:a,C:h,E:n,Ga:c,H:M,ha:A,oa:O,vb:U,z:I},,{b:b,c:P,d:D},,{a:E,d:R,e:N},{a:V,b:W,c:z,d:T},k,{a:j,b:g,c:q,d:l},{A:C,B:F,C:ce,D:ge,a:X,b:m,c:Y,d:G,e:d,f:f,g:H,h:J,i:K,j:Q,k:Z,l:$,m:ee,n:p,o:te,p:se,q:ie,r:y,s:re,t:oe,u:ne,v:u,w:S,x:ae,y:he,z:_}])=>{var w=class extends E{constructor(){super(...arguments),this._chartType=B.BoxPlotSeries,this._category=n,this._splitByField="",this._numericFields=[]}async setup(e){await this.loadConfigFromLayer(e),this.setupLocalProps(),e.config!==void 0&&await this.updateSeriesFromLayerFilter(),typeof this.resolveSetup=="function"&&this.resolveSetup()}get category(){return this._category}set category(e){let t=e.trim()==="";this._category=t?n:e,this.dirtyAsyncSetters.push("category"),this.processSeriesRebuild()}get numericFields(){return this._numericFields}set numericFields(e){let{layerFieldsInfo:t}=this.layerInfo;typeof e=="string"&&(e=[e]),P(t,e)?(this._numericFields=e,this.dirtyAsyncSetters.push("numericFields"),ce(this._category,this._numericFields)&&(this._splitByField="",this.dirtyAsyncSetters.push("splitByField")),this.processSeriesRebuild()):console.log("Invalid numericFields")}get splitByField(){return this._splitByField}set splitByField(e){b(this.layerInfo.layerFieldsInfo,e)?(this._splitByField=e,this.dirtyAsyncSetters.push("splitByField"),this.processSeriesRebuild()):console.log("Invalid splitByField")}get showOutliers(){return re(this._config)}set showOutliers(e){this.guardSetterFromAsyncOverwrite(()=>{oe({newShowOutliers:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("showOutliers")})}get standardizeValues(){return te(this._config)}set standardizeValues(e){this.guardSetterFromAsyncOverwrite(()=>{ne({newStandardizeValues:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("standardizeValues")})}getSortOrder(){return u(this._config)}setSortOrder(e,t){this.guardSetterFromAsyncOverwrite(()=>{S(e,this._config,t),this.emitConfigUpdate("setSortOrder")})}async getCustomSortValues(){return await F(this._config,this.layerInfo)}async setDataFilters(e){super.setDataFilters(e);let t=u(this._config);if(t===x.customSort){let s=await F(this._config,this.layerInfo);S(t,this._config,s)}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setDataFilter")}get orderByList(){return _(this._config)}set orderByList(e){this.guardSetterFromAsyncOverwrite(()=>{C(e,this._config),this.emitConfigUpdate("orderByList")})}async updateSeriesFromLayerFilter(){this.dirtyAsyncSetters.push("updateSeriesFromLayerFilter"),await this.processSeriesRebuild()}get showMeanLines(){return ae(this._config)}set showMeanLines(e){this.guardSetterFromAsyncOverwrite(()=>{let{previousMeanLinesBoxColor:t}=he({newShowMeanLines:e,config:this._config,commonStrings:this.commonStrings,previousMeanLinesBoxColor:this.previousMeanLinesBoxColor});this.previousMeanLinesBoxColor=t,this.emitConfigUpdate("showMeanLines")})}get meanLinesBoxColor(){return G(this._config)}set meanLinesBoxColor(e){this.guardSetterFromAsyncOverwrite(()=>{d(e,this._config),this.emitConfigUpdate("meanLinesBoxColor")})}setupLocalProps(){this._category=Z(this._config),this._splitByField=$(this._config),this._numericFields=ee(this._config)}generateDefaultConfig(){let e=O(this.commonStrings);return e.series=[A(this.commonStrings)],e}resetConfig(){let e=this._config.id;this._config=this.generateDefaultConfig(),this._config.id=e,this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("resetConfig")}canUseSynchronousSeriesRebuild(){return!ge(this.category,this.numericFields,this.splitByField)}async processSeriesRebuild(){if(this.layerInfo!==void 0){let e=this.dirtyAsyncSetters[this.dirtyAsyncSetters.length-1];if(this.canUseSynchronousSeriesRebuild())this.dirtyAsyncSetters=[],p(this.getBuildNewSeriesProps());else if(!this.asyncConfigUpdateInProgress){for(this.asyncConfigUpdateInProgress=!0,this.setupFinished=new Promise(t=>{this.resolveSetup=t});this.dirtyAsyncSetters.length>0;)this.dirtyAsyncSetters=[],await p(this.getBuildNewSeriesProps());this.asyncConfigUpdateInProgress=!1,this.resolveSetup?.()}this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate(e)}}getBuildNewSeriesProps(){return{category:this.category,splitByField:this.splitByField,numericFields:this.numericFields,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}}getSeriesName(e){return X(e,this._config)}setSeriesName(e,t){this.guardSetterFromAsyncOverwrite(()=>{m(e,t,this._config),this.emitConfigUpdate("setSeriesName")})}getSeriesColor(e){return Y(e,this._config)}setSeriesColor(e,t){this.guardSetterFromAsyncOverwrite(()=>{f(e,t,this._config),this.emitConfigUpdate("setSeriesColor")})}getSeriesLineStyle(e){let t=this._config.series[e];if(this.showMeanLines===!0&&o(t))return j(t)}setSeriesLineStyle(e,t){this.guardSetterFromAsyncOverwrite(()=>{let s=this._config.series[t];this.showMeanLines===!0&&o(s)&&g(e,s),this.emitConfigUpdate("setSeriesLineStyle")})}getSeriesLineWidth(e){let t=this._config.series[e];if(this.showMeanLines===!0&&o(t))return q(t)}setSeriesLineWidth(e,t){this.guardSetterFromAsyncOverwrite(()=>{let s=this._config.series[t];this.showMeanLines===!0&&o(s)&&l(e,s),this.emitConfigUpdate("setSeriesLineWidth")})}get orderOfSeries(){return H(this._config)}set orderOfSeries(e){this.guardSetterFromAsyncOverwrite(()=>{J(e,this._config),this.emitConfigUpdate("orderOfSeries")})}moveSeries(e,t){this.guardSetterFromAsyncOverwrite(()=>{K(e,t,this._config),this.emitConfigUpdate("moveSeries")})}get boxPlotSeriesIndexWhenMeanLinesShown(){return Q(this._config)}moveCustomSortValuesInOrderByList(e,t){this.guardSetterFromAsyncOverwrite(()=>{let s=_(this._config),[i]=s.splice(e,1);s.splice(t,0,i),C(s,this._config),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")})}generateChartTitle(){return ie(this._config,this.layerInfo,this.commonStrings)}generateXAxisTitle(){return this._category!==n?U(this.layerInfo.layerFieldsInfo,this._category):""}generateYAxisTitle(){return se(this._config,this.layerInfo,this.commonStrings)}resetSeriesStyling(){this.guardSetterFromAsyncOverwrite(()=>{for(let e=this.showMeanLines===!0?1:0;e<this.seriesLength;e+=1){let t=this.getSeriesId(e),s=M({colorIndex:e,opacity:I}),i=this._config.series[e];f(s,e,this._config);let r=y({series:i,splitByField:this._splitByField,layerInfo:this.layerInfo,commonStrings:this.commonStrings});m(r??t,e,this._config),this.showMeanLines===!0&&o(i)&&(g(a,i),l(h,i))}this.showMeanLines===!0&&d(c,this._config),this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")})}resetAvailable(){let e=!this.colorMatch,t=this.showMeanLines===!0&&this.meanLinesBoxColor!==c,s=!1,i=!1;if(!e)for(let r=this.showMeanLines===!0?1:0;r<this.seriesLength;r+=1){let L=this._config.series[r],v=y({series:L,splitByField:this._splitByField,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),le=this.getSeriesName(r);if(v!==void 0&&v!==le){s=!0;break}if(this.showMeanLines===!0&&o(L)){let me=this.getSeriesLineStyle(r),de=this.getSeriesLineWidth(r);if(me!==a||de!==h){i=!0;break}}}return e||t||s||i}};D(w,[N,W,z,V,k,T,R]);return w},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,c,d,e,f,g,h,i)
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.82 */
3
+ v5.0.0-next.83 */
4
4
  var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gt=Symbol(),Rt=new WeakMap,k=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==gt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Rt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Rt.set(e,t))}return t}toString(){return this.cssText}},Mt=o=>new k(typeof o=="string"?o:o+"",void 0,gt),me=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1]),o[0]);return new k(e,o,gt)},It=(o,t)=>{if(Z)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),r=Y.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},vt=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Mt(e)})(o):o;var{is:ye,defineProperty:ge,getOwnPropertyDescriptor:ve,getOwnPropertyNames:Ee,getOwnPropertySymbols:$e,getPrototypeOf:be}=Object,tt=globalThis,kt=tt.trustedTypes,_e=kt?kt.emptyScript:"",Ae=tt.reactiveElementPolyfillSupport,j=(o,t)=>o,X={toAttribute(o,t){switch(t){case Boolean:o=o?_e:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},H=(o,t)=>!ye(o,t),jt={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:H};Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;var _=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=jt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&ge(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=ve(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??jt}static _$Ei(){if(this.hasOwnProperty(j("elementProperties")))return;let t=be(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(j("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(j("properties"))){let e=this.properties,s=[...Ee(e),...$e(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(vt(r))}else t!==void 0&&e.push(vt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return It(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:X).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:X;this._$Em=r,this[r]=n.fromAttribute(e,i.type)??this._$Ej?.get(r)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??H)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[j("elementProperties")]=new Map,_[j("finalized")]=new Map,Ae?.({ReactiveElement:_}),(tt.reactiveElementVersions??=[]).push("2.1.0");var $t=globalThis,et=$t.trustedTypes,Ht=et?et.createPolicy("lit-html",{createHTML:o=>o}):void 0,bt="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,_t="?"+A,Ce=`<${_t}>`,T=document,z=()=>T.createComment(""),B=o=>o===null||typeof o!="object"&&typeof o!="function",At=Array.isArray,qt=o=>At(o)||typeof o?.[Symbol.iterator]=="function",Et=`[
5
5
  \f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,zt=/>/g,w=RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
6
6
  \f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,Wt=/"/g,Gt=/^(?:script|style|textarea|title)$/i,Ct=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),as=Ct(1),cs=Ct(2),ls=Ct(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Ft=new WeakMap,O=T.createTreeWalker(T,129);function Kt(o,t){if(!At(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ht!==void 0?Ht.createHTML(t):t}var Qt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=V;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===V?u[1]==="!--"?n=Vt:u[1]!==void 0?n=zt:u[2]!==void 0?(Gt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=r??V,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?w:u[3]==='"'?Wt:Bt):n===Wt||n===Bt?n=w:n===Vt||n===zt?n=V:(n=w,r=void 0);let g=n===w&&o[a+1].startsWith("/>")?" ":"";i+=n===V?c+Ce:h>=0?(s.push(l),c.slice(0,h)+bt+c.slice(h)+A+g):c+A+(h===-2?a:g)}return[Kt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},W=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Qt(t,e);if(this.el=o.createElement(l,s),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(bt)){let y=u[n++],g=r.getAttribute(h).split(A),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?ot:C[1]==="?"?rt:C[1]==="@"?it:P}),r.removeAttribute(h)}else h.startsWith(A)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Gt.test(r.tagName)){let h=r.textContent.split(A),y=h.length-1;if(y>0){r.textContent=et?et.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],z()),O.nextNode(),c.push({type:2,index:++i});r.append(h[y],z())}}}else if(r.nodeType===8)if(r.data===_t)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(A,h+1))!==-1;)c.push({type:7,index:i}),h+=A.length-1}i++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=B(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=S(o,r._$AS(o,t.values),r,s)),t}var st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let i=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new U(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new nt(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=O.nextNode(),n++)}return O.currentNode=T,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},U=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),B(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=W.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new st(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=Ft.get(t.strings);return e===void 0&&Ft.set(t.strings,e=new W(t)),e}k(t){At(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=S(this,t,e,0),n=!B(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=S(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!B(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},rt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},it=class extends P{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Jt={M:bt,P:A,A:_t,C:1,L:Qt,R:st,D:qt,V:S,I:U,H:P,N:rt,U:it,B:ot,F:nt},we=$t.litHtmlPolyfillSupport;we?.(W,U),($t.litHtmlVersions??=[]).push("3.3.0");var at=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new U(t.insertBefore(z(),i),i,void 0,e??{})}return r._$AI(o),r};var wt=globalThis,$=class extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=at(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};$._$litElement$=!0,$.finalized=!0,wt.litElementHydrateSupport?.({LitElement:$});var Oe=wt.litElementPolyfillSupport;Oe?.({LitElement:$});(wt.litElementVersions??=[]).push("4.2.0");var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},F=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var G=Symbol.for("controller"),Te=o=>typeof o=="object"&&o!==null&&(G in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),As=o=>typeof o?.then=="function";var q,x=o=>{q!==o&&(q=o,queueMicrotask(()=>q===o?q=void 0:0))},K=o=>q,N=[],Yt=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},Zt=()=>N,R,Cs=o=>{R!==o&&(R=o,queueMicrotask(()=>R===o?R=void 0:0))},Se=()=>{let o=R;return R=void 0,o},Xt=async(o,t)=>{let e=lt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},te=async o=>{let t=lt(o);return await t.ready,t},lt=o=>{let e=K().manager.X(o);if(e!==void 0)return e;if(Te(o))return o;let s=Se();if(s!==void 0)return s},ct=!1,ws=o=>{ct=!0;try{return o()}finally{ct=!1}};var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},ee=(o,t)=>{let e=t>Pe?Ne:t/xe,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},Pe=4e3,Ne=2e3,xe=4;var De=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(I),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,I=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},Le=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},Ue=(o=[K(),...Zt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>De(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){Le(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Re=(o="",t={},e=K())=>{let s={emit:r=>{o===""&&I();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&Ue(void 0,r=>o=r.key,s),s},Me=Re.bind(null,""),re;re=G;var Ot=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#r=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[re]=!0,this.#a=[];let e=this,s=t??K(new.target.name);e.#i=s,e.ready=e.P.promise,e.#n=oe(e),e.component=s,e.#i.addController(e),e.#i.manager===void 0||(Yt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#r;#c;#l;#p;#h;#d;#i;catchUpLifecycle(){let{manager:t}=this.#i;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#i.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?oe(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return x(this.#i),Xt}get useRef(){return x(this.#i),te}get useRefSync(){return x(this.#i),lt}controllerRemoved(){this.#i.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#i.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await F(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(F)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#o.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(se,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(se,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){x(this.#i);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function se(o){p(o,void 0,this)}var ie=Ot,oe=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var{I:Ie}=Jt;var ht=o=>o.strings===void 0,ne=()=>document.createComment(""),Rs=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(ne(),r),n=s.insertBefore(ne(),r);e=new Ie(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},Ms=(o,t,e=o)=>(o._$AI(t,e),o),ke={},ae=(o,t=ke)=>o._$AH=t,Is=o=>o._$AH,ks=o=>{o._$AP?.(!1,!0);let t=o._$AA,e=o._$AB.nextSibling;for(;t!==e;){let s=t.nextSibling;t.remove(),t=s}};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var Q=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),Q(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},ce=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Ve(t)}};function je(o){this._$AN!==void 0?(dt(this),this._$AM=o,ce(this)):this._$AM=o}function He(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)Q(s[i],!1),dt(s[i]);else s!=null&&(Q(s,!1),dt(s));else Q(this,o)}var Ve=o=>{o.type==m.CHILD&&(o._$AP??=He,o._$AQ??=je)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),ce(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(Q(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var Ks=()=>new St,St=class{},Tt=new WeakMap,Pt=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Tt.get(t);e===void 0&&(e=new WeakMap,Tt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Tt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ut=o=>o.replace(Be,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Be=/[A-Z]+(?![a-z])|[A-Z]/gu;var ao="randomUUID"in crypto;var xt=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Dt={};function Lt(){}var We=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(";"),g=u?u?.split(",").map(Fe):void 0,C=g?.map(([L])=>L),D=class extends Nt{static{this.observedAttributes=g?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=C}static{this.E=h?h?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},ft=Object.defineProperty,Fe=o=>{let t=o.split(":");return t.length===1?[t[0],ut(t[0])]:t},qe=globalThis.HTMLElement??Lt,Nt=class extends qe{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])ft(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])ft(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])ft(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=xt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Ke(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(Ge,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Ge([o,t]){this[o]=t}var Ke=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},ft(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var mt=class extends ie{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=yt in t&&typeof t.destroy=="function",$.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${yt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),I();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=ee(t,Qe)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},Qe=1e3,yt="autoDestroyDisabled";var he=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter((t=>o[t])).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter((s=>s!==""))));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var de="important",Je=" !"+de,pe=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce(((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Je);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?de:""):e[s]=r}}return f}});var Ye=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ae(o),t}});var ue=class o extends ${constructor(){super(),this.M=[],this.manager=new mt(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#o=s?.H??new b,t.I=s?.I??new b,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Lt,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Dt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??H,n={attribute:s&1&&typeof t=="string"?ut(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#o;#r;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===Dt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??xt(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(F(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(yt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(G in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var fe=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var gr=o=>typeof o=="object"&&o!=null?he(o):o,vr=o=>typeof o=="object"&&o!=null?pe(o):o;var Ut=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Pt(this.#e)):Pt(t)}},Er=E(Ut);var $r=d;var br=o=>{let t=document.createElement("div");return at(o,t),t.firstElementChild};var J=fe({defaultAssetPath:"https://jsdev.arcgis.com/5.0.0-next/charts-components/",hydratedAttribute:"hydrated"}),{customElement:Or,getAssetPath:Tr,setAssetPath:Sr}=J;J.t=void 0;J.o=void 0;J.c=void 0;J.r=void 0;export{As as a,x as b,Yt as c,Zt as d,Cs as e,ws as f,me as g,as as h,f as i,d as j,Ue as k,Me as l,Ot as m,We as n,m as o,E as p,v as q,Rs as r,Ms as s,ae as t,Is as u,ks as v,Ks as w,Pt as x,ue as y,gr as z,vr as A,$r as B,br as C,J as D,Or as E,Tr as F};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.82 */
4
- import b from"./3SZ34ERT.js";import{g as q}from"./J2MLQG3H.js";import a from"./R7DJ4T7Z.js";import{f as v}from"./CFFOROJQ.js";import{w as B}from"./XKAQPTVD.js";export default $arcgis.t(([,,,,,{Jc:N,Ob:S,Qc:V,Rc:E,Tc:T,Uc:M,Vc:P,k:b,mc:w,nb:f,oc:F,pc:x,pd:$,qd:Q,rc:A,tc:O,x:C,zc:j},k])=>{function re(n,t){let e;return t!==void 0&&(e={...t},e.legend!==void 0&&(e.legend.position=n)),e}function se(n,t){let e;return t!==void 0&&(e={...t},e.legend!==void 0&&(e.legend.visible=n)),e}function oe(n,t){let e;return t!==void 0&&(e={...t,rotated:n}),e}function ae(n){let t;return n!==void 0&&(t={...n},delete t.axes?.[0]?.minimum,delete t.axes?.[0]?.maximum,delete t.axes?.[1]?.minimum,delete t.axes?.[1]?.maximum),t}function ue(n,t){return t!=null||q(n)}async function W(n){let{queryObject:t,chartConfig:e,options:o,splitByField:r}=n,i=[],u,s=v(e),l=s.series[0],c=N({queryObject:t,chartConfig:s,runtimeDataFilters:o?.runtimeDataFilters,ignoreViewExtent:o?.ignoreViewExtent});if(c.outStatistics?.[0]?.outStatisticFieldName&&(c.outStatistics[0].outStatisticFieldName=C.outStatistics.outStatisticFieldName),P(l)&&M({xAxisValueFormatType:b(s),setTimeBinningInfoWhenNotProvided:o?.setTimeBinningInfoWhenNotProvided,seriesConfig:l})&&w(t)){let{temporalBinning:a,x:d}=l,{uniqueQuery:h}=await S({chartConfig:s,queryConfig:c,queryObject:t,options:o});u=await O({queryObject:t,dateField:d,splitByField:r,queryConfig:h,temporalBinning:a}),i=Array.from(new Set(u.flatMap(y=>{let{stackedAttributes:m}=y,g=[];return m&&(g=m.map(p=>p[r]).filter(p=>p!==void 0)),g})).values())}else{let{uniqueQuery:a}=await S({chartConfig:s,queryObject:t,queryConfig:c,options:o});u=await A({queryObject:t,queryConfig:a,featureCount:1}),i=Array.from(new Set(u.map(d=>d.attributes[r]).filter(d=>d!==void 0)).values())}return{allValues:i,preFetchedQueryResponse:u}}function J(n,t){let e=new Map;return n.series.forEach(o=>{let r=E({where:o.query?.where,normalize:!0,escape:!1});t&&r!==null&&(r=Number(r));let i=B([o]);i!==void 0&&e.set(i,[...e.get(i)??[],r])}),e}function I(n){let{allValues:t,configUniqueValuesPerSeriesType:e,initialConfigWasEmpty:o}=n,r=new Map;return Array.from(e.keys()).forEach(i=>{let u=e.get(i)??[],s=[];o?s=t:t.forEach(l=>{u.includes(l)||s.push(l)}),r.set(i,s)}),r}function L(n){let{chartConfig:t,missingValue:e,splitByField:o,seriesTemplate:r}=n,i=JSON.parse(JSON.stringify({...t.series[0],...r}));if(i.query){if(i.id=`${e}-${t.series.length}-${Date.now()}`,i.name=`${e}`,i.query.outStatistics?.[0]!==void 0){let s=i.id;i.query.outStatistics[0].outStatisticFieldName=s,"y"in i&&(i.y=s)}let u=typeof e=="number"||e===null?e:`'${e}'`;i.query.where=`${o}=${u}`}return i}async function U(n){let{updateSplitBySeries:t,config:e,options:o,queryObject:r}=n,{seriesTemplate:i}=t??{},u;if(t!==void 0&&e!==void 0&&(e.series.length>0||i!==void 0)&&t.addMissingSeries){let s=e.series.length===0;e.series.length===0&&i!==void 0&&e.series.push(i);let l=T(e.series);if((l===f.BoxPlotMonoFieldAndSplitBy||l===f.BoxPlotMultiFieldsAndSplitBy||l===f.BoxPlotMonoFieldAndCategoryAndSplitBy||l===f.BarAndLineSplitBy||l===f.BarAndLineSplitByNoAggregation)&&r!==void 0){let c=V(e.series[0]?.query?.where),a=F(r);await a.load();let d=a.getField(c)?.toJSON(),h=j(d),y=await W({queryObject:r,chartConfig:e,splitByField:c,options:o}),{allValues:m}=y;if({preFetchedQueryResponse:u}=y,m.length>0){let g=J(e,h),p=I({allValues:m,configUniqueValuesPerSeriesType:g,initialConfigWasEmpty:s});Array.from(p.keys()).forEach(D=>{(p.get(D)??[]).forEach(R=>{e.series.push(L({chartConfig:e,seriesTemplate:i,missingValue:R,splitByField:c}))}),s&&e.series.shift()})}}}return u}function z(n,t){t&&!q(t)&&(t=x({chartConfig:t,queryObject:n}))}async function le(n){let{configToAlter:t,layer:e,addMissingSeries:o,updateSplitBySeries:r,chartContainer:i,creation:u,queryObject:s,options:l,previousConfig:c}=n,a=t,d;return z(e,a),a=await k(a,e),o&&(d=await U({updateSplitBySeries:r,config:a,options:l,queryObject:s})),(u||c&&$(c,a))&&(a=Q(a,i)),{alteredConfig:a,preFetchedQueryResponse:d}}return{a:re,b:se,c:oe,d:ae,e:ue,f:le}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent",a,b)
3
+ v5.0.0-next.83 */
4
+ import b from"./S46IKAMB.js";import{g as q}from"./3AYBTZOD.js";import a from"./LU5QJI5Y.js";import{f as v}from"./Q2NHUP6S.js";import{w as B}from"./3H2K4XBV.js";export default $arcgis.t(([,,,,,{Jc:N,Ob:S,Qc:V,Rc:E,Tc:T,Uc:M,Vc:P,k:b,mc:w,nb:f,oc:F,pc:x,pd:$,qd:Q,rc:A,tc:O,x:C,zc:j},k])=>{function re(n,t){let e;return t!==void 0&&(e={...t},e.legend!==void 0&&(e.legend.position=n)),e}function se(n,t){let e;return t!==void 0&&(e={...t},e.legend!==void 0&&(e.legend.visible=n)),e}function oe(n,t){let e;return t!==void 0&&(e={...t,rotated:n}),e}function ae(n){let t;return n!==void 0&&(t={...n},delete t.axes?.[0]?.minimum,delete t.axes?.[0]?.maximum,delete t.axes?.[1]?.minimum,delete t.axes?.[1]?.maximum),t}function ue(n,t){return t!=null||q(n)}async function W(n){let{queryObject:t,chartConfig:e,options:o,splitByField:r}=n,i=[],u,s=v(e),l=s.series[0],c=N({queryObject:t,chartConfig:s,runtimeDataFilters:o?.runtimeDataFilters,ignoreViewExtent:o?.ignoreViewExtent});if(c.outStatistics?.[0]?.outStatisticFieldName&&(c.outStatistics[0].outStatisticFieldName=C.outStatistics.outStatisticFieldName),P(l)&&M({xAxisValueFormatType:b(s),setTimeBinningInfoWhenNotProvided:o?.setTimeBinningInfoWhenNotProvided,seriesConfig:l})&&w(t)){let{temporalBinning:a,x:d}=l,{uniqueQuery:h}=await S({chartConfig:s,queryConfig:c,queryObject:t,options:o});u=await O({queryObject:t,dateField:d,splitByField:r,queryConfig:h,temporalBinning:a}),i=Array.from(new Set(u.flatMap(y=>{let{stackedAttributes:m}=y,g=[];return m&&(g=m.map(p=>p[r]).filter(p=>p!==void 0)),g})).values())}else{let{uniqueQuery:a}=await S({chartConfig:s,queryObject:t,queryConfig:c,options:o});u=await A({queryObject:t,queryConfig:a,featureCount:1}),i=Array.from(new Set(u.map(d=>d.attributes[r]).filter(d=>d!==void 0)).values())}return{allValues:i,preFetchedQueryResponse:u}}function J(n,t){let e=new Map;return n.series.forEach(o=>{let r=E({where:o.query?.where,normalize:!0,escape:!1});t&&r!==null&&(r=Number(r));let i=B([o]);i!==void 0&&e.set(i,[...e.get(i)??[],r])}),e}function I(n){let{allValues:t,configUniqueValuesPerSeriesType:e,initialConfigWasEmpty:o}=n,r=new Map;return Array.from(e.keys()).forEach(i=>{let u=e.get(i)??[],s=[];o?s=t:t.forEach(l=>{u.includes(l)||s.push(l)}),r.set(i,s)}),r}function L(n){let{chartConfig:t,missingValue:e,splitByField:o,seriesTemplate:r}=n,i=JSON.parse(JSON.stringify({...t.series[0],...r}));if(i.query){if(i.id=`${e}-${t.series.length}-${Date.now()}`,i.name=`${e}`,i.query.outStatistics?.[0]!==void 0){let s=i.id;i.query.outStatistics[0].outStatisticFieldName=s,"y"in i&&(i.y=s)}let u=typeof e=="number"||e===null?e:`'${e}'`;i.query.where=`${o}=${u}`}return i}async function U(n){let{updateSplitBySeries:t,config:e,options:o,queryObject:r}=n,{seriesTemplate:i}=t??{},u;if(t!==void 0&&e!==void 0&&(e.series.length>0||i!==void 0)&&t.addMissingSeries){let s=e.series.length===0;e.series.length===0&&i!==void 0&&e.series.push(i);let l=T(e.series);if((l===f.BoxPlotMonoFieldAndSplitBy||l===f.BoxPlotMultiFieldsAndSplitBy||l===f.BoxPlotMonoFieldAndCategoryAndSplitBy||l===f.BarAndLineSplitBy||l===f.BarAndLineSplitByNoAggregation)&&r!==void 0){let c=V(e.series[0]?.query?.where),a=F(r);await a.load();let d=a.getField(c)?.toJSON(),h=j(d),y=await W({queryObject:r,chartConfig:e,splitByField:c,options:o}),{allValues:m}=y;if({preFetchedQueryResponse:u}=y,m.length>0){let g=J(e,h),p=I({allValues:m,configUniqueValuesPerSeriesType:g,initialConfigWasEmpty:s});Array.from(p.keys()).forEach(D=>{(p.get(D)??[]).forEach(R=>{e.series.push(L({chartConfig:e,seriesTemplate:i,missingValue:R,splitByField:c}))}),s&&e.series.shift()})}}}return u}function z(n,t){t&&!q(t)&&(t=x({chartConfig:t,queryObject:n}))}async function le(n){let{configToAlter:t,layer:e,addMissingSeries:o,updateSplitBySeries:r,chartContainer:i,creation:u,queryObject:s,options:l,previousConfig:c}=n,a=t,d;return z(e,a),a=await k(a,e),o&&(d=await U({updateSplitBySeries:r,config:a,options:l,queryObject:s})),(u||c&&$(c,a))&&(a=Q(a,i)),{alteredConfig:a,preFetchedQueryResponse:d}}return{a:re,b:se,c:oe,d:ae,e:ue,f:le}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent",a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.82 */
4
- import{i as S,j as I,k as A,l as Le,m as qe,o as Ne}from"./J2MLQG3H.js";import b from"./PEVK6U3L.js";import a from"./R7DJ4T7Z.js";import{d as ee,f as D,i as ce,q as ie,w as fe}from"./CFFOROJQ.js";import{a as k}from"./QXPCXM5M.js";import{a as w,b as h,f as ge,h as $,k as z,n as U,o as de,v as j,w as ye}from"./XKAQPTVD.js";export default $arcgis.t(([,,,,,,,{substitute:C},,,,,,,,{Bc:ae,Cc:he,Dc:Ae,Ec:R,Ed:W,Fc:G,Fd:oe,Hb:Te,L:B,N:L,O:me,P:_,Q:ue,R:xe,Rc:K,Sc:Be,Tc:H,Vc:q,ba:pe,da:Fe,e:E,ea:be,ga:ve,nb:X,sb:Se,uc:se,vb:N,w:v,za:te,zb:Ie},{c:V,d:Z,f:ne}])=>{async function _e(i){let{config:e,layer:t,xAxisField:s,splitByField:a,layerFieldsInfo:o,aggregationFields:n,fetchNullValues:l}=i,r=o.filter(F=>F.name===a)[0]?.type,m=l!==!0?`${a} IS NOT NULL`:"",x=s&&l!==!0?`${s} IS NOT NULL`:"",{where:c}=e?.dataFilters??{},p={where:se([c,m,x]),orderByFields:Ie(a)?[]:[`${a} ${$.Ascending}`],geometry:e?.dataFilters?.geometry},u=t,d="";n.length===0?d=u?.objectIdField??"":[d]=n;let y=await oe({queryObject:u,category:e?.series[0].x??"",splitByField:a,queryConfig:p});if(e){let F=e?.series.map(f=>K({where:f.query?.where})?.toString()??"").filter(f=>f!==void 0&&f!=="");y=Te({arrayA:y,arrayB:F,getKey:f=>f===null?null:f?.toString()})}return{categoriesArray:y,splitByFieldType:r,numericalField:d}}function ji(i,e){let t=e==="";for(let s of i)if(e===s.name){t=!0;break}return t}function Vi(i,e){let t=Ae(i),s=e.length===0,a=0;for(let o of e){for(let n of t)if(o===n&&(a+=1),a===e.length){s=!0;break}if(s)break}return s}function Di(i,e){e.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(s=>{Object.defineProperty(i.prototype,s,Object.getOwnPropertyDescriptor(t.prototype,s)||Object.create(null))})})}async function Re(i){let{layerInfo:e,config:t,category:s}=i,{layer:a}=e,{where:o}=t?.dataFilters??{},{fetchNullValues:n}=t?.series?.[0]?.query??{},l=n!==!0?`${s} IS NOT NULL`:"",r={where:se([o,l]),orderByFields:[],geometry:t?.dataFilters?.geometry},m=R(a);return(await oe({queryObject:a,category:s,queryConfig:r})).map(x=>{let c=String(x);return G({fieldName:s,fieldValueToMatch:c,subtypeInfo:m,fieldList:e.layerFieldsInfo})??c})}function Me(i,e,t){let s=i?.axes?.[e];s?.title!==void 0?s.title.content.text=t:s!==void 0&&(s.title=L({text:t,visible:!0,font:B(v.AxisTitle)}))}function Ce(i){let{config:e,layerInfo:t,commonStrings:s,numericFields:a,aggregationType:o}=i,n="";if(e)if(Se(e)===ge.Stacked100)n=s.utilsStrings.statistics.percent;else{let l=te(o,s);if(a.length===1){let r=N(t.layerFieldsInfo,a[0]);o===h.NoAggregation?n=r:o===h.Count&&a[0]===t.objectIdField?n=s.utilsStrings.statistics.count:n=C(s.axisLabels.aggregationOfFieldName,{aggregation:l,fieldName:r})}else a.length>1&&(o===h.NoAggregation?n=s.axisLabels.values:n=C(s.axisLabels.aggregationOfValues,{aggregation:l}))}return n}var Oe=(i,e,t)=>i.axes?.[e]??pe(t,i.type)[e],ke=i=>{let{config:e,axis:t,axisIndex:s}=i;e.axes!==void 0&&(e.axes[s]=t)},$i=i=>{let{config:e,axisIndex:t,isMax:s}=i,a=Number.NaN;return s?a=e.axes?.[t]?.maximum:a=e.axes?.[t]?.minimum,a??Number.NaN},b=i=>{let{config:e,value:t,axisIndex:s,isMax:a}=i,o=e?.axes?.[s];o!==void 0&&(a?o.maximum=t:o.minimum=t)},Ei=(i,e)=>{b({config:i,value:e,axisIndex:0,isMax:!1})},je=i=>i.axes?.[0]?.valueFormat??_(),Ge=(i,e,t)=>{let s=Oe(i,0,e);if(s!==void 0&&t!==void 0){let a={...s,valueFormat:t};ke({config:i,axis:a,axisIndex:0})}},we=(i,e,t)=>{let s=i.axes?.[e];s!==void 0&&(s.integerOnlyValues=t)},Ke=i=>{let e=ye(i.series);return e===w.BarSeries||e===w.ComboLineAndBarSeries||e===w.LineSeries},He=i=>{let{axisIndex:e,config:t,isMultiAxis:s}=i,a=!1;return e===0||e===1&&s?a=!0:e===2&&(a=Ke(t)),a},Xi=i=>{let{axisIndex:e,func:t,config:s}=i;return He({axisIndex:e,config:s,isMultiAxis:!0})?t(e):void 0},Pi=(i,e)=>{let t,s=e.axes?.[i]?.valueFormat;return(i===0||i>=1&&Ne(s))&&(t=s),t},zi=i=>{let{config:e,commonStrings:t,valueFormat:s,axisIndex:a=0}=i,o=Oe(e,a,t);if(o!==void 0&&s!==void 0){let n={...o,valueFormat:s};ke({config:e,axis:n,axisIndex:a})}},Ui=(i,e)=>i.axes?.[e]?.isLogarithmic??!1,_i=i=>{let{config:e,isLogarithmic:t,axisIndex:s}=i,a=e.axes?.[s];a&&(a.isLogarithmic=t,b({config:e,value:null,axisIndex:s,isMax:!0}),b({config:e,value:null,axisIndex:s,isMax:!1}))},Ri=i=>{let{config:e,scrollbar:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].scrollbar=t)},Gi=i=>i.version,We=i=>i.title?.content.text??"",Ki=(i,e)=>{e.title!==void 0?e.title.content.text=i:e.title===void 0&&i!==void 0&&(e.title=L({text:i,visible:!0,font:B(v.ChartTitle)}))},Hi=i=>i.subtitle?.content.text??"",Wi=(i,e)=>{e.subtitle!==void 0?e.subtitle.content.text=i:e.subtitle===void 0&&i!==void 0&&(e.subtitle=L({text:i,visible:!0,font:B(v.ChartSubtitle)}))},Zi=i=>i.footer?.content.text??"",Ji=(i,e)=>{e.footer!==void 0?e.footer.content.text=i:e.footer===void 0&&i!==void 0&&(e.footer=L({text:i,visible:!0,font:B(v.DescriptionText)}))},Qi=i=>i.title?i.title.visible??!0:!1,Yi=(i,e)=>{e.title!==void 0?e.title.visible=i:e.title===void 0&&(e.title=L({text:"",visible:i,font:B(v.ChartTitle)}))},et=i=>i.subtitle?i.subtitle.visible??!0:!1,it=(i,e)=>{e.subtitle!==void 0?e.subtitle.visible=i:e.subtitle===void 0&&(e.subtitle=L({text:"",visible:i,font:B(v.ChartSubtitle)}))},Ze=i=>i.footer?.visible??!1,tt=(i,e)=>{e.footer!==void 0?e.footer.visible=i:e.footer===void 0&&i!==Ze(e)&&(e.footer=L({text:"",visible:!0,font:B(v.DescriptionText)}))},st=i=>i.chartRenderer,at=(i,e)=>{e.chartRenderer=i},ot=(i,e)=>i.axes?.[e]?.title?.content,nt=i=>{let{config:e,axisIndex:t,symbol:s}=i,a=e.axes?.[t];if(a!==void 0){let o=a.title?.content.text;(a.title===void 0||s===void 0)&&(a.title=L({text:"",visible:!0,font:B(v.AxisTitle),type:v.AxisTitle})),s!==void 0&&(a.title.content=s),a.title.content.text=o}},rt=i=>{for(let e of i.axes??[])if(e?.labels!==void 0)return e.labels.content},lt=(i,e)=>{for(let t of e.axes??[])if(t!==void 0){let s=t.labels?.content.text;i===void 0?t.labels=L({text:"",visible:!0,font:B(v.AxisLabels),type:v.AxisLabels}):t.labels.content=D(i),t.labels.content.text=s}},ct=i=>{for(let e of i.axes??[])if(e?.lineSymbol!==void 0)return e.lineSymbol},gt=(i,e)=>{for(let t of e.axes??[])t!==void 0&&(t.lineSymbol=D(i)??me())},dt=i=>{for(let e of i.axes??[])if(e?.grid!==void 0)return e.grid},yt=(i,e,t)=>{let s=e.axes;t.forEach(a=>{s?.[a]!==void 0&&(s[a].grid=D(i))})},re=(i,e)=>e.axes?.[i]?.title?.content.text??"",ft=(i,e,t)=>{let s=t.axes?.[e];s?.title!==void 0?s.title.content.text=i:s!==void 0&&s?.title===void 0&&(s.title=L({text:i,visible:!0,font:B(v.AxisTitle)}))},mt=(i,e)=>e.axes?.[i]?.title?.visible??!1,ut=(i,e,t)=>{let s=t.axes?.[e];s?.title!==void 0?s.title.visible=i:s!==void 0&&s?.title===void 0&&(s.title=L({text:re(e,t),visible:i,font:B(v.AxisTitle)}))},xt=(i,e)=>i.axes?.[e]?.displayZeroLine??!1,pt=(i,e,t)=>{i.axes?.[t]!==void 0&&(i.axes[t].displayZeroLine=e)},Ft=(i,e)=>i.axes?.[e]?.displayCursorTooltip??!1,bt=i=>{let{config:e,displayCursorTooltip:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].displayCursorTooltip=t)},vt=(i,e)=>i.axes?.[e]?.buffer??!1,St=i=>{let{config:e,buffer:t,axisIndex:s}=i,a=e.axes?.[s];a!==void 0&&(a.buffer=t)},It=(i,e)=>i.axes?.[e]?.tickSpacing,Tt=i=>{let{config:e,tickSpacing:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].tickSpacing=t)},ht=(i,e)=>i.axes?.[e]?.integerOnlyValues??!1,At=i=>{let{config:e,integerOnlyValues:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].integerOnlyValues=t)},Bt=(i,e)=>{e.series.forEach(t=>{t.query&&(t.query.fetchNullValues=i)})},Lt=i=>i.series.some(e=>e.query?.fetchNullValues),qt=i=>i.series.map(e=>String(K({where:e.query?.where}))).filter(e=>e!==void 0&&e.trim()!==""),Nt=i=>i.dataFilters,Mt=(i,e)=>{i!==void 0?e.dataFilters=i:delete e.dataFilters},Je=i=>{let e,t=i.series[0];return q(t)&&(e=t.temporalBinning?.size),e},Qe=i=>{let e,t=i.series[0];return q(t)&&(e=t.temporalBinning?.unit),e},Ye=i=>{let e,t=i.series[0];return q(t)&&(e=t.temporalBinning?.timeAggregationType),e},ei=i=>{let e,t=i.series[0];return q(t)&&(e=t.temporalBinning?.trimIncompleteTimeInterval),e},ii=i=>{let e,t=i.series[0];return q(t)&&(e=t.temporalBinning?.nullPolicy),e},Ve=(i,e)=>{e?.series?.forEach(t=>{q(t)&&(t.temporalBinning??={},t.temporalBinning.size=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},ti=(i,e)=>{e?.series?.forEach(t=>{q(t)&&(t.temporalBinning??={},t.temporalBinning.nullPolicy=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},wt=(i,e)=>{e.series?.forEach(t=>{q(t)&&(t.temporalBinning??={},t.temporalBinning.unit=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},Ct=(i,e)=>{e.series?.forEach(t=>{q(t)&&(t.temporalBinning??={},t.temporalBinning.timeAggregationType=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},Ot=(i,e)=>{e.series?.forEach(t=>{q(t)&&(t.temporalBinning??={},t.temporalBinning.trimIncompleteTimeInterval=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},kt=i=>{Ve(0,i)},jt=(i,e)=>e.series[i]?.id,Vt=(i,e)=>e.series.findIndex(t=>t.id===i),si=i=>i.series.length??0,Dt=(i,e)=>e.series[i].visible??!0;function $t(i,e){let t;return i.length!==0&&e<i.length&&(t=i[e].dataTooltipValueFormat),t}function Et(i){let{series:e,seriesIndex:t,valueFormat:s}=i;e.length!==0&&t<e.length&&(e[t].dataTooltipValueFormat=s)}function P(i){let{seriesIndex:e,xAxisField:t,aggregationType:s,config:a,layerInfo:o,commonStrings:n}=i,{objectIdField:l}=o??{},r,m=a.series[e??0],x=!1,c=!1;if(m===void 0){let d=a.series;x=d.slice(0,e).every(y=>S(y)),c=d.slice(0,e).every(y=>I(y))}else x=S(m),c=I(m);x?r=Fe({commonStrings:n,seriesIndex:e,objectIDField:l}):c?r=be({commonStrings:n,seriesIndex:e,objectIDField:l}):r=ve({seriesIndex:e,objectIDField:l,commonStrings:n});let p=a.series[0]?.dataLabels,u={...r,x:t,y:"",dataLabels:{...r.dataLabels,type:r.dataLabels?.type??w.Text,content:{...r.dataLabels?.content,...p?.content,type:fe.TS},visible:p?.visible??!1}};if(u.query={groupByFieldsForStatistics:[t]},s!==h.NoAggregation&&l!==void 0){let d=`${s}_${l}_0`.toUpperCase();u.y=d,u.query.outStatistics=[{statisticType:s,onStatisticField:l,outStatisticFieldName:d}]}if(S(u)||I(u)||A(u)&&a.series[0]?.binTemporalData){let d;if(a?.series?.[0]!==void 0&&(d=H(a.series)),d!==X.BarAndLineNoAggregation&&d!==X.BarAndLineSplitByNoAggregation){let y=Qe(a);y===z.Quarter&&(y=z.Month),u.temporalBinning={size:Je(a),unit:y,timeAggregationType:Ye(a),trimIncompleteTimeInterval:ei(a),nullPolicy:ii(a)}}}return D(u)}function De(i,e,t){let{layerFieldsInfo:s,objectIdField:a}=e,o=V(i),n=le(i),l=Ee(i),r=J(i),m=n.length===0||n.includes(a),x=te(l,t),c=m?"":n.map(g=>N(s??[],g)).join(", "),p=N(s??[],o),u=N(s??[],r),d=i.series.some(g=>A(g)),y=d?"category":"xAxisField",F=p,f="";if(ne({fieldName:o,numericFields:n,fieldList:s}))f=C(t.titleLabels.aggrTypeOfAggrFields,{aggregationType:x,aggregationFields:c});else if(l===h.NoAggregation){let g=m?a:c;if(r===""){let O=d?"aggrTypeCategory":"aggrTypeXAxisField";f=C(t.titleLabels[O],{aggregationType:g,[y]:F})}else{let O=d?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";f=C(t.titleLabels[O],{aggregationType:g,[y]:F,splitByField:u})}}else if(l===h.Count)if(r===""){let g=d?"aggrTypeCategory":"aggrTypeXAxisField";f=C(t.titleLabels[g],{aggregationType:x,[y]:F})}else{let g=d?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";f=C(t.titleLabels[g],{aggregationType:x,[y]:F,splitByField:u})}else if(r!==""){let g=d?"aggrTypeOfAggrFieldByCategoryBySplitByField":"aggrTypeOfAggrFieldByXAxisFieldBySplitByField";f=C(t.titleLabels[g],{aggregationType:x,aggregationField:c,[y]:F,splitByField:u})}else if(n.length>0){let g=d?"aggrTypeOfAggrFieldsByCategory":"aggrTypeOfAggrFieldsByXAxisField";f=C(t.titleLabels[g],{aggregationType:x,aggregationFields:c,[y]:F})}return f}var $e=i=>K({where:i.query?.where,normalize:!1,escape:!1})??"",Ee=i=>i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType??h.NoAggregation,J=ee(i=>{let e=i?.series?.[0]?.query?.where?.split("=")[0].trim()??"";return Be(i?.series?.[0]?.query?.where)?"":e},i=>i?.series?.[0]?.query?.where),le=ee(i=>{let e=[];if(J(i)==="")e=i?.series.map(t=>{let s=t.query?.outStatistics?.map(a=>a.onStatisticField)??[];return s?.length>0?s:t.y}).flat()??[];else{let t=i?.series?.[0],s=t?.query?.outStatistics?.[0]?.onStatisticField??[t?.y].flat()[0];e=s!==void 0?[s]:[]}return[...new Set(e.filter(t=>t!==""))]},i=>i?.series);function ai(i){let{numericFields:e,aggregationType:t,config:s,layerInfo:a}=i,o=!1;t===h.Count?o=!0:t===h.NoAggregation&&(o=e.every(r=>{let m=a.layerFieldsInfo.find(x=>x.name===r);return m!==void 0?ae(m):!1})),we(s,1,o);let n=s.series.some(r=>S(r)),l=s.series.some(r=>I(r));if(n||l){let r=V(s),m=a.layerFieldsInfo.find(c=>c.name===r),x=m!==void 0&&ae(m);we(s,0,x)}}var oi=i=>{let e=k.xAxisAsc,t=i.orderOptions?.data?.orderType??j.Category,s=i.orderOptions?.data?.orderBy??$.Ascending;return t===j.Category&&Array.isArray(s)?e=k.customSort:t===j.Category?s===$.Ascending?e=k.xAxisAsc:e=k.xAxisDesc:s===$.Ascending?e=k.yAxisAsc:e=k.yAxisDesc,e};function ni(i){let{xAxisField:e,numericFields:t,aggregationType:s,config:a,layerInfo:o,commonStrings:n}=i,{layerFieldsInfo:l}=o,r=!1,m=P({config:a,xAxisField:e,aggregationType:s,layerInfo:o,seriesIndex:0,commonStrings:n}),x=Z({config:a,xAxisField:e,numericFields:t,aggregationType:s,layer:o.layer,fieldList:l}).name,c={...m,id:`series_${Date.now()}`,name:n.axisLabels.values,x:E,y:x},p=[];for(let d of t)p.push({onStatisticField:d,outStatisticFieldName:`${d}_0`.toUpperCase(),statisticType:s});c.query={outStatistics:p};let u=a.series[0];return u!==void 0&&(c.id=u.id,a.colorMatch||(A(u)&&A(c)?c.fillSymbol=u.fillSymbol:(S(c)&&S(u)||I(c)&&I(u))&&(c.lineSymbol=u.lineSymbol,c.markerSymbol=u.markerSymbol),r=!0),c.id=u.id,u.name!==m.name&&(c.name=u.name)),a.series.length===1&&!a.colorMatch&&(A(c)?c.fillSymbol=a.series[0].fillSymbol:(S(c)||I(c))&&(c.lineSymbol=a.series[0].lineSymbol,c.markerSymbol=a.series[0].markerSymbol),r=!0),a.colorMatch=!r,[c]}function Xe(i){let{xAxisField:e,numericFields:t,aggregationType:s,config:a,layerInfo:o,commonStrings:n}=i,{layerFieldsInfo:l,objectIdField:r}=o,m=[],x=!1;for(let c=0;c<t.length;c+=1){let p=P({config:a,xAxisField:e,aggregationType:s,layerInfo:o,seriesIndex:c,commonStrings:n}),u=Z({config:a,xAxisField:e,numericFields:t,aggregationType:s,layer:o.layer,numericFieldIndex:c,fieldList:l}).name,d=t[c],y={...p,query:{...p.query}};d!==r&&(y={...y,id:d,name:N(l,d)});let F=d;y.query!==void 0&&(s!==h.NoAggregation?(F=u,y.query.outStatistics=[{...p.query?.outStatistics?.[0]??{},onStatisticField:d,outStatisticFieldName:u,statisticType:s}]):delete y.query.outStatistics),y.y=F;let f=a.series.find(g=>g.query?.outStatistics?.[0]?.onStatisticField===d&&g.query.where===void 0);if(f!==void 0&&typeof f.y=="string"&&f.y.trim()!==""){a.colorMatch||(A(y)&&A(f)?y.fillSymbol=f.fillSymbol:(S(y)&&S(f)||I(y)&&I(f))&&(y.lineSymbol=f.lineSymbol,y.markerSymbol=f.markerSymbol),x=!0);let g=P({config:a,xAxisField:e,aggregationType:s,layerInfo:o,seriesIndex:c,commonStrings:n});y.id=f.id,f.id!==g.id&&f.name!==g.name&&(y.id=f.id,y.name=f.name)}m.push(y)}return a.series.length===1&&m.length===1&&!a.colorMatch&&(A(a.series[0])&&A(m[0])?m[0].fillSymbol=a.series[0].fillSymbol:(S(a.series[0])&&S(m[0])||I(a.series[0])&&I(m[0]))&&(m[0].lineSymbol=a.series[0].lineSymbol,m[0].markerSymbol=a.series[0].markerSymbol),x=!0),a.colorMatch=!x,m}async function ri(i){let{splitByField:e,xAxisField:t,numericFields:s,aggregationType:a,config:o,layerInfo:n,commonStrings:l}=i,{layer:r,layerFieldsInfo:m}=n,{fetchNullValues:x}=o?.series?.[0]?.query??{},c=t!==E?t:void 0,{categoriesArray:p,splitByFieldType:u,numericalField:d}=await _e({config:o,layer:r,layerFieldsInfo:m,xAxisField:c,aggregationFields:s,splitByField:e,fetchNullValues:x}),y=[],F=!1;if(p.length===0){y=Xe({xAxisField:t,numericFields:s,aggregationType:a,config:o,layerInfo:n,commonStrings:l});for(let f of y)f.query&&(f.query.where=`${e}=''`)}else for(let f=0;f<p.length;f+=1){let g=p[f],O=Z({config:o,xAxisField:t,numericFields:s,aggregationType:a,layer:n.layer,seriesIndex:f,splitByField:e,fieldList:m}).name,Q=P({config:o,xAxisField:t,aggregationType:a,layerInfo:n,seriesIndex:f,commonStrings:l}),Pe={fieldName:e,fieldValueToMatch:g??"",subtypeInfo:R(n.layer),fieldList:n.layerFieldsInfo},ze=G(Pe),Y=`${g}`,T={...Q,id:Y,name:ze??Y,y:O,query:{...Q.query,where:`${e}=${u===ie.String&&g!==null?`'${g}'`:g}`,outStatistics:a!==h.NoAggregation?[{...Q.query?.outStatistics?.[0]??{},onStatisticField:d,outStatisticFieldName:O,statisticType:a}]:void 0}};a===h.NoAggregation&&(T.query!==void 0&&(delete T.query.outStatistics,delete T.query.groupByFieldsForStatistics),T.y=d);let M=o.series.find(Ue=>String($e(Ue)).trim().replace(/'/gu,"")===Y);M!==void 0&&(o.colorMatch||(A(T)&&A(M)?T.fillSymbol=M.fillSymbol:(S(T)&&S(M)||I(T)&&I(M))&&(T.lineSymbol=M.lineSymbol,T.markerSymbol=M.markerSymbol),F=!0),T.id=M.id,T.name=M.name),y.push(T)}return o.colorMatch=!F,y}var Xt=async i=>{let{xAxisField:e,splitByField:t,numericFields:s,aggregationType:a,config:o,layerInfo:n,commonStrings:l}=i,{layerFieldsInfo:r}=n??{},m=si(o),x=V(o),c=li(o,n,l),p=ci(o,n,l),u=gi(o,n),d=je(o),y=o.series.some(g=>A(g)),F=Le(o.series),f=qe(o.series);if(r!==void 0){let g=he(r);!g.includes(x)&&g.includes(e)?d=ue():g.includes(x)&&!g.includes(e)&&(y?d=_():d=xe()),r.find(O=>O.name===e)?.type===ie.String&&(d=_()),d!==void 0&&Ge(o,l,d)}if(m===0&&(o.series=[P({config:o,xAxisField:e,aggregationType:a,layerInfo:n,commonStrings:l})]),o.series.forEach(g=>{g.x=e,g.query!==void 0&&(g.query.groupByFieldsForStatistics=[e])}),t===""||s.length>1?ne({fieldName:e,numericFields:s,fieldList:r})?o.series=ni({config:o,layerInfo:n,xAxisField:e,numericFields:s,aggregationType:a,commonStrings:l}):o.series=Xe({config:o,layerInfo:n,xAxisField:e,numericFields:s,aggregationType:a,commonStrings:l}):(await Promise.resolve(),o.series=await ri({config:o,layerInfo:n,splitByField:t,xAxisField:e,numericFields:s,aggregationType:a,commonStrings:l})),u){let g=N(r,e);Me(o,0,g)}if(p){let g=Ce({config:o,layerInfo:n,commonStrings:l,numericFields:s,aggregationType:a});Me(o,1,g)}if(o.title&&c&&(o.title.content.text=De(o,n,l)),b({config:o,value:null,axisIndex:1,isMax:!1}),b({config:o,value:null,axisIndex:1,isMax:!0}),ai({numericFields:s,aggregationType:a,config:o,layerInfo:n}),F||f){b({config:o,value:null,axisIndex:0,isMax:!1}),b({config:o,value:null,axisIndex:0,isMax:!0}),Ve(0,o);let g=d?.type===w.DateAxisFormat?U.Null:U.Interpolate;ti(g,o)}},Pt=i=>{let{config:e,seriesIndex:t,layerInfo:s,commonStrings:a}=i,o=e.series?.[t],n=J(e),l;if(H(e.series)===X.BarAndLineFromFields)l=a.axisLabels.values;else if(ce(n)){let r=o.query?.outStatistics?.[0]?.onStatisticField;r!==void 0&&r!==s.objectIdField&&(l=N(s.layerFieldsInfo,r))}else{let r=String($e(o)).trim().replace(/'/gu,""),m={fieldName:J(e),fieldValueToMatch:r??"",subtypeInfo:R(s.layer),fieldList:s.layerFieldsInfo};l=G(m)??r}return l??o.id},zt=(i,e)=>{e.orderOptions??={};let t=e.orderOptions?.data?.orderType;oi(e)===k.customSort&&t===j.Category&&(e.orderOptions.data={orderType:j.Category,orderBy:[...i]})},Ut=async(i,e)=>{let t=V(i),s=je(i)?.type,a=le(i),o=H(i.series),n=[];return s===w.CategoryAxisFormat&&(o===X.BarAndLineFromFields||t===E?n=a.map(l=>N(e?.layerFieldsInfo,l)):t.trim()!==""&&t!==E&&e!==void 0&&(n=await Re({layerInfo:e,config:i,category:t}))),n};function li(i,e,t){let s=De(i,e,t),a=We(i),o=W(i);return s===a||o}function ci(i,e,t){let s=Ce({config:i,layerInfo:e,commonStrings:t,numericFields:le(i),aggregationType:Ee(i)}),a=re(1,i),o=W(i);return s===a||o}function gi(i,e){let t=N(e.layerFieldsInfo,V(i)),s=re(0,i),a=W(i);return t===s||a}function _t(i){return i.series[0]?.binTemporalData??!1}function Rt(i,e){e?.series.forEach(t=>{(t?.type===w.BarSeries||t?.type===w.LineSeries)&&(t.binTemporalData=i,i?t.temporalBinning={unit:z.Day,size:0,timeAggregationType:de.Start,trimIncompleteTimeInterval:!0,nullPolicy:U.Null}:delete t.temporalBinning)})}return{a:_e,b:ji,c:Vi,d:Di,e:Re,f:Me,g:Ce,h:$i,i:b,j:Ei,k:je,l:Ge,m:we,n:Xi,o:Pi,p:zi,q:Ui,r:_i,s:Ri,t:Gi,u:We,v:Ki,w:Hi,x:Wi,y:Zi,z:Ji,A:Qi,B:Yi,C:et,D:it,E:Ze,F:tt,G:st,H:at,I:ot,J:nt,K:rt,L:lt,M:ct,N:gt,O:dt,P:yt,Q:re,R:ft,S:mt,T:ut,U:xt,V:pt,W:Ft,X:bt,Y:vt,Z:St,_:It,$:Tt,aa:ht,ba:At,ca:Bt,da:Lt,ea:qt,fa:Nt,ga:Mt,ha:Je,ia:Qe,ja:Ye,ka:ei,la:ii,ma:Ve,na:ti,oa:wt,pa:Ct,qa:Ot,ra:kt,sa:jt,ta:Vt,ua:si,va:Dt,wa:$t,xa:Et,ya:De,za:Ee,Aa:J,Ba:le,Ca:oi,Da:Xt,Ea:Pt,Fa:zt,Ga:Ut,Ha:_t,Ia:Rt}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","AttributeBinsGraphic",a,b)
3
+ v5.0.0-next.83 */
4
+ import{i as S,j as I,k as A,l as Le,m as qe,o as Ne}from"./3AYBTZOD.js";import b from"./QA5VE3Y4.js";import a from"./LU5QJI5Y.js";import{d as ee,f as D,i as ce,q as ie,w as fe}from"./Q2NHUP6S.js";import{a as k}from"./Q55S6C77.js";import{a as w,b as h,f as ge,h as $,k as z,n as U,o as de,v as j,w as ye}from"./3H2K4XBV.js";export default $arcgis.t(([,,,,,,,{substitute:C},,,,,,,,{Bc:ae,Cc:he,Dc:Ae,Ec:R,Ed:W,Fc:G,Fd:oe,Hb:Te,L:B,N:L,O:me,P:_,Q:ue,R:xe,Rc:K,Sc:Be,Tc:H,Vc:q,ba:pe,da:Fe,e:E,ea:be,ga:ve,nb:X,sb:Se,uc:se,vb:N,w:v,za:te,zb:Ie},{c:V,d:Z,f:ne}])=>{async function _e(i){let{config:e,layer:t,xAxisField:s,splitByField:a,layerFieldsInfo:o,aggregationFields:n,fetchNullValues:l}=i,r=o.filter(F=>F.name===a)[0]?.type,m=l!==!0?`${a} IS NOT NULL`:"",x=s&&l!==!0?`${s} IS NOT NULL`:"",{where:c}=e?.dataFilters??{},p={where:se([c,m,x]),orderByFields:Ie(a)?[]:[`${a} ${$.Ascending}`],geometry:e?.dataFilters?.geometry},u=t,d="";n.length===0?d=u?.objectIdField??"":[d]=n;let y=await oe({queryObject:u,category:e?.series[0].x??"",splitByField:a,queryConfig:p});if(e){let F=e?.series.map(f=>K({where:f.query?.where})?.toString()??"").filter(f=>f!==void 0&&f!=="");y=Te({arrayA:y,arrayB:F,getKey:f=>f===null?null:f?.toString()})}return{categoriesArray:y,splitByFieldType:r,numericalField:d}}function ji(i,e){let t=e==="";for(let s of i)if(e===s.name){t=!0;break}return t}function Vi(i,e){let t=Ae(i),s=e.length===0,a=0;for(let o of e){for(let n of t)if(o===n&&(a+=1),a===e.length){s=!0;break}if(s)break}return s}function Di(i,e){e.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(s=>{Object.defineProperty(i.prototype,s,Object.getOwnPropertyDescriptor(t.prototype,s)||Object.create(null))})})}async function Re(i){let{layerInfo:e,config:t,category:s}=i,{layer:a}=e,{where:o}=t?.dataFilters??{},{fetchNullValues:n}=t?.series?.[0]?.query??{},l=n!==!0?`${s} IS NOT NULL`:"",r={where:se([o,l]),orderByFields:[],geometry:t?.dataFilters?.geometry},m=R(a);return(await oe({queryObject:a,category:s,queryConfig:r})).map(x=>{let c=String(x);return G({fieldName:s,fieldValueToMatch:c,subtypeInfo:m,fieldList:e.layerFieldsInfo})??c})}function Me(i,e,t){let s=i?.axes?.[e];s?.title!==void 0?s.title.content.text=t:s!==void 0&&(s.title=L({text:t,visible:!0,font:B(v.AxisTitle)}))}function Ce(i){let{config:e,layerInfo:t,commonStrings:s,numericFields:a,aggregationType:o}=i,n="";if(e)if(Se(e)===ge.Stacked100)n=s.utilsStrings.statistics.percent;else{let l=te(o,s);if(a.length===1){let r=N(t.layerFieldsInfo,a[0]);o===h.NoAggregation?n=r:o===h.Count&&a[0]===t.objectIdField?n=s.utilsStrings.statistics.count:n=C(s.axisLabels.aggregationOfFieldName,{aggregation:l,fieldName:r})}else a.length>1&&(o===h.NoAggregation?n=s.axisLabels.values:n=C(s.axisLabels.aggregationOfValues,{aggregation:l}))}return n}var Oe=(i,e,t)=>i.axes?.[e]??pe(t,i.type)[e],ke=i=>{let{config:e,axis:t,axisIndex:s}=i;e.axes!==void 0&&(e.axes[s]=t)},$i=i=>{let{config:e,axisIndex:t,isMax:s}=i,a=Number.NaN;return s?a=e.axes?.[t]?.maximum:a=e.axes?.[t]?.minimum,a??Number.NaN},b=i=>{let{config:e,value:t,axisIndex:s,isMax:a}=i,o=e?.axes?.[s];o!==void 0&&(a?o.maximum=t:o.minimum=t)},Ei=(i,e)=>{b({config:i,value:e,axisIndex:0,isMax:!1})},je=i=>i.axes?.[0]?.valueFormat??_(),Ge=(i,e,t)=>{let s=Oe(i,0,e);if(s!==void 0&&t!==void 0){let a={...s,valueFormat:t};ke({config:i,axis:a,axisIndex:0})}},we=(i,e,t)=>{let s=i.axes?.[e];s!==void 0&&(s.integerOnlyValues=t)},Ke=i=>{let e=ye(i.series);return e===w.BarSeries||e===w.ComboLineAndBarSeries||e===w.LineSeries},He=i=>{let{axisIndex:e,config:t,isMultiAxis:s}=i,a=!1;return e===0||e===1&&s?a=!0:e===2&&(a=Ke(t)),a},Xi=i=>{let{axisIndex:e,func:t,config:s}=i;return He({axisIndex:e,config:s,isMultiAxis:!0})?t(e):void 0},Pi=(i,e)=>{let t,s=e.axes?.[i]?.valueFormat;return(i===0||i>=1&&Ne(s))&&(t=s),t},zi=i=>{let{config:e,commonStrings:t,valueFormat:s,axisIndex:a=0}=i,o=Oe(e,a,t);if(o!==void 0&&s!==void 0){let n={...o,valueFormat:s};ke({config:e,axis:n,axisIndex:a})}},Ui=(i,e)=>i.axes?.[e]?.isLogarithmic??!1,_i=i=>{let{config:e,isLogarithmic:t,axisIndex:s}=i,a=e.axes?.[s];a&&(a.isLogarithmic=t,b({config:e,value:null,axisIndex:s,isMax:!0}),b({config:e,value:null,axisIndex:s,isMax:!1}))},Ri=i=>{let{config:e,scrollbar:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].scrollbar=t)},Gi=i=>i.version,We=i=>i.title?.content.text??"",Ki=(i,e)=>{e.title!==void 0?e.title.content.text=i:e.title===void 0&&i!==void 0&&(e.title=L({text:i,visible:!0,font:B(v.ChartTitle)}))},Hi=i=>i.subtitle?.content.text??"",Wi=(i,e)=>{e.subtitle!==void 0?e.subtitle.content.text=i:e.subtitle===void 0&&i!==void 0&&(e.subtitle=L({text:i,visible:!0,font:B(v.ChartSubtitle)}))},Zi=i=>i.footer?.content.text??"",Ji=(i,e)=>{e.footer!==void 0?e.footer.content.text=i:e.footer===void 0&&i!==void 0&&(e.footer=L({text:i,visible:!0,font:B(v.DescriptionText)}))},Qi=i=>i.title?i.title.visible??!0:!1,Yi=(i,e)=>{e.title!==void 0?e.title.visible=i:e.title===void 0&&(e.title=L({text:"",visible:i,font:B(v.ChartTitle)}))},et=i=>i.subtitle?i.subtitle.visible??!0:!1,it=(i,e)=>{e.subtitle!==void 0?e.subtitle.visible=i:e.subtitle===void 0&&(e.subtitle=L({text:"",visible:i,font:B(v.ChartSubtitle)}))},Ze=i=>i.footer?.visible??!1,tt=(i,e)=>{e.footer!==void 0?e.footer.visible=i:e.footer===void 0&&i!==Ze(e)&&(e.footer=L({text:"",visible:!0,font:B(v.DescriptionText)}))},st=i=>i.chartRenderer,at=(i,e)=>{e.chartRenderer=i},ot=(i,e)=>i.axes?.[e]?.title?.content,nt=i=>{let{config:e,axisIndex:t,symbol:s}=i,a=e.axes?.[t];if(a!==void 0){let o=a.title?.content.text;(a.title===void 0||s===void 0)&&(a.title=L({text:"",visible:!0,font:B(v.AxisTitle),type:v.AxisTitle})),s!==void 0&&(a.title.content=s),a.title.content.text=o}},rt=i=>{for(let e of i.axes??[])if(e?.labels!==void 0)return e.labels.content},lt=(i,e)=>{for(let t of e.axes??[])if(t!==void 0){let s=t.labels?.content.text;i===void 0?t.labels=L({text:"",visible:!0,font:B(v.AxisLabels),type:v.AxisLabels}):t.labels.content=D(i),t.labels.content.text=s}},ct=i=>{for(let e of i.axes??[])if(e?.lineSymbol!==void 0)return e.lineSymbol},gt=(i,e)=>{for(let t of e.axes??[])t!==void 0&&(t.lineSymbol=D(i)??me())},dt=i=>{for(let e of i.axes??[])if(e?.grid!==void 0)return e.grid},yt=(i,e,t)=>{let s=e.axes;t.forEach(a=>{s?.[a]!==void 0&&(s[a].grid=D(i))})},re=(i,e)=>e.axes?.[i]?.title?.content.text??"",ft=(i,e,t)=>{let s=t.axes?.[e];s?.title!==void 0?s.title.content.text=i:s!==void 0&&s?.title===void 0&&(s.title=L({text:i,visible:!0,font:B(v.AxisTitle)}))},mt=(i,e)=>e.axes?.[i]?.title?.visible??!1,ut=(i,e,t)=>{let s=t.axes?.[e];s?.title!==void 0?s.title.visible=i:s!==void 0&&s?.title===void 0&&(s.title=L({text:re(e,t),visible:i,font:B(v.AxisTitle)}))},xt=(i,e)=>i.axes?.[e]?.displayZeroLine??!1,pt=(i,e,t)=>{i.axes?.[t]!==void 0&&(i.axes[t].displayZeroLine=e)},Ft=(i,e)=>i.axes?.[e]?.displayCursorTooltip??!1,bt=i=>{let{config:e,displayCursorTooltip:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].displayCursorTooltip=t)},vt=(i,e)=>i.axes?.[e]?.buffer??!1,St=i=>{let{config:e,buffer:t,axisIndex:s}=i,a=e.axes?.[s];a!==void 0&&(a.buffer=t)},It=(i,e)=>i.axes?.[e]?.tickSpacing,Tt=i=>{let{config:e,tickSpacing:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].tickSpacing=t)},ht=(i,e)=>i.axes?.[e]?.integerOnlyValues??!1,At=i=>{let{config:e,integerOnlyValues:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].integerOnlyValues=t)},Bt=(i,e)=>{e.series.forEach(t=>{t.query&&(t.query.fetchNullValues=i)})},Lt=i=>i.series.some(e=>e.query?.fetchNullValues),qt=i=>i.series.map(e=>String(K({where:e.query?.where}))).filter(e=>e!==void 0&&e.trim()!==""),Nt=i=>i.dataFilters,Mt=(i,e)=>{i!==void 0?e.dataFilters=i:delete e.dataFilters},Je=i=>{let e,t=i.series[0];return q(t)&&(e=t.temporalBinning?.size),e},Qe=i=>{let e,t=i.series[0];return q(t)&&(e=t.temporalBinning?.unit),e},Ye=i=>{let e,t=i.series[0];return q(t)&&(e=t.temporalBinning?.timeAggregationType),e},ei=i=>{let e,t=i.series[0];return q(t)&&(e=t.temporalBinning?.trimIncompleteTimeInterval),e},ii=i=>{let e,t=i.series[0];return q(t)&&(e=t.temporalBinning?.nullPolicy),e},Ve=(i,e)=>{e?.series?.forEach(t=>{q(t)&&(t.temporalBinning??={},t.temporalBinning.size=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},ti=(i,e)=>{e?.series?.forEach(t=>{q(t)&&(t.temporalBinning??={},t.temporalBinning.nullPolicy=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},wt=(i,e)=>{e.series?.forEach(t=>{q(t)&&(t.temporalBinning??={},t.temporalBinning.unit=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},Ct=(i,e)=>{e.series?.forEach(t=>{q(t)&&(t.temporalBinning??={},t.temporalBinning.timeAggregationType=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},Ot=(i,e)=>{e.series?.forEach(t=>{q(t)&&(t.temporalBinning??={},t.temporalBinning.trimIncompleteTimeInterval=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},kt=i=>{Ve(0,i)},jt=(i,e)=>e.series[i]?.id,Vt=(i,e)=>e.series.findIndex(t=>t.id===i),si=i=>i.series.length??0,Dt=(i,e)=>e.series[i].visible??!0;function $t(i,e){let t;return i.length!==0&&e<i.length&&(t=i[e].dataTooltipValueFormat),t}function Et(i){let{series:e,seriesIndex:t,valueFormat:s}=i;e.length!==0&&t<e.length&&(e[t].dataTooltipValueFormat=s)}function P(i){let{seriesIndex:e,xAxisField:t,aggregationType:s,config:a,layerInfo:o,commonStrings:n}=i,{objectIdField:l}=o??{},r,m=a.series[e??0],x=!1,c=!1;if(m===void 0){let d=a.series;x=d.slice(0,e).every(y=>S(y)),c=d.slice(0,e).every(y=>I(y))}else x=S(m),c=I(m);x?r=Fe({commonStrings:n,seriesIndex:e,objectIDField:l}):c?r=be({commonStrings:n,seriesIndex:e,objectIDField:l}):r=ve({seriesIndex:e,objectIDField:l,commonStrings:n});let p=a.series[0]?.dataLabels,u={...r,x:t,y:"",dataLabels:{...r.dataLabels,type:r.dataLabels?.type??w.Text,content:{...r.dataLabels?.content,...p?.content,type:fe.TS},visible:p?.visible??!1}};if(u.query={groupByFieldsForStatistics:[t]},s!==h.NoAggregation&&l!==void 0){let d=`${s}_${l}_0`.toUpperCase();u.y=d,u.query.outStatistics=[{statisticType:s,onStatisticField:l,outStatisticFieldName:d}]}if(S(u)||I(u)||A(u)&&a.series[0]?.binTemporalData){let d;if(a?.series?.[0]!==void 0&&(d=H(a.series)),d!==X.BarAndLineNoAggregation&&d!==X.BarAndLineSplitByNoAggregation){let y=Qe(a);y===z.Quarter&&(y=z.Month),u.temporalBinning={size:Je(a),unit:y,timeAggregationType:Ye(a),trimIncompleteTimeInterval:ei(a),nullPolicy:ii(a)}}}return D(u)}function De(i,e,t){let{layerFieldsInfo:s,objectIdField:a}=e,o=V(i),n=le(i),l=Ee(i),r=J(i),m=n.length===0||n.includes(a),x=te(l,t),c=m?"":n.map(g=>N(s??[],g)).join(", "),p=N(s??[],o),u=N(s??[],r),d=i.series.some(g=>A(g)),y=d?"category":"xAxisField",F=p,f="";if(ne({fieldName:o,numericFields:n,fieldList:s}))f=C(t.titleLabels.aggrTypeOfAggrFields,{aggregationType:x,aggregationFields:c});else if(l===h.NoAggregation){let g=m?a:c;if(r===""){let O=d?"aggrTypeCategory":"aggrTypeXAxisField";f=C(t.titleLabels[O],{aggregationType:g,[y]:F})}else{let O=d?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";f=C(t.titleLabels[O],{aggregationType:g,[y]:F,splitByField:u})}}else if(l===h.Count)if(r===""){let g=d?"aggrTypeCategory":"aggrTypeXAxisField";f=C(t.titleLabels[g],{aggregationType:x,[y]:F})}else{let g=d?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";f=C(t.titleLabels[g],{aggregationType:x,[y]:F,splitByField:u})}else if(r!==""){let g=d?"aggrTypeOfAggrFieldByCategoryBySplitByField":"aggrTypeOfAggrFieldByXAxisFieldBySplitByField";f=C(t.titleLabels[g],{aggregationType:x,aggregationField:c,[y]:F,splitByField:u})}else if(n.length>0){let g=d?"aggrTypeOfAggrFieldsByCategory":"aggrTypeOfAggrFieldsByXAxisField";f=C(t.titleLabels[g],{aggregationType:x,aggregationFields:c,[y]:F})}return f}var $e=i=>K({where:i.query?.where,normalize:!1,escape:!1})??"",Ee=i=>i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType??h.NoAggregation,J=ee(i=>{let e=i?.series?.[0]?.query?.where?.split("=")[0].trim()??"";return Be(i?.series?.[0]?.query?.where)?"":e},i=>i?.series?.[0]?.query?.where),le=ee(i=>{let e=[];if(J(i)==="")e=i?.series.map(t=>{let s=t.query?.outStatistics?.map(a=>a.onStatisticField)??[];return s?.length>0?s:t.y}).flat()??[];else{let t=i?.series?.[0],s=t?.query?.outStatistics?.[0]?.onStatisticField??[t?.y].flat()[0];e=s!==void 0?[s]:[]}return[...new Set(e.filter(t=>t!==""))]},i=>i?.series);function ai(i){let{numericFields:e,aggregationType:t,config:s,layerInfo:a}=i,o=!1;t===h.Count?o=!0:t===h.NoAggregation&&(o=e.every(r=>{let m=a.layerFieldsInfo.find(x=>x.name===r);return m!==void 0?ae(m):!1})),we(s,1,o);let n=s.series.some(r=>S(r)),l=s.series.some(r=>I(r));if(n||l){let r=V(s),m=a.layerFieldsInfo.find(c=>c.name===r),x=m!==void 0&&ae(m);we(s,0,x)}}var oi=i=>{let e=k.xAxisAsc,t=i.orderOptions?.data?.orderType??j.Category,s=i.orderOptions?.data?.orderBy??$.Ascending;return t===j.Category&&Array.isArray(s)?e=k.customSort:t===j.Category?s===$.Ascending?e=k.xAxisAsc:e=k.xAxisDesc:s===$.Ascending?e=k.yAxisAsc:e=k.yAxisDesc,e};function ni(i){let{xAxisField:e,numericFields:t,aggregationType:s,config:a,layerInfo:o,commonStrings:n}=i,{layerFieldsInfo:l}=o,r=!1,m=P({config:a,xAxisField:e,aggregationType:s,layerInfo:o,seriesIndex:0,commonStrings:n}),x=Z({config:a,xAxisField:e,numericFields:t,aggregationType:s,layer:o.layer,fieldList:l}).name,c={...m,id:`series_${Date.now()}`,name:n.axisLabels.values,x:E,y:x},p=[];for(let d of t)p.push({onStatisticField:d,outStatisticFieldName:`${d}_0`.toUpperCase(),statisticType:s});c.query={outStatistics:p};let u=a.series[0];return u!==void 0&&(c.id=u.id,a.colorMatch||(A(u)&&A(c)?c.fillSymbol=u.fillSymbol:(S(c)&&S(u)||I(c)&&I(u))&&(c.lineSymbol=u.lineSymbol,c.markerSymbol=u.markerSymbol),r=!0),c.id=u.id,u.name!==m.name&&(c.name=u.name)),a.series.length===1&&!a.colorMatch&&(A(c)?c.fillSymbol=a.series[0].fillSymbol:(S(c)||I(c))&&(c.lineSymbol=a.series[0].lineSymbol,c.markerSymbol=a.series[0].markerSymbol),r=!0),a.colorMatch=!r,[c]}function Xe(i){let{xAxisField:e,numericFields:t,aggregationType:s,config:a,layerInfo:o,commonStrings:n}=i,{layerFieldsInfo:l,objectIdField:r}=o,m=[],x=!1;for(let c=0;c<t.length;c+=1){let p=P({config:a,xAxisField:e,aggregationType:s,layerInfo:o,seriesIndex:c,commonStrings:n}),u=Z({config:a,xAxisField:e,numericFields:t,aggregationType:s,layer:o.layer,numericFieldIndex:c,fieldList:l}).name,d=t[c],y={...p,query:{...p.query}};d!==r&&(y={...y,id:d,name:N(l,d)});let F=d;y.query!==void 0&&(s!==h.NoAggregation?(F=u,y.query.outStatistics=[{...p.query?.outStatistics?.[0]??{},onStatisticField:d,outStatisticFieldName:u,statisticType:s}]):delete y.query.outStatistics),y.y=F;let f=a.series.find(g=>g.query?.outStatistics?.[0]?.onStatisticField===d&&g.query.where===void 0);if(f!==void 0&&typeof f.y=="string"&&f.y.trim()!==""){a.colorMatch||(A(y)&&A(f)?y.fillSymbol=f.fillSymbol:(S(y)&&S(f)||I(y)&&I(f))&&(y.lineSymbol=f.lineSymbol,y.markerSymbol=f.markerSymbol),x=!0);let g=P({config:a,xAxisField:e,aggregationType:s,layerInfo:o,seriesIndex:c,commonStrings:n});y.id=f.id,f.id!==g.id&&f.name!==g.name&&(y.id=f.id,y.name=f.name)}m.push(y)}return a.series.length===1&&m.length===1&&!a.colorMatch&&(A(a.series[0])&&A(m[0])?m[0].fillSymbol=a.series[0].fillSymbol:(S(a.series[0])&&S(m[0])||I(a.series[0])&&I(m[0]))&&(m[0].lineSymbol=a.series[0].lineSymbol,m[0].markerSymbol=a.series[0].markerSymbol),x=!0),a.colorMatch=!x,m}async function ri(i){let{splitByField:e,xAxisField:t,numericFields:s,aggregationType:a,config:o,layerInfo:n,commonStrings:l}=i,{layer:r,layerFieldsInfo:m}=n,{fetchNullValues:x}=o?.series?.[0]?.query??{},c=t!==E?t:void 0,{categoriesArray:p,splitByFieldType:u,numericalField:d}=await _e({config:o,layer:r,layerFieldsInfo:m,xAxisField:c,aggregationFields:s,splitByField:e,fetchNullValues:x}),y=[],F=!1;if(p.length===0){y=Xe({xAxisField:t,numericFields:s,aggregationType:a,config:o,layerInfo:n,commonStrings:l});for(let f of y)f.query&&(f.query.where=`${e}=''`)}else for(let f=0;f<p.length;f+=1){let g=p[f],O=Z({config:o,xAxisField:t,numericFields:s,aggregationType:a,layer:n.layer,seriesIndex:f,splitByField:e,fieldList:m}).name,Q=P({config:o,xAxisField:t,aggregationType:a,layerInfo:n,seriesIndex:f,commonStrings:l}),Pe={fieldName:e,fieldValueToMatch:g??"",subtypeInfo:R(n.layer),fieldList:n.layerFieldsInfo},ze=G(Pe),Y=`${g}`,T={...Q,id:Y,name:ze??Y,y:O,query:{...Q.query,where:`${e}=${u===ie.String&&g!==null?`'${g}'`:g}`,outStatistics:a!==h.NoAggregation?[{...Q.query?.outStatistics?.[0]??{},onStatisticField:d,outStatisticFieldName:O,statisticType:a}]:void 0}};a===h.NoAggregation&&(T.query!==void 0&&(delete T.query.outStatistics,delete T.query.groupByFieldsForStatistics),T.y=d);let M=o.series.find(Ue=>String($e(Ue)).trim().replace(/'/gu,"")===Y);M!==void 0&&(o.colorMatch||(A(T)&&A(M)?T.fillSymbol=M.fillSymbol:(S(T)&&S(M)||I(T)&&I(M))&&(T.lineSymbol=M.lineSymbol,T.markerSymbol=M.markerSymbol),F=!0),T.id=M.id,T.name=M.name),y.push(T)}return o.colorMatch=!F,y}var Xt=async i=>{let{xAxisField:e,splitByField:t,numericFields:s,aggregationType:a,config:o,layerInfo:n,commonStrings:l}=i,{layerFieldsInfo:r}=n??{},m=si(o),x=V(o),c=li(o,n,l),p=ci(o,n,l),u=gi(o,n),d=je(o),y=o.series.some(g=>A(g)),F=Le(o.series),f=qe(o.series);if(r!==void 0){let g=he(r);!g.includes(x)&&g.includes(e)?d=ue():g.includes(x)&&!g.includes(e)&&(y?d=_():d=xe()),r.find(O=>O.name===e)?.type===ie.String&&(d=_()),d!==void 0&&Ge(o,l,d)}if(m===0&&(o.series=[P({config:o,xAxisField:e,aggregationType:a,layerInfo:n,commonStrings:l})]),o.series.forEach(g=>{g.x=e,g.query!==void 0&&(g.query.groupByFieldsForStatistics=[e])}),t===""||s.length>1?ne({fieldName:e,numericFields:s,fieldList:r})?o.series=ni({config:o,layerInfo:n,xAxisField:e,numericFields:s,aggregationType:a,commonStrings:l}):o.series=Xe({config:o,layerInfo:n,xAxisField:e,numericFields:s,aggregationType:a,commonStrings:l}):(await Promise.resolve(),o.series=await ri({config:o,layerInfo:n,splitByField:t,xAxisField:e,numericFields:s,aggregationType:a,commonStrings:l})),u){let g=N(r,e);Me(o,0,g)}if(p){let g=Ce({config:o,layerInfo:n,commonStrings:l,numericFields:s,aggregationType:a});Me(o,1,g)}if(o.title&&c&&(o.title.content.text=De(o,n,l)),b({config:o,value:null,axisIndex:1,isMax:!1}),b({config:o,value:null,axisIndex:1,isMax:!0}),ai({numericFields:s,aggregationType:a,config:o,layerInfo:n}),F||f){b({config:o,value:null,axisIndex:0,isMax:!1}),b({config:o,value:null,axisIndex:0,isMax:!0}),Ve(0,o);let g=d?.type===w.DateAxisFormat?U.Null:U.Interpolate;ti(g,o)}},Pt=i=>{let{config:e,seriesIndex:t,layerInfo:s,commonStrings:a}=i,o=e.series?.[t],n=J(e),l;if(H(e.series)===X.BarAndLineFromFields)l=a.axisLabels.values;else if(ce(n)){let r=o.query?.outStatistics?.[0]?.onStatisticField;r!==void 0&&r!==s.objectIdField&&(l=N(s.layerFieldsInfo,r))}else{let r=String($e(o)).trim().replace(/'/gu,""),m={fieldName:J(e),fieldValueToMatch:r??"",subtypeInfo:R(s.layer),fieldList:s.layerFieldsInfo};l=G(m)??r}return l??o.id},zt=(i,e)=>{e.orderOptions??={};let t=e.orderOptions?.data?.orderType;oi(e)===k.customSort&&t===j.Category&&(e.orderOptions.data={orderType:j.Category,orderBy:[...i]})},Ut=async(i,e)=>{let t=V(i),s=je(i)?.type,a=le(i),o=H(i.series),n=[];return s===w.CategoryAxisFormat&&(o===X.BarAndLineFromFields||t===E?n=a.map(l=>N(e?.layerFieldsInfo,l)):t.trim()!==""&&t!==E&&e!==void 0&&(n=await Re({layerInfo:e,config:i,category:t}))),n};function li(i,e,t){let s=De(i,e,t),a=We(i),o=W(i);return s===a||o}function ci(i,e,t){let s=Ce({config:i,layerInfo:e,commonStrings:t,numericFields:le(i),aggregationType:Ee(i)}),a=re(1,i),o=W(i);return s===a||o}function gi(i,e){let t=N(e.layerFieldsInfo,V(i)),s=re(0,i),a=W(i);return t===s||a}function _t(i){return i.series[0]?.binTemporalData??!1}function Rt(i,e){e?.series.forEach(t=>{(t?.type===w.BarSeries||t?.type===w.LineSeries)&&(t.binTemporalData=i,i?t.temporalBinning={unit:z.Day,size:0,timeAggregationType:de.Start,trimIncompleteTimeInterval:!0,nullPolicy:U.Null}:delete t.temporalBinning)})}return{a:_e,b:ji,c:Vi,d:Di,e:Re,f:Me,g:Ce,h:$i,i:b,j:Ei,k:je,l:Ge,m:we,n:Xi,o:Pi,p:zi,q:Ui,r:_i,s:Ri,t:Gi,u:We,v:Ki,w:Hi,x:Wi,y:Zi,z:Ji,A:Qi,B:Yi,C:et,D:it,E:Ze,F:tt,G:st,H:at,I:ot,J:nt,K:rt,L:lt,M:ct,N:gt,O:dt,P:yt,Q:re,R:ft,S:mt,T:ut,U:xt,V:pt,W:Ft,X:bt,Y:vt,Z:St,_:It,$:Tt,aa:ht,ba:At,ca:Bt,da:Lt,ea:qt,fa:Nt,ga:Mt,ha:Je,ia:Qe,ja:Ye,ka:ei,la:ii,ma:Ve,na:ti,oa:wt,pa:Ct,qa:Ot,ra:kt,sa:jt,ta:Vt,ua:si,va:Dt,wa:$t,xa:Et,ya:De,za:Ee,Aa:J,Ba:le,Ca:oi,Da:Xt,Ea:Pt,Fa:zt,Ga:Ut,Ha:_t,Ia:Rt}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","AttributeBinsGraphic",a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.82 */
4
- import{a as X,b as Z,g as ee}from"./J2MLQG3H.js";import a from"./R7DJ4T7Z.js";import{f as s,i as g}from"./CFFOROJQ.js";import{d as I}from"./M3YOAXPV.js";import{a as c,b,d as E,h as v,k as S,p as w,q as L,v as B,w as T}from"./XKAQPTVD.js";export default $arcgis.t(([{Ba:W,D:G,E:j,Fb:h,Gc:x,Ic:C,Lc:q,Mc:$,Nc:R,Qc:Y,Rc:Q,Tc:O,Vc:J,b:N,c:k,h:U,ma:V,nb:l,oc:_,rd:K,uc:z,vc:H,zb:A}])=>{var M=(i=>(i.NONE="none",i.ROTATE="rotate",i.STAGGER="stagger",i.WRAP="wrap",i))(M||{});function he(i){let{configToUpdate:e,chartContainer:r,layer:t}=i,o=s(e);if(o.series[0]?.type===c.HeatSeries&&t?.capabilities?.queryAttributeBins?.supportsFirstDayOfWeek===!0&&(!("firstDayOfWeek"in e)||e.firstDayOfWeek===void 0||e.firstDayOfWeek===null)){let{lang:n}=I(r??document.documentElement);try{o.firstDayOfWeek=U.local().setLocale(n.replaceAll("_","-")).startOf("week",{useLocaleWeeks:!0}).weekday}catch{}}return o}function Oe(i){let e=s(i);return g(i.axes)||(e.axes=i.axes?.map(r=>{let t=r;return delete t.calculateAutomaticMaximum,delete t.calculateAutomaticMinimum,t.title?.content.font?.style!==void 0&&(t.title.content.font.style=t.title.content.font.style.toLowerCase()),t})),e}function Fe(i){let e=s(i);return g(i.series)||(e.series=i.series.map((r,t)=>{let o=r;r.id===void 0&&(o.id=`Series ${Date.now()}-${t}`);let n=T(i.series,t);return(n===c.BarSeries||n===c.LineSeries||n===c.RadarSeries)&&o.query?.outStatistics?.[0]?.statisticType==="median"&&(o.query.outStatistics[0].statisticType=b.ContinuousPercentile),n===c.BarSeries&&o.multipleBarType!==void 0&&(o.stackedType=o.multipleBarType,delete o.multipleBarType),n===c.PieSeries&&o.sliceGrouping!==void 0&&(o.sliceGrouping.sliceId=G.defaultGroupOfSlicesId,o.sliceGrouping.groupName!==void 0&&(o.sliceGrouping={...o.sliceGrouping,label:o.sliceGrouping.groupName},delete o.sliceGrouping.groupName),o.sliceGrouping.groupSliceSymbol!==void 0&&(o.sliceGrouping={...o.sliceGrouping,fillSymbol:o.sliceGrouping.groupSliceSymbol},delete o.sliceGrouping.groupSliceSymbol)),o})),e}async function te(i,e){let r=[];return await Promise.all(i.map(async t=>{if(!A(t)){let o=h(t,!1);if(o.fieldToSort!==void 0){let n=await x({queryObject:e,fieldToMatch:o.fieldToSort});n!==void 0&&r.push(o.orderBy===void 0?n:`${n} ${o.orderBy}`)}}})),r}async function Pe(i,e){let r={...i},t=e;if(!t){let o=ee(i)?i.iLayer:i.dataSource?.layer;o&&(t=await H(o))}if(t){let o=O(r.series),n=T(r.series),y=r.series&&r.series.length>0&&r.series[0].x.trim()===""||n===c.GaugeSeries&&!K(i)||o===l.PieFromFields||o===l.BarAndLineFromFields||o===l.BoxPlotMonoField||o===l.BoxPlotMonoFieldAndSplitBy||o===l.BoxPlotMultiFields||o===l.BoxPlotMultiFieldsAndSplitBy,u=n===c.ScatterSeries||o===l.BarAndLineNoAggregation||o===l.BarAndLineSplitByNoAggregation||o===l.BoxPlotMonoField||o===l.BoxPlotMonoFieldAndSplitBy||o===l.BoxPlotMonoFieldAndCategory||o===l.BoxPlotMonoFieldAndCategoryAndSplitBy||o===l.PieNoAggregation;if(r.series=await Promise.all(i.series.map(async d=>{let a={...d};if(y||(a.x=await x({queryObject:t,fieldToMatch:d.x})),"y"in a&&u){let p=a.y;if(Array.isArray(p)){let f=await C({fieldsList:p,queryObject:t});f!==void 0&&"y"in a&&(a.y=f)}else"y"in a&&typeof p=="string"&&(a.y=await x({queryObject:t,fieldToMatch:p}))}if(d.query!==void 0){let{where:p,groupByFieldsForStatistics:f,outStatistics:m}=d.query;if(f=await C({fieldsList:f,queryObject:t}),m!==void 0&&(m=await Promise.all(m.map(async F=>{let P={...F};return P.onStatisticField=await x({queryObject:t,fieldToMatch:F.onStatisticField}),P}))),p!==void 0&&o===l.BarAndLineSplitBy){let F=Y(d.query?.where),P=Q({where:d.query?.where,normalize:!1,escape:!1});p=`${await x({queryObject:t,fieldToMatch:F})}=${P}`}a.query!==void 0&&(p!==void 0&&(a.query.where=p),f!==void 0&&(a.query.groupByFieldsForStatistics=f),m!==void 0&&(a.query.outStatistics=m))}return a})),r.series[0]?.query!==void 0){let d=r.series[0].query,{orderByFields:a}=d;a!==void 0&&a.length>0&&(a=await te(a,t),a.length>0&&d.orderByFields!==void 0&&(r.series[0].query.orderByFields=a))}if(r.orderOptions?.orderByFields!==void 0){let{orderByFields:d}=r.orderOptions;d!==void 0&&d.length>0&&(d=await te(d,t),d.length>0&&(r.orderOptions.orderByFields=d))}if(n===c.GaugeSeries&&i.axes?.[0]!==void 0){let{minimumFromField:d,maximumFromField:a}=i.axes[0];if(d!==void 0){let p=typeof d=="string"?d:d.onStatisticField,f=await x({queryObject:t,fieldToMatch:p}),m=d;typeof i.axes[0].minimumFromField=="string"?m=f:typeof d=="object"&&(m={...d,onStatisticField:f}),i.axes[0].minimumFromField=m}if(a!==void 0){let p=typeof a=="string"?a:a.onStatisticField,f=await x({queryObject:t,fieldToMatch:p}),m=a;typeof i.axes[0].maximumFromField=="string"?m=f:typeof a=="object"&&(m={...a,onStatisticField:f}),i.axes[0].maximumFromField=m}}}return r}function ke(i){let e=s(i);if(!g(i.series)&&T(i.series)===c.BoxPlotSeries){let r=e.series[0];r&&(r.showOutliers!==void 0&&(i.showOutliers===void 0&&(e.showOutliers=r.showOutliers),delete r.showOutliers),r.standardizeValues!==void 0&&(i.standardizeValues===void 0&&(e.standardizeValues=r.standardizeValues),delete r.standardizeValues),r.showMean!==void 0&&(i.showMean===void 0&&(e.showMean=r.showMean),delete r.showMean))}return e}function we(i){let e={orderType:B.Category,orderBy:v.Ascending},r=i.query?.orderByFields?.[0];if(r!==void 0){let{outStatisticFieldName:t,statisticType:o}=i.query?.outStatistics?.[0]??{},n=h(r);t!==void 0&&n.fieldToSort===t&&o!==void 0&&(o===b.Average||o==="mean"?e.orderType=B.Mean:o===b.ContinuousPercentile&&(e.orderType=B.Median)),e.orderBy=n.orderBy??v.Ascending}return e}function Le(i){let e=!1,r=Array.from(new Set(i.series.map(t=>t.type)));return r.length===2&&r.includes(c.BoxPlotSeries)&&r.includes(c.LineSeries)&&(e=i.series.find(t=>t.type===c.LineSeries)?.query?.outStatistics?.[0]!==void 0),e}function Ae(i){let e=s(i);if(!g(e.series)&&T(i.series)===c.BoxPlotSeries){if(e.orderOptions?.data===void 0){let r=we(i.series[0]);r.orderType!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:r.orderType,orderBy:r.orderBy})}if(e.series=i.series.map(r=>{let t=r;return g(t.x?.trim())&&(t.x=j),delete t.query?.orderByFields,t}),Le(e)){e.showMean=!0;let r=e.series.find(t=>t.type===c.BoxPlotSeries);e.series.forEach(t=>{t.type===c.LineSeries&&(delete t.query?.groupByFieldsForStatistics,delete t.query?.outStatistics,delete t.query?.orderByFields,r&&(t.y=r.y))})}e.series=i.series.map(r=>{let t=r;return delete t.query?.outStatistics,t})}return e}function Ce(i){let e=s(i);return e.legend!==void 0&&!Number.isFinite(e.legend.maxHeight)&&(e.legend.maxHeight=Number.NaN),e}function qe(i){let e=s(i);return"dataSource"in e&&e.dataSource.layer&&(e.iLayer=e.dataSource.layer,delete e.dataSource),e}function Me(i){let e=s(i),r=new Set,t=e.id??"";return r.add(t),e.series.forEach(o=>{let n=o.id;r.has(n)&&(n=`${n}_${Date.now()}`,o.id=n),r.add(n)}),e}async function De(i){let{configToUpdate:e,layer:r,chartContainer:t}=i,o=s(e);return o=Oe(o),o=Fe(o),o=await Pe(o,r),o=ke(o),o=Ae(o),o=Ce(o),o=Me(o),o=he({configToUpdate:o,chartContainer:t,layer:r}),o}function Ee(i){let e=s(i);return e?.orderOptions?.orderByFields!==void 0&&O(i.series)===l.PieFromFields&&(e.orderOptions.orderByFields=i?.orderOptions?.orderByFields?.map(r=>{let t=s(r);return r!==void 0&&r.includes("arcgis_charts_pie_category_from_fields_name")&&(t=r.replace("arcgis_charts_pie_category_from_fields_name",k)),t})),e}function Ie(i){let e=s(i);if(!g(i.series)&&e.axes?.[0]!==void 0&&T(i.series)===c.GaugeSeries&&i.axes?.[0]!==void 0){let r=i.axes[0];r.ticks!==void 0&&Object.hasOwn(r.ticks,"spacing")&&delete r.ticks.spacing,e.axes[0]=r}return e}function Ne(i){let e=s(i),{extent:r}=e.series[0]?.query??{};return r!==void 0&&(e.dataFilters={...e.dataFilters,geometry:r},e.series.forEach(t=>{"query"in t&&"extent"in t.query&&delete t.query.extent})),e}function xe(i){let e=s(i);return g(i.series)||(X(i)&&i.rotated===void 0&&(e.rotated=i.series[0].rotated??V()),e.series.forEach(r=>{r.rotated!==void 0&&delete r.rotated})),e}function Ue(i){let e=s(i),r=i.dataSource;return"dataSource"in e&&!g(r)&&(r.type==="featureLayer"&&e.dataSource!==void 0&&(e.dataSource.type="layer"),"featureLayer"in r&&(e.dataSource.layer=r.featureLayer,delete e.dataSource.featureLayer)),e}function Ge(i){let e=s(i);if("dataSource"in i){let r=i.dataSource;if(r.filter!==void 0&&r.filter.trim()!==""){let t=z([r.filter,e.dataFilters?.where]);e.dataFilters={...e.dataFilters,where:t},delete e.dataSource.filter}}return e}function je(i){return i!=="originalValue"}function be(i){let e;switch(i){case"mean":e=B.Mean;break;case"median":e=B.Median;break;case"category":e=B.Category;break}return e}function Ve(i){let e=s(i);if(!g(i.series)&&T(i.series)===c.PieSeries){let r=e.series[0];if(r){if(r.sortLabelsBy==="originalValue")e.sortLabelsBy=r.sortLabelsBy;else if(r.sortLabelsBy!==void 0&&e.orderOptions?.data===void 0){let t=D(e);t!==void 0&&(e.orderOptions??={},e.orderOptions.data=t)}r.sortLabelsBy&&delete r.sortLabelsBy}}return e}function We(i){let e=s(i);return g(i.series)||(Z(i)&&i.stackedType===void 0&&(e.stackedType=i.series[0].stackedType??W()),e.series.forEach(r=>{"stackedType"in r&&delete r.stackedType})),e}function _e(i){let e=s(i),r=i.sortOptions?.sortSeriesBy;return e.orderOptions===void 0&&typeof r=="string"&&(e.orderOptions??={},e.orderOptions.series={orderBy:r==="DESC"?v.Descending:v.Ascending}),e}function ze(i){let e=s(i);return e.colorMatch===void 0&&e.series[0]?.colorType!==void 0&&(e.colorMatch=e.series[0]?.colorType===E.Match),e.series.forEach(r=>{r.colorType!==void 0&&delete r.colorType}),e}function He(i){let e=s(i);if(e.sortDataBy!==void 0){if(e.orderOptions?.data===void 0){let r=i.sortDataBy,t=be(r?.sortType);t!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:t,orderBy:r?.sortOrder??v.Ascending})}delete e.sortDataBy}return e}function $e(i){let e=s(i);return e.axes?.forEach(r=>{r!==void 0&&r.scrollbarVisible!==void 0&&r.scrollbar?.visible===void 0&&(r.scrollbar={...r.scrollbar,visible:r.scrollbarVisible},delete r.scrollbarVisible)}),e}function Re(i){let e=s(i),r=e.series[0]?.query?.orderByFields;if(r!==void 0&&r.length>0&&e.orderOptions?.orderByFields===void 0){e.orderOptions??={};let t=!0;if(r.length===1){let{fieldToSort:o,orderBy:n}=h(r[0]),y;o===i.series[0].x||o===k?y=B.Category:"y"in i.series[0]&&o===i.series[0].y&&(y=B.YValue),y!==void 0&&(t=!1,e.orderOptions.data===void 0&&(e.orderOptions.data={orderType:y,orderBy:n?.toUpperCase()==="DESC"?v.Descending:v.Ascending}))}t&&(e.orderOptions.orderByFields=r)}return e.series.forEach(t=>{delete t.query?.orderByFields}),e}function D(i){let e,r=i.orderOptions?.orderByFields?.[0];if(i.series?.length>0){let t=T(i.series),o=O(i.series);if(t!==c.PieSeries&&o!==l.BarAndLineFromFields&&(r=r??i.series[0].x),r&&!A(r)){let{fieldToSort:n,orderBy:y}=h(r),u;n===i.series[0].x||n===k?u=B.Category:"y"in i.series[0]&&n===i.series[0].y&&(u=B.YValue),u!==void 0&&(e={orderType:u,orderBy:y?.toUpperCase()==="DESC"?v.Descending:v.Ascending})}}return e}function Ye(i){let e=s(i),r=i,t=i,o=i,n=i,y=i;if(e){if(e.orderOptions?.series===void 0&&r.sortOptions?.sortSeriesBy!==void 0&&(e.orderOptions??={},e.orderOptions.series={preferLabel:je(t.sortLabelsBy??r.sortOptions.sortSeriesBy.sortType),orderBy:r.sortOptions.sortSeriesBy.sortOrder??v.Ascending}),t.sortLabelsBy==="originalValue"||n.orderOptions?.data?.preferDataLabel===!1||y.orderOptions?.data?.preferLabel===!1)e.orderOptions?.data&&delete e.orderOptions.data;else if(e.orderOptions?.data===void 0)if(T(e.series)===c.BoxPlotSeries){if(t.sortLabelsBy||o.sortOptions?.sortDataBy!==void 0){let u=be(o.sortOptions?.sortDataBy?.sortType);u!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:u,orderBy:o.sortOptions?.sortDataBy?.sortOrder??v.Ascending})}}else{let u=D(e);u!==void 0&&(e.orderOptions??={},e.orderOptions.data=u)}"sortLabelsBy"in e&&delete e.sortLabelsBy,"sortOptions"in e&&delete e.sortOptions}return e}function Qe(i){let e=s(i);if(e){let r=O(e.series);if((r===l.BarAndLineFromFields||r===l.PieFromFields)&&e.orderOptions?.data===void 0&&e.orderOptions?.orderByFields!==void 0){let t=D(e);t!==void 0&&(e.orderOptions??={},e.orderOptions.data=t,delete e.orderOptions.orderByFields)}}return e}function Je(i){let e=s(i);return e.horizontalAxisLabelsBehavior===M.NONE&&(e.horizontalAxisLabelsBehavior=w.Hide),e.verticalAxisLabelsBehavior===M.NONE&&(e.verticalAxisLabelsBehavior=w.Hide),e}function Ke(i){let e=s(i),r=e.series[0];if(r&&!r.temporalBinning&&J(e.series[0])&&("timeIntervalSize"in r||"timeIntervalUnits"in r||"timeAggregationType"in r||"trimIncompleteTimeInterval"in r||"nullPolicy"in r)){if(r.temporalBinning={},r.timeIntervalSize!==void 0&&(r.temporalBinning.size=r.timeIntervalSize,delete r.timeIntervalSize),r.timeIntervalUnits){let t;switch(r.timeIntervalUnits){case"esriTimeUnitsSeconds":t=S.Second;break;case"esriTimeUnitsMinutes":t=S.Minute;break;case"esriTimeUnitsHours":t=S.Hour;break;case"esriTimeUnitsDays":t=S.Day;break;case"esriTimeUnitsWeeks":t=S.Week;break;case"esriTimeUnitsMonths":t=S.Month;break;case"esriTimeUnitsYears":t=S.Year;break}t!==void 0&&(r.temporalBinning.unit=t),delete r.timeIntervalUnits}r.timeAggregationType&&(r.temporalBinning.timeAggregationType=r.timeAggregationType,delete r.timeAggregationType),r.trimIncompleteTimeInterval!==void 0&&(r.temporalBinning.trimIncompleteTimeInterval=r.trimIncompleteTimeInterval,delete r.trimIncompleteTimeInterval),r.nullPolicy&&(r.temporalBinning.nullPolicy=r.nullPolicy,delete r.nullPolicy)}return e}function Xe(i){let e=s(i);return e.series.forEach(r=>{r.query?.outStatistics?.forEach(t=>{t.statisticType==="percentile_cont"?t.statisticType=b.ContinuousPercentile:t.statisticType==="percentile_disc"&&(t.statisticType=b.DiscretePercentile)})}),e}function Ze(i){let e=s(i);return e.subtitle===void 0&&e.subTitle&&(e.subtitle=e.subTitle),delete e.subTitle,e}function et(i){let e=s(i),r=e.series[0];return r?.temporalBinning&&delete r.temporalBinning?.type,e}function tt(i){let e=s(i);return e=Ee(e),e}function ie(i){let e=s(i);return e=Ie(e),e}function re(i){let e=s(i);return e=Ne(e),e}function oe(i){let e=s(i);return e=xe(e),e}function se(i){let e=s(i);return e=Ue(e),e}function ne(i){let e=s(i);return e=Ge(e),e}function ae(i){let e=s(i);return e=Ve(e),e}function de(i){let e=s(i);return e=_e(e),e}function ce(i){let e=s(i);return e=ze(e),e}function le(i){return $e(i)}function ue(i){let e=s(i);return i.series[0]?.type===c.BoxPlotSeries&&(e=He(e)),e}function ye(i){return We(i)}function pe(i){return Ye(i)}function fe(i){return qe(i)}function me(i){return Qe(i)}function ve(i){return Je(i)}function ge(i){return Ke(i)}function Be(i){return Xe(i)}function Te(i){let e=s(i);return e=xe(e),Ze(e)}function Se(i){let e=s(i);return e=et(e),e}function it(i){let{versionsToConvert:e=[],configToUpdate:r}=i,t=s(r);return e.length>0&&t!==void 0&&(t=Re(t),e.includes(q)||e.includes($)?(t=tt(t),t=ie(t),t=re(t),t=oe(t),t=se(t),t=ne(t),t=ae(t),t=de(t),t=ce(t),t=le(t),t=ue(t),t=ye(t),t=pe(t),t=fe(t),t=me(t),t=ve(t),t=ge(t),t=Be(t),t=Te(t),t=Se(t)):e.forEach(o=>{if(t!==void 0)switch(o){case"1.0.1":t=ie(t);break;case"3.4.0":t=re(t);break;case"4.0.0":t=oe(t);break;case"4.0.1":t=se(t);break;case"6.4.0":t=ne(t);break;case"7.5.1":t=ae(t);break;case"8.0.0":t=de(t);break;case"9.2.0":t=ce(t);break;case"9.7.0":t=le(t);break;case"10.0.0":t=ue(t);break;case"11.0.0":t=ye(t);break;case"14.0.1":t=pe(t);break;case"16.0.0":t=fe(t);break;case"16.1.0":t=me(t);break;case"18.1.3":t=ve(t);break;case"20.1.0":t=ge(t);break;case"21.0.0":t=Be(t);break;case"23.2.0":t=Te(t);break;case"24.5.0":t=Se(t);break}}),t.version=N),t}async function dt(i,e,r){let t=i;if(i){let o=_(e);t=await De({configToUpdate:i,layer:o,chartContainer:r});let n=i.version??q,{versionStatus:y,versions:u}=R(n);(y===L.Older||y===L.Unrecognized)&&(t=it({versionsToConvert:u,configToUpdate:t}))}return t}return dt},a)
3
+ v5.0.0-next.83 */
4
+ import{a as X,b as Z,g as ee}from"./3AYBTZOD.js";import a from"./LU5QJI5Y.js";import{f as s,i as g}from"./Q2NHUP6S.js";import{d as I}from"./C6GQWD6M.js";import{a as c,b,d as E,h as v,k as S,p as w,q as L,v as B,w as T}from"./3H2K4XBV.js";export default $arcgis.t(([{Ba:W,D:G,E:j,Fb:h,Gc:x,Ic:C,Lc:q,Mc:$,Nc:R,Qc:Y,Rc:Q,Tc:O,Vc:J,b:N,c:k,h:U,ma:V,nb:l,oc:_,rd:K,uc:z,vc:H,zb:A}])=>{var M=(i=>(i.NONE="none",i.ROTATE="rotate",i.STAGGER="stagger",i.WRAP="wrap",i))(M||{});function he(i){let{configToUpdate:e,chartContainer:r,layer:t}=i,o=s(e);if(o.series[0]?.type===c.HeatSeries&&t?.capabilities?.queryAttributeBins?.supportsFirstDayOfWeek===!0&&(!("firstDayOfWeek"in e)||e.firstDayOfWeek===void 0||e.firstDayOfWeek===null)){let{lang:n}=I(r??document.documentElement);try{o.firstDayOfWeek=U.local().setLocale(n.replaceAll("_","-")).startOf("week",{useLocaleWeeks:!0}).weekday}catch{}}return o}function Oe(i){let e=s(i);return g(i.axes)||(e.axes=i.axes?.map(r=>{let t=r;return delete t.calculateAutomaticMaximum,delete t.calculateAutomaticMinimum,t.title?.content.font?.style!==void 0&&(t.title.content.font.style=t.title.content.font.style.toLowerCase()),t})),e}function Fe(i){let e=s(i);return g(i.series)||(e.series=i.series.map((r,t)=>{let o=r;r.id===void 0&&(o.id=`Series ${Date.now()}-${t}`);let n=T(i.series,t);return(n===c.BarSeries||n===c.LineSeries||n===c.RadarSeries)&&o.query?.outStatistics?.[0]?.statisticType==="median"&&(o.query.outStatistics[0].statisticType=b.ContinuousPercentile),n===c.BarSeries&&o.multipleBarType!==void 0&&(o.stackedType=o.multipleBarType,delete o.multipleBarType),n===c.PieSeries&&o.sliceGrouping!==void 0&&(o.sliceGrouping.sliceId=G.defaultGroupOfSlicesId,o.sliceGrouping.groupName!==void 0&&(o.sliceGrouping={...o.sliceGrouping,label:o.sliceGrouping.groupName},delete o.sliceGrouping.groupName),o.sliceGrouping.groupSliceSymbol!==void 0&&(o.sliceGrouping={...o.sliceGrouping,fillSymbol:o.sliceGrouping.groupSliceSymbol},delete o.sliceGrouping.groupSliceSymbol)),o})),e}async function te(i,e){let r=[];return await Promise.all(i.map(async t=>{if(!A(t)){let o=h(t,!1);if(o.fieldToSort!==void 0){let n=await x({queryObject:e,fieldToMatch:o.fieldToSort});n!==void 0&&r.push(o.orderBy===void 0?n:`${n} ${o.orderBy}`)}}})),r}async function Pe(i,e){let r={...i},t=e;if(!t){let o=ee(i)?i.iLayer:i.dataSource?.layer;o&&(t=await H(o))}if(t){let o=O(r.series),n=T(r.series),y=r.series&&r.series.length>0&&r.series[0].x.trim()===""||n===c.GaugeSeries&&!K(i)||o===l.PieFromFields||o===l.BarAndLineFromFields||o===l.BoxPlotMonoField||o===l.BoxPlotMonoFieldAndSplitBy||o===l.BoxPlotMultiFields||o===l.BoxPlotMultiFieldsAndSplitBy,u=n===c.ScatterSeries||o===l.BarAndLineNoAggregation||o===l.BarAndLineSplitByNoAggregation||o===l.BoxPlotMonoField||o===l.BoxPlotMonoFieldAndSplitBy||o===l.BoxPlotMonoFieldAndCategory||o===l.BoxPlotMonoFieldAndCategoryAndSplitBy||o===l.PieNoAggregation;if(r.series=await Promise.all(i.series.map(async d=>{let a={...d};if(y||(a.x=await x({queryObject:t,fieldToMatch:d.x})),"y"in a&&u){let p=a.y;if(Array.isArray(p)){let f=await C({fieldsList:p,queryObject:t});f!==void 0&&"y"in a&&(a.y=f)}else"y"in a&&typeof p=="string"&&(a.y=await x({queryObject:t,fieldToMatch:p}))}if(d.query!==void 0){let{where:p,groupByFieldsForStatistics:f,outStatistics:m}=d.query;if(f=await C({fieldsList:f,queryObject:t}),m!==void 0&&(m=await Promise.all(m.map(async F=>{let P={...F};return P.onStatisticField=await x({queryObject:t,fieldToMatch:F.onStatisticField}),P}))),p!==void 0&&o===l.BarAndLineSplitBy){let F=Y(d.query?.where),P=Q({where:d.query?.where,normalize:!1,escape:!1});p=`${await x({queryObject:t,fieldToMatch:F})}=${P}`}a.query!==void 0&&(p!==void 0&&(a.query.where=p),f!==void 0&&(a.query.groupByFieldsForStatistics=f),m!==void 0&&(a.query.outStatistics=m))}return a})),r.series[0]?.query!==void 0){let d=r.series[0].query,{orderByFields:a}=d;a!==void 0&&a.length>0&&(a=await te(a,t),a.length>0&&d.orderByFields!==void 0&&(r.series[0].query.orderByFields=a))}if(r.orderOptions?.orderByFields!==void 0){let{orderByFields:d}=r.orderOptions;d!==void 0&&d.length>0&&(d=await te(d,t),d.length>0&&(r.orderOptions.orderByFields=d))}if(n===c.GaugeSeries&&i.axes?.[0]!==void 0){let{minimumFromField:d,maximumFromField:a}=i.axes[0];if(d!==void 0){let p=typeof d=="string"?d:d.onStatisticField,f=await x({queryObject:t,fieldToMatch:p}),m=d;typeof i.axes[0].minimumFromField=="string"?m=f:typeof d=="object"&&(m={...d,onStatisticField:f}),i.axes[0].minimumFromField=m}if(a!==void 0){let p=typeof a=="string"?a:a.onStatisticField,f=await x({queryObject:t,fieldToMatch:p}),m=a;typeof i.axes[0].maximumFromField=="string"?m=f:typeof a=="object"&&(m={...a,onStatisticField:f}),i.axes[0].maximumFromField=m}}}return r}function ke(i){let e=s(i);if(!g(i.series)&&T(i.series)===c.BoxPlotSeries){let r=e.series[0];r&&(r.showOutliers!==void 0&&(i.showOutliers===void 0&&(e.showOutliers=r.showOutliers),delete r.showOutliers),r.standardizeValues!==void 0&&(i.standardizeValues===void 0&&(e.standardizeValues=r.standardizeValues),delete r.standardizeValues),r.showMean!==void 0&&(i.showMean===void 0&&(e.showMean=r.showMean),delete r.showMean))}return e}function we(i){let e={orderType:B.Category,orderBy:v.Ascending},r=i.query?.orderByFields?.[0];if(r!==void 0){let{outStatisticFieldName:t,statisticType:o}=i.query?.outStatistics?.[0]??{},n=h(r);t!==void 0&&n.fieldToSort===t&&o!==void 0&&(o===b.Average||o==="mean"?e.orderType=B.Mean:o===b.ContinuousPercentile&&(e.orderType=B.Median)),e.orderBy=n.orderBy??v.Ascending}return e}function Le(i){let e=!1,r=Array.from(new Set(i.series.map(t=>t.type)));return r.length===2&&r.includes(c.BoxPlotSeries)&&r.includes(c.LineSeries)&&(e=i.series.find(t=>t.type===c.LineSeries)?.query?.outStatistics?.[0]!==void 0),e}function Ae(i){let e=s(i);if(!g(e.series)&&T(i.series)===c.BoxPlotSeries){if(e.orderOptions?.data===void 0){let r=we(i.series[0]);r.orderType!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:r.orderType,orderBy:r.orderBy})}if(e.series=i.series.map(r=>{let t=r;return g(t.x?.trim())&&(t.x=j),delete t.query?.orderByFields,t}),Le(e)){e.showMean=!0;let r=e.series.find(t=>t.type===c.BoxPlotSeries);e.series.forEach(t=>{t.type===c.LineSeries&&(delete t.query?.groupByFieldsForStatistics,delete t.query?.outStatistics,delete t.query?.orderByFields,r&&(t.y=r.y))})}e.series=i.series.map(r=>{let t=r;return delete t.query?.outStatistics,t})}return e}function Ce(i){let e=s(i);return e.legend!==void 0&&!Number.isFinite(e.legend.maxHeight)&&(e.legend.maxHeight=Number.NaN),e}function qe(i){let e=s(i);return"dataSource"in e&&e.dataSource.layer&&(e.iLayer=e.dataSource.layer,delete e.dataSource),e}function Me(i){let e=s(i),r=new Set,t=e.id??"";return r.add(t),e.series.forEach(o=>{let n=o.id;r.has(n)&&(n=`${n}_${Date.now()}`,o.id=n),r.add(n)}),e}async function De(i){let{configToUpdate:e,layer:r,chartContainer:t}=i,o=s(e);return o=Oe(o),o=Fe(o),o=await Pe(o,r),o=ke(o),o=Ae(o),o=Ce(o),o=Me(o),o=he({configToUpdate:o,chartContainer:t,layer:r}),o}function Ee(i){let e=s(i);return e?.orderOptions?.orderByFields!==void 0&&O(i.series)===l.PieFromFields&&(e.orderOptions.orderByFields=i?.orderOptions?.orderByFields?.map(r=>{let t=s(r);return r!==void 0&&r.includes("arcgis_charts_pie_category_from_fields_name")&&(t=r.replace("arcgis_charts_pie_category_from_fields_name",k)),t})),e}function Ie(i){let e=s(i);if(!g(i.series)&&e.axes?.[0]!==void 0&&T(i.series)===c.GaugeSeries&&i.axes?.[0]!==void 0){let r=i.axes[0];r.ticks!==void 0&&Object.hasOwn(r.ticks,"spacing")&&delete r.ticks.spacing,e.axes[0]=r}return e}function Ne(i){let e=s(i),{extent:r}=e.series[0]?.query??{};return r!==void 0&&(e.dataFilters={...e.dataFilters,geometry:r},e.series.forEach(t=>{"query"in t&&"extent"in t.query&&delete t.query.extent})),e}function xe(i){let e=s(i);return g(i.series)||(X(i)&&i.rotated===void 0&&(e.rotated=i.series[0].rotated??V()),e.series.forEach(r=>{r.rotated!==void 0&&delete r.rotated})),e}function Ue(i){let e=s(i),r=i.dataSource;return"dataSource"in e&&!g(r)&&(r.type==="featureLayer"&&e.dataSource!==void 0&&(e.dataSource.type="layer"),"featureLayer"in r&&(e.dataSource.layer=r.featureLayer,delete e.dataSource.featureLayer)),e}function Ge(i){let e=s(i);if("dataSource"in i){let r=i.dataSource;if(r.filter!==void 0&&r.filter.trim()!==""){let t=z([r.filter,e.dataFilters?.where]);e.dataFilters={...e.dataFilters,where:t},delete e.dataSource.filter}}return e}function je(i){return i!=="originalValue"}function be(i){let e;switch(i){case"mean":e=B.Mean;break;case"median":e=B.Median;break;case"category":e=B.Category;break}return e}function Ve(i){let e=s(i);if(!g(i.series)&&T(i.series)===c.PieSeries){let r=e.series[0];if(r){if(r.sortLabelsBy==="originalValue")e.sortLabelsBy=r.sortLabelsBy;else if(r.sortLabelsBy!==void 0&&e.orderOptions?.data===void 0){let t=D(e);t!==void 0&&(e.orderOptions??={},e.orderOptions.data=t)}r.sortLabelsBy&&delete r.sortLabelsBy}}return e}function We(i){let e=s(i);return g(i.series)||(Z(i)&&i.stackedType===void 0&&(e.stackedType=i.series[0].stackedType??W()),e.series.forEach(r=>{"stackedType"in r&&delete r.stackedType})),e}function _e(i){let e=s(i),r=i.sortOptions?.sortSeriesBy;return e.orderOptions===void 0&&typeof r=="string"&&(e.orderOptions??={},e.orderOptions.series={orderBy:r==="DESC"?v.Descending:v.Ascending}),e}function ze(i){let e=s(i);return e.colorMatch===void 0&&e.series[0]?.colorType!==void 0&&(e.colorMatch=e.series[0]?.colorType===E.Match),e.series.forEach(r=>{r.colorType!==void 0&&delete r.colorType}),e}function He(i){let e=s(i);if(e.sortDataBy!==void 0){if(e.orderOptions?.data===void 0){let r=i.sortDataBy,t=be(r?.sortType);t!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:t,orderBy:r?.sortOrder??v.Ascending})}delete e.sortDataBy}return e}function $e(i){let e=s(i);return e.axes?.forEach(r=>{r!==void 0&&r.scrollbarVisible!==void 0&&r.scrollbar?.visible===void 0&&(r.scrollbar={...r.scrollbar,visible:r.scrollbarVisible},delete r.scrollbarVisible)}),e}function Re(i){let e=s(i),r=e.series[0]?.query?.orderByFields;if(r!==void 0&&r.length>0&&e.orderOptions?.orderByFields===void 0){e.orderOptions??={};let t=!0;if(r.length===1){let{fieldToSort:o,orderBy:n}=h(r[0]),y;o===i.series[0].x||o===k?y=B.Category:"y"in i.series[0]&&o===i.series[0].y&&(y=B.YValue),y!==void 0&&(t=!1,e.orderOptions.data===void 0&&(e.orderOptions.data={orderType:y,orderBy:n?.toUpperCase()==="DESC"?v.Descending:v.Ascending}))}t&&(e.orderOptions.orderByFields=r)}return e.series.forEach(t=>{delete t.query?.orderByFields}),e}function D(i){let e,r=i.orderOptions?.orderByFields?.[0];if(i.series?.length>0){let t=T(i.series),o=O(i.series);if(t!==c.PieSeries&&o!==l.BarAndLineFromFields&&(r=r??i.series[0].x),r&&!A(r)){let{fieldToSort:n,orderBy:y}=h(r),u;n===i.series[0].x||n===k?u=B.Category:"y"in i.series[0]&&n===i.series[0].y&&(u=B.YValue),u!==void 0&&(e={orderType:u,orderBy:y?.toUpperCase()==="DESC"?v.Descending:v.Ascending})}}return e}function Ye(i){let e=s(i),r=i,t=i,o=i,n=i,y=i;if(e){if(e.orderOptions?.series===void 0&&r.sortOptions?.sortSeriesBy!==void 0&&(e.orderOptions??={},e.orderOptions.series={preferLabel:je(t.sortLabelsBy??r.sortOptions.sortSeriesBy.sortType),orderBy:r.sortOptions.sortSeriesBy.sortOrder??v.Ascending}),t.sortLabelsBy==="originalValue"||n.orderOptions?.data?.preferDataLabel===!1||y.orderOptions?.data?.preferLabel===!1)e.orderOptions?.data&&delete e.orderOptions.data;else if(e.orderOptions?.data===void 0)if(T(e.series)===c.BoxPlotSeries){if(t.sortLabelsBy||o.sortOptions?.sortDataBy!==void 0){let u=be(o.sortOptions?.sortDataBy?.sortType);u!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:u,orderBy:o.sortOptions?.sortDataBy?.sortOrder??v.Ascending})}}else{let u=D(e);u!==void 0&&(e.orderOptions??={},e.orderOptions.data=u)}"sortLabelsBy"in e&&delete e.sortLabelsBy,"sortOptions"in e&&delete e.sortOptions}return e}function Qe(i){let e=s(i);if(e){let r=O(e.series);if((r===l.BarAndLineFromFields||r===l.PieFromFields)&&e.orderOptions?.data===void 0&&e.orderOptions?.orderByFields!==void 0){let t=D(e);t!==void 0&&(e.orderOptions??={},e.orderOptions.data=t,delete e.orderOptions.orderByFields)}}return e}function Je(i){let e=s(i);return e.horizontalAxisLabelsBehavior===M.NONE&&(e.horizontalAxisLabelsBehavior=w.Hide),e.verticalAxisLabelsBehavior===M.NONE&&(e.verticalAxisLabelsBehavior=w.Hide),e}function Ke(i){let e=s(i),r=e.series[0];if(r&&!r.temporalBinning&&J(e.series[0])&&("timeIntervalSize"in r||"timeIntervalUnits"in r||"timeAggregationType"in r||"trimIncompleteTimeInterval"in r||"nullPolicy"in r)){if(r.temporalBinning={},r.timeIntervalSize!==void 0&&(r.temporalBinning.size=r.timeIntervalSize,delete r.timeIntervalSize),r.timeIntervalUnits){let t;switch(r.timeIntervalUnits){case"esriTimeUnitsSeconds":t=S.Second;break;case"esriTimeUnitsMinutes":t=S.Minute;break;case"esriTimeUnitsHours":t=S.Hour;break;case"esriTimeUnitsDays":t=S.Day;break;case"esriTimeUnitsWeeks":t=S.Week;break;case"esriTimeUnitsMonths":t=S.Month;break;case"esriTimeUnitsYears":t=S.Year;break}t!==void 0&&(r.temporalBinning.unit=t),delete r.timeIntervalUnits}r.timeAggregationType&&(r.temporalBinning.timeAggregationType=r.timeAggregationType,delete r.timeAggregationType),r.trimIncompleteTimeInterval!==void 0&&(r.temporalBinning.trimIncompleteTimeInterval=r.trimIncompleteTimeInterval,delete r.trimIncompleteTimeInterval),r.nullPolicy&&(r.temporalBinning.nullPolicy=r.nullPolicy,delete r.nullPolicy)}return e}function Xe(i){let e=s(i);return e.series.forEach(r=>{r.query?.outStatistics?.forEach(t=>{t.statisticType==="percentile_cont"?t.statisticType=b.ContinuousPercentile:t.statisticType==="percentile_disc"&&(t.statisticType=b.DiscretePercentile)})}),e}function Ze(i){let e=s(i);return e.subtitle===void 0&&e.subTitle&&(e.subtitle=e.subTitle),delete e.subTitle,e}function et(i){let e=s(i),r=e.series[0];return r?.temporalBinning&&delete r.temporalBinning?.type,e}function tt(i){let e=s(i);return e=Ee(e),e}function ie(i){let e=s(i);return e=Ie(e),e}function re(i){let e=s(i);return e=Ne(e),e}function oe(i){let e=s(i);return e=xe(e),e}function se(i){let e=s(i);return e=Ue(e),e}function ne(i){let e=s(i);return e=Ge(e),e}function ae(i){let e=s(i);return e=Ve(e),e}function de(i){let e=s(i);return e=_e(e),e}function ce(i){let e=s(i);return e=ze(e),e}function le(i){return $e(i)}function ue(i){let e=s(i);return i.series[0]?.type===c.BoxPlotSeries&&(e=He(e)),e}function ye(i){return We(i)}function pe(i){return Ye(i)}function fe(i){return qe(i)}function me(i){return Qe(i)}function ve(i){return Je(i)}function ge(i){return Ke(i)}function Be(i){return Xe(i)}function Te(i){let e=s(i);return e=xe(e),Ze(e)}function Se(i){let e=s(i);return e=et(e),e}function it(i){let{versionsToConvert:e=[],configToUpdate:r}=i,t=s(r);return e.length>0&&t!==void 0&&(t=Re(t),e.includes(q)||e.includes($)?(t=tt(t),t=ie(t),t=re(t),t=oe(t),t=se(t),t=ne(t),t=ae(t),t=de(t),t=ce(t),t=le(t),t=ue(t),t=ye(t),t=pe(t),t=fe(t),t=me(t),t=ve(t),t=ge(t),t=Be(t),t=Te(t),t=Se(t)):e.forEach(o=>{if(t!==void 0)switch(o){case"1.0.1":t=ie(t);break;case"3.4.0":t=re(t);break;case"4.0.0":t=oe(t);break;case"4.0.1":t=se(t);break;case"6.4.0":t=ne(t);break;case"7.5.1":t=ae(t);break;case"8.0.0":t=de(t);break;case"9.2.0":t=ce(t);break;case"9.7.0":t=le(t);break;case"10.0.0":t=ue(t);break;case"11.0.0":t=ye(t);break;case"14.0.1":t=pe(t);break;case"16.0.0":t=fe(t);break;case"16.1.0":t=me(t);break;case"18.1.3":t=ve(t);break;case"20.1.0":t=ge(t);break;case"21.0.0":t=Be(t);break;case"23.2.0":t=Te(t);break;case"24.5.0":t=Se(t);break}}),t.version=N),t}async function dt(i,e,r){let t=i;if(i){let o=_(e);t=await De({configToUpdate:i,layer:o,chartContainer:r});let n=i.version??q,{versionStatus:y,versions:u}=R(n);(y===L.Older||y===L.Unrecognized)&&(t=it({versionsToConvert:u,configToUpdate:t}))}return t}return dt},a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.82 */
4
- import{r as e,w as t}from"./CFFOROJQ.js";import{a as o}from"./XKAQPTVD.js";var s=153,a={type:o.Guide,style:{type:t.SLS,color:[127,127,127,s],width:2,style:e.Solid},label:{type:t.TS}};export{s as a,a as b};
3
+ v5.0.0-next.83 */
4
+ import{r as e,w as t}from"./Q2NHUP6S.js";import{a as o}from"./3H2K4XBV.js";var s=153,a={type:o.Guide,style:{type:t.SLS,color:[127,127,127,s],width:2,style:e.Solid},label:{type:t.TS}};export{s as a,a as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.82 */
4
- import{a as c}from"./SUCLWTR7.js";import{b as w}from"./GUMYBKXE.js";import b from"./RDHG2ACJ.js";import{i as s}from"./DTTTMC2G.js";import{a as P}from"./YA7FVAJF.js";import a from"./R7DJ4T7Z.js";import{w as u}from"./CFFOROJQ.js";import"./M3YOAXPV.js";import"./QXPCXM5M.js";import{c as o}from"./XKAQPTVD.js";import{E as v,g as f,h as i,l as p,w as m,x as h,y,z as t}from"./ZFGZYNJC.js";import"./RSU3B63O.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{vb:C,z:b,zc:$},{a:d,l:S}])=>{var l={symbolPropertyPopover:"symbol-property-popover",colorPicker:"color-picker",jsAppFlyout:"js-app-flyout",header:"header",pickListItemLabel:"pick-list-item-label",fieldSelectPanel:"field-select-panel",transformationPanel:"transformation-panel"},L=f`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.right{display:block;text-align:right}.inline{display:inline-flex;flex-wrap:wrap}.symbol-property-popover{min-width:300px}.symbol-property-popover .inline{align-items:center;margin-bottom:1rem;padding:0 1rem}.symbol-property-popover .inline calcite-action{margin-left:.2rem}.symbol-property-popover .inline input,.symbol-property-popover .inline select{width:4rem;margin-left:.5rem;height:24px}.symbol-property-popover .inline select{width:6rem}.symbol-property-popover .color calcite-icon{margin-left:.5rem}.symbol-property-popover .color .color-picker{padding:1rem}.header{margin:0;font-weight:bolder}.pick-list-item-label{font-size:small}.field-select-panel{max-height:60vh}.transformation-panel{width:calc(var(--calcite-panel-width-multiplier) * 12vw);max-width:calc(var(--calcite-panel-width-multiplier) * 300px);min-width:calc(var(--calcite-panel-width-multiplier) * 150px);min-width:calc(var(--calcite-panel-width-multiplier) * 170px)}`,g=class extends y{constructor(){super(...arguments),this._messages=P(),this.picklist=m(),this.popoverElement=m(),this.layerFieldsInfo=[],this.arcgisChartsConfigHistogramPopoverChange=p(),this.arcgisChartsConfigHistogramPopoverSymbolChange=p(),this.arcgisChartsConfigPopoverClose=p()}static{this.properties={messageOverrides:0,layerFieldsInfo:0,headingTitle:1,selectedNumericField:1,selectedTransformationType:1,selectedOverlaySymbol:0,selectedBinColor:0,referenceElement:0,contentKind:1,placement:1,open:5,selectedOverlaySymbolType:1}}static{this.styles=L}async reposition(){await this.popoverElement.value?.reposition()}updated(){setTimeout(()=>{this.picklist.value?.setFocus()},d.PopoverTimer),w(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},d.PopoverTimer)}buildPickListItems(e){let n=[];if(e===s.numericFields)for(let r=0;r<this.layerFieldsInfo?.length;r+=1){let a=this.layerFieldsInfo[r];$(a)&&n.push(c(a.name,i`<calcite-list-item .label=${C(this.layerFieldsInfo,a.name)} .value=${a.name} .selected=${this.selectedNumericField===a.name}></calcite-list-item>`))}else{let r=[c(o.None,i`<calcite-list-item .label=${this._messages.none} .value=${o.None} .selected=${this.selectedTransformationType===o.None}></calcite-list-item>`),c(o.Log,i`<calcite-list-item .label=${this._messages.log} .value=${o.Log} .selected=${this.selectedTransformationType===o.Log}></calcite-list-item>`),c(o.Sqrt,i`<calcite-list-item .label=${this._messages.sqRt} .value=${o.Sqrt} .selected=${this.selectedTransformationType===o.Sqrt}></calcite-list-item>`)];n.push(...r)}return n}getPopoverClass(){return this.contentKind===s.fillSymbol||this.contentKind===s.lineSymbol?l.symbolPropertyPopover:""}closePopover(){(this.open||this.popoverElement.value?.open===!1)&&(this.open=!1,this.arcgisChartsConfigPopoverClose.emit())}overlaySymbolChange(e){this.arcgisChartsConfigHistogramPopoverSymbolChange.emit(e.detail)}fillColorChange(e){let n=e.detail,[r,a,x]=n,k=b*255;this.arcgisChartsConfigHistogramPopoverSymbolChange.emit({type:u.SFS,color:[r,a,x,k]})}onPickListChange(e){e.target!==null&&(this.arcgisChartsConfigHistogramPopoverChange.emit({contentKind:this.contentKind,value:e.target.selectedItems[0].value}),this.open=!1)}renderFillColor(){return i`<arcgis-charts-config-color-style class=${t(l.colorPicker)} .header=${this.headingTitle??this._messages.fillColor} enable-close .open=${this.open} .selectedColor=${this.selectedBinColor?.color} @arcgisChartsConfigColorStyleChange=${this.fillColorChange} @arcgisChartsConfigColorStyleClose=${this.closePopover}></arcgis-charts-config-color-style>`}renderOverlayStyle(){return i`<arcgis-charts-config-line-style class=${t(l.colorPicker)} .open=${this.open} enable-close .header=${this.headingTitle??this._messages.lineStyle} .lineStyle=${this.selectedOverlaySymbol} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.overlaySymbolChange}></arcgis-charts-config-line-style>`}renderFieldSelect(){let e=this.buildPickListItems(s.numericFields);return i`<calcite-panel class=${t(l.fieldSelectPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${t(l.header)}>${this._messages.numericalFieldHeader}</div><calcite-list label selection-mode=single selection-appearance=border class=${t(l.pickListItemLabel)} filter-enabled @calciteListChange=${this.onPickListChange} ${h(this.picklist)}>${e}</calcite-list></calcite-panel>`}renderTransformationSelect(){let e=this.buildPickListItems(s.transformation);return i`<calcite-panel class=${t(l.transformationPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${t(l.header)}>${this._messages.transformationHeader}</div><calcite-list label selection-mode=single selection-appearance=border class=${t(l.pickListItemLabel)} @calciteListChange=${this.onPickListChange}>${e}</calcite-list></calcite-panel>`}render(){return i`<div class=${t({[l.jsAppFlyout]:!0})}><calcite-popover class=${t(this.getPopoverClass())} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .open=${this.open} .offsetDistance=${S(this.placement)} label auto-close ${h(this.popoverElement)}>${this.renderContentType()}</calcite-popover></div>`}renderContentType(){switch(this.contentKind){case s.fillSymbol:return this.renderFillColor();case s.lineSymbol:return this.renderOverlayStyle();case s.numericFields:return this.renderFieldSelect();case s.transformation:return this.renderTransformationSelect();default:return}}};v("arcgis-charts-config-histogram-popover",g);return g},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b)
3
+ v5.0.0-next.83 */
4
+ import{a as c}from"./4GC6PYXQ.js";import{b as w}from"./IIFWMCPX.js";import b from"./VCXMDWYL.js";import{i as s}from"./7MAMXI6G.js";import{a as P}from"./YS7AV2BK.js";import a from"./LU5QJI5Y.js";import{w as u}from"./Q2NHUP6S.js";import"./C6GQWD6M.js";import"./Q55S6C77.js";import{c as o}from"./3H2K4XBV.js";import{E as v,g as f,h as i,l as p,w as m,x as h,y,z as t}from"./RXFNBDM3.js";import"./WAI2KJVM.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{vb:C,z:b,zc:$},{a:d,l:S}])=>{var l={symbolPropertyPopover:"symbol-property-popover",colorPicker:"color-picker",jsAppFlyout:"js-app-flyout",header:"header",pickListItemLabel:"pick-list-item-label",fieldSelectPanel:"field-select-panel",transformationPanel:"transformation-panel"},L=f`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.right{display:block;text-align:right}.inline{display:inline-flex;flex-wrap:wrap}.symbol-property-popover{min-width:300px}.symbol-property-popover .inline{align-items:center;margin-bottom:1rem;padding:0 1rem}.symbol-property-popover .inline calcite-action{margin-left:.2rem}.symbol-property-popover .inline input,.symbol-property-popover .inline select{width:4rem;margin-left:.5rem;height:24px}.symbol-property-popover .inline select{width:6rem}.symbol-property-popover .color calcite-icon{margin-left:.5rem}.symbol-property-popover .color .color-picker{padding:1rem}.header{margin:0;font-weight:bolder}.pick-list-item-label{font-size:small}.field-select-panel{max-height:60vh}.transformation-panel{width:calc(var(--calcite-panel-width-multiplier) * 12vw);max-width:calc(var(--calcite-panel-width-multiplier) * 300px);min-width:calc(var(--calcite-panel-width-multiplier) * 150px);min-width:calc(var(--calcite-panel-width-multiplier) * 170px)}`,g=class extends y{constructor(){super(...arguments),this._messages=P(),this.picklist=m(),this.popoverElement=m(),this.layerFieldsInfo=[],this.arcgisChartsConfigHistogramPopoverChange=p(),this.arcgisChartsConfigHistogramPopoverSymbolChange=p(),this.arcgisChartsConfigPopoverClose=p()}static{this.properties={messageOverrides:0,layerFieldsInfo:0,headingTitle:1,selectedNumericField:1,selectedTransformationType:1,selectedOverlaySymbol:0,selectedBinColor:0,referenceElement:0,contentKind:1,placement:1,open:5,selectedOverlaySymbolType:1}}static{this.styles=L}async reposition(){await this.popoverElement.value?.reposition()}updated(){setTimeout(()=>{this.picklist.value?.setFocus()},d.PopoverTimer),w(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},d.PopoverTimer)}buildPickListItems(e){let n=[];if(e===s.numericFields)for(let r=0;r<this.layerFieldsInfo?.length;r+=1){let a=this.layerFieldsInfo[r];$(a)&&n.push(c(a.name,i`<calcite-list-item .label=${C(this.layerFieldsInfo,a.name)} .value=${a.name} .selected=${this.selectedNumericField===a.name}></calcite-list-item>`))}else{let r=[c(o.None,i`<calcite-list-item .label=${this._messages.none} .value=${o.None} .selected=${this.selectedTransformationType===o.None}></calcite-list-item>`),c(o.Log,i`<calcite-list-item .label=${this._messages.log} .value=${o.Log} .selected=${this.selectedTransformationType===o.Log}></calcite-list-item>`),c(o.Sqrt,i`<calcite-list-item .label=${this._messages.sqRt} .value=${o.Sqrt} .selected=${this.selectedTransformationType===o.Sqrt}></calcite-list-item>`)];n.push(...r)}return n}getPopoverClass(){return this.contentKind===s.fillSymbol||this.contentKind===s.lineSymbol?l.symbolPropertyPopover:""}closePopover(){(this.open||this.popoverElement.value?.open===!1)&&(this.open=!1,this.arcgisChartsConfigPopoverClose.emit())}overlaySymbolChange(e){this.arcgisChartsConfigHistogramPopoverSymbolChange.emit(e.detail)}fillColorChange(e){let n=e.detail,[r,a,x]=n,k=b*255;this.arcgisChartsConfigHistogramPopoverSymbolChange.emit({type:u.SFS,color:[r,a,x,k]})}onPickListChange(e){e.target!==null&&(this.arcgisChartsConfigHistogramPopoverChange.emit({contentKind:this.contentKind,value:e.target.selectedItems[0].value}),this.open=!1)}renderFillColor(){return i`<arcgis-charts-config-color-style class=${t(l.colorPicker)} .header=${this.headingTitle??this._messages.fillColor} enable-close .open=${this.open} .selectedColor=${this.selectedBinColor?.color} @arcgisChartsConfigColorStyleChange=${this.fillColorChange} @arcgisChartsConfigColorStyleClose=${this.closePopover}></arcgis-charts-config-color-style>`}renderOverlayStyle(){return i`<arcgis-charts-config-line-style class=${t(l.colorPicker)} .open=${this.open} enable-close .header=${this.headingTitle??this._messages.lineStyle} .lineStyle=${this.selectedOverlaySymbol} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.overlaySymbolChange}></arcgis-charts-config-line-style>`}renderFieldSelect(){let e=this.buildPickListItems(s.numericFields);return i`<calcite-panel class=${t(l.fieldSelectPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${t(l.header)}>${this._messages.numericalFieldHeader}</div><calcite-list label selection-mode=single selection-appearance=border class=${t(l.pickListItemLabel)} filter-enabled @calciteListChange=${this.onPickListChange} ${h(this.picklist)}>${e}</calcite-list></calcite-panel>`}renderTransformationSelect(){let e=this.buildPickListItems(s.transformation);return i`<calcite-panel class=${t(l.transformationPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${t(l.header)}>${this._messages.transformationHeader}</div><calcite-list label selection-mode=single selection-appearance=border class=${t(l.pickListItemLabel)} @calciteListChange=${this.onPickListChange}>${e}</calcite-list></calcite-panel>`}render(){return i`<div class=${t({[l.jsAppFlyout]:!0})}><calcite-popover class=${t(this.getPopoverClass())} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .open=${this.open} .offsetDistance=${S(this.placement)} label auto-close ${h(this.popoverElement)}>${this.renderContentType()}</calcite-popover></div>`}renderContentType(){switch(this.contentKind){case s.fillSymbol:return this.renderFillColor();case s.lineSymbol:return this.renderOverlayStyle();case s.numericFields:return this.renderFieldSelect();case s.transformation:return this.renderTransformationSelect();default:return}}};v("arcgis-charts-config-histogram-popover",g);return g},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.82 */
4
- import"./RSU3B63O.js";var o={"Zoom Out":"\u041E\u0442\u0434\u0430\u043B\u0435\u0447\u0430\u0432\u0430\u043D\u0435","From %1 to %2":"\u041E\u0442 %1 \u0434\u043E %2","From %1":"\u041E\u0442 %1","To %1":"\u0414\u043E %1"};export{o as default};
3
+ v5.0.0-next.83 */
4
+ import"./WAI2KJVM.js";var o={"Zoom Out":"\u041E\u0442\u0434\u0430\u043B\u0435\u0447\u0430\u0432\u0430\u043D\u0435","From %1 to %2":"\u041E\u0442 %1 \u0434\u043E %2","From %1":"\u041E\u0442 %1","To %1":"\u0414\u043E %1"};export{o as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.82 */
4
- import{k as s}from"./J2MLQG3H.js";export default $arcgis.t(([])=>{var n=(r,i)=>s(i.series?.[r])?i.series?.[r].hideOversizedSideBySideLabels:void 0,x=(r,i,e)=>{s(e.series?.[i])&&(e.series[i].hideOversizedSideBySideLabels=r)},A=(r,i)=>s(i.series?.[r])?i.series?.[r].hideOversizedStackedLabels:void 0,D=(r,i,e)=>{s(e.series?.[i])&&(e.series[i].hideOversizedStackedLabels=r)};return{a:n,b:x,c:A,d:D}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils")
3
+ v5.0.0-next.83 */
4
+ import{k as s}from"./3AYBTZOD.js";export default $arcgis.t(([])=>{var n=(r,i)=>s(i.series?.[r])?i.series?.[r].hideOversizedSideBySideLabels:void 0,x=(r,i,e)=>{s(e.series?.[i])&&(e.series[i].hideOversizedSideBySideLabels=r)},A=(r,i)=>s(i.series?.[r])?i.series?.[r].hideOversizedStackedLabels:void 0,D=(r,i,e)=>{s(e.series?.[i])&&(e.series[i].hideOversizedStackedLabels=r)};return{a:n,b:x,c:A,d:D}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils")