@arcgis/map-components 5.0.0-next.85 → 5.0.0-next.87

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 (420) hide show
  1. package/dist/cdn/{KTAF5DQG.js → 27X354V2.js} +2 -2
  2. package/dist/cdn/{VIDMCTQR.js → 2BYNODEC.js} +2 -2
  3. package/dist/cdn/2EMHQOVL.js +4 -0
  4. package/dist/cdn/{BCOH4IPM.js → 2JG2YOPZ.js} +2 -2
  5. package/dist/cdn/{2LH4PKFW.js → 2JOXV5ZY.js} +2 -2
  6. package/dist/cdn/{GFW5BE7U.js → 2OFK2RN2.js} +2 -2
  7. package/dist/cdn/{PIN3RRCH.js → 2PQLZPMI.js} +2 -2
  8. package/dist/cdn/{TL6Y3SL7.js → 3AKCOVFY.js} +2 -2
  9. package/dist/cdn/{FOJSILKR.js → 3HBVRWQH.js} +2 -2
  10. package/dist/cdn/{VM6DDSQW.js → 3WSAZIWS.js} +2 -2
  11. package/dist/cdn/{UKUPXN3Y.js → 4ANSUD6M.js} +3 -3
  12. package/dist/cdn/{7F4LJG3J.js → 4B6JJCYJ.js} +2 -2
  13. package/dist/cdn/{TTNYQHBP.js → 4EP6RKPV.js} +2 -2
  14. package/dist/cdn/4ONWIDHW.js +4 -0
  15. package/dist/cdn/{EP6TF6MV.js → 4RQXUDXM.js} +2 -2
  16. package/dist/cdn/{2LQDBTQR.js → 4WCP5CJU.js} +2 -2
  17. package/dist/cdn/{CQAWUUH7.js → 4XHWTM3W.js} +2 -2
  18. package/dist/cdn/{ZSZJ2CA5.js → 4YN5P354.js} +1 -1
  19. package/dist/cdn/{D4YP5F7C.js → 53NBSHBR.js} +2 -2
  20. package/dist/cdn/{R7YSXTQP.js → 54WB3M62.js} +2 -2
  21. package/dist/cdn/{UD5STG5G.js → 5BVHH6JR.js} +2 -2
  22. package/dist/cdn/{VFIKWREN.js → 5DMOLSHU.js} +2 -2
  23. package/dist/cdn/{HAZFFN5N.js → 5JQ5HF3R.js} +2 -2
  24. package/dist/cdn/{ANXTY2FG.js → 5XJ55CYT.js} +2 -2
  25. package/dist/cdn/{E4A6O2OU.js → 64TX3GS3.js} +1 -1
  26. package/dist/cdn/{G7K4UMS3.js → 6AHAHMGF.js} +2 -2
  27. package/dist/cdn/{H2FEU5YQ.js → 6CROFQRG.js} +2 -2
  28. package/dist/cdn/{45V7T4OS.js → 6EHJ7AZK.js} +2 -2
  29. package/dist/cdn/{ITCRPAW3.js → 6HUQBD4F.js} +2 -2
  30. package/dist/cdn/{AG2BFPQW.js → 6NBWLAFO.js} +2 -2
  31. package/dist/cdn/{KQ6IFA5Y.js → 6PUPEHFL.js} +2 -2
  32. package/dist/cdn/{ZXEDPEVX.js → 6SMRV3NU.js} +2 -2
  33. package/dist/cdn/{WTBL7L72.js → 6T4RZV4E.js} +2 -2
  34. package/dist/cdn/{I6ZUZ77R.js → 6XRDIUFD.js} +2 -2
  35. package/dist/cdn/{NG262TQH.js → 6YLVHWY3.js} +2 -2
  36. package/dist/cdn/{B37DSCMV.js → 73C2MEPQ.js} +2 -2
  37. package/dist/cdn/{Z5SHH7QK.js → 777WT7E2.js} +2 -2
  38. package/dist/cdn/{TZTBEFIS.js → 7NHBVX2Q.js} +2 -2
  39. package/dist/cdn/{WLQ3LMXU.js → 7OO2P5HM.js} +2 -2
  40. package/dist/cdn/{NNZHCC6X.js → 7QYV5UI3.js} +2 -2
  41. package/dist/cdn/{EP3NMFQK.js → A4AJQUWP.js} +2 -2
  42. package/dist/cdn/{PLURJ6TE.js → A5D75BO5.js} +2 -2
  43. package/dist/cdn/{TSYQG7NU.js → A7Q3LLPS.js} +2 -2
  44. package/dist/cdn/{545TSY3H.js → AGFX2ADJ.js} +2 -2
  45. package/dist/cdn/{X7FDDBW3.js → AOLBJF6X.js} +1 -1
  46. package/dist/cdn/{C4YYIO3F.js → B5J3PFNL.js} +2 -2
  47. package/dist/cdn/{TDSU72QA.js → BAOCMSNV.js} +2 -2
  48. package/dist/cdn/{DOVFMEKL.js → BGAYEFNL.js} +2 -2
  49. package/dist/cdn/{MUAUR7IJ.js → BGLGKNNG.js} +2 -2
  50. package/dist/cdn/{HRNFWGMO.js → BQKKZAX3.js} +2 -2
  51. package/dist/cdn/{S7DJLVYS.js → CBIC3FEL.js} +2 -2
  52. package/dist/cdn/{LIFSSYNH.js → CLK32UFP.js} +2 -2
  53. package/dist/cdn/{WMYSIRZT.js → CS6DPYWM.js} +2 -2
  54. package/dist/cdn/{SVYKXXST.js → CS6X52WM.js} +2 -2
  55. package/dist/cdn/{3QXFBVMF.js → CTEPX6UF.js} +2 -2
  56. package/dist/cdn/{ZHEPCKXZ.js → CUVII5Q2.js} +2 -2
  57. package/dist/cdn/{AD5HML3V.js → CWA2F4ZC.js} +2 -2
  58. package/dist/cdn/{WBE5IEJG.js → CZH7PM6Z.js} +2 -2
  59. package/dist/cdn/{QMC6CCHO.js → CZPABUXZ.js} +2 -2
  60. package/dist/cdn/{HFABGDDU.js → D6UVCRII.js} +2 -2
  61. package/dist/cdn/{KPKWWBAU.js → D7KYZMAG.js} +2 -2
  62. package/dist/cdn/{KFKGULMG.js → DALNQUIE.js} +2 -2
  63. package/dist/cdn/{LFE2O3AO.js → DF5NCLDH.js} +2 -2
  64. package/dist/cdn/{JDNULBIF.js → DJQPNZMX.js} +2 -2
  65. package/dist/cdn/{5CS32X2I.js → DWFZRP2J.js} +2 -2
  66. package/dist/cdn/{F4SWYUOK.js → E2VEVV67.js} +2 -2
  67. package/dist/cdn/{R2LLCIDN.js → E5T2UM62.js} +2 -2
  68. package/dist/cdn/{VT4ZYZFI.js → EDVUDYVR.js} +2 -2
  69. package/dist/cdn/{Y5GT2BK7.js → EEMW2Q5R.js} +2 -2
  70. package/dist/cdn/{NPXERHQI.js → EG6JUOF4.js} +2 -2
  71. package/dist/cdn/{T5HGJ7Y6.js → EOA5PL7V.js} +2 -2
  72. package/dist/cdn/{QGZS6G2Z.js → ERUOLKXI.js} +2 -2
  73. package/dist/cdn/{4XH7SLWI.js → ETDLLCQG.js} +2 -2
  74. package/dist/cdn/{G344FTQZ.js → EVB77BY6.js} +2 -2
  75. package/dist/cdn/{C37COPYA.js → EVL2OVXG.js} +2 -2
  76. package/dist/cdn/{CL45NSIJ.js → EYMRYSLI.js} +2 -2
  77. package/dist/cdn/{73HJ6F5R.js → EYR26AJY.js} +2 -2
  78. package/dist/cdn/{R4XPQHDW.js → EZDJROR3.js} +2 -2
  79. package/dist/cdn/{HHPKMRHQ.js → FGCJRZXK.js} +2 -2
  80. package/dist/cdn/{QIJCPGKE.js → FQRQXXNP.js} +2 -2
  81. package/dist/cdn/{Y63M4DOH.js → G4W65QOS.js} +2 -2
  82. package/dist/cdn/{REKULFBS.js → G7NQOQIB.js} +2 -2
  83. package/dist/cdn/{FRXOQYDM.js → GLSQZF74.js} +2 -2
  84. package/dist/cdn/{YJUPJABX.js → GMC3CZH2.js} +1 -1
  85. package/dist/cdn/{EVPHJCVF.js → GMQMLGTX.js} +2 -2
  86. package/dist/cdn/{DV7WDGW5.js → GNMQMWSC.js} +2 -2
  87. package/dist/cdn/{ZQ3GJKZX.js → GQMMGC32.js} +2 -2
  88. package/dist/cdn/{W4OBOYUF.js → GRO47A6Y.js} +2 -2
  89. package/dist/cdn/{DLH5TLBQ.js → GSLSEBGH.js} +2 -2
  90. package/dist/cdn/{AROK5NM6.js → HEN5F7B5.js} +2 -2
  91. package/dist/cdn/{WUJBSTFD.js → HFNJ2LC6.js} +2 -2
  92. package/dist/cdn/{45C7FHNX.js → HG6K4Z5J.js} +2 -2
  93. package/dist/cdn/{BBHRIND7.js → HVAU52EH.js} +2 -2
  94. package/dist/cdn/{UODWMSEN.js → HWJ3NQYK.js} +2 -2
  95. package/dist/cdn/{UV325HSA.js → IAPLVUAX.js} +2 -2
  96. package/dist/cdn/{LVPPYYXH.js → IDCRYNQY.js} +1 -1
  97. package/dist/cdn/{TFW3ROIO.js → IHKFFYF7.js} +2 -2
  98. package/dist/cdn/{G2SLL5RM.js → IL74MXOT.js} +2 -2
  99. package/dist/cdn/{TPE6A53T.js → IMCCBQ5M.js} +2 -2
  100. package/dist/cdn/{YZU55T55.js → ISEXM6TN.js} +2 -2
  101. package/dist/cdn/{CCUEBPQ5.js → J4Q6ANAB.js} +2 -2
  102. package/dist/cdn/{3TZYSFM3.js → J5LCPKDW.js} +2 -2
  103. package/dist/cdn/{EK6UUXTH.js → JBCIP434.js} +2 -2
  104. package/dist/cdn/{E7M3XO3D.js → JCIBKEX3.js} +2 -2
  105. package/dist/cdn/{VGF3ROSE.js → JCQLD5KP.js} +2 -2
  106. package/dist/cdn/{FZIT2DHJ.js → JHB4BWDH.js} +2 -2
  107. package/dist/cdn/{OAZXAPGP.js → JKKFLWMT.js} +2 -2
  108. package/dist/cdn/{WCFKBHX4.js → JLKYQEKG.js} +2 -2
  109. package/dist/cdn/{4FK3E43S.js → JT27EM2N.js} +2 -2
  110. package/dist/cdn/{ZZAXGCNG.js → JWOWCBTW.js} +2 -2
  111. package/dist/cdn/{R4ZZRLUD.js → JZ2OZJ3M.js} +1 -1
  112. package/dist/cdn/{5UZFZ3N6.js → KBSSYHN6.js} +2 -2
  113. package/dist/cdn/{F42KQLMU.js → KC2XKP4I.js} +2 -2
  114. package/dist/cdn/{CCFA5JCR.js → KEQKB7D5.js} +2 -2
  115. package/dist/cdn/KKHZIJJ5.js +4 -0
  116. package/dist/cdn/{23SRZKBS.js → KLUWEXIC.js} +2 -2
  117. package/dist/cdn/{V2WTIF2C.js → KPRBFB4D.js} +1 -1
  118. package/dist/cdn/{HFYDFZW6.js → KRAB4N64.js} +2 -2
  119. package/dist/cdn/{QPEQCAPS.js → KSAPQRQ7.js} +2 -2
  120. package/dist/cdn/{ETGCHWBE.js → KUW5QSD4.js} +2 -2
  121. package/dist/cdn/{6A4VVPO5.js → KVXULRVT.js} +2 -2
  122. package/dist/cdn/{KSVU2OGY.js → L2ND35CU.js} +2 -2
  123. package/dist/cdn/{THVR67GQ.js → LJGVQHAZ.js} +2 -2
  124. package/dist/cdn/{XFBSKTEB.js → LXOAIMPX.js} +2 -2
  125. package/dist/cdn/{AXVH6RXR.js → MG5S7GLE.js} +2 -2
  126. package/dist/cdn/{FC4NHG3U.js → ML5EOAHS.js} +2 -2
  127. package/dist/cdn/{UGTN4NAD.js → MOITPDFD.js} +1 -1
  128. package/dist/cdn/{WVMLJPZM.js → N26ELVVV.js} +2 -2
  129. package/dist/cdn/{65LOSI5S.js → N4DDLF5S.js} +2 -2
  130. package/dist/cdn/{RJ7WEJC2.js → N6ZGENEI.js} +2 -2
  131. package/dist/cdn/{ZEEEKBY7.js → NDHQAJQF.js} +2 -2
  132. package/dist/cdn/{NVMEIL5L.js → NOZXGSQS.js} +2 -2
  133. package/dist/cdn/{ZT546Q2T.js → NPBFMVNZ.js} +2 -2
  134. package/dist/cdn/{5UPCSSTA.js → NU44AZFZ.js} +2 -2
  135. package/dist/cdn/{WMBMH5CK.js → NUJN4JQ2.js} +2 -2
  136. package/dist/cdn/{YOLXFZMM.js → O3SKGUYY.js} +2 -2
  137. package/dist/cdn/{TRCJN3HJ.js → O5QNN3RZ.js} +2 -2
  138. package/dist/cdn/{WAER5GJR.js → O7EROEVZ.js} +2 -2
  139. package/dist/cdn/{TB2E5CUO.js → ODAVINVD.js} +2 -2
  140. package/dist/cdn/{GXD6GTQI.js → OEJBZFQ2.js} +2 -2
  141. package/dist/cdn/{643PKAG3.js → OF6IVIRL.js} +2 -2
  142. package/dist/cdn/{YGJBOHF2.js → OH3OU7SS.js} +2 -2
  143. package/dist/cdn/{ZHFUUDM4.js → OHAVKDG4.js} +2 -2
  144. package/dist/cdn/{EDSQV3ZZ.js → PCZETSRX.js} +2 -2
  145. package/dist/cdn/{DP6T7RM3.js → PGROL3JO.js} +2 -2
  146. package/dist/cdn/{PCKNY2C6.js → PHJOPJ5Q.js} +2 -2
  147. package/dist/cdn/{23Y6RPZK.js → PJBL3SDE.js} +2 -2
  148. package/dist/cdn/{4XZKTQVT.js → PKLUZV6X.js} +2 -2
  149. package/dist/cdn/{RCD3HC4K.js → PP3MVOR6.js} +2 -2
  150. package/dist/cdn/{MRGSEPPW.js → PTJRBC6U.js} +2 -2
  151. package/dist/cdn/{3IG4U5FC.js → PVDACCAE.js} +1 -1
  152. package/dist/cdn/{LW3F6GQE.js → Q7ISZX3P.js} +2 -2
  153. package/dist/cdn/{M5RTRCLT.js → QNCL6QXE.js} +2 -2
  154. package/dist/cdn/{N4NA2SN3.js → QRKHATVY.js} +2 -2
  155. package/dist/cdn/{ZVSKQ62K.js → QRMHXFEH.js} +2 -2
  156. package/dist/cdn/{2FKNP7LB.js → QWJSFZ5P.js} +2 -2
  157. package/dist/cdn/{ZDZ323ZF.js → R2X3OA5N.js} +2 -2
  158. package/dist/cdn/{PMEIUGYR.js → R6TEEJEA.js} +2 -2
  159. package/dist/cdn/{IANUEVU7.js → RB54UWSP.js} +2 -2
  160. package/dist/cdn/{YR5P3HVL.js → REHJ2RCS.js} +2 -2
  161. package/dist/cdn/{YRZACWSO.js → RIGFCMSX.js} +2 -2
  162. package/dist/cdn/{EYENMHYF.js → S6A3X4JS.js} +2 -2
  163. package/dist/cdn/{JJFSGVS3.js → SAIA6E7W.js} +2 -2
  164. package/dist/cdn/{PWI43EIR.js → SEKJQRIP.js} +2 -2
  165. package/dist/cdn/{LV5N2ZIQ.js → SIV53MWS.js} +2 -2
  166. package/dist/cdn/{BCDPXJ6Z.js → SJMO5YZZ.js} +2 -2
  167. package/dist/cdn/{UE37VDZV.js → SLZ43ZOK.js} +1 -1
  168. package/dist/cdn/{UFF6F3ES.js → SQNYM4UJ.js} +2 -2
  169. package/dist/cdn/{4GYETX3H.js → SU6NHQT5.js} +1 -1
  170. package/dist/cdn/{LCX26DPC.js → SUXWUTYL.js} +1 -1
  171. package/dist/cdn/{5FFKG7U6.js → T2JJGCYP.js} +2 -2
  172. package/dist/cdn/{IEM3Z3HI.js → T5TAKE4M.js} +2 -2
  173. package/dist/cdn/{GIQNKYJQ.js → TALNCAUT.js} +2 -2
  174. package/dist/cdn/{L46KMBZW.js → TCWMXQMF.js} +2 -2
  175. package/dist/cdn/{6TNRWKZM.js → THQN76C6.js} +2 -2
  176. package/dist/cdn/{UF4PTXHJ.js → TJ4ZUOAI.js} +2 -2
  177. package/dist/cdn/{52M3Q7A5.js → TKTGZFAY.js} +2 -2
  178. package/dist/cdn/{74D6IFCH.js → TRJISMJB.js} +2 -2
  179. package/dist/cdn/{AFLUPZV2.js → TTUDCXQX.js} +2 -2
  180. package/dist/cdn/U6IL3HKG.js +4 -0
  181. package/dist/cdn/{NOOZM7UZ.js → UAVOFUTQ.js} +2 -2
  182. package/dist/cdn/{M22BUUWJ.js → UEWT6OM3.js} +2 -2
  183. package/dist/cdn/{S65XO6U6.js → UJPQQWRU.js} +2 -2
  184. package/dist/cdn/{JDMLZLMA.js → URCSLSTI.js} +2 -2
  185. package/dist/cdn/{V7APVJS6.js → V37MDH4Q.js} +2 -2
  186. package/dist/cdn/{Y2TZZCCN.js → VI4M4ZEU.js} +2 -2
  187. package/dist/cdn/{XCFSDTNR.js → VJH2EHZX.js} +2 -2
  188. package/dist/cdn/{C5DLJ763.js → VK3DAWLX.js} +2 -2
  189. package/dist/cdn/{QNGNK4TM.js → VLU5VGSC.js} +2 -2
  190. package/dist/cdn/{NLHHMBAY.js → VMPVUIXY.js} +2 -2
  191. package/dist/cdn/{ZHMVIY7F.js → VRHMVYVT.js} +2 -2
  192. package/dist/cdn/{5PAF5U6J.js → VTAW5YR3.js} +2 -2
  193. package/dist/cdn/{5W7ZUJLF.js → VUYUYUBE.js} +2 -2
  194. package/dist/cdn/{VBKYCCXS.js → VV6LED4I.js} +2 -2
  195. package/dist/cdn/{XV5B4TQB.js → VWUH7QLK.js} +2 -2
  196. package/dist/cdn/{GDPBHQSR.js → VXCY4UNU.js} +2 -2
  197. package/dist/cdn/{K4MYINMX.js → VY5FYXAM.js} +2 -2
  198. package/dist/cdn/{VAVJYOHA.js → VY663NNF.js} +2 -2
  199. package/dist/cdn/{M66KDVTN.js → VZIG2ZB6.js} +2 -2
  200. package/dist/cdn/{XPWI2BIF.js → W2KUWKVL.js} +2 -2
  201. package/dist/cdn/{2KC24RBA.js → W3IW6PSI.js} +2 -2
  202. package/dist/cdn/{44YVNSW5.js → WB7BOB6K.js} +2 -2
  203. package/dist/cdn/{67OUU2NE.js → WG6LF7I3.js} +2 -2
  204. package/dist/cdn/{T3UFYGGK.js → WHVF5KSV.js} +2 -2
  205. package/dist/cdn/{N3DMX47X.js → WJKRVPI7.js} +2 -2
  206. package/dist/cdn/WOO4IELV.js +4 -0
  207. package/dist/cdn/{LGGGDZVB.js → WW6L7RRU.js} +2 -2
  208. package/dist/cdn/{GRS6C55W.js → X4V2UEQT.js} +1 -1
  209. package/dist/cdn/{XENCLWDT.js → X6UH54F2.js} +1 -1
  210. package/dist/cdn/XG3PHZ6U.js +4 -0
  211. package/dist/cdn/{Z6JYJBEV.js → XHNOM3RN.js} +2 -2
  212. package/dist/cdn/{GEPGZG2Z.js → XI3AK2QV.js} +2 -2
  213. package/dist/cdn/{WADQAAY4.js → XIQDJQHL.js} +2 -2
  214. package/dist/cdn/{HHL2LWFN.js → XO2ODZUU.js} +2 -2
  215. package/dist/cdn/{ZH2SEHLX.js → XY5WUUSW.js} +2 -2
  216. package/dist/cdn/{SQUXDP5E.js → XYUFKWTN.js} +2 -2
  217. package/dist/cdn/{Y65K6RWO.js → Y6ALGYMS.js} +2 -2
  218. package/dist/cdn/{3AE2IFKK.js → YBHJBGKH.js} +2 -2
  219. package/dist/cdn/{4KSISQHQ.js → YFLCAWWN.js} +1 -1
  220. package/dist/cdn/{M44ZKD55.js → YGVV4KDL.js} +2 -2
  221. package/dist/cdn/{HGAWRQH7.js → YJ4YKAZX.js} +2 -2
  222. package/dist/cdn/{RHO4QGFP.js → YN24UDDB.js} +2 -2
  223. package/dist/cdn/{FAY3FV2R.js → YPIGZG7C.js} +2 -2
  224. package/dist/cdn/{J52QBZTH.js → YRAZ5HSW.js} +2 -2
  225. package/dist/cdn/{TNSEVLRP.js → YSK5DCPZ.js} +2 -2
  226. package/dist/cdn/{5O6P6L5V.js → YSRMPSZ6.js} +1 -1
  227. package/dist/cdn/{T5JF2CZO.js → YWTAMHBC.js} +2 -2
  228. package/dist/cdn/{Z52I4BRG.js → YXWFTRNT.js} +1 -1
  229. package/dist/cdn/{KGZYWLXJ.js → YYYYSZVU.js} +2 -2
  230. package/dist/cdn/{PHFRZE5N.js → Z2LIHOG2.js} +2 -2
  231. package/dist/cdn/{GTHABISD.js → ZCBYGIET.js} +2 -2
  232. package/dist/cdn/{E43IYVHZ.js → ZN3AKVFU.js} +2 -2
  233. package/dist/cdn/{KOJW2UBT.js → ZOABTXJK.js} +2 -2
  234. package/dist/cdn/index.js +2 -2
  235. package/dist/chunks/AnalysisViewModel.js +1 -1
  236. package/dist/chunks/action-utils.js +1 -1
  237. package/dist/chunks/async-utils.js +1 -1
  238. package/dist/chunks/basemap-gallery-resources.js +1 -1
  239. package/dist/chunks/chart-utils.js +1 -1
  240. package/dist/chunks/chartCommon.js +1 -1
  241. package/dist/chunks/component-utils.js +1 -1
  242. package/dist/chunks/constants.js +1 -1
  243. package/dist/chunks/createCloseEvent.js +1 -1
  244. package/dist/chunks/esri-main.js +2 -2
  245. package/dist/chunks/feature-utils.js +1 -1
  246. package/dist/chunks/globalCss.js +1 -1
  247. package/dist/chunks/handle.js +1 -1
  248. package/dist/chunks/heading.js +1 -1
  249. package/dist/chunks/layer-list.js +1 -1
  250. package/dist/chunks/legacyIcon.js +1 -1
  251. package/dist/chunks/maybe.js +1 -1
  252. package/dist/chunks/measurementUtils.js +1 -1
  253. package/dist/chunks/runtime.js +1 -1
  254. package/dist/chunks/screenLocation.js +1 -1
  255. package/dist/chunks/slots.js +2 -2
  256. package/dist/chunks/svgUtils.js +1 -1
  257. package/dist/chunks/time-utils.js +1 -1
  258. package/dist/chunks/univariateUtils.js +1 -1
  259. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  260. package/dist/chunks/useHandles.js +1 -1
  261. package/dist/chunks/useT9n.js +1 -1
  262. package/dist/chunks/useView.js +1 -1
  263. package/dist/chunks/useViewModel.js +1 -1
  264. package/dist/chunks/useWidget.js +1 -1
  265. package/dist/chunks/utils.js +1 -1
  266. package/dist/chunks/utils2.js +1 -1
  267. package/dist/chunks/visible-element.js +1 -1
  268. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  269. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  270. package/dist/components/arcgis-attachments/customElement.js +1 -1
  271. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  272. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  273. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  274. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  275. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  276. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  277. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  278. package/dist/components/arcgis-color-select/customElement.js +1 -1
  279. package/dist/components/arcgis-compass/customElement.js +1 -1
  280. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  281. package/dist/components/arcgis-daylight/customElement.js +1 -1
  282. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  283. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  284. package/dist/components/arcgis-directions/customElement.js +1 -1
  285. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  286. package/dist/components/arcgis-editor/customElement.js +1 -1
  287. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  288. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  289. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  290. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  291. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  292. package/dist/components/arcgis-expand/customElement.js +1 -1
  293. package/dist/components/arcgis-feature/customElement.js +1 -1
  294. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  295. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  296. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  297. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  298. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  299. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  300. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  301. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  302. package/dist/components/arcgis-feature-table/customElement.d.ts +10 -8
  303. package/dist/components/arcgis-feature-table/customElement.js +15 -15
  304. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  305. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  306. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  307. package/dist/components/arcgis-features/customElement.js +1 -1
  308. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  309. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  310. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  311. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  312. package/dist/components/arcgis-home/customElement.js +1 -1
  313. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  314. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  315. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  316. package/dist/components/arcgis-legend/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  318. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  319. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  320. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  321. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  322. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  323. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  324. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  325. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  326. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  327. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  328. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  329. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  330. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  331. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  332. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  333. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  334. package/dist/components/arcgis-locate/customElement.js +1 -1
  335. package/dist/components/arcgis-map/customElement.js +1 -1
  336. package/dist/components/arcgis-measurement/customElement.js +1 -1
  337. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  338. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  339. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  340. package/dist/components/arcgis-placement/customElement.js +1 -1
  341. package/dist/components/arcgis-popup/customElement.js +1 -1
  342. package/dist/components/arcgis-presentation/customElement.js +1 -1
  343. package/dist/components/arcgis-print/customElement.js +1 -1
  344. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  345. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  346. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  347. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  348. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  349. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  350. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  351. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  352. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  353. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  354. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  355. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  356. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  357. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  358. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  359. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  360. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  361. package/dist/components/arcgis-scene/customElement.js +1 -1
  362. package/dist/components/arcgis-search/customElement.js +1 -1
  363. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  364. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  365. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  366. package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +1 -1
  367. package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +1 -1
  368. package/dist/components/arcgis-sketch/customElement.js +1 -1
  369. package/dist/components/arcgis-slice/customElement.js +1 -1
  370. package/dist/components/arcgis-spinner/customElement.js +1 -1
  371. package/dist/components/arcgis-swipe/customElement.js +1 -1
  372. package/dist/components/arcgis-table-list/customElement.js +1 -1
  373. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  374. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  375. package/dist/components/arcgis-track/customElement.js +1 -1
  376. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  377. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  378. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  379. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  380. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  381. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  382. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  383. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  384. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  385. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  386. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  387. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  388. package/dist/components/arcgis-version-management/customElement.js +1 -1
  389. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  390. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  391. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  392. package/dist/components/arcgis-video/customElement.js +1 -1
  393. package/dist/components/arcgis-video-player/customElement.js +1 -1
  394. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  395. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  396. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  397. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  398. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  399. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  400. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  401. package/dist/components/arcgis-weather/customElement.js +1 -1
  402. package/dist/components/arcgis-zoom/customElement.js +1 -1
  403. package/dist/docs/api.json +38 -11
  404. package/dist/docs/docs.json +30 -9
  405. package/dist/docs/vscode.html-custom-data.json +6 -1
  406. package/dist/docs/web-types.json +19 -7
  407. package/dist/index.js +1 -1
  408. package/dist/loader.js +2 -2
  409. package/dist/types/lumina.d.ts +1 -1
  410. package/dist/types/preact.d.ts +1 -1
  411. package/dist/types/preact10.d.ts +1 -1
  412. package/dist/types/react.d.ts +1 -1
  413. package/dist/types/stencil.d.ts +1 -1
  414. package/package.json +3 -3
  415. package/dist/cdn/3724VLCE.js +0 -4
  416. package/dist/cdn/I2GAQWIW.js +0 -4
  417. package/dist/cdn/NEAGCRR5.js +0 -4
  418. package/dist/cdn/SCWNZZLV.js +0 -4
  419. package/dist/cdn/XUIQVZAX.js +0 -4
  420. package/dist/cdn/YHOJPXHT.js +0 -4
@@ -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.85 */
4
- import{a as ve}from"./PWI43EIR.js";import{B as de,C as q,K as re,M as fe,N as _e,ba as ue,c as R,ea as xe,i as P,j as v,k as A,l as me,la as ce,m as he,ma as ae,n as be,na as we,o as te}from"./KFKGULMG.js";import{N as O,a as H,u as k}from"./WAER5GJR.js";import{a as ge,b as ee,d as T,e as f}from"./LVPPYYXH.js";import{U as j,V as ye,g as X,o as w}from"./TZTBEFIS.js";import"./5O6P6L5V.js";var ie=class extends ye{setupDefaultRules(){super.setupDefaultRules();let t=this._root.interfaceColors,e=this.rule.bind(this);e("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:we.new(this._root,{}),width:T,height:T}),e("PieChart").setAll({radius:ee(80),startAngle:-90,endAngle:270}),e("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),e("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),e("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),e("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),e("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),e("Slice",["pie"]).states.create("hover",{scale:1.04}),e("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),e("Tick",["pie"]).setAll({location:1}),e("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),e("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),e("FunnelSlice").setAll({interactive:!0,expandDistance:0}),e("FunnelSlice").states.create("hover",{expandDistance:.15}),e("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["funnel"]).setAll({location:1}),e("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),e("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),e("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),e("PyramidSeries").setAll({valueIs:"area"}),e("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),e("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),e("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),e("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),e("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),e("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["pyramid"]).setAll({location:1}),e("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),e("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),e("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),e("Tick",["pictorial"]).setAll({location:.5});{let i=e("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),_e(i,"fill",t,"alternativeBackground")}}};var $=class extends ce{_afterNew(){this._defaultThemes.push(ie.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(t){super._processSeries(t),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};Object.defineProperty($,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentChart"});Object.defineProperty($,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ce.classNames.concat([$.className])});var C=class extends ue{constructor(){super(...arguments),Object.defineProperty(this,"slicesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"labelsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"ticksContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"_lLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_rLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_hLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"slices",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeSlices())}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLabels())}),Object.defineProperty(this,"ticks",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeTicks())})}makeSlice(t){let e=this.slicesContainer.children.push(this.slices.make());return e.on("fill",()=>{this.updateLegendMarker(t)}),e.on("fillPattern",()=>{this.updateLegendMarker(t)}),e.on("stroke",()=>{this.updateLegendMarker(t)}),e._setDataItem(t),t.set("slice",e),this.slices.push(e),e}makeLabel(t){let e=this.labelsContainer.children.push(this.labels.make());return e._setDataItem(t),t.set("label",e),this.labels.push(e),e}_shouldMakeBullet(t){return t.get("value")!=null}makeTick(t){let e=this.ticksContainer.children.push(this.ticks.make());return e._setDataItem(t),t.set("tick",e),this.ticks.push(e),e}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_onDataClear(){let t=this.get("colors");t&&t.reset();let e=this.get("patterns");e&&e.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let t=0,e=0,i=0,s=1/0,r=0;w(this._dataItems,a=>{let l=a.get("valueWorking",0);t+=l,e+=Math.abs(l)}),w(this._dataItems,a=>{let l=a.get("valueWorking",0);l>i&&(i=l),l<s&&(s=l),r++;let n=l/e;e==0&&(n=0),a.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",t),this.setPrivateRaw("valueAverage",t/r),this.setPrivateRaw("valueAbsoluteSum",e)}}show(t){let e=Object.create(null,{show:{get:()=>super.show}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.show.call(this,t)),i.push(this._sequencedShowHide(!0,t)),yield Promise.all(i)})}hide(t){let e=Object.create(null,{hide:{get:()=>super.hide}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.hide.call(this,t)),i.push(this._sequencedShowHide(!1,t)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&w(this._dataItems,t=>{t.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&w(this._dataItems,t=>{this.updateLegendValue(t)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),w(this.dataItems,t=>{this._updateTick(t)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(t){if(super.processDataItem(t),t.get("fill")==null){let e=this.get("colors");e&&t.setRaw("fill",e.next())}if(t.get("fillPattern")==null){let e=this.get("patterns");e&&t.setRaw("fillPattern",e.next())}}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,t,e)];X(e)||(e=this.get("stateAnimationDuration",0));let r=this.get("stateAnimationEasing"),a=t.get("value"),l=t.animate({key:"valueWorking",to:a,duration:e,easing:r});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.show(e));let u=t.get("label");u&&s.push(u.show(e));let o=t.get("slice");o&&s.push(o.show(e)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,t,e)],r=this.states.create("hidden",{});X(e)||(e=r.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let a=r.get("stateAnimationEasing",this.get("stateAnimationEasing")),l=t.animate({key:"valueWorking",to:0,duration:e,easing:a});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.hide(e));let u=t.get("label");u&&s.push(u.hide(e));let o=t.get("slice");o.hideTooltip(),o&&s.push(o.hide(e)),yield Promise.all(s)})}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("label");e&&(this.labels.removeValue(e),e.dispose());let i=t.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=t.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(t){let e=t.get("slice");e&&!e.isHidden()&&e.hover()}unhoverDataItem(t){let e=t.get("slice");e&&e.unhover()}updateLegendMarker(t){if(t){let e=t.get("slice");if(e){let i=t.get("legendDataItem");if(i){let s=i.get("markerRectangle");w(de,r=>{e.get(r)!=null&&s.set(r,e.get(r))})}}}}_arrangeDown(t){if(t){let e=this._getNextDown();t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.top;i.y+r<e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(t){if(t){let e=this._getNextUp();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.bottom;i.y+r>e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.top})}}_arrangeRight(t){if(t){let e=0;t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.left;i.y+r<e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.right})}}_arrangeLeft(t){if(t){let e=this.labelsContainer.maxWidth();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.right;i.y+r>e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(t){}_dispose(){super._dispose();let t=this.chart;t&&t.series.removeValue(this)}};Object.defineProperty(C,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentSeries"});Object.defineProperty(C,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ue.classNames.concat([C.className])});var G=class extends ${constructor(){super(...arguments),Object.defineProperty(this,"_maxRadius",{enumerable:!0,configurable:!0,writable:!0,value:1})}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_prepareChildren(){super._prepareChildren();let t=this.chartContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.get("startAngle",0),r=this.get("endAngle",0),a=this.get("innerRadius"),l=he(0,0,s,r,1),n=e/(l.right-l.left),u=i/(l.bottom-l.top),o={left:0,right:0,top:0,bottom:0};if(a instanceof ge){let p=a.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,e))/g,o=he(0,0,s,r,p),this.setPrivateRaw("irModifyer",p/a.value)}l=be([l,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=k(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(l.bottom+l.top)/2,dx:-h*(l.right+l.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(t){let e=k(this.get("radius",0),this._maxRadius),i=k(this.get("innerRadius",0),e);if(t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("radius");return a!=null?i+k(a,e-i):i+(e-i)/r*(s+1)}return e}innerRadius(t){let e=this.radius(),i=k(this.get("innerRadius",0),e);if(i<0&&(i=e+i),t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("innerRadius");return a!=null?i+k(a,e-i):i+(e-i)/r*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};Object.defineProperty(G,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieChart"});Object.defineProperty(G,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([G.className])});var U=class extends C{_makeSlices(){return new R(j.new({}),()=>ve._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>xe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e.on("scale",()=>{this._updateTick(t)}),e.on("shiftRadius",()=>{this._updateTick(t)}),e.events.on("positionchanged",()=>{this._updateTick(t)});let i=this.makeLabel(t);i.events.on("positionchanged",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let t=this.chart;return t?t._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let t=this.chart;return t?-t._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let t=this.chart;if(t){if(this.isDirty("alignLabels")){let e=this.labels.template;if(this.get("alignLabels"))e.set("textType","aligned");else{let i=e.get("textType");(i==null||i=="aligned")&&e.set("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let e=this.get("startAngle",t.get("startAngle",-90)),s=this.get("endAngle",t.get("endAngle",270))-e,r=e,a=t.radius(this);this.setPrivateRaw("radius",a);let l=t.innerRadius(this)*t.getPrivate("irModifyer",1);l<0&&(l=a+l),w(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",a),o.set("innerRadius",l),o.set("startAngle",r),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=me(r+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",a),h.setPrivate("innerRadius",l),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=a+h.get("radius",0),g=a*P(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",T),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",a*P(m))}r+=u,this._updateTick(n)})}}}_updateTick(t){let e=t.get("tick"),i=t.get("label"),s=t.get("slice"),r=e.get("location",1);if(e&&i&&s){let a=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*r,l=i.get("labelAngle",0),n=A(l),u=P(l),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=i.x(),g=i.y();let c=[];if(p!=0||g!=0){if(i.get("textType")=="circular"){let y=i.radius()-i.get("paddingBottom",0),_=i.get("labelAngle",0);p=y*A(_),g=y*P(_)}let b=-h;i.getPrivate("left")&&(b=m),c=[{x:s.x()+a*n,y:s.y()+a*u},{x:p+b,y:g},{x:p,y:g}]}e.set("points",c)}}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.get("innerRadius",0),a=s.get("radius",0),l=s.get("startAngle",0),n=s.get("arc",0),u=t.get("locationX",.5),o=t.get("locationY",.5),m=l+n*u,h=r+(a-r)*o;e.setAll({x:A(m)*h,y:P(m)*h})}}}};Object.defineProperty(U,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieSeries"});Object.defineProperty(U,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([U.className])});var M=class extends q{constructor(){super(...arguments),Object.defineProperty(this,"_projectionDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_tlx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_trx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_try",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_blx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_brx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cprx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cplx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cpry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cply",{enumerable:!0,configurable:!0,writable:!0,value:0})}_afterNew(){super._afterNew(),this.set("draw",t=>{let e=this.width(),i=this.height(),s=Math.min(e,i)/2,r=k(this.get("cornerRadiusTL",0),s),a=k(this.get("cornerRadiusTR",0),s),l=k(this.get("cornerRadiusBR",0),s),n=k(this.get("cornerRadiusBL",0),s),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,b=this._bly;o==h&&(o=o-.01),g==b&&(g=g-.01);let y=te({x:m,y:h},{x:u,y:o}),_=te({x:u,y:o},{x:p,y:g}),x=te({x:p,y:g},{x:c,y:b}),d=te({x:c,y:b},{x:m,y:h});this.get("orientation")=="horizontal"?(r=Math.min(r,Math.abs(h-o)/2),a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(b-g)/2),n=Math.min(n,Math.abs(b-g)/2)):(r=Math.min(r,Math.abs(m-u)/2),a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let D=m-r*v((y-d)/2)*A(d),S=h-r*v((y-d)/2)*P(d),Y=m-r*v((d-y)/2)*A(y),Z=h-r*v((d-y)/2)*P(y),N=u-a*v((_-y)/2)*A(y),ne=o-a*v((_-y)/2)*P(y),z=u-a*v((y-_)/2)*A(_),B=o-a*v((y-_)/2)*P(_),J=p-l*v((x-_)/2)*A(_),F=g-l*v((x-_)/2)*P(_),Q=p-l*v((_-x)/2)*A(x),I=g-l*v((_-x)/2)*P(x),pe=c-n*v((d-x)/2)*A(x),se=b-n*v((d-x)/2)*P(x),oe=c-n*v((x-d)/2)*A(d),Ae=b-n*v((x-d)/2)*P(d);t.moveTo(Y,Z),t.lineTo(N,ne),t.arcTo(u,o,z,B,a),t.quadraticCurveTo(this._cprx,this._cpry,J,F),t.arcTo(p,g,Q,I,l),t.lineTo(pe,se),t.arcTo(c,b,oe,Ae,n),t.quadraticCurveTo(this._cplx,this._cply,D,S),t.arcTo(m,h,Y,Z,r)})}getPoint(t,e){let i=this.width(),s=this.height(),r=this.get("topWidth",0),a=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*e,h=n+(u-n)*e;return{x:m+(h-m)*t,y:s*e}}else{let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*t,h=n+(u-n)*t;return{x:i*t,y:m+(h-m)*e}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")){let t=this.width(),e=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let r=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=e,this._blx=-s/2,this._bly=e,this._cprx=this._trx+(this._brx-this._trx)/2+r*e,this._cpry=this._try+.5*e,this._cplx=this._tlx+(this._blx-this._tlx)/2-r*e,this._cply=this._tly+.5*e):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=t,this._bly=s/2,this._blx=t,this._cpry=this._try+(this._bry-this._try)/2-r*t,this._cprx=this._trx+.5*t,this._cply=this._tly+(this._bly-this._tly)/2+r*t,this._cplx=this._tlx+.5*t)}super._changed()}};Object.defineProperty(M,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSlice"});Object.defineProperty(M,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:q.classNames.concat([M.className])});var W=class extends C{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"funnel"}),Object.defineProperty(this,"links",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLinks())}),Object.defineProperty(this,"_total",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_count",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_nextCoord",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_opposite",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_makeSlices(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>fe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(t){let e=this.slicesContainer.children.push(this.links.make());return e._setDataItem(t),t.set("link",e),this.links.push(e),e}_afterNew(){super._afterNew();let t=this.slicesContainer;t.setAll({isMeasured:!0,position:"relative",width:ee(100),height:ee(100)}),t.onPrivate("width",()=>{this.markDirtySize()}),t.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this.set("layout",this._root.horizontalLayout):this.set("layout",this._root.verticalLayout)}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e._setDataItem(t),t.set("slice",e),this.makeLink(t);let i=this.makeLabel(t);i.on("x",()=>{this._updateTick(t)}),i.on("y",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()}),e.events.on("boundschanged",()=>{let s=e.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let t=0,e=0;if(w(this.dataItems,i=>{let s=i.get("value");X(s)&&(e++,s>0?t+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?e--:t+=1)}),this._total=1/e*t,this._count=e,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty)){let i=this.slicesContainer,s;this.get("orientation")=="vertical"?s=i.innerHeight():s=i.innerWidth(),this._nextCoord=this.get("startLocation",0)*s,this.markDirtyBounds();let r=0;w(this._dataItems,a=>{this.updateLegendValue(a),a.set("index",r),r++;let l=a.get("slice"),n=a.get("tick"),u=a.get("label"),o=a.get("link"),m=a.get("fill"),h=a.get("fillPattern");l._setDefault("fill",m),l._setDefault("stroke",m),l._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=a.get("value");X(p)&&(p==0&&this.get("ignoreZeroValues")?(l.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(l.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(a),this.isLast(a)?o.setPrivate("visible",!1):a.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let t=this.get("orientation"),e=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(e.set("position","relative"),e.setAll({isMeasured:!0}),t=="vertical"?(this.set("layout",this._root.horizontalLayout),i.setAll({centerX:T,x:T})):(this.set("layout",this._root.verticalLayout),i.setAll({centerX:0,x:0}))):(e.setAll({isMeasured:!1,position:"absolute"}),t=="vertical"?(e.setAll({x:f}),i.setAll({centerX:f,x:0})):(e.setAll({y:f}),i.setAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(t){let e=t.get("index"),i=t.get("valueWorking",0);if(e<this.dataItems.length-1){let s=this.dataItems[e+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(t){let e=t.get("index");if(e==this.dataItems.length-1)return!0;for(let i=e+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(t){let e=this.get("orientation"),i=t.get("slice"),s=t.get("label"),r=t.get("link"),a=this.slicesContainer,l=a.innerWidth(),n=a.innerHeight(),u=l;e=="horizontal"&&(u=n);let o=this.getNextValue(t),m=t.get("value",0),h=Math.abs(t.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):t.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let b=h/g*u,y=(h-(h-o)*p)/g*u;i.setAll({topWidth:b,bottomWidth:y,orientation:e}),r.setAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:e});let _=this.get("startLocation",0),x=this.get("endLocation",1);if(e=="vertical"){let d=r.height()*c;n=n*(x-_)+d,i.set("y",this._nextCoord);let D=Math.min(1e5,Math.max(0,n/this._count*c/this._total-d));i.setAll({height:D,x:l/2});let S=this._nextCoord+D/2;s.set("y",S),this._nextCoord+=D+d,r.setAll({y:this._nextCoord-d,x:l/2})}else{let d=r.width()*c;l=l*(x-_)+d,i.set("x",this._nextCoord);let D=Math.min(1e5,Math.max(0,l/this._count*c/this._total-d));i.setAll({width:D,y:n/2});let S=this._nextCoord+D/2;s.set("x",S),this._nextCoord+=D+d,r.setAll({x:this._nextCoord-d,y:n/2})}}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").hide(e),i.hideDataItem.call(this,t,e)})}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").show(e),i.showDataItem.call(this,t,e)})}_updateTick(t){if(this.get("alignLabels")){let e=t.get("tick"),i=t.get("label"),s=t.get("slice");if(e&&s&&i){let r=this.labelsContainer,a=this.slicesContainer,l=e.get("location",.5),n=r.width(),u=r.height(),o=r.get("paddingLeft",0),m=r.get("paddingRight",0),h=r.get("paddingTop",0),p=r.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},b={x:0,y:0};this._opposite&&(l=1-l),this.get("orientation")=="vertical"?(g=s.getPoint(l,.5),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.x=n,c.y=i.y(),b.x=n-o,b.y=c.y):(c.x=a.x()+a.width(),c.y=i.y(),b.x=c.x+n-i.width()-m,b.y=c.y)):(g=s.getPoint(.5,l),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.y=u,c.x=i.x(),b.y=u-h,b.x=c.x):(c.y=a.y()+a.height(),c.x=i.x(),b.y=c.y+u-i.height()-p,b.x=c.x)),e.set("points",[g,c,b])}}}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("link");e&&(this.links.removeValue(e),e.dispose())}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.width(),a=s.height(),l=t.get("locationX",.5),n=t.get("locationY",.5),u=0,o=0;this.get("orientation")=="horizontal"?o=a/2:u=r/2,e.setAll({x:s.x()+r*l-u,y:s.y()-o+a*n})}}}};Object.defineProperty(W,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSeries"});Object.defineProperty(W,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([W.className])});var V=class extends W{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pyramid"}),Object.defineProperty(this,"_nextSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0}decorateSlice(t){let e=this.get("orientation"),i=this.slicesContainer,s=t.get("slice"),r=t.get("label"),a=t.get("link"),l=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",T),p=Math.abs(t.get("valueWorking",0)),g=t.get("value",0),c,b,y=i.innerHeight(),_=i.innerWidth(),x=a.width(),d=a.height();e=="horizontal"&&([_,y]=[y,_],[x,d]=[d,x]);let D=_/2,S=1;g!=0?S=p/Math.abs(g):t.isHidden()&&(S=1e-6),d*=S,y=y*(o-u)-d*(this._count*this._total-1);let Y=k(m,_);X(this._nextSize)||(this._nextSize=Y);let Z=k(h,_),N=this._nextSize,ne=Math.atan2(y,Y-Z),z=Math.tan(Math.PI/2-ne);if(z==0&&(z=1e-8),l=="area"){let se=(Y+Z)/2*y*p/n,oe=Math.abs(N*N-2*se*z);c=(N-Math.sqrt(oe))/z,c>0?b=(2*se-c*N)/c:b=N}else c=y*p/n,b=N-c*z;let B=this._nextCoord+c/2,J=D,F=this._nextCoord,Q=D,I=F+c;e=="vertical"?(r.set("y",B),r.get("opacity")>0&&this._rLabels.push({label:r,y:B}),s.set("height",c)):(r.set("x",B),r.get("opacity")>0&&this._hLabels.push({label:r,y:B}),[J,F]=[F,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:e,bottomWidth:b,topWidth:N,x:J,y:F}),a.setAll({orientation:e,x:Q,y:I,topWidth:b,bottomWidth:b}),this._nextSize=b,this._nextCoord+=c+d}};Object.defineProperty(V,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PyramidSeries"});Object.defineProperty(V,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([V.className])});var K=class extends V{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pictorial"}),Object.defineProperty(this,"seriesMask",{enumerable:!0,configurable:!0,writable:!0,value:q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f})}),Object.defineProperty(this,"seriesGraphics",{enumerable:!0,configurable:!0,writable:!0,value:this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f}))})}_afterNew(){super._afterNew(),this.set("topWidth",T),this.set("bottomWidth",T),this.set("valueIs","height"),this.slicesContainer.set("mask",this.seriesMask)}_updateScale(){let t=this.slicesContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.seriesMask,r=this.seriesGraphics,a=s.get("scale",1),l=s.localBounds(),n=l.right-l.left,u=l.bottom-l.top;this.get("orientation")=="horizontal"?a=e/n:a=i/u,a!=1/0&&a!=NaN&&(s.set("scale",a),s.set("x",e/2),s.set("y",i/2),r.set("scale",a),r.set("x",e/2),r.set("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let t=this.get("svgPath");this.seriesMask.set("svgPath",t),this.seriesGraphics.set("svgPath",t)}this._updateScale()}};Object.defineProperty(K,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PictorialStackedSeries"});Object.defineProperty(K,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:V.classNames.concat([K.className])});var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};Object.defineProperty(E,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SlicedChart"});Object.defineProperty(E,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([E.className])});export{ie as DefaultTheme,W as FunnelSeries,M as FunnelSlice,$ as PercentChart,C as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,V as PyramidSeries,E as SlicedChart};
3
+ v5.0.0-next.87 */
4
+ import{a as ve}from"./SEKJQRIP.js";import{B as de,C as q,K as re,M as fe,N as _e,ba as ue,c as R,ea as xe,i as P,j as v,k as A,l as me,la as ce,m as he,ma as ae,n as be,na as we,o as te}from"./DALNQUIE.js";import{N as O,a as H,u as k}from"./O7EROEVZ.js";import{a as ge,b as ee,d as T,e as f}from"./IDCRYNQY.js";import{U as j,V as ye,g as X,o as w}from"./7NHBVX2Q.js";import"./YSRMPSZ6.js";var ie=class extends ye{setupDefaultRules(){super.setupDefaultRules();let t=this._root.interfaceColors,e=this.rule.bind(this);e("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:we.new(this._root,{}),width:T,height:T}),e("PieChart").setAll({radius:ee(80),startAngle:-90,endAngle:270}),e("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),e("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),e("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),e("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),e("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),e("Slice",["pie"]).states.create("hover",{scale:1.04}),e("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),e("Tick",["pie"]).setAll({location:1}),e("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),e("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),e("FunnelSlice").setAll({interactive:!0,expandDistance:0}),e("FunnelSlice").states.create("hover",{expandDistance:.15}),e("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["funnel"]).setAll({location:1}),e("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),e("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),e("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),e("PyramidSeries").setAll({valueIs:"area"}),e("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),e("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),e("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),e("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),e("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),e("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["pyramid"]).setAll({location:1}),e("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),e("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),e("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),e("Tick",["pictorial"]).setAll({location:.5});{let i=e("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),_e(i,"fill",t,"alternativeBackground")}}};var $=class extends ce{_afterNew(){this._defaultThemes.push(ie.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(t){super._processSeries(t),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};Object.defineProperty($,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentChart"});Object.defineProperty($,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ce.classNames.concat([$.className])});var C=class extends ue{constructor(){super(...arguments),Object.defineProperty(this,"slicesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"labelsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"ticksContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"_lLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_rLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_hLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"slices",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeSlices())}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLabels())}),Object.defineProperty(this,"ticks",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeTicks())})}makeSlice(t){let e=this.slicesContainer.children.push(this.slices.make());return e.on("fill",()=>{this.updateLegendMarker(t)}),e.on("fillPattern",()=>{this.updateLegendMarker(t)}),e.on("stroke",()=>{this.updateLegendMarker(t)}),e._setDataItem(t),t.set("slice",e),this.slices.push(e),e}makeLabel(t){let e=this.labelsContainer.children.push(this.labels.make());return e._setDataItem(t),t.set("label",e),this.labels.push(e),e}_shouldMakeBullet(t){return t.get("value")!=null}makeTick(t){let e=this.ticksContainer.children.push(this.ticks.make());return e._setDataItem(t),t.set("tick",e),this.ticks.push(e),e}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_onDataClear(){let t=this.get("colors");t&&t.reset();let e=this.get("patterns");e&&e.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let t=0,e=0,i=0,s=1/0,r=0;w(this._dataItems,a=>{let l=a.get("valueWorking",0);t+=l,e+=Math.abs(l)}),w(this._dataItems,a=>{let l=a.get("valueWorking",0);l>i&&(i=l),l<s&&(s=l),r++;let n=l/e;e==0&&(n=0),a.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",t),this.setPrivateRaw("valueAverage",t/r),this.setPrivateRaw("valueAbsoluteSum",e)}}show(t){let e=Object.create(null,{show:{get:()=>super.show}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.show.call(this,t)),i.push(this._sequencedShowHide(!0,t)),yield Promise.all(i)})}hide(t){let e=Object.create(null,{hide:{get:()=>super.hide}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.hide.call(this,t)),i.push(this._sequencedShowHide(!1,t)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&w(this._dataItems,t=>{t.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&w(this._dataItems,t=>{this.updateLegendValue(t)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),w(this.dataItems,t=>{this._updateTick(t)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(t){if(super.processDataItem(t),t.get("fill")==null){let e=this.get("colors");e&&t.setRaw("fill",e.next())}if(t.get("fillPattern")==null){let e=this.get("patterns");e&&t.setRaw("fillPattern",e.next())}}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,t,e)];X(e)||(e=this.get("stateAnimationDuration",0));let r=this.get("stateAnimationEasing"),a=t.get("value"),l=t.animate({key:"valueWorking",to:a,duration:e,easing:r});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.show(e));let u=t.get("label");u&&s.push(u.show(e));let o=t.get("slice");o&&s.push(o.show(e)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,t,e)],r=this.states.create("hidden",{});X(e)||(e=r.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let a=r.get("stateAnimationEasing",this.get("stateAnimationEasing")),l=t.animate({key:"valueWorking",to:0,duration:e,easing:a});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.hide(e));let u=t.get("label");u&&s.push(u.hide(e));let o=t.get("slice");o.hideTooltip(),o&&s.push(o.hide(e)),yield Promise.all(s)})}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("label");e&&(this.labels.removeValue(e),e.dispose());let i=t.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=t.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(t){let e=t.get("slice");e&&!e.isHidden()&&e.hover()}unhoverDataItem(t){let e=t.get("slice");e&&e.unhover()}updateLegendMarker(t){if(t){let e=t.get("slice");if(e){let i=t.get("legendDataItem");if(i){let s=i.get("markerRectangle");w(de,r=>{e.get(r)!=null&&s.set(r,e.get(r))})}}}}_arrangeDown(t){if(t){let e=this._getNextDown();t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.top;i.y+r<e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(t){if(t){let e=this._getNextUp();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.bottom;i.y+r>e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.top})}}_arrangeRight(t){if(t){let e=0;t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.left;i.y+r<e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.right})}}_arrangeLeft(t){if(t){let e=this.labelsContainer.maxWidth();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.right;i.y+r>e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(t){}_dispose(){super._dispose();let t=this.chart;t&&t.series.removeValue(this)}};Object.defineProperty(C,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentSeries"});Object.defineProperty(C,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ue.classNames.concat([C.className])});var G=class extends ${constructor(){super(...arguments),Object.defineProperty(this,"_maxRadius",{enumerable:!0,configurable:!0,writable:!0,value:1})}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_prepareChildren(){super._prepareChildren();let t=this.chartContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.get("startAngle",0),r=this.get("endAngle",0),a=this.get("innerRadius"),l=he(0,0,s,r,1),n=e/(l.right-l.left),u=i/(l.bottom-l.top),o={left:0,right:0,top:0,bottom:0};if(a instanceof ge){let p=a.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,e))/g,o=he(0,0,s,r,p),this.setPrivateRaw("irModifyer",p/a.value)}l=be([l,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=k(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(l.bottom+l.top)/2,dx:-h*(l.right+l.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(t){let e=k(this.get("radius",0),this._maxRadius),i=k(this.get("innerRadius",0),e);if(t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("radius");return a!=null?i+k(a,e-i):i+(e-i)/r*(s+1)}return e}innerRadius(t){let e=this.radius(),i=k(this.get("innerRadius",0),e);if(i<0&&(i=e+i),t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("innerRadius");return a!=null?i+k(a,e-i):i+(e-i)/r*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};Object.defineProperty(G,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieChart"});Object.defineProperty(G,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([G.className])});var U=class extends C{_makeSlices(){return new R(j.new({}),()=>ve._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>xe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e.on("scale",()=>{this._updateTick(t)}),e.on("shiftRadius",()=>{this._updateTick(t)}),e.events.on("positionchanged",()=>{this._updateTick(t)});let i=this.makeLabel(t);i.events.on("positionchanged",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let t=this.chart;return t?t._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let t=this.chart;return t?-t._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let t=this.chart;if(t){if(this.isDirty("alignLabels")){let e=this.labels.template;if(this.get("alignLabels"))e.set("textType","aligned");else{let i=e.get("textType");(i==null||i=="aligned")&&e.set("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let e=this.get("startAngle",t.get("startAngle",-90)),s=this.get("endAngle",t.get("endAngle",270))-e,r=e,a=t.radius(this);this.setPrivateRaw("radius",a);let l=t.innerRadius(this)*t.getPrivate("irModifyer",1);l<0&&(l=a+l),w(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",a),o.set("innerRadius",l),o.set("startAngle",r),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=me(r+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",a),h.setPrivate("innerRadius",l),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=a+h.get("radius",0),g=a*P(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",T),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",a*P(m))}r+=u,this._updateTick(n)})}}}_updateTick(t){let e=t.get("tick"),i=t.get("label"),s=t.get("slice"),r=e.get("location",1);if(e&&i&&s){let a=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*r,l=i.get("labelAngle",0),n=A(l),u=P(l),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=i.x(),g=i.y();let c=[];if(p!=0||g!=0){if(i.get("textType")=="circular"){let y=i.radius()-i.get("paddingBottom",0),_=i.get("labelAngle",0);p=y*A(_),g=y*P(_)}let b=-h;i.getPrivate("left")&&(b=m),c=[{x:s.x()+a*n,y:s.y()+a*u},{x:p+b,y:g},{x:p,y:g}]}e.set("points",c)}}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.get("innerRadius",0),a=s.get("radius",0),l=s.get("startAngle",0),n=s.get("arc",0),u=t.get("locationX",.5),o=t.get("locationY",.5),m=l+n*u,h=r+(a-r)*o;e.setAll({x:A(m)*h,y:P(m)*h})}}}};Object.defineProperty(U,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieSeries"});Object.defineProperty(U,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([U.className])});var M=class extends q{constructor(){super(...arguments),Object.defineProperty(this,"_projectionDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_tlx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_trx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_try",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_blx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_brx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cprx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cplx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cpry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cply",{enumerable:!0,configurable:!0,writable:!0,value:0})}_afterNew(){super._afterNew(),this.set("draw",t=>{let e=this.width(),i=this.height(),s=Math.min(e,i)/2,r=k(this.get("cornerRadiusTL",0),s),a=k(this.get("cornerRadiusTR",0),s),l=k(this.get("cornerRadiusBR",0),s),n=k(this.get("cornerRadiusBL",0),s),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,b=this._bly;o==h&&(o=o-.01),g==b&&(g=g-.01);let y=te({x:m,y:h},{x:u,y:o}),_=te({x:u,y:o},{x:p,y:g}),x=te({x:p,y:g},{x:c,y:b}),d=te({x:c,y:b},{x:m,y:h});this.get("orientation")=="horizontal"?(r=Math.min(r,Math.abs(h-o)/2),a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(b-g)/2),n=Math.min(n,Math.abs(b-g)/2)):(r=Math.min(r,Math.abs(m-u)/2),a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let D=m-r*v((y-d)/2)*A(d),S=h-r*v((y-d)/2)*P(d),Y=m-r*v((d-y)/2)*A(y),Z=h-r*v((d-y)/2)*P(y),N=u-a*v((_-y)/2)*A(y),ne=o-a*v((_-y)/2)*P(y),z=u-a*v((y-_)/2)*A(_),B=o-a*v((y-_)/2)*P(_),J=p-l*v((x-_)/2)*A(_),F=g-l*v((x-_)/2)*P(_),Q=p-l*v((_-x)/2)*A(x),I=g-l*v((_-x)/2)*P(x),pe=c-n*v((d-x)/2)*A(x),se=b-n*v((d-x)/2)*P(x),oe=c-n*v((x-d)/2)*A(d),Ae=b-n*v((x-d)/2)*P(d);t.moveTo(Y,Z),t.lineTo(N,ne),t.arcTo(u,o,z,B,a),t.quadraticCurveTo(this._cprx,this._cpry,J,F),t.arcTo(p,g,Q,I,l),t.lineTo(pe,se),t.arcTo(c,b,oe,Ae,n),t.quadraticCurveTo(this._cplx,this._cply,D,S),t.arcTo(m,h,Y,Z,r)})}getPoint(t,e){let i=this.width(),s=this.height(),r=this.get("topWidth",0),a=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*e,h=n+(u-n)*e;return{x:m+(h-m)*t,y:s*e}}else{let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*t,h=n+(u-n)*t;return{x:i*t,y:m+(h-m)*e}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")){let t=this.width(),e=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let r=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=e,this._blx=-s/2,this._bly=e,this._cprx=this._trx+(this._brx-this._trx)/2+r*e,this._cpry=this._try+.5*e,this._cplx=this._tlx+(this._blx-this._tlx)/2-r*e,this._cply=this._tly+.5*e):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=t,this._bly=s/2,this._blx=t,this._cpry=this._try+(this._bry-this._try)/2-r*t,this._cprx=this._trx+.5*t,this._cply=this._tly+(this._bly-this._tly)/2+r*t,this._cplx=this._tlx+.5*t)}super._changed()}};Object.defineProperty(M,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSlice"});Object.defineProperty(M,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:q.classNames.concat([M.className])});var W=class extends C{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"funnel"}),Object.defineProperty(this,"links",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLinks())}),Object.defineProperty(this,"_total",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_count",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_nextCoord",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_opposite",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_makeSlices(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>fe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(t){let e=this.slicesContainer.children.push(this.links.make());return e._setDataItem(t),t.set("link",e),this.links.push(e),e}_afterNew(){super._afterNew();let t=this.slicesContainer;t.setAll({isMeasured:!0,position:"relative",width:ee(100),height:ee(100)}),t.onPrivate("width",()=>{this.markDirtySize()}),t.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this.set("layout",this._root.horizontalLayout):this.set("layout",this._root.verticalLayout)}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e._setDataItem(t),t.set("slice",e),this.makeLink(t);let i=this.makeLabel(t);i.on("x",()=>{this._updateTick(t)}),i.on("y",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()}),e.events.on("boundschanged",()=>{let s=e.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let t=0,e=0;if(w(this.dataItems,i=>{let s=i.get("value");X(s)&&(e++,s>0?t+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?e--:t+=1)}),this._total=1/e*t,this._count=e,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty)){let i=this.slicesContainer,s;this.get("orientation")=="vertical"?s=i.innerHeight():s=i.innerWidth(),this._nextCoord=this.get("startLocation",0)*s,this.markDirtyBounds();let r=0;w(this._dataItems,a=>{this.updateLegendValue(a),a.set("index",r),r++;let l=a.get("slice"),n=a.get("tick"),u=a.get("label"),o=a.get("link"),m=a.get("fill"),h=a.get("fillPattern");l._setDefault("fill",m),l._setDefault("stroke",m),l._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=a.get("value");X(p)&&(p==0&&this.get("ignoreZeroValues")?(l.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(l.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(a),this.isLast(a)?o.setPrivate("visible",!1):a.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let t=this.get("orientation"),e=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(e.set("position","relative"),e.setAll({isMeasured:!0}),t=="vertical"?(this.set("layout",this._root.horizontalLayout),i.setAll({centerX:T,x:T})):(this.set("layout",this._root.verticalLayout),i.setAll({centerX:0,x:0}))):(e.setAll({isMeasured:!1,position:"absolute"}),t=="vertical"?(e.setAll({x:f}),i.setAll({centerX:f,x:0})):(e.setAll({y:f}),i.setAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(t){let e=t.get("index"),i=t.get("valueWorking",0);if(e<this.dataItems.length-1){let s=this.dataItems[e+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(t){let e=t.get("index");if(e==this.dataItems.length-1)return!0;for(let i=e+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(t){let e=this.get("orientation"),i=t.get("slice"),s=t.get("label"),r=t.get("link"),a=this.slicesContainer,l=a.innerWidth(),n=a.innerHeight(),u=l;e=="horizontal"&&(u=n);let o=this.getNextValue(t),m=t.get("value",0),h=Math.abs(t.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):t.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let b=h/g*u,y=(h-(h-o)*p)/g*u;i.setAll({topWidth:b,bottomWidth:y,orientation:e}),r.setAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:e});let _=this.get("startLocation",0),x=this.get("endLocation",1);if(e=="vertical"){let d=r.height()*c;n=n*(x-_)+d,i.set("y",this._nextCoord);let D=Math.min(1e5,Math.max(0,n/this._count*c/this._total-d));i.setAll({height:D,x:l/2});let S=this._nextCoord+D/2;s.set("y",S),this._nextCoord+=D+d,r.setAll({y:this._nextCoord-d,x:l/2})}else{let d=r.width()*c;l=l*(x-_)+d,i.set("x",this._nextCoord);let D=Math.min(1e5,Math.max(0,l/this._count*c/this._total-d));i.setAll({width:D,y:n/2});let S=this._nextCoord+D/2;s.set("x",S),this._nextCoord+=D+d,r.setAll({x:this._nextCoord-d,y:n/2})}}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").hide(e),i.hideDataItem.call(this,t,e)})}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").show(e),i.showDataItem.call(this,t,e)})}_updateTick(t){if(this.get("alignLabels")){let e=t.get("tick"),i=t.get("label"),s=t.get("slice");if(e&&s&&i){let r=this.labelsContainer,a=this.slicesContainer,l=e.get("location",.5),n=r.width(),u=r.height(),o=r.get("paddingLeft",0),m=r.get("paddingRight",0),h=r.get("paddingTop",0),p=r.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},b={x:0,y:0};this._opposite&&(l=1-l),this.get("orientation")=="vertical"?(g=s.getPoint(l,.5),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.x=n,c.y=i.y(),b.x=n-o,b.y=c.y):(c.x=a.x()+a.width(),c.y=i.y(),b.x=c.x+n-i.width()-m,b.y=c.y)):(g=s.getPoint(.5,l),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.y=u,c.x=i.x(),b.y=u-h,b.x=c.x):(c.y=a.y()+a.height(),c.x=i.x(),b.y=c.y+u-i.height()-p,b.x=c.x)),e.set("points",[g,c,b])}}}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("link");e&&(this.links.removeValue(e),e.dispose())}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.width(),a=s.height(),l=t.get("locationX",.5),n=t.get("locationY",.5),u=0,o=0;this.get("orientation")=="horizontal"?o=a/2:u=r/2,e.setAll({x:s.x()+r*l-u,y:s.y()-o+a*n})}}}};Object.defineProperty(W,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSeries"});Object.defineProperty(W,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([W.className])});var V=class extends W{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pyramid"}),Object.defineProperty(this,"_nextSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0}decorateSlice(t){let e=this.get("orientation"),i=this.slicesContainer,s=t.get("slice"),r=t.get("label"),a=t.get("link"),l=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",T),p=Math.abs(t.get("valueWorking",0)),g=t.get("value",0),c,b,y=i.innerHeight(),_=i.innerWidth(),x=a.width(),d=a.height();e=="horizontal"&&([_,y]=[y,_],[x,d]=[d,x]);let D=_/2,S=1;g!=0?S=p/Math.abs(g):t.isHidden()&&(S=1e-6),d*=S,y=y*(o-u)-d*(this._count*this._total-1);let Y=k(m,_);X(this._nextSize)||(this._nextSize=Y);let Z=k(h,_),N=this._nextSize,ne=Math.atan2(y,Y-Z),z=Math.tan(Math.PI/2-ne);if(z==0&&(z=1e-8),l=="area"){let se=(Y+Z)/2*y*p/n,oe=Math.abs(N*N-2*se*z);c=(N-Math.sqrt(oe))/z,c>0?b=(2*se-c*N)/c:b=N}else c=y*p/n,b=N-c*z;let B=this._nextCoord+c/2,J=D,F=this._nextCoord,Q=D,I=F+c;e=="vertical"?(r.set("y",B),r.get("opacity")>0&&this._rLabels.push({label:r,y:B}),s.set("height",c)):(r.set("x",B),r.get("opacity")>0&&this._hLabels.push({label:r,y:B}),[J,F]=[F,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:e,bottomWidth:b,topWidth:N,x:J,y:F}),a.setAll({orientation:e,x:Q,y:I,topWidth:b,bottomWidth:b}),this._nextSize=b,this._nextCoord+=c+d}};Object.defineProperty(V,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PyramidSeries"});Object.defineProperty(V,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([V.className])});var K=class extends V{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pictorial"}),Object.defineProperty(this,"seriesMask",{enumerable:!0,configurable:!0,writable:!0,value:q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f})}),Object.defineProperty(this,"seriesGraphics",{enumerable:!0,configurable:!0,writable:!0,value:this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f}))})}_afterNew(){super._afterNew(),this.set("topWidth",T),this.set("bottomWidth",T),this.set("valueIs","height"),this.slicesContainer.set("mask",this.seriesMask)}_updateScale(){let t=this.slicesContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.seriesMask,r=this.seriesGraphics,a=s.get("scale",1),l=s.localBounds(),n=l.right-l.left,u=l.bottom-l.top;this.get("orientation")=="horizontal"?a=e/n:a=i/u,a!=1/0&&a!=NaN&&(s.set("scale",a),s.set("x",e/2),s.set("y",i/2),r.set("scale",a),r.set("x",e/2),r.set("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let t=this.get("svgPath");this.seriesMask.set("svgPath",t),this.seriesGraphics.set("svgPath",t)}this._updateScale()}};Object.defineProperty(K,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PictorialStackedSeries"});Object.defineProperty(K,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:V.classNames.concat([K.className])});var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};Object.defineProperty(E,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SlicedChart"});Object.defineProperty(E,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([E.className])});export{ie as DefaultTheme,W as FunnelSeries,M as FunnelSlice,$ as PercentChart,C as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,V as PyramidSeries,E as SlicedChart};
@@ -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.85 */
4
- import"./5O6P6L5V.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_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 - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"pKr",_era_bc:"eKr",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"jaanuar",February:"veebruar",March:"m\xE4rts",April:"aprill",May:"mai",June:"juuni",July:"juuli",August:"august",September:"september",October:"oktoober",November:"november",December:"detsember",Jan:"jaan",Feb:"veebr",Mar:"m\xE4rts",Apr:"apr","May(short)":"mai",Jun:"juuni",Jul:"juuli",Aug:"aug",Sep:"sept",Oct:"okt",Nov:"nov",Dec:"dets",Sunday:"p\xFChap\xE4ev",Monday:"esmasp\xE4ev",Tuesday:"teisip\xE4ev",Wednesday:"kolmap\xE4ev",Thursday:"neljap\xE4ev",Friday:"reede",Saturday:"laup\xE4ev",Sun:"P",Mon:"E",Tue:"T",Wed:"K",Thu:"N",Fri:"R",Sat:"L",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Suumi",Play:"Esita",Stop:"L\xF5peta",Legend:"Legend","Press ENTER to toggle":"",Loading:"Laadin",Home:"Kodu",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Prindi",Image:"Pilt",Data:"Andmed",Print:"Prindi","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Alates %1 kuni %2","From %1":"Alates %1","To %1":"Kuni %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.87 */
4
+ import"./YSRMPSZ6.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_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 - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"pKr",_era_bc:"eKr",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"jaanuar",February:"veebruar",March:"m\xE4rts",April:"aprill",May:"mai",June:"juuni",July:"juuli",August:"august",September:"september",October:"oktoober",November:"november",December:"detsember",Jan:"jaan",Feb:"veebr",Mar:"m\xE4rts",Apr:"apr","May(short)":"mai",Jun:"juuni",Jul:"juuli",Aug:"aug",Sep:"sept",Oct:"okt",Nov:"nov",Dec:"dets",Sunday:"p\xFChap\xE4ev",Monday:"esmasp\xE4ev",Tuesday:"teisip\xE4ev",Wednesday:"kolmap\xE4ev",Thursday:"neljap\xE4ev",Friday:"reede",Saturday:"laup\xE4ev",Sun:"P",Mon:"E",Tue:"T",Wed:"K",Thu:"N",Fri:"R",Sat:"L",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Suumi",Play:"Esita",Stop:"L\xF5peta",Legend:"Legend","Press ENTER to toggle":"",Loading:"Laadin",Home:"Kodu",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Prindi",Image:"Pilt",Data:"Andmed",Print:"Prindi","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Alates %1 kuni %2","From %1":"Alates %1","To %1":"Kuni %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",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.85 */
4
- import"./5O6P6L5V.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_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 - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"e.Kr.",_era_bc:"f.Kr.",A:"a",P:"p",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"januar",February:"februar",March:"marts",April:"april",May:"maj",June:"juni",July:"juli",August:"august",September:"september",October:"oktober",November:"november",December:"december",Jan:"jan.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"maj",Jun:"jun.",Jul:"jul.",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"dec.",Sunday:"s\xF8ndag",Monday:"mandag",Tuesday:"tirsdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF8rdag",Sun:"s\xF8n.",Mon:"man.",Tue:"tir.",Wed:"ons.",Thu:"tor.",Fri:"fre.",Sat:"l\xF8r.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Afspil",Stop:"Stop",Legend:"Signaturforklaring","Press ENTER to toggle":"",Loading:"Indl\xE6ser",Home:"Hjem",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Udskriv",Image:"Billede",Data:"Data",Print:"Udskriv","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Fra %1 til %2","From %1":"Fra %1","To %1":"Til %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.87 */
4
+ import"./YSRMPSZ6.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_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 - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"e.Kr.",_era_bc:"f.Kr.",A:"a",P:"p",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"januar",February:"februar",March:"marts",April:"april",May:"maj",June:"juni",July:"juli",August:"august",September:"september",October:"oktober",November:"november",December:"december",Jan:"jan.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"maj",Jun:"jun.",Jul:"jul.",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"dec.",Sunday:"s\xF8ndag",Monday:"mandag",Tuesday:"tirsdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF8rdag",Sun:"s\xF8n.",Mon:"man.",Tue:"tir.",Wed:"ons.",Thu:"tor.",Fri:"fre.",Sat:"l\xF8r.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Afspil",Stop:"Stop",Legend:"Signaturforklaring","Press ENTER to toggle":"",Loading:"Indl\xE6ser",Home:"Hjem",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Udskriv",Image:"Billede",Data:"Data",Print:"Udskriv","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Fra %1 til %2","From %1":"Fra %1","To %1":"Til %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",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.85 */
4
- import e from"./FRXOQYDM.js";import{a as d}from"./OAZXAPGP.js";import b from"./WVMLJPZM.js";import a from"./45C7FHNX.js";import{g as v}from"./FZIT2DHJ.js";import"./4FK3E43S.js";import"./Z52I4BRG.js";import{b as g}from"./XENCLWDT.js";import"./4GYETX3H.js";import{I as r,J as l,L as n,O as h,a as s,b as i,s as c}from"./V2WTIF2C.js";import"./5O6P6L5V.js";export default $arcgis.t(([w,,{a:m},p])=>{var f=s`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}`,x="home",u={base:x,button:"arcgis-button"},y=p(w),a=class extends r{constructor(){super(...arguments),this.messages=d(),this.viewModel=y(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=m(()=>this.viewModel,"go"),this.arcgisPropertyChange=v()("state"),this.arcgisReady=c()}static{this.properties={view:0,autoDestroyDisabled:5,goToOverride:0,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.styles=f}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){this.viewModel.go()}_go(){let{viewModel:e}=this;e.state==="going-home"?e.cancelGo():e.go()}render(){let{messages:e,icon:b}=this,t=this.viewModel?.state,o=t==="going-home";return i`<div class=${l(g(u.base,u.button))}><calcite-button .disabled=${t==="disabled"} .iconStart=${o?void 0:b??void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${o?"s":"m"} title=${(t==="going-home"?e.cancel:e.title)??n}>${o?i`<calcite-loader inline label></calcite-loader>`:null}</calcite-button></div>`}};h("arcgis-home",a);return a},"widgets/Home/HomeViewModel",a,b,e)
3
+ v5.0.0-next.87 */
4
+ import e from"./GLSQZF74.js";import{a as d}from"./JKKFLWMT.js";import b from"./N26ELVVV.js";import a from"./HG6K4Z5J.js";import{g as v}from"./JHB4BWDH.js";import"./JT27EM2N.js";import"./YXWFTRNT.js";import{b as g}from"./X6UH54F2.js";import"./SU6NHQT5.js";import{I as r,J as l,L as n,O as h,a as s,b as i,s as c}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";export default $arcgis.t(([w,,{a:m},p])=>{var f=s`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}`,x="home",u={base:x,button:"arcgis-button"},y=p(w),a=class extends r{constructor(){super(...arguments),this.messages=d(),this.viewModel=y(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=m(()=>this.viewModel,"go"),this.arcgisPropertyChange=v()("state"),this.arcgisReady=c()}static{this.properties={view:0,autoDestroyDisabled:5,goToOverride:0,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.styles=f}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){this.viewModel.go()}_go(){let{viewModel:e}=this;e.state==="going-home"?e.cancelGo():e.go()}render(){let{messages:e,icon:b}=this,t=this.viewModel?.state,o=t==="going-home";return i`<div class=${l(g(u.base,u.button))}><calcite-button .disabled=${t==="disabled"} .iconStart=${o?void 0:b??void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${o?"s":"m"} title=${(t==="going-home"?e.cancel:e.title)??n}>${o?i`<calcite-loader inline label></calcite-loader>`:null}</calcite-button></div>`}};h("arcgis-home",a);return a},"widgets/Home/HomeViewModel",a,b,e)
@@ -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.85 */
4
- import d from"./FRXOQYDM.js";import{a as y}from"./OAZXAPGP.js";import c from"./WVMLJPZM.js";import a from"./45C7FHNX.js";import{e as b}from"./FZIT2DHJ.js";import"./4FK3E43S.js";import"./Z52I4BRG.js";import"./XENCLWDT.js";import"./4GYETX3H.js";import{I as u,L as o,O as m,a as g,b as l,s as S}from"./V2WTIF2C.js";import"./5O6P6L5V.js";export default $arcgis.t(([{property:d,subclass:x},p,f,{ignoreAbortErrors:I},{on:_,watch:E},,,w])=>{var $=g`:host{width:100%;height:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);display:flex}p{padding:0;margin:0}.navigation{--internal-attribution-height: 16px;pointer-events:auto;display:flex;align-items:center;gap:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);box-shadow:var(--arcgis-internal-box-shadow);align-self:flex-end;margin-block:auto calc(var(--calcite-spacing-fixed-xl) + var(--internal-attribution-height));margin-inline-start:var(--calcite-spacing-fixed-xl)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-spacing-base);min-width:64px}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}`,M=Object.defineProperty,A=Object.getOwnPropertyDescriptor,a=(i,e,t,n)=>{for(var r=n>1?void 0:n?A(e,t):e,c=i.length-1,h;c>=0;c--)(h=i[c])&&(r=(n?h(e,t,r):h(r))||r);return n&&r&&M(e,t,r),r},s=class extends f{constructor(i){super(i),this.keyboardNavigationEnabled=!1,this._subscribeToSlideEvents=e=>{this._unSubscribeToSlideEvents(e),e.forEach(t=>{let n=t.on("apply-slide-start",()=>this._onApplySlideStart(t));this.addHandles(n,t.id)})},this._unSubscribeToSlideEvents=e=>{e.forEach(t=>{this.hasHandles(t.id)&&this.removeHandles(t.id)})}}initialize(){this._startWatchVisibleSlides()}destroy(){this._unSubscribeToSlideEvents(this.visibleSlides)}get visibleSlides(){return this.view?.map?.presentation?.slides?.filter(i=>!i.hidden)??new p}get lastSlideSelected(){return this.getSlideIndexBySlideId(this.slideId)===this.visibleSlides.length-1}get firstSlideSelected(){return this.getSlideIndexBySlideId(this.slideId)===0}get slideSelected(){return this.getSlideIndexBySlideId(this.slideId)>-1}get hasOnlyOneSlide(){return this.visibleSlides.length===1}get slideIndex(){return this.getSlideIndexBySlideId(this.slideId)}getSlideIndexBySlideId(i){let e=-1;return i&&(e=this.visibleSlides.findIndex(t=>t.id===i)),e}navigateInPresentation(i){let e=this.slideIndex+i,t=this._getSlideBySlideIndex(e);t??=this._getSlideBySlideIndex(0),t&&this._applySlide(t)}captureArrowKeysForNavigation(i,e){let t=["ArrowLeft","ArrowRight","PageUp","PageDown"];if(document.activeElement?.nodeName.toLowerCase()==="arcgis-scene"||!t.includes(i.code))return;let n=e==="rtl"?"ArrowRight":"ArrowLeft",r=i.code===n||i.code==="PageUp"?-1:1;this.navigateInPresentation(r)}_getSlideBySlideIndex(i){if(i!=null&&i>=0&&i<this.visibleSlides.length)return this.visibleSlides.getItemAt(i)}async _applySlide(i){this.view&&await I(i.applyTo(this.view))}_startWatchVisibleSlides(){this._subscribeToSlideEvents(this.visibleSlides),this.addHandles(_(()=>this.visibleSlides,"change",i=>{this._subscribeToSlideEvents(new p(i.added)),this._unSubscribeToSlideEvents(new p(i.removed))},{onListenerAdd:this._subscribeToSlideEvents,onListenerRemove:this._unSubscribeToSlideEvents}))}_onApplySlideStart(i){this.slideId=i.id}};a([d()],s.prototype,"view",2);a([d()],s.prototype,"slideId",2);a([d()],s.prototype,"keyboardNavigationEnabled",2);a([d()],s.prototype,"visibleSlides",1);a([d()],s.prototype,"lastSlideSelected",1);a([d()],s.prototype,"firstSlideSelected",1);a([d()],s.prototype,"slideSelected",1);a([d()],s.prototype,"hasOnlyOneSlide",1);a([d()],s.prototype,"getSlideIndexBySlideId",1);s=a([x("components.presentation.PresentationViewModel")],s);var k=w(s),v=class extends u{constructor(){super(...arguments),this._messages=y(),this.viewModel=k(this),this._direction=b(),this._captureArrowKeysForNavigation=e=>{this.viewModel.captureArrowKeysForNavigation(e,this._direction)},this.autoDestroyDisabled=!1,this.view=this.viewModel.view,this.scale="m",this.keyboardNavigationEnabled=!1,this.arcgisReady=S()}static{this.properties={slideId:1,autoDestroyDisabled:5,view:0,scale:1,keyboardNavigationEnabled:5}}static{this.styles=$}get slideId(){return this.viewModel.slideId}set slideId(e){this.viewModel.slideId=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>E(()=>this.keyboardNavigationEnabled,e=>{document.removeEventListener("keydown",this._captureArrowKeysForNavigation),e&&document.addEventListener("keydown",this._captureArrowKeysForNavigation)},{initial:!0})),this.manager.onDisconnected(()=>{document.removeEventListener("keydown",this._captureArrowKeysForNavigation)})}render(){let e=this.viewModel.lastSlideSelected&&!this.viewModel.hasOnlyOneSlide,t=this._direction==="rtl",n=t?"chevron-right":"chevron-left",r=t?"chevron-left":"chevron-right";return this.viewModel.visibleSlides.length===0?l`<div></div>`:l`<div class="navigation"><calcite-button appearance=transparent icon-start=${n} kind=neutral .scale=${this.scale} .disabled=${this.viewModel.firstSlideSelected||!this.viewModel.slideSelected} .label=${this._messages.previous} title=${this._messages.previous??o} @click=${()=>this.viewModel.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this._renderSlideCounter()}</div><calcite-button appearance=transparent icon-start=${e?"reset":r} kind=neutral .scale=${this.scale} .label=${e?this._messages.restart:this._messages.next} title=${(e?this._messages.restart:this._messages.next)??o} @click=${()=>this.viewModel.navigateInPresentation(1)}></calcite-button></div>`}_renderSlideCounter(){let e=this.viewModel.slideIndex+1,t=this._messages?.slideNavAriaText?.replace("${index}",e.toString()).replace("${numberOfSlides}",this.viewModel.visibleSlides.length.toString());return this.viewModel.slideSelected?l`<p role=banner aria-label=${t??o} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div class="slide-counter-text-element">/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides.length}</p></p>`:l`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides?.length} ${this._messages?.slides}</p>`}};m("arcgis-presentation",v);return v},"core/accessorSupport/decorators","core/Collection","core/Accessor","core/promiseUtils","core/reactiveUtils",a,c,d)
3
+ v5.0.0-next.87 */
4
+ import d from"./GLSQZF74.js";import{a as y}from"./JKKFLWMT.js";import c from"./N26ELVVV.js";import a from"./HG6K4Z5J.js";import{e as b}from"./JHB4BWDH.js";import"./JT27EM2N.js";import"./YXWFTRNT.js";import"./X6UH54F2.js";import"./SU6NHQT5.js";import{I as u,L as o,O as m,a as g,b as l,s as S}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";export default $arcgis.t(([{property:d,subclass:x},p,f,{ignoreAbortErrors:I},{on:_,watch:E},,,w])=>{var $=g`:host{width:100%;height:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);display:flex}p{padding:0;margin:0}.navigation{--internal-attribution-height: 16px;pointer-events:auto;display:flex;align-items:center;gap:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);box-shadow:var(--arcgis-internal-box-shadow);align-self:flex-end;margin-block:auto calc(var(--calcite-spacing-fixed-xl) + var(--internal-attribution-height));margin-inline-start:var(--calcite-spacing-fixed-xl)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-spacing-base);min-width:64px}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}`,M=Object.defineProperty,A=Object.getOwnPropertyDescriptor,a=(i,e,t,n)=>{for(var r=n>1?void 0:n?A(e,t):e,c=i.length-1,h;c>=0;c--)(h=i[c])&&(r=(n?h(e,t,r):h(r))||r);return n&&r&&M(e,t,r),r},s=class extends f{constructor(i){super(i),this.keyboardNavigationEnabled=!1,this._subscribeToSlideEvents=e=>{this._unSubscribeToSlideEvents(e),e.forEach(t=>{let n=t.on("apply-slide-start",()=>this._onApplySlideStart(t));this.addHandles(n,t.id)})},this._unSubscribeToSlideEvents=e=>{e.forEach(t=>{this.hasHandles(t.id)&&this.removeHandles(t.id)})}}initialize(){this._startWatchVisibleSlides()}destroy(){this._unSubscribeToSlideEvents(this.visibleSlides)}get visibleSlides(){return this.view?.map?.presentation?.slides?.filter(i=>!i.hidden)??new p}get lastSlideSelected(){return this.getSlideIndexBySlideId(this.slideId)===this.visibleSlides.length-1}get firstSlideSelected(){return this.getSlideIndexBySlideId(this.slideId)===0}get slideSelected(){return this.getSlideIndexBySlideId(this.slideId)>-1}get hasOnlyOneSlide(){return this.visibleSlides.length===1}get slideIndex(){return this.getSlideIndexBySlideId(this.slideId)}getSlideIndexBySlideId(i){let e=-1;return i&&(e=this.visibleSlides.findIndex(t=>t.id===i)),e}navigateInPresentation(i){let e=this.slideIndex+i,t=this._getSlideBySlideIndex(e);t??=this._getSlideBySlideIndex(0),t&&this._applySlide(t)}captureArrowKeysForNavigation(i,e){let t=["ArrowLeft","ArrowRight","PageUp","PageDown"];if(document.activeElement?.nodeName.toLowerCase()==="arcgis-scene"||!t.includes(i.code))return;let n=e==="rtl"?"ArrowRight":"ArrowLeft",r=i.code===n||i.code==="PageUp"?-1:1;this.navigateInPresentation(r)}_getSlideBySlideIndex(i){if(i!=null&&i>=0&&i<this.visibleSlides.length)return this.visibleSlides.getItemAt(i)}async _applySlide(i){this.view&&await I(i.applyTo(this.view))}_startWatchVisibleSlides(){this._subscribeToSlideEvents(this.visibleSlides),this.addHandles(_(()=>this.visibleSlides,"change",i=>{this._subscribeToSlideEvents(new p(i.added)),this._unSubscribeToSlideEvents(new p(i.removed))},{onListenerAdd:this._subscribeToSlideEvents,onListenerRemove:this._unSubscribeToSlideEvents}))}_onApplySlideStart(i){this.slideId=i.id}};a([d()],s.prototype,"view",2);a([d()],s.prototype,"slideId",2);a([d()],s.prototype,"keyboardNavigationEnabled",2);a([d()],s.prototype,"visibleSlides",1);a([d()],s.prototype,"lastSlideSelected",1);a([d()],s.prototype,"firstSlideSelected",1);a([d()],s.prototype,"slideSelected",1);a([d()],s.prototype,"hasOnlyOneSlide",1);a([d()],s.prototype,"getSlideIndexBySlideId",1);s=a([x("components.presentation.PresentationViewModel")],s);var k=w(s),v=class extends u{constructor(){super(...arguments),this._messages=y(),this.viewModel=k(this),this._direction=b(),this._captureArrowKeysForNavigation=e=>{this.viewModel.captureArrowKeysForNavigation(e,this._direction)},this.autoDestroyDisabled=!1,this.view=this.viewModel.view,this.scale="m",this.keyboardNavigationEnabled=!1,this.arcgisReady=S()}static{this.properties={slideId:1,autoDestroyDisabled:5,view:0,scale:1,keyboardNavigationEnabled:5}}static{this.styles=$}get slideId(){return this.viewModel.slideId}set slideId(e){this.viewModel.slideId=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>E(()=>this.keyboardNavigationEnabled,e=>{document.removeEventListener("keydown",this._captureArrowKeysForNavigation),e&&document.addEventListener("keydown",this._captureArrowKeysForNavigation)},{initial:!0})),this.manager.onDisconnected(()=>{document.removeEventListener("keydown",this._captureArrowKeysForNavigation)})}render(){let e=this.viewModel.lastSlideSelected&&!this.viewModel.hasOnlyOneSlide,t=this._direction==="rtl",n=t?"chevron-right":"chevron-left",r=t?"chevron-left":"chevron-right";return this.viewModel.visibleSlides.length===0?l`<div></div>`:l`<div class="navigation"><calcite-button appearance=transparent icon-start=${n} kind=neutral .scale=${this.scale} .disabled=${this.viewModel.firstSlideSelected||!this.viewModel.slideSelected} .label=${this._messages.previous} title=${this._messages.previous??o} @click=${()=>this.viewModel.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this._renderSlideCounter()}</div><calcite-button appearance=transparent icon-start=${e?"reset":r} kind=neutral .scale=${this.scale} .label=${e?this._messages.restart:this._messages.next} title=${(e?this._messages.restart:this._messages.next)??o} @click=${()=>this.viewModel.navigateInPresentation(1)}></calcite-button></div>`}_renderSlideCounter(){let e=this.viewModel.slideIndex+1,t=this._messages?.slideNavAriaText?.replace("${index}",e.toString()).replace("${numberOfSlides}",this.viewModel.visibleSlides.length.toString());return this.viewModel.slideSelected?l`<p role=banner aria-label=${t??o} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div class="slide-counter-text-element">/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides.length}</p></p>`:l`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides?.length} ${this._messages?.slides}</p>`}};m("arcgis-presentation",v);return v},"core/accessorSupport/decorators","core/Collection","core/Accessor","core/promiseUtils","core/reactiveUtils",a,c,d)
@@ -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.85 */
4
- import"./5O6P6L5V.js";var a={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_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 - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"n.e.",_era_bc:"p.n.e.",A:"a",P:"p",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"stycznia",February:"lutego",March:"marca",April:"kwietnia",May:"maja",June:"czerwca",July:"lipca",August:"sierpnia",September:"wrze\u015Bnia",October:"pa\u017Adziernika",November:"listopada",December:"grudnia",Jan:"sty",Feb:"lut",Mar:"mar",Apr:"kwi","May(short)":"maj",Jun:"cze",Jul:"lip",Aug:"sie",Sep:"wrz",Oct:"pa\u017A",Nov:"lis",Dec:"gru",Sunday:"niedziela",Monday:"poniedzia\u0142ek",Tuesday:"wtorek",Wednesday:"\u015Broda",Thursday:"czwartek",Friday:"pi\u0105tek",Saturday:"sobota",Sun:"niedz.",Mon:"pon.",Tue:"wt.",Wed:"\u015Br.",Thu:"czw.",Fri:"pt.",Sat:"sob.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zmiana skali",Play:"Odtwarzanie",Stop:"Zatrzymaj",Legend:"Legenda","Press ENTER to toggle":"",Loading:"Wczytywanie",Home:"Strona g\u0142\xF3wna",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Drukuj",Image:"Obraz",Data:"Dane",Print:"Drukuj","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
3
+ v5.0.0-next.87 */
4
+ import"./YSRMPSZ6.js";var a={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_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 - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"n.e.",_era_bc:"p.n.e.",A:"a",P:"p",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"stycznia",February:"lutego",March:"marca",April:"kwietnia",May:"maja",June:"czerwca",July:"lipca",August:"sierpnia",September:"wrze\u015Bnia",October:"pa\u017Adziernika",November:"listopada",December:"grudnia",Jan:"sty",Feb:"lut",Mar:"mar",Apr:"kwi","May(short)":"maj",Jun:"cze",Jul:"lip",Aug:"sie",Sep:"wrz",Oct:"pa\u017A",Nov:"lis",Dec:"gru",Sunday:"niedziela",Monday:"poniedzia\u0142ek",Tuesday:"wtorek",Wednesday:"\u015Broda",Thursday:"czwartek",Friday:"pi\u0105tek",Saturday:"sobota",Sun:"niedz.",Mon:"pon.",Tue:"wt.",Wed:"\u015Br.",Thu:"czw.",Fri:"pt.",Sat:"sob.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zmiana skali",Play:"Odtwarzanie",Stop:"Zatrzymaj",Legend:"Legenda","Press ENTER to toggle":"",Loading:"Wczytywanie",Home:"Strona g\u0142\xF3wna",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Drukuj",Image:"Obraz",Data:"Dane",Print:"Drukuj","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a 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.85 */
4
- import{a as f}from"./OAZXAPGP.js";import{a as g}from"./ZSZJ2CA5.js";import a from"./45C7FHNX.js";import{e as u,g as x}from"./FZIT2DHJ.js";import"./4FK3E43S.js";import"./Z52I4BRG.js";import{b as c}from"./XENCLWDT.js";import"./4GYETX3H.js";import{I as b,J as r,L as d,O as m,a as h,b as n,s as _}from"./V2WTIF2C.js";import"./5O6P6L5V.js";export default $arcgis.t(([{a:v}])=>{var z=h`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.arcgis-time-zone-label{display:inline-flex}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}`,e="arcgis-time-zone-label",i={base:e,badge:`${e}__badge`,badgeDisabled:`${e}__badge--disabled`,badgeHidden:`${e}__badge--hidden`,badgeIcon:`${e}__badge-icon`,expander:`${e}__expander`,label:`${e}__label`,labelDisabled:`${e}__label--disabled`,labelHidden:`${e}__label--hidden`,name:`${e}__name`,nameHidden:`${e}__name--hidden`},p=class extends b{constructor(){super(...arguments),this._messages=f({blocking:!0}),this._onExpanderClick=()=>{this.expanded=!this.expanded},this._direction=u(),this.view=v(this),this.position="top-left",this.disabled=!1,this.expanded=!1,this.icon="time-zone",this.arcgisPropertyChange=x()("state"),this.arcgisReady=_()}static{this.properties={_interactive:16,_direction:16,_expandDirection:16,view:0,state:35,referenceElement:1,position:3,disabled:7,expandDirection:3,expanded:7,icon:3,messageOverrides:0,label:1}}static{this.styles=z}get _interactive(){return!(this.disabled||this.state==="disabled")}get state(){return this.view?.ready?"ready":"disabled"}get expandDirection(){return this._expandDirection??this._computeExpandDirection()}set expandDirection(t){this._expandDirection=t}_computeExpandDirection(){if(!this.referenceElement)return"end";switch(this.position){case"top-right":case"bottom-right":case"top-trailing":case"bottom-trailing":return this._direction==="ltr"?"start":"end";case"top-left":case"bottom-left":case"top-leading":case"bottom-leading":return this._direction==="ltr"?"end":"start";default:return"end"}}_getIcon(){let{expanded:t,expandDirection:a}=this;return t?this._direction==="rtl"?a==="start"?"chevrons-left":"chevrons-right":a==="start"?"chevrons-right":"chevrons-left":"time-zone"}render(){let t=c(i.base,g.widget,!this._interactive&&g.disabled),a=this._renderExpander(),o=this._renderName(),s=this._renderBadge(),l=[a,o,s];return this.expandDirection==="start"&&l.reverse(),n`<div aria-label=${this.label??d} class=${r(t)}>${l}</div>`}_renderExpander(){let t=this._getIcon();return n`<calcite-action class=${r(i.expander)} .disabled=${!this._interactive} .icon=${t} @click=${this._onExpanderClick} scale=s .text=${this.label??""} title=${this.label??""??d}></calcite-action>`}_renderBadge(){return n`<div class=${r(c(i.badge,!this.expanded&&i.badgeHidden,!this._interactive&&i.badgeDisabled))}><calcite-icon class=${r(i.badgeIcon)} icon=time-zone scale=s></calcite-icon></div>`}_renderName(){let t="system",a="unknown",o=this.view?.timeZone,s=o===t||o==null?Intl.DateTimeFormat().resolvedOptions().timeZone:o,l=o===a,w=n`<calcite-label class=${r(c(i.label,(!this.expanded||!l)&&i.labelHidden,!this._interactive&&i.labelDisabled))}>${this._messages.noAdjustment}</calcite-label>`,y=n`<calcite-input-time-zone class=${r(c(i.name,(!this.expanded||!s||l)&&i.nameHidden))} .disabled=${!this._interactive} mode=region read-only .value=${s}></calcite-input-time-zone>`;return[w,y]}};m("arcgis-time-zone-label",p);return p},a)
3
+ v5.0.0-next.87 */
4
+ import{a as f}from"./JKKFLWMT.js";import{a as g}from"./4YN5P354.js";import a from"./HG6K4Z5J.js";import{e as u,g as x}from"./JHB4BWDH.js";import"./JT27EM2N.js";import"./YXWFTRNT.js";import{b as c}from"./X6UH54F2.js";import"./SU6NHQT5.js";import{I as b,J as r,L as d,O as m,a as h,b as n,s as _}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";export default $arcgis.t(([{a:v}])=>{var z=h`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.arcgis-time-zone-label{display:inline-flex}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}`,e="arcgis-time-zone-label",i={base:e,badge:`${e}__badge`,badgeDisabled:`${e}__badge--disabled`,badgeHidden:`${e}__badge--hidden`,badgeIcon:`${e}__badge-icon`,expander:`${e}__expander`,label:`${e}__label`,labelDisabled:`${e}__label--disabled`,labelHidden:`${e}__label--hidden`,name:`${e}__name`,nameHidden:`${e}__name--hidden`},p=class extends b{constructor(){super(...arguments),this._messages=f({blocking:!0}),this._onExpanderClick=()=>{this.expanded=!this.expanded},this._direction=u(),this.view=v(this),this.position="top-left",this.disabled=!1,this.expanded=!1,this.icon="time-zone",this.arcgisPropertyChange=x()("state"),this.arcgisReady=_()}static{this.properties={_interactive:16,_direction:16,_expandDirection:16,view:0,state:35,referenceElement:1,position:3,disabled:7,expandDirection:3,expanded:7,icon:3,messageOverrides:0,label:1}}static{this.styles=z}get _interactive(){return!(this.disabled||this.state==="disabled")}get state(){return this.view?.ready?"ready":"disabled"}get expandDirection(){return this._expandDirection??this._computeExpandDirection()}set expandDirection(t){this._expandDirection=t}_computeExpandDirection(){if(!this.referenceElement)return"end";switch(this.position){case"top-right":case"bottom-right":case"top-trailing":case"bottom-trailing":return this._direction==="ltr"?"start":"end";case"top-left":case"bottom-left":case"top-leading":case"bottom-leading":return this._direction==="ltr"?"end":"start";default:return"end"}}_getIcon(){let{expanded:t,expandDirection:a}=this;return t?this._direction==="rtl"?a==="start"?"chevrons-left":"chevrons-right":a==="start"?"chevrons-right":"chevrons-left":"time-zone"}render(){let t=c(i.base,g.widget,!this._interactive&&g.disabled),a=this._renderExpander(),o=this._renderName(),s=this._renderBadge(),l=[a,o,s];return this.expandDirection==="start"&&l.reverse(),n`<div aria-label=${this.label??d} class=${r(t)}>${l}</div>`}_renderExpander(){let t=this._getIcon();return n`<calcite-action class=${r(i.expander)} .disabled=${!this._interactive} .icon=${t} @click=${this._onExpanderClick} scale=s .text=${this.label??""} title=${this.label??""??d}></calcite-action>`}_renderBadge(){return n`<div class=${r(c(i.badge,!this.expanded&&i.badgeHidden,!this._interactive&&i.badgeDisabled))}><calcite-icon class=${r(i.badgeIcon)} icon=time-zone scale=s></calcite-icon></div>`}_renderName(){let t="system",a="unknown",o=this.view?.timeZone,s=o===t||o==null?Intl.DateTimeFormat().resolvedOptions().timeZone:o,l=o===a,w=n`<calcite-label class=${r(c(i.label,(!this.expanded||!l)&&i.labelHidden,!this._interactive&&i.labelDisabled))}>${this._messages.noAdjustment}</calcite-label>`,y=n`<calcite-input-time-zone class=${r(c(i.name,(!this.expanded||!s||l)&&i.nameHidden))} .disabled=${!this._interactive} mode=region read-only .value=${s}></calcite-input-time-zone>`;return[w,y]}};m("arcgis-time-zone-label",p);return p},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.85 */
3
+ v5.0.0-next.87 */
4
4
  var t=["metric","imperial"],s=["inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],a=["square-inches","square-feet","square-yards","square-miles","square-nautical-miles","square-us-feet","square-millimeters","square-centimeters","square-decimeters","square-meters","square-kilometers","acres","ares","hectares"],i=["liters","cubic-millimeters","cubic-centimeters","cubic-decimeters","cubic-meters","cubic-kilometers","cubic-inches","cubic-feet","cubic-yards","cubic-miles"],c=[...t,...s],u=[...t,...a],m=[...t,...i];function l(e,r=!0){return r?e==null?{state:"unavailable"}:{state:"available",value:e}:{state:"invalid"}}function n(e,r){switch(r.type){case"length":return e.formatLength(r);case"area":return e.formatArea(r);case"volume":return e.formatVolume(r);default:return""}}function o(e){return e==="imperial"||e==="metric"}export{c as a,u as b,m as c,l as d,n as e,o 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.85 */
4
- import{I as d,J as s,O as u,a as o,b as p}from"./V2WTIF2C.js";import"./5O6P6L5V.js";export default $arcgis.t(([{watch:m}])=>{var h=o`.arcgis-print__scale-input-container{display:flex;align-items:center;padding-bottom:var(--calcite-spacing-md)}.arcgis-print__scale-input-container .arcgis-print__scale-input{flex-grow:1}`,c="arcgis-print",n={scaleInfoContainer:`${c}__scale-info-container`,scaleInputContainer:`${c}__scale-input-container`,scaleInput:`${c}__scale-input`},r=class extends d{constructor(){super(...arguments),this._scale=0,this._scaleEnabled=!1}static{this.properties={_scale:16,_scaleEnabled:16,viewModel:0,messages:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[m(()=>[this.viewModel.templateOptions.scale,this.viewModel.templateOptions.scaleEnabled],()=>{let{scale:e,scaleEnabled:t}=this.viewModel.templateOptions;this._scale=e,this._scaleEnabled=t},{initial:!0}),m(()=>this.viewModel.view?.scale,e=>{e&&(!this.viewModel.templateOptions.scaleEnabled||!this.viewModel.templateOptions.scale)&&(this.viewModel.templateOptions.scale=e)},{initial:!0})])}_resetToCurrentScale(){this.viewModel.templateOptions.scale=this.viewModel.view?.scale}render(){let{messages:e,_scale:t,_scaleEnabled:l}=this;return p`<div class=${s(n.scaleInfoContainer)}><calcite-label layout=inline><calcite-checkbox .checked=${l} @calciteCheckboxChange=${a=>{this.viewModel.templateOptions.scaleEnabled=a.target.checked,this._resetToCurrentScale()}}></calcite-checkbox>${e.scale}</calcite-label><div class=${s(n.scaleInputContainer)}><calcite-input-number .ariaLabel=${e.scaleLabel} .ariaValueNow=${`${t}`} class=${s(n.scaleInput)} .disabled=${!l} .value=${`${t}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${a=>{let i=Number(a.target.value);if(Number.isNaN(i)||i<0||!Number.isFinite(i)){a.target.value=`${t}`;return}this.viewModel.templateOptions.scale=i}}></calcite-input-number><calcite-button appearance=outline .ariaLabel=${e.reset} .disabled=${!l} icon-start=refresh kind=neutral @click=${()=>this._resetToCurrentScale()}></calcite-button></div></div>`}};u("arcgis-print-scale-section",r);return r},"core/reactiveUtils")
3
+ v5.0.0-next.87 */
4
+ import{I as d,J as s,O as u,a as o,b as p}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";export default $arcgis.t(([{watch:m}])=>{var h=o`.arcgis-print__scale-input-container{display:flex;align-items:center;padding-bottom:var(--calcite-spacing-md)}.arcgis-print__scale-input-container .arcgis-print__scale-input{flex-grow:1}`,c="arcgis-print",n={scaleInfoContainer:`${c}__scale-info-container`,scaleInputContainer:`${c}__scale-input-container`,scaleInput:`${c}__scale-input`},r=class extends d{constructor(){super(...arguments),this._scale=0,this._scaleEnabled=!1}static{this.properties={_scale:16,_scaleEnabled:16,viewModel:0,messages:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[m(()=>[this.viewModel.templateOptions.scale,this.viewModel.templateOptions.scaleEnabled],()=>{let{scale:e,scaleEnabled:t}=this.viewModel.templateOptions;this._scale=e,this._scaleEnabled=t},{initial:!0}),m(()=>this.viewModel.view?.scale,e=>{e&&(!this.viewModel.templateOptions.scaleEnabled||!this.viewModel.templateOptions.scale)&&(this.viewModel.templateOptions.scale=e)},{initial:!0})])}_resetToCurrentScale(){this.viewModel.templateOptions.scale=this.viewModel.view?.scale}render(){let{messages:e,_scale:t,_scaleEnabled:l}=this;return p`<div class=${s(n.scaleInfoContainer)}><calcite-label layout=inline><calcite-checkbox .checked=${l} @calciteCheckboxChange=${a=>{this.viewModel.templateOptions.scaleEnabled=a.target.checked,this._resetToCurrentScale()}}></calcite-checkbox>${e.scale}</calcite-label><div class=${s(n.scaleInputContainer)}><calcite-input-number .ariaLabel=${e.scaleLabel} .ariaValueNow=${`${t}`} class=${s(n.scaleInput)} .disabled=${!l} .value=${`${t}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${a=>{let i=Number(a.target.value);if(Number.isNaN(i)||i<0||!Number.isFinite(i)){a.target.value=`${t}`;return}this.viewModel.templateOptions.scale=i}}></calcite-input-number><calcite-button appearance=outline .ariaLabel=${e.reset} .disabled=${!l} icon-start=refresh kind=neutral @click=${()=>this._resetToCurrentScale()}></calcite-button></div></div>`}};u("arcgis-print-scale-section",r);return r},"core/reactiveUtils")
@@ -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.85 */
4
- import{a as F}from"./GRS6C55W.js";import{a as A}from"./T5HGJ7Y6.js";import{I as T,M as q,O as S,a as v,b as p}from"./V2WTIF2C.js";import"./5O6P6L5V.js";export default $arcgis.t(([{createReactiveMap:I,findUtilityNetwork:U,queryAllJSON:V,getOrCreateMapValue:D},{stripHTML:L},b,{ignoreAbortErrors:N},{watch:C},M,Q,B,P,x,G])=>{var O=v`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`,E=100,$={assetGroup:"assetgroup",assetType:"assettype"},j="{00000000-0000-0000-0000-000000000000}",k=class extends T{constructor(){super(...arguments),this._addFlowItem=t=>{t&&this.flowItems?.push(t)},this._attachmentAssociations=new b,this._attachmentFeatureCount=0,this._cancelQuery=()=>{let{_queryAbortController:t}=this;t&&t.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:t}=this;t&&t.abort(),this._queryFeatureCountAbortController=null},this._connectivityAssociations=new b,this._connectivityFeatureCount=0,this._containerAssociations=new b,this._containerFeatureCount=0,this._contentAssociations=new b,this._contentFeatureCount=0,this._networkSourceIdsInUse=new Set,this._query=async t=>{if(!t)return;await this._loadUtiltyNetworks();let{_queryAbortController:e}=this;this._destroyAssociatedFeatureViewModels(),this._clearFeatures(),this._featureCount&&await this._queryAssociatedFeatures(t,{signal:e?.signal})},this._queryController=async t=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query(t)),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let t=new AbortController;this._queryFeatureCountAbortController=t,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===t&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryDebounced=F(this._queryController,E),this._queryFeatureCountDebounced=F(this._queryFeatureCountController,E),this._structureAssociations=new b,this._structureFeatureCount=0,this._queryAssociationType=async()=>{this._activeAssociationType&&this._queryDebounced(this._activeAssociationType)},this._associationFeatures=I(),this._associationViewModels=I(),this._featureCount=0,this._loaded=!1,this._queryAbortController=null,this._queryFeatureCountAbortController=null,this._queryPageAbortController=null,this.associationTypes=null,this.autoDestroyDisabled=!1,this.flowType="feature-utility-network-associations",this.headingLevel=2,this.source="popup"}static{this.properties={_activeAssociationType:16,_associationFeatures:16,_associationViewModels:16,_canLoad:16,_canQuery:16,_featureCount:16,_loaded:16,_queryAbortController:16,_queryFeatureCountAbortController:16,_queryPageAbortController:16,_state:16,associationTypes:0,autoDestroyDisabled:5,description:1,flowItems:0,flowType:1,graphic:0,heading:1,headingLevel:9,layer:0,map:0,messages:0,parentFeatureViewModel:0,source:1,spatialReference:0,timeZone:1,view:0}}static{this.styles=O}get _globalId(){return(this._globalIdField&&this.graphic?.attributes?.[this._globalIdField])??null}get _globalIdField(){return this.layer?.globalIdField}get _objectId(){return(this._objectIdField&&this.graphic?.attributes?.[this._objectIdField])??null}get _objectIdField(){return this.layer?.objectIdField}get _supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get _utilityNetwork(){let{layer:t,map:e}=this;if(!t?.loaded||!e)return null;let s=this._isSubtypeSublayer(t)?t.parent:t;return U(e,s)}get _canLoad(){return!!this.map}get _canQuery(){return!!this.layer?.capabilities?.query?.supportsPagination}get _state(){let{_canLoad:t,_canQuery:e,_featureCount:s,_loaded:a,_queryAbortController:i,_queryFeatureCountAbortController:o,_queryPageAbortController:c,associationTypes:l}=this;return o||t&&!a?"loading":i||c?"querying":!this._globalId||!l||!e||!s?"disabled":"ready"}get heading(){return this._heading}set heading(t){this._heading=t}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this.graphic,this.layer,this.map,this.associationTypes,this._canQuery,this._objectId,this._globalId],()=>{this._queryFeatureCountDebounced(),this._queryAssociationType()},{initial:!0}),C(()=>this._activeAssociationType,t=>{this._queryDebounced(t)}),C(()=>this._associationFeatures.values(),()=>{this._setUpUtilityNetworkAssociationsViewModels()})]),this.manager.onDestroy(()=>{this._cancelQuery(),this._cancelQueryFeatureCount()})}_addAssociationTypeFlowItem(t){this._addFlowItem(q(p`<arcgis-feature-utility-network-association-list .associationViewModels=${this._associationViewModels} .description=${this.parentFeatureViewModel?.title} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(t)} .messages=${this.messages} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`))}_clearAssociations(){this._attachmentAssociations.removeAll(),this._connectivityAssociations.removeAll(),this._containerAssociations.removeAll(),this._contentAssociations.removeAll(),this._structureAssociations.removeAll()}_clearFeatures(){this._associationFeatures.forEach(t=>t.removeAll()),this._associationFeatures.clear()}_compareByFeatureTitle(t,e){return t.title.localeCompare(e.title,void 0,{numeric:!0})}async _countAssociatedFeatureCount(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a);return await t.queryFeatureCount({where:o,outFields:["*"],returnGeometry:!1},{signal:i?.signal})}async _countAssociatedFeatures(t,e,s,a,i){if(!e.length)return 0;let o=await this._findLayersBySourceId(t);await this._loadLayers(o);let c=o.map(l=>this._countAssociatedFeatureCount(l,e,s,a,i));return(await Promise.all(c)).reduce((l,r)=>l+r,0)}async _createAssociationFeatureObjects(t,e,s,a,i){if(!t.length)return[];let o=new Map,c=Array.from(e.entries()).map(async([r,d])=>{let u=await this._findLayersBySourceId(r);await this._loadLayers(u);let h=u.map(m=>this._queryLayer(m,d,s,a,i));(await Promise.all(h)).forEach(m=>{m.forEach(n=>{if(this.source==="popup"?n.sourceLayer&&n.getEffectivePopupTemplate():n.sourceLayer){let _=n.layer.globalIdField??"",y=n.attributes[_],w=o.get(y)??[];w.push(n),o.set(y,w)}})})});await Promise.all(c);let l=[];return await Promise.all(t.toArray().map(async r=>{let{fromNetworkElement:d,toNetworkElement:u}=r,h=d.globalId===this._globalId?u:d,m=o.get(h.globalId)??[];await Promise.all(m.map(async n=>{let _=this._utilityNetwork?.getTerminalById(h?.terminalId)?.name,y=await n.sourceLayer.getFeatureTitle(n)||this._getFeatureTitle(n);l.push({title:y,feature:n,association:r,terminalName:_})}))})),l}_destroyAssociatedFeatureViewModels(){this._associationViewModels.forEach(t=>t.destroyAll())}_equals(t,e){if(t.globalId===j&&e.globalId===j){let s=function(d,u){return d.networkSourceId===u.networkSourceId&&d.globalId===u.globalId&&d.terminalId===u.terminalId&&d.firstUnit===u.firstUnit&&d.numUnits===u.numUnits},a=t.fromNetworkElement,i=t.toNetworkElement,o=e.fromNetworkElement,c=e.toNetworkElement,l=s(a,o),r=s(i,c);return l&&r&&t.associationType===e.associationType}return t.globalId!=null&&e.globalId!=null&&t.globalId===e.globalId}async _findLayersBySourceId(t){let{_utilityNetwork:e,map:s}=this;e?.loaded||await e?.load();let a=e.getLayerIdBySourceId(t),i=s.allLayers.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a),o=s.allTables.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a);return i.concat(o).toArray()}_getAssociationsByType(t){switch(t){case"attachment":return this._attachmentAssociations;case"structure":return this._structureAssociations;case"connectivity":return this._connectivityAssociations;case"container":return this._containerAssociations;case"content":return this._contentAssociations}}_getAssociationTypeTitle(t){let{messages:e}=this;if(t.title)return t.title;switch(t.type){case"attachment":return e?.associationsAttachments??this.messages?.noTitle??"";case"connectivity":return e?.associationsConnectivity??this.messages?.noTitle??"";case"structure":return e?.associationsStructure??this.messages?.noTitle??"";case"content":return e?.associationsContents??this.messages?.noTitle??"";case"container":return e?.associationsContainer??this.messages?.noTitle??""}}_getFeatureCountForAssociationType(t){switch(t){case"attachment":return this._attachmentFeatureCount;case"structure":return this._structureFeatureCount;case"content":return this._contentFeatureCount;case"container":return this._containerFeatureCount;case"connectivity":return this._connectivityFeatureCount}}_getFeatureQueryWhereClause(t,e,s,a){let i=t.globalIdField,o=t.fieldsIndex.get($.assetGroup),c=t.fieldsIndex.get($.assetType),l=s!=null,r=a!=null,d=i?M.sqlIn(i,e):null,u=l?`(${o?.name} = ${s})`:null,h=l&&r?`(${c?.name} = ${a})`:null;return[d,u,h].filter(Boolean).join(" AND ")}_getFeatureTitle(t){let e=t.attributes,s=t.sourceLayer;if(!e||!s)return"";let a="displayField"in s?s.displayField:null,i=a!=null?e[a.toString()]:null,o=i!=null?i.toString():null,c=t.getObjectId()?.toString();return o||c||""}_isSubtypeGroupLayer(t){return t!=null&&typeof t=="object"&&"type"in t&&t.type==="subtype-group"&&"sublayers"in t}_isSubtypeSublayer(t){return t?.type==="subtype-sublayer"}async _loadUtiltyNetworks(){let t=this.map;if(!t)return;t.utilityNetworks&&await Promise.allSettled(t.utilityNetworks.map(s=>s.load()));let e=this._utilityNetwork;if(e){let s=a=>{if("layerId"in a&&e.isUtilityLayer(a)){let i=a.layerId!=null?e.getSourceIdByLayerId(a.layerId):null;i!=null&&this._networkSourceIdsInUse.add(i)}};this._networkSourceIdsInUse=new Set,t.allLayers.forEach(s),t.allTables.forEach(s)}}async _loadLayers(t){let e=t.filter(s=>!s.loaded).map(s=>s.load());e.length&&await Promise.allSettled(e)}_matchesGlobalFeature(t,e){return this._equals(t.association,e.association)}async _queryAssociatedFeatures(t,e){let{layer:s,_globalId:a,associationTypes:i,_utilityNetwork:o,_canQuery:c,_associationFeatures:l}=this;if(await Promise.allSettled([s?.load(),o?.load()]),!c||!s||!i||!o)return;let r=this._getAssociationsByType(t.type),{associatedAssetGroup:d,associatedAssetType:u}=t,h=new Map;r.forEach(n=>{let{fromNetworkElement:_,toNetworkElement:y}=n,{networkSourceId:w,elementGlobalId:f}=_.globalId===a?{networkSourceId:y.networkSourceId,elementGlobalId:y.globalId}:{networkSourceId:_.networkSourceId,elementGlobalId:_.globalId},g=h.get(w)||[];g.push(f),h.set(w,g)});let m=await this._createAssociationFeatureObjects(r,h,d,u,e);this._parseFeatureObjects(m,l)}async _queryAssociations(t){let{layer:e,_globalId:s,associationTypes:a,_utilityNetwork:i,_canQuery:o}=this;if(await Promise.allSettled([e?.load(),i?.load()]),this._clearAssociations(),!o||!e||!a||!i||!s)return;let c=this._isSubtypeSublayer(e)?e.parent:e,l=new Q({globalId:s,networkSourceId:i.getSourceIdByLayerId(c.layerId)}),r=new Set;a.forEach(n=>{switch(n.type){case"attachment":case"structure":r.add("attachment");break;case"container":case"content":r.add("containment");break;case"connectivity":r.add("connectivity"),r.add("junction-junction-connectivity"),r.add("junction-edge-from-connectivity"),r.add("junction-edge-midspan-connectivity"),r.add("junction-edge-to-connectivity");break}});let d=await i?.queryAssociations(new B({elements:[l],types:Array.from(r)}),{signal:t?.signal}),u=new Map,h=new Map;a.forEach(n=>{h.set(n.type,n),u.set(n.type,[])}),d.forEach(n=>{let{toNetworkElement:_,fromNetworkElement:y}=n;switch(n.associationType){case"attachment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"attachment",h))break;u.get("attachment")?.push(_.globalId),this._attachmentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"structure",h))break;u.get("structure")?.push(y.globalId),this._structureAssociations.add(n)}break;case"connectivity":case"junction-edge-from-connectivity":case"junction-edge-midspan-connectivity":case"junction-edge-to-connectivity":case"junction-junction-connectivity":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"connectivity",h))break;u.get("connectivity")?.push(_.globalId)}else{if(this._shouldDiscardNetworkElement(y,"connectivity",h))break;u.get("connectivity")?.push(y.globalId)}this._connectivityAssociations.add(n);break;case"containment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"content",h))break;u.get("content")?.push(_.globalId),this._contentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"container",h))break;u.get("container")?.push(y.globalId),this._containerAssociations.add(n)}break}});let m=a.map(async n=>{let{associatedNetworkSourceId:_,associatedAssetGroup:y,associatedAssetType:w}=n,f=u.get(n.type),g=y!=null?await this._countAssociatedFeatures(_,f,y,w,t):f.length;switch(n.type){case"attachment":this._attachmentFeatureCount=g;break;case"connectivity":this._connectivityFeatureCount=g;break;case"container":this._containerFeatureCount=g;break;case"content":this._contentFeatureCount=g;break;case"structure":this._structureFeatureCount=g;break}});await Promise.allSettled(m)}async _queryFeatureCount(){await this._loadUtiltyNetworks();let{_queryFeatureCountAbortController:t,_canQuery:e}=this;if(!e){this._featureCount=0;return}await this._queryAssociations(t),this._featureCount=this._attachmentFeatureCount+this._connectivityFeatureCount+this._containerFeatureCount+this._contentFeatureCount+this._structureFeatureCount}async _queryLayer(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a),c=new x({where:o,outFields:["*"],cacheHint:this._supportsCacheHint}),l=P.fromJSON(await V(t,c,i));return l.features.forEach(r=>{let d=this._isSubtypeGroupLayer(t);r.layer=d?t.findSublayerForFeature(r):t,r.sourceLayer=d?t.findSublayerForFeature(r):t}),l.features}_parseFeatureObjects(t,e){let s=I();t.forEach(a=>{let i=(a?.feature).sourceLayer;D(s,i,()=>new b).add(a)});for(let[a,i]of s)this._sortFeatureObjectsByTitle(i),e.set(a,i)}_selectAssociationType(t){let{flowItems:e}=this;e&&(this._activeAssociationType=t,this._setUpUtilityNetworkAssociationsViewModels(),this._addAssociationTypeFlowItem(t))}_setUpUtilityNetworkAssociationsViewModels(){this._associationViewModels.forEach((i,o)=>{let c=this._associationFeatures.get(o);c?i.forEach(l=>{c.find(r=>this._matchesGlobalFeature(l,r))||(i.remove(l),i.length||this._associationViewModels.delete(o))}):(i.removeAll(),this._associationViewModels.delete(o))});let{map:t,view:e,spatialReference:s,timeZone:a}=this;this._associationFeatures.forEach((i,o)=>{let c=this._associationViewModels.get(o)||new b;i?.filter(Boolean).forEach((l,r)=>{if(!c.some(d=>this._matchesGlobalFeature(d,l))){let{association:d,feature:u,terminalName:h,title:m}=l;c.add({title:m,association:d,featureViewModel:new G({abilities:{utilityNetworkAssociationsContent:!1},map:t,view:e,spatialReference:s,timeZone:a,graphic:u}),terminalName:h},r)}}),this._associationViewModels.set(o,c)})}_shouldDiscardNetworkElement(t,e,s){if(!t)return!1;let{networkSourceId:a}=t,i=s.get(e)?.associatedNetworkSourceId,o=this._networkSourceIdsInUse.has(a);return i!=null&&i!==a||!o}_sortFeatureObjectsByTitle(t){t.sort(this._compareByFeatureTitle)}render(){let{_state:t}=this;return p`<div><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${t==="loading"?this._renderLoading():t==="disabled"?this._renderAssociationNotFound():this._renderContent()}</div>`}_renderAssociationNotFound(){return p`<calcite-notice icon=information kind=info open scale=s width=full><div slot=message>${this.messages?.noAssociations}</div></calcite-notice>`}_renderAssociationTypeList(t){return this._getFeatureCountForAssociationType(t.type)>0?this._renderAssociationTypeListItem(t):null}_renderAssociationTypeListItem(t){let e=this._getAssociationTypeTitle(t);return A(`association-type-${t.type}`,p`<calcite-list-item .description=${L(t.description)} .label=${L(e)} .value=${t.type} @calciteListItemSelect=${()=>this._selectAssociationType(t)}><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`)}_renderContent(){let{_state:t,associationTypes:e,messages:s}=this,a=s?.associationsList??s?.noTitle??"";return A("list-container",p`<div class="list-container">${t==="ready"?p`<div><calcite-list display-mode=flat .label=${a}>${e.map(i=>this._renderAssociationTypeList(i))}</calcite-list></div>`:null}${this._renderStickyLoading()}</div>`)}_renderLoading(){return p`<div class="loading-container">${this._renderLoadingIcon()}${this._renderStickyLoading()}</div>`}_renderLoadingIcon(){return p`<calcite-loader inline label></calcite-loader>`}_renderStickyLoading(){return this._state==="querying"?p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>`:null}};S("arcgis-feature-utility-network-associations",k);return k},"applications/Components/featureUtils","applications/Components/stringUtils","core/Collection","core/promiseUtils","core/reactiveUtils","core/sql","rest/networks/support/NetworkElement","rest/networks/support/QueryAssociationsParameters","rest/support/FeatureSet","rest/support/Query","widgets/Feature/FeatureViewModel")
3
+ v5.0.0-next.87 */
4
+ import{a as F}from"./X4V2UEQT.js";import{a as A}from"./EOA5PL7V.js";import{I as T,M as q,O as S,a as v,b as p}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";export default $arcgis.t(([{createReactiveMap:I,findUtilityNetwork:U,queryAllJSON:V,getOrCreateMapValue:D},{stripHTML:L},b,{ignoreAbortErrors:N},{watch:C},M,Q,B,P,x,G])=>{var O=v`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`,E=100,$={assetGroup:"assetgroup",assetType:"assettype"},j="{00000000-0000-0000-0000-000000000000}",k=class extends T{constructor(){super(...arguments),this._addFlowItem=t=>{t&&this.flowItems?.push(t)},this._attachmentAssociations=new b,this._attachmentFeatureCount=0,this._cancelQuery=()=>{let{_queryAbortController:t}=this;t&&t.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:t}=this;t&&t.abort(),this._queryFeatureCountAbortController=null},this._connectivityAssociations=new b,this._connectivityFeatureCount=0,this._containerAssociations=new b,this._containerFeatureCount=0,this._contentAssociations=new b,this._contentFeatureCount=0,this._networkSourceIdsInUse=new Set,this._query=async t=>{if(!t)return;await this._loadUtiltyNetworks();let{_queryAbortController:e}=this;this._destroyAssociatedFeatureViewModels(),this._clearFeatures(),this._featureCount&&await this._queryAssociatedFeatures(t,{signal:e?.signal})},this._queryController=async t=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query(t)),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let t=new AbortController;this._queryFeatureCountAbortController=t,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===t&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryDebounced=F(this._queryController,E),this._queryFeatureCountDebounced=F(this._queryFeatureCountController,E),this._structureAssociations=new b,this._structureFeatureCount=0,this._queryAssociationType=async()=>{this._activeAssociationType&&this._queryDebounced(this._activeAssociationType)},this._associationFeatures=I(),this._associationViewModels=I(),this._featureCount=0,this._loaded=!1,this._queryAbortController=null,this._queryFeatureCountAbortController=null,this._queryPageAbortController=null,this.associationTypes=null,this.autoDestroyDisabled=!1,this.flowType="feature-utility-network-associations",this.headingLevel=2,this.source="popup"}static{this.properties={_activeAssociationType:16,_associationFeatures:16,_associationViewModels:16,_canLoad:16,_canQuery:16,_featureCount:16,_loaded:16,_queryAbortController:16,_queryFeatureCountAbortController:16,_queryPageAbortController:16,_state:16,associationTypes:0,autoDestroyDisabled:5,description:1,flowItems:0,flowType:1,graphic:0,heading:1,headingLevel:9,layer:0,map:0,messages:0,parentFeatureViewModel:0,source:1,spatialReference:0,timeZone:1,view:0}}static{this.styles=O}get _globalId(){return(this._globalIdField&&this.graphic?.attributes?.[this._globalIdField])??null}get _globalIdField(){return this.layer?.globalIdField}get _objectId(){return(this._objectIdField&&this.graphic?.attributes?.[this._objectIdField])??null}get _objectIdField(){return this.layer?.objectIdField}get _supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get _utilityNetwork(){let{layer:t,map:e}=this;if(!t?.loaded||!e)return null;let s=this._isSubtypeSublayer(t)?t.parent:t;return U(e,s)}get _canLoad(){return!!this.map}get _canQuery(){return!!this.layer?.capabilities?.query?.supportsPagination}get _state(){let{_canLoad:t,_canQuery:e,_featureCount:s,_loaded:a,_queryAbortController:i,_queryFeatureCountAbortController:o,_queryPageAbortController:c,associationTypes:l}=this;return o||t&&!a?"loading":i||c?"querying":!this._globalId||!l||!e||!s?"disabled":"ready"}get heading(){return this._heading}set heading(t){this._heading=t}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this.graphic,this.layer,this.map,this.associationTypes,this._canQuery,this._objectId,this._globalId],()=>{this._queryFeatureCountDebounced(),this._queryAssociationType()},{initial:!0}),C(()=>this._activeAssociationType,t=>{this._queryDebounced(t)}),C(()=>this._associationFeatures.values(),()=>{this._setUpUtilityNetworkAssociationsViewModels()})]),this.manager.onDestroy(()=>{this._cancelQuery(),this._cancelQueryFeatureCount()})}_addAssociationTypeFlowItem(t){this._addFlowItem(q(p`<arcgis-feature-utility-network-association-list .associationViewModels=${this._associationViewModels} .description=${this.parentFeatureViewModel?.title} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(t)} .messages=${this.messages} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`))}_clearAssociations(){this._attachmentAssociations.removeAll(),this._connectivityAssociations.removeAll(),this._containerAssociations.removeAll(),this._contentAssociations.removeAll(),this._structureAssociations.removeAll()}_clearFeatures(){this._associationFeatures.forEach(t=>t.removeAll()),this._associationFeatures.clear()}_compareByFeatureTitle(t,e){return t.title.localeCompare(e.title,void 0,{numeric:!0})}async _countAssociatedFeatureCount(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a);return await t.queryFeatureCount({where:o,outFields:["*"],returnGeometry:!1},{signal:i?.signal})}async _countAssociatedFeatures(t,e,s,a,i){if(!e.length)return 0;let o=await this._findLayersBySourceId(t);await this._loadLayers(o);let c=o.map(l=>this._countAssociatedFeatureCount(l,e,s,a,i));return(await Promise.all(c)).reduce((l,r)=>l+r,0)}async _createAssociationFeatureObjects(t,e,s,a,i){if(!t.length)return[];let o=new Map,c=Array.from(e.entries()).map(async([r,d])=>{let u=await this._findLayersBySourceId(r);await this._loadLayers(u);let h=u.map(m=>this._queryLayer(m,d,s,a,i));(await Promise.all(h)).forEach(m=>{m.forEach(n=>{if(this.source==="popup"?n.sourceLayer&&n.getEffectivePopupTemplate():n.sourceLayer){let _=n.layer.globalIdField??"",y=n.attributes[_],w=o.get(y)??[];w.push(n),o.set(y,w)}})})});await Promise.all(c);let l=[];return await Promise.all(t.toArray().map(async r=>{let{fromNetworkElement:d,toNetworkElement:u}=r,h=d.globalId===this._globalId?u:d,m=o.get(h.globalId)??[];await Promise.all(m.map(async n=>{let _=this._utilityNetwork?.getTerminalById(h?.terminalId)?.name,y=await n.sourceLayer.getFeatureTitle(n)||this._getFeatureTitle(n);l.push({title:y,feature:n,association:r,terminalName:_})}))})),l}_destroyAssociatedFeatureViewModels(){this._associationViewModels.forEach(t=>t.destroyAll())}_equals(t,e){if(t.globalId===j&&e.globalId===j){let s=function(d,u){return d.networkSourceId===u.networkSourceId&&d.globalId===u.globalId&&d.terminalId===u.terminalId&&d.firstUnit===u.firstUnit&&d.numUnits===u.numUnits},a=t.fromNetworkElement,i=t.toNetworkElement,o=e.fromNetworkElement,c=e.toNetworkElement,l=s(a,o),r=s(i,c);return l&&r&&t.associationType===e.associationType}return t.globalId!=null&&e.globalId!=null&&t.globalId===e.globalId}async _findLayersBySourceId(t){let{_utilityNetwork:e,map:s}=this;e?.loaded||await e?.load();let a=e.getLayerIdBySourceId(t),i=s.allLayers.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a),o=s.allTables.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a);return i.concat(o).toArray()}_getAssociationsByType(t){switch(t){case"attachment":return this._attachmentAssociations;case"structure":return this._structureAssociations;case"connectivity":return this._connectivityAssociations;case"container":return this._containerAssociations;case"content":return this._contentAssociations}}_getAssociationTypeTitle(t){let{messages:e}=this;if(t.title)return t.title;switch(t.type){case"attachment":return e?.associationsAttachments??this.messages?.noTitle??"";case"connectivity":return e?.associationsConnectivity??this.messages?.noTitle??"";case"structure":return e?.associationsStructure??this.messages?.noTitle??"";case"content":return e?.associationsContents??this.messages?.noTitle??"";case"container":return e?.associationsContainer??this.messages?.noTitle??""}}_getFeatureCountForAssociationType(t){switch(t){case"attachment":return this._attachmentFeatureCount;case"structure":return this._structureFeatureCount;case"content":return this._contentFeatureCount;case"container":return this._containerFeatureCount;case"connectivity":return this._connectivityFeatureCount}}_getFeatureQueryWhereClause(t,e,s,a){let i=t.globalIdField,o=t.fieldsIndex.get($.assetGroup),c=t.fieldsIndex.get($.assetType),l=s!=null,r=a!=null,d=i?M.sqlIn(i,e):null,u=l?`(${o?.name} = ${s})`:null,h=l&&r?`(${c?.name} = ${a})`:null;return[d,u,h].filter(Boolean).join(" AND ")}_getFeatureTitle(t){let e=t.attributes,s=t.sourceLayer;if(!e||!s)return"";let a="displayField"in s?s.displayField:null,i=a!=null?e[a.toString()]:null,o=i!=null?i.toString():null,c=t.getObjectId()?.toString();return o||c||""}_isSubtypeGroupLayer(t){return t!=null&&typeof t=="object"&&"type"in t&&t.type==="subtype-group"&&"sublayers"in t}_isSubtypeSublayer(t){return t?.type==="subtype-sublayer"}async _loadUtiltyNetworks(){let t=this.map;if(!t)return;t.utilityNetworks&&await Promise.allSettled(t.utilityNetworks.map(s=>s.load()));let e=this._utilityNetwork;if(e){let s=a=>{if("layerId"in a&&e.isUtilityLayer(a)){let i=a.layerId!=null?e.getSourceIdByLayerId(a.layerId):null;i!=null&&this._networkSourceIdsInUse.add(i)}};this._networkSourceIdsInUse=new Set,t.allLayers.forEach(s),t.allTables.forEach(s)}}async _loadLayers(t){let e=t.filter(s=>!s.loaded).map(s=>s.load());e.length&&await Promise.allSettled(e)}_matchesGlobalFeature(t,e){return this._equals(t.association,e.association)}async _queryAssociatedFeatures(t,e){let{layer:s,_globalId:a,associationTypes:i,_utilityNetwork:o,_canQuery:c,_associationFeatures:l}=this;if(await Promise.allSettled([s?.load(),o?.load()]),!c||!s||!i||!o)return;let r=this._getAssociationsByType(t.type),{associatedAssetGroup:d,associatedAssetType:u}=t,h=new Map;r.forEach(n=>{let{fromNetworkElement:_,toNetworkElement:y}=n,{networkSourceId:w,elementGlobalId:f}=_.globalId===a?{networkSourceId:y.networkSourceId,elementGlobalId:y.globalId}:{networkSourceId:_.networkSourceId,elementGlobalId:_.globalId},g=h.get(w)||[];g.push(f),h.set(w,g)});let m=await this._createAssociationFeatureObjects(r,h,d,u,e);this._parseFeatureObjects(m,l)}async _queryAssociations(t){let{layer:e,_globalId:s,associationTypes:a,_utilityNetwork:i,_canQuery:o}=this;if(await Promise.allSettled([e?.load(),i?.load()]),this._clearAssociations(),!o||!e||!a||!i||!s)return;let c=this._isSubtypeSublayer(e)?e.parent:e,l=new Q({globalId:s,networkSourceId:i.getSourceIdByLayerId(c.layerId)}),r=new Set;a.forEach(n=>{switch(n.type){case"attachment":case"structure":r.add("attachment");break;case"container":case"content":r.add("containment");break;case"connectivity":r.add("connectivity"),r.add("junction-junction-connectivity"),r.add("junction-edge-from-connectivity"),r.add("junction-edge-midspan-connectivity"),r.add("junction-edge-to-connectivity");break}});let d=await i?.queryAssociations(new B({elements:[l],types:Array.from(r)}),{signal:t?.signal}),u=new Map,h=new Map;a.forEach(n=>{h.set(n.type,n),u.set(n.type,[])}),d.forEach(n=>{let{toNetworkElement:_,fromNetworkElement:y}=n;switch(n.associationType){case"attachment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"attachment",h))break;u.get("attachment")?.push(_.globalId),this._attachmentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"structure",h))break;u.get("structure")?.push(y.globalId),this._structureAssociations.add(n)}break;case"connectivity":case"junction-edge-from-connectivity":case"junction-edge-midspan-connectivity":case"junction-edge-to-connectivity":case"junction-junction-connectivity":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"connectivity",h))break;u.get("connectivity")?.push(_.globalId)}else{if(this._shouldDiscardNetworkElement(y,"connectivity",h))break;u.get("connectivity")?.push(y.globalId)}this._connectivityAssociations.add(n);break;case"containment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"content",h))break;u.get("content")?.push(_.globalId),this._contentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"container",h))break;u.get("container")?.push(y.globalId),this._containerAssociations.add(n)}break}});let m=a.map(async n=>{let{associatedNetworkSourceId:_,associatedAssetGroup:y,associatedAssetType:w}=n,f=u.get(n.type),g=y!=null?await this._countAssociatedFeatures(_,f,y,w,t):f.length;switch(n.type){case"attachment":this._attachmentFeatureCount=g;break;case"connectivity":this._connectivityFeatureCount=g;break;case"container":this._containerFeatureCount=g;break;case"content":this._contentFeatureCount=g;break;case"structure":this._structureFeatureCount=g;break}});await Promise.allSettled(m)}async _queryFeatureCount(){await this._loadUtiltyNetworks();let{_queryFeatureCountAbortController:t,_canQuery:e}=this;if(!e){this._featureCount=0;return}await this._queryAssociations(t),this._featureCount=this._attachmentFeatureCount+this._connectivityFeatureCount+this._containerFeatureCount+this._contentFeatureCount+this._structureFeatureCount}async _queryLayer(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a),c=new x({where:o,outFields:["*"],cacheHint:this._supportsCacheHint}),l=P.fromJSON(await V(t,c,i));return l.features.forEach(r=>{let d=this._isSubtypeGroupLayer(t);r.layer=d?t.findSublayerForFeature(r):t,r.sourceLayer=d?t.findSublayerForFeature(r):t}),l.features}_parseFeatureObjects(t,e){let s=I();t.forEach(a=>{let i=(a?.feature).sourceLayer;D(s,i,()=>new b).add(a)});for(let[a,i]of s)this._sortFeatureObjectsByTitle(i),e.set(a,i)}_selectAssociationType(t){let{flowItems:e}=this;e&&(this._activeAssociationType=t,this._setUpUtilityNetworkAssociationsViewModels(),this._addAssociationTypeFlowItem(t))}_setUpUtilityNetworkAssociationsViewModels(){this._associationViewModels.forEach((i,o)=>{let c=this._associationFeatures.get(o);c?i.forEach(l=>{c.find(r=>this._matchesGlobalFeature(l,r))||(i.remove(l),i.length||this._associationViewModels.delete(o))}):(i.removeAll(),this._associationViewModels.delete(o))});let{map:t,view:e,spatialReference:s,timeZone:a}=this;this._associationFeatures.forEach((i,o)=>{let c=this._associationViewModels.get(o)||new b;i?.filter(Boolean).forEach((l,r)=>{if(!c.some(d=>this._matchesGlobalFeature(d,l))){let{association:d,feature:u,terminalName:h,title:m}=l;c.add({title:m,association:d,featureViewModel:new G({abilities:{utilityNetworkAssociationsContent:!1},map:t,view:e,spatialReference:s,timeZone:a,graphic:u}),terminalName:h},r)}}),this._associationViewModels.set(o,c)})}_shouldDiscardNetworkElement(t,e,s){if(!t)return!1;let{networkSourceId:a}=t,i=s.get(e)?.associatedNetworkSourceId,o=this._networkSourceIdsInUse.has(a);return i!=null&&i!==a||!o}_sortFeatureObjectsByTitle(t){t.sort(this._compareByFeatureTitle)}render(){let{_state:t}=this;return p`<div><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${t==="loading"?this._renderLoading():t==="disabled"?this._renderAssociationNotFound():this._renderContent()}</div>`}_renderAssociationNotFound(){return p`<calcite-notice icon=information kind=info open scale=s width=full><div slot=message>${this.messages?.noAssociations}</div></calcite-notice>`}_renderAssociationTypeList(t){return this._getFeatureCountForAssociationType(t.type)>0?this._renderAssociationTypeListItem(t):null}_renderAssociationTypeListItem(t){let e=this._getAssociationTypeTitle(t);return A(`association-type-${t.type}`,p`<calcite-list-item .description=${L(t.description)} .label=${L(e)} .value=${t.type} @calciteListItemSelect=${()=>this._selectAssociationType(t)}><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`)}_renderContent(){let{_state:t,associationTypes:e,messages:s}=this,a=s?.associationsList??s?.noTitle??"";return A("list-container",p`<div class="list-container">${t==="ready"?p`<div><calcite-list display-mode=flat .label=${a}>${e.map(i=>this._renderAssociationTypeList(i))}</calcite-list></div>`:null}${this._renderStickyLoading()}</div>`)}_renderLoading(){return p`<div class="loading-container">${this._renderLoadingIcon()}${this._renderStickyLoading()}</div>`}_renderLoadingIcon(){return p`<calcite-loader inline label></calcite-loader>`}_renderStickyLoading(){return this._state==="querying"?p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>`:null}};S("arcgis-feature-utility-network-associations",k);return k},"applications/Components/featureUtils","applications/Components/stringUtils","core/Collection","core/promiseUtils","core/reactiveUtils","core/sql","rest/networks/support/NetworkElement","rest/networks/support/QueryAssociationsParameters","rest/support/FeatureSet","rest/support/Query","widgets/Feature/FeatureViewModel")