@arcgis/charts-components 5.0.0-next.127 → 5.0.0-next.129

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 (339) hide show
  1. package/dist/cdn/{FDHK5FQ5.js → 22EUL5Z6.js} +2 -2
  2. package/dist/cdn/{WNCZF3NZ.js → 2OLG4WRN.js} +1 -1
  3. package/dist/cdn/{CHGFBNJD.js → 2OOJOSZW.js} +2 -2
  4. package/dist/cdn/{WBDA74LW.js → 2WJS3BYV.js} +2 -2
  5. package/dist/cdn/{Y2I5PQ67.js → 2ZOH7LUU.js} +2 -2
  6. package/dist/cdn/{O23JF4FX.js → 3GDXHBOD.js} +2 -2
  7. package/dist/cdn/{IGEXPONA.js → 3MIOY36J.js} +2 -2
  8. package/dist/cdn/{C2MQ4R2M.js → 3ORTCXHF.js} +2 -2
  9. package/dist/cdn/{U2AHT7YI.js → 3RZ6FIBY.js} +2 -2
  10. package/dist/cdn/{6CNEQWUI.js → 3THHUD3J.js} +2 -2
  11. package/dist/cdn/{LLUEFLL4.js → 3UFS6CO6.js} +2 -2
  12. package/dist/cdn/{IRMPEYYA.js → 3VBS5RCT.js} +2 -2
  13. package/dist/cdn/{MKFZQVB5.js → 3ZDYCTTN.js} +2 -2
  14. package/dist/cdn/{HYYTEILX.js → 42AJRLW6.js} +2 -2
  15. package/dist/cdn/{2IGNI2UK.js → 47EQBBON.js} +2 -2
  16. package/dist/cdn/{DR6GMP7V.js → 4ASN5GBP.js} +2 -2
  17. package/dist/cdn/{DF57GXCV.js → 4EV76DVJ.js} +2 -2
  18. package/dist/cdn/{LLCCNCYR.js → 4FHLCGLN.js} +2 -2
  19. package/dist/cdn/4SEJ5IR2.js +4 -0
  20. package/dist/cdn/{CD57YGB6.js → 4WWSXGJY.js} +2 -2
  21. package/dist/cdn/{R5BABM5U.js → 55RBVKFW.js} +2 -2
  22. package/dist/cdn/{HZ5XBOBL.js → 5HXZV5HL.js} +2 -2
  23. package/dist/cdn/{XV55CFSY.js → 5JX3567O.js} +2 -2
  24. package/dist/cdn/{BI2TIFLT.js → 5ULVLCRN.js} +2 -2
  25. package/dist/cdn/{2IH55BUY.js → 5UWWIMAN.js} +2 -2
  26. package/dist/cdn/{HPWAYWHD.js → 62TSACLV.js} +2 -2
  27. package/dist/cdn/{NJ3WZF45.js → 65FEXRFR.js} +2 -2
  28. package/dist/cdn/{HEU652GI.js → 6NLZXAER.js} +2 -2
  29. package/dist/cdn/{SJXGTL4X.js → 6RSNLO7Z.js} +2 -2
  30. package/dist/cdn/{OY63NOD7.js → 6VSCPZQO.js} +2 -2
  31. package/dist/cdn/{JKJ3SA5X.js → 7LDVUIPH.js} +2 -2
  32. package/dist/cdn/{HDPUKKAA.js → 7RJGE5NU.js} +2 -2
  33. package/dist/cdn/{OT6K54LP.js → AYPAPOHH.js} +2 -2
  34. package/dist/cdn/{WVWVXOJT.js → BFN27ZQX.js} +2 -2
  35. package/dist/cdn/{Q64WOSAD.js → BFXAQPLK.js} +1 -1
  36. package/dist/cdn/BKZPBHG3.js +4 -0
  37. package/dist/cdn/{ER6IZ6Z4.js → BP4VGL52.js} +2 -2
  38. package/dist/cdn/{XBQNBYAL.js → C5SLBNYZ.js} +2 -2
  39. package/dist/cdn/{Q6FADG3N.js → C67L6PRG.js} +2 -2
  40. package/dist/cdn/{T5MHNMEH.js → C6H6UNKX.js} +2 -2
  41. package/dist/cdn/{4YYNBJND.js → CF7CDTUO.js} +2 -2
  42. package/dist/cdn/{O7MVKYFW.js → CGP6VUUN.js} +2 -2
  43. package/dist/cdn/{QLM7MWRO.js → CIARLJJZ.js} +2 -2
  44. package/dist/cdn/{BLX4A2V6.js → CJFGJOQE.js} +2 -2
  45. package/dist/cdn/{O34DUOHE.js → CJGV65E3.js} +2 -2
  46. package/dist/cdn/{LLBRC7DZ.js → CRGIXEQA.js} +2 -2
  47. package/dist/cdn/{H7J7C24H.js → CS3Q4QE6.js} +2 -2
  48. package/dist/cdn/{KYSPKIIQ.js → CS5PQGM2.js} +2 -2
  49. package/dist/cdn/{TWWHYPSV.js → D53JWOVC.js} +2 -2
  50. package/dist/cdn/{MO7IA36P.js → D5GWZCT7.js} +2 -2
  51. package/dist/cdn/{GAVPNXSZ.js → D6GPLQDQ.js} +2 -2
  52. package/dist/cdn/{ZS4FWRZC.js → D77TW4TO.js} +2 -2
  53. package/dist/cdn/{GS7WHGUH.js → DMAMV3SD.js} +2 -2
  54. package/dist/cdn/{OBSUTMGU.js → DQVGETJJ.js} +2 -2
  55. package/dist/cdn/{X2STFC3S.js → DZGCI4B4.js} +2 -2
  56. package/dist/cdn/EAL7RIFQ.js +4 -0
  57. package/dist/cdn/{T3LT7T5B.js → EDF5PANH.js} +2 -2
  58. package/dist/cdn/{PUYY62D6.js → EIIATGLO.js} +2 -2
  59. package/dist/cdn/{H4ROFZQN.js → EIVMHE7S.js} +2 -2
  60. package/dist/cdn/{TY6C4SLL.js → EQX64DOC.js} +2 -2
  61. package/dist/cdn/{MTZPTGOR.js → ES77O4JG.js} +2 -2
  62. package/dist/cdn/{T6W5CENK.js → FCOADJI7.js} +2 -2
  63. package/dist/cdn/{PLGGVS7X.js → FDIGHKML.js} +2 -2
  64. package/dist/cdn/{AA7DDL6R.js → FF47KL7S.js} +2 -2
  65. package/dist/cdn/{B6SMZCQW.js → FP4JRFZO.js} +2 -2
  66. package/dist/cdn/FU5J6V4O.js +6 -0
  67. package/dist/cdn/{2S3AYIO6.js → FWZ5SYUS.js} +2 -2
  68. package/dist/cdn/{DTPOXRAM.js → FXRT2P57.js} +2 -2
  69. package/dist/cdn/{OXHRUPYX.js → GFD4PVNW.js} +2 -2
  70. package/dist/cdn/{7B2HUGRU.js → GGS4WKGM.js} +2 -2
  71. package/dist/cdn/{QFHOHG6O.js → GKU4PIXT.js} +2 -2
  72. package/dist/cdn/{CPO5ORBM.js → GS6CKNF5.js} +2 -2
  73. package/dist/cdn/{JC6EKNXV.js → GTBPNHTZ.js} +2 -2
  74. package/dist/cdn/{OKCGAUWV.js → GVID32UY.js} +2 -2
  75. package/dist/cdn/{T47VPY6L.js → GYJB3M4B.js} +2 -2
  76. package/dist/cdn/GYKLQ2WT.js +4 -0
  77. package/dist/cdn/GZWPAHMQ.js +4 -0
  78. package/dist/cdn/{RM6JPHOC.js → H7NKHPEH.js} +2 -2
  79. package/dist/cdn/{QZOJ6RL2.js → HF7DALE3.js} +2 -2
  80. package/dist/cdn/{P2H7RQXE.js → HK7GRX27.js} +2 -2
  81. package/dist/cdn/{35644Y4C.js → HVIBLQ4L.js} +2 -2
  82. package/dist/cdn/{KAT2GCFN.js → HZFB7ZVR.js} +2 -2
  83. package/dist/cdn/{KLZ2VIZO.js → HZW7FWKG.js} +2 -2
  84. package/dist/cdn/{2UX4Q23U.js → I5AP5DSN.js} +2 -2
  85. package/dist/cdn/{J5QFORBQ.js → I5ZN6QSU.js} +2 -2
  86. package/dist/cdn/{WIRSHBTT.js → I6HXK5QH.js} +2 -2
  87. package/dist/cdn/{NDANQVET.js → IKJX2VKX.js} +2 -2
  88. package/dist/cdn/{TQ657J5L.js → IL3HB56M.js} +2 -2
  89. package/dist/cdn/{MCBG6NFU.js → IOMKOA5M.js} +2 -2
  90. package/dist/cdn/{LHSOHSTS.js → J7G4BQCG.js} +2 -2
  91. package/dist/cdn/{66BXJM5P.js → JGVK6PKE.js} +2 -2
  92. package/dist/cdn/{Z3XRF3B6.js → JO2SARJA.js} +2 -2
  93. package/dist/cdn/{M2QQK3FO.js → JRHQVGJW.js} +2 -2
  94. package/dist/cdn/{3C37RHZH.js → JSOO3QR2.js} +2 -2
  95. package/dist/cdn/{FS2LV6RE.js → JU24L3ZM.js} +2 -2
  96. package/dist/cdn/{SPEVIEKJ.js → JW3RTP6D.js} +2 -2
  97. package/dist/cdn/JY43H6BJ.js +4 -0
  98. package/dist/cdn/{XVMGIHYO.js → K2MPGHPY.js} +2 -2
  99. package/dist/cdn/{PG43TIFC.js → K4WOSEYP.js} +1 -1
  100. package/dist/cdn/K5QVZ6VI.js +4 -0
  101. package/dist/cdn/{4FBWANR3.js → KAR5XGV4.js} +2 -2
  102. package/dist/cdn/{VAUFFMUF.js → KB3NRK4B.js} +2 -2
  103. package/dist/cdn/{6SN3RD4Y.js → KECW65TS.js} +2 -2
  104. package/dist/cdn/{A645QLB3.js → KKXILXVZ.js} +2 -2
  105. package/dist/cdn/{YUK26VKH.js → KOKKVWFB.js} +2 -2
  106. package/dist/cdn/{MOKSOBUJ.js → L7IXHNTO.js} +2 -2
  107. package/dist/cdn/LFUWSVXP.js +4 -0
  108. package/dist/cdn/{3K7XBPSX.js → LHFZE6DD.js} +2 -2
  109. package/dist/cdn/{X32H5P2S.js → LJAYMQTD.js} +1 -1
  110. package/dist/cdn/{YQDDOVQ6.js → LOKSHI6H.js} +2 -2
  111. package/dist/cdn/{J5C2PSRU.js → MDCTW3UD.js} +2 -2
  112. package/dist/cdn/{TBTXMQA7.js → MHJTRS2Z.js} +1 -1
  113. package/dist/cdn/{5CZQQPSI.js → MO57D6AJ.js} +2 -2
  114. package/dist/cdn/{6ITDYUPD.js → MQMDAPLL.js} +2 -2
  115. package/dist/cdn/{YOVQTRA2.js → N65X4OIV.js} +2 -2
  116. package/dist/cdn/{G5FCDPD5.js → NBYHV2CD.js} +2 -2
  117. package/dist/cdn/{S4GX3DFU.js → NGAL3AT4.js} +1 -1
  118. package/dist/cdn/{NF5OBDGI.js → NX3AL6KX.js} +2 -2
  119. package/dist/cdn/{EZMLG3E5.js → NYKALISS.js} +2 -2
  120. package/dist/cdn/OCCT2XPC.js +245 -0
  121. package/dist/cdn/{MDG63IQK.js → OCO2I7JK.js} +2 -2
  122. package/dist/cdn/{AOAPFKQ4.js → OWLEQU27.js} +2 -2
  123. package/dist/cdn/{KSKVBRHO.js → OZTSQ3OP.js} +2 -2
  124. package/dist/cdn/{X6KZU4UC.js → PDOLR4FS.js} +2 -2
  125. package/dist/cdn/{DD4SFWT4.js → PO25V3JY.js} +2 -2
  126. package/dist/cdn/{LBOWTJLI.js → POFOMWNP.js} +2 -2
  127. package/dist/cdn/{YM65T3SP.js → PZ5L5WGO.js} +2 -2
  128. package/dist/cdn/{4ZP6NTYZ.js → Q4ICG5Y7.js} +2 -2
  129. package/dist/cdn/{NKK2VDLV.js → Q5UN7M2S.js} +2 -2
  130. package/dist/cdn/{OAWLF6HG.js → QAD5SFE5.js} +2 -2
  131. package/dist/cdn/{P7RHG57V.js → QFJGVMK6.js} +2 -2
  132. package/dist/cdn/{DGBHFOTI.js → QNOWEVXH.js} +2 -2
  133. package/dist/cdn/{ZB52KUUI.js → QRBOEK5Z.js} +2 -2
  134. package/dist/cdn/{KJNJ3EDU.js → QSN45SKH.js} +2 -2
  135. package/dist/cdn/{7K6KS2RY.js → QXUPZ3MD.js} +2 -2
  136. package/dist/cdn/{XJKHLS7Y.js → R5BWR5QD.js} +2 -2
  137. package/dist/cdn/{T52DGCOX.js → RK3E2QZC.js} +2 -2
  138. package/dist/cdn/{KEV3Y2O4.js → RKJDI3RQ.js} +2 -2
  139. package/dist/cdn/{QFF77ANM.js → RLCXJPJC.js} +2 -2
  140. package/dist/cdn/{PVQEYC2Y.js → RNBRSDBA.js} +2 -2
  141. package/dist/cdn/{I73LTHWA.js → RWG56H3Q.js} +2 -2
  142. package/dist/cdn/{MKMPYOX7.js → S5KWGSSV.js} +2 -2
  143. package/dist/cdn/{LOYIYMJM.js → S6D4DB5Z.js} +2 -2
  144. package/dist/cdn/S6LNJ7C3.js +34 -0
  145. package/dist/cdn/{2WKXF3K7.js → SA3R435U.js} +2 -2
  146. package/dist/cdn/{SBJIQF55.js → T2435KTY.js} +2 -2
  147. package/dist/cdn/{K2P5N62S.js → T46OU4PI.js} +40 -38
  148. package/dist/cdn/{DRYTKIOF.js → T4AL65E5.js} +2 -2
  149. package/dist/cdn/{Q6XCJWJK.js → T5P46ZPN.js} +2 -2
  150. package/dist/cdn/{VB53APO4.js → THIC2UG3.js} +2 -2
  151. package/dist/cdn/{EVG63E4W.js → TNLLQWNS.js} +2 -2
  152. package/dist/cdn/{2V2VNQEY.js → TNWDAYYV.js} +2 -2
  153. package/dist/cdn/{YSC43FQ7.js → TXVYIJL3.js} +1 -1
  154. package/dist/cdn/{C55WZ44W.js → TZAOI5XR.js} +2 -2
  155. package/dist/cdn/{MG2A2GXU.js → U76X2XGL.js} +2 -2
  156. package/dist/cdn/{VJVBT37W.js → UDWEKA7Y.js} +2 -2
  157. package/dist/cdn/UOPM5PFW.js +4 -0
  158. package/dist/cdn/{DN2XFHC6.js → V2I57K3D.js} +2 -2
  159. package/dist/cdn/{B7ETL2EK.js → VKBCMTGI.js} +2 -2
  160. package/dist/cdn/{PPGDFU7L.js → VPUCRYMY.js} +2 -2
  161. package/dist/cdn/{UY52BUYU.js → VQD7CKJI.js} +3 -3
  162. package/dist/cdn/{MC42K4BE.js → VQL4FZEL.js} +2 -2
  163. package/dist/cdn/{DED5EXDW.js → VTPRHW3X.js} +2 -2
  164. package/dist/cdn/{LC42UBLG.js → W3N3SLTR.js} +2 -2
  165. package/dist/cdn/{2IUGTZQ4.js → WAN7MDZQ.js} +2 -2
  166. package/dist/cdn/{U75HWFU3.js → WFH5FNAA.js} +2 -2
  167. package/dist/cdn/{WFH7FHYW.js → WI7ITARU.js} +2 -2
  168. package/dist/cdn/{E7CUXRWH.js → WKS4YJO6.js} +2 -2
  169. package/dist/cdn/{ERGHUNJH.js → WWRMA4CV.js} +2 -2
  170. package/dist/cdn/{PL5TE3RR.js → X2CRJSAT.js} +2 -2
  171. package/dist/cdn/{WSQSFA3C.js → X4DS7ENP.js} +2 -2
  172. package/dist/cdn/{SSPDID7X.js → X62P3NFV.js} +2 -2
  173. package/dist/cdn/X7Z57GBE.js +4 -0
  174. package/dist/cdn/{HP7GTZVI.js → XD6U6SW2.js} +2 -2
  175. package/dist/cdn/{NFORHMJQ.js → XIZHBLBS.js} +2 -2
  176. package/dist/cdn/{BG4DMCNJ.js → XMEEEXQP.js} +2 -2
  177. package/dist/cdn/{MHZBPSJ7.js → XZURKCCQ.js} +2 -2
  178. package/dist/cdn/{EDTK6NQR.js → Y64A64YC.js} +2 -2
  179. package/dist/cdn/{AZJKZ4HQ.js → YBSH5HOH.js} +2 -2
  180. package/dist/cdn/{CZ3QZL2A.js → YHMZWA4E.js} +2 -2
  181. package/dist/cdn/{7VZNVZLS.js → YOMXHU5P.js} +2 -2
  182. package/dist/cdn/{65O7A5L3.js → YPQIUIXK.js} +2 -2
  183. package/dist/cdn/{KEM6XUXV.js → YU4NX5OA.js} +2 -2
  184. package/dist/cdn/{CJZPZRUC.js → YYIERA2R.js} +3 -3
  185. package/dist/cdn/{IXZJEX2U.js → ZUEZYJDH.js} +2 -2
  186. package/dist/cdn/{S2VZTD2H.js → ZVI7NTIN.js} +2 -2
  187. package/dist/cdn/{LHUXVL7P.js → ZXTN65F7.js} +2 -2
  188. package/dist/cdn/{KBU5NMHX.js → ZYAJ6T65.js} +2 -2
  189. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.en.json +1 -1
  190. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.en.json +1 -1
  191. package/dist/cdn/index.js +2 -2
  192. package/dist/cdn/main.css +1 -1
  193. package/dist/chart-rendering/common/data/utils/misc/index.d.ts +3 -8
  194. package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +31 -3
  195. package/dist/chart-rendering/common/defaults/interfaces.d.ts +0 -3
  196. package/dist/chart-rendering/common/selection/index.d.ts +16 -1
  197. package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +2 -2
  198. package/dist/chunks/action-bar-utils.js +16 -14
  199. package/dist/chunks/axis-lines-symbol.js +1 -1
  200. package/dist/chunks/axis-model-wrapper.js +1 -1
  201. package/dist/chunks/bar-chart-model.js +10 -8
  202. package/dist/chunks/bar-chart-series.js +12 -10
  203. package/dist/chunks/bg_BG.js +1 -1
  204. package/dist/chunks/bg_BG2.js +1 -1
  205. package/dist/chunks/box-plot-data.js +61 -59
  206. package/dist/chunks/box-plot-model.js +1 -1
  207. package/dist/chunks/chart-ui-utils.js +1 -1
  208. package/dist/chunks/chart-ui-utils2.js +40 -39
  209. package/dist/chunks/class-breaks.js +47 -47
  210. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  211. package/dist/chunks/common.js +1 -1
  212. package/dist/chunks/data-labels-symbol.js +1 -1
  213. package/dist/chunks/data-labels-visibility.js +14 -12
  214. package/dist/chunks/data.js +12 -10
  215. package/dist/chunks/default.js +1 -1
  216. package/dist/chunks/gauge-model.js +50 -48
  217. package/dist/chunks/generate-x-axis-title.js +37 -24
  218. package/dist/chunks/heat-chart-model.js +204 -178
  219. package/dist/chunks/histogram-data.js +36 -35
  220. package/dist/chunks/histogram-model.js +1 -1
  221. package/dist/chunks/index.js +4684 -10992
  222. package/dist/chunks/index2.js +23 -22
  223. package/dist/chunks/index3.js +1 -1
  224. package/dist/chunks/index4.js +1 -1
  225. package/dist/chunks/index5.js +1 -1
  226. package/dist/chunks/interfaces.js +1 -1
  227. package/dist/chunks/line-chart-model.js +1 -1
  228. package/dist/chunks/model-setter.js +14 -12
  229. package/dist/chunks/model-with-multi-axes.js +22 -20
  230. package/dist/chunks/negative-values-stacked-to-baseline.js +3 -1
  231. package/dist/chunks/pie-chart-data.js +12 -11
  232. package/dist/chunks/pie-chart-model.js +3 -1
  233. package/dist/chunks/popover-ui-utils.js +1 -1
  234. package/dist/chunks/radar-chart-model.js +3 -1
  235. package/dist/chunks/resource.js +1 -1
  236. package/dist/chunks/rest-js-object-literals.js +1 -1
  237. package/dist/chunks/rotated-state.js +4 -3
  238. package/dist/chunks/runtime.js +1 -1
  239. package/dist/chunks/scatterplot-model.js +2 -1
  240. package/dist/chunks/serial-chart-data.js +147 -149
  241. package/dist/chunks/serial-chart-model.js +1 -1
  242. package/dist/chunks/series-types.js +1 -1
  243. package/dist/chunks/sk_SK.js +1 -1
  244. package/dist/chunks/store.js +1 -1
  245. package/dist/chunks/type-guards.js +1 -1
  246. package/dist/chunks/useT9n.js +1 -1
  247. package/dist/chunks/utils.js +34 -33
  248. package/dist/chunks/utils2.js +14 -12
  249. package/dist/chunks/web-component-utils.js +16 -16
  250. package/dist/chunks/x-axis-labels-visibility.js +1 -1
  251. package/dist/components/arcgis-chart/customElement.js +3859 -3847
  252. package/dist/components/arcgis-chart/index.d.ts +1 -1
  253. package/dist/components/arcgis-chart/index.js +1 -1
  254. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -5
  258. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -2
  259. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -1
  260. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +4 -2
  261. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +7 -5
  262. package/dist/components/arcgis-charts-config-box-plot/customElement.js +6 -4
  263. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -1
  264. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -1
  265. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -1
  266. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +3 -1
  267. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -1
  269. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-create-flow/customElement.js +7 -6
  272. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-font-style/customElement.js +3 -1
  274. package/dist/components/arcgis-charts-config-format/customElement.js +75 -73
  275. package/dist/components/arcgis-charts-config-format-popover/customElement.js +9 -7
  276. package/dist/components/arcgis-charts-config-general/customElement.js +7 -5
  277. package/dist/components/arcgis-charts-config-guide/customElement.js +3 -1
  278. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +6 -4
  279. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  280. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +3 -1
  281. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +3 -1
  282. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +42 -39
  283. package/dist/components/arcgis-charts-config-heat-chart-data/resources.d.ts +1 -0
  284. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +57 -54
  285. package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -1
  286. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -1
  287. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -1
  288. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  289. package/dist/components/arcgis-charts-config-line-chart/customElement.js +3 -1
  290. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -1
  291. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -1
  292. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +3 -1
  293. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +3 -1
  294. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  295. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  296. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +3 -1
  297. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -1
  298. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -1
  299. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -1
  300. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -1
  301. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +7 -5
  302. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -1
  303. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -1
  304. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +3 -1
  305. package/dist/components/arcgis-charts-config-view-charts/customElement.js +3 -1
  306. package/dist/components/{arcgis-charts-config-info-modal → arcgis-charts-info-modal}/customElement.d.ts +2 -2
  307. package/dist/components/{arcgis-charts-config-info-modal → arcgis-charts-info-modal}/customElement.js +3 -3
  308. package/dist/docs/api.json +12 -12
  309. package/dist/docs/docs.json +5 -5
  310. package/dist/docs/vscode.html-custom-data.json +2 -2
  311. package/dist/docs/web-types.json +3 -3
  312. package/dist/index.d.ts +3 -3
  313. package/dist/index.js +1 -1
  314. package/dist/loader.js +3 -3
  315. package/dist/model/heat-chart-model/heat-chart-model.d.ts +5 -9
  316. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +0 -6
  317. package/dist/model.js +1 -1
  318. package/dist/types/lumina.d.ts +3 -3
  319. package/dist/types/preact.d.ts +4 -4
  320. package/dist/types/react.d.ts +5 -5
  321. package/dist/types/stencil.d.ts +3 -3
  322. package/dist/utils/chart-config/utils/class-breaks/index.d.ts +2 -2
  323. package/package.json +6 -4
  324. package/dist/cdn/3QBXYUT2.js +0 -4
  325. package/dist/cdn/7V6CFQ3E.js +0 -4
  326. package/dist/cdn/CVQQ5UBA.js +0 -4
  327. package/dist/cdn/D5BEY7UA.js +0 -4
  328. package/dist/cdn/FXYYEIZC.js +0 -4
  329. package/dist/cdn/HPXS5RFX.js +0 -244
  330. package/dist/cdn/KSQ43QP2.js +0 -4
  331. package/dist/cdn/MXDA5JOX.js +0 -34
  332. package/dist/cdn/N3JILFIW.js +0 -4
  333. package/dist/cdn/OWLKO37K.js +0 -4
  334. package/dist/cdn/RDZLIBPZ.js +0 -4
  335. package/dist/cdn/XDG2XVR5.js +0 -6
  336. package/dist/cdn/Y7WHWGON.js +0 -4
  337. /package/dist/components/{arcgis-charts-config-info-modal → arcgis-charts-info-modal}/index.d.ts +0 -0
  338. /package/dist/components/{arcgis-charts-config-info-modal → arcgis-charts-info-modal}/index.js +0 -0
  339. /package/dist/components/{arcgis-charts-config-info-modal → arcgis-charts-info-modal}/resource.d.ts +0 -0
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.127 */
4
- import o from"./MDG63IQK.js";import n from"./TWWHYPSV.js";import l from"./DF57GXCV.js";import k from"./KAT2GCFN.js";import j from"./T47VPY6L.js";import i from"./2UX4Q23U.js";import h from"./7V6CFQ3E.js";import g from"./BLX4A2V6.js";import f from"./OWLKO37K.js";import e from"./OBSUTMGU.js";import d from"./OKCGAUWV.js";import c from"./6CNEQWUI.js";import b from"./3K7XBPSX.js";import"./WSQSFA3C.js";import a from"./MXDA5JOX.js";import"./YSC43FQ7.js";import"./WBDA74LW.js";import"./DN2XFHC6.js";import{c as r}from"./Q64WOSAD.js";import{a as m}from"./WNCZF3NZ.js";import"./XDG2XVR5.js";import"./PG43TIFC.js";export default $arcgis.t(([{Fb:f,Fc:d,ya:h},{q:u},{c:i},{e:p},,{$:G,A:T,B:x,C:F,D:O,E:b,F:v,G:w,H:L,I:B,J:D,K:P,L:R,M:k,N:U,O:W,P:E,Q:M,R:H,S:I,T:N,U:V,V:X,W:Y,X:j,Y:K,Z:q,_:z,aa:J,ba:Q,ca:Z,da:$,ea:tt,fa:et,ga:it,la:c,w:_,x:S,y:C,z:A},{b:st,c:ot,i:rt,j:nt},,,,{b:gt},{b:at},,pt])=>{var ct=Object.defineProperty,lt=Object.getOwnPropertyDescriptor,s=(a,t,o,l)=>{for(var n=lt(t,o),g=a.length-1,y;g>=0;g--)(y=a[g])&&(n=y(t,o,n)||n);return n&&ct(t,o,n),n},e=class extends pt{constructor(){super(...arguments),this._chartType=m.HeatSeries}generateChartTitle(){return J(this.commonStrings)}async setup(t){await this.loadConfigFromLayer(t),this.setupLocalProps(),typeof this.resolveSetup=="function"&&this.resolveSetup()}get yAxisField(){return O(this._config)}set yAxisField(t){F({yField:t,config:this._config,layerInfo:this.layerInfo})}get viewType(){return Q(this._config)}set viewType(t){this.guardSetterFromAsyncOverwrite(()=>{Z(t,this._config),this.emitConfigUpdate("heatChartViewType")})}get xTemporalBinning(){return v(this._config)}set xTemporalBinning(t){b({commonStrings:this.commonStrings,binning:t,config:this._config})}get yTemporalBinning(){return L(this._config)}set yTemporalBinning(t){w({commonStrings:this.commonStrings,binning:t,config:this._config})}get breaksCount(){return $(this._config)}set breaksCount(t){this.guardSetterFromAsyncOverwrite(()=>{tt(t,this._config),this.emitConfigUpdate("breaksCount")})}get classificationMethod(){return et(this._config)}set classificationMethod(t){this.guardSetterFromAsyncOverwrite(()=>{t&&(it(t,this._config),this.emitConfigUpdate("classificationMethod"))})}get hideEmptyRowsAndColumns(){return _(this._config)}set hideEmptyRowsAndColumns(t){S(this._config,t)}get gridLineWidth(){return D(this._config)}set gridLineWidth(t){B(t,this._config)}get gridLineColor(){return R(this._config)}set gridLineColor(t){P(t,this._config)}get seriesName(){return rt(0,this._config)}set seriesName(t){typeof t=="string"&&nt(t,0,this._config)}get heatRulesType(){return A(this._config)}set heatRulesType(t){C(this._config,t)}get gradientRules(){return x(this._config)}set gradientRules(t){T(this._config,t)}get numericFields(){let t=W(this._config);return t!==void 0?[t]:[]}set numericFields(t){let o=t[0];f(o)||E(o,this._config)}get aggregationType(){return M(this._config)}set aggregationType(t){H(t,this._config)}get splitByField(){return""}set splitByField(t){}get legendPosition(){return U(this._config)}set legendPosition(t){k(t,this._config)}get nullPolicy(){return I(this._config)}set nullPolicy(t){N(t,this._config)}get emptyCell(){return V(this._config)}set emptyCell(t){this.guardSetterFromAsyncOverwrite(()=>{X(t,this._config),this.emitConfigUpdate("emptyCell")})}getSortOrder(){return r.Asc}setSortOrder(t,o){}getXAxisSortOrder(){let t=c(this._config)[0];return t===r.Asc||t===r.Desc||t===r.customSort?t:r.Asc}setXAxisSortOrder(t,o){p(t,this._config,o)}getYAxisSortOrder(){let t=c(this._config)[1];return t===r.Asc||t===r.Desc||t===r.customSort?t:r.Asc}setYAxisSortOrder(t,o){p(t,this._config,o,!0)}get emptyCellText(){return Y(this._config)}set emptyCellText(t){j(t,this._config)}get includeLeapDay(){return K(this._config)}set includeLeapDay(t){this.guardSetterFromAsyncOverwrite(()=>{q(t,this._config),this.emitConfigUpdate("includeLeapDay")})}get emptyCellSymbol(){return z(this._config)}set emptyCellSymbol(t){G(t,this._config)}get rotatedState(){return!1}set rotatedState(t){}setAssignToSecondValueAxis(t,o){}set stackedType(t){}set binTemporalData(t){}set nullCategory(t){}generateDefaultConfig(){let t=h(this.commonStrings,d(this.layerInfo.layer).idField);return t.axes?.forEach((o,l)=>{o&&(o.valueFormat={intlOptions:{timeZone:void 0,dateStyle:l>0?"long":"medium"},type:"date"})}),t}};s([i],e.prototype,"yAxisField");s([i],e.prototype,"xTemporalBinning");s([i],e.prototype,"yTemporalBinning");s([i],e.prototype,"hideEmptyRowsAndColumns");s([i],e.prototype,"gridLineWidth");s([i],e.prototype,"gridLineColor");s([i],e.prototype,"seriesName");s([i],e.prototype,"heatRulesType");s([i],e.prototype,"gradientRules");s([i],e.prototype,"numericFields");s([i],e.prototype,"aggregationType");s([i],e.prototype,"splitByField");s([i],e.prototype,"legendPosition");s([i],e.prototype,"nullPolicy");s([i],e.prototype,"setSortOrder");s([i],e.prototype,"setXAxisSortOrder");s([i],e.prototype,"setYAxisSortOrder");s([i],e.prototype,"emptyCellText");s([i],e.prototype,"emptyCellSymbol");s([i],e.prototype,"rotatedState");s([i],e.prototype,"setAssignToSecondValueAxis");s([i],e.prototype,"stackedType");s([i],e.prototype,"binTemporalData");s([i],e.prototype,"nullCategory");var yt=[ot,at,gt,st];u(e,yt);return e},a,b,c,d,e,f,g,h,i,j,k,l,n,o)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.127 */
4
- import e from"./OBSUTMGU.js";import d from"./OKCGAUWV.js";import c from"./6CNEQWUI.js";import b from"./3K7XBPSX.js";import{g as ne,i as T,j as v,k as C,l as oe,m as We,n as Je}from"./WSQSFA3C.js";import a from"./MXDA5JOX.js";import{d as G,g as H,j as fe,s as Z,y as be}from"./YSC43FQ7.js";import{a as z}from"./Q64WOSAD.js";import{a as N,b as B,e as Se,h as Fe,k as _,n as U,o as xe,v as h,y as he}from"./WNCZF3NZ.js";export default $arcgis.t(([,,,,,,,{substitute:M},,,,,,,,{$c:Qe,Ac:Ve,Bb:w,Da:Oe,Fc:P,Gc:Ee,Ic:te,Jc:_e,Lc:ae,Ma:j,Mc:re,Md:V,O:Ie,Q:Ce,Qc:Ue,S:ee,T:Ae,Ta:ie,Tb:De,U:qe,Vb:se,Xc:Xe,Yc:X,Z:we,Zc:ze,_c:R,ad:A,e:$,ea:Le,ha:ke,ia:Me,k:Be,ka:Ne,tb:q,tc:$e,vc:je,w:Te,wc:Pe,x:ve,yc:Re,yd:Ye},{a:O,b:le,d:b,e:ce,f:He,g:ge,n:Ze,r:ei},{a:Ke,b:Q,c:Ge},{a:ii,b:ye,f:D,g:Y,i:de},{c:W}])=>{var mi=Object.defineProperty,pi=Object.getOwnPropertyDescriptor,fi=(i,e,s,r)=>{for(var a=pi(e,s),t=i.length-1,n;t>=0;t--)(n=i[t])&&(a=n(e,s,a)||a);return a&&mi(e,s,a),a},ai=i=>i.title?.content.text??"",Si=(i,e)=>{e.title!==void 0?e.title.content.text=i:e.title===void 0&&i!==void 0&&(e.title=Ce({text:i,visible:!0,font:Ie(Te.ChartTitle)}))},ue=class extends Q{get titleText(){return ai(this._config)}set titleText(e){Si(e,this._config)}};fi([Ge],ue.prototype,"titleText");var Fi=i=>i.series.map(e=>String(X({where:e.query?.where}))).filter(e=>e!==void 0&&e.trim()!==""),si=class extends Q{get splitByValues(){return Fi(this._config)}},xi=i=>{let e,s=i.series[0];return A(s)&&(e=s.temporalBinning?.size),e},hi=i=>{let e,s=i.series[0];return A(s)&&(e=s.temporalBinning?.unit),e},bi=i=>{let e,s=i.series[0];return A(s)&&(e=s.temporalBinning?.timeAggregationType),e},Bi=i=>{let e,s=i.series[0];return A(s)&&(e=s.temporalBinning?.trimIncompleteTimeInterval),e},Ti=i=>{let e,s=i.series[0];return A(s)&&(e=s.temporalBinning?.nullPolicy),e},ri=(i,e)=>{e?.series?.forEach(s=>{A(s)&&(s.temporalBinning??={},s.temporalBinning.size=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},vi=(i,e)=>{e?.series?.forEach(s=>{A(s)&&(s.temporalBinning??={},s.temporalBinning.nullPolicy=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},ms=(i,e)=>{e.series?.forEach(s=>{A(s)&&(s.temporalBinning??={},s.temporalBinning.unit=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},ps=(i,e)=>{e.series?.forEach(s=>{A(s)&&(s.temporalBinning??={},s.temporalBinning.timeAggregationType=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},fs=(i,e)=>{e.series?.forEach(s=>{A(s)&&(s.temporalBinning??={},s.temporalBinning.trimIncompleteTimeInterval=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},Ss=i=>{ri(0,i)},ni=i=>i.series.length??0,ti=class extends Q{get seriesLength(){return ni(this._config)}};function Fs(i,e){let s;return e!==void 0&&(s={...e},s.legend!==void 0&&(s.legend.position=i)),s}function xs(i,e){let s;return e!==void 0&&(s={...e},s.legend!==void 0&&(s.legend.visible=i)),s}function hs(i,e){let s;return e!==void 0&&(s={...e,rotated:i}),s}function Ii(i){let e;return i!==void 0&&(e={...i},delete e.axes?.[0]?.minimum,delete e.axes?.[0]?.maximum,delete e.axes?.[1]?.minimum,delete e.axes?.[1]?.maximum),e}function bs(i,e){return e!=null||ne(i)}async function Ci(i){let{queryObject:e,chartConfig:s,options:r,splitByField:a}=i,t=[],n,l=H(s),o=l.series[0],c=Ue({queryObject:e,chartConfig:l,runtimeDataFilters:r?.runtimeDataFilters,ignoreViewExtent:r?.ignoreViewExtent});if(c.outStatistics?.[0]?.outStatisticFieldName&&(c.outStatistics[0].outStatisticFieldName=ve.outStatistics.outStatisticFieldName),A(o)&&Qe({xAxisValueFormatType:Be(l),setTimeBinningInfoWhenNotProvided:r?.setTimeBinningInfoWhenNotProvided,seriesConfig:o})&&$e(e)){let{temporalBinning:f,x:g}=o,{uniqueQuery:F}=await se({chartConfig:l,queryConfig:c,queryObject:e,options:r});n=await Ve({queryObject:e,dateField:g,splitByField:a,queryConfig:F,temporalBinning:f}),t=Array.from(new Set(n.flatMap(S=>{let{stackedAttributes:d}=S,y=[];return d&&(y=d.map(p=>p[a]).filter(p=>p!==void 0)),y})).values())}else{let{uniqueQuery:f}=await se({chartConfig:l,queryObject:e,queryConfig:c,options:r});n=await Re({queryObject:e,queryConfig:f,featureCount:1}),t=Array.from(new Set(n.map(g=>g.attributes[a]).filter(g=>g!==void 0)).values())}return{allValues:t,preFetchedQueryResponse:n}}function Ai(i,e){let s=new Map;return i.series.forEach(r=>{let a=X({where:r.query?.where,normalize:!0,escape:!1});e&&a!==null&&(a=Number(a));let t=he([r]);t!==void 0&&s.set(t,[...s.get(t)??[],a])}),s}function qi(i){let{allValues:e,configUniqueValuesPerSeriesType:s,initialConfigWasEmpty:r}=i,a=new Map;return Array.from(s.keys()).forEach(t=>{let n=s.get(t)??[],l=[];r?l=e:e.forEach(o=>{n.includes(o)||l.push(o)}),a.set(t,l)}),a}function wi(i){let{chartConfig:e,missingValue:s,splitByField:r,seriesTemplate:a}=i,t=JSON.parse(JSON.stringify({...e.series[0],...a}));if(t.query){if(t.id=`${s}-${e.series.length}-${Date.now()}`,t.name=`${s}`,t.query.outStatistics?.[0]!==void 0){let l=t.id;t.query.outStatistics[0].outStatisticFieldName=l,"y"in t&&(t.y=l)}let n=typeof s=="number"||s===null?s:`'${s}'`;t.query.where=`${r}=${n}`}return t}async function Li(i){let{updateSplitBySeries:e,config:s,options:r,queryObject:a}=i,{seriesTemplate:t}=e??{},n;if(e!==void 0&&s!==void 0&&(s.series.length>0||t!==void 0)&&e.addMissingSeries){let l=s.series.length===0;s.series.length===0&&t!==void 0&&s.series.push(t);let o=R(s.series);if((o===q.BoxPlotMonoFieldAndSplitBy||o===q.BoxPlotMultiFieldsAndSplitBy||o===q.BoxPlotMonoFieldAndCategoryAndSplitBy||o===q.BarAndLineSplitBy||o===q.BarAndLineSplitByNoAggregation)&&a!==void 0){let c=Xe(s.series[0]?.query?.where),f=je(a);await f.load();let g=f.getField(c)?.toJSON(),F=Ee(g),S=await Ci({queryObject:a,chartConfig:s,splitByField:c,options:r}),{allValues:d}=S;if({preFetchedQueryResponse:n}=S,d.length>0){let y=Ai(s,F),p=qi({allValues:d,configUniqueValuesPerSeriesType:y,initialConfigWasEmpty:l});Array.from(p.keys()).forEach(m=>{(p.get(m)??[]).forEach(u=>{s.series.push(wi({chartConfig:s,seriesTemplate:t,missingValue:u,splitByField:c}))}),l&&s.series.shift()})}}}return n}function ki(i,e){e&&!ne(e)&&(e=Pe({chartConfig:e,queryObject:i}))}async function Bs(i){let{configToAlter:e,layer:s,addMissingSeries:r,updateSplitBySeries:a,chartContainer:t,queryObject:n,options:l}=i,o=e,c;return o&&(ki(s,o),o=await Ke(o,s),r&&(c=await Li({updateSplitBySeries:a,config:o,options:l,queryObject:n})),o=Ye(o,t)),{alteredConfig:o,preFetchedQueryResponse:c}}var Ts=i=>i.hideEmptyRowsAndColumns,vs=(i,e)=>{i.hideEmptyRowsAndColumns=e},Is=(i,e)=>{let s=i.series[0];s.heatRulesType=e},Cs=i=>i.series[0].heatRulesType,As=(i,e)=>{let s=i.series[0];s.gradientRules=e},qs=i=>i.series[0].gradientRules,ws=i=>{let{yField:e,config:s,layerInfo:r}=i,{layerFieldsInfo:a}=r,t=W(1,s),n=Mi(s),l=V(s),o=s.series[0];if(typeof e=="string"&&n!==e&&o&&(o.y=e,Ii(s),n===t||l)){let c=w(a,e);O(s,1,c)}},Mi=i=>i.series[0].y??"",Ls=i=>{let{binning:e,config:s,commonStrings:r}=i,a=s.series[0];if(a.xTemporalBinning=e,e?.unit!==void 0&&e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits){let t=r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];O(s,0,t)}},ks=i=>i.series[0].xTemporalBinning,Ms=i=>{let{binning:e,config:s,commonStrings:r}=i,a=s.series[0];if(a.yTemporalBinning=e,e?.unit!==void 0&&e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits){let t=r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];O(s,1,t)}},Ns=i=>i.series[0].yTemporalBinning,Ni=(i,e)=>{e.orderOptions??={};let s=e.axes?.[0]?.valueFormat?.type==="category"?h.Category:h.YValue,r=me(e)[0],a=e.axes?.[1]?.valueFormat?.type==="category"?h.Category:h.YValue,t=me(e)[1],n={...e.orderOptions.data??{},orderType:h.MultiAxes};r===z.customSort&&s===h.Category&&(n.orderByX=[...i]),t===z.customSort&&a===h.Category&&(n.orderByY=[...i]),Object.keys(n).length>1&&(e.orderOptions.data=n)},Os=(i,e)=>{let s=e.series[0];s.gridLine&&(s.gridLine.width=i)},Ds=i=>i.series[0].gridLine?.width,$s=(i,e)=>{let s=e.series[0],r=i?.length===4&&i.every(a=>typeof a=="number");s.gridLine&&r&&(s.gridLine.color=i)},js=i=>i.series[0].gridLine?.color,Ps=(i,e)=>{let s=e.legend;s&&(s.position=i)},Rs=i=>i.legend?.position??Se.Bottom,Vs=i=>i.series[0].query?.outStatistics?.[0]?.onStatisticField,Es=(i,e)=>{let s=e.series[0].query?.outStatistics?.[0];s?(s.onStatisticField=i,s.outStatisticFieldName=`${s.statisticType}_${i}`):e.series[0].query={outStatistics:[{onStatisticField:i,outStatisticFieldName:`${B.Count}_${i}`,statisticType:B.Count}]}},_s=i=>i.series[0].query?.outStatistics?.[0].statisticType??B.Count,Us=(i,e)=>{let s=e.series[0]?.query?.outStatistics?.[0];s&&i!==B.NoAggregation&&(s.statisticType=i,s.outStatisticFieldName=`${i}_${s.onStatisticField}`)},Xs=i=>i.nullPolicy,zs=(i,e)=>{e.nullPolicy=i},Qs=i=>i.series[0].emptyCells,Ys=(i,e)=>{e.series[0].emptyCells=i},Ws=i=>i.series[0].emptyCells?.text,Js=(i,e)=>{e.series[0].emptyCells?e.series[0].emptyCells.text=i:e.series[0].emptyCells={text:i}},Ks=i=>i.includeLeapDay,Gs=(i,e)=>{e.includeLeapDay=i},Hs=i=>i.series[0].emptyCells?.symbol,Zs=(i,e)=>{e.series[0].emptyCells?e.series[0].emptyCells.symbol=i:e.series[0].emptyCells={symbol:i}};function et(i){return we(i)}function it(i){return i.viewType}function st(i,e){De(e)||(e.viewType=i)}function tt(i){return i.series[0].classBreaksRules?.breaksCount??j.classBreaks.breaksCount}function at(i,e){e.series[0].classBreaksRules!==void 0?e.series[0].classBreaksRules.breaksCount=i??j.classBreaks.breaksCount:e.series[0].classBreaksRules={breaksCount:i??j.classBreaks.breaksCount}}function rt(i){return i.series[0].classBreaksRules?.classificationMethod}function nt(i,e){e.series[0].classBreaksRules!==void 0?e.series[0].classBreaksRules.classificationMethod=i:e.series[0].classBreaksRules={classificationMethod:i},e.series[0].classBreaksRules.breaksCount=e.series[0].classBreaksRules.breaksCount??j.classBreaks.breaksCount}function E(i){let{seriesIndex:e,xAxisField:s,aggregationType:r,config:a,layerInfo:t,commonStrings:n}=i,l=P(t?.layer).idField,o,c=a.series[e??0],f=!1,g=!1,F=!1;if(c===void 0){let y=a.series;f=y.slice(0,e).every(p=>T(p)),g=y.slice(0,e).every(p=>v(p)),F=y.slice(0,e).every(p=>oe(p))}else f=T(c),g=v(c),F=oe(c);f?o=ke({commonStrings:n,seriesIndex:e,objectIDField:l}):g?o=Me({commonStrings:n,seriesIndex:e,objectIDField:l}):F?o=Le(n,l):o=Ne({seriesIndex:e,objectIDField:l,commonStrings:n});let S=a.series[0]?.dataLabels,d={...o,x:s,y:"",dataLabels:{...o.dataLabels,type:o.dataLabels?.type??N.Text,content:{...o.dataLabels?.content,...S?.content,type:be.TS},visible:S?.visible??!1}};if(d.query={groupByFieldsForStatistics:[s]},r!==B.NoAggregation&&l!==void 0){let y=`${r}_${l}_0`.toUpperCase();d.y=y,d.query.outStatistics=[{statisticType:r,onStatisticField:l,outStatisticFieldName:y}]}if(T(d)||v(d)||C(d)&&a.series[0]?.binTemporalData){let y;if(a?.series?.[0]!==void 0&&(y=R(a.series)),y!==q.BarAndLineNoAggregation&&y!==q.BarAndLineSplitByNoAggregation){let p=hi(a);p===_.Quarter&&(p=_.Month),d.temporalBinning={size:xi(a),unit:p,timeAggregationType:bi(a),trimIncompleteTimeInterval:Bi(a),nullPolicy:Ti(a)}}}return H(d)}function oi(i,e,s){let{layerFieldsInfo:r}=e,{idField:a,isTraditionalTypeOID:t}=P(e.layer),n=D(i),l=pe(i),o=ci(i),c=J(i),f=t&&(l.length===0||l.includes(a)),g=Oe(o,s),F=f?"":l.map(x=>w(r??[],x)).join(", "),S=w(r??[],n),d=w(r??[],c),y=i.series.some(x=>C(x)),p=y?"category":"xAxisField",m=S,u="";if(de({fieldName:n,numericFields:l,fieldList:r}))u=M(s.titleLabels.aggrTypeOfAggrFields,{aggregationType:g,aggregationFields:F});else if(o===B.NoAggregation){let x=f?a:F;if(c===""){let k=y?"aggrTypeCategory":"aggrTypeXAxisField";u=M(s.titleLabels[k],{aggregationType:x,[p]:m})}else{let k=y?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";u=M(s.titleLabels[k],{aggregationType:x,[p]:m,splitByField:d})}}else if(o===B.Count)if(c===""){let x=y?"aggrTypeCategory":"aggrTypeXAxisField";u=M(s.titleLabels[x],{aggregationType:g,[p]:m})}else{let x=y?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";u=M(s.titleLabels[x],{aggregationType:g,[p]:m,splitByField:d})}else if(c!==""){let x=y?"aggrTypeOfAggrFieldByCategoryBySplitByField":"aggrTypeOfAggrFieldByXAxisFieldBySplitByField";u=M(s.titleLabels[x],{aggregationType:g,aggregationField:F,[p]:m,splitByField:d})}else if(l.length>0){let x=y?"aggrTypeOfAggrFieldsByCategory":"aggrTypeOfAggrFieldsByXAxisField";u=M(s.titleLabels[x],{aggregationType:g,aggregationFields:F,[p]:m})}return u}var li=i=>X({where:i.query?.where,normalize:!1,escape:!1})??"",ci=i=>i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType??B.NoAggregation,J=G(i=>{let e=i?.series?.[0]?.query?.where?.split("=")[0].trim()??"";return ze(i?.series?.[0]?.query?.where)?"":e},i=>i?.series?.[0]?.query?.where),pe=G(i=>{let e=[];if(J(i)==="")e=i?.series.map(s=>{let r=s.query?.outStatistics?.map(a=>a.onStatisticField)??[];return r?.length>0?r:s.y}).flat()??[];else{let s=i?.series?.[0],r=s?.query?.outStatistics?.[0]?.onStatisticField??[s?.y].flat()[0];e=r!==void 0?[r]:[]}return[...new Set(e.filter(s=>s!==""))]},i=>i?.series);function Oi(i){let{numericFields:e,aggregationType:s,config:r,layerInfo:a}=i,t=!1;s===B.Count?t=!0:s===B.NoAggregation&&(t=e.every(o=>{let c=a.layerFieldsInfo.find(f=>f.name===o);return c!==void 0?te(c):!1})),ge(r,1,t);let n=r.series.some(o=>T(o)),l=r.series.some(o=>v(o));if(n||l){let o=D(r),c=a.layerFieldsInfo.find(g=>g.name===o),f=c!==void 0&&te(c);ge(r,0,f)}}var me=i=>{let e;if(ie(i)){let s=i.orderOptions?.data?.orderByX??[""],r=i.orderOptions?.data?.orderByY??[""],a=i.axes?.[0]?.valueFormat?.type==="category"?h.Category:h.YValue,t=i.axes?.[1]?.valueFormat?.type==="category"?h.Category:h.YValue;e=[ye(s,a),ye(r,t)]}else{let s=i.orderOptions?.data?.orderType??h.Category,r=i.orderOptions?.data&&"orderBy"in i.orderOptions.data?i.orderOptions.data.orderBy:Fe.Ascending;e=[ii(r,s)]}return e};function Di(i){let{xAxisField:e,numericFields:s,aggregationType:r,config:a,layerInfo:t,commonStrings:n}=i,{layerFieldsInfo:l}=t,o=!1,c=E({config:a,xAxisField:e,aggregationType:r,layerInfo:t,seriesIndex:0,commonStrings:n}),f=Y({config:a,xAxisField:e,numericFields:s,aggregationType:r,layer:t.layer,fieldList:l}).name,g={...c,id:`series_${Date.now()}`,name:n.axisLabels.values,x:$,y:f},F=[];for(let d of s)F.push({onStatisticField:d,outStatisticFieldName:`${d}_0`.toUpperCase(),statisticType:r});g.query={outStatistics:F};let S=a.series[0];return S!==void 0&&(g.id=S.id,a.colorMatch||(C(S)&&C(g)?g.fillSymbol=S.fillSymbol:(T(g)&&T(S)||v(g)&&v(S))&&(g.lineSymbol=S.lineSymbol,g.markerSymbol=S.markerSymbol),o=!0),g.id=S.id,S.name!==c.name&&(g.name=S.name)),a.series.length===1&&!a.colorMatch&&(C(g)?g.fillSymbol=a.series[0].fillSymbol:(T(g)||v(g))&&(g.lineSymbol=a.series[0].lineSymbol,g.markerSymbol=a.series[0].markerSymbol),o=!0),a.colorMatch=!o,[g]}function gi(i){let{xAxisField:e,numericFields:s,aggregationType:r,config:a,layerInfo:t,commonStrings:n}=i,{layerFieldsInfo:l}=t,o=P(t.layer).idField,c=[],f=!1;for(let g=0;g<s.length;g+=1){let F=E({config:a,xAxisField:e,aggregationType:r,layerInfo:t,seriesIndex:g,commonStrings:n}),S=Y({config:a,xAxisField:e,numericFields:s,aggregationType:r,layer:t.layer,numericFieldIndex:g,fieldList:l}).name,d=s[g],y={...F,query:{...F.query}};s&&d!==o&&(y={...y,id:d,name:w(l,d)});let p=d;y.query!==void 0&&(r!==B.NoAggregation?(p=S,y.query.outStatistics=[{...F.query?.outStatistics?.[0]??{},onStatisticField:d,outStatisticFieldName:S,statisticType:r}]):delete y.query.outStatistics),y.y=p;let m=a.series.find(u=>u.query?.outStatistics?.[0]?.onStatisticField===d&&u.query.where===void 0);if(m!==void 0&&typeof m.y=="string"&&m.y.trim()!==""){a.colorMatch||(C(y)&&C(m)?y.fillSymbol=m.fillSymbol:(T(y)&&T(m)||v(y)&&v(m))&&(y.lineSymbol=m.lineSymbol,y.markerSymbol=m.markerSymbol),f=!0);let u=E({config:a,xAxisField:e,aggregationType:r,layerInfo:t,seriesIndex:g,commonStrings:n});y.id=m.id,m.id!==u.id&&m.name!==u.name&&(y.id=m.id,y.name=m.name)}c.push(y)}return a.series.length===1&&c.length===1&&!a.colorMatch&&(C(a.series[0])&&C(c[0])?c[0].fillSymbol=a.series[0].fillSymbol:(T(a.series[0])&&T(c[0])||v(a.series[0])&&v(c[0]))&&(c[0].lineSymbol=a.series[0].lineSymbol,c[0].markerSymbol=a.series[0].markerSymbol),f=!0),a.colorMatch=!f,c}async function $i(i){let{splitByField:e,xAxisField:s,numericFields:r,aggregationType:a,config:t,layerInfo:n,commonStrings:l}=i,{layer:o,layerFieldsInfo:c}=n,{fetchNullValues:f}=t?.series?.[0]?.query??{},g=s!==$?s:void 0,{categoriesArray:F,splitByFieldType:S,numericalField:d}=await Ze({config:t,layer:o,layerFieldsInfo:c,xAxisField:g,aggregationFields:r,splitByField:e,fetchNullValues:f}),y=[],p=!1;if(F.length===0){y=gi({xAxisField:s,numericFields:r,aggregationType:a,config:t,layerInfo:n,commonStrings:l});for(let m of y)m.query&&(m.query.where=`${e}=''`)}else for(let m=0;m<F.length;m+=1){let u=F[m],x=Y({config:t,xAxisField:s,numericFields:r,aggregationType:a,layer:n.layer,seriesIndex:m,splitByField:e,fieldList:c}).name,k=E({config:t,xAxisField:s,aggregationType:a,layerInfo:n,seriesIndex:m,commonStrings:l}),yi={fieldName:e,fieldValueToMatch:u??"",subtypeInfo:ae(n.layer),fieldList:n.layerFieldsInfo},di=re(yi),K=`${u}`,I={...k,id:K,name:di??K,y:x,query:{...k.query,where:`${e}=${S===Z.String&&u!==null?`'${u}'`:u}`,outStatistics:a!==B.NoAggregation?[{...k.query?.outStatistics?.[0]??{},onStatisticField:d,outStatisticFieldName:x,statisticType:a}]:void 0}};a===B.NoAggregation&&(I.query!==void 0&&(delete I.query.outStatistics,delete I.query.groupByFieldsForStatistics),I.y=d);let L=t.series.find(ui=>String(li(ui)).trim().replace(/'/gu,"")===K);L!==void 0&&(t.colorMatch||(C(I)&&C(L)?I.fillSymbol=L.fillSymbol:(T(I)&&T(L)||v(I)&&v(L))&&(I.lineSymbol=L.lineSymbol,I.markerSymbol=L.markerSymbol),p=!0),I.id=L.id,I.name=L.name),y.push(I)}return t.colorMatch=!p,y}var ot=async i=>{let{xAxisField:e,splitByField:s,numericFields:r,aggregationType:a,config:t,layerInfo:n,commonStrings:l}=i,{layerFieldsInfo:o}=n??{},c=ni(t),f=D(t),g=ji(t,n,l),F=Pi(t,n,l),S=Ri(t,n),d=ce(t),y=t.series.some(u=>C(u)),p=We(t.series),m=Je(t.series);if(o!==void 0){let u=_e(o);!u.includes(f)&&u.includes(e)?d=Ae():u.includes(f)&&!u.includes(e)&&(y?d=ee():d=qe()),o.find(x=>x.name===e)?.type===Z.String&&(d=ee()),d!==void 0&&He(t,l,d)}if(c===0&&(t.series=[E({config:t,xAxisField:e,aggregationType:a,layerInfo:n,commonStrings:l})]),t.series.forEach(u=>{u.x=e,u.query!==void 0&&(u.query.groupByFieldsForStatistics=[e])}),s===""||r.length>1?de({fieldName:e,numericFields:r,fieldList:o})?t.series=Di({config:t,layerInfo:n,xAxisField:e,numericFields:r,aggregationType:a,commonStrings:l}):t.series=gi({config:t,layerInfo:n,xAxisField:e,numericFields:r,aggregationType:a,commonStrings:l}):(await Promise.resolve(),t.series=await $i({config:t,layerInfo:n,splitByField:s,xAxisField:e,numericFields:r,aggregationType:a,commonStrings:l})),S){let u=w(o,e);O(t,0,u)}if(F){let u=le({config:t,layerInfo:n,commonStrings:l,numericFields:r,aggregationType:a});O(t,1,u)}if(t.title&&g&&(t.title.content.text=oi(t,n,l)),b({config:t,value:null,axisIndex:1,isMax:!1}),b({config:t,value:null,axisIndex:1,isMax:!0}),Oi({numericFields:r,aggregationType:a,config:t,layerInfo:n}),p||m){b({config:t,value:null,axisIndex:0,isMax:!1}),b({config:t,value:null,axisIndex:0,isMax:!0}),ri(0,t);let u=d?.type===N.DateAxisFormat?U.Null:U.Interpolate;vi(u,t)}},lt=i=>{let{config:e,seriesIndex:s,layerInfo:r,commonStrings:a}=i,t=e.series?.[s],n=J(e),l;if(R(e.series)===q.BarAndLineFromFields)l=a.axisLabels.values;else if(fe(n)){let o=t.query?.outStatistics?.[0]?.onStatisticField;o!==void 0&&o!==P(r.layer).idField&&(l=w(r.layerFieldsInfo,o))}else{let o=String(li(t)).trim().replace(/'/gu,""),c={fieldName:J(e),fieldValueToMatch:o??"",subtypeInfo:ae(r.layer),fieldList:r.layerFieldsInfo};l=re(c)??o}return l??t.id},ct=(i,e)=>{if(ie(e))Ni(i,e);else{e.orderOptions??={};let s=e.orderOptions?.data?.orderType;me(e)[0]===z.customSort&&s===h.Category&&(e.orderOptions.data={orderType:h.Category,orderBy:[...i]})}},gt=async(i,e)=>{let s=D(i),r=ce(i)?.type,a=pe(i),t=R(i.series),n=[];return r===N.CategoryAxisFormat&&(t===q.BarAndLineFromFields||s===$?n=a.map(l=>w(e?.layerFieldsInfo,l)):s.trim()!==""&&s!==$&&e!==void 0&&(n=await ei({layerInfo:e,config:i,category:s}))),n};function ji(i,e,s){let r=oi(i,e,s),a=ai(i),t=V(i);return r===a||t}function Pi(i,e,s){let r=le({config:i,layerInfo:e,commonStrings:s,numericFields:pe(i),aggregationType:ci(i)}),a=W(1,i),t=V(i);return r===a||t}function Ri(i,e){let s=w(e.layerFieldsInfo,D(i)),r=W(0,i),a=V(i);return s===r||a}function yt(i){return i.series[0]?.binTemporalData??!1}function dt(i,e){e?.series.forEach(s=>{(s?.type===N.BarSeries||s?.type===N.LineSeries)&&(s.binTemporalData=i,i?s.temporalBinning={unit:_.Day,size:0,timeAggregationType:xe.Start,trimIncompleteTimeInterval:!0,nullPolicy:U.Null}:delete s.temporalBinning)})}return{a:ai,b:ue,c:Fi,d:si,e:xi,f:hi,g:bi,h:Bi,i:Ti,j:ri,k:vi,l:ms,m:ps,n:fs,o:Ss,p:ti,q:Fs,r:xs,s:hs,t:Ii,u:bs,v:Bs,w:Ts,x:vs,y:Is,z:Cs,A:As,B:qs,C:ws,D:Mi,E:Ls,F:ks,G:Ms,H:Ns,I:Os,J:Ds,K:$s,L:js,M:Ps,N:Rs,O:Vs,P:Es,Q:_s,R:Us,S:Xs,T:zs,U:Qs,V:Ys,W:Ws,X:Js,Y:Ks,Z:Gs,_:Hs,$:Zs,aa:et,ba:it,ca:st,da:tt,ea:at,fa:rt,ga:nt,ha:oi,ia:ci,ja:J,ka:pe,la:me,ma:ot,na:lt,oa:ct,pa:gt,qa:yt,ra:dt}},"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,c,d,e)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.127 */
4
- import{v as g,y as p}from"./YSC43FQ7.js";function m(s){let r=s.toRgba();return r[3]=Math.round(r[3]*255),r}function M(s,r,n){let l=Math.max(0,Math.min(1,n));return[Math.round(s[0]+(r[0]-s[0])*l),Math.round(s[1]+(r[1]-s[1])*l),Math.round(s[2]+(r[2]-s[2])*l),Math.round(s[3]+(r[3]-s[3])*l)]}function b(s,r){let n=[],l=[],t=!1;if(s.colorsForClassBreaks&&s.colorsForClassBreaks.length>0){let e=s.colorsForClassBreaks.find(o=>o.numClasses===r);if(e?.colors?.length===r){let o=e.colors.map(a=>m(a));l=s.colors[0]!==e.colors[0]?o.reverse():o,t=!0}}if(!t){let e=s.colors||[];if(e.length>0){for(let o=0;o<r;o++){let a=r>1?o/(r-1):0,c=Math.floor(a*(e.length-1)),u=Math.min(c+1,e.length-1),i=a*(e.length-1)-c,h=m(e[c]),d=m(e[u]),f=M(h,d,i);n.push(f)}l=n}}return l}function k(s){let{numberOfClassBreaks:r,selectedColorRamp:n,colorRamp:l}=s,t=[],e=[237,248,251,255],o=[136,65,157,255];if(l&&l.length>0)e=l[0],o=l[l.length-1],l.length===r&&(t=l);else if(n){let a=b(n,r);a.length>0&&(t=a)}if(t.length===0){let a=[];if(r>1)for(let c=0;c<r;c++){let u=c/(r-1),i=M(e,o,u);a.push(i)}else a.push(e);t=a}return t}function S(s,r){return`\u2264 ${(n=>{let l="";return n%1===0?l=n.toString():l=Math.round(n).toString(),l})(r)}`}function y(s){let{classBreaksRendererResult:r,numberOfClassBreaks:n,selectedColorRamp:l,colorRamp:t}=s,e=[];if(r?.classBreaksResult.classBreakInfos){let o=k({numberOfClassBreaks:n,selectedColorRamp:l,colorRamp:t});r.classBreaksResult.classBreakInfos.forEach((a,c)=>{let{maxValue:u,minValue:i}=a,h=Math.ceil(u),d=Math.floor(i),f=S(d,h);e.push({classMinValue:d,classMaxValue:h,label:f,symbol:{type:p.SFS,style:g.Solid,color:o[c]||[0,0,0,255],outline:{style:g.Solid,width:.5,color:[50,50,50,.6]}}})})}return e}function C(s){let r="#000000";if(s&&Array.isArray(s)&&s.length>=3){let n=Math.max(0,Math.min(255,Math.round(s[0]||0))),l=Math.max(0,Math.min(255,Math.round(s[1]||0))),t=Math.max(0,Math.min(255,Math.round(s[2]||0))),e=n.toString(16).padStart(2,"0"),o=l.toString(16).padStart(2,"0"),a=t.toString(16).padStart(2,"0");r=`#${e}${o}${a}`}return r}var x={all:["*"],light:["light"],dark:["dark"],redsAndYellows:["oranges","reds","yellows"],greens:["greens"],blues:["blues"],purplesAndPinks:["purples","pinks"],browns:["browns"],grays:["grays"],bright:["bright"],subdued:["subdued"],colorblindFriendly:["colorblind-friendly"]},F={all:"all"};export{k as a,y as b,C as c,x as d,F as e};
@@ -1,6 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.127 */
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),Ee=(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:$e,defineProperty:be,getOwnPropertyDescriptor:_e,getOwnPropertyNames:Ae,getOwnPropertySymbols:Ce,getPrototypeOf:we}=Object,tt=globalThis,kt=tt.trustedTypes,Oe=kt?kt.emptyScript:"",Te=tt.reactiveElementPolyfillSupport,j=(o,t)=>o,X={toAttribute(o,t){switch(t){case Boolean:o=o?Oe: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)=>!$e(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&&be(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=_e(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=we(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=[...Ae(e),...Ce(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,Te?.({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,Se=`<${_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
- \f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,zt=/>/g,w=RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,Wt=/"/g,Gt=/^(?:script|style|textarea|title)$/i,Ct=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),ds=Ct(1),ps=Ct(2),us=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+Se: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},Pe=$t.litHtmlPolyfillSupport;Pe?.(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 Ne=wt.litElementPolyfillSupport;Ne?.({LitElement:$});(wt.litElementVersions??=[]).push("4.2.0");var Yt=new Set,Zt;var Xt=o=>typeof o=="string"?o:"el"in o?o.el.localName:"localName"in o?o.localName:o.declaredClass,Os=(o,t,e,s)=>{let r=Xt(t);if(s?.once){let n=`${o}${r}${e}`;if(Yt.has(n))return;Yt.add(n)}let i;if(s?.detail){i={};for(let[n,a]of Object.entries(s.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let c=new WeakRef(a);Object.defineProperty(i,n,{get(){return c.deref()}})}else i[n]=a;Zt?.log.interceptors?.forEach(n=>n(o,r,e,i)),console[o](`[${r}]: ${e}`,i)}else Zt?.log.interceptors?.forEach(n=>n(o,r,e)),console[o](`[${r}]: ${e}`)},te=o=>{let t=`[${Xt(o)}] `;return e=>{let s=e instanceof Error&&e.message?e:new Error(String(e));s.message=`${t}${s.message}`,setTimeout(()=>{throw e})}};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"),xe=o=>typeof o=="object"&&o!==null&&(G in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Ps=o=>typeof o?.then=="function";var q,x=o=>{q!==o&&(q=o,queueMicrotask(()=>q===o?q=void 0:0))},K=o=>q,N=[],ee=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},se=()=>N,R,Ns=o=>{R!==o&&(R=o,queueMicrotask(()=>R===o?R=void 0:0))},De=()=>{let o=R;return R=void 0,o},oe=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},re=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(xe(o))return o;let s=De();if(s!==void 0)return s},ct=!1,xs=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})}},ie=(o,t)=>{let e=t>Le?Ue:t/Re,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},Le=4e3,Ue=2e3,Re=4;var Me=(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},Ie=(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},ke=(o=[K(),...se()],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=>Me(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){Ie(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},je=(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===""&&ke(void 0,r=>o=r.key,s),s},He=je.bind(null,""),ce;ce=G;var Ot=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#i=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[ce]=!0,this.#a=[];let e=this,s=t??K(new.target.name);e.#o=s,e.ready=e.P.promise,e.#n=ae(e),e.component=s,e.#o.addController(e),e.#o.manager===void 0||(ee(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#i;#c;#l;#p;#h;#d;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(te(this.#o))}#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.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?ae(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.#o),oe}get useRef(){return x(this.#o),re}get useRefSync(){return x(this.#o),lt}controllerRemoved(){this.#o.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.#r.push(t)}onUpdate(t){this.#i.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#o.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.#r.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#i.forEach(ne,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ne,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.#o);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 ne(o){p(o,void 0,this)}var le=Ot,ae=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:Ve}=Jt;var ht=o=>o.strings===void 0,he=()=>document.createComment(""),zs=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(he(),r),n=s.insertBefore(he(),r);e=new Ve(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},Bs=(o,t,e=o)=>(o._$AI(t,e),o),ze={},de=(o,t=ze)=>o._$AH=t,Ws=o=>o._$AH,Fs=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)},pe=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),Fe(t)}};function Be(o){this._$AN!==void 0?(dt(this),this._$AM=o,pe(this)):this._$AM=o}function We(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 Fe=o=>{o.type==m.CHILD&&(o._$AP??=We,o._$AQ??=Be)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),pe(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 eo=()=>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(Ge,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Ge=/[A-Z]+(?![a-z])|[A-Z]/gu;var mo="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 Ke=(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(Qe):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,Qe=o=>{let t=o.split(":");return t.length===1?[t[0],ut(t[0])]:t},Je=globalThis.HTMLElement??Lt,Nt=class extends Je{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.#r({a:e.A}):e.B.then(async s=>{await e.K.p,t.#r(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}#r(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);Ze(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(Ye,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Ye([o,t]){this[o]=t}var Ze=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 le{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=ie(t,Xe)}}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)}},Xe=1e3,yt="autoDestroyDisabled";var fe=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 me="important",ts=" !"+me,ye=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(ts);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?me:""):e[s]=r}}return f}});var es=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 de(o),t}});var ge=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.#r=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;#r;#i;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#i=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#r.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#i.clear(),this.constructor.K.r(this.#i,()=>super.update(t))}catch(e){throw this.#i.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#i?.destroy(),this.#i=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.#r.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#i?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.#r.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 ve=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 Cr=o=>typeof o=="object"&&o!=null?fe(o):o,wr=o=>typeof o=="object"&&o!=null?ye(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)}},Or=E(Ut);var Tr=d;var Sr=o=>{let t=document.createElement("div");return at(o,t),t.firstElementChild};var J=ve({defaultAssetPath:"https://jsdev.arcgis.com/5.0.0-next/charts-components/",hydratedAttribute:"hydrated"}),{customElement:Lr,getAssetPath:Ur,setAssetPath:Rr}=J;J.t=void 0;J.o=void 0;J.c=void 0;J.r=void 0;export{Ps as a,x as b,ee as c,se as d,Ns as e,xs as f,Ee as g,ds as h,f as i,d as j,Os as k,ke as l,He as m,Ot as n,Ke as o,m as p,E as q,v as r,zs as s,Bs as t,de as u,Ws as v,Fs as w,eo as x,Pt as y,ge as z,Cr as A,wr as B,Tr as C,Sr as D,J as E,Lr as F,Ur as G};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.127 */
4
- import{k as s}from"./WSQSFA3C.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")