@arcgis/map-components 5.2.0-next.7 → 5.2.0-next.70

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 (1041) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/263UQZGD.js +2 -0
  3. package/dist/cdn/27ESFL5A.js +2 -0
  4. package/dist/cdn/2JK6IHRU.js +2 -0
  5. package/dist/cdn/2MNCEI34.js +2 -0
  6. package/dist/cdn/2SVHWSVG.js +2 -0
  7. package/dist/cdn/32XG4IQO.js +2 -0
  8. package/dist/cdn/{5J4YSRUG.js → 34IPKNHM.js} +1 -1
  9. package/dist/cdn/3AN2HM4J.js +2 -0
  10. package/dist/cdn/3EJEDTKE.js +2 -0
  11. package/dist/cdn/3I3LMAGG.js +2 -0
  12. package/dist/cdn/3MGDX726.js +2 -0
  13. package/dist/cdn/3S4WSOMS.js +2 -0
  14. package/dist/cdn/{ELZUFCOE.js → 3SN6IS3V.js} +1 -1
  15. package/dist/cdn/3WTBTYMS.js +2 -0
  16. package/dist/cdn/42UVPIOD.js +2 -0
  17. package/dist/cdn/{72IUGDSR.js → 45KA6IYP.js} +1 -1
  18. package/dist/cdn/{ACYXIGDC.js → 4HUPP5KY.js} +1 -1
  19. package/dist/cdn/{VBNK3ASO.js → 4IYAEXT6.js} +1 -1
  20. package/dist/cdn/4JVOJINY.js +2 -0
  21. package/dist/cdn/4QNVMHPG.js +2 -0
  22. package/dist/cdn/4RGFCQOB.js +2 -0
  23. package/dist/cdn/4SV6HHMC.js +2 -0
  24. package/dist/cdn/4TUKX6PS.js +2 -0
  25. package/dist/cdn/{TVSYOLCW.js → 4VH44HXD.js} +1 -1
  26. package/dist/cdn/4WL7ZDOR.js +2 -0
  27. package/dist/cdn/4YZWUM36.js +2 -0
  28. package/dist/cdn/{FSX5CR3Y.js → 53HZB27L.js} +1 -1
  29. package/dist/cdn/54LZZPH7.js +2 -0
  30. package/dist/cdn/{65KVOBE6.js → 56HANFHY.js} +1 -1
  31. package/dist/cdn/{B3FETUUC.js → 5FOOE24C.js} +1 -1
  32. package/dist/cdn/5GFBHLDY.js +2 -0
  33. package/dist/cdn/{AJJQYWT2.js → 5OJHCEN4.js} +1 -1
  34. package/dist/cdn/5OPSVESB.js +2 -0
  35. package/dist/cdn/5UBFTTQG.js +2 -0
  36. package/dist/cdn/{CN43LFSC.js → 5VHXHQ36.js} +1 -1
  37. package/dist/cdn/63AG67W4.js +2 -0
  38. package/dist/cdn/6LPVSXTP.js +2 -0
  39. package/dist/cdn/{GRF2FJN5.js → 6NWYETZO.js} +1 -1
  40. package/dist/cdn/{AH342SCZ.js → 6T4SNDWL.js} +1 -1
  41. package/dist/cdn/{QIFQVRMB.js → 732AA2XJ.js} +1 -1
  42. package/dist/cdn/7AJVAY4L.js +2 -0
  43. package/dist/cdn/{T7FEVYI7.js → 7ATMAAIA.js} +1 -1
  44. package/dist/cdn/{DTCM4F4D.js → 7B2ON35Y.js} +1 -1
  45. package/dist/cdn/{VVJL7DHA.js → 7BHMRVKK.js} +1 -1
  46. package/dist/cdn/7F6SCTJC.js +2 -0
  47. package/dist/cdn/{2VO54ZCF.js → 7FSKEJN5.js} +1 -1
  48. package/dist/cdn/7HGCXEVW.js +2 -0
  49. package/dist/cdn/{4XXFAFOW.js → 7MIEKJ57.js} +1 -1
  50. package/dist/cdn/{NGJHKJQX.js → 7OBUF2FK.js} +1 -1
  51. package/dist/cdn/{UCJP5KDQ.js → 7RUDSAAC.js} +1 -1
  52. package/dist/cdn/7THMBHKF.js +2 -0
  53. package/dist/cdn/A4VZEZU3.js +2 -0
  54. package/dist/cdn/{36WOQXAG.js → A6CH2UFJ.js} +1 -1
  55. package/dist/cdn/ABWJWVAT.js +2 -0
  56. package/dist/cdn/AFFS32W5.js +2 -0
  57. package/dist/cdn/AKQ23RYL.js +2 -0
  58. package/dist/cdn/{YABPKPDP.js → AOGPP4VX.js} +1 -1
  59. package/dist/cdn/AQ5MEMRU.js +2 -0
  60. package/dist/cdn/AZKD3JVJ.js +2 -0
  61. package/dist/cdn/AZSWPMSD.js +2 -0
  62. package/dist/cdn/B2GZY6PZ.js +2 -0
  63. package/dist/cdn/{DQVQA34C.js → B5GF4C7T.js} +1 -1
  64. package/dist/cdn/B5TWZ7RP.js +2 -0
  65. package/dist/cdn/{LOLYJZFX.js → BHAY27CX.js} +1 -1
  66. package/dist/cdn/{CXQMHOIE.js → BMVELPGD.js} +1 -1
  67. package/dist/cdn/BPARROZU.js +2 -0
  68. package/dist/cdn/BV5DVFHY.js +2 -0
  69. package/dist/cdn/BYURJH5S.js +2 -0
  70. package/dist/cdn/CDGKWT2J.js +2 -0
  71. package/dist/cdn/CEZOPIBZ.js +2 -0
  72. package/dist/cdn/CG52ER6Q.js +2 -0
  73. package/dist/cdn/{TMDT3QFH.js → CL2BELDC.js} +1 -1
  74. package/dist/cdn/CVFKHMDF.js +2 -0
  75. package/dist/cdn/D5DGYDNC.js +2 -0
  76. package/dist/cdn/D6Z3MYCF.js +2 -0
  77. package/dist/cdn/{NL4JYQA4.js → D75QAAQT.js} +1 -1
  78. package/dist/cdn/DBA7NSTP.js +2 -0
  79. package/dist/cdn/DKIT622U.js +2 -0
  80. package/dist/cdn/DSVRIWYW.js +2 -0
  81. package/dist/cdn/EF5I2PGI.js +2 -0
  82. package/dist/cdn/EFLJBQJB.js +2 -0
  83. package/dist/cdn/ELVDMQEB.js +2 -0
  84. package/dist/cdn/ETV3RIV4.js +2 -0
  85. package/dist/cdn/EUSNS4ZR.js +2 -0
  86. package/dist/cdn/{OVESZKUR.js → EZ32225G.js} +1 -1
  87. package/dist/cdn/F3IKTIUT.js +2 -0
  88. package/dist/cdn/{MHA3J3XD.js → FC2KR2OJ.js} +1 -1
  89. package/dist/cdn/{KZH3Q5MI.js → FCGXXNEE.js} +1 -1
  90. package/dist/cdn/FHDJ7G3W.js +2 -0
  91. package/dist/cdn/FKGG2CUG.js +2 -0
  92. package/dist/cdn/FQVFZLFR.js +2 -0
  93. package/dist/cdn/FR3DD5XU.js +2 -0
  94. package/dist/cdn/{2EOQ5G2R.js → FRBI5DO2.js} +1 -1
  95. package/dist/cdn/FUISFUR3.js +2 -0
  96. package/dist/cdn/G3GFYB3W.js +2 -0
  97. package/dist/cdn/{JBJLMUHX.js → G7AAB5J7.js} +1 -1
  98. package/dist/cdn/GG4ZP72A.js +2 -0
  99. package/dist/cdn/GIMPEDA6.js +2 -0
  100. package/dist/cdn/GOIKNGEI.js +2 -0
  101. package/dist/cdn/{VBWKWSWH.js → GTVZDMAZ.js} +1 -1
  102. package/dist/cdn/GU3M4JMW.js +2 -0
  103. package/dist/cdn/GVCVI2FM.js +2 -0
  104. package/dist/cdn/GWNHAPDJ.js +2 -0
  105. package/dist/cdn/H2EVMLHD.js +2 -0
  106. package/dist/cdn/H5BVJ264.js +2 -0
  107. package/dist/cdn/HGPMWYEJ.js +2 -0
  108. package/dist/cdn/{3AEIX7N2.js → HHEQGXDE.js} +1 -1
  109. package/dist/cdn/{RRK7J2RX.js → HSF2MYAX.js} +1 -1
  110. package/dist/cdn/{4C2T7LDD.js → HZR3HENL.js} +1 -1
  111. package/dist/cdn/{THRRGHTM.js → I236E7AW.js} +1 -1
  112. package/dist/cdn/{CK4PHS32.js → ICAEEYON.js} +1 -1
  113. package/dist/cdn/{2W65DCE5.js → IDKRMHDS.js} +1 -1
  114. package/dist/cdn/IEUVYAB2.js +2 -0
  115. package/dist/cdn/IIYUVBKU.js +2 -0
  116. package/dist/cdn/IKTXSXXQ.js +2 -0
  117. package/dist/cdn/ILE73UJE.js +2 -0
  118. package/dist/cdn/IMG33Z76.js +2 -0
  119. package/dist/cdn/IOORBLHL.js +2 -0
  120. package/dist/cdn/IVBBBGIP.js +2 -0
  121. package/dist/cdn/JCRPP54Z.js +2 -0
  122. package/dist/cdn/JFNKQEAB.js +2 -0
  123. package/dist/cdn/JLZ2PFNC.js +2 -0
  124. package/dist/cdn/JNZQSIHO.js +2 -0
  125. package/dist/cdn/JWCHEYHG.js +2 -0
  126. package/dist/cdn/{IZ23ZAMR.js → K2HEKJRC.js} +1 -1
  127. package/dist/cdn/K2KLJ32T.js +2 -0
  128. package/dist/cdn/K3VQUQ6I.js +2 -0
  129. package/dist/cdn/K5WNMCOI.js +2 -0
  130. package/dist/cdn/{5K2CCSSV.js → K76HO7P7.js} +1 -1
  131. package/dist/cdn/KDTYT2TI.js +2 -0
  132. package/dist/cdn/KG4DME7S.js +2 -0
  133. package/dist/cdn/KG4E7MUN.js +2 -0
  134. package/dist/cdn/KI373EER.js +2 -0
  135. package/dist/cdn/KJJVLZO6.js +2 -0
  136. package/dist/cdn/{P3TXSVMD.js → KL6LVGWT.js} +2 -2
  137. package/dist/cdn/KNC343OA.js +2 -0
  138. package/dist/cdn/{S4S5GDLG.js → KUR5PBEN.js} +1 -1
  139. package/dist/cdn/KXYV52R5.js +2 -0
  140. package/dist/cdn/{2UUNYEUN.js → KZQ5ZQEP.js} +1 -1
  141. package/dist/cdn/L254HFGW.js +2 -0
  142. package/dist/cdn/LBL4JL7T.js +2 -0
  143. package/dist/cdn/LFFKXHGN.js +2 -0
  144. package/dist/cdn/LGFVRB7B.js +2 -0
  145. package/dist/cdn/LI7PGPU4.js +2 -0
  146. package/dist/cdn/LIEZSWE4.js +2 -0
  147. package/dist/cdn/LSTPPCUH.js +2 -0
  148. package/dist/cdn/LTBXZRS5.js +2 -0
  149. package/dist/cdn/M2EPGLCO.js +2 -0
  150. package/dist/cdn/M2MHL5UA.js +2 -0
  151. package/dist/cdn/M2O6IGEH.js +2 -0
  152. package/dist/cdn/M47N46M3.js +2 -0
  153. package/dist/cdn/M7P6P7TR.js +2 -0
  154. package/dist/cdn/MCKFNVHF.js +2 -0
  155. package/dist/cdn/{FT2LXOKH.js → MFRZNKMQ.js} +1 -1
  156. package/dist/cdn/MIRNWIIY.js +2 -0
  157. package/dist/cdn/MNMMINQH.js +2 -0
  158. package/dist/cdn/N6Y3DBA3.js +2 -0
  159. package/dist/cdn/N7G6DMQS.js +2 -0
  160. package/dist/cdn/N7QPTZOY.js +2 -0
  161. package/dist/cdn/{SWOFXLPC.js → NDMHZQ2Z.js} +1 -1
  162. package/dist/cdn/{LA4S2O5W.js → NEA3AO6Y.js} +1 -1
  163. package/dist/cdn/{M3U7I4H6.js → NFE73D6R.js} +1 -1
  164. package/dist/cdn/NJ4CBOJN.js +2 -0
  165. package/dist/cdn/NMWFIDS3.js +2 -0
  166. package/dist/cdn/{RVM3LW65.js → O2HG2WMJ.js} +1 -1
  167. package/dist/cdn/{Z3X2EWHT.js → OEOLTZDB.js} +1 -1
  168. package/dist/cdn/OGYCHIZS.js +2 -0
  169. package/dist/cdn/{72HGJS7F.js → OHVLO7G3.js} +1 -1
  170. package/dist/cdn/OIZPPRAI.js +2 -0
  171. package/dist/cdn/OMNTRBAL.js +2 -0
  172. package/dist/cdn/{WA7JHFV4.js → ORO4OWNH.js} +1 -1
  173. package/dist/cdn/P62M6P6V.js +2 -0
  174. package/dist/cdn/{VGUSINO2.js → PGOXXWOQ.js} +1 -1
  175. package/dist/cdn/PLZVYFQY.js +2 -0
  176. package/dist/cdn/PT33LZD5.js +2 -0
  177. package/dist/cdn/PUF3LPVV.js +2 -0
  178. package/dist/cdn/Q44GFWWJ.js +2 -0
  179. package/dist/cdn/{WQ24YPHK.js → Q547RMCD.js} +1 -1
  180. package/dist/cdn/QBG72UPT.js +2 -0
  181. package/dist/cdn/{CXBJTCMX.js → QJHRY67D.js} +1 -1
  182. package/dist/cdn/QJUYGJUN.js +2 -0
  183. package/dist/cdn/QLIWDFZI.js +2 -0
  184. package/dist/cdn/QMBBO7TG.js +2 -0
  185. package/dist/cdn/QMVQEHGP.js +2 -0
  186. package/dist/cdn/QMXF5LPA.js +2 -0
  187. package/dist/cdn/QORUWAIX.js +2 -0
  188. package/dist/cdn/QUZTFUWM.js +1 -0
  189. package/dist/cdn/QXYIAQJR.js +2 -0
  190. package/dist/cdn/R5RHR73A.js +2 -0
  191. package/dist/cdn/R5ZY52DF.js +2 -0
  192. package/dist/cdn/RAUX4YDR.js +2 -0
  193. package/dist/cdn/RDA3MEE2.js +2 -0
  194. package/dist/cdn/{7EDIRSB6.js → RDWM76R2.js} +1 -1
  195. package/dist/cdn/RNUWRSX7.js +2 -0
  196. package/dist/cdn/RP6OFG3R.js +2 -0
  197. package/dist/cdn/RUPHNC7P.js +2 -0
  198. package/dist/cdn/RYBETUNL.js +2 -0
  199. package/dist/cdn/S6IOKQMR.js +2 -0
  200. package/dist/cdn/SB4Y3KAP.js +2 -0
  201. package/dist/cdn/SMTTIAFG.js +2 -0
  202. package/dist/cdn/SRAXSED3.js +2 -0
  203. package/dist/cdn/{LS7VVK2A.js → SWDOEOEG.js} +1 -1
  204. package/dist/cdn/T2JPACWT.js +2 -0
  205. package/dist/cdn/T2SDOX4F.js +2 -0
  206. package/dist/cdn/T4TCUOUB.js +2 -0
  207. package/dist/cdn/TCLKWOOM.js +2 -0
  208. package/dist/cdn/{WQDUJLSY.js → THUDFQBI.js} +1 -1
  209. package/dist/cdn/TKTHZ2GE.js +2 -0
  210. package/dist/cdn/{4Z7PBRIH.js → TPF6CQWI.js} +1 -1
  211. package/dist/cdn/TZGK64CZ.js +2 -0
  212. package/dist/cdn/TZTJY3L5.js +2 -0
  213. package/dist/cdn/U257QRYB.js +2 -0
  214. package/dist/cdn/{TAHZPDRF.js → U5BDUCMV.js} +1 -1
  215. package/dist/cdn/{XKPUIYHL.js → U5NYFDPL.js} +1 -1
  216. package/dist/cdn/U6BJ5CHT.js +2 -0
  217. package/dist/cdn/{2THVOG4Y.js → UAFLVW2D.js} +1 -1
  218. package/dist/cdn/UDZLCLOW.js +4 -0
  219. package/dist/cdn/{EWYSBOXF.js → UFBHHNY2.js} +1 -1
  220. package/dist/cdn/UHY4YPDH.js +2 -0
  221. package/dist/cdn/UJ3FO7VY.js +2 -0
  222. package/dist/cdn/UVZRGGFM.js +2 -0
  223. package/dist/cdn/VDTRRLON.js +2 -0
  224. package/dist/cdn/VJIYYZW3.js +2 -0
  225. package/dist/cdn/VOQLL5JZ.js +2 -0
  226. package/dist/cdn/VQG7S23K.js +2 -0
  227. package/dist/cdn/VQUASLS6.js +2 -0
  228. package/dist/cdn/VRD2Y5E5.js +2 -0
  229. package/dist/cdn/VRZ2TCPU.js +2 -0
  230. package/dist/cdn/{CIPWHULA.js → W3LWWKRB.js} +1 -1
  231. package/dist/cdn/WCWRRXW6.js +2 -0
  232. package/dist/cdn/WTQIUFRF.js +2 -0
  233. package/dist/cdn/{L5DJYP26.js → WW47L2EV.js} +1 -1
  234. package/dist/cdn/X3TEGOBL.js +2 -0
  235. package/dist/cdn/X6USSZBP.js +2 -0
  236. package/dist/cdn/XLAW24IV.js +2 -0
  237. package/dist/cdn/XLFPJW7K.js +2 -0
  238. package/dist/cdn/{DITXUZMH.js → XPBKTZ6K.js} +1 -1
  239. package/dist/cdn/XRPHEZZD.js +2 -0
  240. package/dist/cdn/XUL2L7MJ.js +2 -0
  241. package/dist/cdn/XVUJEFQE.js +2 -0
  242. package/dist/cdn/XZSUBU4T.js +2 -0
  243. package/dist/cdn/Y52XLS45.js +2 -0
  244. package/dist/cdn/YJYUG3DP.js +2 -0
  245. package/dist/cdn/YVQ5XK57.js +2 -0
  246. package/dist/cdn/ZA7J2T63.js +2 -0
  247. package/dist/cdn/ZGGP2PLT.js +2 -0
  248. package/dist/cdn/{URMAKTOH.js → ZJZBS5ZY.js} +1 -1
  249. package/dist/cdn/{JR7WLCS2.js → ZMLP2ZB4.js} +1 -1
  250. package/dist/cdn/ZWAOPC3F.js +2 -0
  251. package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
  252. package/dist/cdn/assets/basemap-gallery/t9n/messages.en.json +1 -1
  253. package/dist/cdn/assets/basemap-layer-list-next/t9n/messages.en.json +1 -0
  254. package/dist/cdn/assets/basemap-toggle/t9n/messages.en.json +1 -1
  255. package/dist/cdn/assets/catalog-layer-list-next/t9n/messages.en.json +1 -0
  256. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ar.json +1 -1
  257. package/dist/cdn/assets/coordinate-conversion/t9n/messages.bg.json +1 -1
  258. package/dist/cdn/assets/coordinate-conversion/t9n/messages.bs.json +1 -1
  259. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ca.json +1 -1
  260. package/dist/cdn/assets/coordinate-conversion/t9n/messages.cs.json +1 -1
  261. package/dist/cdn/assets/coordinate-conversion/t9n/messages.da.json +1 -1
  262. package/dist/cdn/assets/coordinate-conversion/t9n/messages.de.json +1 -1
  263. package/dist/cdn/assets/coordinate-conversion/t9n/messages.el.json +1 -1
  264. package/dist/cdn/assets/coordinate-conversion/t9n/messages.en.json +1 -1
  265. package/dist/cdn/assets/coordinate-conversion/t9n/messages.es.json +1 -1
  266. package/dist/cdn/assets/coordinate-conversion/t9n/messages.et.json +1 -1
  267. package/dist/cdn/assets/coordinate-conversion/t9n/messages.fi.json +1 -1
  268. package/dist/cdn/assets/coordinate-conversion/t9n/messages.fr.json +1 -1
  269. package/dist/cdn/assets/coordinate-conversion/t9n/messages.he.json +1 -1
  270. package/dist/cdn/assets/coordinate-conversion/t9n/messages.hr.json +1 -1
  271. package/dist/cdn/assets/coordinate-conversion/t9n/messages.hu.json +1 -1
  272. package/dist/cdn/assets/coordinate-conversion/t9n/messages.id.json +1 -1
  273. package/dist/cdn/assets/coordinate-conversion/t9n/messages.it.json +1 -1
  274. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ja.json +1 -1
  275. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ko.json +1 -1
  276. package/dist/cdn/assets/coordinate-conversion/t9n/messages.lt.json +1 -1
  277. package/dist/cdn/assets/coordinate-conversion/t9n/messages.lv.json +1 -1
  278. package/dist/cdn/assets/coordinate-conversion/t9n/messages.nl.json +1 -1
  279. package/dist/cdn/assets/coordinate-conversion/t9n/messages.no.json +1 -1
  280. package/dist/cdn/assets/coordinate-conversion/t9n/messages.pl.json +1 -1
  281. package/dist/cdn/assets/coordinate-conversion/t9n/messages.pt-BR.json +1 -1
  282. package/dist/cdn/assets/coordinate-conversion/t9n/messages.pt-PT.json +1 -1
  283. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ro.json +1 -1
  284. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ru.json +1 -1
  285. package/dist/cdn/assets/coordinate-conversion/t9n/messages.sk.json +1 -1
  286. package/dist/cdn/assets/coordinate-conversion/t9n/messages.sl.json +1 -1
  287. package/dist/cdn/assets/coordinate-conversion/t9n/messages.sr.json +1 -1
  288. package/dist/cdn/assets/coordinate-conversion/t9n/messages.sv.json +1 -1
  289. package/dist/cdn/assets/coordinate-conversion/t9n/messages.th.json +1 -1
  290. package/dist/cdn/assets/coordinate-conversion/t9n/messages.tr.json +1 -1
  291. package/dist/cdn/assets/coordinate-conversion/t9n/messages.uk.json +1 -1
  292. package/dist/cdn/assets/coordinate-conversion/t9n/messages.vi.json +1 -1
  293. package/dist/cdn/assets/coordinate-conversion/t9n/messages.zh-CN.json +1 -1
  294. package/dist/cdn/assets/coordinate-conversion/t9n/messages.zh-HK.json +1 -1
  295. package/dist/cdn/assets/coordinate-conversion/t9n/messages.zh-TW.json +1 -1
  296. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ar.json +1 -0
  297. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.bg.json +1 -0
  298. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.bs.json +1 -0
  299. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ca.json +1 -0
  300. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.cs.json +1 -0
  301. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.da.json +1 -0
  302. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.de.json +1 -0
  303. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.el.json +1 -0
  304. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.en.json +1 -0
  305. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.es.json +1 -0
  306. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.et.json +1 -0
  307. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.fi.json +1 -0
  308. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.fr.json +1 -0
  309. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.he.json +1 -0
  310. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.hr.json +1 -0
  311. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.hu.json +1 -0
  312. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.id.json +1 -0
  313. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.it.json +1 -0
  314. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ja.json +1 -0
  315. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ko.json +1 -0
  316. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.lt.json +1 -0
  317. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.lv.json +1 -0
  318. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.nl.json +1 -0
  319. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.no.json +1 -0
  320. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.pl.json +1 -0
  321. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.pt-BR.json +1 -0
  322. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.pt-PT.json +1 -0
  323. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ro.json +1 -0
  324. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ru.json +1 -0
  325. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sk.json +1 -0
  326. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sl.json +1 -0
  327. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sr.json +1 -0
  328. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sv.json +1 -0
  329. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.th.json +1 -0
  330. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.tr.json +1 -0
  331. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.uk.json +1 -0
  332. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.vi.json +1 -0
  333. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.zh-CN.json +1 -0
  334. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.zh-HK.json +1 -0
  335. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.zh-TW.json +1 -0
  336. package/dist/cdn/assets/feature-templates/t9n/messages.en.json +1 -1
  337. package/dist/cdn/assets/oriented-imagery-viewer-panoramic-viewer/t9n/messages.en.json +1 -0
  338. package/dist/cdn/assets/oriented-imagery-viewer-video-controls/t9n/messages.en.json +1 -0
  339. package/dist/cdn/assets/print/t9n/messages.en.json +1 -1
  340. package/dist/cdn/assets/search/t9n/messages.en.json +1 -1
  341. package/dist/cdn/assets/selection-toolbar/t9n/messages.en.json +1 -0
  342. package/dist/cdn/assets/table-list-next/t9n/messages.en.json +1 -0
  343. package/dist/cdn/assets/time-bar/t9n/messages.en.json +1 -0
  344. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ar.json +1 -1
  345. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.bg.json +1 -1
  346. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.bs.json +1 -1
  347. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ca.json +1 -1
  348. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.cs.json +1 -1
  349. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.da.json +1 -1
  350. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.de.json +1 -1
  351. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.el.json +1 -1
  352. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.en.json +1 -1
  353. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.es.json +1 -1
  354. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.et.json +1 -1
  355. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.fi.json +1 -1
  356. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.fr.json +1 -1
  357. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.he.json +1 -1
  358. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.hr.json +1 -1
  359. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.hu.json +1 -1
  360. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.id.json +1 -1
  361. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.it.json +1 -1
  362. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ja.json +1 -1
  363. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ko.json +1 -1
  364. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.lt.json +1 -1
  365. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.lv.json +1 -1
  366. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.nl.json +1 -1
  367. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.no.json +1 -1
  368. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.pl.json +1 -1
  369. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.pt-BR.json +1 -1
  370. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.pt-PT.json +1 -1
  371. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ro.json +1 -1
  372. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ru.json +1 -1
  373. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.sk.json +1 -1
  374. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.sl.json +1 -1
  375. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.sr.json +1 -1
  376. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.sv.json +1 -1
  377. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.th.json +1 -1
  378. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.tr.json +1 -1
  379. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.uk.json +1 -1
  380. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.vi.json +1 -1
  381. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.zh-CN.json +1 -1
  382. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.zh-HK.json +1 -1
  383. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.zh-TW.json +1 -1
  384. package/dist/cdn/assets/unit-select/t9n/messages.ar.json +1 -1
  385. package/dist/cdn/assets/unit-select/t9n/messages.bg.json +1 -1
  386. package/dist/cdn/assets/unit-select/t9n/messages.bs.json +1 -1
  387. package/dist/cdn/assets/unit-select/t9n/messages.ca.json +1 -1
  388. package/dist/cdn/assets/unit-select/t9n/messages.cs.json +1 -1
  389. package/dist/cdn/assets/unit-select/t9n/messages.da.json +1 -1
  390. package/dist/cdn/assets/unit-select/t9n/messages.de.json +1 -1
  391. package/dist/cdn/assets/unit-select/t9n/messages.el.json +1 -1
  392. package/dist/cdn/assets/unit-select/t9n/messages.en.json +1 -1
  393. package/dist/cdn/assets/unit-select/t9n/messages.es.json +1 -1
  394. package/dist/cdn/assets/unit-select/t9n/messages.et.json +1 -1
  395. package/dist/cdn/assets/unit-select/t9n/messages.fi.json +1 -1
  396. package/dist/cdn/assets/unit-select/t9n/messages.fr.json +1 -1
  397. package/dist/cdn/assets/unit-select/t9n/messages.he.json +1 -1
  398. package/dist/cdn/assets/unit-select/t9n/messages.hr.json +1 -1
  399. package/dist/cdn/assets/unit-select/t9n/messages.hu.json +1 -1
  400. package/dist/cdn/assets/unit-select/t9n/messages.id.json +1 -1
  401. package/dist/cdn/assets/unit-select/t9n/messages.it.json +1 -1
  402. package/dist/cdn/assets/unit-select/t9n/messages.ja.json +1 -1
  403. package/dist/cdn/assets/unit-select/t9n/messages.ko.json +1 -1
  404. package/dist/cdn/assets/unit-select/t9n/messages.lt.json +1 -1
  405. package/dist/cdn/assets/unit-select/t9n/messages.lv.json +1 -1
  406. package/dist/cdn/assets/unit-select/t9n/messages.nl.json +1 -1
  407. package/dist/cdn/assets/unit-select/t9n/messages.no.json +1 -1
  408. package/dist/cdn/assets/unit-select/t9n/messages.pl.json +1 -1
  409. package/dist/cdn/assets/unit-select/t9n/messages.pt-BR.json +1 -1
  410. package/dist/cdn/assets/unit-select/t9n/messages.pt-PT.json +1 -1
  411. package/dist/cdn/assets/unit-select/t9n/messages.ro.json +1 -1
  412. package/dist/cdn/assets/unit-select/t9n/messages.ru.json +1 -1
  413. package/dist/cdn/assets/unit-select/t9n/messages.sk.json +1 -1
  414. package/dist/cdn/assets/unit-select/t9n/messages.sl.json +1 -1
  415. package/dist/cdn/assets/unit-select/t9n/messages.sr.json +1 -1
  416. package/dist/cdn/assets/unit-select/t9n/messages.sv.json +1 -1
  417. package/dist/cdn/assets/unit-select/t9n/messages.th.json +1 -1
  418. package/dist/cdn/assets/unit-select/t9n/messages.tr.json +1 -1
  419. package/dist/cdn/assets/unit-select/t9n/messages.uk.json +1 -1
  420. package/dist/cdn/assets/unit-select/t9n/messages.vi.json +1 -1
  421. package/dist/cdn/assets/unit-select/t9n/messages.zh-CN.json +1 -1
  422. package/dist/cdn/assets/unit-select/t9n/messages.zh-HK.json +1 -1
  423. package/dist/cdn/assets/unit-select/t9n/messages.zh-TW.json +1 -1
  424. package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -1
  425. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -1
  426. package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
  427. package/dist/cdn/index.js +1 -1
  428. package/dist/cdn/main.css +1 -1
  429. package/dist/chunks/action-utils.js +9 -9
  430. package/dist/chunks/async-utils.js +63 -51
  431. package/dist/chunks/component-utils.js +1 -1
  432. package/dist/chunks/css.js +25 -0
  433. package/dist/chunks/dateUtils.js +128 -0
  434. package/dist/chunks/earth-utils.js +21 -0
  435. package/dist/chunks/graphicsLayerController.js +74 -0
  436. package/dist/chunks/keyboard-utils.js +15 -0
  437. package/dist/chunks/layer-list-item.js +170 -0
  438. package/dist/chunks/layer-list-next.js +7 -0
  439. package/dist/chunks/layer-utils.js +3 -3
  440. package/dist/chunks/runtime.js +5 -5
  441. package/dist/chunks/slots.js +2 -2
  442. package/dist/chunks/time-utils.js +40 -24
  443. package/dist/chunks/useArcgisViewReadyError.js +22 -15
  444. package/dist/chunks/useViewModel.js +13 -12
  445. package/dist/chunks/utils2.js +6 -5
  446. package/dist/chunks/utils3.js +13 -45
  447. package/dist/chunks/utils4.js +51 -0
  448. package/dist/chunks/zoom.js +32 -0
  449. package/dist/components/arcgis-aggregated-features/customElement.js +63 -63
  450. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +6 -4
  451. package/dist/components/arcgis-area-measurement-2d/customElement.js +42 -42
  452. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
  453. package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
  454. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +5 -2
  455. package/dist/components/arcgis-basemap-gallery/customElement.js +33 -32
  456. package/dist/components/arcgis-basemap-gallery-item/customElement.js +21 -15
  457. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +4 -4
  458. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +269 -0
  459. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +315 -0
  460. package/dist/components/arcgis-basemap-layer-list-next/index.js +14 -0
  461. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +8 -2
  462. package/dist/components/arcgis-basemap-toggle/customElement.js +30 -22
  463. package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -3
  464. package/dist/components/arcgis-bookmarks/customElement.js +157 -145
  465. package/dist/components/arcgis-bookmarks/index.js +2 -2
  466. package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -2
  467. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +3 -3
  468. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +214 -0
  469. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +261 -0
  470. package/dist/components/arcgis-catalog-layer-list-next/index.js +10 -0
  471. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +6 -0
  472. package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
  473. package/dist/components/arcgis-compass/customElement.d.ts +2 -2
  474. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +55 -114
  475. package/dist/components/arcgis-coordinate-conversion/customElement.js +198 -250
  476. package/dist/components/arcgis-coordinate-conversion/index.js +3 -12
  477. package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +427 -0
  478. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +361 -0
  479. package/dist/components/arcgis-coordinate-conversion-next/index.js +19 -0
  480. package/dist/components/arcgis-coordinate-conversion-next/types.d.ts +1 -0
  481. package/dist/components/arcgis-daylight/customElement.d.ts +41 -6
  482. package/dist/components/arcgis-daylight/customElement.js +302 -292
  483. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -2
  484. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -2
  485. package/dist/components/arcgis-directions/customElement.d.ts +4 -3
  486. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -2
  487. package/dist/components/arcgis-editor/customElement.d.ts +86 -3
  488. package/dist/components/arcgis-editor/customElement.js +26 -14
  489. package/dist/components/arcgis-elevation-profile/customElement.d.ts +5 -2
  490. package/dist/components/arcgis-elevation-profile/customElement.js +45 -44
  491. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  492. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  493. package/dist/components/arcgis-expand/customElement.d.ts +2 -2
  494. package/dist/components/arcgis-expand/customElement.js +5 -5
  495. package/dist/components/arcgis-feature/customElement.d.ts +3 -3
  496. package/dist/components/arcgis-feature-attachments/customElement.js +32 -32
  497. package/dist/components/arcgis-feature-content/customElement.js +5 -5
  498. package/dist/components/arcgis-feature-expression/customElement.js +55 -52
  499. package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
  500. package/dist/components/arcgis-feature-media/customElement.js +45 -44
  501. package/dist/components/arcgis-feature-next/customElement.d.ts +2 -2
  502. package/dist/components/arcgis-feature-next/customElement.js +50 -50
  503. package/dist/components/arcgis-feature-relationship/customElement.js +36 -33
  504. package/dist/components/arcgis-feature-table/customElement.d.ts +3 -3
  505. package/dist/components/arcgis-feature-table/customElement.js +41 -35
  506. package/dist/components/arcgis-feature-templates/customElement.d.ts +19 -10
  507. package/dist/components/arcgis-feature-templates/customElement.js +199 -248
  508. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +2 -2
  509. package/dist/components/arcgis-feature-title/customElement.js +7 -6
  510. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  511. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +97 -104
  512. package/dist/components/arcgis-features/customElement.d.ts +18 -3
  513. package/dist/components/arcgis-features/customElement.js +68 -65
  514. package/dist/components/arcgis-features-next/customElement.d.ts +16 -9
  515. package/dist/components/arcgis-features-next/customElement.js +58 -57
  516. package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -3
  517. package/dist/components/arcgis-floor-filter/customElement.js +3 -3
  518. package/dist/components/arcgis-fullscreen/customElement.d.ts +2 -2
  519. package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
  520. package/dist/components/arcgis-home/customElement.d.ts +2 -2
  521. package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
  522. package/dist/components/arcgis-layer-list/customElement.d.ts +3 -3
  523. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +51 -9
  524. package/dist/components/arcgis-layer-list-item-panel/customElement.js +4 -4
  525. package/dist/components/arcgis-layer-list-next/customElement.d.ts +45 -27
  526. package/dist/components/arcgis-layer-list-next/customElement.js +142 -104
  527. package/dist/components/arcgis-layer-list-next/index.js +2 -2
  528. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +10 -150
  529. package/dist/components/arcgis-layer-list-next/types.d.ts +18 -0
  530. package/dist/components/arcgis-legend/customElement.d.ts +4 -4
  531. package/dist/components/arcgis-legend/customElement.js +34 -33
  532. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  533. package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
  534. package/dist/components/arcgis-link-chart/customElement.d.ts +4 -2
  535. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -2
  536. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +2 -2
  537. package/dist/components/arcgis-locate/customElement.d.ts +3 -3
  538. package/dist/components/arcgis-map/customElement.d.ts +148 -139
  539. package/dist/components/arcgis-measurement/customElement.d.ts +2 -2
  540. package/dist/components/arcgis-measurement-content/customElement.js +5 -5
  541. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +11 -9
  542. package/dist/components/arcgis-multi-feature-form/customElement.js +98 -21
  543. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
  544. package/dist/components/arcgis-navigation-toggle/customElement.js +45 -26
  545. package/dist/components/arcgis-navigation-toggle/index.js +1 -0
  546. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -2
  547. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +9 -9
  548. package/dist/components/{arcgis-oriented-imagery-viewer-image-viewer → arcgis-oriented-imagery-viewer-non-panoramic-viewer}/customElement.d.ts +10 -3
  549. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +411 -0
  550. package/dist/components/{arcgis-oriented-imagery-viewer-image-viewer → arcgis-oriented-imagery-viewer-non-panoramic-viewer}/index.js +1 -0
  551. package/dist/components/{arcgis-oriented-imagery-viewer-image-viewer → arcgis-oriented-imagery-viewer-non-panoramic-viewer}/support/NonPanoramicMedia.d.ts +12 -3
  552. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.d.ts +51 -0
  553. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1006 -0
  554. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/index.js +5 -0
  555. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicMedia.d.ts +49 -0
  556. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicTilePlanner.d.ts +18 -0
  557. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicTileSource.d.ts +36 -0
  558. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +91 -0
  559. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +93 -0
  560. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/index.js +2 -0
  561. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.d.ts +34 -0
  562. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.js +61 -0
  563. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/index.js +5 -0
  564. package/dist/components/arcgis-paste/PasteViewModel.d.ts +5 -3
  565. package/dist/components/arcgis-paste/customElement.d.ts +8 -2
  566. package/dist/components/arcgis-paste/customElement.js +240 -233
  567. package/dist/components/arcgis-popup/customElement.d.ts +8 -17
  568. package/dist/components/arcgis-popup/customElement.js +38 -37
  569. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -1
  570. package/dist/components/arcgis-presentation/customElement.d.ts +27 -2
  571. package/dist/components/arcgis-presentation/customElement.js +151 -133
  572. package/dist/components/arcgis-print/customElement.d.ts +7 -4
  573. package/dist/components/arcgis-print/customElement.js +10 -4
  574. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +74 -0
  575. package/dist/components/arcgis-print-datum-transformation-input/index.js +3 -0
  576. package/dist/components/arcgis-print-dpi-input/customElement.js +22 -14
  577. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  578. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  579. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +36 -31
  580. package/dist/components/arcgis-print-layout-advanced-options/index.js +1 -0
  581. package/dist/components/arcgis-print-layout-panel/customElement.js +19 -16
  582. package/dist/components/arcgis-print-main-panel/customElement.js +28 -21
  583. package/dist/components/arcgis-print-template-select/customElement.js +24 -21
  584. package/dist/components/arcgis-print-template-selector/customElement.js +15 -15
  585. package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
  586. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +2 -2
  587. package/dist/components/arcgis-scene/customElement.d.ts +5 -3
  588. package/dist/components/arcgis-search/customElement.d.ts +14 -15
  589. package/dist/components/arcgis-search/customElement.js +5 -5
  590. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +1 -2
  591. package/dist/components/arcgis-search-result-renderer/customElement.js +22 -36
  592. package/dist/components/arcgis-search-result-renderer/index.js +0 -1
  593. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +379 -0
  594. package/dist/components/arcgis-selection-toolbar/customElement.js +191 -0
  595. package/dist/components/arcgis-selection-toolbar/index.js +10 -0
  596. package/dist/components/arcgis-selection-toolbar/types.d.ts +8 -0
  597. package/dist/components/arcgis-shadow-cast/customElement.d.ts +3 -3
  598. package/dist/components/arcgis-shadow-cast/customElement.js +96 -85
  599. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  600. package/dist/components/arcgis-sketch/customElement.d.ts +107 -3
  601. package/dist/components/arcgis-sketch/customElement.js +41 -25
  602. package/dist/components/arcgis-sketch-tooltip-controls/customElement.d.ts +6 -0
  603. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  604. package/dist/components/arcgis-slice/customElement.d.ts +2 -2
  605. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +6 -7
  606. package/dist/components/arcgis-slider-scale-range/customElement.js +69 -56
  607. package/dist/components/arcgis-snapping-controls/customElement.d.ts +2 -2
  608. package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
  609. package/dist/components/arcgis-table-list/customElement.d.ts +3 -3
  610. package/dist/components/arcgis-table-list-next/customElement.d.ts +266 -0
  611. package/dist/components/arcgis-table-list-next/customElement.js +182 -0
  612. package/dist/components/arcgis-table-list-next/index.d.ts +1 -0
  613. package/dist/components/arcgis-table-list-next/index.js +7 -0
  614. package/dist/components/arcgis-template-image/customElement.d.ts +2 -2
  615. package/dist/components/arcgis-template-image/customElement.js +25 -22
  616. package/dist/components/arcgis-template-image/index.js +1 -0
  617. package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +71 -0
  618. package/dist/components/arcgis-time-bar/customElement.d.ts +1006 -0
  619. package/dist/components/arcgis-time-bar/customElement.js +587 -0
  620. package/dist/components/arcgis-time-bar/index.d.ts +1 -0
  621. package/dist/components/arcgis-time-bar/index.js +7 -0
  622. package/dist/components/arcgis-time-bar/types.d.ts +45 -0
  623. package/dist/components/arcgis-time-bar-date/customElement.js +37 -0
  624. package/dist/components/arcgis-time-bar-date/index.js +1 -0
  625. package/dist/components/arcgis-time-bar-extent/customElement.js +30 -0
  626. package/dist/components/arcgis-time-bar-extent/index.js +2 -0
  627. package/dist/components/arcgis-time-bar-settings/customElement.js +352 -0
  628. package/dist/components/arcgis-time-bar-settings/index.js +18 -0
  629. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +172 -0
  630. package/dist/components/arcgis-time-bar-slider/customElement.js +150 -0
  631. package/dist/components/arcgis-time-bar-slider/index.d.ts +1 -0
  632. package/dist/components/arcgis-time-bar-slider/index.js +5 -0
  633. package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
  634. package/dist/components/arcgis-time-slider/customElement.d.ts +8 -8
  635. package/dist/components/arcgis-time-zone-label/customElement.d.ts +2 -2
  636. package/dist/components/arcgis-track/customElement.d.ts +4 -4
  637. package/dist/components/arcgis-unit-radio-button-group/customElement.js +8 -8
  638. package/dist/components/arcgis-unit-select/customElement.js +3 -3
  639. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +0 -2
  640. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +59 -56
  641. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +2 -2
  642. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +1 -1
  643. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +18 -18
  644. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +2 -2
  645. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -4
  646. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +116 -106
  647. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -9
  648. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +220 -205
  649. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +34 -29
  650. package/dist/components/arcgis-utility-network-trace-location/customElement.js +180 -184
  651. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +6 -4
  652. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +37 -38
  653. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +12 -10
  654. package/dist/components/arcgis-utility-network-trace-results/customElement.js +125 -102
  655. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +1 -1
  656. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +2 -2
  657. package/dist/components/arcgis-version-management/customElement.d.ts +114 -94
  658. package/dist/components/arcgis-version-management/customElement.js +164 -176
  659. package/dist/components/arcgis-version-management/index.js +3 -4
  660. package/dist/components/arcgis-version-management-service-item/customElement.js +25 -39
  661. package/dist/components/arcgis-version-management-service-item/index.js +0 -1
  662. package/dist/components/arcgis-version-management-version-list/customElement.js +43 -70
  663. package/dist/components/arcgis-version-management-version-list/index.js +5 -6
  664. package/dist/components/arcgis-version-management-version-list-item/customElement.js +44 -0
  665. package/dist/components/arcgis-version-management-version-list-item/index.js +5 -0
  666. package/dist/components/arcgis-version-management-version-properties/customElement.js +80 -67
  667. package/dist/components/arcgis-version-management-version-properties/index.js +3 -4
  668. package/dist/components/arcgis-video/customElement.d.ts +1 -1
  669. package/dist/components/arcgis-video-player/customElement.d.ts +2 -2
  670. package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
  671. package/dist/components/arcgis-weather/customElement.d.ts +3 -3
  672. package/dist/components/arcgis-weather/customElement.js +112 -111
  673. package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
  674. package/dist/components/arcgis-zoom/customElement.js +21 -45
  675. package/dist/controllers/useT9n.d.ts +3 -0
  676. package/dist/docs/api.json +1 -1
  677. package/dist/docs/docs.json +1 -1
  678. package/dist/docs/vscode.html-custom-data.json +1 -1
  679. package/dist/docs/web-types.json +1 -1
  680. package/dist/index.d.ts +85 -53
  681. package/dist/loader.js +40 -30
  682. package/dist/support/time-utils.d.ts +7 -0
  683. package/dist/types/lumina.d.ts +109 -56
  684. package/dist/types/preact.d.ts +120 -62
  685. package/dist/types/react.d.ts +131 -68
  686. package/dist/types/stencil.d.ts +109 -56
  687. package/dist/utils/layer-list-utils.d.ts +10 -0
  688. package/package.json +6 -6
  689. package/dist/cdn/247JB6HC.js +0 -2
  690. package/dist/cdn/24UHFJSD.js +0 -2
  691. package/dist/cdn/2IHSVTUV.js +0 -2
  692. package/dist/cdn/2MJTTQRU.js +0 -2
  693. package/dist/cdn/3AEP2FXT.js +0 -2
  694. package/dist/cdn/3AZCF2P5.js +0 -2
  695. package/dist/cdn/3IR6UCFP.js +0 -2
  696. package/dist/cdn/3WUFMA2I.js +0 -2
  697. package/dist/cdn/43Q3TUPX.js +0 -2
  698. package/dist/cdn/4FZ4IAPL.js +0 -2
  699. package/dist/cdn/4KS4DINK.js +0 -2
  700. package/dist/cdn/4OTJYTTQ.js +0 -2
  701. package/dist/cdn/4UMLJTUD.js +0 -2
  702. package/dist/cdn/52XUYHPM.js +0 -2
  703. package/dist/cdn/55JA345T.js +0 -2
  704. package/dist/cdn/5DX23PKC.js +0 -2
  705. package/dist/cdn/5EZWKZFY.js +0 -2
  706. package/dist/cdn/5G3WPEKE.js +0 -2
  707. package/dist/cdn/5HLB5EA2.js +0 -2
  708. package/dist/cdn/5MIR5GO7.js +0 -2
  709. package/dist/cdn/5T3MHTWU.js +0 -2
  710. package/dist/cdn/5UUUR4LF.js +0 -2
  711. package/dist/cdn/5YLWFVCR.js +0 -2
  712. package/dist/cdn/646E35Z7.js +0 -2
  713. package/dist/cdn/677ZJV57.js +0 -2
  714. package/dist/cdn/6B3LWOSR.js +0 -2
  715. package/dist/cdn/6DIRMUKS.js +0 -2
  716. package/dist/cdn/6FLKFYZS.js +0 -2
  717. package/dist/cdn/6N233F4I.js +0 -2
  718. package/dist/cdn/6RVCU3XX.js +0 -2
  719. package/dist/cdn/6UZE2NMX.js +0 -2
  720. package/dist/cdn/6WJC22XL.js +0 -2
  721. package/dist/cdn/A2HZCAZE.js +0 -2
  722. package/dist/cdn/A5ST5PJ5.js +0 -2
  723. package/dist/cdn/A5XIQWD5.js +0 -2
  724. package/dist/cdn/ABGIEQOM.js +0 -2
  725. package/dist/cdn/ABPHGXQN.js +0 -2
  726. package/dist/cdn/AC4VLUR7.js +0 -2
  727. package/dist/cdn/AD3PXUFR.js +0 -2
  728. package/dist/cdn/AEV7DYPK.js +0 -2
  729. package/dist/cdn/AHLQEQK2.js +0 -2
  730. package/dist/cdn/AOIJ5WKT.js +0 -2
  731. package/dist/cdn/AU2KKQT7.js +0 -2
  732. package/dist/cdn/AZBJOEWG.js +0 -2
  733. package/dist/cdn/BHPWS2QK.js +0 -2
  734. package/dist/cdn/BIOHRZG4.js +0 -2
  735. package/dist/cdn/BJF74GDX.js +0 -2
  736. package/dist/cdn/BMQSD7CZ.js +0 -2
  737. package/dist/cdn/C53XXDLL.js +0 -2
  738. package/dist/cdn/CEX3HFS5.js +0 -2
  739. package/dist/cdn/CFFGEFFG.js +0 -2
  740. package/dist/cdn/CLRULE43.js +0 -2
  741. package/dist/cdn/CUMFJ3AY.js +0 -2
  742. package/dist/cdn/CZXCSL3K.js +0 -2
  743. package/dist/cdn/E6YUUO2H.js +0 -2
  744. package/dist/cdn/EHWHV3TW.js +0 -2
  745. package/dist/cdn/EJT4UYVM.js +0 -2
  746. package/dist/cdn/ENVZLZTN.js +0 -2
  747. package/dist/cdn/ENZYELFC.js +0 -2
  748. package/dist/cdn/FGSOMLKL.js +0 -2
  749. package/dist/cdn/FMAUG4J6.js +0 -2
  750. package/dist/cdn/FMV55CW5.js +0 -2
  751. package/dist/cdn/FZNGDLO6.js +0 -2
  752. package/dist/cdn/GBFRPLDY.js +0 -2
  753. package/dist/cdn/GDYHCLUR.js +0 -2
  754. package/dist/cdn/GFALET66.js +0 -2
  755. package/dist/cdn/GHWKTOPC.js +0 -2
  756. package/dist/cdn/GPBHLYUN.js +0 -2
  757. package/dist/cdn/GSXZL5BA.js +0 -2
  758. package/dist/cdn/GV4HF2GT.js +0 -2
  759. package/dist/cdn/GVOCIBLC.js +0 -2
  760. package/dist/cdn/H6ZQZLZH.js +0 -2
  761. package/dist/cdn/HEXBGK66.js +0 -2
  762. package/dist/cdn/HKRVIYSV.js +0 -2
  763. package/dist/cdn/HZ5Z3AFP.js +0 -2
  764. package/dist/cdn/ICPGYJTW.js +0 -2
  765. package/dist/cdn/IG4R2XLP.js +0 -2
  766. package/dist/cdn/J2IWIVXJ.js +0 -2
  767. package/dist/cdn/JBRTOHPW.js +0 -2
  768. package/dist/cdn/JBWWGDI5.js +0 -2
  769. package/dist/cdn/JK33HXYG.js +0 -2
  770. package/dist/cdn/JQVWY2TG.js +0 -2
  771. package/dist/cdn/L34RL7Y3.js +0 -2
  772. package/dist/cdn/L5SSZOSL.js +0 -2
  773. package/dist/cdn/LDM5UMZM.js +0 -2
  774. package/dist/cdn/LID7GFUT.js +0 -2
  775. package/dist/cdn/LIUWARHG.js +0 -2
  776. package/dist/cdn/LM56QFP5.js +0 -2
  777. package/dist/cdn/M6KJCZWB.js +0 -2
  778. package/dist/cdn/M7XQTF3M.js +0 -2
  779. package/dist/cdn/MH6OJCJ6.js +0 -2
  780. package/dist/cdn/MVJ7QDW6.js +0 -2
  781. package/dist/cdn/NEJ3H2LB.js +0 -2
  782. package/dist/cdn/NOHLNRB4.js +0 -2
  783. package/dist/cdn/NPXSQGJZ.js +0 -2
  784. package/dist/cdn/NTGB5SHW.js +0 -2
  785. package/dist/cdn/O33Q3AY4.js +0 -2
  786. package/dist/cdn/O7FJMEMD.js +0 -2
  787. package/dist/cdn/OAUNPVAN.js +0 -2
  788. package/dist/cdn/OF5Q7FRP.js +0 -2
  789. package/dist/cdn/OMUMDPCJ.js +0 -2
  790. package/dist/cdn/OUW4GHOA.js +0 -2
  791. package/dist/cdn/OYGDLBCN.js +0 -2
  792. package/dist/cdn/P2YOSZ4V.js +0 -2
  793. package/dist/cdn/P7JISRFX.js +0 -2
  794. package/dist/cdn/PB2LBPTM.js +0 -2
  795. package/dist/cdn/PECOFR7Q.js +0 -2
  796. package/dist/cdn/PHYOOMR5.js +0 -2
  797. package/dist/cdn/PRZ7EKB7.js +0 -2
  798. package/dist/cdn/PSILIICR.js +0 -2
  799. package/dist/cdn/PYZZBY6S.js +0 -2
  800. package/dist/cdn/QAX5TDE3.js +0 -2
  801. package/dist/cdn/QFRHNDZH.js +0 -2
  802. package/dist/cdn/QHO6KMH2.js +0 -2
  803. package/dist/cdn/QM2RBDFO.js +0 -4
  804. package/dist/cdn/QV5MMPOA.js +0 -2
  805. package/dist/cdn/QY5F7WAO.js +0 -2
  806. package/dist/cdn/QZF3RIPB.js +0 -2
  807. package/dist/cdn/RCBNPAHR.js +0 -2
  808. package/dist/cdn/RJM52R4G.js +0 -2
  809. package/dist/cdn/RPVITNNA.js +0 -2
  810. package/dist/cdn/RYYSU4TL.js +0 -2
  811. package/dist/cdn/S37FED24.js +0 -2
  812. package/dist/cdn/S3NXWPEX.js +0 -2
  813. package/dist/cdn/SHTOPWTQ.js +0 -2
  814. package/dist/cdn/SNPNJWEW.js +0 -2
  815. package/dist/cdn/SZUSZJBL.js +0 -2
  816. package/dist/cdn/T4E43QYP.js +0 -2
  817. package/dist/cdn/TCLL6YSI.js +0 -2
  818. package/dist/cdn/TJCT3W5Z.js +0 -2
  819. package/dist/cdn/TLCRVU3X.js +0 -2
  820. package/dist/cdn/TNILH7D7.js +0 -2
  821. package/dist/cdn/TOKXAMIO.js +0 -2
  822. package/dist/cdn/TQUEVR5G.js +0 -2
  823. package/dist/cdn/UBAD7GRA.js +0 -2
  824. package/dist/cdn/UC4ZZXFO.js +0 -2
  825. package/dist/cdn/UGIPDM5B.js +0 -2
  826. package/dist/cdn/UNGXK2Y7.js +0 -2
  827. package/dist/cdn/UZWPHO3G.js +0 -2
  828. package/dist/cdn/VGY3SY4N.js +0 -2
  829. package/dist/cdn/W2ANYMK4.js +0 -2
  830. package/dist/cdn/W42XLSER.js +0 -2
  831. package/dist/cdn/WIWQH44O.js +0 -2
  832. package/dist/cdn/WL5U5CAI.js +0 -2
  833. package/dist/cdn/WMH7TCIP.js +0 -2
  834. package/dist/cdn/WNQPFJIY.js +0 -2
  835. package/dist/cdn/WSAN54E7.js +0 -2
  836. package/dist/cdn/WXEWBXRA.js +0 -2
  837. package/dist/cdn/XDPTVNYI.js +0 -2
  838. package/dist/cdn/XF5VBSRX.js +0 -2
  839. package/dist/cdn/XRTJ3EUO.js +0 -2
  840. package/dist/cdn/XUPZR2SQ.js +0 -2
  841. package/dist/cdn/Y27ZQGV5.js +0 -2
  842. package/dist/cdn/YJDTB6TD.js +0 -2
  843. package/dist/cdn/Z2I526XO.js +0 -2
  844. package/dist/cdn/ZBKRBSVS.js +0 -2
  845. package/dist/cdn/ZF7CLHYV.js +0 -2
  846. package/dist/cdn/ZSI6JMCS.js +0 -2
  847. package/dist/cdn/ZVLADMN6.js +0 -2
  848. package/dist/cdn/assets/home/t9n/messages.home.json +0 -1
  849. package/dist/cdn/assets/slider-scale-range/t9n/messages.ScaleRangeSlider.json +0 -1
  850. package/dist/cdn/assets/swipe/t9n/messages.swipe.json +0 -1
  851. package/dist/cdn/assets/value-picker/t9n/messages.ar.json +0 -1
  852. package/dist/cdn/assets/value-picker/t9n/messages.bg.json +0 -1
  853. package/dist/cdn/assets/value-picker/t9n/messages.bs.json +0 -1
  854. package/dist/cdn/assets/value-picker/t9n/messages.ca.json +0 -1
  855. package/dist/cdn/assets/value-picker/t9n/messages.cs.json +0 -1
  856. package/dist/cdn/assets/value-picker/t9n/messages.da.json +0 -1
  857. package/dist/cdn/assets/value-picker/t9n/messages.de.json +0 -1
  858. package/dist/cdn/assets/value-picker/t9n/messages.el.json +0 -1
  859. package/dist/cdn/assets/value-picker/t9n/messages.en.json +0 -1
  860. package/dist/cdn/assets/value-picker/t9n/messages.es.json +0 -1
  861. package/dist/cdn/assets/value-picker/t9n/messages.et.json +0 -1
  862. package/dist/cdn/assets/value-picker/t9n/messages.fi.json +0 -1
  863. package/dist/cdn/assets/value-picker/t9n/messages.fr.json +0 -1
  864. package/dist/cdn/assets/value-picker/t9n/messages.he.json +0 -1
  865. package/dist/cdn/assets/value-picker/t9n/messages.hr.json +0 -1
  866. package/dist/cdn/assets/value-picker/t9n/messages.hu.json +0 -1
  867. package/dist/cdn/assets/value-picker/t9n/messages.id.json +0 -1
  868. package/dist/cdn/assets/value-picker/t9n/messages.it.json +0 -1
  869. package/dist/cdn/assets/value-picker/t9n/messages.ja.json +0 -1
  870. package/dist/cdn/assets/value-picker/t9n/messages.ko.json +0 -1
  871. package/dist/cdn/assets/value-picker/t9n/messages.lt.json +0 -1
  872. package/dist/cdn/assets/value-picker/t9n/messages.lv.json +0 -1
  873. package/dist/cdn/assets/value-picker/t9n/messages.nl.json +0 -1
  874. package/dist/cdn/assets/value-picker/t9n/messages.no.json +0 -1
  875. package/dist/cdn/assets/value-picker/t9n/messages.pl.json +0 -1
  876. package/dist/cdn/assets/value-picker/t9n/messages.pt-BR.json +0 -1
  877. package/dist/cdn/assets/value-picker/t9n/messages.pt-PT.json +0 -1
  878. package/dist/cdn/assets/value-picker/t9n/messages.ro.json +0 -1
  879. package/dist/cdn/assets/value-picker/t9n/messages.ru.json +0 -1
  880. package/dist/cdn/assets/value-picker/t9n/messages.sk.json +0 -1
  881. package/dist/cdn/assets/value-picker/t9n/messages.sl.json +0 -1
  882. package/dist/cdn/assets/value-picker/t9n/messages.sr.json +0 -1
  883. package/dist/cdn/assets/value-picker/t9n/messages.sv.json +0 -1
  884. package/dist/cdn/assets/value-picker/t9n/messages.th.json +0 -1
  885. package/dist/cdn/assets/value-picker/t9n/messages.tr.json +0 -1
  886. package/dist/cdn/assets/value-picker/t9n/messages.uk.json +0 -1
  887. package/dist/cdn/assets/value-picker/t9n/messages.vi.json +0 -1
  888. package/dist/cdn/assets/value-picker/t9n/messages.zh-CN.json +0 -1
  889. package/dist/cdn/assets/value-picker/t9n/messages.zh-HK.json +0 -1
  890. package/dist/cdn/assets/value-picker/t9n/messages.zh-TW.json +0 -1
  891. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ar.json +0 -1
  892. package/dist/cdn/assets/value-picker-combobox/t9n/messages.bg.json +0 -1
  893. package/dist/cdn/assets/value-picker-combobox/t9n/messages.bs.json +0 -1
  894. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ca.json +0 -1
  895. package/dist/cdn/assets/value-picker-combobox/t9n/messages.cs.json +0 -1
  896. package/dist/cdn/assets/value-picker-combobox/t9n/messages.da.json +0 -1
  897. package/dist/cdn/assets/value-picker-combobox/t9n/messages.de.json +0 -1
  898. package/dist/cdn/assets/value-picker-combobox/t9n/messages.el.json +0 -1
  899. package/dist/cdn/assets/value-picker-combobox/t9n/messages.en.json +0 -1
  900. package/dist/cdn/assets/value-picker-combobox/t9n/messages.es.json +0 -1
  901. package/dist/cdn/assets/value-picker-combobox/t9n/messages.et.json +0 -1
  902. package/dist/cdn/assets/value-picker-combobox/t9n/messages.fi.json +0 -1
  903. package/dist/cdn/assets/value-picker-combobox/t9n/messages.fr.json +0 -1
  904. package/dist/cdn/assets/value-picker-combobox/t9n/messages.he.json +0 -1
  905. package/dist/cdn/assets/value-picker-combobox/t9n/messages.hr.json +0 -1
  906. package/dist/cdn/assets/value-picker-combobox/t9n/messages.hu.json +0 -1
  907. package/dist/cdn/assets/value-picker-combobox/t9n/messages.id.json +0 -1
  908. package/dist/cdn/assets/value-picker-combobox/t9n/messages.it.json +0 -1
  909. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ja.json +0 -1
  910. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ko.json +0 -1
  911. package/dist/cdn/assets/value-picker-combobox/t9n/messages.lt.json +0 -1
  912. package/dist/cdn/assets/value-picker-combobox/t9n/messages.lv.json +0 -1
  913. package/dist/cdn/assets/value-picker-combobox/t9n/messages.nl.json +0 -1
  914. package/dist/cdn/assets/value-picker-combobox/t9n/messages.no.json +0 -1
  915. package/dist/cdn/assets/value-picker-combobox/t9n/messages.pl.json +0 -1
  916. package/dist/cdn/assets/value-picker-combobox/t9n/messages.pt-BR.json +0 -1
  917. package/dist/cdn/assets/value-picker-combobox/t9n/messages.pt-PT.json +0 -1
  918. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ro.json +0 -1
  919. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ru.json +0 -1
  920. package/dist/cdn/assets/value-picker-combobox/t9n/messages.sk.json +0 -1
  921. package/dist/cdn/assets/value-picker-combobox/t9n/messages.sl.json +0 -1
  922. package/dist/cdn/assets/value-picker-combobox/t9n/messages.sr.json +0 -1
  923. package/dist/cdn/assets/value-picker-combobox/t9n/messages.sv.json +0 -1
  924. package/dist/cdn/assets/value-picker-combobox/t9n/messages.th.json +0 -1
  925. package/dist/cdn/assets/value-picker-combobox/t9n/messages.tr.json +0 -1
  926. package/dist/cdn/assets/value-picker-combobox/t9n/messages.uk.json +0 -1
  927. package/dist/cdn/assets/value-picker-combobox/t9n/messages.vi.json +0 -1
  928. package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-CN.json +0 -1
  929. package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-HK.json +0 -1
  930. package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-TW.json +0 -1
  931. package/dist/chunks/layer-list-item-indicator.js +0 -74
  932. package/dist/chunks/useHandles.js +0 -207
  933. package/dist/components/arcgis-feature-templates/TemplateItem.d.ts +0 -33
  934. package/dist/components/arcgis-oriented-imagery-viewer-image-viewer/customElement.js +0 -299
  935. package/dist/components/arcgis-value-picker/customElement.d.ts +0 -393
  936. package/dist/components/arcgis-value-picker/customElement.js +0 -82
  937. package/dist/components/arcgis-value-picker/index.js +0 -3
  938. package/dist/components/arcgis-value-picker/types.d.ts +0 -65
  939. package/dist/components/arcgis-value-picker-collection/customElement.d.ts +0 -113
  940. package/dist/components/arcgis-value-picker-collection/customElement.js +0 -43
  941. package/dist/components/arcgis-value-picker-combobox/customElement.d.ts +0 -90
  942. package/dist/components/arcgis-value-picker-combobox/customElement.js +0 -55
  943. package/dist/components/arcgis-value-picker-combobox/index.js +0 -3
  944. package/dist/components/arcgis-value-picker-label/customElement.d.ts +0 -81
  945. package/dist/components/arcgis-value-picker-label/customElement.js +0 -51
  946. package/dist/components/arcgis-value-picker-slider/customElement.d.ts +0 -173
  947. package/dist/components/arcgis-value-picker-slider/customElement.js +0 -60
  948. package/dist/components/arcgis-value-picker-slider/index.js +0 -3
  949. /package/dist/cdn/{744JVRBH.js → 2ROKOM2Z.js} +0 -0
  950. /package/dist/cdn/{27HHZNMM.js → 37VIO2V5.js} +0 -0
  951. /package/dist/cdn/{PMWIRBWT.js → 3RVEVJVG.js} +0 -0
  952. /package/dist/cdn/{MOJH7XEP.js → 3ZXNGXHC.js} +0 -0
  953. /package/dist/cdn/{CTMF7NFP.js → 4O5BM5AI.js} +0 -0
  954. /package/dist/cdn/{UUUPIG6P.js → 4XAKKTWP.js} +0 -0
  955. /package/dist/cdn/{FUTB3TZA.js → 55GK5OAA.js} +0 -0
  956. /package/dist/cdn/{HQPBHWPK.js → 5KSNV3AD.js} +0 -0
  957. /package/dist/cdn/{HH3DMGSF.js → 6CHIESQS.js} +0 -0
  958. /package/dist/cdn/{3JU2AHMP.js → 6TPIG3XC.js} +0 -0
  959. /package/dist/cdn/{VHB2BYFO.js → 6WOUFI3X.js} +0 -0
  960. /package/dist/cdn/{GLRISNYR.js → 73PS6B6H.js} +0 -0
  961. /package/dist/cdn/{QI5WIEJM.js → CBHZA2RM.js} +0 -0
  962. /package/dist/cdn/{2G4VQVBD.js → D4LXZSJU.js} +0 -0
  963. /package/dist/cdn/{KIZ3ARHJ.js → ETAL67B5.js} +0 -0
  964. /package/dist/cdn/{HUYCG6D3.js → EW7KQ7UM.js} +0 -0
  965. /package/dist/cdn/{SOOQCCHH.js → FQS7XRHV.js} +0 -0
  966. /package/dist/cdn/{TIRTPJYQ.js → FRNAEEL2.js} +0 -0
  967. /package/dist/cdn/{KEGLDP4A.js → J3LAIXMY.js} +0 -0
  968. /package/dist/cdn/{ZX5J6SMV.js → JOPE2HA7.js} +0 -0
  969. /package/dist/cdn/{CDAV4NEB.js → LIKCZBSN.js} +0 -0
  970. /package/dist/cdn/{3YVA4NJL.js → LKS3BW4E.js} +0 -0
  971. /package/dist/cdn/{IBGSVDSQ.js → LNV4R7FO.js} +0 -0
  972. /package/dist/cdn/{XPS7ZSFJ.js → LYVEFTG5.js} +0 -0
  973. /package/dist/cdn/{AK2M26FE.js → M5RPB52H.js} +0 -0
  974. /package/dist/cdn/{NYHNV75B.js → QDOF7WAJ.js} +0 -0
  975. /package/dist/cdn/{IA3NCWIB.js → QG5I2LDY.js} +0 -0
  976. /package/dist/cdn/{FYDZH6BL.js → RCXLHOT5.js} +0 -0
  977. /package/dist/cdn/{Q5PJLESJ.js → RMUOAQL7.js} +0 -0
  978. /package/dist/cdn/{Y3B5PQ5E.js → SMGBVJDQ.js} +0 -0
  979. /package/dist/cdn/{2LKEXUGD.js → SWUDJD3D.js} +0 -0
  980. /package/dist/cdn/{MLV3GXE7.js → TXH2FVPB.js} +0 -0
  981. /package/dist/cdn/{XVY5OKH2.js → TXLEUQGC.js} +0 -0
  982. /package/dist/cdn/{SWYSBYOY.js → URSO4VYE.js} +0 -0
  983. /package/dist/cdn/{ADD3R54T.js → VISNMKBR.js} +0 -0
  984. /package/dist/cdn/{APMRTXPD.js → VM2FDVMM.js} +0 -0
  985. /package/dist/cdn/{AT6DOX43.js → VZMX6AAC.js} +0 -0
  986. /package/dist/cdn/{BRANLHXP.js → W3ELQQ2T.js} +0 -0
  987. /package/dist/cdn/{ECNI2A4K.js → XEK22IDA.js} +0 -0
  988. /package/dist/cdn/{YJPDBYVX.js → XNUG4O7M.js} +0 -0
  989. /package/dist/cdn/{O2CLPWU5.js → YNAWY2DP.js} +0 -0
  990. /package/dist/cdn/{6FT2R5PB.js → ZDEXTEYL.js} +0 -0
  991. /package/dist/cdn/{A4S3GECZ.js → ZTCPBOG3.js} +0 -0
  992. /package/dist/cdn/{24HADOKV.js → ZUKUN26H.js} +0 -0
  993. /package/dist/cdn/{WFJH7WES.js → ZWWCLNZL.js} +0 -0
  994. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ar.json +0 -0
  995. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.bg.json +0 -0
  996. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.bs.json +0 -0
  997. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ca.json +0 -0
  998. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.cs.json +0 -0
  999. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.da.json +0 -0
  1000. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.de.json +0 -0
  1001. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.el.json +0 -0
  1002. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.en.json +0 -0
  1003. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.es.json +0 -0
  1004. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.et.json +0 -0
  1005. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.fi.json +0 -0
  1006. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.fr.json +0 -0
  1007. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.he.json +0 -0
  1008. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.hr.json +0 -0
  1009. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.hu.json +0 -0
  1010. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.id.json +0 -0
  1011. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.it.json +0 -0
  1012. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ja.json +0 -0
  1013. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ko.json +0 -0
  1014. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.lt.json +0 -0
  1015. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.lv.json +0 -0
  1016. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.nl.json +0 -0
  1017. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.no.json +0 -0
  1018. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.pl.json +0 -0
  1019. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.pt-BR.json +0 -0
  1020. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.pt-PT.json +0 -0
  1021. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ro.json +0 -0
  1022. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ru.json +0 -0
  1023. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.sk.json +0 -0
  1024. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.sl.json +0 -0
  1025. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.sr.json +0 -0
  1026. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.sv.json +0 -0
  1027. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.th.json +0 -0
  1028. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.tr.json +0 -0
  1029. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.uk.json +0 -0
  1030. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.vi.json +0 -0
  1031. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.zh-CN.json +0 -0
  1032. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.zh-HK.json +0 -0
  1033. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.zh-TW.json +0 -0
  1034. /package/dist/components/{arcgis-oriented-imagery-viewer-image-viewer → arcgis-basemap-layer-list-next}/index.d.ts +0 -0
  1035. /package/dist/components/{arcgis-value-picker-collection → arcgis-catalog-layer-list-next}/index.d.ts +0 -0
  1036. /package/dist/components/{arcgis-value-picker-combobox → arcgis-coordinate-conversion-next}/index.d.ts +0 -0
  1037. /package/dist/components/{arcgis-value-picker-label → arcgis-oriented-imagery-viewer-non-panoramic-viewer}/index.d.ts +0 -0
  1038. /package/dist/components/{arcgis-value-picker → arcgis-oriented-imagery-viewer-panoramic-viewer}/index.d.ts +0 -0
  1039. /package/dist/components/{arcgis-value-picker-slider → arcgis-oriented-imagery-viewer-panoramic-viewer-zoom}/index.d.ts +0 -0
  1040. /package/dist/components/{arcgis-value-picker-collection/index.js → arcgis-oriented-imagery-viewer-video-controls/index.d.ts} +0 -0
  1041. /package/dist/components/{arcgis-value-picker-label/index.js → arcgis-selection-toolbar/index.d.ts} +0 -0
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import e from"./TMDT3QFH.js";import d from"./UNGXK2Y7.js";import c from"./M3U7I4H6.js";import{h as a}from"./UC4ZZXFO.js";import"./JK33HXYG.js";import b from"./5J4YSRUG.js";import"./GFALET66.js";import{O as o,U as l,a as r,x as t}from"./URMAKTOH.js";import"./H6RQVSYM.js";export default $arcgis.t(([c,,,{a:e},s])=>{var n=r`.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{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__heading{word-break:break-word}.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}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}.esri-value-picker calcite-action{width:var(--calcite-font-line-height-fixed-4xl);height:var(--calcite-font-line-height-fixed-4xl)}.esri-value-picker .esri-slider{background:0 0;flex:auto}.esri-value-picker .esri-slider__tick-label{white-space:nowrap;font-size:var(--calcite-font-size--3)}.esri-value-picker .esri-slider__ticks{margin:0}.esri-value-picker .esri-slider__tick,.esri-value-picker .esri-slider__track{background:var(--calcite-color-border-input)}.esri-value-picker .esri-slider__tick.esri-value-picker__slider__tick-steps{width:3px;height:3px}.esri-value-picker .esri-slider__anchor:focus-visible{outline:none}.esri-value-picker__action-bar{--calcite-action-bar-items-space: 0;--calcite-spacing-sm: 0;background-color:var(--calcite-color-foreground-1)}.esri-value-picker__caption-border,.esri-value-picker__label-border{border:solid 1px var(--calcite-color-border-3);align-items:center;display:flex}.esri-value-picker__caption-text,.esri-value-picker__label-text{white-space:nowrap;font-family:inherit;font-weight:var(--calcite-font-weight-medium);overflow:hidden}.esri-value-picker__label-text{color:var(--calcite-color-text-1)}.esri-value-picker__slider{flex:auto;display:flex}.esri-value-picker__layout--horizontal.esri-value-picker__type--collection,.esri-value-picker__layout--horizontal.esri-value-picker__type--undefined{width:fit-content}.esri-value-picker__layout--horizontal.esri-value-picker__type--collection .esri-value-picker__action-bar,.esri-value-picker__layout--horizontal.esri-value-picker__type--undefined .esri-value-picker__action-bar{width:100%}.esri-value-picker__layout--horizontal.esri-value-picker__type--collection .esri-value-picker__caption,.esri-value-picker__layout--horizontal.esri-value-picker__type--undefined .esri-value-picker__caption{padding-inline-end:.5rem}.esri-value-picker__layout--horizontal.esri-value-picker__type--combobox,.esri-value-picker__layout--horizontal.esri-value-picker__type--label,.esri-value-picker__layout--horizontal.esri-value-picker__type--slider{min-width:450px}.esri-value-picker__layout--horizontal.esri-value-picker__type--combobox .esri-value-picker__action-bar,.esri-value-picker__layout--horizontal.esri-value-picker__type--label .esri-value-picker__action-bar,.esri-value-picker__layout--horizontal.esri-value-picker__type--slider .esri-value-picker__action-bar{width:100%}.esri-value-picker__layout--horizontal .esri-value-picker__caption{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:.5rem;display:flex}.esri-value-picker__layout--horizontal .esri-value-picker__caption-border{padding-inline:.5rem}.esri-value-picker__layout--horizontal .esri-value-picker__caption-text{text-overflow:ellipsis;max-width:100px;font-size:var(--calcite-font-size--1)}.esri-value-picker__layout--horizontal .esri-value-picker__combobox{--calcite-color-border-input: var(--calcite-color-border-3);flex:auto;align-items:center;padding-inline:10px;display:flex}.esri-value-picker__layout--horizontal .esri-value-picker__combobox calcite-combobox{flex:auto;width:0}.esri-value-picker__layout--horizontal .esri-value-picker__label{flex:auto;padding:.5rem;display:flex}.esri-value-picker__layout--horizontal .esri-value-picker__label-border{flex:auto;padding-inline:.5rem}.esri-value-picker__layout--horizontal .esri-value-picker__label-text{text-overflow:ellipsis;width:0;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal);flex:auto}.esri-value-picker__layout--horizontal .esri-value-picker__separator{border-right:solid 1px var(--calcite-color-border-3);width:1px;margin-inline-start:.25rem}.esri-value-picker__layout--horizontal .esri-value-picker__slider{padding-inline:30px}.esri-value-picker__layout--horizontal .esri-value-picker__slider__tick-minor{height:3px}.esri-value-picker__layout--horizontal .esri-value-picker__slider__tick-major{height:var(--calcite-spacing-xs)}.esri-value-picker__layout--horizontal .esri-value-picker__slider__tick-steps{margin-top:-6px;margin-left:-1px}.esri-value-picker__layout--horizontal .esri-slider{margin-top:-10px}.esri-value-picker__layout--horizontal .esri-slider__track{height:1px}.esri-value-picker__layout--vertical.esri-value-picker__type--collection,.esri-value-picker__layout--vertical.esri-value-picker__type--undefined{height:fit-content}.esri-value-picker__layout--vertical.esri-value-picker__type--collection .esri-value-picker__action-bar,.esri-value-picker__layout--vertical.esri-value-picker__type--undefined .esri-value-picker__action-bar{height:100%}.esri-value-picker__layout--vertical.esri-value-picker__type--slider{min-height:450px}.esri-value-picker__layout--vertical.esri-value-picker__type--slider .esri-value-picker__action-bar{height:100%;min-height:450px}.esri-value-picker__layout--vertical .esri-value-picker__caption{width:48px;padding:.25rem}.esri-value-picker__layout--vertical .esri-value-picker__caption-border{justify-content:center}.esri-value-picker__layout--vertical .esri-value-picker__caption-text{text-overflow:clip;font-size:var(--calcite-font-size--2);padding-block:.25rem}.esri-value-picker__layout--vertical .esri-value-picker__separator{border-bottom:solid 1px var(--calcite-color-border-3);height:1px;margin-top:.25rem}.esri-value-picker__layout--vertical .esri-value-picker__slider{flex-direction:column;padding:15px 0}.esri-value-picker__layout--vertical .esri-value-picker__slider__tick-minor{width:3px}.esri-value-picker__layout--vertical .esri-value-picker__slider__tick-major{width:var(--calcite-spacing-xs)}.esri-value-picker__layout--vertical .esri-value-picker__slider__tick-steps{margin-top:-1px;margin-left:-6px}.esri-value-picker__layout--vertical .esri-slider{margin-left:-13px}.esri-value-picker__layout--vertical .esri-slider__tick-label{margin-left:var(--calcite-spacing-xxl)}.esri-value-picker__layout--vertical .esri-slider__track{width:1px}:dir(rtl) .esri-value-picker{direction:ltr}:dir(rtl) .esri-value-picker .esri-value-picker__combobox,:dir(rtl) .esri-value-picker .esri-value-picker__slider__tooltip{direction:rtl}`,d=s(c),i=class extends o{constructor(){super(...arguments),this.widget=d(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.values=this.widget.values,this.arcgisAnimate=e(()=>this.widget,"animate"),this.arcgisNext=e(()=>this.widget,"next"),this.arcgisPause=e(()=>this.widget,"pause"),this.arcgisPlay=e(()=>this.widget,"play"),this.arcgisPrevious=e(()=>this.widget,"previous"),this.arcgisPropertyChange=a()("values"),this.arcgisReady=t()}static{this.properties={autoDestroyDisabled:5,canNext:36,canPlay:36,canPrevious:36,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,referenceElement:1,values:0}}static{this.styles=n}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};l("arcgis-value-picker-legacy",i);return i},"widgets/ValuePicker",b,c,d,e)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import a from"./MZWO5JYA.js";import{a as w}from"./SWOFXLPC.js";import"./UC4ZZXFO.js";import"./JK33HXYG.js";import"./GFALET66.js";import{O as l,R as y,U as n,a as p,b as m,p as t,r as s,x as g}from"./URMAKTOH.js";import"./H6RQVSYM.js";export default $arcgis.t(([G,u,v,L,f,b,{a:h,d:d}])=>{var k=p`.loader-container{display:flex;justify-content:center;padding-bottom:var(--calcite-spacing-md)}`,o=12,c=class extends l{constructor(){super(...arguments),this._graphicsLayerName="arcgis-utility-network-aggregated-geometry-graphics",this._messages=w({blocking:!0}),this._graphics=[],this._addAggregatedGeometryToView=()=>{let e=this.geometry,{line:i,multipoint:r,polygon:_}=e;this._graphics=[i,r,_].filter(a=>a!=null).map(a=>this._makeGraphicFromGeometry(a)),this._graphicsLayer.addMany(this._graphics)},this._createGraphicsLayer=()=>{let e=this.view.map,i=this._graphicsLayerName,r=e.findLayerById(i);if(r&&d(r)){this._graphicsLayer=r;return}this._graphicsLayer=new v({id:i,listMode:"hide",title:i}),h(this.view,this._graphicsLayer)},this.hideGraphics=!1,this.graphicsColor=new G([255,255,0,.6]),this.autoDestroyDisabled=!1,this.arcgisHideGraphicsChange=g()}static{this.properties={geometry:0,hideGraphics:5,graphicsColor:0,view:0,autoDestroyDisabled:5}}static{this.styles=k}async destroy(){this.view?.map&&this._graphicsLayer&&this.view.map.remove(this._graphicsLayer),await this.manager.destroy()}connectedCallback(){super.connectedCallback(),this.view&&this._graphicsLayer&&h(this.view,this._graphicsLayer)}load(){!this.geometry||!this.view?.map||this._createGraphicsLayer()}willUpdate(e){if(e.has("graphicsColor")&&this._updateGraphicSymbols(),e.has("geometry")&&(this._graphicsLayer?.removeAll(),this._addAggregatedGeometryToView()),e.has("view")){let i=e.get("view");i?.map&&this._graphicsLayer&&(i.map.remove(this._graphicsLayer),this._createGraphicsLayer(),this._addAggregatedGeometryToView())}}loaded(){this.geometry||t("error",this,s("geometry")),this.view?this.view.map||t("error",this,s("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")):t("error",this,s("view"))}_handleShowGraphicsChange(){this.hideGraphics=!this.hideGraphics,this.hideGraphics?this._graphicsLayer?.removeAll():this._graphicsLayer?.addMany(this._graphics),this.arcgisHideGraphicsChange.emit(this.hideGraphics)}_makeGraphicFromGeometry(e){return new u({geometry:e,symbol:this._makeSymbolForGeometry(e)})}_makeSymbolForGeometry(e){let i=this.graphicsColor;switch(e.type){case"multipoint":return new b({color:i,size:o,outline:{color:i,width:0}});case"polygon":return new L({color:i,outline:{color:i,width:o}});case"polyline":return new f({color:i,width:o})}}_updateGraphicSymbols(){this._graphicsLayer?.graphics.forEach(e=>{let i=e.geometry;e.symbol=this._makeSymbolForGeometry(i)})}render(){return m`<calcite-switch .checked=${!this.hideGraphics} .label=${this._messages.labels.showGraphicsToggle} label-text-end=${this._messages.showGraphics??y} @calciteSwitchChange=${this._handleShowGraphicsChange}></calcite-switch>`}};n("arcgis-utility-network-aggregated-geometry",c);return c},"Color","Graphic","layers/GraphicsLayer","symbols/SimpleFillSymbol","symbols/SimpleLineSymbol","symbols/SimpleMarkerSymbol",a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import f from"./TMDT3QFH.js";import e from"./UNGXK2Y7.js";import d from"./M3U7I4H6.js";import{h as c}from"./UC4ZZXFO.js";import"./JK33HXYG.js";import b from"./5J4YSRUG.js";import"./GFALET66.js";import{O as r,U as n,a as l,x as a}from"./URMAKTOH.js";import"./H6RQVSYM.js";export default $arcgis.t(([d,h,{watch:g},,,{a:t},p])=>{var b=l`calcite-block>.esri-grid-controls{background:0 0;padding:0}.esri-grid-controls{-webkit-user-select:none;user-select:none;padding:var(--arcgis-internal-padding);flex-flow:column wrap;display:flex;calcite-label.esri-labeled-switch__label{margin-block-end:var(--calcite-spacing-sm, .5rem)}}.esri-grid-controls__switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1)}.esri-grid-controls__container{gap:var(--calcite-spacing-sm);flex-direction:column;flex:auto;display:flex}.esri-grid-controls__tilegroup{column-gap:var(--calcite-spacing-sm);align-items:start;display:flex;flex-wrap:wrap}.esri-grid-controls__tile__content{row-gap:var(--calcite-spacing-md);padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2);flex-direction:column;align-items:center;display:flex}.esri-grid-controls__tile__content calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}.esri-grid-controls__tile{position:relative}.esri-grid-controls__tile:focus-within{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.esri-grid-controls__tile--disabled{opacity:var(--calcite-opacity-disabled)}.esri-grid-controls__tile input[type=radio]{appearance:none;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;position:absolute;inset:0}.esri-grid-controls__tile input[type=radio]:checked+.esri-grid-controls__tile__content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}.esri-grid-controls__tile input[type=radio]+.esri-grid-controls__tile__content{border:var(--calcite-spacing-px) solid transparent}.esri-grid-controls__numeric-inputs__container{gap:var(--calcite-spacing-sm);grid-auto-columns:1fr;grid-auto-flow:column;display:grid}.esri-grid-controls__inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}:host{--response-toolbar-vert-width: 0;--response-toolbar-vert-height: 100%;--response-toolbar-horiz-width: 100%;--response-toolbar-horiz-height: 0}.esri-responsive-toolbar__ruler{opacity:0;pointer-events:none;position:absolute}.esri-responsive-toolbar__ruler--bar{visibility:hidden;height:0;display:block;position:absolute;top:0;left:0;right:0}.esri-responsive-toolbar__ruler--bar--vertical,.esri-responsive-toolbar__ruler--pad--vertical{width:var(--response-toolbar-vert-width);height:var(--response-toolbar-vert-height)}.esri-responsive-toolbar__ruler--pad--horizontal{width:var(--response-toolbar-horiz-width);height:var(--response-toolbar-horiz-height)}.esri-responsive-toolbar__bar>div{display:contents}.esri-responsive-toolbar__bar--horizontal{min-width:100%}.esri-responsive-toolbar__bar--vertical{min-height:100%}.esri-responsive-toolbar__pad{width:min-content;display:contents}.esri-responsive-toolbar__pad>div{display:contents}.esri-responsive-toolbar__ruler--pad--vertical{width:0;height:min(100vh - 120px,100cqh - 120px)}.esri-responsive-toolbar__ruler--pad--horizontal{width:min(100vw - 60px,100cqw - 60px);height:0}.esri-split-button--split-part--vertical--s{--calcite-size-sm: 16px;max-height:16px}.esri-split-button--split-part--vertical--m{--calcite-size-md: 24px;max-height:24px}.esri-split-button--split-part--vertical--l{--calcite-size-l: 40px;max-height:40px}.esri-split-button--split-part--horizontal--s,.esri-split-button--split-part--horizontal--m{max-width:16px}.esri-split-button--split-part--horizontal--l{max-width:24px}.esri-snapping-controls__toggle-block{min-width:100%;margin:0}.esri-snapping-controls__layer-list-block{border-bottom:none;min-width:225px}.esri-snapping-controls__layer-list-block[open]{margin-block:0}.esri-snapping-controls__layer-list{overflow:auto}.esri-snapping-controls__layer-list__filter{margin-bottom:10px}.esri-snapping-controls__layer-list__button{margin-bottom:6px}.esri-snapping-controls__layer-list__item calcite-accordion-item calcite-icon,.esri-snapping-controls__layer-list__item calcite-action calcite-icon{margin-inline-start:0}.esri-snapping-controls__layer-list__item calcite-icon{color:var(--calcite-color-brand);margin-inline-start:var(--calcite-list-item-spacing-indent, 1em)}.esri-snapping-controls{flex-flow:column wrap;display:flex}.esri-snapping-controls__container{flex-direction:column;flex:auto;display:flex}.esri-snapping-controls__container :only-child{border-block-end:none}.esri-snapping-controls__panel{width:320px}.esri-snapping-controls__item{border:1px solid #adadad4d;cursor:pointer;background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-border-1);border-radius:2px;justify-content:space-between;margin:3px 0;padding:3px;transition:border-color .125s ease-in-out;display:flex;box-shadow:0 1px #adadad4d}.esri-snapping-controls__item-action-icon{flex:0 0 16px;width:16px;height:16px;margin-top:.1em;font-size:var(--calcite-font-size-md);display:inline-block}.esri-snapping-controls__action-toggle{opacity:1;cursor:pointer;border:1px solid var(--calcite-color-border-1);flex-flow:row-reverse;justify-content:space-between;align-items:flex-start;width:100%;margin:0;padding:6px 15px;font-size:var(--calcite-font-size-sm);transition:opacity .25s ease-in-out .25s,background-color .25s ease-in-out;display:flex}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-title{margin-left:0}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-icon{background-color:var(--calcite-color-foreground-1);border-radius:16px;flex:0 0 28px;width:16px;height:16px;padding:0;transition:background-color .125s ease-in-out;position:relative;overflow:hidden;box-shadow:0 0 0 1px #adadad}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-icon:before{content:"";background-color:var(--calcite-color-foreground-2);border-radius:100%;width:12px;height:12px;margin:2px;transition:background-color .125s ease-in-out,left .125s ease-in-out;display:block;position:absolute;top:0;left:0;box-shadow:0 0 0 1px #242424}.esri-snapping-controls__action-toggle--on .esri-snapping-controls__item-action-icon{background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 1px #adadad}.esri-snapping-controls__action-toggle--on .esri-snapping-controls__item-action-icon:before{background-color:var(--calcite-color-foreground-3);left:12px}.esri-snapping-controls__nested-container{flex-direction:column;gap:6px;display:flex}.esri-snapping-controls__nested-container:not(:empty){padding-top:6px;padding-inline-start:1em}.esri-labeled-switch__label{--calcite-label-margin-bottom: 0}.esri-labeled-switch__label-content{text-wrap:balance;flex:1;align-items:center;gap:7px;display:flex}.esri-labeled-switch__label-content>div{flex-grow:1}.esri-labeled-switch__icon{margin-top:-1px}.esri-labeled-switch__icon_info{color:var(--calcite-color-status-info)}.esri-labeled-switch__icon_warning{color:var(--calcite-color-status-warning)}.esri-labeled-switch__tooltip{text-wrap:wrap}:host{display:flex;max-width:100%;justify-content:flex-end;pointer-events:none;--sketch-pad-flex-flow: wrap;--sketch-view-height-offset: 63px ;--sketch-view-margin-offset: 30px;--sketch-popover-header-offset: 49px}:host([scale="s"]){--sketch-view-height-offset: 47px ;--sketch-view-margin-offset: 30px;--sketch-popover-header-offset: 33px}:host([scale="l"]){--sketch-view-height-offset: 79px ;--sketch-view-margin-offset: 30px;--sketch-popover-header-offset: 65px}div:has(>.esri-sketch){display:contents}.esri-sketch{-webkit-user-select:none;user-select:none;pointer-events:none;display:flex}.esri-sketch-pad{gap:var(--arcgis-internal-sketch-gap, var(--calcite-spacing-sm));flex-flow:var(--sketch-pad-flex-flow);justify-content:var(--arcgis-internal-sketch-justify-content, flex-start)}.esri-sketch-pad:dir(rtl){flex-flow:row-reverse wrap}.esri-sketch-pad.esri-sketch--vertical{flex-flow:var(--sketch-pad-flex-flow, column wrap);justify-content:flex-start;--sketch-view-height-offset: 30px;--sketch-view-margin-offset: 15px}.esri-sketch-pad.esri-sketch--vertical:dir(rtl){flex-flow:var(--sketch-pad-flex-flow, column wrap-reverse)}.esri-sketch-pad.esri-sketch--vertical .esri-selection-toolbar__container{flex-direction:column}.esri-sketch>*{pointer-events:initial;display:flex}.esri-sketch-bar{flex-direction:column;gap:0;margin:0;flex-basis:100%}.esri-sketch-bar.esri-sketch--vertical{flex-flow:row}.esri-sketch__popover-wrapper{inline-size:max-content;min-inline-size:300px;max-height:calc(100cqh - (var(--sketch-view-height-offset, 90px)) - var(--sketch-view-margin-offset, 15px) - var(--sketch-popover-header-offset, 1000px));-webkit-user-select:none;user-select:none;max-inline-size:400px;overflow-y:auto}.esri-sketch__popover-wrapper .esri-sketch-tooltip-controls:not(:only-child) calcite-block{border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.esri-sketch__selection-count-chip--horizontal{margin-block:var(--calcite-spacing-xxs);margin-inline:var(--calcite-spacing-xs);align-self:center}.esri-sketch__selection-count-chip--vertical{margin-block:calc(var(--calcite-spacing-md) * var(--sketch-chip-margin-scale-factor, 1));scale:var(--sketch-chip-rescale, 1);align-self:center;margin-inline:0}.esri-sketch__selection-count-chip--vertical--s{--sketch-chip-rescale: .8;--sketch-chip-margin-scale-factor: .5}.esri-sketch--vertical{max-height:min(100vh - 120px,100cqh - 120px)}.esri-expand__popover-content .esri-sketch{gap:0}.esri-sketch-tooltip-controls{flex-flow:column wrap;min-width:100%;display:flex}.esri-sketch-tooltip-controls__block{border-block-end:none;margin:0}.esri-sketch-tooltip-controls__block-content{flex-direction:column;gap:6px;display:flex}.esri-sketch-tooltip-controls__radio-button-label-wrapper{align-items:center;gap:2px;display:flex}.esri-sketch-tooltip-controls calcite-label:last-child{--calcite-label-margin-bottom: 0}`,m=p(h),o=class extends r{constructor(){super(),this._visualScale="m",this.widget=m(this),this.viewModel=this.widget.viewModel,this._defaultGraphicsLayer=null,this.view=this.widget.view,this.activeTool=this.widget.activeTool,this.autoDestroyDisabled=!1,this.availableCreateTools=this.widget.availableCreateTools,this.createGraphic=this.widget.createGraphic,this.creationMode=this.widget.creationMode,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultGraphicsLayerDisabled=!1,this.defaultUpdateOptions=this.widget.defaultUpdateOptions,this.hideCreateToolsCircle=this.widget.visibleElements.createTools.circle,this.hideCreateToolsMultipoint=this.widget.visibleElements.createTools.multipoint,this.hideCreateToolsPoint=this.widget.visibleElements.createTools.point,this.hideCreateToolsPolygon=this.widget.visibleElements.createTools.polygon,this.hideCreateToolsPolyline=this.widget.visibleElements.createTools.polyline,this.hideCreateToolsRectangle=this.widget.visibleElements.createTools.rectangle,this.hideDuplicateButton=this.widget.visibleElements.duplicateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideSelectionCountLabel=this.widget.visibleElements.selectionCountLabel,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSelectionToolsLassoSelection=this.widget.visibleElements.selectionTools["lasso-selection"],this.hideSelectionToolsRectangleSelection=this.widget.visibleElements.selectionTools["rectangle-selection"],this.hideSettingsMenu=this.widget.visibleElements.settingsMenu,this.hideSnappingControls=this.widget.visibleElements.snappingControls,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.hideUndoRedoMenu=this.widget.visibleElements.undoRedoMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layer=this.widget.layer,this.layout=this.widget.layout,this.pointSymbol=this.viewModel.pointSymbol,this.polygonSymbol=this.viewModel.polygonSymbol,this.polylineSymbol=this.viewModel.polylineSymbol,this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.showCreateToolsFreehandPolygon=this.widget.visibleElements.createTools.freehandPolygon,this.showCreateToolsFreehandPolyline=this.widget.visibleElements.createTools.freehandPolyline,this.showCreateToolsText=this.widget.visibleElements.createTools.text,this.snappingOptions=this.widget.snappingOptions,this.state=this.widget.state,this.textSymbol=this.viewModel.textSymbol,this.toolbarKind=this.widget.toolbarKind,this.tooltipOptions=this.widget.tooltipOptions,this.useLegacyCreateTools=this.viewModel.useLegacyCreateTools,this.updateGraphics=this.widget.updateGraphics,this.arcgisCreate=t(()=>this.widget,"create"),this.arcgisDelete=t(()=>this.widget,"delete"),this.arcgisPropertyChange=c()("state"),this.arcgisReady=a(),this.arcgisRedo=t(()=>this.widget,"redo"),this.arcgisUndo=t(()=>this.widget,"undo"),this.arcgisUpdate=t(()=>this.widget,"update"),this.listen("arcgisReady",this._arcgisReadyHandler)}static{this.properties={view:0,activeTool:35,autoDestroyDisabled:5,availableCreateTools:0,createGraphic:32,creationMode:1,defaultCreateOptions:0,defaultGraphicsLayerDisabled:5,defaultUpdateOptions:0,hideCreateToolsCircle:5,hideCreateToolsMultipoint:5,hideCreateToolsPoint:5,hideCreateToolsPolygon:5,hideCreateToolsPolyline:5,hideCreateToolsRectangle:5,hideDuplicateButton:5,hideDeleteButton:5,hideSelectionCountLabel:5,hideLabelsToggle:5,hideSelectionToolsLassoSelection:5,hideSelectionToolsRectangleSelection:5,hideSettingsMenu:5,hideSnappingControls:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,hideUndoRedoMenu:5,icon:1,label:1,labelOptions:0,layer:0,layout:1,pointSymbol:0,polygonSymbol:0,polylineSymbol:0,referenceElement:1,scale:1,visualScale:1,showSnappingControlsElementsHeader:5,showCreateToolsFreehandPolygon:5,showCreateToolsFreehandPolyline:5,showCreateToolsText:5,snappingOptions:0,state:32,textSymbol:0,toolbarKind:1,tooltipOptions:0,useLegacyCreateTools:5,updateGraphics:32}}static{this.styles=b}get scale(){return this._visualScale}set scale(e){this._visualScale=e,this.widget.scale=e}get visualScale(){return this._visualScale}set visualScale(e){this._visualScale=e,this.widget.scale=e}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(e,i){await this.widget?.create(e,i)}async delete(){this.widget?.delete()}async destroy(){await this.manager.destroy()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async triggerUpdate(e,i){this.widget?.update(e,i)}async undo(){this.widget?.undo()}_arcgisReadyHandler(){this.defaultGraphicsLayerDisabled||(this._defaultGraphicsLayer=new d({title:"Sketch Layer"}),this.widget.availableCreateTools=["point","polyline","freehandPolyline","polygon","freehandPolygon","rectangle","circle"],this.widget.layer=this._defaultGraphicsLayer,this.el.view?.map?.add(this.widget.layer),this.manager.onLifecycle(()=>g(()=>this.el.view?.map,(e,i)=>{let s=this._defaultGraphicsLayer;!s||this.widget.layer!==s||(i?.allLayers.includes(s)&&i.remove(s),e?.add(s))})),this.manager.onDestroy(()=>{this._defaultGraphicsLayer&&this.el.view?.map?.allLayers.includes(this._defaultGraphicsLayer)&&this.el.view?.map?.remove(this._defaultGraphicsLayer),this._defaultGraphicsLayer?.destroy(),this._defaultGraphicsLayer=null}))}};n("arcgis-sketch",o);return o},"layers/GraphicsLayer","widgets/Sketch","core/reactiveUtils",b,d,e,f)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import a from"./MZWO5JYA.js";import{a as x}from"./SWOFXLPC.js";import"./UC4ZZXFO.js";import"./JK33HXYG.js";import"./GFALET66.js";import{O as v,U as I,a as S,b as f,p as l,r as g,x as b}from"./URMAKTOH.js";import"./H6RQVSYM.js";export default $arcgis.t(([P,w,d,A,$,G,_,k,{c:T,f:C}])=>{var F=S`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{justify-content:center;display:grid}.clear-button{--calcite-button-border-color: transparent}`,L=class extends v{constructor(){super(...arguments),this.messages=x({blocking:!0}),this.isSelectWaiting=!1,this.traceLocationType="starting-point",this.spatialTolerance=.05,this.autoDestroyDisabled=!1,this.arcgisTraceLocationChange=b(),this.arcgisTraceLocationSelectEnd=b(),this.arcgisTraceLocationSelectStart=b()}static{this.properties={isSelectWaiting:16,beforeTraceLocationSelectStart:0,afterHitTest:0,view:0,traceLocationType:1,traceLocations:0,filterLayers:0,sketchViewModel:0,spatialTolerance:9,autoDestroyDisabled:5,utilityNetwork:0}}static{this.styles=F}async destroy(){this._resetCursor(),await this.manager.destroy()}async load(){d.isLoaded()||await d.load()}_createPolyline(t,e){return new A({hasZ:!1,hasM:!0,paths:t,spatialReference:new $({wkid:e})})}_calculatePercentAlong(t,e){let r=t.spatialReference,n=this._createPolyline(t.paths,r.wkid),o=e.x-.5,a=e.x+.5,s=e.y-.5,i=e.y+.5,c=[[[o,s],[a,i]]],h=this._createPolyline(c,e.spatialReference.wkid),u=d.execute(h,r);if(!u)return l("error",this,"Unable to project flag geometry to source geometry spatial reference."),.5;let p=P.execute(n,u);if(p.length>0){let m=w.execute(n,{unit:"feet"}),y;return p[0].paths[0][0][0]===n.paths[0][0][0]?y=w.execute(p[0],{unit:"feet"}):p.length>1?y=w.execute(p[1],{unit:"feet"}):y=0,y/m}return l("warn",this,"Unable to cut the source geometry with the flag geometry."),.5}get _edgeSourceLayerIds(){let t=this.utilityNetwork?.dataElement?.domainNetworks;return t?t.flatMap(e=>e.edgeSources).map(e=>e.layerId).filter(Boolean):[]}async _handleAddButtonClick(){let{view:t,sketchViewModel:e}=this;if(!(t&&e)){l("error",this,"Cannot add trace location."),e||l("error",this,g("sketchViewModel")),t||l("error",this,g("view"));return}if(this.beforeTraceLocationSelectStart){this.isSelectWaiting=!0;try{await this.beforeTraceLocationSelectStart()}finally{this.isSelectWaiting=!1}}this.arcgisTraceLocationSelectStart.emit({cancelSelect:()=>e.cancel()}).defaultPrevented||await this._startSketch(t,e)}async _startSketch(t,e){this._clickHandler?.remove(),this._clickHandler=e.on("create",r=>this._handleSketchComplete(r,t,e)),"acquireCursor"in t&&t.acquireCursor("crosshair"),this.sketchViewModel?.create("point")}_handleSketchComplete(t,e,r){if(t.state==="complete"&&t.graphic){r.layer.remove(t.graphic),this._performHitTest(t,e,r);return}t.state==="cancel"&&(this._resetCursor(),this.arcgisTraceLocationSelectEnd.emit())}async _performHitTest(t,e,r){let{utilityNetwork:n}=this;if(!n){l("error",this,g("utilityNetwork")),this._resetCursor(),this.arcgisTraceLocationSelectEnd.emit();return}let o=t.graphic?.geometry,a=e.toScreen(o);if(!a){l("warn",this,"No screen point available for hit test."),this._startSketch(e,r);return}let s=(await e.hitTest(a,{include:this.filterLayers})).results.filter(i=>i.type==="graphic"&&i?.layer&&i.graphic);if(s.length===0){l("info",this,"No usable hit test results found."),this._startSketch(e,r);return}this._resetCursor(),await this._processHitTestResults(s,o,e),this.arcgisTraceLocationSelectEnd.emit()}_resetCursor(){let{view:t}=this;if(!t){l("error",this,g("view"));return}this._clickHandler?.remove(),this._clickHandler=void 0,"acquireCursor"in t&&t.acquireCursor("default")}async _processHitTestResults(t,e,r){if(t.length===0){l("error",this,"There are no hit test results to process.");return}let n=t[0],o=t.map(i=>{let c=i,h=c.graphic;return h.origin=c.layer,h.sourceLayer=c.layer,h}),a=n.graphic;if(this.afterHitTest)try{a=await this.afterHitTest(o)}catch{a=null}if(!a){l("error",this,"No graphic available from hit test results."),this.arcgisTraceLocationSelectEnd.emit();return}let s=await this._ensureNecessaryAttributes(a);if(!s){l("error",this,"Unable to ensure necessary attributes on the selected graphic."),this.arcgisTraceLocationSelectEnd.emit();return}await this._generateTraceLocation(s,e,r)}async _ensureNecessaryAttributes(t){let e=(T(t.layer),t.layer),r=e.geometryType===null,n=e.fieldsIndex?.get("assetgroup")??!1,o=e.fieldsIndex?.get("assetgroup")?.name??"assetgroup",a=e.fieldsIndex?.get("assettype")??!1,s=e.fieldsIndex?.get("assettype")?.name??"assettype",i=t.getGlobalId(),c=t.getObjectId(),h=n?!!t.getAttribute(o):!0,u=a?!!t.getAttribute(s):!0,p=!!t.geometry;if(i&&c&&h&&u&&(p||r))return t;let m=e.createQuery();return m.objectIds=[c],(await e.queryFeatures(m))?.features[0]||null}async _generateTraceLocation(t,e,r){let{traceLocations:n}=this,o=t.getGlobalId()??"",a=t.geometry?.type,s=await this._generateFlagInfo(t,e);if(!s){l("error",this,"Unable to generate flag info for trace location.");return}let i=n?.filter(h=>h.spatialProperties.mapGraphic?.getGlobalId()===o)??[];if(i.length>0){if(a!=="polyline"){l("warn",this,"A flag with the same globalId already exists.");return}else if(i.some(h=>Math.abs(h.traceLocation.percentAlong-s.traceLocation.percentAlong)<=this.spatialTolerance)){l("warn",this,"A flag with the same globalId already exists within tolerance.");return}}let c=this._addFlagGraphic(t,e,r);if(!c){l("warn",this,"Unable to add flag graphic.");return}s.spatialProperties.flagGraphic=c,n?.add(s)}async _generateFlagInfo(t,e){let{traceLocationType:r,utilityNetwork:n}=this,o=t.getGlobalId()??"",a=t.geometry?.type,s=await this._generateItemTitle(t);if(a==="point"||a==="polygon"){let i=n?.getTerminalConfiguration(t),c=i?i.terminals[0].id:1;return{traceLocation:new _({type:r,isFilterBarrier:!1,globalId:o,terminalId:c}),flagProperties:{title:s,expanded:!1,terminalConfiguration:i??void 0,selectedTerminals:i?new Set([c]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(a==="polyline"){let i=this._calculatePercentAlong(t.geometry,e);return{traceLocation:new _({type:r,isFilterBarrier:!1,globalId:o,percentAlong:i}),flagProperties:{title:s,expanded:!1,terminalConfiguration:void 0,selectedTerminals:void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(!a){let i=C(t.layer)?t.layer.parent:t.layer,c=i&&this._edgeSourceLayerIds.includes(i.layerId),h=n?.getTerminalConfiguration(t),u=h?h.terminals[0].id:c?-1:1,p=c?.5:-1;return{traceLocation:new _({type:r,isFilterBarrier:!1,globalId:o,terminalId:u,percentAlong:p}),flagProperties:{title:s,expanded:!1,terminalConfiguration:h??void 0,selectedTerminals:h?new Set([u]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}return null}async _generateItemTitle(t){let{messages:e}=this,r=(T(t.layer),t.layer);return("getFeatureTitle"in r?await r.getFeatureTitle(t):null)||t?.getObjectId()?.toString()||e.labels.unknown}_addFlagGraphic(t,e,r){let n=t.geometry?t.geometry.type==="point"?t.geometry:e:null,o=this._createFlagSymbol(),a=new G({geometry:n,symbol:o,attributes:t.attributes});return r.graphics.add(a),a}_createFlagSymbol(){let{traceLocationType:t}=this,e=[244,21,21,.6],r=[21,244,21,.6];return t==="stopping-point"?new k({color:e,style:"x",size:12,outline:{color:e,width:2}}):t==="barrier"?new k({color:e,style:"square",size:12,outline:{color:e,width:0}}):new k({color:r,style:"circle",size:12,outline:{color:r,width:0}})}_handleClearButtonClick(){let{view:t,traceLocations:e}=this;e?.forEach(r=>{r.spatialProperties.flagGraphic&&t&&t.graphics.remove(r.spatialProperties.flagGraphic)}),e?.removeAll()}renderAddLocationBlock(){let{traceLocationType:t,messages:e,traceLocations:r,view:n}=this,o=t==="starting-point"?e.types.startingPoint:t==="barrier"?e.types.barrier:e.types.stoppingPoint,a=o.heading,s=o.description,i=o.buttonText;return f`<calcite-block .heading=${a} .label=${a} expanded .description=${s}>${r?.length?f`<calcite-button class="clear-button" slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${()=>this._handleClearButtonClick()}>${e.buttons.clear}</calcite-button><arcgis-utility-network-trace-location-list .traceLocations=${r} .traceLocationType=${t} .view=${n}></arcgis-utility-network-trace-location-list>`:null}<div class="button-container"><calcite-button .loading=${this.isSelectWaiting} class="add-location-button" icon-start=select appearance=outline .label=${i} @click=${()=>this._handleAddButtonClick()}>${i}</calcite-button></div></calcite-block>`}render(){return f`<div class="root">${this.renderAddLocationBlock()}</div>`}};I("arcgis-utility-network-trace-location",L);return L},"geometry/operators/cutOperator","geometry/operators/lengthOperator","geometry/operators/projectOperator","geometry/Polyline","geometry/SpatialReference","Graphic","rest/networks/support/TraceLocation","symbols/SimpleMarkerSymbol",a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{d as u}from"./UC4ZZXFO.js";import{y as h}from"./URMAKTOH.js";var i=class o{constructor(){this._groups=new Map}destroy(){this.removeAll()}add(r,s){if(Array.isArray(r)){let e=this._getOrCreateGroup(s);for(let t of r)this._isHandle(t)&&e.push(t)}else this._isHandle(r)&&this._getOrCreateGroup(s).push(r);return this}forEach(r,s){if(typeof r=="function")this._groups.forEach(e=>e.forEach(r));else{let e=this._getGroup(r);e&&s&&e.forEach(s)}}has(r){return this._groups.has(this._ensureGroupKey(r))}remove(r){if(typeof r!="string"&&Array.isArray(r)){for(let s of r)this.remove(s);return this}return this.has(r)?(this._removeAllFromGroup(this._getGroup(r)),this._groups.delete(this._ensureGroupKey(r)),this):this}removeAll(){return this._groups.forEach(r=>this._removeAllFromGroup(r)),this._groups.clear(),this}_isHandle(r){return r&&(!!r.remove||r instanceof o)}_getOrCreateGroup(r){if(this.has(r))return this._getGroup(r);let s=[];return this._groups.set(this._ensureGroupKey(r),s),s}_getGroup(r){return this._groups.get(this._ensureGroupKey(r))}_ensureGroupKey(r){return r||"_default_"}_removeAllFromGroup(r){for(let s of r)s instanceof o?s.removeAll():s.remove()}},n=class extends h{constructor(r){super(),this.destroyed=!1,r==="disconnect"?this.onDisconnected(()=>this.removeAllHandles()):this.onDestroy(()=>this.destroy())}addHandles(r,s){if(this.destroyed){let e=Array.isArray(r)?r:[r];for(let t of e)t.remove();return}this._handles??=new i,this._handles.add(r,s)}removeHandles(r){this._handles?.remove(r)}removeAllHandles(){this._handles?.removeAll()}destroy(){this.destroyed=!0,this.removeAllHandles()}hasHandles(r){return this._handles?.has(r)??!1}},l=u(n);export{l as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{G as wi,R as Pi,S as P,T as Ge,U as ki,V as Ci,W as ue,a as Y,d as vi,g as de,k as je,o as xi,u as q,x as bi,y as Di,z as Ti}from"./JQVWY2TG.js";import{a as A,b as ne,d as R,e as k}from"./AK2M26FE.js";import{A as mi,C as gi,F as ft,G as Nt,H as _i,J as G,N as ct,P as mt,R as yi,S as St,T as Ke,U as Ri,W as Ye,X as Si,a as pi,b as Ne,c as fi,e as Oe,g as w,h as Fe,j as Ue,m as jt,n as We,o as y,p as pt,r as oe,s as X,u as Ve,w as le,x as ze,y as ci,z as he}from"./Y3B5PQ5E.js";import{a as He}from"./H6RQVSYM.js";function Gt(a,t){if(!(a>=0&&a<t))throw new Error("Index out of bounds: "+a)}var lt=class{constructor(t=[]){this.events=new St,this._values=t}get values(){return this._values}contains(t){return this._values.indexOf(t)!==-1}removeValue(t){let e=0,i=this._values.length;for(;e<i;)this._values[e]===t?(this.removeIndex(e),--i):++e}indexOf(t){return jt(this._values,t)}get length(){return this._values.length}hasIndex(t){return t>=0&&t<this._values.length}getIndex(t){return this._values[t]}_onPush(t){this.events.isEnabled("push")&&this.events.dispatch("push",{type:"push",target:this,newValue:t})}_onInsertIndex(t,e){this.events.isEnabled("insertIndex")&&this.events.dispatch("insertIndex",{type:"insertIndex",target:this,index:t,newValue:e})}_onSetIndex(t,e,i){this.events.isEnabled("setIndex")&&this.events.dispatch("setIndex",{type:"setIndex",target:this,index:t,oldValue:e,newValue:i})}_onSwap(t,e){this.events.isEnabled("swap")&&this.events.dispatch("swap",{type:"swap",target:this,a:t,b:e})}_onRemoveIndex(t,e){this.events.isEnabled("removeIndex")&&this.events.dispatch("removeIndex",{type:"removeIndex",target:this,index:t,oldValue:e})}_onMoveIndex(t,e,i){this.events.isEnabled("moveIndex")&&this.events.dispatch("moveIndex",{type:"moveIndex",target:this,oldIndex:t,newIndex:e,value:i})}_onClear(t){this.events.isEnabled("clear")&&this.events.dispatch("clear",{type:"clear",target:this,oldValues:t})}setIndex(t,e){Gt(t,this._values.length);let i=this._values[t];return i!==e&&(this._values[t]=e,this._onSetIndex(t,i,e)),i}insertIndex(t,e){return Gt(t,this._values.length+1),le(this._values,t,e),this._onInsertIndex(t,e),e}swap(t,e){let i=this._values.length;if(Gt(t,i),Gt(e,i),t!==e){let n=this._values[t],s=this._values[e];this._values[t]=s,this._values[e]=n,this._onSwap(n,s)}}removeIndex(t){Gt(t,this._values.length);let e=this._values[t];return ze(this._values,t),this._onRemoveIndex(t,e),e}moveValue(t,e){let i=this.indexOf(t);if(i!==-1)if(ze(this._values,i),e==null){let n=this._values.length;this._values.push(t),this._onMoveIndex(i,n,t)}else le(this._values,e,t),this._onMoveIndex(i,e,t);else e==null?(this._values.push(t),this._onPush(t)):(le(this._values,e,t),this._onInsertIndex(e,t));return t}push(t){return this._values.push(t),this._onPush(t),t}unshift(t){return this.insertIndex(0,t),t}pushAll(t){y(t,e=>{this.push(e)})}copyFrom(t){this.pushAll(t._values)}pop(){return this._values.length-1<0?void 0:this.removeIndex(this._values.length-1)}shift(){return this._values.length?this.removeIndex(0):void 0}setAll(t){let e=this._values;this._values=[],this._onClear(e),y(t,i=>{this._values.push(i),this._onPush(i)})}clear(){this.setAll([])}*[Symbol.iterator](){let t=this._values.length;for(let e=0;e<t;++e)yield this._values[e]}each(t){y(this._values,t)}eachReverse(t){pt(this._values,t)}},Kt=class extends lt{constructor(){super(...arguments),this.autoDispose=!0,this._disposed=!1}swap(t,e){let i=this.autoDispose;this.autoDispose=!1,super.swap(t,e),this.autoDispose=i}_onSetIndex(t,e,i){this.autoDispose&&e.dispose(),super._onSetIndex(t,e,i)}_onRemoveIndex(t,e){this.autoDispose&&e.dispose(),super._onRemoveIndex(t,e)}_onClear(t){this.autoDispose&&y(t,e=>{e.dispose()}),super._onClear(t)}_dispose(){this.autoDispose&&y(this._values,t=>{t.dispose()})}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},$i=class extends Kt{constructor(t,e){super(),this.template=t,this.make=e}_dispose(){super._dispose(),this.autoDispose&&this.template.dispose()}};var Ot={};He(Ot,{DEGREES:()=>fe,HALFPI:()=>Xe,PI:()=>ce,RADIANS:()=>$t,boundsOverlap:()=>ds,ceil:()=>qi,circlesOverlap:()=>ps,closest:()=>hs,cos:()=>dt,fitAngleToRange:()=>ss,fitToRange:()=>me,getAngle:()=>rs,getArcBounds:()=>es,getArcPoint:()=>pe,getCubicControlPointA:()=>Ji,getCubicControlPointB:()=>Qi,getPointOnCubicCurve:()=>ns,getPointOnLine:()=>os,getPointOnQuadraticCurve:()=>as,inBounds:()=>Ze,mergeBounds:()=>is,normalizeAngle:()=>gt,resolveLocationOnPath:()=>ls,round:()=>Zi,sin:()=>ht,spiralPoints:()=>us,tan:()=>ts});var ce=Math.PI,Xe=ce/2,$t=ce/180,fe=180/ce;function Zi(a,t,e){if(!w(t)||t<=0){let i=Math.round(a);return e&&i-a==.5&&i--,i}else{let i=Math.pow(10,t);return Math.round(a*i)/i}}function qi(a,t){if(!w(t)||t<=0)return Math.ceil(a);{let e=Math.pow(10,t);return Math.ceil(a*e)/e}}function Ji(a,t,e,i,n){return{x:(-a.x+t.x/i+e.x)*i,y:(-a.y+t.y/n+e.y)*n}}function Qi(a,t,e,i,n){return{x:(a.x+t.x/i-e.x)*i,y:(a.y+t.y/n-e.y)*n}}function me(a,t,e){return Math.min(Math.max(a,t),e)}function ht(a){return Math.sin($t*a)}function ts(a){return Math.tan($t*a)}function dt(a){return Math.cos($t*a)}function gt(a){return a=a%360,a<0&&(a+=360),a}function es(a,t,e,i,n){let s=Number.MAX_VALUE,r=Number.MAX_VALUE,o=-Number.MAX_VALUE,h=-Number.MAX_VALUE,l=[];l.push(pe(n,e)),l.push(pe(n,i));let d=Math.min(Math.floor(e/90)*90,Math.floor(i/90)*90),u=Math.max(Math.ceil(e/90)*90,Math.ceil(i/90)*90);for(let p=d;p<=u;p+=90)p>=e&&p<=i&&l.push(pe(n,p));for(let p=0;p<l.length;p++){let c=l[p];c.x<s&&(s=c.x),c.y<r&&(r=c.y),c.x>o&&(o=c.x),c.y>h&&(h=c.y)}return{left:a+s,top:t+r,right:a+o,bottom:t+h}}function pe(a,t){return{x:a*dt(t),y:a*ht(t)}}function is(a){let t=a.length;if(t>0){let e=a[0],i=e.left,n=e.top,s=e.right,r=e.bottom;if(t>1)for(let o=1;o<t;o++)e=a[o],i=Math.min(e.left,i),s=Math.max(e.right,s),n=Math.min(e.top,n),r=Math.max(e.bottom,r);return{left:i,right:s,top:n,bottom:r}}return{left:0,right:0,top:0,bottom:0}}function ss(a,t,e){if(t>e){let r=t;t=e,e=r}a=gt(a);let i=(t-gt(t))/360;a<t&&(a+=360*(i+1));let n=t+(e-t)/2+180,s=t+(e-t)/2-180;return a>e&&(a-360>t?a-=360:a<n?a=e:a=t),a<t&&(a>s?a=t:a=e),a}function Ze(a,t){return a.x>=t.left&&a.y>=t.top&&a.x<=t.right&&a.y<=t.bottom}function rs(a,t){t||(t={x:a.x*2,y:a.y*2});let e=t.x-a.x,i=t.y-a.y,n=Math.atan2(i,e)*fe;return n<0&&(n+=360),gt(n)}function as(a,t,e,i){let n=(1-i)*(1-i)*a.x+2*(1-i)*i*e.x+i*i*t.x,s=(1-i)*(1-i)*a.y+2*(1-i)*i*e.y+i*i*t.y;return{x:n,y:s}}function ns(a,t,e,i,n){let s=1-n,r=s*s*s*a.x+3*s*s*n*e.x+3*s*n*n*i.x+n*n*n*t.x,o=s*s*s*a.y+3*s*s*n*e.y+3*s*n*n*i.y+n*n*n*t.y;return{x:r,y:o}}function os(a,t,e){return{x:a.x+(t.x-a.x)*e,y:a.y+(t.y-a.y)*e}}function ls(a,t){let e=t.length;if(e>0){let i=t[e-1],n=a*i,s=0;for(let l=0;l<e;l++)if(t[l]>=n){s=l;break}let r=s>0?t[s-1]:0,o=t[s]-r,h=o>0?(n-r)/o:0;return{index:s,t:h}}return{index:0,t:0}}function hs(a,t){return a.reduce(function(e,i){return Math.abs(i-t)<Math.abs(e-t)?i:e})}function ds(a,t){let e=a.left<t.right&&a.right>t.left,i=a.top<t.bottom&&a.bottom>t.top;return e&&i}function us(a,t,e,i,n,s,r,o,h){let l=n+.01;o=gt(o),h=gt(h);let d=o*$t;h<o&&(h+=360);let u=[];for(;l<e+r;){let p=s;p/2>l&&(p=2*l);let c=Math.max(.01,Math.min(1,l/200));p=p*c;let m=d*fe,g={x:a+l*Math.cos(d),y:t+l*i/e*Math.sin(d)};if(u.push(g),l=n+.01+(m-o)/360*r,d+=2*Math.asin(p/2/l),d*fe>h+360*Math.ceil((e-n)/r))break}return u.shift(),u}function ps(a,t){return Math.hypot(a.x-t.x,a.y-t.y)<=a.radius+t.radius}var ye={};He(ye,{bounce:()=>Rs,circle:()=>_s,cubic:()=>it,elastic:()=>Is,exp:()=>ms,inOut:()=>vs,linear:()=>_e,out:()=>_t,pow:()=>cs,quad:()=>fs,sine:()=>gs,yoyo:()=>ys});function _e(a){return a}function fs(a){return a*a}function it(a){return a*a*a}function cs(a,t){return Math.pow(a,t)}function ms(a){return Math.pow(2,10*a-10)}function gs(a){return 1-Math.cos(a*Xe)}function _s(a){return 1-Math.sqrt(1-a*a)}function ys(a){return function(t){return t<.5?a(t*2):a((1-t)*2)}}function _t(a){return function(t){return 1-a(1-t)}}function vs(a){return function(t){return t<=.5?a(t*2)/2:1-a((1-t)*2)/2}}var qe=4/11,xs=6/11,bs=8/11,Ds=3/4,Ts=9/11,ws=10/11,Ps=15/16,ks=21/22,Cs=63/64,ge=1/qe/qe;function Rs(a){return 1-Ss(1-a)}function Ss(a){return a=a,a<qe?ge*a*a:a<bs?ge*(a-=xs)*a+Ds:a<ws?ge*(a-=Ts)*a+Ps:ge*(a-=ks)*a+Cs}var $s=2*Math.PI,Ai=1,Ii=.3/$s,As=Math.asin(1/Ai)*Ii;function Is(a){let t=a;return Ai*Math.pow(2,10*--t)*Math.sin((As-t)/Ii)}var Je=class{constructor(){this.version="5.17.3",this.licenses=[],this.entitiesById={},this.rootElements=[],this.autoDispose=!1}},At=new Je;function rr(a){At.licenses.push(a)}function ar(){let a;for(;a=At.rootElements.pop();)a.dispose()}function nr(a){let t;return At.rootElements.forEach(e=>{e.dom.id==a&&(t=e)}),t}var Qe=class{constructor(t,e){this._userSettings={},this._entity=t,this._settings=e,G(e,i=>{this._userSettings[i]=!0})}get(t,e){let i=this._settings[t];return i!==void 0?i:e}setRaw(t,e){this._settings[t]=e}set(t,e){this._userSettings[t]=!0,this.setRaw(t,e)}remove(t){delete this._userSettings[t],delete this._settings[t]}setAll(t){Nt(t).forEach(([e,i])=>{this.set(e,i)})}_eachSetting(t){G(this._settings,t)}apply(){let t={};t.stateAnimationEasing=!0,t.stateAnimationDuration=!0;let e=this._entity.states.lookup("default");this._eachSetting((i,n)=>{t[i]||(t[i]=!0,this!==e&&(i in e._settings||(e._settings[i]=this._entity.get(i))),this._entity.set(i,n))})}applyAnimate(t){t==null&&(t=this._settings.stateAnimationDuration),t==null&&(t=this.get("stateAnimationDuration",this._entity.get("stateAnimationDuration",0)));let e=this._settings.stateAnimationEasing;e==null&&(e=this.get("stateAnimationEasing",this._entity.get("stateAnimationEasing",it)));let i=this._entity.states.lookup("default"),n={};n.stateAnimationEasing=!0,n.stateAnimationDuration=!0;let s={};return this._eachSetting((r,o)=>{if(!n[r]){n[r]=!0,this!=i&&(r in i._settings||(i._settings[r]=this._entity.get(r)));let h=this._entity.animate({key:r,to:o,duration:t,easing:e});h&&(s[r]=h)}}),s}},ve=class{constructor(t){this._states={},this._entity=t}lookup(t){return this._states[t]}create(t,e){let i=this._states[t];if(i)return i.setAll(e),i;{let n=new Qe(this._entity,e);return this._states[t]=n,n}}remove(t){delete this._states[t]}apply(t){let e=this._states[t];e&&e.apply(),this._entity._applyState(t)}applyAnimate(t,e){let i,n=this._states[t];return n&&(i=n.applyAnimate(e)),this._entity._applyStateAnimated(t,e),i}};var ei=class{constructor(t){this._callbacks={},this._disabled={},this._entity=t}add(t,e){let i=this._callbacks[t];return i===void 0&&(i=this._callbacks[t]=[]),i.push(e),this._entity._markDirtyKey(t),new ct(()=>{X(i,e)&&this._entity._markDirtyKey(t)})}remove(t){let e=this._callbacks[t];e!==void 0&&(delete this._callbacks[t],e.length!==0&&this._entity._markDirtyKey(t))}enable(t){this._disabled[t]&&(delete this._disabled[t],this._entity._markDirtyKey(t))}disable(t){this._disabled[t]||(this._disabled[t]=!0,this._entity._markDirtyKey(t))}fold(t,e){if(!this._disabled[t]){let i=this._callbacks[t];if(i!==void 0)for(let n=0,s=i.length;n<s;++n)e=i[n](e,this._entity,t)}return e}},Ft=class{constructor(t,e,i,n,s,r,o){this._time=0,this._stopped=!1,this._playing=!0,this.events=new St,this._animation=t,this._from=e,this._to=i,this._duration=n,this._easing=s,this._loops=r,this._interpolate=Ci(e,i),this._oldTime=o}get to(){return this._to}get from(){return this._from}get playing(){return this._playing}get stopped(){return this._stopped}stop(){this._stopped||(this._stopped=!0,this._playing=!1,this.events.isEnabled("stopped")&&this.events.dispatch("stopped",{type:"stopped",target:this}))}pause(){this._playing=!1,this._oldTime=null}play(){!this._stopped&&!this._playing&&(this._playing=!0,this._animation._startAnimation())}get percentage(){return this._time/this._duration}waitForStop(){return new Promise((t,e)=>{if(this._stopped)t();else{let i=()=>{n.dispose(),t()},n=this.events.on("stopped",i)}})}_checkEnded(){return this._loops>1?(--this._loops,!1):!0}_run(t){this._oldTime!==null&&(this._time+=t-this._oldTime,this._time>this._duration&&(this._time=this._duration)),this._oldTime=t}_reset(t){this._oldTime=t,this._time=0}_value(t){return t>=1?this._to:t<=0?this._from:this._interpolate(this._easing(t),this._from,this._to)}},Bs=0,Yt=class{constructor(t){this.uid=++Bs,this._privateSettings={},this._settingEvents={},this._privateSettingEvents={},this._debouncedSettingEvents={},this._debouncedPrivateSettingEvents={},this._prevSettings={},this._prevPrivateSettings={},this._animatingSettings={},this._animatingPrivateSettings={},this._disposed=!1,this._userProperties={},this.enableDispose=!0,this._settings=t}_checkDirty(){ft(this._settings).forEach(t=>{this._userProperties[t]=!0,this._markDirtyKey(t)})}resetUserSettings(){this._userProperties={}}_runAnimation(t){let e=ue.Stopped;if(!this.isDisposed()){let i=!1,n=!1;G(this._animatingSettings,(s,r)=>{if(r.stopped)this._stopAnimation(s);else if(r.playing){r._run(t);let o=r.percentage;o>=1?r._checkEnded()?this.set(s,r._value(1)):(i=!0,r._reset(t),this._set(s,r._value(1))):(i=!0,this._set(s,r._value(o)))}else n=!0}),G(this._animatingPrivateSettings,(s,r)=>{if(r.stopped)this._stopAnimationPrivate(s);else if(r.playing){r._run(t);let o=r.percentage;o>=1?r._checkEnded()?this.setPrivate(s,r._value(1)):(i=!0,r._reset(t),this._setPrivate(s,r._value(1))):(i=!0,this._setPrivate(s,r._value(o)))}else n=!0}),i?e=ue.Playing:n&&(e=ue.Paused)}return e}_markDirtyKey(t){this.markDirty()}_markDirtyPrivateKey(t){this.markDirty()}on(t,e){let i=this._settingEvents[t];return i===void 0&&(i=this._settingEvents[t]=[]),i.push(e),new ct(()=>{X(i,e),i.length===0&&delete this._settingEvents[t]})}off(t,e){let i=this._settingEvents[t];i!==void 0&&e!==void 0?X(i,e):delete this._settingEvents[t]}_onDebouncedHelper(t,e,i,n){let s=t[e];s===void 0&&(s=t[e]=[]);let r={cb:i,delay:n};return s.push(r),new ct(()=>{r.timeout&&window.clearTimeout(r.timeout),X(s,r),s.length===0&&delete t[e]})}_offDebouncedHelper(t,e,i){let n=t[e];if(n!==void 0)if(i!==void 0){let s=ci(n,r=>r.cb===i);if(s!==-1){let r=n[s];r.timeout&&window.clearTimeout(r.timeout),n.splice(s,1),n.length===0&&delete t[e]}}else y(n,s=>{s.timeout&&window.clearTimeout(s.timeout)}),delete t[e]}onDebounced(t,e,i){return this._onDebouncedHelper(this._debouncedSettingEvents,t,e,i)}offDebounced(t,e){this._offDebouncedHelper(this._debouncedSettingEvents,t,e)}onPrivate(t,e){let i=this._privateSettingEvents[t];return i===void 0&&(i=this._privateSettingEvents[t]=[]),i.push(e),new ct(()=>{X(i,e),i.length===0&&delete this._privateSettingEvents[t]})}offPrivate(t,e){let i=this._privateSettingEvents[t];i!==void 0&&e!==void 0?X(i,e):delete this._privateSettingEvents[t]}onPrivateDebounced(t,e,i){return this._onDebouncedHelper(this._debouncedPrivateSettingEvents,t,e,i)}offDebouncedPrivate(t,e){this._offDebouncedHelper(this._debouncedPrivateSettingEvents,t,e)}getRaw(t,e){let i=this._settings[t];return i!==void 0?i:e}has(t){return t in this._settings}get(t,e){return this.getRaw(t,e)}_sendKeyEvent(t,e){let i=this._settingEvents[t];i!==void 0&&y(i,s=>{s(e,this,t)});let n=this._debouncedSettingEvents[t];n!==void 0&&y(n,s=>{s.timeout&&window.clearTimeout(s.timeout),s.timeout=window.setTimeout(()=>{s.timeout=void 0,s.cb(e,this,t)},s.delay)})}_sendPrivateKeyEvent(t,e){let i=this._privateSettingEvents[t];i!==void 0&&y(i,s=>{s(e,this,t)});let n=this._debouncedPrivateSettingEvents[t];n!==void 0&&y(n,s=>{s.timeout&&window.clearTimeout(s.timeout),s.timeout=window.setTimeout(()=>{s.timeout=void 0,s.cb(e,this,t)},s.delay)})}_setRaw(t,e,i){this._prevSettings[t]=e,this._sendKeyEvent(t,i)}setRaw(t,e){let i=this._settings[t];this._settings[t]=e,i!==e&&this._setRaw(t,i,e)}_set(t,e){let i=this._settings[t];this._settings[t]=e,i!==e&&(this._setRaw(t,i,e),this._markDirtyKey(t))}_stopAnimation(t){let e=this._animatingSettings[t];e&&(delete this._animatingSettings[t],e.stop())}set(t,e){return this._set(t,e),this._stopAnimation(t),e}remove(t){t in this._settings&&(this._prevSettings[t]=this._settings[t],delete this._settings[t],this._sendKeyEvent(t,void 0),this._markDirtyKey(t)),this._stopAnimation(t)}removeAll(){y(ft(this._settings),t=>{this.remove(t)})}getPrivate(t,e){let i=this._privateSettings[t];return i!==void 0?i:e}_setPrivateRaw(t,e,i){this._prevPrivateSettings[t]=e,this._sendPrivateKeyEvent(t,i)}setPrivateRaw(t,e){let i=this._privateSettings[t];this._privateSettings[t]=e,i!==e&&this._setPrivateRaw(t,i,e)}_setPrivate(t,e){let i=this._privateSettings[t];this._privateSettings[t]=e,i!==e&&(this._setPrivateRaw(t,i,e),this._markDirtyPrivateKey(t))}_stopAnimationPrivate(t){let e=this._animatingPrivateSettings[t];e&&(e.stop(),delete this._animatingPrivateSettings[t])}setPrivate(t,e){return this._setPrivate(t,e),this._stopAnimationPrivate(t),e}removePrivate(t){t in this._privateSettings&&(this._prevPrivateSettings[t]=this._privateSettings[t],delete this._privateSettings[t],this._markDirtyPrivateKey(t)),this._stopAnimationPrivate(t)}setAll(t){G(t,(e,i)=>{this.set(e,i)})}animate(t){let e=t.key,i=t.to,n=t.duration||0,s=t.loops||1,r=t.from===void 0?this.get(e):t.from,o=t.easing===void 0?_e:t.easing;if(n===0)this.set(e,i);else if(r===void 0||r===i)this.set(e,i);else{this.set(e,r);let l=this._animatingSettings[e]=new Ft(this,r,i,n,o,s,this._animationTime());return this._startAnimation(),l}let h=new Ft(this,r,i,n,o,s,null);return h.stop(),h}animatePrivate(t){let e=t.key,i=t.to,n=t.duration||0,s=t.loops||1,r=t.from===void 0?this.getPrivate(e):t.from,o=t.easing===void 0?_e:t.easing;if(n===0)this.setPrivate(e,i);else if(r===void 0||r===i)this.setPrivate(e,i);else{this.setPrivate(e,r);let l=this._animatingPrivateSettings[e]=new Ft(this,r,i,n,o,s,this._animationTime());return this._startAnimation(),l}let h=new Ft(this,r,i,n,o,s,null);return h.stop(),h}_dispose(){}isDisposed(){return this._disposed}dispose(){this.enableDispose&&!this._disposed&&(this._disposed=!0,this._dispose())}},W=class extends Yt{constructor(t,e,i,n=[]){if(super(e),this.states=new ve(this),this.adapters=new ei(this),this.events=this._createEvents(),this._userPrivateProperties={},this._dirty={},this._dirtyPrivate={},this._templates=[],this._defaultThemes=[],this._templateDisposers=[],this._disposers=[],this._runSetup=!0,this._disposerProperties={},!i)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._root=t,this._internalTemplates=n,e.id&&this._registerId(e.id)}static new(t,e,i){let n=new this(t,e,!0);return n._template=i,n._afterNew(),n}static _new(t,e,i=[]){let n=new this(t,e,!0,i);return n._afterNew(),n}_afterNew(){this._checkDirty();let t=!1,e=this._template;e&&(t=!0,e._setObjectTemplate(this)),y(this._internalTemplates,i=>{t=!0,i._setObjectTemplate(this)}),t&&this._applyTemplates(!1),this.states.create("default",{}),this._setDefaults()}_afterNewApplyThemes(){this._checkDirty();let t=this._template;t&&t._setObjectTemplate(this),y(this._internalTemplates,e=>{e._setObjectTemplate(this)}),this.states.create("default",{}),this._setDefaults(),this._applyThemes()}_createEvents(){return new St}get classNames(){return this.constructor.classNames}get className(){return this.constructor.className}_setDefaults(){}_setDefaultFn(t,e){let i=this.get(t);if(i)return i;{let n=e();return this.set(t,n),n}}_setDefault(t,e){this.has(t)||super.set(t,e)}_setRawDefault(t,e){this.has(t)||super.setRaw(t,e)}_clearDirty(){ft(this._dirty).forEach(t=>{this._dirty[t]=!1}),ft(this._dirtyPrivate).forEach(t=>{this._dirtyPrivate[t]=!1})}isDirty(t){return!!this._dirty[t]}isPrivateDirty(t){return!!this._dirtyPrivate[t]}_markDirtyKey(t){this._dirty[t]=!0,super._markDirtyKey(t)}_markDirtyPrivateKey(t){this._dirtyPrivate[t]=!0,super._markDirtyKey(t)}isType(t){return this.classNames.indexOf(t)!==-1}_pushPropertyDisposer(t,e){let i=this._disposerProperties[t];return i===void 0&&(i=this._disposerProperties[t]=[]),i.push(e),e}_disposeProperty(t){let e=this._disposerProperties[t];e!==void 0&&(y(e,i=>{i.dispose()}),delete this._disposerProperties[t])}set template(t){let e=this._template;e!==t&&(this._template=t,e&&e._removeObjectTemplate(this),t&&t._setObjectTemplate(this),this._applyTemplates())}get template(){return this._template}markDirty(){this._root._addDirtyEntity(this)}_startAnimation(){this._root._addAnimation(this)}_animationTime(){return this._root.animationTime}_applyState(t){}_applyStateAnimated(t,e){}get(t,e){let i=this.adapters.fold(t,this._settings[t]);return i!==void 0?i:e}isUserSetting(t){return this._userProperties[t]||!1}set(t,e){return this._userProperties[t]=!0,super.set(t,e)}setRaw(t,e){this._userProperties[t]=!0,super.setRaw(t,e)}_setSoft(t,e){return this._userProperties[t]?e:super.set(t,e)}remove(t){delete this._userProperties[t],this._removeTemplateProperty(t)}setPrivate(t,e){return this._userPrivateProperties[t]=!0,super.setPrivate(t,e)}setPrivateRaw(t,e){this._userPrivateProperties[t]=!0,super.setPrivateRaw(t,e)}removePrivate(t){delete this._userPrivateProperties[t],this._removeTemplatePrivateProperty(t)}_setTemplateProperty(t,e,i){if(!this._userProperties[e]){let n=this._findTemplateByKey(e);t===n&&super.set(e,i)}}_setTemplatePrivateProperty(t,e,i){if(!this._userPrivateProperties[e]){let n=this._findTemplateByPrivateKey(e);t===n&&super.setPrivate(e,i)}}_removeTemplateProperty(t){if(!this._userProperties[t]){let e=this._findTemplateByKey(t);e?super.set(t,e._settings[t]):super.remove(t)}}_removeTemplatePrivateProperty(t){if(!this._userPrivateProperties[t]){let e=this._findTemplateByPrivateKey(t);e?super.setPrivate(t,e._privateSettings[t]):super.removePrivate(t)}}_walkParents(t){t(this._root._rootContainer),t(this)}_applyStateByKey(t){let e=this.states.create(t,{}),i={};this._eachTemplate(n=>{let s=n.states.lookup(t);s&&s._apply(e,i)}),G(e._settings,n=>{!i[n]&&!e._userSettings[n]&&e.remove(n)})}_applyTemplate(t,e){this._templateDisposers.push(t._apply(this,e)),G(t._settings,(i,n)=>{!e.settings[i]&&!this._userProperties[i]&&(e.settings[i]=!0,super.set(i,n))}),G(t._privateSettings,(i,n)=>{!e.privateSettings[i]&&!this._userPrivateProperties[i]&&(e.privateSettings[i]=!0,super.setPrivate(i,n))}),this._runSetup&&t.setup&&(this._runSetup=!1,t.setup(this))}_findStaticTemplate(t){if(this._template&&t(this._template))return this._template}_eachTemplate(t){this._findStaticTemplate(e=>(t(e),!1)),pt(this._internalTemplates,t),y(this._templates,t)}_applyTemplates(t=!0){t&&this._disposeTemplates();let e={settings:{},privateSettings:{},states:{}};this._eachTemplate(i=>{this._applyTemplate(i,e)}),t&&(G(this._settings,i=>{!this._userProperties[i]&&!e.settings[i]&&super.remove(i)}),G(this._privateSettings,i=>{!this._userPrivateProperties[i]&&!e.privateSettings[i]&&super.removePrivate(i)}))}_findTemplate(t){let e=this._findStaticTemplate(t);if(e===void 0){let i=mi(this._internalTemplates,t);return i===void 0?he(this._templates,t):i}else return e}_findTemplateByKey(t){return this._findTemplate(e=>t in e._settings)}_findTemplateByPrivateKey(t){return this._findTemplate(e=>t in e._privateSettings)}_disposeTemplates(){y(this._templateDisposers,t=>{t.dispose()}),this._templateDisposers.length=0}_removeTemplates(){y(this._templates,t=>{t._removeObjectTemplate(this)}),this._templates.length=0}_applyThemes(t=!1){if(this.get("ignoreThemes"))return!1;let e=!1,i=[],n=[],s=new Set,r=this.get("themeTagsSelf");return r&&y(r,o=>{s.add(o)}),this._walkParents(o=>{o===this._root._rootContainer&&(e=!0),o._defaultThemes.length>0&&i.push(o._defaultThemes);let h=o.get("themes");h&&n.push(h);let l=o.get("themeTags");l&&y(l,d=>{s.add(d)})}),n=i.concat(n),this._removeTemplates(),(e||t)&&pt(this.classNames,o=>{let h=[];y(n,l=>{y(l,d=>{let u=d._lookupRules(o);u&&pt(u,p=>{if(p.tags.every(m=>s.has(m))){let m=gi(h,g=>{let b=Ke(p.tags.length,g.tags.length);return b===0?Ri(p.tags,g.tags,Ke):b});h.splice(m.index,0,p)}})})}),y(h,l=>{this._templates.push(l.template),l.template._setObjectTemplate(this)})}),this._applyTemplates(),(e||t)&&(this._runSetup=!1),e||t}_changed(){}_beforeChanged(){if(this.isDirty("id")){let t=this.get("id");t&&this._registerId(t);let e=this._prevSettings.id;e&&(delete this._root.entitiesById[e],delete At.entitiesById[e])}}_registerId(t){if(this._root.entitiesById[t]&&this._root.entitiesById[t]!==this)throw new Error('An entity with id "'+t+'" already exists.');this._root.entitiesById[t]=this,At.entitiesById[t]=this}_afterChanged(){}addDisposer(t){return this._disposers.push(t),t}_dispose(){super._dispose();let t=this._template;t&&t._removeObjectTemplate(this),y(this._internalTemplates,i=>{i._removeObjectTemplate(this)}),this._removeTemplates(),this._disposeTemplates(),this.events.dispose(),this._disposers.forEach(i=>{i.dispose()}),G(this._disposerProperties,(i,n)=>{y(n,s=>{s.dispose()})});let e=this.get("id");e&&(delete this._root.entitiesById[e],delete At.entitiesById[e])}setTimeout(t,e){let i=setTimeout(()=>{this.removeDispose(n),t()},e),n=new ct(()=>{clearTimeout(i)});return this._disposers.push(n),n}removeDispose(t){if(!this.isDisposed()){let e=jt(this._disposers,t);e>-1&&this._disposers.splice(e,1)}t.dispose()}hasTag(t){return jt(this.get("themeTags",[]),t)!==-1}addTag(t){if(!this.hasTag(t)){let e=this.get("themeTags",[]);e.push(t),this.set("themeTags",e)}}removeTag(t){if(this.hasTag(t)){let e=this.get("themeTags",[]);oe(e,t),this.set("themeTags",e)}}_t(t,e,...i){return this._root.language.translate(t,e,...i)}get root(){return this._root}};W.className="Entity";W.classNames=["Entity"];var xe=class a extends St{constructor(t){super(),this._rendererDisposers={},this._dispatchParents=!0,this._sprite=t}_makePointerEvent(t,e){return{type:t,originalEvent:e.event,point:e.point,simulated:e.simulated,native:e.native,target:this._sprite}}_onRenderer(t,e){this._sprite.set("interactive",!0),this._sprite._display.interactive=!0;let i=this._rendererDisposers[t];if(i===void 0){let n=this._sprite._display.on(t,s=>{e.call(this,s)});i=this._rendererDisposers[t]=new yi(()=>{delete this._rendererDisposers[t],n.dispose()})}return i.increment()}_on(t,e,i,n,s,r,o){let h=super._on(t,e,i,n,s,r,o),l=a.RENDERER_EVENTS[e];return l!==void 0&&(h.disposer=new mt([h.disposer,this._onRenderer(e,l)])),h}stopParentDispatch(){this._dispatchParents=!1}dispatchParents(t,e){let i=this._dispatchParents;this._dispatchParents=!0;try{this.dispatch(t,e),this._dispatchParents&&this._sprite.parent&&this._sprite.parent.events.dispatchParents(t,e)}finally{this._dispatchParents=i}}};xe.RENDERER_EVENTS={click:function(a){this.isEnabled("click")&&!this._sprite.isDragging()&&this._sprite._hasDown()&&!this._sprite._hasMoved(this._makePointerEvent("click",a))&&this.dispatch("click",this._makePointerEvent("click",a))},rightclick:function(a){this.isEnabled("rightclick")&&this.dispatch("rightclick",this._makePointerEvent("rightclick",a))},middleclick:function(a){this.isEnabled("middleclick")&&this.dispatch("middleclick",this._makePointerEvent("middleclick",a))},dblclick:function(a){this.dispatchParents("dblclick",this._makePointerEvent("dblclick",a))},pointerover:function(a){let t=this._sprite,e=!0;if(t.getPrivate("trustBounds")){t._getBounds();let i=t.globalBounds();if(t.isType("Graphics")){let n=t.get("strokeWidth",1)/2;n>=1&&(i.left-=n,i.right+=n,i.top-=n,i.bottom+=n)}Ze(a.point,i)||(e=!1,t._root._renderer.removeHovering(t._display))}e&&this.isEnabled("pointerover")&&this.dispatch("pointerover",this._makePointerEvent("pointerover",a))},pointerout:function(a){this.isEnabled("pointerout")&&this.dispatch("pointerout",this._makePointerEvent("pointerout",a))},pointerdown:function(a){this.dispatchParents("pointerdown",this._makePointerEvent("pointerdown",a))},pointerup:function(a){this.isEnabled("pointerup")&&this.dispatch("pointerup",this._makePointerEvent("pointerup",a))},globalpointerup:function(a){this.isEnabled("globalpointerup")&&this.dispatch("globalpointerup",this._makePointerEvent("globalpointerup",a))},globalpointermove:function(a){this.isEnabled("globalpointermove")&&this.dispatch("globalpointermove",this._makePointerEvent("globalpointermove",a))},wheel:function(a){this.dispatchParents("wheel",{type:"wheel",target:this._sprite,originalEvent:a.event,point:a.point})}};var F=class extends W{constructor(){super(...arguments),this._adjustedLocalBounds={left:0,right:0,top:0,bottom:0},this._localBounds={left:0,right:0,top:0,bottom:0},this._sizeDirty=!1,this._isDragging=!1,this._isHidden=!1,this._isShowing=!1,this._isHiding=!1,this._isDown=!1,this._downPoints={}}_afterNew(){this.setPrivateRaw("visible",!0),super._afterNew()}markDirtyKey(t){this._markDirtyKey(t)}_markDirtyKey(t){super._markDirtyKey(t),(t=="x"||t=="y"||t=="dx"||t=="dy")&&(this.markDirtyBounds(),this._addPercentagePositionChildren(),this.markDirtyPosition())}_markDirtyPrivateKey(t){super._markDirtyPrivateKey(t),(t=="x"||t=="y")&&this.markDirtyPosition()}_removeTemplateField(){this._templateField&&this._templateField._removeObjectTemplate(this)}_createEvents(){return new xe(this)}_processTemplateField(){let t,e=this.get("templateField");if(e){let i=this.dataItem;if(i){let n=i.dataContext;n&&(t=n[e],!(t instanceof Ye)&&t&&(t=Ye.new(t)))}}this._templateField!==t&&(this._removeTemplateField(),this._templateField=t,t&&t._setObjectTemplate(this),this._applyTemplates())}_setDataItem(t){let e=this._dataItem;this._dataItem=t,this._processTemplateField();let i="dataitemchanged";t!=e&&this.events.isEnabled(i)&&this.events.dispatch(i,{type:i,target:this,oldDataItem:e,newDataItem:t})}set dataItem(t){this._setDataItem(t)}get dataItem(){if(this._dataItem)return this._dataItem;{let t=this._parent;for(;t;){if(t._dataItem)return t._dataItem;t=t._parent}}}_addPercentageSizeChildren(){let t=this.parent;t&&(this.get("width")instanceof A||this.get("height")instanceof A?Ve(t._percentageSizeChildren,this):X(t._percentageSizeChildren,this))}_addPercentagePositionChildren(){let t=this.parent;t&&(this.get("x")instanceof A||this.get("y")instanceof A?Ve(t._percentagePositionChildren,this):X(t._percentagePositionChildren,this))}markDirtyPosition(){this._root._addDirtyPosition(this)}updatePivotPoint(){let t=this._localBounds;if(t){let e=this.get("centerX");e!=null&&(this._display.pivot.x=t.left+q(e,t.right-t.left));let i=this.get("centerY");i!=null&&(this._display.pivot.y=t.top+q(i,t.bottom-t.top))}}_beforeChanged(){if(super._beforeChanged(),this._handleStates(),this.isDirty("tooltip")){let t=this._prevSettings.tooltip;t&&t.dispose()}if((this.isDirty("layer")||this.isDirty("layerMargin"))&&(this._display.setLayer(this.get("layer"),this.get("layerMargin")),this.markDirtyLayer()),this.isDirty("tooltipPosition")){let t=this._tooltipMoveDp;t&&(t.dispose(),this._tooltipMoveDp=void 0);let e=this._tooltipPointerDp;e&&(e.dispose(),this._tooltipPointerDp=void 0),this.get("tooltipPosition")=="pointer"&&(this.isHover()&&(this._tooltipMoveDp=this.events.on("globalpointermove",i=>{this.showTooltip(i.point)})),this._tooltipPointerDp=new mt([this.events.on("pointerover",()=>{this._tooltipMoveDp=this.events.on("globalpointermove",i=>{this.showTooltip(i.point)})}),this.events.on("pointerout",()=>{let i=this._tooltipMoveDp;i&&(i.dispose(),this._tooltipMoveDp=void 0)})]))}}_handleStates(){this.isDirty("active")&&(this.get("active")?(this.states.applyAnimate("active"),this.set("ariaChecked",!0)):(this.isHidden()||this.states.applyAnimate("default"),this.set("ariaChecked",!1)),this.markDirtyAccessibility()),this.isDirty("disabled")&&(this.get("disabled")?(this.states.applyAnimate("disabled"),this.set("ariaChecked",!1)):(this.isHidden()||this.states.applyAnimate("default"),this.set("ariaChecked",!0)),this.markDirtyAccessibility())}_changed(){super._changed();let t=this._display,e=this.events;if(this.isDirty("draggable")){let n=this.get("draggable");n?(this.set("interactive",!0),this._dragDp=new mt([e.on("pointerdown",s=>{this.dragStart(s)}),e.on("globalpointermove",s=>{this.dragMove(s)}),e.on("globalpointerup",s=>{this.dragStop(s)})])):this._dragDp&&(this._dragDp.dispose(),this._dragDp=void 0),t.cancelTouch=!!n}if(this.isDirty("tooltipText")||this.isDirty("tooltipHTML")||this.isDirty("showTooltipOn")){let n=this.get("tooltipText"),s=this.get("tooltipHTML"),r=this.get("showTooltipOn","hover");this._tooltipDp&&(this._tooltipDp.dispose(),this._tooltipDp=void 0),(n||s)&&(r=="click"?(this._tooltipDp=new mt([e.on("click",()=>{this.setTimeout(()=>{let o=this.getTooltip();o&&!o.isHidden()&&o.get("tooltipTarget")===this?this.hideTooltip():this.showTooltip()},10)}),vi(document,"click",o=>{this.hideTooltip()})]),this._disposers.push(this._tooltipDp)):r=="always"||(this._tooltipDp=new mt([e.on("pointerover",()=>{this.showTooltip()}),e.on("pointerout",()=>{this.hideTooltip()})]),this._disposers.push(this._tooltipDp)))}if(this.isDirty("toggleKey")){let n=this.get("toggleKey");n&&n!="none"?this._toggleDp=e.on("click",()=>{this._isDragging||this.set(n,!this.get(n))}):this._toggleDp&&(this._toggleDp.dispose(),this._toggleDp=void 0)}if(this.isDirty("opacity")&&(t.alpha=Math.max(0,this.get("opacity",1)),this.get("focusable")&&this.markDirtyAccessibility()),this.isDirty("rotation")&&(this.markDirtyBounds(),t.angle=this.get("rotation",0)),this.isDirty("scale")&&(this.markDirtyBounds(),t.scale=this.get("scale",0)),(this.isDirty("centerX")||this.isDirty("centerY"))&&(this.markDirtyBounds(),this.updatePivotPoint()),(this.isDirty("visible")||this.isPrivateDirty("visible")||this.isDirty("forceHidden"))&&(!this.get("visible")||!this.getPrivate("visible")||this.get("forceHidden")?(t.visible=!1,this.hideTooltip()):t.visible=!0,this.markDirtyBounds(),this.get("focusable")&&this.markDirtyAccessibility()),this.isDirty("width")||this.isDirty("height")){this.markDirtyBounds(),this._addPercentageSizeChildren();let n=this.parent;n&&(this.isDirty("width")&&this.get("width")instanceof A||this.isDirty("height")&&this.get("height")instanceof A)&&(n.markDirty(),n._prevWidth=0),this._sizeDirty=!0}if((this.isDirty("maxWidth")||this.isDirty("maxHeight")||this.isPrivateDirty("width")||this.isPrivateDirty("height")||this.isDirty("minWidth")||this.isDirty("minHeight")||this.isPrivateDirty("maxWidth")||this.isPrivateDirty("maxHeight")||this.isPrivateDirty("minWidth")||this.isPrivateDirty("minHeight")||this.isDirty("marginLeft")||this.isDirty("marginTop")||this.isDirty("marginRight")||this.isDirty("marginBottom"))&&(this.markDirtyBounds(),this._sizeDirty=!0),this._sizeDirty&&this._updateSize(),this.isDirty("wheelable")){let n=this.get("wheelable");n&&this.set("interactive",!0),t.wheelable=!!n}(this.isDirty("tabindexOrder")||this.isDirty("focusableGroup"))&&(this.get("focusable")?this._root._registerTabindexOrder(this):this._root._unregisterTabindexOrder(this)),this.isDirty("filter")&&(t.filter=this.get("filter"));let i=this.get("filter","");if(this.isDirty("blur")){let n=this.get("blur",0);n!=0&&(i+=" blur("+n+"px)")}if(this.isDirty("saturate")){let n=this.get("saturate",1);n!=1&&(i+=" saturate("+n+")")}if(this.isDirty("brightness")){let n=this.get("brightness",1);n!=1&&(i+=" brightness("+n+")")}if(this.isDirty("contrast")){let n=this.get("contrast",1);n!=1&&(i+=" contrast("+n+")")}if(this.isDirty("sepia")){let n=this.get("sepia",0);n!=0&&(i+=" sepia("+n+")")}if(this.isDirty("hue")){let n=this.get("hue",0);n!=0&&(i+=" hue-rotate("+n+"deg)")}if(this.isDirty("invert")){let n=this.get("invert",0);n!=0&&(i+=" invert("+n+")")}if(i&&(t.filter=i),this.isDirty("cursorOverStyle")&&(t.cursorOverStyle=this.get("cursorOverStyle")),this.isDirty("hoverOnFocus")&&(this.get("hoverOnFocus")?this._focusDp=new mt([e.on("focus",()=>{this.showTooltip()}),e.on("blur",()=>{this.hideTooltip()})]):this._focusDp&&(this._focusDp.dispose(),this._focusDp=void 0)),this.isDirty("focusable")&&(this.get("focusable")?this._root._registerTabindexOrder(this):this._root._unregisterTabindexOrder(this),this.markDirtyAccessibility(),this._disposers.push(e.on("blur",()=>{this.setPrivateRaw("touchHovering",!1)})),this._disposers.push(e.once("boundschanged",()=>{this.markDirtyAccessibility()}))),this.isPrivateDirty("focusable")&&this.markDirtyAccessibility(),(this.isDirty("role")||this.isDirty("ariaLive")||this.isDirty("ariaChecked")||this.isDirty("ariaHidden")||this.isDirty("ariaOrientation")||this.isDirty("ariaValueNow")||this.isDirty("ariaValueMin")||this.isDirty("ariaValueMax")||this.isDirty("ariaValueText")||this.isDirty("ariaLabel")||this.isDirty("ariaControls"))&&this.markDirtyAccessibility(),this.isDirty("exportable")&&(t.exportable=this.get("exportable")),this.isDirty("interactive")){let n=this.events;this.get("interactive")&&!n.isDisposed()?this._hoverDp=new mt([n.on("click",s=>{je(s.originalEvent)&&(this.getPrivate("touchHovering")||this.setTimeout(()=>{this._handleOver(),(this.get("tooltipText")||this.get("tooltipHTML"))&&this.showTooltip(),this.setPrivateRaw("touchHovering",!0),this.events.dispatch("pointerover",{type:"pointerover",target:s.target,originalEvent:s.originalEvent,point:s.point,simulated:s.simulated})},10))}),n.on("globalpointerup",s=>{je(s.originalEvent)&&this.getPrivate("touchHovering")&&(this._handleOut(),(this.get("tooltipText")||this.get("tooltipHTML"))&&this.hideTooltip(),this.setPrivateRaw("touchHovering",!1),this.events.dispatch("pointerout",{type:"pointerout",target:s.target,originalEvent:s.originalEvent,point:s.point,simulated:s.simulated})),this._isDown&&this._handleUp(s)}),n.on("pointerover",()=>{this._handleOver()}),n.on("pointerout",()=>{this._handleOut()}),n.on("pointerdown",s=>{this._handleDown(s)})]):(this._display.interactive=!1,this._hoverDp&&(this._hoverDp.dispose(),this._hoverDp=void 0))}this.isDirty("forceInactive")&&(this._display.inactive=this.get("forceInactive",null)),this.get("showTooltipOn")=="always"&&this._display.visible&&this.showTooltip()}dragStart(t){this._dragEvent=t,this.events.stopParentDispatch()}dragStop(t){if(this._dragEvent=void 0,this._dragPoint=void 0,this.events.stopParentDispatch(),this._isDragging){this._isDragging=!1;let e="dragstop";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})}}_handleOver(){this.isHidden()||(this.get("active")&&this.states.lookup("hoverActive")?this.states.applyAnimate("hoverActive"):this.get("disabled")&&this.states.lookup("hoverDisabled")?this.states.applyAnimate("hoverDisabled"):this.states.applyAnimate("hover"),this.get("draggable")&&this._isDown&&this.states.lookup("down")&&this.states.applyAnimate("down"))}_handleOut(){this.isHidden()||(this.get("active")&&this.states.lookup("active")?this.states.applyAnimate("active"):this.get("disabled")&&this.states.lookup("disabled")?this.states.applyAnimate("disabled"):(this.states.lookup("hover")||this.states.lookup("hoverActive"))&&this.states.applyAnimate("default"),this.get("draggable")&&this._isDown&&this.states.lookup("down")&&this.states.applyAnimate("down"))}_handleUp(t){if(!this.isHidden()){this.get("active")&&this.states.lookup("active")?this.states.applyAnimate("active"):this.get("disabled")&&this.states.lookup("disabled")?this.states.applyAnimate("disabled"):this.states.lookup("down")&&(this.isHover()?this.states.applyAnimate("hover"):this.states.applyAnimate("default")),this._downPoint=void 0;let e=de(t.originalEvent);delete this._downPoints[e],ft(this._downPoints).length==0&&(this._isDown=!1)}}_hasMoved(t){let e=de(t.originalEvent),i=this._downPoints[e];if(i){let n=Math.abs(i.x-t.point.x),s=Math.abs(i.y-t.point.y);return n>5||s>5}return!1}_hasDown(){return ft(this._downPoints).length>0}_handleDown(t){let e=this.parent;if(e&&!this.get("draggable")&&e._handleDown(t),this.get("interactive")&&!this.isHidden()){this.states.lookup("down")&&this.states.applyAnimate("down"),this._downPoint={x:t.point.x,y:t.point.y},this._isDown=!0;let i=de(t.originalEvent);this._downPoints[i]={x:t.point.x,y:t.point.y}}}dragMove(t){let e=this._dragEvent;if(e){if(e.simulated&&!t.simulated)return!0;let i=0,n=this.parent,s=1;for(;n!=null;)i+=n.get("rotation",0),n=n.parent,n&&(s*=n.get("scale",1));let r=(t.point.x-e.point.x)/s,o=(t.point.y-e.point.y)/s,h=this.events;if(e.simulated&&!this._isDragging){this._isDragging=!0,this._dragEvent=t,this._dragPoint={x:this.x(),y:this.y()};let l="dragstart";h.isEnabled(l)&&h.dispatch(l,{type:l,target:this,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})}if(this._isDragging){let l=this._dragPoint;this.set("x",l.x+r*dt(i)+o*ht(i)),this.set("y",l.y+o*dt(i)-r*ht(i));let d="dragged";h.isEnabled(d)&&h.dispatch(d,{type:d,target:this,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})}else if(Math.hypot(r,o)>5){this._isDragging=!0,this._dragEvent=t,this._dragPoint={x:this.x(),y:this.y()};let l="dragstart";h.isEnabled(l)&&h.dispatch(l,{type:l,target:this,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})}}}_updateSize(){}_getBounds(){this._localBounds=this._display.getLocalBounds()}depth(){let t=this.parent,e=0;for(;;)if(t)++e,t=t.parent;else return e}markDirtySize(){this._sizeDirty=!0,this.markDirty()}markDirtyBounds(){let t=this._display;if(this.get("isMeasured")){this._root._addDirtyBounds(this),t.isMeasured=!0,t.invalidateBounds();let e=this.parent;e&&this.get("position")!="absolute"&&(e.get("width")==null||e.get("height")==null||e.get("layout"))&&e.markDirtyBounds(),this.get("focusable")&&this.markDirtyAccessibility()}}markDirtyAccessibility(){this._root._invalidateAccessibility(this)}markDirtyLayer(){this._display.markDirtyLayer(!0)}markDirty(){super.markDirty(),this.markDirtyLayer()}_updateBounds(){let t=this._adjustedLocalBounds,e;if(!this.get("visible")||!this.getPrivate("visible")||this.get("forceHidden")?(e={left:0,right:0,top:0,bottom:0},this._localBounds=e,this._adjustedLocalBounds=e):(this._getBounds(),this._fixMinBounds(this._localBounds),this.updatePivotPoint(),this._adjustedLocalBounds=this._display.getAdjustedBounds(this._localBounds),e=this._adjustedLocalBounds),!t||t.left!==e.left||t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom){let i="boundschanged";this.events.isEnabled(i)&&this.events.dispatch(i,{type:i,target:this}),this.parent&&(this.parent.markDirty(),this.parent.markDirtyBounds()),this.getPrivate("showingTooltip")&&this.showTooltip()}}_fixMinBounds(t){let e=this.get("minWidth",this.getPrivate("minWidth")),i=this.get("minHeight",this.getPrivate("minHeight"));w(e)&&t.right-t.left<e&&(t.right=t.left+e),w(i)&&t.bottom-t.top<i&&(t.bottom=t.top+i);let n=this.getPrivate("width"),s=this.getPrivate("height");w(n)&&(n>0?t.right=t.left+n:t.left=t.right+n),w(s)&&(s>0?t.bottom=t.top+s:t.top=t.bottom+s)}_removeParent(t){t&&(t.children.removeValue(this),X(t._percentageSizeChildren,this),X(t._percentagePositionChildren,this))}_clearDirty(){super._clearDirty(),this._sizeDirty=!1}hover(){this.isDisposed()||(this.showTooltip(),this._handleOver())}unhover(){this.isDisposed()||(this.hideTooltip(),this._handleOut())}showTooltip(t){if(!this.isDisposed()){let e=this.getTooltip(),i=this.get("tooltipText"),n=this.get("tooltipHTML");if((i||n)&&e){let s=this.get("tooltipPosition"),r=this.getPrivate("tooltipTarget",this);if((s=="fixed"||!t)&&(this._display._setMatrix(),t=this.toGlobal(r._getTooltipPoint())),s=="pointer"){let l=this.getPrivate("lastTooltipCoords");if(l&&l.x==t.x&&l.y==t.y)return;this.setPrivate("lastTooltipCoords",t)}e.set("pointTo",t),e.set("tooltipTarget",r),e.get("x")||e.set("x",t.x),e.get("y")||e.set("y",t.y),i&&e.label.set("text",i),n&&e.label.set("html",n);let o=this.dataItem;if(o&&e.label._setDataItem(o),this.get("showTooltipOn")=="always"&&(t.x<0||t.x>this._root.width()||t.y<0||t.y>this._root.height())){this.hideTooltip();return}e.label.text.markDirtyText();let h=e.show();return this.setPrivateRaw("showingTooltip",!0),h}}}hideTooltip(){let t=this.getTooltip();if(t&&(this.removePrivate("lastTooltipCoords"),t.get("tooltipTarget")==this.getPrivate("tooltipTarget",this)||this.get("tooltip")==t)){let e=t.get("keepTargetHover")&&t.get("stateAnimationDuration",0)==0?400:void 0,i=t.hide(e);return this.setPrivateRaw("showingTooltip",!1),i}}_getTooltipPoint(){let t=this._localBounds;if(t){let e=0,i=0;return this.get("isMeasured")?(e=t.left+q(this.get("tooltipX",0),t.right-t.left),i=t.top+q(this.get("tooltipY",0),t.bottom-t.top)):(e=q(this.get("tooltipX",0),this.width()),i=q(this.get("tooltipY",0),this.height())),{x:e,y:i}}return{x:0,y:0}}getTooltip(){let t=this.get("tooltip");if(t)return t;{let e=this.parent;if(e)return e.getTooltip()}}_updatePosition(){let t=this.parent,e=this.get("dx",0),i=this.get("dy",0),n=this.get("x"),s=this.getPrivate("x"),r=0,o=0,h=this.get("position");n instanceof A&&(t?n=t.innerWidth()*n.value+t.get("paddingLeft",0):n=0),w(n)?r=n+e:s!=null?r=s:t&&h=="relative"&&(r=t.get("paddingLeft",0)+e);let l=this.get("y"),d=this.getPrivate("y");l instanceof A&&(t?l=t.innerHeight()*l.value+t.get("paddingTop",0):l=0),w(l)?o=l+i:d!=null?o=d:t&&h=="relative"&&(o=t.get("paddingTop",0)+i);let u=this._display;if(u.x!=r||u.y!=o){u.invalidateBounds(),u.x=r,u.y=o;let p="positionchanged";this.events.isEnabled(p)&&this.events.dispatch(p,{type:p,target:this})}this.getPrivate("showingTooltip")&&this.showTooltip()}x(){let t=this.get("x"),e=this.getPrivate("x"),i=this.parent;return i?t instanceof A?q(t,i.innerWidth())+i.get("paddingLeft",0):w(t)?t:e??i.get("paddingLeft",this._display.x):this._display.x}y(){let t=this.getPrivate("y");if(t!=null)return t;let e=this.get("y"),i=this.parent;return i?e instanceof A?q(e,i.innerHeight())+i.get("paddingTop",0):w(e)?e:t??i.get("paddingTop",this._display.y):this._display.y}_dispose(){super._dispose(),this._display.dispose(),this._removeTemplateField(),this._removeParent(this.parent),this._root._removeFocusElement(this);let t=this.get("tooltip");t&&t.dispose(),this.markDirty()}adjustedLocalBounds(){return this._fixMinBounds(this._adjustedLocalBounds),this._adjustedLocalBounds}localBounds(){return this._localBounds}bounds(){let t=this._adjustedLocalBounds,e=this.x(),i=this.y();return{left:t.left+e,right:t.right+e,top:t.top+i,bottom:t.bottom+i}}globalBounds(){let t=this.localBounds(),e=this.toGlobal({x:t.left,y:t.top}),i=this.toGlobal({x:t.right,y:t.top}),n=this.toGlobal({x:t.right,y:t.bottom}),s=this.toGlobal({x:t.left,y:t.bottom});return{left:Math.min(e.x,i.x,n.x,s.x),top:Math.min(e.y,i.y,n.y,s.y),right:Math.max(e.x,i.x,n.x,s.x),bottom:Math.max(e.y,i.y,n.y,s.y)}}_onShow(t){}_onHide(t){}appear(t,e){return Y(this,void 0,void 0,function*(){return yield this.hide(0),e?new Promise((i,n)=>{this.setTimeout(()=>{i(this.show(t))},e)}):this.show(t)})}show(t){return Y(this,void 0,void 0,function*(){if(!this._isShowing){this._isHidden=!1,this._isShowing=!0,this._isHiding=!1,this.states.lookup("default").get("visible")&&this.set("visible",!0),this._onShow(t);let e=this.states.applyAnimate("default",t);yield Ge(e),this._isShowing=!1}})}hide(t){return Y(this,void 0,void 0,function*(){if(!this._isHiding&&!this._isHidden){this._isHiding=!0,this._isShowing=!1;let e=this.states.lookup("hidden");e||(e=this.states.create("hidden",{opacity:0,visible:!1})),this._isHidden=!0,this._onHide(t);let i=this.states.applyAnimate("hidden",t);yield Ge(i),this._isHiding=!1}})}isHidden(){return this._isHidden}isShowing(){return this._isShowing}isHiding(){return this._isHiding}isHover(){return this._display.hovering()}isFocus(){return this._root.focused(this)}isDragging(){return this._isDragging}isVisible(){return!!(this.get("visible")&&this.getPrivate("visible")&&!this.get("forceHidden"))}isVisibleDeep(){return this._parent?this._parent.isVisibleDeep()&&this.isVisible():this.isVisible()}compositeOpacity(){let t=this.get("opacity",1);return this._parent?this._parent.compositeOpacity()*t:t}compositeScale(){let t=this.get("scale",1);return this._parent?this._parent.compositeScale()*t:t}compositeRotation(){let t=this.get("rotation",0);return this._parent?this._parent.compositeRotation()+t:t}width(){let t=this.get("width"),e=this.get("maxWidth",this.getPrivate("maxWidth")),i=this.get("minWidth",this.getPrivate("minWidth")),n=this.getPrivate("width"),s=0;if(w(n))s=n;else if(t==null)this._adjustedLocalBounds&&(s=this._adjustedLocalBounds.right-this._adjustedLocalBounds.left);else if(t instanceof A){let r=this.parent;r?s=r.innerWidth()*t.value:s=this._root.width()*t.value}else w(t)&&(s=t);return w(i)&&(s=Math.max(i,s)),w(e)&&(s=Math.min(e,s)),s}maxWidth(){let t=this.get("maxWidth",this.getPrivate("maxWidth"));if(w(t))return t;{let i=this.get("width");if(w(i))return i}let e=this.parent;return e?e.innerWidth():this._root.width()}maxHeight(){let t=this.get("maxHeight",this.getPrivate("maxHeight"));if(w(t))return t;{let i=this.get("height");if(w(i))return i}let e=this.parent;return e?e.innerHeight():this._root.height()}height(){let t=this.get("height"),e=this.get("maxHeight",this.getPrivate("maxHeight")),i=this.get("minHeight",this.getPrivate("minHeight")),n=this.getPrivate("height"),s=0;if(w(n))s=n;else if(t==null)this._adjustedLocalBounds&&(s=this._adjustedLocalBounds.bottom-this._adjustedLocalBounds.top);else if(t instanceof A){let r=this.parent;r?s=r.innerHeight()*t.value:s=this._root.height()*t.value}else w(t)&&(s=t);return w(i)&&(s=Math.max(i,s)),w(e)&&(s=Math.min(e,s)),s}_findStaticTemplate(t){return this._templateField&&t(this._templateField)?this._templateField:super._findStaticTemplate(t)}_walkParents(t){(this._parent||this._virtualParent)&&this._walkParent(t)}_walkParent(t){this._parent?this._parent._walkParent(t):this._virtualParent&&this._virtualParent._walkParent(t),t(this)}set virtualParent(t){this._virtualParent!==t&&(this._virtualParent=t,this._applyThemes())}get parent(){return this._parent}_setParent(t,e=!1){let i=this._parent;t!==i&&(this.markDirtyBounds(),t.markDirty(),this._parent=t,e&&(this._removeParent(i),t&&(this._addPercentageSizeChildren(),this._addPercentagePositionChildren())),this.markDirtyPosition(),this._applyThemes())}getNumberFormatter(){return this.get("numberFormatter",this._root.numberFormatter)}getDateFormatter(){return this.get("dateFormatter",this._root.dateFormatter)}getDurationFormatter(){return this.get("durationFormatter",this._root.durationFormatter)}toGlobal(t){return this._display.toGlobal(t)}toLocal(t){return this._display.toLocal(t)}_getDownPoint(){let t=this._getDownPointId();if(t)return this._downPoints[t]}_getDownPointId(){if(this._downPoints)return _i(this._downPoints,(t,e)=>t>e?1:t<e?-1:0)[0]}toFront(){let t=this.parent;t&&t.children.moveValue(this,t.children.length-1)}toBack(){let t=this.parent;t&&t.children.moveValue(this,0)}};F.className="Sprite";F.classNames=W.classNames.concat([F.className]);var yt=class extends W{constructor(){super(...arguments),this._display=this._root._renderer.makeGraphics(),this._backgroundDisplay=this._root._renderer.makeGraphics(),this._clear=!1}_afterNew(){super._afterNewApplyThemes()}get pattern(){return this._pattern}_draw(){}_beforeChanged(){super._beforeChanged(),(this.isDirty("repetition")||this.isDirty("width")||this.isDirty("height")||this.isDirty("rotation")||this.isDirty("strokeWidth")||this.isDirty("strokeDasharray")||this.isDirty("strokeDashoffset")||this.isDirty("colorOpacity")||this.isDirty("fillOpacity"))&&(this._clear=!0),this._checkDirtyFill()}_checkDirtyFill(){(this.isDirty("color")||this.isDirty("fill"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){let t=this.get("repetition",""),e=this.get("width",100),i=this.get("height",100),n=this.get("fill"),s=this.get("fillOpacity",1),r=this._backgroundDisplay,o=this._display;o.clear(),r.clear(),n&&s>0&&(r.beginFill(n,s),r.drawRect(0,0,e,i),r.endFill()),o.angle=this.get("rotation",0),this._draw(),this._pattern=this._root._renderer.createPattern(o,r,t,e,i)}this._clear=!1}};yt.className="Pattern";yt.classNames=W.classNames.concat([yt.className]);var vt=class extends yt{_beforeChanged(){super._beforeChanged(),this._clear=!0,this.isDirty("src")&&this._load();let t=this.get("canvas");t&&(this.set("width",t.width),this.set("height",t.height))}_draw(){super._draw();let t=this.get("colorOpacity");t!==void 0&&(this._display.alpha=Math.max(0,t));let e=this._image;if(e){let n=this.get("width",100),s=this.get("height",100),r=this.get("fit","image"),o=0,h=0;r=="pattern"?(o=n,h=s,this.markDirty()):(o=e.width,h=e.height,r=="image"&&(this.set("width",o),this.set("height",h)));let l=this.get("centered",!0),d=0,u=0;l&&(d=n/2-o/2,u=s/2-h/2),this._display.image(e,o,h,d,u)}let i=this.get("canvas");i&&this._display.image(i,i.width,i.height,0,0)}_load(){let t=this.get("src");if(t){let e=new Image;e.src=t,e.decode().then(()=>{this._image=e,this._draw(),this.events.isEnabled("loaded")&&this.events.dispatch("loaded",{type:"loaded",target:this})}).catch(i=>{})}}};vt.className="PicturePattern";vt.classNames=yt.classNames.concat([vt.className]);var be;(function(a){a.ADD="lighter",a.COLOR="color",a.COLOR_BURN="color-burn",a.COLOR_DODGE="color-dodge",a.DARKEN="darken",a.DIFFERENCE="difference",a.DST_OVER="destination-over",a.EXCLUSION="exclusion",a.HARD_LIGHT="hard-light",a.HUE="hue",a.LIGHTEN="lighten",a.LUMINOSITY="luminosity",a.MULTIPLY="multiply",a.NORMAL="source-over",a.OVERLAY="overlay",a.SATURATION="saturation",a.SCREEN="screen",a.SOFT_LIGHT="soft-light",a.SRC_ATOP="source-atop",a.XOR="xor"})(be||(be={}));var Ir=["fill","fillOpacity","stroke","strokeWidth","strokeOpacity","fillPattern","strokePattern","fillGradient","strokeGradient","strokeDasharray","strokeDashoffset","shadowBlur","shadowColor","shadowOpacity","shadowOffsetX","shadowOffsetY","blur","sepia","invert","brightness","hue","contrast","saturate"],Q=class extends F{constructor(){super(...arguments),this._display=this._root._renderer.makeGraphics(),this._clear=!1}_beforeChanged(){if(super._beforeChanged(),(this.isDirty("draw")||this.isDirty("svgPath"))&&this.markDirtyBounds(),(this.isDirty("fill")||this.isDirty("stroke")||this.isDirty("visible")||this.isDirty("forceHidden")||this.isDirty("scale")||this.isDirty("fillGradient")||this.isDirty("strokeGradient")||this.isDirty("fillPattern")||this.isDirty("strokePattern")||this.isDirty("fillOpacity")||this.isDirty("strokeOpacity")||this.isDirty("strokeWidth")||this.isDirty("draw")||this.isDirty("blendMode")||this.isDirty("strokeDasharray")||this.isDirty("strokeDashoffset")||this.isDirty("svgPath")||this.isDirty("lineJoin")||this.isDirty("lineCap")||this.isDirty("shadowColor")||this.isDirty("shadowBlur")||this.isDirty("shadowOffsetX")||this.isDirty("shadowOffsetY"))&&(this._clear=!0),this._display.crisp=this.get("crisp",!1),this.isDirty("fillGradient")){let t=this.get("fillGradient");if(t){this._display.isMeasured=!0;let e=t.get("target");e&&(this._disposers.push(e.events.on("boundschanged",()=>{this._markDirtyKey("fill")})),this._disposers.push(e.events.on("positionchanged",()=>{this._markDirtyKey("fill")})))}}if(this.isDirty("strokeGradient")){let t=this.get("strokeGradient");if(t){this._display.isMeasured=!0;let e=t.get("target");e&&(this._disposers.push(e.events.on("boundschanged",()=>{this._markDirtyKey("stroke")})),this._disposers.push(e.events.on("positionchanged",()=>{this._markDirtyKey("stroke")})))}}}_changed(){if(super._changed(),this._clear){this.markDirtyBounds(),this.markDirtyLayer(),this._display.clear();let t=this.get("strokeDasharray");w(t)&&(t<.5?t=[0]:t=[t]),this._display.setLineDash(t);let e=this.get("strokeDashoffset");e&&this._display.setLineDashOffset(e);let i=this.get("blendMode",be.NORMAL);this._display.blendMode=i;let n=this.get("draw");n&&typeof n=="function"&&n(this._display,this);let s=this.get("svgPath");s!=null&&this._display.svgPath(s)}}_afterChanged(){if(super._afterChanged(),this._clear){let t=this.get("fill"),e=this.get("fillGradient"),i=this.get("fillPattern"),n=this.get("fillOpacity"),s=this.get("stroke"),r=this.get("strokeGradient"),o=this.get("strokePattern"),h=this.get("shadowColor"),l=this.get("shadowBlur"),d=this.get("shadowOffsetX"),u=this.get("shadowOffsetY"),p=this.get("shadowOpacity");if(h&&(l||d||u)&&this._display.shadow(h,l,d,u,p),t&&!e&&(this._display.beginFill(t,n),this._display.endFill()),e){if(t){let m=e.get("stops",[]);m.length&&y(m,g=>{(!g.color||g.colorInherited)&&t&&(g.color=t,g.colorInherited=!0),(g.opacity==null||g.opacityInherited)&&(g.opacity=n,g.opacityInherited=!0)})}let c=e.getFill(this);c&&(this._display.beginFill(c,n),this._display.endFill())}if(i){let c=i.pattern;c&&(this._display.beginFill(c,n),this._display.endFill(),i instanceof vt&&i.events.once("loaded",()=>{this._clear=!0,this.markDirty()}))}if(s||r||o){let c=this.get("strokeOpacity"),m=this.get("strokeWidth",1);this.get("nonScalingStroke")&&(m=m/this.get("scale",1)),this.get("crisp")&&(m/=this._root._renderer.resolution);let g=this.get("lineJoin"),b=this.get("lineCap");if(s&&!r&&(this._display.lineStyle(m,s,c,g,b),this._display.endStroke()),r){let v=r.get("stops",[]);v.length&&y(v,D=>{(!D.color||D.colorInherited)&&s&&(D.color=s,D.colorInherited=!0),(D.opacity==null||D.opacityInherited)&&(D.opacity=c,D.opacityInherited=!0)});let f=r.getFill(this);f&&(this._display.lineStyle(m,f,c,g,b),this._display.endStroke())}if(o){let v=o.pattern;v&&(this._display.lineStyle(m,v,c,g,b),this._display.endStroke(),o instanceof vt&&o.events.once("loaded",()=>{this._clear=!0,this.markDirty()}))}}this.getPrivate("showingTooltip")&&this.showTooltip()}this._clear=!1}};Q.className="Graphics";Q.classNames=F.classNames.concat([Q.className]);var xt=class extends Q{_afterNew(){super._afterNew(),this._display.isMeasured=!0,this.setPrivateRaw("trustBounds",!0)}_beforeChanged(){super._beforeChanged(),(this.isDirty("width")||this.isDirty("height")||this.isPrivateDirty("width")||this.isPrivateDirty("height"))&&(this._clear=!0)}_changed(){super._changed(),this._clear&&!this.get("draw")&&this._draw()}_draw(){let t=this.width(),e=this.height(),i=0,n=0,s=t/Math.abs(t),r=e/Math.abs(e);if(this.get("containStroke",!1)){let o=this.get("strokeWidth",0);t-=o*s,e-=o*r,i+=o/2*s,n+=o/2*r}this._display.drawRect(i,n,t,e)}_updateSize(){this.markDirty(),this._clear=!0}};xt.className="Rectangle";xt.classNames=Q.classNames.concat([xt.className]);function Z(a,t){a.get("reverseChildren",!1)?a.children.eachReverse(t):a.children.each(t)}var j=class extends W{};j.className="Layout";j.classNames=W.classNames.concat([j.className]);var bt=class extends j{updateContainer(t){let e=t.get("paddingLeft",0),i=t.innerWidth(),n=0;Z(t,r=>{if(r.isVisible()&&r.get("position")=="relative"){let o=r.get("width");if(o instanceof A){n+=o.value;let h=i*o.value,l=r.get("minWidth",r.getPrivate("minWidth",-1/0));l>h&&(i-=l,n-=o.value);let d=r.get("maxWidth",r.getPrivate("maxWidth",1/0));h>d&&(i-=d,n-=o.value)}else w(o)||(o=r.width()),i-=o+r.get("marginLeft",0)+r.get("marginRight",0)}}),(i<=0||i==1/0)&&(i=.1),Z(t,r=>{if(r.isVisible()&&r.get("position")=="relative"){let o=r.get("width");if(o instanceof A){let h=i*o.value/n-r.get("marginLeft",0)-r.get("marginRight",0),l=r.get("minWidth",r.getPrivate("minWidth",-1/0)),d=r.get("maxWidth",r.getPrivate("maxWidth",1/0));h=Math.min(Math.max(l,h),d),r.setPrivate("width",h)}else r._prevSettings.width instanceof A&&r.setPrivate("width",void 0)}});let s=e;Z(t,r=>{if(r.get("position")=="relative")if(r.isVisible()){let o=r.adjustedLocalBounds(),h=r.get("marginLeft",0),l=r.get("marginRight",0),d=r.get("maxWidth"),u=o.left,p=o.right;d&&p-u>d&&(p=u+d);let c=s+h-u;r.setPrivate("x",c),s=c+p+l}else r.setPrivate("x",void 0)})}};bt.className="HorizontalLayout";bt.classNames=j.classNames.concat([bt.className]);var Dt=class extends j{updateContainer(t){let e=t.get("paddingTop",0),i=t.innerHeight(),n=0;Z(t,r=>{if(r.isVisible()&&r.get("position")=="relative"){let o=r.get("height");if(o instanceof A){n+=o.value;let h=i*o.value,l=r.get("minHeight",r.getPrivate("minHeight",-1/0));l>h&&(i-=l,n-=o.value);let d=r.get("maxHeight",r.getPrivate("maxHeight",1/0));h>d&&(i-=d,n-=o.value)}else w(o)||(o=r.height()),i-=o+r.get("marginTop",0)+r.get("marginBottom",0)}}),(i<=0||i==1/0)&&(i=.1),Z(t,r=>{if(r.isVisible()&&r.get("position")=="relative"){let o=r.get("height");if(o instanceof A){let h=i*o.value/n-r.get("marginTop",0)-r.get("marginBottom",0),l=r.get("minHeight",r.getPrivate("minHeight",-1/0)),d=r.get("maxHeight",r.getPrivate("maxHeight",1/0));h=Math.min(Math.max(l,h),d),r.setPrivate("height",h)}else r._prevSettings.height instanceof A&&r.setPrivate("height",void 0)}});let s=e;Z(t,r=>{if(r.get("position")=="relative")if(r.isVisible()){let o=r.adjustedLocalBounds(),h=r.get("marginTop",0),l=o.top,d=o.bottom,u=r.get("maxHeight");u&&d-l>u&&(d=l+u);let p=r.get("marginBottom",0),c=s+h-l;r.setPrivate("y",c),s=c+d+p}else r.setPrivate("y",void 0)})}};Dt.className="VerticalLayout";Dt.classNames=j.classNames.concat([Dt.className]);var st=class extends j{_afterNew(){this._setRawDefault("maxColumns",Number.MAX_VALUE),super._afterNew()}updateContainer(t){let e=t.get("paddingLeft",0),i=t.get("paddingRight",0),n=t.get("paddingTop",0),s=t.maxWidth()-e-i,r=s,o=1;Z(t,m=>{if(m.get("visible")&&m.getPrivate("visible")&&!m.get("forceHidden")&&m.get("position")!="absolute"){let g=m.width();g<r&&(r=g),g>o&&(o=g)}}),r=me(r,1,s),o=me(o,1,s);let h=1;this.get("fixedWidthGrid")?h=s/o:h=s/r,h=Math.max(1,Math.floor(h)),h=Math.min(this.get("maxColumns",Number.MAX_VALUE),h);let l=this.getColumnWidths(t,h,o,s),d=n,u=0,p=0;h=l.length;let c=e;Z(t,m=>{if(m.get("position")=="relative"&&m.isVisible()){let g=m.get("marginTop",0),b=m.get("marginBottom",0),v=m.adjustedLocalBounds(),f=m.get("marginLeft",0),D=m.get("marginRight",0),C=c+f-v.left,I=d+g-v.top;m.setPrivate("x",C),m.setPrivate("y",I),c+=l[u]+D,p=Math.max(p,m.height()+g+b),u++,u>=h&&(u=0,c=e,d+=p,p=0)}})}getColumnWidths(t,e,i,n){let s=0,r=[],o=0;return Z(t,h=>{let l=h.adjustedLocalBounds();h.get("position")!="absolute"&&h.isVisible()&&(this.get("fixedWidthGrid")?r[o]=i:r[o]=Math.max(r[o]|0,l.right-l.left+h.get("marginLeft",0)+h.get("marginRight",0)),o<t.children.length-1&&(o++,o==e&&(o=0)))}),y(r,h=>{s+=h}),s>n?e>2?(e-=1,this.getColumnWidths(t,e,i,n)):[n]:r}};st.className="GridLayout";st.classNames=j.classNames.concat([st.className]);var Ut=class{static escape(t){return t.replace(/\[\[/g,this.prefix+"1").replace(/([^\/\]]{1})\]\]/g,"$1"+this.prefix+"2").replace(/\]\]/g,this.prefix+"2").replace(/\{\{/g,this.prefix+"3").replace(/\}\}/g,this.prefix+"4").replace(/\'\'/g,this.prefix+"5")}static unescape(t){return t.replace(new RegExp(this.prefix+"1","g"),"[[").replace(new RegExp(this.prefix+"2","g"),"]]").replace(new RegExp(this.prefix+"3","g"),"{{").replace(new RegExp(this.prefix+"4","g"),"}}").replace(new RegExp(this.prefix+"5","g"),"''")}static cleanUp(t){return t.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")}static chunk(t,e=!1,i=!1){let n=[];t=this.escape(t);let s=e?t.split("'"):[t];for(let r=0;r<s.length;r++){let o=s[r];if(o!=="")if(r%2===0){o=o.replace(/\]\[/g,"]"+Ue+"["),o=o.replace(/\[\]/g,"[ ]");let h=o.split(/[\[\]]+/);for(let l=0;l<h.length;l++){let d=this.cleanUp(this.unescape(h[l]));d!==Ue&&d!==""&&(l%2===0?n.push({type:"value",text:d}):n.push({type:i?"value":"format",text:"["+d+"]"}))}}else{let h=o.split(/[\[\]]+/);for(let l=0;l<h.length;l++){let d=this.cleanUp(this.unescape(h[l]));d!==""&&(l%2===0?n.push({type:"text",text:d}):this.isImage(d)?n.push({type:"image",text:"["+d+"]"}):n.push({type:"format",text:"["+d+"]"}))}}}return n}static isImage(t){return!!t.match(/img[ ]?:/)}static getTextStyle(t){let e={};if(t==""||t=="[ ]")return{};let i=t.match(/('[^']*')|("[^"]*")/gi);if(i)for(let s=0;s<i.length;s++)t=t.replace(i[s],i[s].replace(/['"]*/g,"").replace(/[ ]+/g,"+"));let n=t.match(/([\w\-]*:[\s]?[^;\s\]]*)|(\#[\w]{1,6})|([\w\-]+)|(\/)/gi);if(!n)return{};for(let s=0;s<n.length;s++)if(n[s].match(/^(normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900)$/i))e.fontWeight=n[s];else if(n[s].match(/^(underline|line-through)$/i))e.textDecoration=n[s];else if(n[s]!="/")if(!n[s].match(/:/))e.fill=P.fromString(n[s]);else{let r=n[s].replace("+"," ").split(/:[ ]*/);e[r[0]]=r[1]}return e}};Ut.prefix="__amcharts__";function Wt(a,t){if(t!=null){t=""+t,t=Ut.escape(t);let e=t.match(/\{([^}]+)\}/g),i;if(e)for(i=0;i<e.length;i++){let n=e[i].replace(/\{([^}]+)\}/,"$1"),s=ii(a,n,"");s==null&&(s=""),t=t.split(e[i]).join(s)}t=Ut.unescape(t)}else t="";return t}function ii(a,t,e){let i,n=a.dataItem,s=[],r=/(format[a-zA-Z]*)\((.*)\)|([^.]+)/g,o;for(;o=r.exec(t),o!==null;)if(o[3]){s.push({prop:o[3]});let h=a.getDateFormatter().get("dateFields",[]),l=a.getNumberFormatter().get("numericFields",[]),d=a.getDurationFormatter().get("durationFields",[]);h.indexOf(o[3])!==-1?s.push({method:"formatDate",params:[]}):l.indexOf(o[3])!==-1?s.push({method:"formatNumber",params:[]}):d.indexOf(o[3])!==-1&&s.push({method:"formatDuration",params:[]})}else{let h=[];if(bi(o[2])!=""){let l=/'([^']*)'|"([^"]*)"|([0-9\-]+)/g,d;for(;d=l.exec(o[2]),d!==null;)h.push(d[1]||d[2]||d[3])}s.push({method:o[1],params:h})}if(n){i=It(a,s,n._settings),(i==null||Fe(i))&&(i=It(a,s,n));let h=n.dataContext;i==null&&h&&(i=It(a,s,h),i==null&&(i=It(a,[{prop:t}],h)),i==null&&h.dataContext&&(i=It(a,s,h.dataContext))),i==null&&n.component&&n.component.dataItem!==n&&(i=ii(n.component,t,e))}return i==null&&(i=It(a,s,a)),i==null&&a.parent&&(i=ii(a.parent,t,e)),i}function Ls(a,t){let e=a.getPrivate("customData");if(Fe(e))return e[t]}function It(a,t,e,i){let n=e,s=!1;for(let r=0,o=t.length;r<o;r++){let h=t[r];if(h.prop){if(n instanceof F){let l=n.get(h.prop);l==null&&(l=n.getPrivate(h.prop)),l==null&&(l=Ls(n,h.prop)),l==null&&(l=n[h.prop]),n=l}else if(n.get){let l=n.get(h.prop);l==null&&(l=n[h.prop]),n=l}else n=n[h.prop];if(n==null)return}else switch(h.method){case"formatNumber":let l=Ne(n);l!=null&&(n=a.getNumberFormatter().format(l,i||h.params[0]||void 0),s=!0);break;case"formatDate":let d=fi(n);if(!Oe(d)||pi(d.getTime()))return;d!=null&&(n=a.getDateFormatter().format(d,i||h.params[0]||void 0),s=!0);break;case"formatDuration":let u=Ne(n);u!=null&&(n=a.getDurationFormatter().format(u,i||h.params[0]||void 0,h.params[1]||void 0),s=!0);break;case"urlEncode":case"encodeURIComponent":n=encodeURIComponent(n);break;default:n[h.method]&&n[h.method].apply(e,h.params);break}}if(!s){let r=[{method:"",params:i}];if(i==null)w(n)?(r[0].method="formatNumber",r[0].params=""):Oe(n)&&(r[0].method="formatDate",r[0].params="");else{let o=Ti(i);o==="number"?r[0].method="formatNumber":o==="date"?r[0].method="formatDate":o==="duration"&&(r[0].method="formatDuration")}r[0].method&&(n=It(a,r,n))}return n}var De=class extends lt{constructor(t){super(),this._disposed=!1,this._container=t,this._events=this.events.onAll(e=>{if(e.type==="clear")y(e.oldValues,i=>{this._onRemoved(i)});else if(e.type==="push")this._onInserted(e.newValue);else if(e.type==="setIndex")this._onRemoved(e.oldValue),this._onInserted(e.newValue,e.index);else if(e.type==="insertIndex")this._onInserted(e.newValue,e.index);else if(e.type==="removeIndex")this._onRemoved(e.oldValue);else if(e.type==="moveIndex")this._onRemoved(e.value),this._onInserted(e.value,e.newIndex);else throw new Error("Unknown IListEvent type")})}_onInserted(t,e){t._setParent(this._container,!0);let i=this._container._childrenDisplay;e===void 0?i.addChild(t._display):i.addChildAt(t._display,e)}_onRemoved(t){this._container._childrenDisplay.removeChild(t._display),this._container.markDirtyBounds(),this._container.markDirty()}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._events.dispose(),y(this.values,t=>{t.dispose()}))}};var M=class a extends F{constructor(){super(...arguments),this._display=this._root._renderer.makeContainer(),this._childrenDisplay=this._root._renderer.makeContainer(),this.children=new De(this),this._percentageSizeChildren=[],this._percentagePositionChildren=[],this._prevWidth=0,this._prevHeight=0,this._contentWidth=0,this._contentHeight=0,this._childrenPrep=!1,this._childrenUpdt=!1}_afterNew(){super._afterNew(),this._display.addChild(this._childrenDisplay)}_afterChanged(){super._afterChanged(),this._childrenPrep=!1,this._childrenUpdt=!1}_dispose(){pt(this.allChildren(),t=>{t.dispose()}),this.getPrivate("htmlElement")&&this._root._removeHTMLContent(this),super._dispose()}_beforeChanged(){this._childrenPrep||this._prepareChildren(),this._childrenUpdt||this._updateChildren(),super._beforeChanged()}_changed(){if(super._changed(),this.isDirty("interactiveChildren")&&(this._display.interactiveChildren=this.get("interactiveChildren",!1)),this.isDirty("layout")&&(this._prevWidth=0,this._prevHeight=0,this.markDirtyBounds(),this._prevSettings.layout&&this.children.each(t=>{t.removePrivate("x"),t.removePrivate("y")})),(this.isDirty("paddingTop")||this.isDirty("paddingBottom")||this.isDirty("paddingLeft")||this.isDirty("paddingRight"))&&this.children.each(t=>{t.markDirtyPosition()}),this.isDirty("maskContent")){let t=this._childrenDisplay,e=this._contentMask;this.get("maskContent")?e||(e=xt.new(this._root,{x:-.5,y:-.5,width:this.width()+1,height:this.height()+1}),this._contentMask=e,t.addChildAt(e._display,0),t.mask=e._display):e&&(t.removeChild(e._display),t.mask=null,e.dispose(),this._contentMask=void 0)}}_updateSize(){super._updateSize(),y(this._percentageSizeChildren,t=>{t._updateSize()}),y(this._percentagePositionChildren,t=>{t.markDirtyPosition(),t._updateSize()}),this.updateBackground()}updateBackground(){let t=this.get("background"),e=this._localBounds;if(e&&!this.isHidden()){let i=e.left,n=e.top,s=e.right-i,r=e.bottom-n,o=this.get("maxWidth"),h=this.get("maxHeight");h&&r>h&&(r=h),o&&s>o&&(s=o);let l=this.width(),d=this.height();t&&(t.setAll({width:s,height:r,x:i,y:n}),this._display.interactive&&(t._display.interactive=!0));let u=this._contentMask;u&&u.setAll({width:l+1,height:d+1});let p=this.get("verticalScrollbar");if(p){p.set("height",d),p.set("x",l-p.width()-p.get("marginRight",0)),p.set("end",p.get("start",0)+d/this._contentHeight);let c=p.get("background");c&&c.setAll({width:p.width(),height:d});let m=!0;this._contentHeight<=d&&(m=!1),p.setPrivate("visible",m)}}}_applyThemes(t=!1){return super._applyThemes(t)?(this.eachChildren(e=>{e._applyThemes(t)}),!0):!1}_applyState(t){super._applyState(t),this.get("setStateOnChildren")&&this.eachChildren(e=>{e.states.apply(t)})}_applyStateAnimated(t,e){super._applyStateAnimated(t,e),this.get("setStateOnChildren")&&this.eachChildren(i=>{i.states.applyAnimate(t,e)})}innerWidth(){return this.width()-this.get("paddingRight",0)-this.get("paddingLeft",0)}innerHeight(){return this.height()-this.get("paddingTop",0)-this.get("paddingBottom",0)}_getBounds(){if(this.get("html")){let t=this._localBounds;t&&(this._contentWidth=t.right-t.left,this._contentHeight=t.bottom-t.top)}else{let t=this.get("width"),e=this.get("height"),i=this.getPrivate("width"),n=this.getPrivate("height"),s={left:0,top:0,right:this.width(),bottom:this.height()},r=this.get("layout"),o=!1,h=!1;if((r instanceof bt||r instanceof st)&&(o=!0),r instanceof Dt&&(h=!0),!((t!=null||i!=null)&&(e!=null||n!=null)&&!this.get("verticalScrollbar"))){let l=Number.MAX_VALUE,d=l,u=-l,p=l,c=-l,m=this.get("paddingLeft",0),g=this.get("paddingTop",0),b=this.get("paddingRight",0),v=this.get("paddingBottom",0);this.children.each(C=>{if(C.get("position")!="absolute"&&C.get("isMeasured")){let I=C.adjustedLocalBounds(),H=C.x(),z=C.y(),N=H+I.left,B=H+I.right,E=z+I.top,L=z+I.bottom;o&&(N-=C.get("marginLeft",0),B+=C.get("marginRight",0)),h&&(E-=C.get("marginTop",0),L+=C.get("marginBottom",0)),N<d&&(d=N),B>u&&(u=B),E<p&&(p=E),L>c&&(c=L)}}),d==l&&(d=0),u==-l&&(u=0),p==l&&(p=0),c==-l&&(c=0),s.left=d-m,s.top=p-g,s.right=u+b,s.bottom=c+v;let f=this.get("minWidth");w(f)&&f>0&&s.right-s.left<f&&(s.right>=f?s.left=s.right-f:s.right=s.left+f);let D=this.get("minHeight");w(D)&&D>0&&s.bottom-s.top<D&&(s.bottom>=D?s.top=s.bottom-D:s.bottom=s.top+D)}this._contentWidth=s.right-s.left,this._contentHeight=s.bottom-s.top,w(t)&&(s.left=0,s.right=t),w(i)&&(s.left=0,s.right=i),w(e)&&(s.top=0,s.bottom=e),w(n)&&(s.top=0,s.bottom=n),this._localBounds=s}}_updateBounds(){let t=this.get("layout");t&&t.updateContainer(this),super._updateBounds(),this.updateBackground()}markDirty(){super.markDirty(),this._root._addDirtyParent(this)}_prepareChildren(){this._childrenPrep=!0;let t=this.innerWidth(),e=this.innerHeight();if(t!=this._prevWidth||e!=this._prevHeight){let i=this.get("layout"),n=!1,s=!1;i&&((i instanceof bt||i instanceof st)&&(n=!0),i instanceof Dt&&(s=!0)),y(this._percentageSizeChildren,r=>{if(!n){let o=r.get("width");o instanceof A&&r.setPrivate("width",o.value*t)}if(!s){let o=r.get("height");o instanceof A&&r.setPrivate("height",o.value*e)}}),y(this._percentagePositionChildren,r=>{r.markDirtyPosition(),r.markDirtyBounds()}),this._prevWidth=t,this._prevHeight=e,this._sizeDirty=!0,this.updateBackground()}}_updateHTMLContent(){let t=this.get("html","");t&&t!==""?this._root._setHTMLContent(this,Wt(this,t)):this._root._removeHTMLContent(this),this._root._positionHTMLElement(this)}scrollToChild(t){let e=this.get("verticalScrollbar");if(e){let i=t.y(),n=this.innerHeight(),s=t.height(),r=this._contentHeight,o=1-(n-s/2)/r;if(i+s*.7+this._childrenDisplay.y>n||i-s*.3+this._childrenDisplay.y<0){let h=Math.max(0,Math.min(o,(i-s/2)/r));e.animate({key:"start",to:h,duration:e.get("animationDuration",0),easing:e.get("animationEasing")})}}}_updateChildren(){if(this._childrenUpdt=!0,this.isDirty("html")&&this._updateHTMLContent(),this.isDirty("verticalScrollbar")){let t=this.get("verticalScrollbar");if(t){t._setParent(this),t.startGrip.setPrivate("visible",!1),t.endGrip.setPrivate("visible",!1),this.set("maskContent",!0),this.set("paddingRight",t.width()+t.get("marginRight",0)+t.get("marginLeft",0));let e=this.get("background");e||(e=this.set("background",xt.new(this._root,{themeTags:["background"],fillOpacity:0,fill:this._root.interfaceColors.get("alternativeBackground")}))),this._vsbd0=this.events.on("wheel",i=>{let n=i.originalEvent;if(xi(n,this))n.preventDefault();else return;let s=n.deltaY/5e3,r=t.get("start",0),o=t.get("end",1);r+s<=0&&(s=-r),o+s>=1&&(s=1-o),r+s>=0&&o+s<=1&&(t.set("start",r+s),t.set("end",o+s))}),this._disposers.push(this._vsbd0),this._vsbd1=t.events.on("rangechanged",()=>{let i=this._contentHeight,n=this._childrenDisplay,s=this._contentMask;n.y=-t.get("start",0)*i,n.markDirtyLayer(),s&&(s._display.y=-n.y,n.mask=s._display)}),this._disposers.push(this._vsbd1),this._display.addChild(t._display)}else{let e=this._prevSettings.verticalScrollbar;if(e){this._display.removeChild(e._display),this._vsbd0&&this._vsbd0.dispose(),this._vsbd1&&this._vsbd1.dispose();let i=this._childrenDisplay;i.y=0,this.setPrivate("height",void 0),this.set("maskContent",!1),this.set("paddingRight",void 0)}}}if(this.isDirty("background")){let t=this._prevSettings.background;t&&this._display.removeChild(t._display);let e=this.get("background");e instanceof F&&(e.set("isMeasured",!1),e._setParent(this),this._display.addChildAt(e._display,0))}if(this.isDirty("mask")){let t=this.get("mask"),e=this._prevSettings.mask;if(e&&(this._display.removeChild(e._display),e!=t&&e.dispose()),t){let i=t.parent;i&&i.children.removeValue(t),t._setParent(this),this._display.addChildAt(t._display,0),this._childrenDisplay.mask=t._display}}}_processTemplateField(){super._processTemplateField(),this.children.each(t=>{t._processTemplateField()})}walkChildren(t){this.children.each((e,i)=>{e instanceof a&&e.walkChildren(t),t(e,i)})}eachChildren(t){let e=this.get("background");e&&t(e);let i=this.get("verticalScrollbar");i&&t(i);let n=this.get("mask");n&&t(n),this.children.values.forEach(s=>{t(s)})}allChildren(){let t=[];return this.eachChildren(e=>{t.push(e)}),t}_setDataItem(t){let e=t!==this._dataItem;super._setDataItem(t);let i=this.get("html","");i&&i!==""&&e&&this._root._setHTMLContent(this,Wt(this,i))}contentWidth(){return this._contentWidth}contentHeight(){return this._contentHeight}};M.className="Container";M.classNames=F.classNames.concat([M.className]);var rt=class extends F{constructor(){super(...arguments),this.textStyle=this._root._renderer.makeTextStyle(),this._display=this._root._renderer.makeText("",this.textStyle),this._textStyles=["textAlign","fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","shadowOpacity","lineHeight","baselineRatio","direction","textBaseline","oversizedBehavior","breakWords","ellipsis","minScale","maxChars"]}_updateBounds(){if(this.get("text")){super._updateBounds();let t=this.get("fillGradient");t&&(this._display.style.fill=t.getFill(this))}else{let t={left:0,right:0,top:0,bottom:0};this._adjustedLocalBounds=t}}_changed(){super._changed(),this._display.clear();let t=this.textStyle;if(this.isDirty("opacity")){let e=this.get("opacity",1);this._display.alpha=e}if((this.isDirty("text")||this.isDirty("populateText"))&&(this._display.text=this._getText(),this.markDirtyBounds(),this.get("role")=="tooltip"&&this._root.updateTooltip(this)),this.isPrivateDirty("tooltipElement")&&this.getPrivate("tooltipElement")&&this._disposers.push(new ct(()=>{this._root._removeTooltipElement(this)})),this.isDirty("width")&&(t.wordWrapWidth=this.width(),this.markDirtyBounds()),this.isDirty("oversizedBehavior")&&(t.oversizedBehavior=this.get("oversizedBehavior","none"),this._display.invalidateVisibility(),this.markDirtyBounds()),this.isDirty("breakWords")&&(t.breakWords=this.get("breakWords",!1),this.markDirtyBounds()),this.isDirty("ellipsis")&&(t.ellipsis=this.get("ellipsis"),this.markDirtyBounds()),this.isDirty("ignoreFormatting")&&(t.ignoreFormatting=this.get("ignoreFormatting",!1),this.markDirtyBounds()),this.isDirty("minScale")&&(t.minScale=this.get("minScale",0),this.markDirtyBounds()),this.isDirty("fill")||this.isDirty("fillGradient")){let e=this.get("fill"),i=this.get("fillGradient"),n=this.get("fillOpacity");if(i){if(e){let s=i.get("stops",[]);s.length&&y(s,r=>{(!r.color||r.colorInherited)&&e&&(r.color=e,r.colorInherited=!0),(r.opacity==null||r.opacityInherited)&&(r.opacity=n,r.opacityInherited=!0)})}t.fill=i.getFill(this)}else e&&(t.fill=e)}if(this.isDirty("fillOpacity")){let e=this.get("fillOpacity",1);e&&(t.fillOpacity=e)}(this.isDirty("maxWidth")||this.isPrivateDirty("maxWidth"))&&(t.maxWidth=this.get("maxWidth",this.getPrivate("maxWidth")),this.markDirtyBounds()),(this.isDirty("maxHeight")||this.isPrivateDirty("maxHeight"))&&(t.maxHeight=this.get("maxHeight",this.getPrivate("maxHeight")),this.markDirtyBounds()),y(this._textStyles,e=>{this._dirty[e]&&(t[e]=this.get(e),this.markDirtyBounds())}),t.fontSize=this.get("fontSize"),t.fontFamily=this.get("fontFamily"),this._display.style=t,this.isDirty("role")&&this.get("role")=="tooltip"&&this._root.updateTooltip(this)}_getText(){let t=this.get("text","");return this.get("maxChars")&&(t=Di(t,this.get("maxChars",1e8),this.get("breakWords"),this.get("ellipsis"))),this.get("populateText")?Wt(this,t):t}_getAccessibleText(){let t=this.get("ariaLabel");return t!==void 0?this.get("populateText")?Wt(this,t):t:this._getText()}markDirtyText(){this._display.text=this._getText(),this.get("role")=="tooltip"&&this._root.updateTooltip(this),this.markDirtyBounds(),this.markDirty()}_setDataItem(t){super._setDataItem(t),this.get("populateText")&&this.markDirtyText()}getNumberFormatter(){return this.parent?this.parent.getNumberFormatter():super.getNumberFormatter()}getDateFormatter(){return this.parent?this.parent.getDateFormatter():super.getDateFormatter()}getDurationFormatter(){return this.parent?this.parent.getDurationFormatter():super.getDurationFormatter()}};rt.className="Text";rt.classNames=F.classNames.concat([rt.className]);var K=class extends M{constructor(){super(...arguments),this._textKeys=["text","fill","fillGradient","fillOpacity","textAlign","fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","shadowOpacity","lineHeight","baselineRatio","direction","textBaseline","oversizedBehavior","breakWords","ellipsis","minScale","populateText","role","ignoreFormatting","maxChars","ariaLabel"]}get text(){return this._text}_afterNew(){super._afterNew(),this._makeText(),y(this._textKeys,t=>{let e=this.get(t);e!=null&&this._text.set(t,e)}),this.get("html","")!==""&&this._text.set("text",""),this.onPrivate("maxWidth",()=>{this._setMaxDimentions()}),this.onPrivate("maxHeight",()=>{this._setMaxDimentions()})}_makeText(){this._text=this.children.push(rt.new(this._root,{}))}_updateChildren(){super._updateChildren();let t=this._text;if(y(this._textKeys,i=>{this._text.set(i,this.get(i))}),(this.isDirty("maxWidth")||this.isDirty("maxHeight")||this.isDirty("rotation"))&&this._setMaxDimentions(),this.get("html","")!==""?t.set("text",""):(t.set("text",this.get("text")),this._maybeUpdateHTMLColor()),(this.isDirty("fill")||this.isDirty("fillGradient"))&&this._maybeUpdateHTMLColor(),this.isDirty("textAlign")||this.isDirty("width")){let i=this.get("textAlign"),n;this.get("width")!=null?i=="right"?n=R:i=="center"?n=k:n=0:i=="left"||i=="start"?n=this.get("paddingLeft",0):(i=="right"||i=="end")&&(n=-this.get("paddingRight",0)),t.set("x",n)}let e=this.get("background");e&&e.setPrivate("visible",t._display.textVisible)}_maybeUpdateHTMLColor(){let t=this.getPrivate("htmlElement");t&&this.get("fill")&&(t.style.color=this.get("fill").toCSSHex())}_setMaxDimentions(){let t=this.get("rotation"),e=t==90||t==270||t==-90,i=this._text,n=this.get("maxWidth",this.getPrivate("maxWidth",1/0));w(n)?i.set(e?"maxHeight":"maxWidth",n-this.get("paddingTop",0)-this.get("paddingBottom",0)):i.set(e?"maxHeight":"maxWidth",void 0);let s=this.get("maxHeight",this.getPrivate("maxHeight",1/0));w(s)?i.set(e?"maxWidth":"maxHeight",s-this.get("paddingLeft",0)-this.get("paddingRight",0)):i.set(e?"maxWidth":"maxHeight",void 0),this.root.events.once("frameended",()=>{i.markDirtyBounds()})}_setDataItem(t){super._setDataItem(t),this._markDirtyKey("text"),this._markDirtyKey("html");let e=this._text;e.get("populateText")&&e.markDirtyText();let i=this.get("html");i&&i!==""&&this._updateHTMLContent()}getText(){return this._text._getText()}getAccessibleText(){return this._text._getAccessibleText()}};K.className="Label";K.classNames=M.classNames.concat([K.className]);var Te=class extends lt{incrementRef(){}decrementRef(){}_onPush(t){this.processor&&this.processor.processRow(t),super._onPush(t)}_onInsertIndex(t,e){this.processor&&this.processor.processRow(e),super._onInsertIndex(t,e)}_onSetIndex(t,e,i){this.processor&&this.processor.processRow(i),super._onSetIndex(t,e,i)}},Bi=class{constructor(t){this._value=t}incrementRef(){}decrementRef(){}};var Zt=class extends Yt{constructor(t,e,i){super(i),this.dataContext=e,this.component=t,this._settings.visible=!0,this._checkDirty()}markDirty(){this.component.markDirtyValues(this)}_startAnimation(){this.component._root._addAnimation(this)}_animationTime(){return this.component._root.animationTime}_dispose(){this.component&&this.component.disposeDataItem(this),super._dispose()}show(t){this.setRaw("visible",!0),this.component&&this.component.showDataItem(this,t)}hide(t){this.setRaw("visible",!1),this.component&&this.component.hideDataItem(this,t)}isHidden(){return!this.get("visible")}},Tt=class extends M{constructor(){super(...arguments),this._data=new Te,this._dataItems=[],this._mainDataItems=this._dataItems,this.valueFields=[],this.fields=["id"],this._valuesDirty=!1,this._dataChanged=!1,this._dataGrouped=!1,this.inited=!1}set data(t){t.incrementRef(),this._data.decrementRef(),this._data=t}get data(){return this._data}_dispose(){super._dispose(),this._data.decrementRef()}_onDataClear(){}_afterNew(){super._afterNew(),this._data.incrementRef(),this._updateFields(),this._disposers.push(this.data.events.onAll(t=>{let e=this._mainDataItems;if(this.markDirtyValues(),this._markDirtyGroup(),this._dataChanged=!0,t.type==="clear")y(e,i=>{i.dispose()}),e.length=0,this._onDataClear();else if(t.type==="push"){let i=new Zt(this,t.newValue,this._makeDataItem(t.newValue));e.push(i),this.processDataItem(i)}else if(t.type==="setIndex"){let i=e[t.index],n=this._makeDataItem(t.newValue);i.bullets&&i.bullets.length==0&&(i.bullets=void 0),Nt(n).forEach(([s,r])=>{i.get(s)!=r&&i.animate({key:s,to:r,duration:this.get("interpolationDuration",0),easing:this.get("interpolationEasing")})}),i.dataContext=t.newValue}else if(t.type==="insertIndex"){let i=new Zt(this,t.newValue,this._makeDataItem(t.newValue));e.splice(t.index,0,i),this.processDataItem(i)}else if(t.type==="removeIndex")e[t.index].dispose(),e.splice(t.index,1);else if(t.type==="moveIndex"){let i=e[t.oldIndex];e.splice(t.oldIndex,1),e.splice(t.newIndex,0,i)}else throw new Error("Unknown IStreamEvent type");this._afterDataChange()}))}_postUpdateData(){}updateData(t){let e=0;y(t,(i,n)=>{let s=this.dataItems[n];if(!s)this.data.push(i);else{let r=s.dataContext;r&&Nt(i).forEach(([h,l])=>{r[h]=l});let o=this._makeDataItem(r);Nt(o).forEach(([h,l])=>{var d;if(s.get(h)!=l){s.set(h,l);let u=(d=this._valueFieldsF[h])===null||d===void 0?void 0:d.workingKey;u&&s.set(u,l)}})}e=n});for(let i=this.dataItems.length-1;i>e;i--){let n=this.dataItems[i];oe(this.dataItems,n),n.dispose()}this._postUpdateData()}_updateFields(){this.valueFields&&(this._valueFields=[],this._valueFieldsF={},y(this.valueFields,t=>{this.get(t+"Field")&&(this._valueFields.push(t),this._valueFieldsF[t]={fieldKey:t+"Field",workingKey:t+"Working"})})),this.fields&&(this._fields=[],this._fieldsF={},y(this.fields,t=>{this.get(t+"Field")&&(this._fields.push(t),this._fieldsF[t]=t+"Field")}))}get dataItems(){return this._dataItems}processDataItem(t){}_makeDataItem(t){let e={};return this._valueFields&&y(this._valueFields,i=>{let n=this.get(this._valueFieldsF[i].fieldKey);e[i]=t[n],e[this._valueFieldsF[i].workingKey]=e[i]}),this._fields&&y(this._fields,i=>{let n=this.get(this._fieldsF[i]);e[i]=t[n]}),e}makeDataItem(t,e){let i=new Zt(this,e,t);return this.processDataItem(i),i}pushDataItem(t,e){let i=this.makeDataItem(t,e);return this._mainDataItems.push(i),i}disposeDataItem(t){}showDataItem(t,e){return Y(this,void 0,void 0,function*(){t.set("visible",!0)})}hideDataItem(t,e){return Y(this,void 0,void 0,function*(){t.set("visible",!1)})}_clearDirty(){super._clearDirty(),this._valuesDirty=!1}_afterDataChange(){}_afterChanged(){if(super._afterChanged(),this._dataChanged){let t="datavalidated";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this}),this._dataChanged=!1}if(this._valuesDirty){let t="valueschanged";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this})}this.inited=!0}markDirtyValues(t){this.markDirty(),this._valuesDirty=!0}_markDirtyGroup(){this._dataGrouped=!1}markDirtySize(){this._sizeDirty=!0,this.markDirty()}getDataItemById(t){return he(this.dataItems,e=>e.get("id")==t)}};Tt.className="Component";Tt.classNames=M.classNames.concat([Tt.className]);var Oi={};He(Oi,{add:()=>Ns,checkChange:()=>Hi,chooseInterval:()=>Ni,copy:()=>Hs,getDateIntervalDuration:()=>Ms,getDuration:()=>tt,getIntervalDuration:()=>Mi,getNextUnit:()=>Li,getTime:()=>Es,getUnitValue:()=>Fs,now:()=>Ei,roun:()=>Os,round:()=>Bt,sleep:()=>si,timeUnitDurations:()=>we});function si(a){return new Promise((t,e)=>{setTimeout(t,a)})}var we={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:365.242/12*864e5,year:31536e6};function Li(a){switch(a){case"year":return;case"month":return"year";case"week":return"month";case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function tt(a,t){return t==null&&(t=1),we[a]*t}function Mi(a){return a?we[a.timeUnit]*a.count:0}function Ms(a,t,e,i,n){let s=a.timeUnit,r=a.count;if(s=="hour"||s=="minute"||s=="second"||s=="millisecond")return we[a.timeUnit]*a.count;{let o=Bt(new Date(t.getTime()),s,r,e,i,void 0,n).getTime(),h=o+r*tt(s)*1.05;return h=Bt(new Date(h),s,1,e,i,void 0,n).getTime(),h-o}}function Ei(){return new Date}function Es(){return Ei().getTime()}function Hs(a){return new Date(a.getTime())}function Hi(a,t,e,i,n){if(t-a>tt(e,1.2))return!0;let s=new Date(a),r=new Date(t);n&&(s=n.convertLocal(s),r=n.convertLocal(r));let o=0,h=0;!i&&e!="millisecond"&&(o=s.getTimezoneOffset(),s.setUTCMinutes(s.getUTCMinutes()-o),h=r.getTimezoneOffset(),r.setUTCMinutes(r.getUTCMinutes()-h));let l=!1;switch(e){case"year":s.getUTCFullYear()!=r.getUTCFullYear()&&(l=!0);break;case"month":(s.getUTCFullYear()!=r.getUTCFullYear()||s.getUTCMonth()!=r.getUTCMonth())&&(l=!0);break;case"day":(s.getUTCMonth()!=r.getUTCMonth()||s.getUTCDate()!=r.getUTCDate())&&(l=!0);break;case"hour":s.getUTCHours()!=r.getUTCHours()&&(l=!0);break;case"minute":s.getUTCMinutes()!=r.getUTCMinutes()&&(l=!0);break;case"second":s.getUTCSeconds()!=r.getUTCSeconds()&&(l=!0);break;case"millisecond":s.getTime()!=r.getTime()&&(l=!0);break}if(l)return l;let d=Li(e);return d?Hi(a,t,d,i,n):!1}function Ns(a,t,e,i,n){let s=0;switch(!i&&t!="millisecond"&&(s=a.getTimezoneOffset(),n&&(s-=n.offsetUTC(a)),a.setUTCMinutes(a.getUTCMinutes()-s)),t){case"day":let r=a.getUTCDate();a.setUTCDate(r+e);break;case"second":let o=a.getUTCSeconds();a.setUTCSeconds(o+e);break;case"millisecond":let h=a.getUTCMilliseconds();a.setUTCMilliseconds(h+e);break;case"hour":let l=a.getUTCHours();a.setUTCHours(l+e);break;case"minute":let d=a.getUTCMinutes();a.setUTCMinutes(d+e);break;case"year":let u=a.getUTCFullYear();a.setUTCFullYear(u+e);break;case"month":let p=a.getUTCDate(),c=new Date(a.getUTCFullYear(),a.getUTCMonth(),0).getUTCDate(),m=a.getUTCMonth();p>c?a.setUTCMonth(m+e,c):a.setUTCMonth(m+e);break;case"week":let g=a.getUTCDate();a.setUTCDate(g+e*7);break}if(!i&&t!="millisecond"&&(a.setUTCMinutes(a.getUTCMinutes()+s),t=="day"||t=="week"||t=="month"||t=="year")){let r=a.getTimezoneOffset();if(n&&(r+=n.offsetUTC(a)),r!=s){let o=r-s;a.setUTCMinutes(a.getUTCMinutes()+o),a.getTimezoneOffset()!=r&&a.setUTCMinutes(a.getUTCMinutes()-o)}}return a}function Os(a,t,e,i,n){let s;return n!=null&&(s=new Date(n)),Bt(new Date(a),t,e,i.locale.firstDayOfWeek,i.utc,s,i.timezone).getTime()}function Bt(a,t,e,i,n,s,r){if(!r||n){let o=0;switch(!n&&t!="millisecond"&&(o=a.getTimezoneOffset(),a.setUTCMinutes(a.getUTCMinutes()-o)),t){case"day":let h=a.getUTCDate();if(e>1){if(s){s=Bt(s,"day",1);let v=a.getTime()-s.getTime(),f=Math.floor(v/tt("day")/e),D=tt("day",f*e);a.setTime(s.getTime()+D-o*tt("minute"))}}else a.setUTCDate(h);a.setUTCHours(0,0,0,0);break;case"second":let l=a.getUTCSeconds();e>1&&(l=Math.floor(l/e)*e),a.setUTCSeconds(l,0);break;case"millisecond":if(e==1)return a;let d=a.getUTCMilliseconds();d=Math.floor(d/e)*e,a.setUTCMilliseconds(d);break;case"hour":let u=a.getUTCHours();e>1&&(u=Math.floor(u/e)*e),a.setUTCHours(u,0,0,0);break;case"minute":let p=a.getUTCMinutes();e>1&&(p=Math.floor(p/e)*e),a.setUTCMinutes(p,0,0);break;case"month":let c=a.getUTCMonth();e>1&&(e==2||e==3||e==4||e==6)&&(c=Math.floor(c/e)*e),a.setUTCMonth(c,1),a.setUTCHours(0,0,0,0);break;case"year":let m=a.getUTCFullYear();e>1&&(m=Math.floor(m/e)*e),a.setUTCFullYear(m,0,1),a.setUTCHours(0,0,0,0);break;case"week":if(e>1&&s){s=Bt(s,"week",1);let v=a.getTime()-s.getTime(),f=Math.floor(v/tt("week")/e),D=tt("week",f*e);a.setTime(s.getTime()+D-o*tt("minute"))}let g=a.getUTCDate(),b=a.getUTCDay();w(i)||(i=1),b>=i?g=g-b+i:g=g-(7+b)+i,a.setUTCDate(g),a.setUTCHours(0,0,0,0);break}if(!n&&t!="millisecond"&&(a.setUTCMinutes(a.getUTCMinutes()+o),t=="day"||t=="week"||t=="month"||t=="year")){let h=a.getTimezoneOffset();if(h!=o){let l=h-o;a.setUTCMinutes(a.getUTCMinutes()+l)}}return a}else{if(isNaN(a.getTime()))return a;let o=a.getTime(),h=r.offsetUTC(a),l=a.getTimezoneOffset(),d=r.parseDate(a),u=d.year,p=d.month,c=d.day,m=d.hour,g=d.minute,b=d.second,v=d.millisecond,f=d.weekday,D=h-l;switch(t){case"day":if(e>1&&s){s=Bt(s,"day",1,i,n,void 0,r);let B=a.getTime()-s.getTime(),E=Math.floor(B/tt("day")/e),L=tt("day",E*e);a.setTime(s.getTime()+L),d=r.parseDate(a),u=d.year,p=d.month,c=d.day}m=0,g=D,b=0,v=0;break;case"second":g+=D,e>1&&(b=Math.floor(b/e)*e),v=0;break;case"millisecond":g+=D,e>1&&(v=Math.floor(v/e)*e);break;case"hour":e>1&&(m=Math.floor(m/e)*e),g=D,b=0,v=0;break;case"minute":e>1&&(g=Math.floor(g/e)*e),g+=D,b=0,v=0;break;case"month":e>1&&(p=Math.floor(p/e)*e),c=1,m=0,g=D,b=0,v=0;break;case"year":e>1&&(u=Math.floor(u/e)*e),p=0,c=1,m=0,g=D,b=0,v=0;break;case"week":w(i)||(i=1),f>=i?c=c-f+i:c=c-(7+f)+i,m=0,g=D,b=0,v=0;break}a=new Date(u,p,c,m,g,b,v);let C=a.getTime(),I=36e5;t=="hour"&&(I=36e5*e),C+I<=o&&(t=="hour"||t=="minute"||t=="second"||t=="millisecond")&&(a=new Date(C+I));let H=a.getTimezoneOffset(),N=r.offsetUTC(a)-H;return N!=D&&a.setTime(a.getTime()+(N-D)*6e4),a}}function Ni(a,t,e,i){let n=i[a],s=Mi(n),r=i.length-1;if(a>=r)return Object.assign({},i[r]);let o=Math.ceil(t/s);return t<s&&a>0?Object.assign({},i[a-1]):o<=e?Object.assign({},i[a]):a+1<i.length?Ni(a+1,t,e,i):Object.assign({},i[a])}function Fs(a,t){switch(t){case"day":return a.getDate();case"second":return a.getSeconds();case"millisecond":return a.getMilliseconds();case"hour":return a.getHours();case"minute":return a.getMinutes();case"month":return a.getMonth();case"year":return a.getFullYear();case"week":return wi(a)}}var qt=class extends Tt{constructor(){super(...arguments),this._aggregatesCalculated=!1,this._selectionAggregatesCalculated=!1,this._dataProcessed=!1,this._baseSeriesDirty=!1,this.bullets=new lt,this.bulletsContainer=M.new(this._root,{width:R,height:R,position:"absolute"})}_afterNew(){this.valueFields.push("value","customValue"),super._afterNew(),this.setPrivate("customData",{}),this._disposers.push(this.bullets.events.onAll(()=>{this._handleBullets(this.dataItems)}))}_dispose(){this.bulletsContainer.dispose(),super._dispose()}startIndex(){let t=this.dataItems.length;return Math.min(this.getPrivate("startIndex",0),t)}endIndex(){let t=this.dataItems.length;return Math.max(0,Math.min(this.getPrivate("endIndex",t),t))}_handleBullets(t){y(t,e=>{let i=e.bullets;i&&(y(i,n=>{n.dispose()}),e.bullets=void 0)}),this.markDirtyValues()}_makeBullets(t){this._shouldMakeBullet(t)&&(t.bullets=[],this.bullets.each(e=>{this._makeBullet(t,e)}))}_shouldMakeBullet(t){return!0}_makeBullet(t,e,i){let n=e(this._root,this,t);return n&&(n._index=i,this._makeBulletReal(t,n)),n}_makeBulletReal(t,e){let i=e.get("sprite");i&&(i._setDataItem(t),i.setRaw("position","absolute"),this.bulletsContainer.children.push(i)),e.series=this,t.bullets.push(e)}addBullet(t,e){t.bullets||(t.bullets=[]),e&&this._makeBulletReal(t,e)}_clearDirty(){super._clearDirty(),this._aggregatesCalculated=!1,this._baseSeriesDirty=!1,this._selectionAggregatesCalculated=!1}_prepareChildren(){super._prepareChildren();let t=this.dataItems,e=t.length,i=this.startIndex(),n=this.endIndex();if(this.isDirty("name")&&this.updateLegendValue(),this.isDirty("heatRules")&&(this._valuesDirty=!0),this.isPrivateDirty("baseValueSeries")){let r=this.getPrivate("baseValueSeries");r&&this._disposers.push(r.onPrivate("startIndex",()=>{this._baseSeriesDirty=!0,this.markDirtyValues()}))}if(this.get("calculateAggregates")&&(this._valuesDirty&&!this._dataProcessed&&(this._aggregatesCalculated||(this._calculateAggregates(0,e),this._aggregatesCalculated=!0,i!=0&&(this._psi=void 0))),(this._psi!=i||this._pei!=n||this.isPrivateDirty("adjustedStartIndex"))&&!this._selectionAggregatesCalculated&&(i===0&&n===e&&this._aggregatesCalculated||this._calculateAggregates(i,n),this._selectionAggregatesCalculated=!0)),this.isDirty("tooltip")){let r=this.get("tooltip");r&&(r.hide(0),r.set("tooltipTarget",this))}if(this.isDirty("fill")||this.isDirty("stroke")){let r,o=this.get("legendDataItem");if(o&&(r=o.get("markerRectangle"),r&&this.isVisible())){if(this.isDirty("stroke")){let h=this.get("stroke");r.set("stroke",h)}if(this.isDirty("fill")){let h=this.get("fill");r.set("fill",h)}}this.updateLegendMarker(void 0)}if(this.bullets.length>0){let r=this.startIndex(),o=this.endIndex();o<e&&o++;for(let h=r;h<o;h++){let l=t[h];l.bullets||this._makeBullets(l)}}}_handleRemoved(){}_adjustStartIndex(t){return t}_calculateAggregates(t,e){let i=this._valueFields;if(!i)throw new Error("No value fields are set for the series.");let n=this.get("excludeFromAggregate");n&&(i=i.filter(b=>n.indexOf(b)==-1));let s={},r={},o={},h={},l={},d={},u={},p={},c={};for(let b=0,v=i.length;b<v;b++){let f=i[b];s[f]=0,r[f]=0,o[f]=0}let m=this.dataItems,g=m.length;for(let b=0,v=i.length;b<v;b++){let f=i[b],D=f+"Change",C=f+"ChangePercent",I=f+"ChangePrevious",H=f+"ChangePreviousPercent",z=f+"ChangeSelection",N=f+"ChangeSelectionPercent",B="valueY";(f==="valueX"||f.endsWith("ValueX"))&&(B="valueX");let E=this.getPrivate("baseValueSeries"),L=this.getPrivate("adjustedStartIndex",t),O=(_,T,S)=>{if(t===0){let nt=d[B],Rt=T-nt;_.setRaw(D,Rt),_.setRaw(C,Rt/nt*100)}let Ct=T-c[B],at=T-d[B];_.setRaw(I,Ct),_.setRaw(H,Ct/c[B]*100),_.setRaw(z,at),_.setRaw(N,at/d[B]*100),c[S]=T};for(let _=L;_<e;_++){let T=m[_];if(T){let S=T.get(f);if(S!=null){h[f]==null&&(h[f]=S),l[f]==null&&(l[f]=S),d[f]==null&&(d[f]=S,c[f]=S,E&&(d[B]=E._getBase(B)));break}}}for(let _=L;_<e;_++){let T=m[_];if(T){let S=T._settings[f];S!=null&&(o[f]++,s[f]+=S,r[f]+=Math.abs(S),h[f]>S&&(h[f]=S),l[f]<S&&(l[f]=S),u[f]=S,O(T,S,f))}}if(p[f]=s[f]/o[f],e<g){let _=m[e];if(_){let T=_.get(f);T!=null&&O(_,T,f)}}if(e+1<g){let _=m[e+1];if(_){let T=_.get(f);T!=null&&O(_,T,f)}}t>0&&t--,delete c[f];for(let _=t;_<L;_++){let T=m[_];if(T){let S=T.get(f);c[f]==null&&(c[f]=S),S!=null&&O(T,S,f)}}}for(let b=0,v=i.length;b<v;b++){let f=i[b];this.setPrivate(f+"AverageSelection",p[f]),this.setPrivate(f+"CountSelection",o[f]),this.setPrivate(f+"SumSelection",s[f]),this.setPrivate(f+"AbsoluteSumSelection",r[f]),this.setPrivate(f+"LowSelection",h[f]),this.setPrivate(f+"HighSelection",l[f]),this.setPrivate(f+"OpenSelection",d[f]),this.setPrivate(f+"CloseSelection",u[f])}if(t===0&&e===g)for(let b=0,v=i.length;b<v;b++){let f=i[b];this.setPrivate(f+"Average",p[f]),this.setPrivate(f+"Count",o[f]),this.setPrivate(f+"Sum",s[f]),this.setPrivate(f+"AbsoluteSum",r[f]),this.setPrivate(f+"Low",h[f]),this.setPrivate(f+"High",l[f]),this.setPrivate(f+"Open",d[f]),this.setPrivate(f+"Close",u[f])}}_updateChildren(){super._updateChildren(),this._psi=this.startIndex(),this._pei=this.endIndex(),this.isDirty("visible")&&this.bulletsContainer.set("visible",this.get("visible"));let t=this.get("heatRules");if(this._valuesDirty&&t&&t.length>0&&y(t,e=>{let i=e.minValue||this.getPrivate(e.dataField+"Low")||0,n=e.maxValue||this.getPrivate(e.dataField+"High")||0;y(e.target._entities,s=>{let r=s.dataItem.get(e.dataField);if(!w(r)){e.neutral&&s.set(e.key,e.neutral);let o=s.states;if(o){let h=o.lookup("default");h&&e.neutral&&h.set(e.key,e.neutral)}if(!e.customFunction)return}if(e.customFunction)e.customFunction.call(this,s,i,n,r);else{let o;e.logarithmic?o=(Math.log(r)*Math.LOG10E-Math.log(i)*Math.LOG10E)/(Math.log(n)*Math.LOG10E-Math.log(i)*Math.LOG10E):o=(r-i)/(n-i),w(r)&&(!w(o)||Math.abs(o)==1/0)&&(o=.5);let h;w(e.min)?h=e.min+(e.max-e.min)*o:e.min instanceof P?h=P.interpolate(o,e.min,e.max):e.min instanceof A&&(h=ki(o,e.min,e.max)),s.set(e.key,h);let l=s.states;if(l){let d=l.lookup("default");d&&d.set(e.key,h)}}})}),this.get("visible")){let e=this.dataItems,i=e.length,n=this.startIndex(),s=this.endIndex();s<i&&s++,n>0&&n--;for(let r=0;r<n;r++)this._hideBullets(e[r]);for(let r=n;r<s;r++)this._positionBullets(e[r]);for(let r=s;r<i;r++)this._hideBullets(e[r])}}_positionBullets(t){t.bullets&&y(t.bullets,e=>{this._positionBullet(e);let i=e.get("sprite");e.get("dynamic")&&(i&&(i._markDirtyKey("fill"),i.markDirtySize()),i instanceof M&&i.walkChildren(n=>{n._markDirtyKey("fill"),n.markDirtySize(),n instanceof K&&n.text.markDirtyText()})),i instanceof K&&i.get("populateText")&&i.text.markDirtyText()})}_hideBullets(t){t.bullets&&y(t.bullets,e=>{let i=e.get("sprite");i&&i.setPrivate("visible",!1)})}_positionBullet(t){}_placeBulletsContainer(t){t.bulletsContainer.children.moveValue(this.bulletsContainer)}_removeBulletsContainer(){let t=this.bulletsContainer;t.parent&&t.parent.children.removeValue(t)}disposeDataItem(t){let e=t.bullets;e&&(y(e,i=>{i.dispose()}),t.bullets=void 0)}_getItemReaderLabel(){return""}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return Y(this,void 0,void 0,function*(){let n=[i.showDataItem.call(this,t,e)],s=t.bullets;s&&y(s,r=>{let o=r.get("sprite");o&&n.push(o.show(e))}),yield Promise.all(n)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return Y(this,void 0,void 0,function*(){let n=[i.hideDataItem.call(this,t,e)],s=t.bullets;s&&y(s,r=>{let o=r.get("sprite");o&&n.push(o.hide(e))}),yield Promise.all(n)})}_sequencedShowHide(t,e){return Y(this,void 0,void 0,function*(){if(this.get("sequencedInterpolation"))if(w(e)||(e=this.get("interpolationDuration",0)),e>0){let i=this.startIndex(),n=this.endIndex();yield Promise.all(We(this.dataItems,(s,r)=>Y(this,void 0,void 0,function*(){let o=e||0;(r<i-10||r>n+10)&&(o=0);let h=this.get("sequencedDelay",0)+o/(n-i);yield si(h*(r-i)),t?yield this.showDataItem(s,o):yield this.hideDataItem(s,o)})))}else yield Promise.all(We(this.dataItems,i=>t?this.showDataItem(i,0):this.hideDataItem(i,0)))})}updateLegendValue(t){if(t){let e=t.get("legendDataItem");if(e){let i=e.get("valueLabel");if(i){let s=i.text,r="";i._setDataItem(t),r=this.get("legendValueText",s.get("text","")),i.set("text",r),s.markDirtyText()}let n=e.get("label");if(n){let s=n.text,r="";n._setDataItem(t),r=this.get("legendLabelText",s.get("text","")),n.set("text",r),s.markDirtyText()}}}}updateLegendMarker(t){}_onHide(){super._onHide();let t=this.getTooltip();t&&t.hide()}hoverDataItem(t){}unhoverDataItem(t){}_getBase(t){let e=this.dataItems[this.startIndex()];return e?e.get(t):0}};qt.className="Series";qt.classNames=Tt.classNames.concat([qt.className]);function ri(a,t){for(let e=0,i=t.length;e<i;e++){let n=t[e];if(n.length>0){let s=n[0];if(s.length>0){let r=s[0];a.moveTo(r.x,r.y);for(let o=0,h=n.length;o<h;o++)Us(a,n[o])}}}}function Us(a,t){for(let e=0,i=t.length;e<i;e++){let n=t[e];a.lineTo(n.x,n.y)}}var wt=class extends Q{_beforeChanged(){super._beforeChanged(),(this.isDirty("points")||this.isDirty("segments")||this._sizeDirty||this.isPrivateDirty("width")||this.isPrivateDirty("height"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){let t=this.get("points"),e=this.get("segments");if(t&&t.length>0){let i=t[0];this._display.moveTo(i.x,i.y),ri(this._display,[[t]])}else if(e)ri(this._display,e);else if(!this.get("draw")){let i=this.width(),n=this.height();this._display.moveTo(0,0),this._display.lineTo(i,n)}}}};wt.className="Line";wt.classNames=Q.classNames.concat([wt.className]);var Lt=class extends rt{constructor(){super(...arguments),this._display=this._root._renderer.makeRadialText("",this.textStyle)}_afterNew(){super._afterNew()}_beforeChanged(){super._beforeChanged(),this._display.clear(),this.isDirty("textType")&&(this._display.textType=this.get("textType"),this.markDirtyBounds()),this.isDirty("radius")&&(this._display.radius=this.get("radius"),this.markDirtyBounds()),this.isDirty("startAngle")&&(this._display.startAngle=(this.get("startAngle",0)+90)*$t,this.markDirtyBounds()),this.isDirty("inside")&&(this._display.inside=this.get("inside"),this.markDirtyBounds()),this.isDirty("orientation")&&(this._display.orientation=this.get("orientation"),this.markDirtyBounds()),this.isDirty("kerning")&&(this._display.kerning=this.get("kerning"),this.markDirtyBounds())}};Lt.className="RadialText";Lt.classNames=rt.classNames.concat([Lt.className]);var Jt=class extends K{constructor(){super(...arguments),this._flipped=!1}_afterNew(){this._textKeys.push("textType","kerning"),super._afterNew()}_makeText(){this._text=this.children.push(Lt.new(this._root,{}))}baseRadius(){let t=this.getPrivate("radius",0),e=this.getPrivate("innerRadius",0),i=this.get("baseRadius",0);return e+q(i,t-e)}radius(){let t=this.get("inside",!1);return this.baseRadius()+this.get("radius",0)*(t?-1:1)}_updateChildren(){if(super._updateChildren(),this.isDirty("baseRadius")||this.isPrivateDirty("radius")||this.isPrivateDirty("innerRadius")||this.isDirty("labelAngle")||this.isDirty("radius")||this.isDirty("inside")||this.isDirty("orientation")||this.isDirty("textType")){let t=this.get("textType","adjusted"),e=this.get("inside",!1),i=this.get("orientation"),n=gt(this.get("labelAngle",0));this._text.set("startAngle",this.get("labelAngle",0)),this._text.set("inside",e);let s=ht(n),r=dt(n),o=this.baseRadius(),h=this.radius();if(this._display.angle=0,t=="circular")this.setAll({paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}),this.setRaw("x",void 0),this.setRaw("y",void 0),this._text.set("orientation",i),this._text.set("radius",h);else{o==0&&(n=0,h=0);let l=h*r,d=h*s;t=="radial"?(this.setRaw("x",l),this.setRaw("y",d),n<90||n>270||i!="auto"?(this._display.angle=n,this._flipped=!1):(this._display.angle=n+180,this._flipped=!0),this._dirty.rotation=!1):t=="adjusted"?(this.setRaw("centerX",k),this.setRaw("centerY",k),this.setRaw("x",l),this.setRaw("y",d)):t=="regular"&&(this.setRaw("x",l),this.setRaw("y",d))}this.markDirtyPosition(),this.markDirtyBounds()}}_updatePosition(){let t=this.get("textType","regular"),e=this.get("inside",!1),i=0,n=0,s=this.get("labelAngle",0),r=this.localBounds(),o=r.right-r.left,h=r.bottom-r.top;if(t=="radial"){if(this._flipped){let l=this.get("centerX");l instanceof A&&(o=o*(1-l.value*2)),i=o*dt(s),n=o*ht(s)}}else!e&&t=="adjusted"&&(i=o/2*dt(s),n=h/2*ht(s));this.setRaw("dx",i),this.setRaw("dy",n),super._updatePosition()}get text(){return this._text}};Jt.className="RadialLabel";Jt.classNames=K.classNames.concat([Jt.className]);var Pt=class extends M{constructor(){super(...arguments),this.chartContainer=this.children.push(M.new(this._root,{width:R,height:R,interactiveChildren:!1})),this.bulletsContainer=M.new(this._root,{interactiveChildren:!1,isMeasured:!1,position:"absolute",width:R,height:R})}};Pt.className="Chart";Pt.classNames=M.classNames.concat([Pt.className]);var Qt=class extends Pt{constructor(){super(...arguments),this.seriesContainer=M.new(this._root,{width:R,height:R,isMeasured:!1}),this.series=new Kt}_afterNew(){super._afterNew(),this._disposers.push(this.series);let t=this.seriesContainer.children;this._disposers.push(this.series.events.onAll(e=>{if(e.type==="clear"){y(e.oldValues,s=>{this._removeSeries(s)});let i=this.get("colors");i&&i.reset();let n=this.get("patterns");n&&n.reset()}else if(e.type==="push")t.moveValue(e.newValue),this._processSeries(e.newValue);else if(e.type==="setIndex")t.setIndex(e.index,e.newValue),this._processSeries(e.newValue);else if(e.type==="insertIndex")t.insertIndex(e.index,e.newValue),this._processSeries(e.newValue);else if(e.type==="removeIndex")this._removeSeries(e.oldValue);else if(e.type==="moveIndex")t.moveValue(e.value,e.newIndex),this._processSeries(e.value);else if(e.type==="swap"){let i=e.a,n=e.b,s=this.series.indexOf(i),r=this.series.indexOf(n);t.moveValue(i,r),t.moveValue(n,s),this.series.each(o=>{this._processSeries(o),o.markDirtyValues()})}else throw new Error("Unknown IListEvent type")}))}_processSeries(t){t.chart=this,t._placeBulletsContainer(this)}_removeSeries(t){t._handleRemoved(),t.isDisposed()||(this.seriesContainer.children.removeValue(t),t._removeBulletsContainer())}};Qt.className="SerialChart";Qt.classNames=Pt.classNames.concat([Qt.className]);var te=class extends wt{};te.className="Tick";te.classNames=wt.classNames.concat([te.className]);var ee=class extends W{_afterNew(){super._afterNewApplyThemes(),this._dirty.colors=!1}_beforeChanged(){this.isDirty("colors")&&this.reset()}generateColors(){this.setPrivate("currentPass",this.getPrivate("currentPass",0)+1);let t=this.getPrivate("currentPass"),e=this.get("colors",[this.get("baseColor",P.fromHex(16711680))]);this.getPrivate("numColors")||this.setPrivate("numColors",e.length);let i=this.getPrivate("numColors"),n=0,s=this.get("passOptions"),r=this.get("reuse");for(let o=n;o<i;o++)if(r)e.push(e[o]);else{let h=e[o].toHSL(),l=h.h+(s.hue||0)*t;for(;l>1;)l-=1;let d=h.s+(s.saturation||0)*t;d>1&&(d=1),d<0&&(d=0);let u=h.l+(s.lightness||0)*t;for(;u>1;)u-=1;e.push(P.fromHSL(l,d,u))}}getIndex(t){let e=this.get("colors",[]),i=this.get("saturation");return t>=e.length?(this.generateColors(),this.getIndex(t)):i!=null?P.saturate(e[t],i):e[t]}next(){let t=this.getPrivate("currentStep",this.get("startIndex",0));return this.setPrivate("currentStep",t+this.get("step",1)),this.getIndex(t)}reset(){this.setPrivate("currentStep",this.get("startIndex",0)),this.setPrivate("currentPass",0)}};ee.className="ColorSet";ee.classNames=W.classNames.concat([ee.className]);function x(a,t,e,i){a.set(t,e.get(i)),e.on(i,n=>{a.set(t,n)})}var Fi=class extends Si{setupDefaultRules(){super.setupDefaultRules();let t=this._root.language,e=this._root.interfaceColors,i=this._root.horizontalLayout,n=this._root.verticalLayout,s=this.rule.bind(this);s("InterfaceColors").setAll({stroke:P.fromHex(15066597),fill:P.fromHex(15987699),primaryButton:P.fromHex(6788316),primaryButtonHover:P.fromHex(6779356),primaryButtonDown:P.fromHex(6872182),primaryButtonActive:P.fromHex(6872182),primaryButtonDisabled:P.fromHex(14342874),primaryButtonTextDisabled:P.fromHex(16777215),primaryButtonText:P.fromHex(16777215),primaryButtonStroke:P.fromHex(16777215),secondaryButton:P.fromHex(14277081),secondaryButtonHover:P.fromHex(10724259),secondaryButtonDown:P.fromHex(9276813),secondaryButtonActive:P.fromHex(15132390),secondaryButtonText:P.fromHex(0),secondaryButtonStroke:P.fromHex(16777215),grid:P.fromHex(0),background:P.fromHex(16777215),alternativeBackground:P.fromHex(0),text:P.fromHex(0),alternativeText:P.fromHex(16777215),disabled:P.fromHex(11382189),positive:P.fromHex(5288704),negative:P.fromHex(11730944)});{let r=s("ColorSet");r.setAll({passOptions:{hue:.05,saturation:0,lightness:0},colors:[P.fromHex(6797276)],step:1,reuse:!1,startIndex:0}),r.setPrivate("currentStep",0),r.setPrivate("currentPass",0)}s("Entity").setAll({stateAnimationDuration:0,stateAnimationEasing:_t(it)}),s("Component").setAll({interpolationDuration:0,interpolationEasing:_t(it)}),s("Sprite").setAll({visible:!0,scale:1,opacity:1,rotation:0,position:"relative",tooltipX:k,tooltipY:k,tooltipPosition:"fixed",isMeasured:!0}),s("Sprite").states.create("default",{visible:!0,opacity:1}),s("Container").setAll({interactiveChildren:!0,setStateOnChildren:!1}),s("Graphics").setAll({strokeWidth:1}),s("Chart").setAll({width:R,height:R,interactiveChildren:!1}),s("ZoomableContainer").setAll({width:R,height:R,wheelable:!0,pinchZoom:!0,maxZoomLevel:32,minZoomLevel:1,zoomStep:2,animationEasing:_t(it),animationDuration:600,maxPanOut:.4}),s("Sprite",["horizontal","center"]).setAll({centerX:k,x:k}),s("Sprite",["vertical","center"]).setAll({centerY:k,y:k}),s("Container",["horizontal","layout"]).setAll({layout:i}),s("Container",["vertical","layout"]).setAll({layout:n}),s("Pattern").setAll({repetition:"repeat",width:50,height:50,rotation:0,fillOpacity:1}),s("LinePattern").setAll({gap:6,colorOpacity:1,width:49,height:49}),s("RectanglePattern").setAll({gap:6,checkered:!1,centered:!0,maxWidth:5,maxHeight:5,width:48,height:48,strokeWidth:0}),s("CirclePattern").setAll({gap:5,checkered:!1,centered:!1,radius:3,strokeWidth:0,width:45,height:45}),s("GrainPattern").setAll({width:200,height:200,colors:[P.fromHex(0)],size:1,horizontalGap:0,verticalGap:0,density:1,minOpacity:0,maxOpacity:.2});{let r=s("PatternSet");r.setAll({step:1}),x(r,"color",e,"stroke")}s("LinearGradient").setAll({rotation:90}),s("Legend").setAll({fillField:"fill",strokeField:"stroke",nameField:"name",layout:st.new(this._root,{}),layer:30,clickTarget:"itemContainer"}),s("Container",["legend","item","itemcontainer"]).setAll({paddingLeft:5,paddingRight:5,paddingBottom:5,paddingTop:5,layout:i,setStateOnChildren:!0,interactiveChildren:!1,ariaChecked:!0,focusable:!0,ariaLabel:t.translate("Press ENTER to toggle"),role:"checkbox"});{let r=s("Rectangle",["legend","item","background"]);r.setAll({fillOpacity:0}),x(r,"fill",e,"background")}s("Container",["legend","marker"]).setAll({setStateOnChildren:!0,centerY:k,paddingLeft:0,paddingRight:0,paddingBottom:0,paddingTop:0,width:18,height:18}),s("RoundedRectangle",["legend","marker","rectangle"]).setAll({width:R,height:R,cornerRadiusBL:3,cornerRadiusTL:3,cornerRadiusBR:3,cornerRadiusTR:3});{let r=s("RoundedRectangle",["legend","marker","rectangle"]).states.create("disabled",{});x(r,"fill",e,"disabled"),x(r,"stroke",e,"disabled")}s("Label",["legend","label"]).setAll({centerY:k,marginLeft:5,paddingRight:0,paddingLeft:0,paddingTop:0,paddingBottom:0,populateText:!0});{let r=s("Label",["legend","label"]).states.create("disabled",{});x(r,"fill",e,"disabled")}s("Label",["legend","value","label"]).setAll({centerY:k,marginLeft:5,paddingRight:0,paddingLeft:0,paddingTop:0,paddingBottom:0,width:50,centerX:R,populateText:!0});{let r=s("Label",["legend","value","label"]).states.create("disabled",{});x(r,"fill",e,"disabled")}s("HeatLegend").setAll({stepCount:1}),s("RoundedRectangle",["heatlegend","marker"]).setAll({cornerRadiusTR:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusBL:0}),s("RoundedRectangle",["vertical","heatlegend","marker"]).setAll({height:R,width:15}),s("RoundedRectangle",["horizontal","heatlegend","marker"]).setAll({width:R,height:15}),s("HeatLegend",["vertical"]).setAll({height:R}),s("HeatLegend",["horizontal"]).setAll({width:R}),s("Label",["heatlegend","start"]).setAll({paddingLeft:5,paddingRight:5,paddingTop:5,paddingBottom:5}),s("Label",["heatlegend","end"]).setAll({paddingLeft:5,paddingRight:5,paddingTop:5,paddingBottom:5});{let r=s("Label");r.setAll({paddingTop:8,paddingBottom:8,paddingLeft:10,paddingRight:10,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontSize:"1em",populateText:!1}),x(r,"fill",e,"text")}s("RadialLabel").setAll({textType:"regular",centerY:k,centerX:k,inside:!1,radius:0,baseRadius:R,orientation:"auto",textAlign:"center"}),s("EditableLabel").setAll({editOn:"click",themeTags:["editablelabel"],multiLine:!0}),s("RoundedRectangle",["editablelabel","background"]).setAll({fillOpacity:0,fill:P.fromHex(0),cornerRadiusBL:3,cornerRadiusBR:3,cornerRadiusTL:3,cornerRadiusTR:3,strokeOpacity:0,stroke:P.fromHex(0)}),s("RoundedRectangle",["editablelabel","background"]).states.create("active",{strokeOpacity:.2}),s("RoundedRectangle").setAll({cornerRadiusTL:8,cornerRadiusBL:8,cornerRadiusTR:8,cornerRadiusBR:8}),s("PointedRectangle").setAll({pointerBaseWidth:15,pointerLength:10,cornerRadius:8}),s("Slice").setAll({shiftRadius:0,dRadius:0,dInnerRadius:0});{let r=s("Tick");r.setAll({strokeOpacity:.15,isMeasured:!1,length:4.5,position:"absolute",crisp:!0}),x(r,"stroke",e,"grid")}s("Bullet").setAll({locationX:.5,locationY:.5}),s("Tooltip").setAll({position:"absolute",getFillFromSprite:!0,getStrokeFromSprite:!1,autoTextColor:!0,paddingTop:9,paddingBottom:8,paddingLeft:10,paddingRight:10,marginBottom:5,pointerOrientation:"vertical",centerX:k,centerY:k,animationEasing:_t(it),exportable:!1}),s("Tooltip",["system"]).setAll({pointerOrientation:"horizontal",paddingTop:4,paddingRight:7,paddingBottom:4,paddingLeft:7});{let r=s("PointedRectangle",["tooltip","system","background"]);r.setAll({strokeOpacity:.3}),x(r,"fill",e,"background"),x(r,"stroke",e,"grid")}s("Label",["tooltip","system"]).setAll({fontSize:12,fill:e.get("background")}),s("Polygon").setAll({animationEasing:_t(it)}),s("Link").setAll({cornerRadius:8,setStateOnChildren:!0});{let r=s("OrthogonalLine",["link","line"]);r.setAll({isMeasured:!1,crisp:!0});let o=r.states.create("active",{strokeWidth:2});x(o,"stroke",e,"negative")}s("OrthogonalLine",["link","hit"]).setAll({strokeWidth:10,opacity:0,strokeOpacity:0});{let r=s("OrthogonalLine");r.setAll({strokeWidth:1,strokeOpacity:1,cornerRadius:10}),x(r,"stroke",e,"grid")}{let r=s("Triangle",["link"]);r.setAll({width:14,height:10,centerY:0}),x(r,"fill",e,"grid"),x(r,"stroke",e,"grid"),r.states.create("default",{stateAnimationDuration:0});let o=r.states.create("active",{stateAnimationDuration:0,stroke:Pi(16777215),strokeWidth:2});o.set("draw",h=>{h.arc(0,0,11,0,Math.PI*2),h.moveTo(-4,-4),h.lineTo(4,4),h.moveTo(4,-4),h.lineTo(-4,4)}),x(o,"fill",e,"negative")}s("PointedRectangle",["tooltip","background"]).setAll({strokeOpacity:.9,cornerRadius:4,pointerLength:4,pointerBaseWidth:8,fillOpacity:.9,stroke:P.fromHex(16777215)});{let r=s("Label",["tooltip"]);r.setAll({role:"tooltip",populateText:!0,paddingRight:0,paddingTop:0,paddingLeft:0,paddingBottom:0}),x(r,"fill",e,"alternativeText")}s("Button").setAll({paddingTop:8,paddingBottom:8,paddingLeft:10,paddingRight:10,interactive:!0,layout:i,interactiveChildren:!1,setStateOnChildren:!0,focusable:!0}),s("Button").states.create("hover",{}),s("Button").states.create("down",{stateAnimationDuration:0}),s("Button").states.create("active",{}),s("Button").states.create("disabled",{forceInactive:!0});{let r=s("RoundedRectangle",["button","background"]);x(r,"fill",e,"primaryButton"),x(r,"stroke",e,"primaryButtonStroke")}{let r=s("RoundedRectangle",["button","background"]).states.create("hover",{});x(r,"fill",e,"primaryButtonHover")}{let r=s("RoundedRectangle",["button","background"]).states.create("down",{stateAnimationDuration:0});x(r,"fill",e,"primaryButtonDown")}{let r=s("RoundedRectangle",["button","background"]).states.create("active",{});x(r,"fill",e,"primaryButtonActive")}{let r=s("RoundedRectangle",["button","background"]).states.create("disabled",{});x(r,"fill",e,"primaryButtonDisabled")}{let r=s("Graphics",["button","icon"]).states.create("disabled",{});x(r,"fill",e,"primaryButtonTextDisabled")}{let r=s("Label",["button"]).states.create("disabled",{});x(r,"fill",e,"primaryButtonTextDisabled")}{let r=s("Graphics",["button","icon"]);r.setAll({forceInactive:!0}),x(r,"stroke",e,"primaryButtonText")}{let r=s("Label",["button"]);x(r,"fill",e,"primaryButtonText")}s("ConfirmButton").setAll({toggleKey:"active",setStateOnChildren:!0,label:K.new(this._root,{text:t.translate("Confirm"),forceHidden:!0})});{let r=s("RoundedRectangle",["button","background","confirm"]).states.create("active",{});x(r,"fill",e,"negative")}s("Label",["button","confirm"]).setAll({paddingTop:0,paddingBottom:0,paddingRight:3,paddingLeft:5}),s("Label",["button","confirm"]).states.create("default",{stateAnimationDuration:0}),s("Label",["button","confirm"]).states.create("active",{forceHidden:!1,stateAnimationDuration:0});{let r=s("Graphics",["icon","confirm","button"]);r.setAll({stateAnimationDuration:0}),r.states.create("default",{stateAnimationDuration:0}),x(r,"stroke",e,"primaryButtonText")}{let r=s("Graphics",["icon","confirm","button"]).states.create("active",{svgPath:"M -5 1 L 0 6 L 8 -5",strokeWidth:2});x(r,"stroke",e,"primaryButtonText")}{let r=s("Graphics",["icon","confirm","button","secondary"]).states.create("active",{});x(r,"stroke",e,"primaryButtonText")}{let r=s("RoundedRectangle",["button","background","confirm","secondary"]).states.create("active",{fillOpacity:1});x(r,"fill",e,"negative")}{let r=s("RoundedRectangle",["button","background","confirm","secondary"]).states.create("hoverActive",{fillOpacity:1});x(r,"fill",e,"negative")}s("Button",["button","confirm"]).states.create("hoverActive",{}),s("Button",["zoom"]).setAll({paddingTop:18,paddingBottom:18,paddingLeft:12,paddingRight:12,centerX:46,centerY:-10,y:0,x:R,role:"button",ariaLabel:t.translate("Zoom Out"),layer:30});{let r=s("RoundedRectangle",["background","button","zoom"]);r.setAll({cornerRadiusBL:40,cornerRadiusBR:40,cornerRadiusTL:40,cornerRadiusTR:40}),x(r,"fill",e,"primaryButton")}{let r=s("RoundedRectangle",["background","button","zoom"]).states.create("hover",{});x(r,"fill",e,"primaryButtonHover")}{let r=s("RoundedRectangle",["background","button","zoom"]).states.create("down",{stateAnimationDuration:0});x(r,"fill",e,"primaryButtonDown")}{let r=s("Graphics",["icon","button","zoom"]);r.setAll({crisp:!0,strokeOpacity:.7,draw:o=>{o.moveTo(0,0),o.lineTo(12,0)}}),x(r,"stroke",e,"primaryButtonText")}s("Button",["resize"]).setAll({paddingTop:9,paddingBottom:9,paddingLeft:13,paddingRight:13,draggable:!0,centerX:k,centerY:k,position:"absolute",role:"slider",ariaValueMin:"0",ariaValueMax:"100",ariaLabel:t.translate("Use up and down arrows to move selection")});{let r=s("RoundedRectangle",["background","resize","button"]);r.setAll({cornerRadiusBL:40,cornerRadiusBR:40,cornerRadiusTL:40,cornerRadiusTR:40}),x(r,"fill",e,"secondaryButton"),x(r,"stroke",e,"secondaryButtonStroke")}{let r=s("RoundedRectangle",["background","resize","button"]).states.create("hover",{});x(r,"fill",e,"secondaryButtonHover")}{let r=s("RoundedRectangle",["background","resize","button"]).states.create("down",{stateAnimationDuration:0});x(r,"fill",e,"secondaryButtonDown")}{let r=s("Graphics",["resize","button","icon"]);r.setAll({interactive:!1,crisp:!0,strokeOpacity:.5,draw:o=>{o.moveTo(0,.5),o.lineTo(0,12.5),o.moveTo(4,.5),o.lineTo(4,12.5)}}),x(r,"stroke",e,"secondaryButtonText")}s("Button",["resize","vertical"]).setAll({rotation:90,cursorOverStyle:"ns-resize"}),s("Button",["resize","horizontal"]).setAll({cursorOverStyle:"ew-resize"}),s("Button",["play"]).setAll({paddingTop:13,paddingBottom:13,paddingLeft:14,paddingRight:14,ariaLabel:t.translate("Play"),toggleKey:"active"});{let r=s("RoundedRectangle",["play","background"]);r.setAll({strokeOpacity:.5,cornerRadiusBL:100,cornerRadiusBR:100,cornerRadiusTL:100,cornerRadiusTR:100}),x(r,"fill",e,"primaryButton")}{let r=s("Graphics",["play","icon"]);r.setAll({stateAnimationDuration:0,dx:1,draw:o=>{o.moveTo(0,-5),o.lineTo(8,0),o.lineTo(0,5),o.lineTo(0,-5)}}),x(r,"fill",e,"primaryButtonText")}s("Graphics",["play","icon"]).states.create("default",{stateAnimationDuration:0}),s("Graphics",["play","icon"]).states.create("active",{stateAnimationDuration:0,draw:r=>{r.moveTo(-4,-5),r.lineTo(-1,-5),r.lineTo(-1,5),r.lineTo(-4,5),r.lineTo(-4,-5),r.moveTo(4,-5),r.lineTo(1,-5),r.lineTo(1,5),r.lineTo(4,5),r.lineTo(4,-5)}}),s("Button",["switch"]).setAll({paddingTop:4,paddingBottom:4,paddingLeft:4,paddingRight:4,ariaLabel:t.translate("Press ENTER to toggle"),toggleKey:"active",width:40,height:24,layout:null});{let r=s("RoundedRectangle",["switch","background"]);r.setAll({strokeOpacity:.5,cornerRadiusBL:100,cornerRadiusBR:100,cornerRadiusTL:100,cornerRadiusTR:100}),x(r,"fill",e,"primaryButton")}{let r=s("Circle",["switch","icon"]);r.setAll({radius:8,centerY:0,centerX:0,dx:0}),x(r,"fill",e,"primaryButtonText")}s("Graphics",["switch","icon"]).states.create("active",{dx:16}),s("Scrollbar").setAll({start:0,end:1,layer:30,animationEasing:_t(it)}),s("Scrollbar",["vertical"]).setAll({marginRight:13,marginLeft:13,minWidth:12,height:R}),s("Scrollbar",["horizontal"]).setAll({marginTop:13,marginBottom:13,minHeight:12,width:R}),this.rule("Button",["scrollbar"]).setAll({exportable:!1});{let r=s("RoundedRectangle",["scrollbar","main","background"]);r.setAll({cornerRadiusTL:8,cornerRadiusBL:8,cornerRadiusTR:8,cornerRadiusBR:8,fillOpacity:.8}),x(r,"fill",e,"fill")}{let r=s("RoundedRectangle",["scrollbar","thumb"]);r.setAll({role:"slider",ariaLive:"polite",position:"absolute",draggable:!0}),x(r,"fill",e,"secondaryButton")}{let r=s("RoundedRectangle",["scrollbar","thumb"]).states.create("hover",{});x(r,"fill",e,"secondaryButtonHover")}{let r=s("RoundedRectangle",["scrollbar","thumb"]).states.create("down",{stateAnimationDuration:0});x(r,"fill",e,"secondaryButtonDown")}s("RoundedRectangle",["scrollbar","thumb","vertical"]).setAll({x:k,width:R,centerX:k,ariaLabel:t.translate("Use up and down arrows to move selection")}),s("RoundedRectangle",["scrollbar","thumb","horizontal"]).setAll({y:k,centerY:k,height:R,ariaLabel:t.translate("Use left and right arrows to move selection")});{let r=s("PointedRectangle",["axis","tooltip","background"]);r.setAll({cornerRadius:0}),x(r,"fill",e,"alternativeBackground")}s("Label",["axis","tooltip"]).setAll({role:void 0}),s("Label",["axis","tooltip","y"]).setAll({textAlign:"right"}),s("Label",["axis","tooltip","y","opposite"]).setAll({textAlign:"left"}),s("Label",["axis","tooltip","x"]).setAll({textAlign:"center"}),s("Tooltip",["categoryaxis"]).setAll({labelText:"{category}"}),s("Star").setAll({spikes:5,innerRadius:5,radius:10}),s("Tooltip",["stock"]).setAll({paddingTop:6,paddingBottom:5,paddingLeft:7,paddingRight:7}),s("Tooltip",["indicator"]).setAll({forceHidden:!0}),s("PointedRectangle",["tooltip","stock","axis"]).setAll({pointerLength:0,pointerBaseWidth:0,cornerRadius:3}),s("Label",["tooltip","stock"]).setAll({fontSize:"0.8em"}),s("SpriteResizer").setAll({rotationStep:10,isMeasured:!1}),s("Container",["resizer","grip"]).states.create("hover",{});{let r=s("RoundedRectangle",["resizer","grip"]);r.setAll({strokeOpacity:.7,strokeWidth:1,fillOpacity:1,width:12,height:12}),x(r,"fill",e,"background"),x(r,"stroke",e,"alternativeBackground")}{let r=s("RoundedRectangle",["resizer","grip","outline"]);r.setAll({strokeOpacity:0,fillOpacity:0,width:20,height:20}),r.states.create("hover",{fillOpacity:.3}),x(r,"fill",e,"alternativeBackground")}s("RoundedRectangle",["resizer","grip","left"]).setAll({cornerRadiusBL:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusTR:0}),s("RoundedRectangle",["resizer","grip","right"]).setAll({cornerRadiusBL:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusTR:0});{let r=s("Rectangle",["resizer","rectangle"]);r.setAll({strokeDasharray:[2,2],strokeOpacity:.5,strokeWidth:1}),x(r,"stroke",e,"alternativeBackground")}s("Graphics",["button","plus","icon"]).setAll({x:k,y:k,draw:r=>{r.moveTo(-4,0),r.lineTo(4,0),r.moveTo(0,-4),r.lineTo(0,4)}}),s("Graphics",["button","minus","icon"]).setAll({x:k,y:k,draw:r=>{r.moveTo(-4,0),r.lineTo(4,0)}}),s("Graphics",["button","home","icon"]).setAll({x:k,y:k,svgPath:"M 8 -1 L 6 -1 L 6 7 L 2 7 L 2 1 L -2 1 L -2 7 L -6 7 L -6 -1 L -8 -1 L 0 -9 L 8 -1 Z M 8 -1"}),s("Button",["zoomtools"]).setAll({marginTop:1,marginBottom:2}),s("ZoomTools").setAll({x:R,centerX:R,y:R,centerY:R,paddingRight:10,paddingBottom:10}),s("ProgressPie").setAll({radius:R,width:50,height:50,centerX:ne(-50),centerY:ne(-50),innerRadius:ne(85),numberFormat:"#."});{let r=s("Label",["progresspie"]);r.setAll({centerX:k,centerY:k,fontSize:"0.75em"}),x(r,"fill",e,"primaryButton")}{let r=s("Circle",["progresspie"]);r.setAll({fillOpacity:.5}),x(r,"fill",e,"background")}{let r=s("Slice",["progresspie"]);r.setAll({startAngle:-90}),x(r,"fill",e,"primaryButton")}{let r=s("Slice",["progresspie","background"]);r.setAll({fillOpacity:.2,arc:360}),x(r,"fill",e,"primaryButton")}s("EditableLabel",["numericstepper"]).setAll({y:k,centerY:k,multiLine:!1,marginRight:2});{let r=s("Container",["numericstepper","buttons"]);r.setAll({layout:this._root.verticalLayout,centerY:k,y:k,marginRight:10,opacity:0}),r.states.create("active",{opacity:1}),r.states.create("default",{opacity:0})}{let r=s("Triangle",["numericstepper"]);r.setAll({width:17,height:11,marginTop:3,marginBottom:3,strokeWidth:5,strokeOpacity:0,cursorOverStyle:"pointer"}),x(r,"fill",e,"secondaryButton")}s("Triangle",["downbutton"]).setAll({rotation:180})}};function $(a){return function(){return a}}var ai=Math.abs,U=Math.atan2,kt=Math.cos,Ui=Math.max,Pe=Math.min,et=Math.sin,Mt=Math.sqrt,V=1e-12,Vt=Math.PI,ie=Vt/2,Wi=2*Vt;function Vi(a){return a>1?0:a<-1?Vt:Math.acos(a)}function ni(a){return a>=1?ie:a<=-1?-ie:Math.asin(a)}var oi=Math.PI,li=2*oi,Et=1e-6,Vs=li-Et;function zi(a){this._+=a[0];for(let t=1,e=a.length;t<e;++t)this._+=arguments[t]+a[t]}function zs(a){let t=Math.floor(a);if(!(t>=0))throw new Error(`invalid digits: ${a}`);if(t>15)return zi;let e=10**t;return function(i){this._+=i[0];for(let n=1,s=i.length;n<s;++n)this._+=Math.round(arguments[n]*e)/e+i[n]}}var Ht=class{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?zi:zs(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,i,n){this._append`Q${+t},${+e},${this._x1=+i},${this._y1=+n}`}bezierCurveTo(t,e,i,n,s,r){this._append`C${+t},${+e},${+i},${+n},${this._x1=+s},${this._y1=+r}`}arcTo(t,e,i,n,s){if(t=+t,e=+e,i=+i,n=+n,s=+s,s<0)throw new Error(`negative radius: ${s}`);let r=this._x1,o=this._y1,h=i-t,l=n-e,d=r-t,u=o-e,p=d*d+u*u;if(this._x1===null)this._append`M${this._x1=t},${this._y1=e}`;else if(p>Et)if(!(Math.abs(u*h-l*d)>Et)||!s)this._append`L${this._x1=t},${this._y1=e}`;else{let c=i-r,m=n-o,g=h*h+l*l,b=c*c+m*m,v=Math.sqrt(g),f=Math.sqrt(p),D=s*Math.tan((oi-Math.acos((g+p-b)/(2*v*f)))/2),C=D/f,I=D/v;Math.abs(C-1)>Et&&this._append`L${t+C*d},${e+C*u}`,this._append`A${s},${s},0,0,${+(u*c>d*m)},${this._x1=t+I*h},${this._y1=e+I*l}`}}arc(t,e,i,n,s,r){if(t=+t,e=+e,i=+i,r=!!r,i<0)throw new Error(`negative radius: ${i}`);let o=i*Math.cos(n),h=i*Math.sin(n),l=t+o,d=e+h,u=1^r,p=r?n-s:s-n;this._x1===null?this._append`M${l},${d}`:(Math.abs(this._x1-l)>Et||Math.abs(this._y1-d)>Et)&&this._append`L${l},${d}`,i&&(p<0&&(p=p%li+li),p>Vs?this._append`A${i},${i},0,1,${u},${t-o},${e-h}A${i},${i},0,1,${u},${this._x1=l},${this._y1=d}`:p>Et&&this._append`A${i},${i},0,${+(p>=oi)},${u},${this._x1=t+i*Math.cos(s)},${this._y1=e+i*Math.sin(s)}`)}rect(t,e,i,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${i=+i}v${+n}h${-i}Z`}toString(){return this._}};function ji(){return new Ht}ji.prototype=Ht.prototype;function zt(a){let t=3;return a.digits=function(e){if(!arguments.length)return t;if(e==null)t=null;else{let i=Math.floor(e);if(!(i>=0))throw new RangeError(`invalid digits: ${e}`);t=i}return a},()=>new Ht(t)}function js(a){return a.innerRadius}function Gs(a){return a.outerRadius}function Ks(a){return a.startAngle}function Ys(a){return a.endAngle}function Xs(a){return a&&a.padAngle}function Zs(a,t,e,i,n,s,r,o){var h=e-a,l=i-t,d=r-n,u=o-s,p=u*h-d*l;if(!(p*p<V))return p=(d*(t-s)-u*(a-n))/p,[a+p*h,t+p*l]}function ke(a,t,e,i,n,s,r){var o=a-e,h=t-i,l=(r?s:-s)/Mt(o*o+h*h),d=l*h,u=-l*o,p=a+d,c=t+u,m=e+d,g=i+u,b=(p+m)/2,v=(c+g)/2,f=m-p,D=g-c,C=f*f+D*D,I=n-s,H=p*g-m*c,z=(D<0?-1:1)*Mt(Ui(0,I*I*C-H*H)),N=(H*D-f*z)/C,B=(-H*f-D*z)/C,E=(H*D+f*z)/C,L=(-H*f+D*z)/C,O=N-b,_=B-v,T=E-b,S=L-v;return O*O+_*_>T*T+S*S&&(N=E,B=L),{cx:N,cy:B,x01:-d,y01:-u,x11:N*(n/I-1),y11:B*(n/I-1)}}function qs(){var a=js,t=Gs,e=$(0),i=null,n=Ks,s=Ys,r=Xs,o=null,h=zt(l);function l(){var d,u,p=+a.apply(this,arguments),c=+t.apply(this,arguments),m=n.apply(this,arguments)-ie,g=s.apply(this,arguments)-ie,b=ai(g-m),v=g>m;if(o||(o=d=h()),c<p&&(u=c,c=p,p=u),!(c>V))o.moveTo(0,0);else if(b>Wi-V)o.moveTo(c*kt(m),c*et(m)),o.arc(0,0,c,m,g,!v),p>V&&(o.moveTo(p*kt(g),p*et(g)),o.arc(0,0,p,g,m,v));else{var f=m,D=g,C=m,I=g,H=b,z=b,N=r.apply(this,arguments)/2,B=N>V&&(i?+i.apply(this,arguments):Mt(p*p+c*c)),E=Pe(ai(c-p)/2,+e.apply(this,arguments)),L=E,O=E,_,T;if(B>V){var S=ni(B/p*et(N)),Ct=ni(B/c*et(N));(H-=S*2)>V?(S*=v?1:-1,C+=S,I-=S):(H=0,C=I=(m+g)/2),(z-=Ct*2)>V?(Ct*=v?1:-1,f+=Ct,D-=Ct):(z=0,f=D=(m+g)/2)}var at=c*kt(f),nt=c*et(f),Rt=p*kt(I),se=p*et(I);if(E>V){var re=c*kt(D),ae=c*et(D),Ae=p*kt(C),Ie=p*et(C),ot;if(b<Vt)if(ot=Zs(at,nt,Ae,Ie,re,ae,Rt,se)){var Be=at-ot[0],Le=nt-ot[1],Me=re-ot[0],Ee=ae-ot[1],di=1/et(Vi((Be*Me+Le*Ee)/(Mt(Be*Be+Le*Le)*Mt(Me*Me+Ee*Ee)))/2),ui=Mt(ot[0]*ot[0]+ot[1]*ot[1]);L=Pe(E,(p-ui)/(di-1)),O=Pe(E,(c-ui)/(di+1))}else L=O=0}z>V?O>V?(_=ke(Ae,Ie,at,nt,c,O,v),T=ke(re,ae,Rt,se,c,O,v),o.moveTo(_.cx+_.x01,_.cy+_.y01),O<E?o.arc(_.cx,_.cy,O,U(_.y01,_.x01),U(T.y01,T.x01),!v):(o.arc(_.cx,_.cy,O,U(_.y01,_.x01),U(_.y11,_.x11),!v),o.arc(0,0,c,U(_.cy+_.y11,_.cx+_.x11),U(T.cy+T.y11,T.cx+T.x11),!v),o.arc(T.cx,T.cy,O,U(T.y11,T.x11),U(T.y01,T.x01),!v))):(o.moveTo(at,nt),o.arc(0,0,c,f,D,!v)):o.moveTo(at,nt),!(p>V)||!(H>V)?o.lineTo(Rt,se):L>V?(_=ke(Rt,se,re,ae,p,-L,v),T=ke(at,nt,Ae,Ie,p,-L,v),o.lineTo(_.cx+_.x01,_.cy+_.y01),L<E?o.arc(_.cx,_.cy,L,U(_.y01,_.x01),U(T.y01,T.x01),!v):(o.arc(_.cx,_.cy,L,U(_.y01,_.x01),U(_.y11,_.x11),!v),o.arc(0,0,p,U(_.cy+_.y11,_.cx+_.x11),U(T.cy+T.y11,T.cx+T.x11),v),o.arc(T.cx,T.cy,L,U(T.y11,T.x11),U(T.y01,T.x01),!v))):o.arc(0,0,p,I,C,v)}if(o.closePath(),d)return o=null,d+""||null}return l.centroid=function(){var d=(+a.apply(this,arguments)+ +t.apply(this,arguments))/2,u=(+n.apply(this,arguments)+ +s.apply(this,arguments))/2-Vt/2;return[kt(u)*d,et(u)*d]},l.innerRadius=function(d){return arguments.length?(a=typeof d=="function"?d:$(+d),l):a},l.outerRadius=function(d){return arguments.length?(t=typeof d=="function"?d:$(+d),l):t},l.cornerRadius=function(d){return arguments.length?(e=typeof d=="function"?d:$(+d),l):e},l.padRadius=function(d){return arguments.length?(i=d==null?null:typeof d=="function"?d:$(+d),l):i},l.startAngle=function(d){return arguments.length?(n=typeof d=="function"?d:$(+d),l):n},l.endAngle=function(d){return arguments.length?(s=typeof d=="function"?d:$(+d),l):s},l.padAngle=function(d){return arguments.length?(r=typeof d=="function"?d:$(+d),l):r},l.context=function(d){return arguments.length?(o=d??null,l):o},l}var vn=Array.prototype.slice;function Ce(a){return typeof a=="object"&&"length"in a?a:Array.from(a)}function Gi(a){this._context=a}Gi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(a,t){switch(a=+a,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,t):this._context.moveTo(a,t);break;case 1:this._point=2;default:this._context.lineTo(a,t);break}}};function Re(a){return new Gi(a)}function Se(a){return a[0]}function $e(a){return a[1]}function hi(a,t){var e=$(!0),i=null,n=Re,s=null,r=zt(o);a=typeof a=="function"?a:a===void 0?Se:$(a),t=typeof t=="function"?t:t===void 0?$e:$(t);function o(h){var l,d=(h=Ce(h)).length,u,p=!1,c;for(i==null&&(s=n(c=r())),l=0;l<=d;++l)!(l<d&&e(u=h[l],l,h))===p&&((p=!p)?s.lineStart():s.lineEnd()),p&&s.point(+a(u,l,h),+t(u,l,h));if(c)return s=null,c+""||null}return o.x=function(h){return arguments.length?(a=typeof h=="function"?h:$(+h),o):a},o.y=function(h){return arguments.length?(t=typeof h=="function"?h:$(+h),o):t},o.defined=function(h){return arguments.length?(e=typeof h=="function"?h:$(!!h),o):e},o.curve=function(h){return arguments.length?(n=h,i!=null&&(s=n(i)),o):n},o.context=function(h){return arguments.length?(h==null?i=s=null:s=n(i=h),o):i},o}function Js(a,t,e){var i=null,n=$(!0),s=null,r=Re,o=null,h=zt(l);a=typeof a=="function"?a:a===void 0?Se:$(+a),t=typeof t=="function"?t:t===void 0?$(0):$(+t),e=typeof e=="function"?e:e===void 0?$e:$(+e);function l(u){var p,c,m,g=(u=Ce(u)).length,b,v=!1,f,D=new Array(g),C=new Array(g);for(s==null&&(o=r(f=h())),p=0;p<=g;++p){if(!(p<g&&n(b=u[p],p,u))===v)if(v=!v)c=p,o.areaStart(),o.lineStart();else{for(o.lineEnd(),o.lineStart(),m=p-1;m>=c;--m)o.point(D[m],C[m]);o.lineEnd(),o.areaEnd()}v&&(D[p]=+a(b,p,u),C[p]=+t(b,p,u),o.point(i?+i(b,p,u):D[p],e?+e(b,p,u):C[p]))}if(f)return o=null,f+""||null}function d(){return hi().defined(n).curve(r).context(s)}return l.x=function(u){return arguments.length?(a=typeof u=="function"?u:$(+u),i=null,l):a},l.x0=function(u){return arguments.length?(a=typeof u=="function"?u:$(+u),l):a},l.x1=function(u){return arguments.length?(i=u==null?null:typeof u=="function"?u:$(+u),l):i},l.y=function(u){return arguments.length?(t=typeof u=="function"?u:$(+u),e=null,l):t},l.y0=function(u){return arguments.length?(t=typeof u=="function"?u:$(+u),l):t},l.y1=function(u){return arguments.length?(e=u==null?null:typeof u=="function"?u:$(+u),l):e},l.lineX0=l.lineY0=function(){return d().x(a).y(t)},l.lineY1=function(){return d().x(a).y(e)},l.lineX1=function(){return d().x(i).y(t)},l.defined=function(u){return arguments.length?(n=typeof u=="function"?u:$(!!u),l):n},l.curve=function(u){return arguments.length?(r=u,s!=null&&(o=r(s)),l):r},l.context=function(u){return arguments.length?(u==null?s=o=null:o=r(s=u),l):s},l}function Ki(a,t,e){a._context.bezierCurveTo(a._x1+a._k*(a._x2-a._x0),a._y1+a._k*(a._y2-a._y0),a._x2+a._k*(a._x1-t),a._y2+a._k*(a._y1-e),a._x2,a._y2)}function Yi(a,t){this._context=a,this._k=(1-t)/6}Yi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ki(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(a,t){switch(a=+a,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,t):this._context.moveTo(a,t);break;case 1:this._point=2,this._x1=a,this._y1=t;break;case 2:this._point=3;default:Ki(this,a,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Qs=(function a(t){function e(i){return new Yi(i,t)}return e.tension=function(i){return a(+i)},e})(0);function Xi(a,t){this._context=a,this._t=t}Xi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(a,t){switch(a=+a,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,t):this._context.moveTo(a,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(a,t);else{var e=this._x*(1-this._t)+a*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,t)}break}}this._x=a,this._y=t}};function tr(a){return new Xi(a,1)}export{lt as a,Kt as b,$i as c,$t as d,fe as e,Zi as f,qi as g,me as h,ht as i,ts as j,dt as k,gt as l,es as m,is as n,rs as o,hs as p,Ot as q,it as r,_t as s,ye as t,At as u,rr as v,ar as w,nr as x,W as y,F as z,yt as A,vt as B,be as C,Ir as D,Q as E,xt as F,j as G,bt as H,Dt as I,st as J,Ut as K,Wt as L,ii as M,Ls as N,It as O,M as P,rt as Q,K as R,x as S,Fi as T,Te as U,Bi as V,Zt as W,Tt as X,Li as Y,tt as Z,Mi as _,Ms as $,Hi as aa,Os as ba,Bt as ca,Ni as da,Fs as ea,Oi as fa,qt as ga,wt as ha,Lt as ia,Jt as ja,qs as ka,hi as la,Js as ma,Qs as na,tr as oa,Pt as pa,Qt as qa,te as ra,ee as sa};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import j from"./LOLYJZFX.js";import{a as V,b as $,d as u,g as S,j as U,k as D}from"./G5VPRDMX.js";import{a as g}from"./POKO37D3.js";import i from"./QAX5TDE3.js";import"./VJVKFKSG.js";import h from"./AC4VLUR7.js";import{a as z}from"./SWOFXLPC.js";import{a as p}from"./JD74LG7K.js";import e from"./UNGXK2Y7.js";import d from"./M3U7I4H6.js";import{h as y}from"./UC4ZZXFO.js";import"./JK33HXYG.js";import a from"./5J4YSRUG.js";import{d as x}from"./GFALET66.js";import{O as w,P as f,R as v,U as b,a as m,b as c,x as _}from"./URMAKTOH.js";import"./H6RQVSYM.js";export default $arcgis.t(([L,{property:n,subclass:A},{watch:j},C,,,,O,{f:k},M])=>{var B=m`.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{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__heading{word-break:break-word}.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}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--arcgis-internal-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{.esri-widget--panel{min-width:0}}`,P=Object.defineProperty,T=Object.getOwnPropertyDescriptor,s=(t,e,a,o)=>{for(var i=o>1?void 0:o?T(e,a):e,l=t.length-1,d;l>=0;l--)(d=t[l])&&(i=(o?d(e,a,i):d(i))||i);return o&&i&&P(e,a,i),i},r=class extends M{constructor(){super(...arguments),this.snappingOptions=new C,this.supportedViewType="2d",this.unsupportedErrorMessage="The Distance Measurement 2D component is only supported in 2D views.",this.shouldForceInteractive=!1}initialize(){this.addHandles([j(()=>({analysis:this.analysis,unit:this._userUnit}),({analysis:t,unit:e})=>{e&&(t.unit=e)},{sync:!0,initial:!0}),j(()=>({analysisView:this.analysisView,snappingOptions:this.snappingOptions}),({analysisView:t,snappingOptions:e})=>{t&&(t.snappingOptions=e)},{sync:!0,initial:!0})])}get state(){let{analysis:t,disabled:e,operationState:a,ready:o,supported:i}=this,{valid:l}=t;return V({supported:i,disabled:e,ready:o,operationState:a,valid:l})}get displayState(){return $(this.state,!!this.analysis.geometry)}get measurement(){return{mode:this.analysisView?.result?.mode??"euclidean",length:S(this.analysis.valid?this.analysisView?.result?.length:void 0)}}get unitOptions(){return U(this._userUnitOptions,u,u)}set unitOptions(t){this._userUnitOptions=t}get unit(){return D(this._userUnit,this.analysis.unit,this.unitOptions,this.defaultMeasurementSystem)}set unit(t){this._userUnit=t}async place(t){this.analysisView&&(await this.analysisView.place(t),this.analysisView.interactive=!0)}clearAnalysis(){this.analysis.geometry=null}constructAnalysis(){return new L}};s([n({readOnly:!0})],r.prototype,"state",1);s([n({readOnly:!0})],r.prototype,"displayState",1);s([n()],r.prototype,"measurement",1);s([n({type:C})],r.prototype,"snappingOptions",2);s([n()],r.prototype,"unitOptions",1);s([n()],r.prototype,"_userUnitOptions",2);s([n()],r.prototype,"unit",1);s([n()],r.prototype,"_userUnit",2);r=s([A("components.distance-measurement-2d.DistanceMeasurement2dViewModel")],r);var F=O(r),h=class extends w{constructor(){super(...arguments),this.viewModel=F(this),this.messages=z({name:"distance-measurement-2d",blocking:!0}),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.hideStartButton=!1,this.hideUnitSelect=!1,this.hideVisualization=this.viewModel.hideVisualization,this.icon="measure-line",this.snappingOptions=this.viewModel.snappingOptions,this.state=this.viewModel.state,this.unit=this.viewModel.unit,this.unitOptions=this.viewModel.unitOptions,this.arcgisPropertyChange=y()("analysis","state"),this.arcgisReady=_()}static{this.properties={view:0,analysis:0,autoDestroyDisabled:5,hideStartButton:5,hideUnitSelect:5,hideVisualization:5,icon:3,label:1,referenceElement:1,snappingOptions:0,state:32,unit:1,unitOptions:0}}static{this.styles=B}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){k(this.viewModel.start())}render(){let{messages:e,unit:a,unitOptions:o,viewModel:i}=this,{measurement:l,state:d}=i;return c`<div aria-label=${e.componentLabel??v} class=${f(x("root",p.widget,p.panel))} role=presentation><arcgis-measurement-content .state=${i.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} .items=${[{title:e.distance,measurement:l.length}]}>${g({hidden:this.hideUnitSelect,children:c`<arcgis-unit-select slot=settings .options=${o} .selectLabel=${e.unit} .value=${a} @arcgisUnitSelectChange=${E=>{this.unit=E.detail}}></arcgis-unit-select>`})}${g({hidden:this.hideStartButton,children:c`<calcite-button slot=actions .disabled=${d==="unsupported"||d==="disabled"} @click=${this.start}>${e.newMeasurement}</calcite-button>`})}</arcgis-measurement-content></div>`}};b("arcgis-distance-measurement-2d",h);return h},"analysis/DistanceMeasurementAnalysis","core/accessorSupport/decorators","core/reactiveUtils","views/interactive/snapping/SnappingOptions",a,d,e,h,i,j)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import a from"./MOJH7XEP.js";import{a as o}from"./6FLKFYZS.js";import"./UC4ZZXFO.js";import"./JK33HXYG.js";import"./GFALET66.js";import{O as i,U as l,a as s,b as t}from"./URMAKTOH.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:n},{f:c}])=>{var r=s`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`,a=class extends i{constructor(){super(...arguments),this._prevLayoutTemplateId=null,this._handles=o("disconnect"),this._selectedTab="layout",this._hasPendingExport=!1,this.hideAdvancedOptions=!1,this.autoPopulateAuthor=!1,this.hideFeatureAttributes=!1,this.hideIncludeTables=!1}static{this.properties={_selectedTab:16,_hasPendingExport:16,hideAdvancedOptions:5,autoPopulateAuthor:5,showSaveAs:5,arcgisSaveAs:0,viewModel:0,messages:0,showTemplateSelector:0,allowedFormatsForSaving:1,hideFeatureAttributes:5,hideIncludeTables:5}}static{this.styles=r}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>{this._handles.removeHandles("pending-exports"),this._handles.addHandles(this.viewModel.exportedLinks.toArray().map(e=>n(()=>e.state,()=>this.requestUpdate(),{initial:!0})),"pending-exports")})])}async _layoutTabChangeHandler(){let e=(this._prevLayoutTemplateId?this.viewModel.getLayoutTemplateById(this._prevLayoutTemplateId):null)??this.viewModel.defaultTemplate;await this.viewModel.applyTemplate(e),this._prevLayoutTemplateId=e?.id,this._selectedTab="layout"}async _mapOnlyTabChangeHandler(){this._updatePrevLayoutTemplateId(),await this.viewModel.applyTemplate("map-only"),this._selectedTab="map-only"}async _exportsTabChangeHandler(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_selectExportsTab(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_updatePrevLayoutTemplateId(){!c(this.viewModel.templateOptions.layout)&&this.viewModel.templateOptions.id&&(this._prevLayoutTemplateId=this.viewModel.templateOptions.id)}render(){let e=this.viewModel.exportedLinks.some(({state:d})=>d==="pending");return t`<calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab==="layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab==="map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab==="exports"}>${e?t`<calcite-loader inline label=loading scale=s></calcite-loader>`:null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .autoPopulateAuthor=${this.autoPopulateAuthor} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-exports-panel></calcite-tab></calcite-tabs>`}};l("arcgis-print-main-panel",a);return a},"core/reactiveUtils",a)