@arcgis/map-components 6.0.0-next.0 → 6.0.0-next.2

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 (656) hide show
  1. package/dist/cdn/{DMYMCGHJ.js → 26URLKXD.js} +2 -2
  2. package/dist/cdn/{JBHAJ6GW.js → 2BGZVOT3.js} +2 -2
  3. package/dist/cdn/{QMYL4UM7.js → 2BUURGFL.js} +2 -2
  4. package/dist/cdn/{AYJQLWX4.js → 2DAGREZP.js} +2 -2
  5. package/dist/cdn/{3A3DGDW5.js → 2F4IGA4W.js} +2 -2
  6. package/dist/cdn/{IJLCJVC4.js → 2KPCMM7D.js} +2 -2
  7. package/dist/cdn/{MW6AOK5D.js → 2S7DLLA7.js} +2 -2
  8. package/dist/cdn/{YWS5RHVM.js → 2SO5S66J.js} +2 -2
  9. package/dist/cdn/{NBHZZ4E6.js → 2TY3T3GH.js} +2 -2
  10. package/dist/cdn/{PYTZ3YBE.js → 2U3VASQT.js} +1 -1
  11. package/dist/cdn/{XTPRVANS.js → 2UKSCGYU.js} +2 -2
  12. package/dist/cdn/{COKGOKO2.js → 2ZMXUAQZ.js} +2 -2
  13. package/dist/cdn/{7N4V2IN6.js → 366GLQ5R.js} +1 -1
  14. package/dist/cdn/{CX45KI3X.js → 3C6FN5WT.js} +2 -2
  15. package/dist/cdn/{GV3IXBBT.js → 3GHQZCMV.js} +2 -2
  16. package/dist/cdn/{LHFB44QW.js → 3N5MWYUQ.js} +2 -2
  17. package/dist/cdn/{4F2ZWXO2.js → 3ONY25MG.js} +2 -2
  18. package/dist/cdn/{EKR2SAT2.js → 3UMLR76Y.js} +2 -2
  19. package/dist/cdn/{OHLJ6POC.js → 3VCGDZEU.js} +2 -2
  20. package/dist/cdn/{CIUI5B52.js → 4432P7Z5.js} +2 -2
  21. package/dist/cdn/{BCCCO3CN.js → 44CQCIZB.js} +2 -2
  22. package/dist/cdn/4B2TLORL.js +2 -0
  23. package/dist/cdn/{OCLOCCB6.js → 4IU5R6VO.js} +2 -2
  24. package/dist/cdn/{YHKTMUY7.js → 4IWYFG2G.js} +2 -2
  25. package/dist/cdn/{FMIWBKT4.js → 4KQA2GRX.js} +2 -2
  26. package/dist/cdn/{JCRPP54Z.js → 4L43F7HU.js} +1 -1
  27. package/dist/cdn/{XAD4PUBU.js → 4O3HLHQQ.js} +2 -2
  28. package/dist/cdn/{ZPH7M75T.js → 4PI54LJH.js} +2 -2
  29. package/dist/cdn/{DOEKV7G3.js → 4WKWYFIH.js} +2 -2
  30. package/dist/cdn/{DL57EVZ4.js → 4XERPOOU.js} +2 -2
  31. package/dist/cdn/{J657IBDC.js → 4XJ6RYYC.js} +2 -2
  32. package/dist/cdn/{PLTLRYBF.js → 4ZLIA5OM.js} +2 -2
  33. package/dist/cdn/{JPKB745U.js → 52CUDGKY.js} +2 -2
  34. package/dist/cdn/{4TTVVGYW.js → 53OXTCE6.js} +2 -2
  35. package/dist/cdn/{RQLMXLJC.js → 5AMF6NZN.js} +2 -2
  36. package/dist/cdn/{6BLFYSDN.js → 5DY7GHBN.js} +2 -2
  37. package/dist/cdn/{SFSWQGLY.js → 5ESNA4SF.js} +2 -2
  38. package/dist/cdn/{FFJCCMDZ.js → 5RAIBYCT.js} +2 -2
  39. package/dist/cdn/{5SLLYIWJ.js → 5TKSFDKY.js} +2 -2
  40. package/dist/cdn/{3HS3DM5B.js → 62IE7RFR.js} +2 -2
  41. package/dist/cdn/{YPNGSV66.js → 65MI3MW2.js} +2 -2
  42. package/dist/cdn/{ELYDZHP5.js → 67PT3A4A.js} +2 -2
  43. package/dist/cdn/{PRTHX6OC.js → 6A2OF3TO.js} +2 -2
  44. package/dist/cdn/{POKO37D3.js → 6J3KSMFG.js} +1 -1
  45. package/dist/cdn/{OJXNUBIA.js → 6MCDOI5M.js} +2 -2
  46. package/dist/cdn/{JCR7S6RP.js → 6QH2NH2Z.js} +2 -2
  47. package/dist/cdn/{CORNSRXU.js → 6UYEO5Q7.js} +2 -2
  48. package/dist/cdn/{GXRPNW37.js → 6VO7G2UX.js} +2 -2
  49. package/dist/cdn/77U2VO5P.js +2 -0
  50. package/dist/cdn/{ECNRW3D5.js → 7DFCYS72.js} +2 -2
  51. package/dist/cdn/{EDTGV4YF.js → 7DM32WQP.js} +2 -2
  52. package/dist/cdn/{ZEKQYUW3.js → 7FCZLFJD.js} +2 -2
  53. package/dist/cdn/{TPC2FJJX.js → 7FFBCPVE.js} +2 -2
  54. package/dist/cdn/7TULU5QF.js +2 -0
  55. package/dist/cdn/{Z5C6UBYP.js → 7VDBR3SK.js} +2 -2
  56. package/dist/cdn/{T4V5O3FK.js → 7VJQVX42.js} +2 -2
  57. package/dist/cdn/{F5WKI5HZ.js → A3DPMZWE.js} +2 -2
  58. package/dist/cdn/{5763ZV75.js → A4VK42OW.js} +2 -2
  59. package/dist/cdn/{27MP6TEF.js → A6H4JIO7.js} +2 -2
  60. package/dist/cdn/{UWKXYCO3.js → A7RLC6ZT.js} +2 -2
  61. package/dist/cdn/{TN5C3MSL.js → AL3PLZEE.js} +1 -1
  62. package/dist/cdn/{FZWFKZLW.js → ALVAGE57.js} +2 -2
  63. package/dist/cdn/{I5ZESLWO.js → AO6ONNIJ.js} +2 -2
  64. package/dist/cdn/{CF4OY56S.js → AS4FG6IT.js} +2 -2
  65. package/dist/cdn/{H4FH2RBM.js → B32GNMHD.js} +2 -2
  66. package/dist/cdn/{3LOGBSQP.js → BHCAFGIA.js} +1 -1
  67. package/dist/cdn/{2CWTV6TC.js → BI2SI2HK.js} +2 -2
  68. package/dist/cdn/{HKGNXMRR.js → BLOQ2AJ5.js} +2 -2
  69. package/dist/cdn/{NIUMOIYZ.js → BM4TS2RT.js} +2 -2
  70. package/dist/cdn/{CQQM24VF.js → BQBWXR6P.js} +2 -2
  71. package/dist/cdn/{SP73K22L.js → BQGY4YCS.js} +2 -2
  72. package/dist/cdn/{KKP7ZZUD.js → BTVNXUZQ.js} +2 -2
  73. package/dist/cdn/{R2IBOCMY.js → BVTEQMDF.js} +2 -2
  74. package/dist/cdn/{KO7RD6SS.js → CAC3OOFR.js} +2 -2
  75. package/dist/cdn/{LE373OSG.js → CBVICP6P.js} +2 -2
  76. package/dist/cdn/{2KP3MSHV.js → CHL5VZJQ.js} +3 -3
  77. package/dist/cdn/{BSTO7TGD.js → CKS5ACAB.js} +2 -2
  78. package/dist/cdn/{5L5UYV3H.js → CKZBNHMD.js} +1 -1
  79. package/dist/cdn/CNYZSE22.js +2 -0
  80. package/dist/cdn/{F46CTQWP.js → COCGWEUR.js} +2 -2
  81. package/dist/cdn/{PLVTYVUG.js → CP5JALYQ.js} +2 -2
  82. package/dist/cdn/{Y2LELW5Y.js → CPYVZPJ7.js} +2 -2
  83. package/dist/cdn/{VABVK3ZN.js → CR6PVUCT.js} +2 -2
  84. package/dist/cdn/CVJOD6H3.js +2 -0
  85. package/dist/cdn/{5M56ZA46.js → D7FBQECJ.js} +2 -2
  86. package/dist/cdn/{E4NTQBM3.js → DDSIQO4G.js} +2 -2
  87. package/dist/cdn/{VDTRRLON.js → DFUR3C3D.js} +1 -1
  88. package/dist/cdn/{4T2A7PAO.js → DK7HXJSX.js} +2 -2
  89. package/dist/cdn/{IU22RA7Z.js → DLWQZHNA.js} +2 -2
  90. package/dist/cdn/{EAM45WZP.js → DN2EFA4T.js} +2 -2
  91. package/dist/cdn/{BEFZSVBT.js → DSD2SY73.js} +2 -2
  92. package/dist/cdn/DTORO2OE.js +2 -0
  93. package/dist/cdn/{XAADUJ74.js → DUMHDAYP.js} +2 -2
  94. package/dist/cdn/{VCSX4G2U.js → DY2EOHFD.js} +2 -2
  95. package/dist/cdn/{O57LOC52.js → DYUCS5QP.js} +2 -2
  96. package/dist/cdn/{3SG4AC5C.js → DYWCAORU.js} +2 -2
  97. package/dist/cdn/{CGN2BQTU.js → E54VGGFM.js} +2 -2
  98. package/dist/cdn/{3DSZKELU.js → E5L3MOIC.js} +2 -2
  99. package/dist/cdn/{YPNJ5V4R.js → EHEWQ23K.js} +2 -2
  100. package/dist/cdn/{N4MW5VBL.js → EK7Y6JBZ.js} +2 -2
  101. package/dist/cdn/{YOUMOTN3.js → EMXGW73P.js} +2 -2
  102. package/dist/cdn/{3NL42TBJ.js → EOAVDNBZ.js} +2 -2
  103. package/dist/cdn/{FMBY3L4S.js → EPAR65ZP.js} +2 -2
  104. package/dist/cdn/{7DAQGPGD.js → EPH5BN6X.js} +2 -2
  105. package/dist/cdn/{HZX7MSQG.js → ESOCZAMZ.js} +2 -2
  106. package/dist/cdn/{FNSGB45I.js → EV7IIQBP.js} +2 -2
  107. package/dist/cdn/EZCHUWDK.js +2 -0
  108. package/dist/cdn/{VYYFRZLI.js → F34QQ4DO.js} +2 -2
  109. package/dist/cdn/{PEH4U3YV.js → F5IHFPKA.js} +2 -2
  110. package/dist/cdn/{3WTBTYMS.js → F5JYYT42.js} +1 -1
  111. package/dist/cdn/{GQ6SYNZS.js → FACY5XHG.js} +2 -2
  112. package/dist/cdn/{AI5PXN2E.js → FDJGQHUA.js} +2 -2
  113. package/dist/cdn/{J23DTKII.js → FF7BSRYW.js} +2 -2
  114. package/dist/cdn/{IZ46HAUJ.js → FH3WFF5O.js} +1 -1
  115. package/dist/cdn/{7EQZKGJN.js → FHHVGI4H.js} +2 -2
  116. package/dist/cdn/FIZMK7GS.js +1 -0
  117. package/dist/cdn/{IRZGEFF5.js → FPPWXIBA.js} +2 -2
  118. package/dist/cdn/{6J55YK5V.js → FQSHLYKX.js} +2 -2
  119. package/dist/cdn/{3MQPSWL6.js → FSBLGH6E.js} +2 -2
  120. package/dist/cdn/{BAOWXZTE.js → FXUZU52U.js} +1 -1
  121. package/dist/cdn/{GVZKVOM7.js → FZAQZSRA.js} +2 -2
  122. package/dist/cdn/{UCTJVPYB.js → G26V76WA.js} +2 -2
  123. package/dist/cdn/{RQG75Q2X.js → GCEBFEZ5.js} +2 -2
  124. package/dist/cdn/{GU3M4JMW.js → GDLDEHUJ.js} +1 -1
  125. package/dist/cdn/{MEZHGYCH.js → GFNCEZSN.js} +2 -2
  126. package/dist/cdn/{A4U2PDJP.js → GHVT7W4O.js} +2 -2
  127. package/dist/cdn/{54CLZESW.js → GII4POXM.js} +2 -2
  128. package/dist/cdn/{QX33OCXB.js → GIIYVCKT.js} +2 -2
  129. package/dist/cdn/{CZOM5NWO.js → GJKFDTVX.js} +2 -2
  130. package/dist/cdn/{SBIOND5K.js → GK47522P.js} +2 -2
  131. package/dist/cdn/{NZBID35V.js → GNSNEUMI.js} +2 -2
  132. package/dist/cdn/{MKCJXRXB.js → GS2HJTMU.js} +2 -2
  133. package/dist/cdn/{VWFQCWGB.js → GUHSWQMF.js} +2 -2
  134. package/dist/cdn/{XEK22IDA.js → GUL7EIJ4.js} +1 -1
  135. package/dist/cdn/{HCN3UC4W.js → GUZYCRYS.js} +2 -2
  136. package/dist/cdn/{OX55WUIT.js → H7NR6B6S.js} +2 -2
  137. package/dist/cdn/{MUWOF7W4.js → HBWEW6R7.js} +2 -2
  138. package/dist/cdn/{SFFTE3TG.js → HDHWPKJ4.js} +2 -2
  139. package/dist/cdn/{RKTSSP3O.js → HI7BF3DL.js} +2 -2
  140. package/dist/cdn/{N6VSP7BU.js → HKLBQ7JD.js} +2 -2
  141. package/dist/cdn/{QPFX5XH3.js → HKVIWCPL.js} +2 -2
  142. package/dist/cdn/{JBHRVHGS.js → HPWF3IQV.js} +2 -2
  143. package/dist/cdn/HQSY7TKA.js +2 -0
  144. package/dist/cdn/{UMHGXP3S.js → HQWUQFN5.js} +2 -2
  145. package/dist/cdn/HTC4LCZQ.js +2 -0
  146. package/dist/cdn/{TMJX7DFH.js → HU57LQOA.js} +1 -1
  147. package/dist/cdn/{B4CANXID.js → HY2JY2TT.js} +2 -2
  148. package/dist/cdn/{VEAJ52RN.js → IAWXCNTX.js} +2 -2
  149. package/dist/cdn/{2COOBXHG.js → IDIAWXUO.js} +2 -2
  150. package/dist/cdn/{JAZGNQRP.js → IFR4IYSI.js} +2 -2
  151. package/dist/cdn/IITDAOGZ.js +2 -0
  152. package/dist/cdn/{4RMVG2NH.js → ILQDA7LL.js} +2 -2
  153. package/dist/cdn/{O7RSAJOS.js → IM6IDWYR.js} +1 -1
  154. package/dist/cdn/{UINNR6FV.js → IQEEQOMD.js} +2 -2
  155. package/dist/cdn/{N2HG34QB.js → IQOQTYRR.js} +2 -2
  156. package/dist/cdn/{4PGC5LTJ.js → J3FRSWZD.js} +2 -2
  157. package/dist/cdn/{Y4WOZJQX.js → J4CHCFLS.js} +2 -2
  158. package/dist/cdn/{VWN2LORT.js → J6HOUEVT.js} +2 -2
  159. package/dist/cdn/{2JWHVMJ3.js → JBK5HTJ2.js} +2 -2
  160. package/dist/cdn/{VSDQVSOV.js → JF7VJGL4.js} +2 -2
  161. package/dist/cdn/{VCRVQMYT.js → JRCEICO2.js} +2 -2
  162. package/dist/cdn/{LQ76PRWK.js → JS3IKVKM.js} +2 -2
  163. package/dist/cdn/{IDKRMHDS.js → JXQEGZDB.js} +1 -1
  164. package/dist/cdn/{I23AZWQL.js → K23R26AN.js} +2 -2
  165. package/dist/cdn/{5UOXHOVU.js → K7ELALW4.js} +2 -2
  166. package/dist/cdn/K7XSWKZ2.js +2 -0
  167. package/dist/cdn/{HLGU3U73.js → KBA5OIES.js} +2 -2
  168. package/dist/cdn/{XPGC5GAG.js → KCLVDXWB.js} +2 -2
  169. package/dist/cdn/{IXWGGAVX.js → KFTFKI6A.js} +2 -2
  170. package/dist/cdn/{KM2GXXBO.js → KGUALNRF.js} +2 -2
  171. package/dist/cdn/KLVBRTYU.js +2 -0
  172. package/dist/cdn/{GP3PLD2F.js → KPUEQZ7O.js} +2 -2
  173. package/dist/cdn/{5SL2HI4G.js → KVYBIOH5.js} +2 -2
  174. package/dist/cdn/{BZR4MSO5.js → L2F4HQYY.js} +2 -2
  175. package/dist/cdn/{ALROLX35.js → L46JLXJT.js} +2 -2
  176. package/dist/cdn/{JD74LG7K.js → L5IRXOCJ.js} +1 -1
  177. package/dist/cdn/{M7LDGJG6.js → LC37F7HF.js} +2 -2
  178. package/dist/cdn/{JE6NC2E6.js → LH2T4TMP.js} +2 -2
  179. package/dist/cdn/{KRVLKKXB.js → LKAJVIS2.js} +2 -2
  180. package/dist/cdn/{UPZVIKOH.js → LYT35TNY.js} +2 -2
  181. package/dist/cdn/{ZFHHY72B.js → M2LKA37F.js} +2 -2
  182. package/dist/cdn/{RYYBMDGS.js → M3FI4K44.js} +2 -2
  183. package/dist/cdn/{ITRD7ZY4.js → M42QFFPZ.js} +2 -2
  184. package/dist/cdn/{ZW2ZBNX2.js → M5KYBYZT.js} +2 -2
  185. package/dist/cdn/{Q73T55TC.js → M6YVO33A.js} +2 -2
  186. package/dist/cdn/{ZWN6DXNO.js → M7AFSV3C.js} +2 -2
  187. package/dist/cdn/{SQYMNL75.js → MA2GVVQJ.js} +2 -2
  188. package/dist/cdn/MA7GBKLW.js +2 -0
  189. package/dist/cdn/{GQXUCZYM.js → MCMACXJV.js} +2 -2
  190. package/dist/cdn/{7VVOJSSE.js → MDWBYUFG.js} +2 -2
  191. package/dist/cdn/{3V3PYL2L.js → MFWSWLBW.js} +2 -2
  192. package/dist/cdn/{3O4SVNIK.js → MICLX7QW.js} +2 -2
  193. package/dist/cdn/MMYODAC2.js +2 -0
  194. package/dist/cdn/{6NWR2Z4F.js → MQYTZX24.js} +2 -2
  195. package/dist/cdn/{45JO7F4Y.js → MTFIK3F4.js} +2 -2
  196. package/dist/cdn/{7AHOPT65.js → MUNSXJ5X.js} +2 -2
  197. package/dist/cdn/{HX4CSRAB.js → MWIDHMQZ.js} +2 -2
  198. package/dist/cdn/{SXQRPAPL.js → MYLIX42T.js} +2 -2
  199. package/dist/cdn/{AYNGSZAL.js → N3DTZRST.js} +2 -2
  200. package/dist/cdn/{CEUIFOR6.js → NB7O2TXG.js} +1 -1
  201. package/dist/cdn/{T2DT5I33.js → ND3V4Z4F.js} +1 -1
  202. package/dist/cdn/{DJTW52JH.js → ND7BSIVO.js} +1 -1
  203. package/dist/cdn/{3A7S62FX.js → NFCFPU7K.js} +2 -2
  204. package/dist/cdn/{2DKTF2EL.js → NJPPZJ3L.js} +2 -2
  205. package/dist/cdn/{BKVCAAPF.js → NQOS7L2J.js} +2 -2
  206. package/dist/cdn/{2AQYGR7K.js → NY7RHFLZ.js} +2 -2
  207. package/dist/cdn/{ISIH65JW.js → O5YJPUFM.js} +2 -2
  208. package/dist/cdn/{TU6ZG6ZI.js → O6HYZKBU.js} +2 -2
  209. package/dist/cdn/{MPKC74OS.js → OAMA6SL3.js} +2 -2
  210. package/dist/cdn/{5XVK5ZBK.js → OAMPGCZF.js} +2 -2
  211. package/dist/cdn/{3YXCLF3K.js → OAYNZFL2.js} +2 -2
  212. package/dist/cdn/{XAMLHDWZ.js → OJIYHIGC.js} +2 -2
  213. package/dist/cdn/{7DDCU3NB.js → OPNJGHML.js} +2 -2
  214. package/dist/cdn/{R3IITUG6.js → OSDGWHZZ.js} +2 -2
  215. package/dist/cdn/{H5AYEQ6D.js → OUC5HWPQ.js} +2 -2
  216. package/dist/cdn/{HX4CDWS4.js → P2I63WVL.js} +2 -2
  217. package/dist/cdn/P3PXDT5V.js +2 -0
  218. package/dist/cdn/{Q22KIHFH.js → PBHNO4J7.js} +2 -2
  219. package/dist/cdn/{2GDB3C5I.js → PBYHBRG7.js} +2 -2
  220. package/dist/cdn/{D3LYSFXK.js → PCOXR45L.js} +2 -2
  221. package/dist/cdn/{XURL7UVF.js → PDH2DA3L.js} +2 -2
  222. package/dist/cdn/{4GRP4KX3.js → PGK2ZJCX.js} +2 -2
  223. package/dist/cdn/{7MOL5GJB.js → PGSBUAGV.js} +2 -2
  224. package/dist/cdn/PGUZODKZ.js +2 -0
  225. package/dist/cdn/{I2A6UYGZ.js → PGXNWDD3.js} +2 -2
  226. package/dist/cdn/{KBHLE7HT.js → PIDNZKSJ.js} +2 -2
  227. package/dist/cdn/{LGW5AS6R.js → PJ5OUPGO.js} +2 -2
  228. package/dist/cdn/{GIOUZTHM.js → PMRI66RQ.js} +2 -2
  229. package/dist/cdn/{AW3C3DKA.js → PPAFKBPN.js} +2 -2
  230. package/dist/cdn/{NRJ6LV6O.js → PWHXRRFU.js} +2 -2
  231. package/dist/cdn/{DPPZZO5W.js → PZSKFFTG.js} +2 -2
  232. package/dist/cdn/{K6D2JHC4.js → PZUVKZGQ.js} +2 -2
  233. package/dist/cdn/{QMQV37ML.js → PZZU36OG.js} +2 -2
  234. package/dist/cdn/{BLYJE76S.js → Q4L65YE5.js} +2 -2
  235. package/dist/cdn/{RAOEF6YV.js → QEPANMVK.js} +2 -2
  236. package/dist/cdn/{OGAUCGGG.js → QKZ552KI.js} +2 -2
  237. package/dist/cdn/{CL2NYK7A.js → QOIURU47.js} +2 -2
  238. package/dist/cdn/{7V7IKYJG.js → QPSAD5DG.js} +2 -2
  239. package/dist/cdn/{6IVEAPNI.js → QT7GRA34.js} +2 -2
  240. package/dist/cdn/{GTRQNPQ7.js → QTB5YKHB.js} +2 -2
  241. package/dist/cdn/{3PVLBFNC.js → QWIDIEXY.js} +2 -2
  242. package/dist/cdn/{6GFUBVBL.js → R5QMO5FY.js} +2 -2
  243. package/dist/cdn/{FUQD5XQR.js → R5TCWJ6V.js} +2 -2
  244. package/dist/cdn/{AZ73DBU3.js → R5TXJ5FN.js} +2 -2
  245. package/dist/cdn/{S6M66TIN.js → R5YW65AI.js} +2 -2
  246. package/dist/cdn/{TC6HL72N.js → R67ZOCIR.js} +2 -2
  247. package/dist/cdn/{4WAV5GOL.js → RGTUSH6U.js} +2 -2
  248. package/dist/cdn/{YLC4L2QV.js → RRSU6QD4.js} +2 -2
  249. package/dist/cdn/{DSDPDMLP.js → RUYAWRPV.js} +2 -2
  250. package/dist/cdn/{AAUN23S6.js → RVEUCXT4.js} +2 -2
  251. package/dist/cdn/{4W35GLNO.js → RVIHQZ44.js} +2 -2
  252. package/dist/cdn/{3L2J4JFP.js → RZGWZ2FJ.js} +2 -2
  253. package/dist/cdn/{WVRJQQKH.js → S6BPBG7D.js} +2 -2
  254. package/dist/cdn/{AAMRTS35.js → S7ORGB5E.js} +2 -2
  255. package/dist/cdn/{55AW5TTI.js → SAOLD6MH.js} +2 -2
  256. package/dist/cdn/{XPIX7Z2Q.js → SEY3WDK2.js} +2 -2
  257. package/dist/cdn/{DMYAI77Y.js → SG55TVJ5.js} +2 -2
  258. package/dist/cdn/{B476G3EX.js → SHU4AE2X.js} +2 -2
  259. package/dist/cdn/{YAEJKOYY.js → SIFBGT4D.js} +2 -2
  260. package/dist/cdn/{TZ2LE7KS.js → SIZZ3BQA.js} +2 -2
  261. package/dist/cdn/{HH5GEJCC.js → SK5CTCTZ.js} +2 -2
  262. package/dist/cdn/{4WXSFT6G.js → SLAFIIZU.js} +2 -2
  263. package/dist/cdn/{27GJE7OY.js → SLSGW7B6.js} +2 -2
  264. package/dist/cdn/{5CER2N5T.js → SMVLPJDD.js} +2 -2
  265. package/dist/cdn/{IETZFE3P.js → SNNAV3AS.js} +2 -2
  266. package/dist/cdn/{4MJJOPAL.js → SOZWCZ7A.js} +1 -1
  267. package/dist/cdn/{7FVXPOAG.js → SQEKT3GV.js} +2 -2
  268. package/dist/cdn/{X3DQNCTZ.js → SR4V2CUQ.js} +2 -2
  269. package/dist/cdn/{YU5BTZEI.js → SZ3T7YEB.js} +1 -1
  270. package/dist/cdn/{Z4WS2RBO.js → TA723HWT.js} +2 -2
  271. package/dist/cdn/{H6RQVSYM.js → TAVTDQ6S.js} +1 -1
  272. package/dist/cdn/{CJ4KIA26.js → TDZIH5OK.js} +2 -2
  273. package/dist/cdn/{JBR3FYAN.js → THJMCEEO.js} +2 -2
  274. package/dist/cdn/TIBX6CCV.js +2 -0
  275. package/dist/cdn/{4WP4DUBT.js → TJQ3GP5V.js} +2 -2
  276. package/dist/cdn/{3DUIQTNG.js → TKILR2SM.js} +2 -2
  277. package/dist/cdn/{4RGFCQOB.js → TMTFZSJS.js} +1 -1
  278. package/dist/cdn/{RPHJDEZH.js → TO6SOEDF.js} +2 -2
  279. package/dist/cdn/{OBMM7WJD.js → TPVHN6P2.js} +2 -2
  280. package/dist/cdn/{VTCM7AV2.js → TSNUOFL7.js} +2 -2
  281. package/dist/cdn/{E5JCJOB3.js → U5DIWFPP.js} +2 -2
  282. package/dist/cdn/{QTDJVI5F.js → UTV2A7J4.js} +2 -2
  283. package/dist/cdn/{RFSBZHJD.js → UUHCMLK6.js} +2 -2
  284. package/dist/cdn/{TZHXSIXK.js → UUNHAVGJ.js} +2 -2
  285. package/dist/cdn/{43IOCYG5.js → UVJWDKLK.js} +2 -2
  286. package/dist/cdn/{BIU6VS3K.js → UZLEFNJL.js} +1 -1
  287. package/dist/cdn/{LL7R6ETJ.js → V2YPYCU6.js} +2 -2
  288. package/dist/cdn/{3DPVKWFO.js → VDEMMP33.js} +2 -2
  289. package/dist/cdn/{3E56Q4ZY.js → VDKEQI3H.js} +2 -2
  290. package/dist/cdn/{BIWQEPK4.js → VLPNB2Z3.js} +2 -2
  291. package/dist/cdn/{XYNRLVTU.js → VTCE3YQW.js} +2 -2
  292. package/dist/cdn/{N6QTPGCU.js → VUAYNF3K.js} +2 -2
  293. package/dist/cdn/{26LWK3XB.js → VZ6UFS6H.js} +2 -2
  294. package/dist/cdn/{276JOEH5.js → W3TSTSES.js} +2 -2
  295. package/dist/cdn/W6PA72LV.js +2 -0
  296. package/dist/cdn/{IFMBHZHX.js → WBBTZNZU.js} +2 -2
  297. package/dist/cdn/{VJVKFKSG.js → WJQUE4DR.js} +1 -1
  298. package/dist/cdn/WK4TNKKC.js +2 -0
  299. package/dist/cdn/{3JCF73F4.js → WNWTWPV6.js} +2 -2
  300. package/dist/cdn/{QOQRNYM5.js → WO26ZR5Z.js} +2 -2
  301. package/dist/cdn/{D7RGMPF3.js → WQI5PKS4.js} +2 -2
  302. package/dist/cdn/{5V2DO6ZW.js → WS46QSWM.js} +2 -2
  303. package/dist/cdn/{WCEDE4CZ.js → WSHG4LV7.js} +2 -2
  304. package/dist/cdn/{3TGYCCNJ.js → WUTCKBNC.js} +2 -2
  305. package/dist/cdn/{GT6FFZHJ.js → X7BOBKIH.js} +2 -2
  306. package/dist/cdn/{ZOHGLZNV.js → XCTPKDKL.js} +2 -2
  307. package/dist/cdn/{OUXE3CSQ.js → XDU23V37.js} +2 -2
  308. package/dist/cdn/{D47546HM.js → XHOI3WNI.js} +1 -1
  309. package/dist/cdn/{VJE33ARY.js → XP74F2F6.js} +2 -2
  310. package/dist/cdn/{YKSVOTDV.js → XYF36P2O.js} +2 -2
  311. package/dist/cdn/{J6MU74RO.js → Y42K6IOP.js} +2 -2
  312. package/dist/cdn/{3ZXNGXHC.js → Y77AVOAH.js} +1 -1
  313. package/dist/cdn/{CUF7GCDT.js → YCHVPSSP.js} +2 -2
  314. package/dist/cdn/{B5GJ5JEW.js → YDZZPLVB.js} +2 -2
  315. package/dist/cdn/{P5HSMYWG.js → YFTQR2WS.js} +2 -2
  316. package/dist/cdn/{CESFJ6AD.js → YQV2OMBS.js} +2 -2
  317. package/dist/cdn/{E53ARLWV.js → YTLRTUMD.js} +2 -2
  318. package/dist/cdn/{TILA2OKK.js → YZJKSAQ5.js} +2 -2
  319. package/dist/cdn/{WBI4RS3V.js → YZUSPKNF.js} +2 -2
  320. package/dist/cdn/{S62FQUEJ.js → Z2ABUIL3.js} +2 -2
  321. package/dist/cdn/{KXGVE4NK.js → Z2UUXST4.js} +2 -2
  322. package/dist/cdn/{PXAY7IM4.js → Z2WYULU3.js} +2 -2
  323. package/dist/cdn/{QKON7YGO.js → Z3W7LQ5M.js} +2 -2
  324. package/dist/cdn/{EESGZV4K.js → Z6AVJWLP.js} +2 -2
  325. package/dist/cdn/{JIQ4P34C.js → Z7H4V2JZ.js} +2 -2
  326. package/dist/cdn/{GF7RZ4IH.js → ZAUG5MSY.js} +2 -2
  327. package/dist/cdn/{FCNNRX3Q.js → ZCFWKPXL.js} +1 -1
  328. package/dist/cdn/{3XEPXV4Q.js → ZDMSSGIM.js} +2 -2
  329. package/dist/cdn/{KT7MEZHJ.js → ZF4DFDLT.js} +2 -2
  330. package/dist/cdn/{UHK5GFKQ.js → ZFO3PVZQ.js} +2 -2
  331. package/dist/cdn/{YWC5AUFV.js → ZGOAZB5L.js} +1 -1
  332. package/dist/cdn/{QJWFZYU4.js → ZHSESERJ.js} +2 -2
  333. package/dist/cdn/{EOTKZ4F3.js → ZIBQTNB6.js} +2 -2
  334. package/dist/cdn/{WQMZ7BDQ.js → ZKWI43WZ.js} +2 -2
  335. package/dist/cdn/{SREWXCMU.js → ZO7TUIUE.js} +2 -2
  336. package/dist/cdn/ZSPYPXBY.js +2 -0
  337. package/dist/cdn/index.js +2 -2
  338. package/dist/cdn/main.css +1 -1
  339. package/dist/chunks/AnalysisViewModel.js +1 -1
  340. package/dist/chunks/GeolocationPositioning.js +1 -1
  341. package/dist/chunks/action-utils.js +8 -8
  342. package/dist/chunks/async-utils.js +1 -1
  343. package/dist/chunks/attachment-utils.js +1 -1
  344. package/dist/chunks/chart-utils.js +1 -1
  345. package/dist/chunks/chartCommon.js +1 -1
  346. package/dist/chunks/clipoardSymbolHelper.js +1 -1
  347. package/dist/chunks/component-utils.js +1 -1
  348. package/dist/chunks/component-wrapper.js +1 -1
  349. package/dist/chunks/constants.js +1 -1
  350. package/dist/chunks/constants2.js +1 -1
  351. package/dist/chunks/css.js +1 -1
  352. package/dist/chunks/dateUtils.js +1 -1
  353. package/dist/chunks/earth-utils.js +1 -1
  354. package/dist/chunks/esri-main.js +2 -2
  355. package/dist/chunks/feature-utils.js +1 -1
  356. package/dist/chunks/field.js +1 -1
  357. package/dist/chunks/formattingUtils.js +1 -1
  358. package/dist/chunks/globalCss.js +1 -1
  359. package/dist/chunks/goTo.js +1 -1
  360. package/dist/chunks/graphicsLayerController.js +1 -1
  361. package/dist/chunks/handle.js +1 -1
  362. package/dist/chunks/heading.js +1 -1
  363. package/dist/chunks/keyboard-utils.js +1 -1
  364. package/dist/chunks/layer-list-next.js +1 -1
  365. package/dist/chunks/layer-list-utils.js +1 -1
  366. package/dist/chunks/layer-utils.js +1 -1
  367. package/dist/chunks/layer-utils2.js +1 -1
  368. package/dist/chunks/legacyIcon.js +1 -1
  369. package/dist/chunks/maybe.js +1 -1
  370. package/dist/chunks/measurementUtils.js +1 -1
  371. package/dist/chunks/print-exports-panel-item-popover.js +1 -1
  372. package/dist/chunks/resources.js +1 -1
  373. package/dist/chunks/runtime.js +2 -2
  374. package/dist/chunks/screenLocation.js +1 -1
  375. package/dist/chunks/slots.js +1 -1
  376. package/dist/chunks/sr.js +1 -1
  377. package/dist/chunks/svgUtils.js +1 -1
  378. package/dist/chunks/time-utils.js +1 -1
  379. package/dist/chunks/titleUtils.js +1 -1
  380. package/dist/chunks/types.js +1 -1
  381. package/dist/chunks/univariateUtils.js +1 -1
  382. package/dist/chunks/urlUtils.js +1 -1
  383. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  384. package/dist/chunks/useCloseEvent.js +1 -1
  385. package/dist/chunks/useLayerById.js +1 -1
  386. package/dist/chunks/useT9n.js +1 -1
  387. package/dist/chunks/useView.js +1 -1
  388. package/dist/chunks/useViewModel.js +1 -1
  389. package/dist/chunks/useWidget.js +1 -1
  390. package/dist/chunks/utils.js +1 -1
  391. package/dist/chunks/utils2.js +1 -1
  392. package/dist/chunks/utils3.js +1 -1
  393. package/dist/chunks/utils4.js +1 -1
  394. package/dist/chunks/utils5.js +1 -1
  395. package/dist/chunks/utils6.js +1 -1
  396. package/dist/chunks/video-utils.js +1 -1
  397. package/dist/chunks/visible-element.js +1 -1
  398. package/dist/chunks/zoom.js +1 -1
  399. package/dist/components/arcgis-add-attachment-view/customElement.js +1 -1
  400. package/dist/components/arcgis-aggregated-features/customElement.js +2 -2
  401. package/dist/components/arcgis-area-measurement-2d/customElement.js +14 -14
  402. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  403. package/dist/components/arcgis-attachment-preview/customElement.js +1 -1
  404. package/dist/components/arcgis-attachment-thumbnail/customElement.js +1 -1
  405. package/dist/components/arcgis-attachment-validation-view/customElement.js +1 -1
  406. package/dist/components/arcgis-attachments/customElement.js +1 -1
  407. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  408. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  409. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  410. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +13 -13
  411. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +30 -30
  412. package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +1 -1
  413. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  414. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  415. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  416. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  417. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  418. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  419. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  420. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  421. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +7 -7
  422. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +17 -17
  423. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
  424. package/dist/components/arcgis-clipboard/customElement.js +1 -1
  425. package/dist/components/arcgis-color-select/customElement.js +1 -1
  426. package/dist/components/arcgis-compass/customElement.js +1 -1
  427. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  428. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +1 -1
  429. package/dist/components/arcgis-daylight/customElement.js +1 -1
  430. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  431. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  432. package/dist/components/arcgis-directions/customElement.js +1 -1
  433. package/dist/components/arcgis-distance-measurement-2d/customElement.js +27 -27
  434. package/dist/components/arcgis-editor/customElement.js +1 -1
  435. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  436. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  437. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  438. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  439. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  440. package/dist/components/arcgis-expand/customElement.js +1 -1
  441. package/dist/components/arcgis-exploratory-analysis/customElement.js +1 -1
  442. package/dist/components/arcgis-feature/customElement.js +1 -1
  443. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  444. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  445. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  446. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  447. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  448. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  449. package/dist/components/arcgis-feature-form-field/customElement.js +1 -1
  450. package/dist/components/arcgis-feature-form-field-number/customElement.js +1 -1
  451. package/dist/components/arcgis-feature-form-text/customElement.d.ts +7 -0
  452. package/dist/components/arcgis-feature-form-text/customElement.js +24 -0
  453. package/dist/components/arcgis-feature-form-text/index.d.ts +1 -0
  454. package/dist/components/arcgis-feature-form-text/index.js +1 -0
  455. package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
  456. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +1 -1
  457. package/dist/components/arcgis-feature-image/customElement.js +1 -1
  458. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  459. package/dist/components/arcgis-feature-next/customElement.d.ts +14 -6
  460. package/dist/components/arcgis-feature-next/customElement.js +32 -32
  461. package/dist/components/arcgis-feature-relationship/customElement.js +70 -70
  462. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  463. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  464. package/dist/components/arcgis-feature-templates-legacy/customElement.js +1 -1
  465. package/dist/components/arcgis-feature-title/customElement.js +1 -1
  466. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +22 -22
  467. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +16 -16
  468. package/dist/components/arcgis-features/customElement.js +1 -1
  469. package/dist/components/arcgis-features-next/customElement.d.ts +1 -1
  470. package/dist/components/arcgis-features-next/customElement.js +10 -10
  471. package/dist/components/arcgis-file-picker/customElement.js +1 -1
  472. package/dist/components/arcgis-filter-builder/customElement.js +1 -1
  473. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  474. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  475. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  476. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  477. package/dist/components/arcgis-home/customElement.js +1 -1
  478. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  479. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  480. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +1 -1
  481. package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
  482. package/dist/components/arcgis-layer-list-next/customElement.d.ts +9 -9
  483. package/dist/components/arcgis-layer-list-next/customElement.js +15 -15
  484. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +1 -1
  485. package/dist/components/arcgis-legend/customElement.d.ts +2 -2
  486. package/dist/components/arcgis-legend/customElement.js +2 -2
  487. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  488. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  489. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  490. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  491. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  492. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  493. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  494. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  495. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  496. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  497. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  498. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  499. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  500. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  501. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  502. package/dist/components/arcgis-link-chart/customElement.d.ts +7 -1
  503. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  504. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  505. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
  506. package/dist/components/arcgis-locate/customElement.js +1 -1
  507. package/dist/components/arcgis-map/customElement.d.ts +7 -1
  508. package/dist/components/arcgis-map/customElement.js +1 -1
  509. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  510. package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
  511. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  512. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -1
  513. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -5
  514. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +1 -1
  515. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
  516. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
  517. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.js +1 -1
  518. package/dist/components/arcgis-paste/customElement.js +1 -1
  519. package/dist/components/arcgis-popup/customElement.d.ts +1 -1
  520. package/dist/components/arcgis-popup/customElement.js +11 -11
  521. package/dist/components/arcgis-presentation/customElement.js +1 -1
  522. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  523. package/dist/components/arcgis-presentation-slide-list/customElement.js +1 -1
  524. package/dist/components/arcgis-print/customElement.js +1 -1
  525. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  526. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +1 -1
  527. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  528. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  529. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  530. package/dist/components/arcgis-print-exports-panel-item-popover/customElement.js +1 -1
  531. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  532. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  533. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  534. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  535. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  536. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  537. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  538. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  539. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  540. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  541. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  542. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  543. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  544. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  545. package/dist/components/arcgis-scene/customElement.d.ts +7 -1
  546. package/dist/components/arcgis-scene/customElement.js +1 -1
  547. package/dist/components/arcgis-search/customElement.js +1 -1
  548. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  549. package/dist/components/arcgis-selection-list/customElement.d.ts +0 -1
  550. package/dist/components/arcgis-selection-list/customElement.js +1 -1
  551. package/dist/components/arcgis-selection-toolbar/customElement.js +1 -1
  552. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  553. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  554. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  555. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  556. package/dist/components/arcgis-sketch/customElement.js +1 -1
  557. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  558. package/dist/components/arcgis-slice/customElement.js +1 -1
  559. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
  560. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  561. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  562. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  563. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
  564. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  565. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  566. package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
  567. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  568. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  569. package/dist/components/arcgis-spinner/customElement.js +1 -1
  570. package/dist/components/arcgis-swipe/customElement.js +1 -1
  571. package/dist/components/arcgis-table-list/customElement.js +1 -1
  572. package/dist/components/arcgis-table-list-next/customElement.d.ts +3 -3
  573. package/dist/components/arcgis-table-list-next/customElement.js +6 -6
  574. package/dist/components/arcgis-template-image/customElement.js +1 -1
  575. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  576. package/dist/components/arcgis-time-bar-date/customElement.js +1 -1
  577. package/dist/components/arcgis-time-bar-extent/customElement.js +1 -1
  578. package/dist/components/arcgis-time-bar-settings/customElement.js +1 -1
  579. package/dist/components/arcgis-time-bar-slider/customElement.js +25 -24
  580. package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
  581. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  582. package/dist/components/arcgis-time-zone-chip/customElement.js +1 -1
  583. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  584. package/dist/components/arcgis-time-zone-selector/customElement.js +1 -1
  585. package/dist/components/arcgis-track/customElement.js +1 -1
  586. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  587. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  588. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  589. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  590. package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
  591. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  592. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +1 -1
  593. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  594. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +1 -1
  595. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +1 -1
  596. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
  597. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  598. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
  599. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  600. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.js +1 -1
  601. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  602. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  603. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  604. package/dist/components/arcgis-version-management/customElement.js +1 -1
  605. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  606. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  607. package/dist/components/arcgis-version-management-version-list-item/customElement.js +1 -1
  608. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  609. package/dist/components/arcgis-video/customElement.js +1 -1
  610. package/dist/components/arcgis-video-player/customElement.js +1 -1
  611. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  612. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  613. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  614. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  615. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  616. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  617. package/dist/components/arcgis-view-popover/customElement.js +1 -1
  618. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  619. package/dist/components/arcgis-weather/customElement.js +1 -1
  620. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  621. package/dist/components/arcgis-zoom/customElement.js +1 -1
  622. package/dist/components/feature-form-next/customElement.js +1 -1
  623. package/dist/docs/api.json +1 -1
  624. package/dist/docs/docs.json +1 -1
  625. package/dist/docs/vscode.css-custom-data.json +1 -1
  626. package/dist/docs/vscode.html-custom-data.json +1 -1
  627. package/dist/docs/web-types.json +1 -1
  628. package/dist/index.d.ts +4 -0
  629. package/dist/index.js +1 -1
  630. package/dist/loader.js +6 -5
  631. package/dist/types/lumina.d.ts +6 -1
  632. package/dist/types/preact.d.ts +7 -1
  633. package/dist/types/react.d.ts +8 -1
  634. package/dist/types/stencil.d.ts +6 -1
  635. package/dist/utils/layer-list-utils.d.ts +2 -2
  636. package/package.json +6 -6
  637. package/dist/cdn/7R2TTA5R.js +0 -2
  638. package/dist/cdn/AKDB2XVJ.js +0 -2
  639. package/dist/cdn/AN3BGKZP.js +0 -2
  640. package/dist/cdn/DBA7NSTP.js +0 -2
  641. package/dist/cdn/E7RFFMRP.js +0 -2
  642. package/dist/cdn/EZCNI254.js +0 -2
  643. package/dist/cdn/F4O7DFPZ.js +0 -2
  644. package/dist/cdn/FDXRUZWU.js +0 -2
  645. package/dist/cdn/KJ6TWPZT.js +0 -2
  646. package/dist/cdn/KY3ND2AY.js +0 -2
  647. package/dist/cdn/NOIAW4P4.js +0 -2
  648. package/dist/cdn/QDXORLKV.js +0 -2
  649. package/dist/cdn/QUZTFUWM.js +0 -1
  650. package/dist/cdn/WEAGLY7B.js +0 -2
  651. package/dist/cdn/WYNLO2MH.js +0 -2
  652. package/dist/cdn/XIYYT5SJ.js +0 -2
  653. package/dist/cdn/XKHGN6LQ.js +0 -2
  654. package/dist/cdn/YDB2XJRU.js +0 -2
  655. package/dist/cdn/YY45XUPP.js +0 -2
  656. package/dist/cdn/Z6AYJE6L.js +0 -2
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import t from"./NZBID35V.js";import"./4TTVVGYW.js";import{a as g}from"./JCRPP54Z.js";import s from"./3DPVKWFO.js";import r from"./KXGVE4NK.js";import{a as j,b as q,c as z,g as F,h as J,j as K,k as Q,m,n as T}from"./FCNNRX3Q.js";import{a as H}from"./XAADUJ74.js";import{a as b}from"./KBHLE7HT.js";import o from"./IFMBHZHX.js";import n from"./TMJX7DFH.js";import l from"./DSDPDMLP.js";import"./VJVKFKSG.js";import i from"./CQQM24VF.js";import{a as k}from"./WEAGLY7B.js";import{a as w}from"./JD74LG7K.js";import{a as G}from"./YAEJKOYY.js";import h from"./AN3BGKZP.js";import e from"./FZWFKZLW.js";import c from"./JBHRVHGS.js";import{h as B}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as N}from"./WQMZ7BDQ.js";import{B as P,N as L,O as f,P as R,R as v,U as E,V as M,X as x,b as d,x as p}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([re,u,{on:A,watch:te},,,,S,U,,,,,{e:V,h:W,k:X},{a:Y,b:Z,c:ee}])=>{var ie="nested",le=U(re),O=class extends R{constructor(){super(...arguments),this._lastDragDetail=null,this._rootListRef=L(),this._layerFlowItemRef=L(),this._panelFlowItemRef=L(),this._selectedDragItemLayerUid=null,this._rootGroupUid=`operational-${P()}`,this._openedLayersController=null,this.messages=k(),this._canMove=({dragEl:e,fromEl:t,toEl:i},a)=>{let s=a==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,r=m(e,this.operationalItems);if(!r?.sortable)return!1;let l=this._resolveListContainer(t),o=this._resolveListContainer(i),n=this._getContainerItem(l),c=T(l),y=this._getContainerItem(o),_=T(o),$=!!c&&!!_&&c===_,I={selected:r,from:n,to:y},C=l?.group,h=o?.group,se=n?.layer?.type??"",ae=y?.layer?.type??"",D=new Set(["map-image","catalog","knowledge-graph"]);return C&&h&&typeof s=="function"?s(I):$&&!D.has(se)&&!D.has(ae)&&r?.layer?.type!=="sublayer"},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer)},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(a=>a.classList?.contains(g.item)),i=m(t,this.operationalItems);this._activeItem=i},this.viewModel=le(this),this.arcgisClose=G(this),this._activeItem=null,this._onTooltipReferenceChange=(e,t)=>{t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.layerTablesEnabled=new u(["knowledge-graph"]),this.mapImageOptions=null,this.openedLayerLists=new u,this.tileOptions=null,this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.hideCatalogLayerList=!1,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.hideStatusIndicators=!1,this.icon="layers",this.layerTablesAvailable=new u(["knowledge-graph"]),this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.listModeDisabled=this.viewModel.listModeDisabled,this.minDragEnabledItems=z,this.minFilterItems=q,this.openedLayers=new u,this.operationalItems=this.viewModel.operationalItems,this.selectedItems=new u,this.selectionMode="none",this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.showHeading=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.view=this.viewModel.view,this.visibilityAppearance="default",this.arcgisFilterChange=p(),this.arcgisOpenedLayersChange=p(),this.arcgisPropertyChange=B()("state"),this.arcgisReady=p(),this.arcgisSelectedItemsChange=p(),this.arcgisTriggerAction=S(()=>this.viewModel,"trigger-action")}static{this.properties={_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,_totalItems:16,_visibleItems:16,_openedPanelItems:16,_dragEnabled:16,_filterEnabled:16,layerTablesEnabled:16,mapImageOptions:16,openedLayerLists:16,tileOptions:16,_renderedOpenLayerFlowItems:16,autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:5,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,layerTablesAvailable:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listItemCreatedFunction:0,listModeDisabled:5,messageOverrides:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:32,operationalItems:0,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:32,tableList:32,view:0,visibilityAppearance:1}}static{this.styles=[ee,Z]}get _totalItems(){return this.viewModel.operationalItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _visibleItems(){return this.operationalItems?.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleItems.flatten(e=>e.children).filter(e=>!e.hidden&&e.panel?.open&&!e.panel.disabled&&e.panel.flowEnabled&&(!W(e)||V(e)))}get _dragEnabled(){return this._totalItems>=this.minDragEnabledItems&&this.dragEnabled}get _filterEnabled(){return this._totalItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){let{openedLayers:e}=this;return e.toArray().map((t,i)=>this._renderLayerFlowItem(t,i===e.length-1))}get catalogLayerList(){return this._catalogLayerList}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[A(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),A(()=>this.viewModel.operationalItems,"change",()=>F(this.selectedItems),{initial:!0}),te(()=>this.operationalItems.flatten(e=>e.children).map(e=>e.uid).join(","),()=>{F(this.selectedItems),this.requestUpdate()},{initial:!0}),A(()=>this.selectedItems,"change",()=>this.arcgisSelectedItemsChange.emit()),te(()=>[this.filterPredicate,this._rootListRef.value],()=>J(this._rootListRef.value,this.filterPredicate,this.operationalItems))])}triggerAction(e,t){return this.viewModel.triggerAction(e,t)}_resolveListContainer(e){return e?e.matches("calcite-list")?e:e.closest("calcite-list[data-item]")||(this._rootListRef.value?.contains(e)?this._rootListRef.value:null):null}_getContainerItem(e){let t=e?.getAttribute("data-item");return t?this._findItemByUid(t):null}_findItemByUid(e){let t=this.operationalItems?.toArray()??[];for(;t.length;){let i=t.shift();if(!i)continue;if(i.uid===e)return i;let a=i.children?.toArray()??[];t.push(...a)}return null}async _createFlowList(e,t){let{_layerListMap:i}=this,a=i.get(e);if(a)return a;let s=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||i.set(e,s),s}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let a=new AbortController,{signal:s}=a;this._openedLayersController=a,e.forEach((o,n)=>{t.includes(n)||(o?.destroy?.(),e.delete(n))});let r=await Promise.all(t.map(o=>this._createFlowList(o,s)));if(s.aborted)return;i.removeAll(),i.addMany(r);let l=i.at(-1);l?"catalogLayer"in l?(this._catalogLayerList=l,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=l):(this._catalogLayerList=void 0,this._tableList=void 0),this.arcgisOpenedLayersChange.emit()}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:a,listItemCreatedFunction:s,minFilterItems:r,selectionMode:l,visibilityAppearance:o}=this;return M(d`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??a} .listItemCreatedFunction=${i?.listItemCreatedFunction??s} .minFilterItems=${i?.minFilterItems??r} .selectionMode=${i?.selectionMode??l} .visibilityAppearance=${i?.visibilityAppearance??o} .showErrors=${i?.showErrors??this.showErrors} .showFilter=${i?.showFilter??this.showFilter} .hideStatusIndicators=${i?.hideStatusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.showTemporaryLayerIndicators??this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${n=>n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let{headingLevel:t,selectionMode:i,dragEnabled:a}=this,s=this._getTableListParams(e);return M(d`<arcgis-table-list-next .headingLevel=${s?.headingLevel??t} .selectionMode=${s?.selectionMode??i} .dragEnabled=${s?.dragEnabled??a} .collapsed=${s?.collapsed} .filterPlaceholder=${s?.filterPlaceholder} .filterText=${s?.filterText} .icon=${s?.icon??void 0} .label=${s?.label??void 0} .listItemCreatedFunction=${s?.listItemCreatedFunction} .messageOverrides=${this.messageOverrides} .tables=${s?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${r=>r.stopPropagation()}></arcgis-table-list-next>`)}_handlePanelFlowItemBack(e){e.open=!1}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:a}){let s=this._resolveListContainer(e),r=this._resolveListContainer(t),l=m(i,this.operationalItems),o=this._getContainerItem(s),n=this._getContainerItem(r);a==null||!l||(this.viewModel.moveItem(l,n,o,a),X(this,l.uid,c=>c!==i&&this._resolveListContainer(c.parentElement)===s))}_onCalciteListDragEnd(e){let{fromEl:t,toEl:i,dragEl:a,oldIndex:s}=e;if(t!==i){a.remove();return}s==null||!t||!a||t.insertBefore(a,t.children[s])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{dragEl:i,newIndex:a}=e,s=this._resolveListContainer(e.fromEl),r=this._resolveListContainer(e.toEl),l=t?.newIndex===a&&t?.dragEl===i&&t?.toEl===r&&t?.fromEl===s;if(!(!s||!r||l)){if(this._lastDragDetail={...e,fromEl:s,toEl:r},this._selectedDragItemLayerUid=i.value,s===r){let o=Array.from(s.children).filter(n=>n?.matches("calcite-list-item")).map(n=>n.value.layer?.uid??"");this._sortLayers(s,o);return}this._moveLayerFromChildList({toEl:r,fromEl:s,dragEl:i,newIndex:a})}}_sortLayers(e,t){if(e)if(e===this._rootListRef.value)K(this.el.view?.map?.layers,t);else{let i=m(e,this.operationalItems);if(!i)return;Q(i,t)}}_handleCalciteListChange(e){let{selectionMode:t,selectedItems:i}=this;if(t==="none")return;let a=e.target.selectedItems.map(s=>m(s,this.operationalItems)).filter(Boolean);i.removeAll(),i.addMany(a)}render(){let{state:e}=this,t={[w.hidden]:e==="loading",[w.disabled]:e==="disabled"};return d`<div class=${v(N(w.widget,t))}>${this._visibleItems?.length?this._renderItemTooltips():null}${this._renderItems()}</div>`}_renderItemTooltip(e){let{_tooltipReferenceMap:t,messages:i}=this;return e?d`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer?.uid??"")}>${i.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i))??[];return t.length?t:null}_renderItemTooltips(){return this._visibleItems?.toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoItemsMessage(){return d`<div slot=message>${this.messages.noItemsToDisplay}</div>`}_renderNoItems(){return this.hideNoItemsNotice?null:d`<div class=${v(g.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`}_renderLayerFlowItem(e,t){let{messages:i,openedLayers:a}=this,s=e.title||this.messages.untitledLayer;return b(e?.uid??s,d`<calcite-flow-item data-layer-uid=${e?.uid??""??E} .description=${s} .heading=${i[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${r=>{r.preventDefault(),a.pop(),a.at(-1)&&this._layerFlowItemRef.value?.setFocus()}} ${f(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderPanelFlowItems(){let{_openedPanelItems:e,openedLayers:t}=this;return H(e.toArray(),i=>i.uid,(i,a)=>{let{panel:s,title:r}=i,l=()=>this._handlePanelFlowItemBack(s);return d`<calcite-flow-item .description=${r} .heading=${s.title} .headingLevel=${this.headingLevel} .selected=${!t.length&&a===e.length-1} @calciteFlowItemBack=${o=>{o.preventDefault(),l()}} ${f(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${i} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${l} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderItems(){let{collapsed:e,_visibleItems:t,_openedPanelItems:i,_filterEnabled:a,_rootGroupUid:s,showCloseButton:r,showCollapseButton:l,showHeading:o,_dragEnabled:n,selectionMode:c,filterText:y,openedLayers:_,filterPlaceholder:$,messages:I}=this,C=[d`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${l} .heading=${o?I.componentLabel:void 0} .headingLevel=${this.headingLevel} .selected=${!_.length&&!i.length} @calciteFlowItemClose=${()=>this.closed=!1}>${t?.length?d`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${h=>this._canMove(h,"pull")} .canPut=${h=>this._canMove(h,"put")} data-layer-type=${s??E} .displayMode=${ie} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${$} .filterProps=${j} .filterText=${a?y:""} .group=${s} .label=${I.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${c} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${h=>{this.filterText=h.currentTarget?.filterText??"",this.arcgisFilterChange.emit()}} @calciteListOrderChange=${h=>this._onCalciteListOrderChange(h.detail)} @calciteListDragEnd=${h=>this._onCalciteListDragEnd(h.detail)} ${f(this._rootListRef)}>${t.toArray().map(h=>this._renderItem(h))}${a&&!this.hideNoFilterResultsNotice?d`<div class=${v(g.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`:null}</calcite-list>`:this._renderNoItems()}</calcite-flow-item>`,this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];return this.closed?null:b("root-flow",d`<calcite-flow>${C}</calcite-flow>`)}_renderItem(e,t,i){return b(e.uid,Y({activeItem:this._activeItem,canMove:this._canMove,css:g,displayMode:ie,dragEnabled:this.dragEnabled,hideStatusIndicators:this.hideStatusIndicators,hideCatalogLayerList:this.hideCatalogLayerList,item:e,messages:this.messages,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,operationalItems:this.operationalItems,parent:t,parentTitles:i,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem,showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,showCloseButton:this.showCloseButton,showCollapseButton:this.showCollapseButton,showErrors:this.showErrors,showHeading:this.showHeading,showFilter:this.showFilter,clearActiveItem:this._clearActiveItem,visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction,handleCatalogOpen:this._onCatalogOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,handleTablesOpen:this._onTablesOpen,handleTooltipReferenceChange:this._onTooltipReferenceChange,view:this.view}))}};x("arcgis-layer-list-next",O);return O},"layers/list/LayerItemCollection","core/Collection","core/reactiveUtils",a,c,e,h,i,l,n,o,r,s,t)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import t from"./GNSNEUMI.js";import"./53OXTCE6.js";import{a as g}from"./4L43F7HU.js";import s from"./VDEMMP33.js";import r from"./Z2UUXST4.js";import{a as j,b as q,c as z,g as F,h as J,j as K,k as Q,m,n as T}from"./ZCFWKPXL.js";import{a as H}from"./DUMHDAYP.js";import{a as b}from"./PIDNZKSJ.js";import o from"./WBBTZNZU.js";import n from"./HU57LQOA.js";import l from"./RUYAWRPV.js";import"./WJQUE4DR.js";import i from"./BQBWXR6P.js";import{a as k}from"./ZSPYPXBY.js";import{a as w}from"./L5IRXOCJ.js";import{a as G}from"./SIFBGT4D.js";import h from"./P3PXDT5V.js";import e from"./ALVAGE57.js";import c from"./HPWF3IQV.js";import{h as B}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as N}from"./ZKWI43WZ.js";import{B as P,N as L,O as f,P as R,R as v,U as E,V as M,X as x,b as d,x as p}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([re,u,{on:A,watch:te},,,,S,U,,,,,{e:V,h:W,k:X},{a:Y,b:Z,c:ee}])=>{var ie="nested",le=U(re),O=class extends R{constructor(){super(...arguments),this._lastDragDetail=null,this._rootListRef=L(),this._layerFlowItemRef=L(),this._panelFlowItemRef=L(),this._selectedDragItemLayerUid=null,this._rootGroupUid=`operational-${P()}`,this._openedLayersController=null,this.messages=k(),this._canMove=({dragEl:e,fromEl:t,toEl:i},a)=>{let s=a==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,r=m(e,this.operationalItems);if(!r?.sortable)return!1;let l=this._resolveListContainer(t),o=this._resolveListContainer(i),n=this._getContainerItem(l),c=T(l),y=this._getContainerItem(o),_=T(o),$=!!c&&!!_&&c===_,I={selected:r,from:n,to:y},C=l?.group,h=o?.group,se=n?.layer?.type??"",ae=y?.layer?.type??"",D=new Set(["map-image","catalog","knowledge-graph"]);return C&&h&&typeof s=="function"?s(I):$&&!D.has(se)&&!D.has(ae)&&r?.layer?.type!=="sublayer"},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer)},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(a=>a.classList?.contains(g.item)),i=m(t,this.operationalItems);this._activeItem=i},this.viewModel=le(this),this.arcgisClose=G(this),this._activeItem=null,this._onTooltipReferenceChange=(e,t)=>{t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.layerTablesEnabled=new u(["knowledge-graph"]),this.mapImageOptions=null,this.openedLayerLists=new u,this.tileOptions=null,this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.hideCatalogLayerList=!1,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.hideStatusIndicators=!1,this.icon="layers",this.layerTablesAvailable=new u(["knowledge-graph"]),this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.listModeDisabled=this.viewModel.listModeDisabled,this.minDragEnabledItems=z,this.minFilterItems=q,this.openedLayers=new u,this.operationalItems=this.viewModel.operationalItems,this.selectedItems=new u,this.selectionMode="none",this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.showHeading=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.view=this.viewModel.view,this.visibilityAppearance="default",this.arcgisFilterChange=p(),this.arcgisOpenedLayersChange=p(),this.arcgisPropertyChange=B()("state"),this.arcgisReady=p(),this.arcgisSelectedItemsChange=p(),this.arcgisTriggerAction=S(()=>this.viewModel,"trigger-action")}static{this.properties={_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,_totalItems:16,_visibleItems:16,_openedPanelItems:16,_dragEnabled:16,_filterEnabled:16,layerTablesEnabled:16,mapImageOptions:16,openedLayerLists:16,tileOptions:16,_renderedOpenLayerFlowItems:16,autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:5,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,layerTablesAvailable:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listItemCreatedFunction:0,listModeDisabled:5,messageOverrides:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:32,operationalItems:0,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:32,tableList:32,view:0,visibilityAppearance:1}}static{this.styles=[ee,Z]}get _totalItems(){return this.viewModel.operationalItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _visibleItems(){return this.operationalItems?.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleItems.flatten(e=>e.children).filter(e=>!e.hidden&&e.panel?.open&&!e.panel.disabled&&e.panel.flowEnabled&&(!W(e)||V(e)))}get _dragEnabled(){return this._totalItems>=this.minDragEnabledItems&&this.dragEnabled}get _filterEnabled(){return this._totalItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){let{openedLayers:e}=this;return e.toArray().map((t,i)=>this._renderLayerFlowItem(t,i===e.length-1))}get catalogLayerList(){return this._catalogLayerList}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[A(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),A(()=>this.viewModel.operationalItems,"change",()=>F(this.selectedItems),{initial:!0}),te(()=>this.operationalItems.flatten(e=>e.children).map(e=>e.uid).join(","),()=>{F(this.selectedItems),this.requestUpdate()},{initial:!0}),A(()=>this.selectedItems,"change",()=>this.arcgisSelectedItemsChange.emit()),te(()=>[this.filterPredicate,this._rootListRef.value],()=>J(this._rootListRef.value,this.filterPredicate,this.operationalItems))])}triggerAction(e,t){return this.viewModel.triggerAction(e,t)}_resolveListContainer(e){return e?e.matches("calcite-list")?e:e.closest("calcite-list[data-item]")||(this._rootListRef.value?.contains(e)?this._rootListRef.value:null):null}_getContainerItem(e){let t=e?.getAttribute("data-item");return t?this._findItemByUid(t):null}_findItemByUid(e){let t=this.operationalItems?.toArray()??[];for(;t.length;){let i=t.shift();if(!i)continue;if(i.uid===e)return i;let a=i.children?.toArray()??[];t.push(...a)}return null}async _createFlowList(e,t){let{_layerListMap:i}=this,a=i.get(e);if(a)return a;let s=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||i.set(e,s),s}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let a=new AbortController,{signal:s}=a;this._openedLayersController=a,e.forEach((o,n)=>{t.includes(n)||(o?.destroy?.(),e.delete(n))});let r=await Promise.all(t.map(o=>this._createFlowList(o,s)));if(s.aborted)return;i.removeAll(),i.addMany(r);let l=i.at(-1);l?"catalogLayer"in l?(this._catalogLayerList=l,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=l):(this._catalogLayerList=void 0,this._tableList=void 0),this.arcgisOpenedLayersChange.emit()}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:a,listItemCreatedFunction:s,minFilterItems:r,selectionMode:l,visibilityAppearance:o}=this;return M(d`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??a} .listItemCreatedFunction=${i?.listItemCreatedFunction??s} .minFilterItems=${i?.minFilterItems??r} .selectionMode=${i?.selectionMode??l} .visibilityAppearance=${i?.visibilityAppearance??o} .showErrors=${i?.showErrors??this.showErrors} .showFilter=${i?.showFilter??this.showFilter} .hideStatusIndicators=${i?.hideStatusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.showTemporaryLayerIndicators??this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${n=>n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let{headingLevel:t,selectionMode:i,dragEnabled:a}=this,s=this._getTableListParams(e);return M(d`<arcgis-table-list-next .headingLevel=${s?.headingLevel??t} .selectionMode=${s?.selectionMode??i} .dragEnabled=${s?.dragEnabled??a} .collapsed=${s?.collapsed} .filterPlaceholder=${s?.filterPlaceholder} .filterText=${s?.filterText} .icon=${s?.icon??void 0} .label=${s?.label??void 0} .listItemCreatedFunction=${s?.listItemCreatedFunction} .messageOverrides=${this.messageOverrides} .tables=${s?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${r=>r.stopPropagation()}></arcgis-table-list-next>`)}_handlePanelFlowItemBack(e){e.open=!1}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:a}){let s=this._resolveListContainer(e),r=this._resolveListContainer(t),l=m(i,this.operationalItems),o=this._getContainerItem(s),n=this._getContainerItem(r);a==null||!l||(this.viewModel.moveItem(l,n,o,a),X(this,l.uid,c=>c!==i&&this._resolveListContainer(c.parentElement)===s))}_onCalciteListDragEnd(e){let{fromEl:t,toEl:i,dragEl:a,oldIndex:s}=e;if(t!==i){a.remove();return}s==null||!t||!a||t.insertBefore(a,t.children[s])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{dragEl:i,newIndex:a}=e,s=this._resolveListContainer(e.fromEl),r=this._resolveListContainer(e.toEl),l=t?.newIndex===a&&t?.dragEl===i&&t?.toEl===r&&t?.fromEl===s;if(!(!s||!r||l)){if(this._lastDragDetail={...e,fromEl:s,toEl:r},this._selectedDragItemLayerUid=i.value,s===r){let o=Array.from(s.children).filter(n=>n?.matches("calcite-list-item")).map(n=>n.value.layer?.uid??"");this._sortLayers(s,o);return}this._moveLayerFromChildList({toEl:r,fromEl:s,dragEl:i,newIndex:a})}}_sortLayers(e,t){if(e)if(e===this._rootListRef.value)K(this.el.view?.map?.layers,t);else{let i=m(e,this.operationalItems);if(!i)return;Q(i,t)}}_handleCalciteListChange(e){let{selectionMode:t,selectedItems:i}=this;if(t==="none")return;let a=e.target.selectedItems.map(s=>m(s,this.operationalItems)).filter(Boolean);i.removeAll(),i.addMany(a)}render(){let{state:e}=this,t={[w.hidden]:e==="loading",[w.disabled]:e==="disabled"};return d`<div class=${v(N(w.widget,t))}>${this._visibleItems?.length?this._renderItemTooltips():null}${this._renderItems()}</div>`}_renderItemTooltip(e){let{_tooltipReferenceMap:t,messages:i}=this;return e?d`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer?.uid??"")}>${i.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i))??[];return t.length?t:null}_renderItemTooltips(){return this._visibleItems?.toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoItemsMessage(){return d`<div slot=message>${this.messages.noItemsToDisplay}</div>`}_renderNoItems(){return this.hideNoItemsNotice?null:d`<div class=${v(g.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`}_renderLayerFlowItem(e,t){let{messages:i,openedLayers:a}=this,s=e.title||this.messages.untitledLayer;return b(e?.uid??s,d`<calcite-flow-item data-layer-uid=${e?.uid??""??E} .description=${s} .heading=${i[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${r=>{r.preventDefault(),a.pop(),a.at(-1)&&this._layerFlowItemRef.value?.setFocus()}} ${f(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderPanelFlowItems(){let{_openedPanelItems:e,openedLayers:t}=this;return H(e.toArray(),i=>i.uid,(i,a)=>{let{panel:s,title:r}=i,l=()=>this._handlePanelFlowItemBack(s);return d`<calcite-flow-item .description=${r} .heading=${s.title} .headingLevel=${this.headingLevel} .selected=${!t.length&&a===e.length-1} @calciteFlowItemBack=${o=>{o.preventDefault(),l()}} ${f(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${i} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${l} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderItems(){let{collapsed:e,_visibleItems:t,_openedPanelItems:i,_filterEnabled:a,_rootGroupUid:s,showCloseButton:r,showCollapseButton:l,showHeading:o,_dragEnabled:n,selectionMode:c,filterText:y,openedLayers:_,filterPlaceholder:$,messages:I}=this,C=[d`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${l} .heading=${o?I.componentLabel:void 0} .headingLevel=${this.headingLevel} .selected=${!_.length&&!i.length} @calciteFlowItemClose=${()=>this.closed=!1}>${t?.length?d`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${h=>this._canMove(h,"pull")} .canPut=${h=>this._canMove(h,"put")} data-layer-type=${s??E} .displayMode=${ie} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${$} .filterProps=${j} .filterText=${a?y:""} .group=${s} .label=${I.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${c} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${h=>{this.filterText=h.currentTarget?.filterText??"",this.arcgisFilterChange.emit()}} @calciteListOrderChange=${h=>this._onCalciteListOrderChange(h.detail)} @calciteListDragEnd=${h=>this._onCalciteListDragEnd(h.detail)} ${f(this._rootListRef)}>${t.toArray().map(h=>this._renderItem(h))}${a&&!this.hideNoFilterResultsNotice?d`<div class=${v(g.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`:null}</calcite-list>`:this._renderNoItems()}</calcite-flow-item>`,this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];return this.closed?null:b("root-flow",d`<calcite-flow>${C}</calcite-flow>`)}_renderItem(e,t,i){return b(e.uid,Y({activeItem:this._activeItem,canMove:this._canMove,css:g,displayMode:ie,dragEnabled:this.dragEnabled,hideStatusIndicators:this.hideStatusIndicators,hideCatalogLayerList:this.hideCatalogLayerList,item:e,messages:this.messages,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,operationalItems:this.operationalItems,parent:t,parentTitles:i,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem,showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,showCloseButton:this.showCloseButton,showCollapseButton:this.showCollapseButton,showErrors:this.showErrors,showHeading:this.showHeading,showFilter:this.showFilter,clearActiveItem:this._clearActiveItem,visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction,handleCatalogOpen:this._onCatalogOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,handleTablesOpen:this._onTablesOpen,handleTooltipReferenceChange:this._onTooltipReferenceChange,view:this.view}))}};x("arcgis-layer-list-next",O);return O},"layerList/LayerListModel","core/Collection","core/reactiveUtils",a,c,e,h,i,l,n,o,r,s,t)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as i}from"./WEAGLY7B.js";import{P as s,X as r}from"./EKR2SAT2.js";export default $arcgis.t(([{differentValuesString:l}])=>{function n(t){return t==null||t===""}function m(t){if(n(t))return null;let e=parseFloat(t);return Number.isNaN(e)?null:e}var a=class extends s{constructor(){super(...arguments),this._messages=i({name:"feature-form-next"}),this.disabled=!1,this.readOnly=!1,this.valueChangeCallback=()=>{}}static{this.properties={placeholder:16,value:16,disabled:7,input:0,messageOverrides:0,readOnly:7,valueChangeCallback:0}}get placeholder(){let{input:e,_messages:u}=this,o=e?.placeholder??void 0;return e?.value===l?u.differentValuesPlaceholder:o}get value(){let e=this.input?.value;return e===l||n(e)?"":e}async setFocus(){await this._rootRef.value?.setFocus()}_handleFocusOut({relatedTarget:e}){e instanceof Node&&!this.el.contains(e)&&this.input?.touch()}};r("arcgis-feature-form-field",a);return{a:n,b:m,c:a}},"widgets/BatchAttributeForm/inputs/support/inputUtils")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as i}from"./ZSPYPXBY.js";import{P as s,X as r}from"./3UMLR76Y.js";export default $arcgis.t(([{differentValuesString:l}])=>{function n(t){return t==null||t===""}function m(t){if(n(t))return null;let e=parseFloat(t);return Number.isNaN(e)?null:e}var a=class extends s{constructor(){super(...arguments),this._messages=i({name:"feature-form-next"}),this.disabled=!1,this.readOnly=!1,this.valueChangeCallback=()=>{}}static{this.properties={placeholder:16,value:16,disabled:7,input:0,messageOverrides:0,readOnly:7,valueChangeCallback:0}}get placeholder(){let{input:e,_messages:u}=this,o=e?.placeholder??void 0;return e?.value===l?u.differentValuesPlaceholder:o}get value(){let e=this.input?.value;return e===l||n(e)?"":e}async setFocus(){await this._rootRef.value?.setFocus()}_handleFocusOut({relatedTarget:e}){e instanceof Node&&!this.el.contains(e)&&this.input?.touch()}};r("arcgis-feature-form-field",a);return{a:n,b:m,c:a}},"widgets/BatchAttributeForm/inputs/support/inputUtils")
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as k}from"./GUL7EIJ4.js";import{a as C}from"./PIDNZKSJ.js";import b from"./HU57LQOA.js";import a from"./RUYAWRPV.js";import"./WJQUE4DR.js";import{a as I}from"./ZSPYPXBY.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as L,V as F,X as N,a as q,b as p}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{createReactiveMap:v,findUtilityNetwork:x,getOrCreateMapValue:P},{stripHTML:S},f,{ignoreAbortErrors:D},{watch:T},U,Q,B,O,,{d:E,h:A}])=>{var G=q`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`,M=100,j={assetGroup:"assetgroup",assetType:"assettype"},V="{00000000-0000-0000-0000-000000000000}",$=class extends L{constructor(){super(...arguments),this._addFlowItem=e=>{e&&this.flowItems?.push(e)},this._attachmentAssociations=new f,this._attachmentFeatureCount=0,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._connectivityAssociations=new f,this._connectivityFeatureCount=0,this._containerAssociations=new f,this._containerFeatureCount=0,this._contentAssociations=new f,this._contentFeatureCount=0,this._messages=I({name:"utility-network-associations",blocking:!0}),this._messagesFeature=I({name:"feature",blocking:!0}),this._networkSourceIdsInUse=new Set,this._query=async e=>{if(!e)return;await this._loadUtilityNetworks();let{_queryAbortController:t}=this;this._destroyAssociatedFeatureViewModels(),this._clearFeatures(),this._featureCount&&await this._queryAssociatedFeatures(e,{signal:t?.signal})},this._queryController=async e=>{this._cancelQuery();let t=new AbortController;this._queryAbortController=t,await D(this._query(e)),this._queryAbortController===t&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await D(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryDebounced=k(this._queryController,M),this._queryFeatureCountDebounced=k(this._queryFeatureCountController,M),this._structureAssociations=new f,this._structureFeatureCount=0,this._queryAssociationType=async()=>{this._activeAssociationType&&this._queryDebounced(this._activeAssociationType)},this._associationFeatures=v(),this._associationViewModels=v(),this._featureCount=0,this._loaded=!1,this._queryAbortController=null,this._queryFeatureCountAbortController=null,this._queryPageAbortController=null,this.associationTypes=null,this.autoDestroyDisabled=!1,this.useFeatureNextFlowItem=!1,this.includeDefaultActions=!1,this.flowType="feature-utility-network-associations",this.headingLevel=2,this.source="popup"}static{this.properties={_activeAssociationType:16,_associationFeatures:16,_associationViewModels:16,_canLoad:16,_canQuery:16,_featureCount:16,_loaded:16,_queryAbortController:16,_queryFeatureCountAbortController:16,_queryPageAbortController:16,_state:16,associationTypes:0,autoDestroyDisabled:5,description:1,flowItems:0,useFeatureNextFlowItem:5,actions:0,includeDefaultActions:5,flowType:1,graphic:0,heading:1,headingLevel:9,layer:0,map:0,messageOverrides:0,messages:0,parentFeatureViewModel:0,referenceElement:1,source:1,spatialReference:0,timeZone:1,view:0}}static{this.styles=G}get _globalId(){return(this._globalIdField&&this.graphic?.attributes?.[this._globalIdField])??null}get _globalIdField(){return this.layer?.globalIdField}get _objectId(){return(this._objectIdField&&this.graphic?.attributes?.[this._objectIdField])??null}get _objectIdField(){return this.layer?.objectIdField}get _supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get _utilityNetwork(){let{layer:e,map:t}=this;if(!e?.loaded||!t)return null;let s=A(e)?e.parent:e;return x(t,s)}get _canLoad(){return!!this.map}get _canQuery(){return!!this.layer?.capabilities?.query?.supportsPagination}get _state(){let{_canLoad:e,_canQuery:t,_featureCount:s,_loaded:i,_queryAbortController:a,_queryFeatureCountAbortController:r,_queryPageAbortController:o,associationTypes:l}=this;return r||e&&!i?"loading":a||o?"querying":!this._globalId||!l||!t||!s?"disabled":"ready"}get heading(){return this._heading}set heading(e){this._heading=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[T(()=>[this.graphic,this.layer,this.map,this.associationTypes,this._canQuery,this._objectId,this._globalId],()=>{this._queryFeatureCountDebounced(),this._queryAssociationType()},{initial:!0}),T(()=>this._activeAssociationType,e=>{this._queryDebounced(e)}),T(()=>this._associationFeatures.values(),()=>{this._setUpUtilityNetworkAssociationsViewModels()})]),this.manager.onDestroy(()=>{this._cancelQuery(),this._cancelQueryFeatureCount()})}_addAssociationTypeFlowItem(e){let t=this.useFeatureNextFlowItem?F(p`<arcgis-feature-utility-network-association-list .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this._associationViewModels} .description=${this._getParentFeatureDescription()} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(e)} .includeDefaultActions=${this.includeDefaultActions} .map=${this.map} .messageOverrides=${this.messageOverrides} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} use-feature-next-flow-item .view=${this.view}></arcgis-feature-utility-network-association-list>`):F(p`<arcgis-feature-utility-network-association-list .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this._associationViewModels} .description=${this._getParentFeatureDescription()} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(e)} .includeDefaultActions=${this.includeDefaultActions} .map=${this.map} .messageOverrides=${this.messageOverrides} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`);this._addFlowItem(t)}_clearAssociations(){this._attachmentAssociations.removeAll(),this._connectivityAssociations.removeAll(),this._containerAssociations.removeAll(),this._contentAssociations.removeAll(),this._structureAssociations.removeAll()}_clearFeatures(){this._associationFeatures.forEach(e=>e.removeAll()),this._associationFeatures.clear()}_compareByFeatureTitle(e,t){return e.title.localeCompare(t.title,void 0,{numeric:!0})}async _countAssociatedFeatureCount(e,t,s,i,a){let r=this._getFeatureQueryWhereClause(e,t,s,i),o=e.createQuery();return o.where=r,o.outFields=["*"],o.returnGeometry=!1,await e.queryFeatureCount(o,{signal:a?.signal})}async _countAssociatedFeatures(e,t,s,i,a){if(!t.length)return 0;let r=await this._findLayersBySourceId(e);await this._loadLayers(r);let o=r.map(l=>this._countAssociatedFeatureCount(l,t,s,i,a));return(await Promise.all(o)).reduce((l,c)=>l+c,0)}async _createAssociationFeatureObjects(e,t,s,i,a){if(!e.length)return[];let r=new Map,o=Array.from(t.entries()).map(async([c,d])=>{let u=await this._findLayersBySourceId(c);await this._loadLayers(u);let h=u.map(m=>this._queryLayer(m,d,s,i,a));(await Promise.all(h)).forEach(m=>{m.forEach(n=>{if(this.source==="popup"?n.sourceLayer&&n.getEffectivePopupTemplate():n.sourceLayer){let _=n.layer.globalIdField??"",y=n.getAttribute(_),w=r.get(y)??[];w.push(n),r.set(y,w)}})})});await Promise.all(o);let l=[];return await Promise.all(e.toArray().map(async c=>{let{fromNetworkElement:d,toNetworkElement:u}=c,h=d.globalId===this._globalId?u:d,m=r.get(h.globalId)??[];await Promise.all(m.map(async n=>{let _=this._utilityNetwork?.getTerminalById(h?.terminalId??void 0)?.name,y=await n.sourceLayer.getFeatureTitle(n)||this._getFeatureTitle(n);l.push({title:y,feature:n,association:c,terminalName:_})}))})),l}_destroyAssociatedFeatureViewModels(){this._associationViewModels.forEach(e=>e.destroyAll())}_equals(e,t){if(e.globalId===V&&t.globalId===V){let s=function(d,u){return d.networkSourceId===u.networkSourceId&&d.globalId===u.globalId&&d.terminalId===u.terminalId&&d.firstUnit===u.firstUnit&&d.numUnits===u.numUnits},i=e.fromNetworkElement,a=e.toNetworkElement,r=t.fromNetworkElement,o=t.toNetworkElement,l=s(i,r),c=s(a,o);return l&&c&&e.associationType===t.associationType}return e.globalId!=null&&t.globalId!=null&&e.globalId===t.globalId}async _findLayersBySourceId(e){let{_utilityNetwork:t,map:s}=this;t?.loaded||await t?.load();let i=t.getLayerIdBySourceId(e),a=s.allLayers.filter(o=>!!t?.isUtilityLayer(o)&&o.layerId===i),r=s.allTables.filter(o=>!!t?.isUtilityLayer(o)&&o.layerId===i);return a.concat(r).toArray()}_getAssociationsByType(e){switch(e){case"attachment":return this._attachmentAssociations;case"structure":return this._structureAssociations;case"connectivity":return this._connectivityAssociations;case"container":return this._containerAssociations;case"content":return this._contentAssociations}}_getAssociationTypeTitle(e){let{_messages:t}=this;if(e.title)return e.title;switch(e.type){case"attachment":return t.associationsAttachments??this.messages?.noTitle??"";case"connectivity":return t.associationsConnectivity??this.messages?.noTitle??"";case"structure":return t.associationsStructure??this.messages?.noTitle??"";case"content":return t.associationsContents??this.messages?.noTitle??"";case"container":return t.associationsContainer??this.messages?.noTitle??""}}_getFeatureCountForAssociationType(e){switch(e){case"attachment":return this._attachmentFeatureCount;case"structure":return this._structureFeatureCount;case"content":return this._contentFeatureCount;case"container":return this._containerFeatureCount;case"connectivity":return this._connectivityFeatureCount}}_getFeatureQueryWhereClause(e,t,s,i){let a=e.globalIdField,r=e.fieldsIndex.get(j.assetGroup),o=e.fieldsIndex.get(j.assetType),l=s!=null,c=i!=null,d=a?U.sqlIn(a,t):null,u=l?`(${r?.name} = ${s})`:null,h=l&&c?`(${o?.name} = ${i})`:null;return[d,u,h].filter(Boolean).join(" AND ")}_getFeatureTitle(e){let t=e.attributes,s=e.sourceLayer;if(!t||!s)return"";let i="displayField"in s?s.displayField:null,a=i!=null?t[i.toString()]:null,r=a!=null?a.toString():null,o=e.getObjectId()?.toString();return r||o||""}_getParentFeatureDescription(){let{parentFeatureViewModel:e}=this;if(e){if("heading"in e)return e.heading;if("title"in e)return e.title}}async _loadUtilityNetworks(){let e=this.map;if(!e)return;e.utilityNetworks&&await Promise.allSettled(e.utilityNetworks.map(s=>s.load()));let t=this._utilityNetwork;if(t){let s=i=>{if("layerId"in i&&t.isUtilityLayer(i)){let a=i.layerId!=null?t.getSourceIdByLayerId(i.layerId):null;a!=null&&this._networkSourceIdsInUse.add(a)}};this._networkSourceIdsInUse=new Set,e.allLayers.forEach(s),e.allTables.forEach(s)}}async _loadLayers(e){let t=e.filter(s=>!s.loaded).map(s=>s.load());t.length&&await Promise.allSettled(t)}_matchesGlobalFeature(e,t){return this._equals(e.association,t.association)}async _queryAssociatedFeatures(e,t){let{layer:s,_globalId:i,associationTypes:a,_utilityNetwork:r,_canQuery:o,_associationFeatures:l}=this;if(await Promise.allSettled([s?.load(),r?.load()]),!o||!s||!a||!r)return;let c=this._getAssociationsByType(e.type),{associatedAssetGroup:d,associatedAssetType:u}=e,h=new Map;c.forEach(n=>{let{fromNetworkElement:_,toNetworkElement:y}=n,{networkSourceId:w,elementGlobalId:b}=_.globalId===i?{networkSourceId:y.networkSourceId,elementGlobalId:y.globalId}:{networkSourceId:_.networkSourceId,elementGlobalId:_.globalId},g=h.get(w)||[];g.push(b),h.set(w,g)});let m=await this._createAssociationFeatureObjects(c,h,d,u,t);this._parseFeatureObjects(m,l)}async _queryAssociations(e){let{layer:t,_globalId:s,associationTypes:i,_utilityNetwork:a,_canQuery:r}=this;if(await Promise.allSettled([t?.load(),a?.load()]),this._clearAssociations(),!r||!t||!i||!a||!s)return;let o=A(t)?t.parent:t,l=new Q({globalId:s,networkSourceId:a.getSourceIdByLayerId(o.layerId)}),c=new Set;i.forEach(n=>{switch(n.type){case"attachment":case"structure":c.add("attachment");break;case"container":case"content":c.add("containment");break;case"connectivity":c.add("connectivity"),c.add("junction-junction-connectivity"),c.add("junction-edge-from-connectivity"),c.add("junction-edge-midspan-connectivity"),c.add("junction-edge-to-connectivity");break}});let d=await a?.queryAssociations(new B({elements:[l],types:Array.from(c)}),{signal:e?.signal}),u=new Map,h=new Map;i.forEach(n=>{h.set(n.type,n),u.set(n.type,[])}),d.forEach(n=>{let{toNetworkElement:_,fromNetworkElement:y}=n;switch(n.associationType){case"attachment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"attachment",h))break;u.get("attachment")?.push(_.globalId),this._attachmentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"structure",h))break;u.get("structure")?.push(y.globalId),this._structureAssociations.add(n)}break;case"connectivity":case"junction-edge-from-connectivity":case"junction-edge-midspan-connectivity":case"junction-edge-to-connectivity":case"junction-junction-connectivity":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"connectivity",h))break;u.get("connectivity")?.push(_.globalId)}else{if(this._shouldDiscardNetworkElement(y,"connectivity",h))break;u.get("connectivity")?.push(y.globalId)}this._connectivityAssociations.add(n);break;case"containment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"content",h))break;u.get("content")?.push(_.globalId),this._contentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"container",h))break;u.get("container")?.push(y.globalId),this._containerAssociations.add(n)}break}});let m=i.map(async n=>{let{associatedNetworkSourceId:_,associatedAssetGroup:y,associatedAssetType:w}=n,b=u.get(n.type),g=y!=null?await this._countAssociatedFeatures(_,b,y,w,e):b.length;switch(n.type){case"attachment":this._attachmentFeatureCount=g;break;case"connectivity":this._connectivityFeatureCount=g;break;case"container":this._containerFeatureCount=g;break;case"content":this._contentFeatureCount=g;break;case"structure":this._structureFeatureCount=g;break}});await Promise.allSettled(m)}async _queryFeatureCount(){await this._loadUtilityNetworks();let{_queryFeatureCountAbortController:e,_canQuery:t}=this;if(!t){this._featureCount=0;return}await this._queryAssociations(e),this._featureCount=this._attachmentFeatureCount+this._connectivityFeatureCount+this._containerFeatureCount+this._contentFeatureCount+this._structureFeatureCount}async _queryLayer(e,t,s,i,a){let r=this._getFeatureQueryWhereClause(e,t,s,i),o=e.createQuery();o.where=r,o.outFields=["*"],o.returnGeometry=!1,o.cacheHint=this._supportsCacheHint;let{features:l}=await E(e,o,a);return l}_parseFeatureObjects(e,t){let s=v();e.forEach(i=>{let a=(i?.feature).sourceLayer;P(s,a,()=>new f).add(i)});for(let[i,a]of s)this._sortFeatureObjectsByTitle(a),t.set(i,a)}_selectAssociationType(e){let{flowItems:t}=this;t&&(this._activeAssociationType=e,this._setUpUtilityNetworkAssociationsViewModels(),this._addAssociationTypeFlowItem(e))}_setUpUtilityNetworkAssociationsViewModels(){this._associationViewModels.forEach((a,r)=>{let o=this._associationFeatures.get(r);o?a.forEach(l=>{o.find(c=>this._matchesGlobalFeature(l,c))||(a.remove(l),a.length||this._associationViewModels.delete(r))}):(a.removeAll(),this._associationViewModels.delete(r))});let{map:e,view:t,spatialReference:s,timeZone:i}=this;this._associationFeatures.forEach((a,r)=>{let o=this._associationViewModels.get(r)||new f;a?.filter(Boolean).forEach((l,c)=>{if(!o.some(d=>this._matchesGlobalFeature(d,l))){let{association:d,feature:u,terminalName:h,title:m}=l;o.add({title:m,association:d,featureViewModel:new O({abilities:{utilityNetworkAssociationsContent:!1},map:e,view:t,spatialReference:s,timeZone:i,graphic:u}),terminalName:h},c)}}),this._associationViewModels.set(r,o)})}_shouldDiscardNetworkElement(e,t,s){if(!e)return!1;let{networkSourceId:i}=e,a=s.get(t)?.associatedNetworkSourceId,r=this._networkSourceIdsInUse.has(i);return a!=null&&a!==i||!r}_sortFeatureObjectsByTitle(e){e.sort(this._compareByFeatureTitle)}render(){let{_state:e}=this;return p`<div class="root"><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderAssociationNotFound():this._renderContent()}</div>`}_renderAssociationNotFound(){return p`<calcite-notice icon=information kind=info open scale=s width=full><div slot=message>${this._messages.noAssociations}</div></calcite-notice>`}_renderAssociationTypeList(e){return this._getFeatureCountForAssociationType(e.type)>0?this._renderAssociationTypeListItem(e):null}_renderAssociationTypeListItem(e){let t=this._getAssociationTypeTitle(e);return C(`association-type-${e.type}`,p`<calcite-list-item .description=${S(e.description)} .label=${S(t)} .value=${e.type} @calciteListItemSelect=${()=>this._selectAssociationType(e)}><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`)}_renderContent(){let{_state:e,associationTypes:t}=this,s=this._messages.associationsList??this._messagesFeature.noTitle??"";return C("list-container",p`<div class="list-container">${e==="ready"?p`<div><calcite-list display-mode=flat .label=${s}>${t.map(i=>this._renderAssociationTypeList(i))}</calcite-list></div>`:null}${this._renderStickyLoading()}</div>`)}_renderLoading(){return p`<div class="loading-container">${this._renderLoadingIcon()}${this._renderStickyLoading()}</div>`}_renderLoadingIcon(){return p`<calcite-loader inline label></calcite-loader>`}_renderStickyLoading(){return this._state==="querying"?p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>`:null}};N("arcgis-feature-utility-network-associations",$);return $},"applications/Components/featureUtils","applications/Components/stringUtils","core/Collection","core/promiseUtils","core/reactiveUtils","core/sql","rest/networks/support/NetworkElement","rest/networks/support/QueryAssociationsParameters","popup/FeatureModel",a,b)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as D}from"./H6RQVSYM.js";var w={};D(w,{PLACEHOLDER:()=>te,PLACEHOLDER2:()=>se,assert:()=>W,getType:()=>T,isArray:()=>ee,isDate:()=>N,isNaN:()=>S,isNumber:()=>d,isObject:()=>A,isString:()=>F,numberToString:()=>Z,repeat:()=>y,toDate:()=>X,toNumber:()=>R});function S(i){return Number(i)!==i}function T(i){return{}.toString.call(i)}function W(i,e="Assertion failed"){if(!i)throw new Error(e)}function R(i){if(i!=null&&!d(i)){let e=Number(i);if(S(e)&&F(i)&&i!=""&&i.match(/[0-9]+/)){let t=i.replace(/[^0-9.\-]+/g,"");return i===t?e:R(t)}return e}return i}function X(i){if(N(i))return new Date(i);if(d(i))return new Date(i);{let e=Number(i);return d(e)?new Date(e):new Date(i)}}function Z(i){if(S(i))return"NaN";if(i===1/0)return"Infinity";if(i===-1/0)return"-Infinity";if(i===0&&1/i===-1/0)return"-0";let e=i<0;i=Math.abs(i);let t=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+i),s=t[1],n=t[2]||"",r;if(t[3]===void 0)r=n===""?s:s+"."+n;else{let o=+t[3];if(i<1){let h=o-1;r="0."+y("0",h)+s+n}else{let h=o-n.length;h===0?r=s+n:h<0?r=s+n.slice(0,h)+"."+n.slice(h):r=s+n+y("0",h)}}return e?"-"+r:r}function y(i,e){return new Array(e+1).join(i)}function N(i){return T(i)==="[object Date]"}function F(i){return typeof i=="string"}function d(i){return typeof i=="number"&&Number(i)==i}function A(i){return typeof i=="object"&&i!==null}function ee(i){return Array.isArray(i)}var te="__\xA7\xA7\xA7__",se="__\xA7\xA7\xA7\xA7__";var a={};D(a,{add:()=>ue,any:()=>C,copy:()=>me,each:()=>p,eachContinue:()=>re,eachReverse:()=>ne,find:()=>we,findIndex:()=>$,findIndexReverse:()=>H,findMap:()=>$e,findReverse:()=>be,first:()=>pe,getFirstSortedIndex:()=>Ee,getSortedIndex:()=>L,has:()=>ge,indexOf:()=>k,insert:()=>M,insertIndex:()=>B,keepIf:()=>De,last:()=>he,map:()=>ie,move:()=>de,pushAll:()=>le,pushOne:()=>fe,remove:()=>b,removeFirst:()=>_,removeIndex:()=>z,replace:()=>ae,setIndex:()=>ce,shiftLeft:()=>oe,shuffle:()=>ve,slice:()=>xe,toArray:()=>_e});function k(i,e){let t=i.length;for(let s=0;s<t;++s)if(i[s]===e)return s;return-1}function C(i,e){let t=i.length;for(let s=0;s<t;++s)if(e(i[s]))return!0;return!1}function ie(i,e){let t=i.length,s=new Array(t);for(let n=0;n<t;++n)s[n]=e(i[n],n);return s}function p(i,e){let t=i.length;for(let s=0;s<t;++s)e(i[s],s)}function ne(i,e){let t=i.length;for(;t>0;)--t,e(i[t],t)}function re(i,e){let t=i.length;for(let s=0;s<t&&e(i[s],s);++s);}function oe(i,e){let t=i.length;for(let s=e;s<t;++s)i[s-e]=i[s];i.length=t-e}function he(i){let e=i.length;return e?i[e-1]:void 0}function pe(i){return i[0]}function M(i,e,t){t=Math.max(0,Math.min(t,i.length)),i.splice(t,0,e)}function ce(i,e,t){b(i,e),M(i,e,t)}function le(i,e){let t=e.length;for(let s=0;s<t;++s)i.push(e[s])}function b(i,e){let t=!1,s=0;for(;;){if(s=i.indexOf(e,s),s===-1)return t;t=!0,i.splice(s,1)}}function _(i,e){let t=i.indexOf(e);return t!==-1?(i.splice(t,1),!0):!1}function de(i,e,t){let s=k(i,e);s!==-1&&z(i,s),t==null?i.push(e):B(i,t,e)}function ue(i,e,t){d(t)?t===0?i.unshift(e):i.splice(t,0,e):i.push(e)}function fe(i,e){i.indexOf(e)===-1&&i.push(e)}function ae(i,e,t){let s=i.indexOf(e);s!==-1&&i.splice(s,1),d(t)?i.splice(t,0,e):i.push(e)}function _e(i){return Array.isArray(i)?i:[i]}function ge(i,e){return k(i,e)!==-1}function me(i){let e=i.length,t=new Array(e);for(let s=0;s<e;++s)t[s]=i[s];return t}function xe(i,e,t=i.length){let s=new Array(t-e);for(let n=e;n<t;++n)s[n-e]=i[n];return s}function B(i,e,t){i.splice(e,0,t)}function z(i,e){i.splice(e,1)}function $(i,e){let t=i.length;for(let s=0;s<t;++s)if(e(i[s],s))return s;return-1}function H(i,e){let t=i.length;for(;t>0;)if(--t,e(i[t],t))return t;return-1}function we(i,e){let t=$(i,e);if(t!==-1)return i[t]}function be(i,e){let t=H(i,e);if(t!==-1)return i[t]}function $e(i,e){let t=i.length;for(let s=0;s<t;++s){let n=e(i[s],s);if(n!==void 0)return n}}function ve(i){let e=i.length,t,s;for(;e!==0;)s=Math.floor(Math.random()*e),e-=1,t=i[e],i[e]=i[s],i[s]=t}function L(i,e){let t=0,s=i.length,n=!1;for(;t<s;){let r=t+s>>1,o=e(i[r]);if(o<0)t=r+1;else if(o===0){for(n=!0,t=r+1;t<s&&e(i[t])===0;t++);t--;break}else s=r}return{found:n,index:t}}function Ee(i,e){let t=0,s=i.length,n=!1;for(;t<s;){let r=t+s>>1,o=e(i[r]);o<0?t=r+1:(o===0&&(n=!0),s=r)}return{found:n,index:t}}function De(i,e){let t=i.length;for(;t>0;)--t,e(i[t])||i.splice(t,1)}var V={};D(V,{copy:()=>Se,each:()=>c,eachContinue:()=>Ae,eachOrdered:()=>ke,entries:()=>ye,hasKey:()=>Y,keys:()=>g,keysOrdered:()=>K,softCopyProperties:()=>Ce});function g(i){return Object.keys(i)}function ye(i){return Object.entries(i)}function K(i,e){return g(i).sort(e)}function Se(i){return Object.assign({},i)}function c(i,e){g(i).forEach(t=>{e(t,i[t])})}function Ae(i,e){for(let t in i)if(Y(i,t)&&!e(t,i[t]))break}function ke(i,e,t){p(K(i,t),s=>{e(s,i[s])})}function Y(i,e){return{}.hasOwnProperty.call(i,e)}function Ce(i,e){return c(i,(t,s)=>{s!=null&&e[t]==null&&(e[t]=s)}),e}var m=class{constructor(){this._disposed=!1}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},l=class{constructor(e){this._disposed=!1,this._dispose=e}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},q=class extends m{constructor(){super(...arguments),this._disposers=[]}_dispose(){p(this._disposers,e=>{e.dispose()})}},u=class extends m{constructor(e){super(),this._disposers=e}_dispose(){p(this._disposers,e=>{e.dispose()})}get disposers(){return this._disposers}},G=class extends m{_dispose(){this._disposer!=null&&(this._disposer.dispose(),this._disposer=void 0)}get(){return this._value}set(e,t){this._disposer!=null&&this._disposer.dispose(),this._disposer=t,this._value=e}reset(){this.set(void 0,void 0)}},J=class extends l{constructor(){super(...arguments),this._counter=0}increment(){return++this._counter,new l(()=>{--this._counter,this._counter===0&&this.dispose()})}};var v=class{constructor(){this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}isDisposed(){return this._disposed}dispose(){if(!this._disposed){this._disposed=!0;let e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{p(e,t=>{t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}}hasListeners(){return this._listeners.length!==0}hasListenersByType(e){return C(this._listeners,t=>(t.type===null||t.type===e)&&!t.killed)}enable(){this._enabled=!0}disable(){this._enabled=!1}enableType(e){delete this._disabled[e]}disableType(e,t=1/0){this._disabled[e]=t}_removeListener(e){if(this._iterating===0){let t=this._listeners.indexOf(e);if(t===-1)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}_removeExistingListener(e,t,s,n){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(r=>{r.once===e&&r.type===t&&(s===void 0||r.callback===s)&&r.context===n&&r.disposer.dispose()})}isEnabled(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&this._disabled[e]===void 0}removeType(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(t=>{t.type===e&&t.disposer.dispose()})}has(e,t,s){return $(this._listeners,r=>r.once!==!0&&r.type===e&&(t===void 0||r.callback===t)&&r.context===s)!==-1}_shouldDispatch(e){if(this._disposed)throw new Error("EventDispatcher is disposed");let t=this._disabled[e];return d(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}_eachListener(e){++this._iterating;try{p(this._listeners,e)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(p(this._killed,t=>{this._removeListener(t)}),this._killed.length=0)}}dispatch(e,t){this._shouldDispatch(e)&&this._eachListener(s=>{!s.killed&&(s.type===null||s.type===e)&&(s._debounceDelay?(s._debounceTimeout&&window.clearTimeout(s._debounceTimeout),s._debounceTimeout=window.setTimeout(()=>{s._debounceTimeout=void 0,s.killed||s.dispatch(e,t)},s._debounceDelay)):s.dispatch(e,t))})}_on(e,t,s,n,r,o,h){if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,s,n);let f={type:t,callback:s,context:n,shouldClone:r,dispatch:o,killed:!1,once:e,disposer:new l(()=>{f.killed=!0,f._debounceTimeout&&window.clearTimeout(f._debounceTimeout),this._removeListener(f)}),_debounceDelay:h};return this._listeners.push(f),f}onAll(e,t,s=!0){return this._on(!1,null,e,t,s,(n,r)=>e.call(t,r)).disposer}on(e,t,s,n=!0){return this._on(!1,e,t,s,n,(r,o)=>t.call(s,o)).disposer}onDebounced(e,t,s,n,r=!0){return this._on(!1,e,t,n,r,(o,h)=>t.call(n,h),s).disposer}once(e,t,s,n=!0){let r=this._on(!0,e,t,s,n,(o,h)=>{r.disposer.dispose(),t.call(s,h)});return r.disposer}off(e,t,s){this._removeExistingListener(!1,e,t,s)}copyFrom(e){if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");let t=[];return p(e._listeners,s=>{!s.killed&&s.shouldClone&&(s.type===null?t.push(this.onAll(s.callback,s.context)):s.once?t.push(this.once(s.type,s.callback,s.context)):t.push(this.on(s.type,s.callback,s.context)))}),new u(t)}};function O(i){c(i,(e,t)=>{A(t)&&typeof t.dispose=="function"&&(t.enableDispose=!0,t.dispose())})}var j=class{constructor(e,t,s){this._name=e,this._template=t,this._settings=s}_dispose(){O(this._settings)}get(e,t){let s=this._settings[e];return s!==void 0?s:t}set(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}remove(e){delete this._settings[e],this._template._stateChanged(this._name)}setAll(e){g(e).forEach(t=>{this._settings[t]=e[t]}),this._template._stateChanged(this._name)}_apply(e,t){c(this._settings,(s,n)=>{!t[s]&&!e._userSettings[s]&&(t[s]=!0,e.setRaw(s,n),e._computedSettings[s]=!0)})}},I=class{constructor(e){this._states={},this._template=e}_dispose(){c(this._states,(e,t)=>{t._dispose()})}lookup(e){return this._states[e]}create(e,t){let s=this._states[e];if(s)return s.setAll(t),s;{let n=new j(e,this._template,t);return this._states[e]=n,this._template._stateChanged(e),n}}remove(e){delete this._states[e],this._template._stateChanged(e)}_apply(e,t){c(this._states,(s,n)=>{let r=t.states[s];r==null&&(r=t.states[s]={});let o=e.states.create(s,{});n._apply(o,r)})}},P=class{constructor(){this._callbacks={}}add(e,t){let s=this._callbacks[e];return s===void 0&&(s=this._callbacks[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._callbacks[e]})}remove(e){this._callbacks[e]!==void 0&&delete this._callbacks[e]}_apply(e){let t=[];return c(this._callbacks,(s,n)=>{p(n,r=>{t.push(e.adapters.add(s,r))})}),new u(t)}},E=class i{constructor(e,t){if(this._disposed=!1,this._privateSettings={},this._computedSettings={},this._settingEvents={},this._privateSettingEvents={},this._entities=[],this.states=new I(this),this.adapters=new P,this.events=new v,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}static new(e){return new i(e,!0)}_dispose(){O(this._settings),O(this._privateSettings)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}_checkDisposed(){if(this._disposed)throw new Error("Template is disposed")}get entities(){return this._entities}get(e,t){this._checkDisposed();let s=this._settings[e];return s!==void 0?s:t}setRaw(e,t){this._checkDisposed(),delete this._computedSettings[e],this._settings[e]=t}set(e,t){this._checkDisposed(),delete this._computedSettings[e],this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEach(s=>{s._setTemplateProperty(this,e,t)}))}_setC(e,t){let s=!this._computedSettings[e]&&this._settings[e]===t;this.set(e,t),s||(this._computedSettings[e]=!0)}_setCAll(e){c(e,(t,s)=>{this._setC(t,s)})}_markC(...e){return p(e,t=>{this._computedSettings[t]=!0}),this}remove(e){this._checkDisposed(),e in this._settings&&(delete this._settings[e],delete this._computedSettings[e],this._entities.forEach(t=>{t._removeTemplateProperty(e)}))}removeAll(){this._checkDisposed(),c(this._settings,(e,t)=>{this.remove(e)})}getPrivate(e,t){this._checkDisposed();let s=this._privateSettings[e];return s!==void 0?s:t}setPrivateRaw(e,t){return this._checkDisposed(),this._privateSettings[e]=t,t}setPrivate(e,t){return this._checkDisposed(),this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach(s=>{s._setTemplatePrivateProperty(this,e,t)})),t}removePrivate(e){this._checkDisposed(),e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach(t=>{t._removeTemplatePrivateProperty(e)}))}setAll(e){this._checkDisposed(),c(e,(t,s)=>{this.set(t,s)})}on(e,t){this._checkDisposed();let s=this._settingEvents[e];return s===void 0&&(s=this._settingEvents[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._settingEvents[e]})}onPrivate(e,t){this._checkDisposed();let s=this._privateSettingEvents[e];return s===void 0&&(s=this._privateSettingEvents[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._privateSettingEvents[e]})}_apply(e,t){this._checkDisposed();let s=[];return c(this._settingEvents,(n,r)=>{p(r,o=>{s.push(e.on(n,o))})}),c(this._privateSettingEvents,(n,r)=>{p(r,o=>{s.push(e.onPrivate(n,o))})}),this.states._apply(e,t),s.push(this.adapters._apply(e)),s.push(e.events.copyFrom(this.events)),new u(s)}_setObjectTemplate(e){this._checkDisposed(),this._entities.push(e)}_removeObjectTemplate(e){b(this._entities,e)}_stateChanged(e){this._checkDisposed(),this._entities.forEach(t=>{t._applyStateByKey(e)})}};function x(i,e){return i===e?0:i<e?-1:1}function Q(i,e,t){let s=i.length,n=e.length,r=Math.min(s,n);for(let o=0;o<r;++o){let h=t(i[o],e[o]);if(h!==0)return h}return x(s,n)}function Ne(i,e){return i===e?0:i<e?-1:1}var U=class{constructor(e,t){if(this._rules={},this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}static new(e){let t=new this(e,!0);return t.setupDefaultRules(),t}setupDefaultRules(){}_lookupRules(e){return this._rules[e]}ruleRaw(e,t=[]){let s=this._rules[e];s||(s=this._rules[e]=[]),t.sort(x);let{index:n,found:r}=L(s,o=>{let h=x(o.tags.length,t.length);return h===0?Q(o.tags,t,x):h});if(r)return s[n].template;{let o=E.new({});return s.splice(n,0,{tags:t,template:o}),o}}rule(e,t=[]){return this.ruleRaw(e,t)}};export{S as a,R as b,X as c,Z as d,N as e,F as f,d as g,A as h,ee as i,te as j,se as k,w as l,k as m,ie as n,p as o,ne as p,re as q,b as r,_ as s,de as t,fe as u,me as v,B as w,z as x,$ as y,we as z,be as A,L as B,Ee as C,De as D,a as E,g as F,ye as G,K as H,Se as I,c as J,Ae as K,V as L,m as M,l as N,q as O,u as P,G as Q,J as R,v as S,x as T,Q as U,Ne as V,E as W,U as X};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as D}from"./TAVTDQ6S.js";var w={};D(w,{PLACEHOLDER:()=>te,PLACEHOLDER2:()=>se,assert:()=>W,getType:()=>T,isArray:()=>ee,isDate:()=>N,isNaN:()=>S,isNumber:()=>d,isObject:()=>A,isString:()=>F,numberToString:()=>Z,repeat:()=>y,toDate:()=>X,toNumber:()=>R});function S(i){return Number(i)!==i}function T(i){return{}.toString.call(i)}function W(i,e="Assertion failed"){if(!i)throw new Error(e)}function R(i){if(i!=null&&!d(i)){let e=Number(i);if(S(e)&&F(i)&&i!=""&&i.match(/[0-9]+/)){let t=i.replace(/[^0-9.\-]+/g,"");return i===t?e:R(t)}return e}return i}function X(i){if(N(i))return new Date(i);if(d(i))return new Date(i);{let e=Number(i);return d(e)?new Date(e):new Date(i)}}function Z(i){if(S(i))return"NaN";if(i===1/0)return"Infinity";if(i===-1/0)return"-Infinity";if(i===0&&1/i===-1/0)return"-0";let e=i<0;i=Math.abs(i);let t=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+i),s=t[1],n=t[2]||"",r;if(t[3]===void 0)r=n===""?s:s+"."+n;else{let o=+t[3];if(i<1){let h=o-1;r="0."+y("0",h)+s+n}else{let h=o-n.length;h===0?r=s+n:h<0?r=s+n.slice(0,h)+"."+n.slice(h):r=s+n+y("0",h)}}return e?"-"+r:r}function y(i,e){return new Array(e+1).join(i)}function N(i){return T(i)==="[object Date]"}function F(i){return typeof i=="string"}function d(i){return typeof i=="number"&&Number(i)==i}function A(i){return typeof i=="object"&&i!==null}function ee(i){return Array.isArray(i)}var te="__\xA7\xA7\xA7__",se="__\xA7\xA7\xA7\xA7__";var a={};D(a,{add:()=>ue,any:()=>C,copy:()=>me,each:()=>p,eachContinue:()=>re,eachReverse:()=>ne,find:()=>we,findIndex:()=>$,findIndexReverse:()=>H,findMap:()=>$e,findReverse:()=>be,first:()=>pe,getFirstSortedIndex:()=>Ee,getSortedIndex:()=>L,has:()=>ge,indexOf:()=>k,insert:()=>M,insertIndex:()=>B,keepIf:()=>De,last:()=>he,map:()=>ie,move:()=>de,pushAll:()=>le,pushOne:()=>fe,remove:()=>b,removeFirst:()=>_,removeIndex:()=>z,replace:()=>ae,setIndex:()=>ce,shiftLeft:()=>oe,shuffle:()=>ve,slice:()=>xe,toArray:()=>_e});function k(i,e){let t=i.length;for(let s=0;s<t;++s)if(i[s]===e)return s;return-1}function C(i,e){let t=i.length;for(let s=0;s<t;++s)if(e(i[s]))return!0;return!1}function ie(i,e){let t=i.length,s=new Array(t);for(let n=0;n<t;++n)s[n]=e(i[n],n);return s}function p(i,e){let t=i.length;for(let s=0;s<t;++s)e(i[s],s)}function ne(i,e){let t=i.length;for(;t>0;)--t,e(i[t],t)}function re(i,e){let t=i.length;for(let s=0;s<t&&e(i[s],s);++s);}function oe(i,e){let t=i.length;for(let s=e;s<t;++s)i[s-e]=i[s];i.length=t-e}function he(i){let e=i.length;return e?i[e-1]:void 0}function pe(i){return i[0]}function M(i,e,t){t=Math.max(0,Math.min(t,i.length)),i.splice(t,0,e)}function ce(i,e,t){b(i,e),M(i,e,t)}function le(i,e){let t=e.length;for(let s=0;s<t;++s)i.push(e[s])}function b(i,e){let t=!1,s=0;for(;;){if(s=i.indexOf(e,s),s===-1)return t;t=!0,i.splice(s,1)}}function _(i,e){let t=i.indexOf(e);return t!==-1?(i.splice(t,1),!0):!1}function de(i,e,t){let s=k(i,e);s!==-1&&z(i,s),t==null?i.push(e):B(i,t,e)}function ue(i,e,t){d(t)?t===0?i.unshift(e):i.splice(t,0,e):i.push(e)}function fe(i,e){i.indexOf(e)===-1&&i.push(e)}function ae(i,e,t){let s=i.indexOf(e);s!==-1&&i.splice(s,1),d(t)?i.splice(t,0,e):i.push(e)}function _e(i){return Array.isArray(i)?i:[i]}function ge(i,e){return k(i,e)!==-1}function me(i){let e=i.length,t=new Array(e);for(let s=0;s<e;++s)t[s]=i[s];return t}function xe(i,e,t=i.length){let s=new Array(t-e);for(let n=e;n<t;++n)s[n-e]=i[n];return s}function B(i,e,t){i.splice(e,0,t)}function z(i,e){i.splice(e,1)}function $(i,e){let t=i.length;for(let s=0;s<t;++s)if(e(i[s],s))return s;return-1}function H(i,e){let t=i.length;for(;t>0;)if(--t,e(i[t],t))return t;return-1}function we(i,e){let t=$(i,e);if(t!==-1)return i[t]}function be(i,e){let t=H(i,e);if(t!==-1)return i[t]}function $e(i,e){let t=i.length;for(let s=0;s<t;++s){let n=e(i[s],s);if(n!==void 0)return n}}function ve(i){let e=i.length,t,s;for(;e!==0;)s=Math.floor(Math.random()*e),e-=1,t=i[e],i[e]=i[s],i[s]=t}function L(i,e){let t=0,s=i.length,n=!1;for(;t<s;){let r=t+s>>1,o=e(i[r]);if(o<0)t=r+1;else if(o===0){for(n=!0,t=r+1;t<s&&e(i[t])===0;t++);t--;break}else s=r}return{found:n,index:t}}function Ee(i,e){let t=0,s=i.length,n=!1;for(;t<s;){let r=t+s>>1,o=e(i[r]);o<0?t=r+1:(o===0&&(n=!0),s=r)}return{found:n,index:t}}function De(i,e){let t=i.length;for(;t>0;)--t,e(i[t])||i.splice(t,1)}var V={};D(V,{copy:()=>Se,each:()=>c,eachContinue:()=>Ae,eachOrdered:()=>ke,entries:()=>ye,hasKey:()=>Y,keys:()=>g,keysOrdered:()=>K,softCopyProperties:()=>Ce});function g(i){return Object.keys(i)}function ye(i){return Object.entries(i)}function K(i,e){return g(i).sort(e)}function Se(i){return Object.assign({},i)}function c(i,e){g(i).forEach(t=>{e(t,i[t])})}function Ae(i,e){for(let t in i)if(Y(i,t)&&!e(t,i[t]))break}function ke(i,e,t){p(K(i,t),s=>{e(s,i[s])})}function Y(i,e){return{}.hasOwnProperty.call(i,e)}function Ce(i,e){return c(i,(t,s)=>{s!=null&&e[t]==null&&(e[t]=s)}),e}var m=class{constructor(){this._disposed=!1}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},l=class{constructor(e){this._disposed=!1,this._dispose=e}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},q=class extends m{constructor(){super(...arguments),this._disposers=[]}_dispose(){p(this._disposers,e=>{e.dispose()})}},u=class extends m{constructor(e){super(),this._disposers=e}_dispose(){p(this._disposers,e=>{e.dispose()})}get disposers(){return this._disposers}},G=class extends m{_dispose(){this._disposer!=null&&(this._disposer.dispose(),this._disposer=void 0)}get(){return this._value}set(e,t){this._disposer!=null&&this._disposer.dispose(),this._disposer=t,this._value=e}reset(){this.set(void 0,void 0)}},J=class extends l{constructor(){super(...arguments),this._counter=0}increment(){return++this._counter,new l(()=>{--this._counter,this._counter===0&&this.dispose()})}};var v=class{constructor(){this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}isDisposed(){return this._disposed}dispose(){if(!this._disposed){this._disposed=!0;let e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{p(e,t=>{t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}}hasListeners(){return this._listeners.length!==0}hasListenersByType(e){return C(this._listeners,t=>(t.type===null||t.type===e)&&!t.killed)}enable(){this._enabled=!0}disable(){this._enabled=!1}enableType(e){delete this._disabled[e]}disableType(e,t=1/0){this._disabled[e]=t}_removeListener(e){if(this._iterating===0){let t=this._listeners.indexOf(e);if(t===-1)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}_removeExistingListener(e,t,s,n){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(r=>{r.once===e&&r.type===t&&(s===void 0||r.callback===s)&&r.context===n&&r.disposer.dispose()})}isEnabled(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&this._disabled[e]===void 0}removeType(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(t=>{t.type===e&&t.disposer.dispose()})}has(e,t,s){return $(this._listeners,r=>r.once!==!0&&r.type===e&&(t===void 0||r.callback===t)&&r.context===s)!==-1}_shouldDispatch(e){if(this._disposed)throw new Error("EventDispatcher is disposed");let t=this._disabled[e];return d(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}_eachListener(e){++this._iterating;try{p(this._listeners,e)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(p(this._killed,t=>{this._removeListener(t)}),this._killed.length=0)}}dispatch(e,t){this._shouldDispatch(e)&&this._eachListener(s=>{!s.killed&&(s.type===null||s.type===e)&&(s._debounceDelay?(s._debounceTimeout&&window.clearTimeout(s._debounceTimeout),s._debounceTimeout=window.setTimeout(()=>{s._debounceTimeout=void 0,s.killed||s.dispatch(e,t)},s._debounceDelay)):s.dispatch(e,t))})}_on(e,t,s,n,r,o,h){if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,s,n);let f={type:t,callback:s,context:n,shouldClone:r,dispatch:o,killed:!1,once:e,disposer:new l(()=>{f.killed=!0,f._debounceTimeout&&window.clearTimeout(f._debounceTimeout),this._removeListener(f)}),_debounceDelay:h};return this._listeners.push(f),f}onAll(e,t,s=!0){return this._on(!1,null,e,t,s,(n,r)=>e.call(t,r)).disposer}on(e,t,s,n=!0){return this._on(!1,e,t,s,n,(r,o)=>t.call(s,o)).disposer}onDebounced(e,t,s,n,r=!0){return this._on(!1,e,t,n,r,(o,h)=>t.call(n,h),s).disposer}once(e,t,s,n=!0){let r=this._on(!0,e,t,s,n,(o,h)=>{r.disposer.dispose(),t.call(s,h)});return r.disposer}off(e,t,s){this._removeExistingListener(!1,e,t,s)}copyFrom(e){if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");let t=[];return p(e._listeners,s=>{!s.killed&&s.shouldClone&&(s.type===null?t.push(this.onAll(s.callback,s.context)):s.once?t.push(this.once(s.type,s.callback,s.context)):t.push(this.on(s.type,s.callback,s.context)))}),new u(t)}};function O(i){c(i,(e,t)=>{A(t)&&typeof t.dispose=="function"&&(t.enableDispose=!0,t.dispose())})}var j=class{constructor(e,t,s){this._name=e,this._template=t,this._settings=s}_dispose(){O(this._settings)}get(e,t){let s=this._settings[e];return s!==void 0?s:t}set(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}remove(e){delete this._settings[e],this._template._stateChanged(this._name)}setAll(e){g(e).forEach(t=>{this._settings[t]=e[t]}),this._template._stateChanged(this._name)}_apply(e,t){c(this._settings,(s,n)=>{!t[s]&&!e._userSettings[s]&&(t[s]=!0,e.setRaw(s,n),e._computedSettings[s]=!0)})}},I=class{constructor(e){this._states={},this._template=e}_dispose(){c(this._states,(e,t)=>{t._dispose()})}lookup(e){return this._states[e]}create(e,t){let s=this._states[e];if(s)return s.setAll(t),s;{let n=new j(e,this._template,t);return this._states[e]=n,this._template._stateChanged(e),n}}remove(e){delete this._states[e],this._template._stateChanged(e)}_apply(e,t){c(this._states,(s,n)=>{let r=t.states[s];r==null&&(r=t.states[s]={});let o=e.states.create(s,{});n._apply(o,r)})}},P=class{constructor(){this._callbacks={}}add(e,t){let s=this._callbacks[e];return s===void 0&&(s=this._callbacks[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._callbacks[e]})}remove(e){this._callbacks[e]!==void 0&&delete this._callbacks[e]}_apply(e){let t=[];return c(this._callbacks,(s,n)=>{p(n,r=>{t.push(e.adapters.add(s,r))})}),new u(t)}},E=class i{constructor(e,t){if(this._disposed=!1,this._privateSettings={},this._computedSettings={},this._settingEvents={},this._privateSettingEvents={},this._entities=[],this.states=new I(this),this.adapters=new P,this.events=new v,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}static new(e){return new i(e,!0)}_dispose(){O(this._settings),O(this._privateSettings)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}_checkDisposed(){if(this._disposed)throw new Error("Template is disposed")}get entities(){return this._entities}get(e,t){this._checkDisposed();let s=this._settings[e];return s!==void 0?s:t}setRaw(e,t){this._checkDisposed(),delete this._computedSettings[e],this._settings[e]=t}set(e,t){this._checkDisposed(),delete this._computedSettings[e],this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEach(s=>{s._setTemplateProperty(this,e,t)}))}_setC(e,t){let s=!this._computedSettings[e]&&this._settings[e]===t;this.set(e,t),s||(this._computedSettings[e]=!0)}_setCAll(e){c(e,(t,s)=>{this._setC(t,s)})}_markC(...e){return p(e,t=>{this._computedSettings[t]=!0}),this}remove(e){this._checkDisposed(),e in this._settings&&(delete this._settings[e],delete this._computedSettings[e],this._entities.forEach(t=>{t._removeTemplateProperty(e)}))}removeAll(){this._checkDisposed(),c(this._settings,(e,t)=>{this.remove(e)})}getPrivate(e,t){this._checkDisposed();let s=this._privateSettings[e];return s!==void 0?s:t}setPrivateRaw(e,t){return this._checkDisposed(),this._privateSettings[e]=t,t}setPrivate(e,t){return this._checkDisposed(),this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach(s=>{s._setTemplatePrivateProperty(this,e,t)})),t}removePrivate(e){this._checkDisposed(),e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach(t=>{t._removeTemplatePrivateProperty(e)}))}setAll(e){this._checkDisposed(),c(e,(t,s)=>{this.set(t,s)})}on(e,t){this._checkDisposed();let s=this._settingEvents[e];return s===void 0&&(s=this._settingEvents[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._settingEvents[e]})}onPrivate(e,t){this._checkDisposed();let s=this._privateSettingEvents[e];return s===void 0&&(s=this._privateSettingEvents[e]=[]),s.push(t),new l(()=>{_(s,t),s.length===0&&delete this._privateSettingEvents[e]})}_apply(e,t){this._checkDisposed();let s=[];return c(this._settingEvents,(n,r)=>{p(r,o=>{s.push(e.on(n,o))})}),c(this._privateSettingEvents,(n,r)=>{p(r,o=>{s.push(e.onPrivate(n,o))})}),this.states._apply(e,t),s.push(this.adapters._apply(e)),s.push(e.events.copyFrom(this.events)),new u(s)}_setObjectTemplate(e){this._checkDisposed(),this._entities.push(e)}_removeObjectTemplate(e){b(this._entities,e)}_stateChanged(e){this._checkDisposed(),this._entities.forEach(t=>{t._applyStateByKey(e)})}};function x(i,e){return i===e?0:i<e?-1:1}function Q(i,e,t){let s=i.length,n=e.length,r=Math.min(s,n);for(let o=0;o<r;++o){let h=t(i[o],e[o]);if(h!==0)return h}return x(s,n)}function Ne(i,e){return i===e?0:i<e?-1:1}var U=class{constructor(e,t){if(this._rules={},this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}static new(e){let t=new this(e,!0);return t.setupDefaultRules(),t}setupDefaultRules(){}_lookupRules(e){return this._rules[e]}ruleRaw(e,t=[]){let s=this._rules[e];s||(s=this._rules[e]=[]),t.sort(x);let{index:n,found:r}=L(s,o=>{let h=x(o.tags.length,t.length);return h===0?Q(o.tags,t,x):h});if(r)return s[n].template;{let o=E.new({});return s.splice(n,0,{tags:t,template:o}),o}}rule(e,t=[]){return this.ruleRaw(e,t)}};export{S as a,R as b,X as c,Z as d,N as e,F as f,d as g,A as h,ee as i,te as j,se as k,w as l,k as m,ie as n,p as o,ne as p,re as q,b as r,_ as s,de as t,fe as u,me as v,B as w,z as x,$ as y,we as z,be as A,L as B,Ee as C,De as D,a as E,g as F,ye as G,K as H,Se as I,c as J,Ae as K,V as L,m as M,l as N,q as O,u as P,G as Q,J as R,v as S,x as T,Q as U,Ne as V,E as W,U as X};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import"./H6RQVSYM.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"pKr",_era_bc:"eKr",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"jaanuar",February:"veebruar",March:"m\xE4rts",April:"aprill",May:"mai",June:"juuni",July:"juuli",August:"august",September:"september",October:"oktoober",November:"november",December:"detsember",Jan:"jaan",Feb:"veebr",Mar:"m\xE4rts",Apr:"apr","May(short)":"mai",Jun:"juuni",Jul:"juuli",Aug:"aug",Sep:"sept",Oct:"okt",Nov:"nov",Dec:"dets",Sunday:"p\xFChap\xE4ev",Monday:"esmasp\xE4ev",Tuesday:"teisip\xE4ev",Wednesday:"kolmap\xE4ev",Thursday:"neljap\xE4ev",Friday:"reede",Saturday:"laup\xE4ev",Sun:"P",Mon:"E",Tue:"T",Wed:"K",Thu:"N",Fri:"R",Sat:"L",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Suumi",Play:"Esita",Stop:"L\xF5peta",Legend:"Legend","Press ENTER to toggle":"",Loading:"Laadin",Home:"Kodu",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Prindi",Image:"Pilt",Data:"Andmed",Print:"Prindi","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Alates %1 kuni %2","From %1":"Alates %1","To %1":"Kuni %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import"./TAVTDQ6S.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"pKr",_era_bc:"eKr",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"jaanuar",February:"veebruar",March:"m\xE4rts",April:"aprill",May:"mai",June:"juuni",July:"juuli",August:"august",September:"september",October:"oktoober",November:"november",December:"detsember",Jan:"jaan",Feb:"veebr",Mar:"m\xE4rts",Apr:"apr","May(short)":"mai",Jun:"juuni",Jul:"juuli",Aug:"aug",Sep:"sept",Oct:"okt",Nov:"nov",Dec:"dets",Sunday:"p\xFChap\xE4ev",Monday:"esmasp\xE4ev",Tuesday:"teisip\xE4ev",Wednesday:"kolmap\xE4ev",Thursday:"neljap\xE4ev",Friday:"reede",Saturday:"laup\xE4ev",Sun:"P",Mon:"E",Tue:"T",Wed:"K",Thu:"N",Fri:"R",Sat:"L",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Suumi",Play:"Esita",Stop:"L\xF5peta",Legend:"Legend","Press ENTER to toggle":"",Loading:"Laadin",Home:"Kodu",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Prindi",Image:"Pilt",Data:"Andmed",Print:"Prindi","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Alates %1 kuni %2","From %1":"Alates %1","To %1":"Kuni %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import t from"./NZBID35V.js";import"./4TTVVGYW.js";import{a as Q}from"./JCRPP54Z.js";import s from"./N6QTPGCU.js";import o from"./3DPVKWFO.js";import n from"./KXGVE4NK.js";import{a as S,b as U,g as G,h as v,j as H,k as q,m as c,n as $}from"./FCNNRX3Q.js";import{a as N}from"./XAADUJ74.js";import{a as m}from"./KBHLE7HT.js";import l from"./IFMBHZHX.js";import j from"./TMJX7DFH.js";import i from"./DSDPDMLP.js";import"./VJVKFKSG.js";import h from"./CQQM24VF.js";import{a as O}from"./WEAGLY7B.js";import{a as L}from"./JD74LG7K.js";import{a as k}from"./YAEJKOYY.js";import f from"./AN3BGKZP.js";import e from"./FZWFKZLW.js";import b from"./JBHRVHGS.js";import{h as B}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as P}from"./WQMZ7BDQ.js";import{B as M,N as d,O as g,P as R,R as p,U as _,V as w,X as A,a as C,b as r,x as y}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([se,b,{on:ae,watch:le},,,,D,x,,,,,{k:j},,{a:z,b:J,c:K}])=>{var u={...Q,section:"section",editing:"editing",editingForm:"editing-form"},re=C`:host{--arcgis-layer-list-visibility-icon: hidden}.editing-form{display:flex;height:100%;flex:1}.editing{padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm)}`,V="nested",oe=".*\\S+.*",W="data-basemap-layer-type",ne=x(se),F=class extends R{constructor(){super(...arguments),this._baseListRef=d(),this._referenceListRef=d(),this._editTitleInputRef=d(),this._layerFlowItemRef=d(),this._panelFlowItemRef=d(),this._rootFlowItemRef=d(),this._editingFlowItemRef=d(),this._lastDragDetail=null,this._selectedDragItemLayerUid=null,this._rootGroupUid=`basemap-${M()}`,this._openedLayersController=null,this._focusRootFlowItem=!1,this._focusPanelFlowItem=!1,this._focusLayerFlowItem=null,this._focusEditingFlowItem=!1,this.messages=O(),this.viewModel=ne(this),this.arcgisClose=k(this),this._canMove=({dragEl:e,fromEl:t,toEl:i},s)=>{let a=s==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,o=c(e,this._allItems);if(!o?.sortable)return!1;let l=c(t,this._allItems),n=$(t),h=c(i,this._allItems),f=$(i),I=!!n&&!!f&&n===f,Y={selected:o,from:l,to:h},Z=t.group,ee=i.group,te=l?.layer?.type??"",ie=h?.layer?.type??"",T=new Set(["map-image","catalog","knowledge-graph"]);return Z&&ee&&typeof a=="function"?a(Y):I&&!T.has(te)&&!T.has(ie)&&o.layer?.type!=="sublayer"},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this._onTooltipReferenceChange=(e,t)=>{t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer),this._focusLayerFlowItem=e.layer?.uid??null},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent),this._focusLayerFlowItem=e.layer?.uid??null},this._onPanelOpen=()=>{this._focusPanelFlowItem=!0},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(i=>i.classList?.contains(u.item));this._activeItem=c(t,this._allItems)??null},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._toggleEditingTitle=()=>{let e=!this.editingTitle;this.editingTitle=e,e?this._focusEditingFlowItem=!0:this._focusRootFlowItem=!0},this._formSubmit=e=>{e.preventDefault();let t=this._editTitleInputRef.value?.value;t?.trim()&&(this.basemapTitle=t),this._toggleEditingTitle()},this._activeItem=null,this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.openedLayerLists=new b,this.autoDestroyDisabled=!1,this.baseFilterText="",this.baseItemCreatedFunction=this.viewModel.baseItemCreatedFunction,this.basemapTitle=this.viewModel.basemapTitle,this.closed=!1,this.collapsed=!1,this.dragEnabled=!1,this.editingTitle=!1,this.filterPlaceholder="",this.headingLevel=2,this.hideBaseLayers=!1,this.hideCatalogLayerList=!1,this.hideHeading=!1,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.hideReferenceLayers=!1,this.hideStatusIndicators=!1,this.icon="layers",this.layerTablesEnabled=new b(["knowledge-graph"]),this.listModeDisabled=this.viewModel.listModeDisabled,this.minFilterItems=U,this.openedLayers=new b,this.referenceFilterText="",this.referenceItemCreatedFunction=this.viewModel.referenceItemCreatedFunction,this.selectedItems=new b,this.selectionMode="none",this.showCloseButton=!1,this.showCollapseButton=!1,this.showEditTitleButton=!1,this.showErrors=!1,this.showFilter=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.view=this.viewModel.view,this.visibilityAppearance="default",this.arcgisBaseFilterChange=y(),this.arcgisOpenedLayersChange=y(),this.arcgisPropertyChange=B()("state"),this.arcgisReady=y(),this.arcgisReferenceFilterChange=y(),this.arcgisTriggerAction=D(()=>this.viewModel,"trigger-action")}static{this.properties={_activeItem:16,_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,openedLayerLists:16,_allItems:16,_visibleBaseItems:16,_visibleReferenceItems:16,_openedPanelItems:16,_totalBaseItems:16,_totalReferenceItems:16,_baseFilterEnabled:16,_referenceFilterEnabled:16,_renderedOpenLayerFlowItems:16,autoDestroyDisabled:5,baseFilterPredicate:0,baseFilterText:1,baseItemCreatedFunction:0,baseItems:32,basemapTitle:1,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideCatalogLayerList:5,hideHeading:5,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,layerTablesEnabled:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listModeDisabled:5,mapImageOptions:0,messageOverrides:0,minFilterItems:9,openedLayers:32,referenceElement:1,referenceFilterPredicate:0,referenceFilterText:1,referenceItems:32,referenceItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:32,tableList:32,tileOptions:0,view:0,visibilityAppearance:1}}static{this.styles=[K,re,J]}get _allItems(){return this.referenceItems.concat(this.baseItems)}get _visibleBaseItems(){return this.baseItems.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _visibleReferenceItems(){return this.referenceItems.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleReferenceItems.concat(this._visibleBaseItems).flatten(e=>e.children).filter(({hidden:e,panel:t})=>!e&&t?.open&&!t.disabled&&t.flowEnabled)}get _totalBaseItems(){return this.viewModel.baseItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _totalReferenceItems(){return this.viewModel.referenceItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _baseFilterEnabled(){return this._totalBaseItems>=this.minFilterItems&&this.showFilter}get _referenceFilterEnabled(){return this._totalReferenceItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){return this.openedLayers.toArray().map((e,t)=>this._renderLayerFlowItem(e,t===this.openedLayers.length-1))}get baseItems(){return this.viewModel.baseItems}get catalogLayerList(){return this._catalogLayerList}get referenceItems(){return this.viewModel.referenceItems}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[ae(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),le(()=>[this.viewModel.referenceItems.toArray(),this.viewModel.baseItems.toArray()],()=>G(this.selectedItems),{initial:!0})])}updated(){v(this._baseListRef.value,this.baseFilterPredicate,this.baseItems),v(this._referenceListRef.value,this.referenceFilterPredicate,this.referenceItems)}triggerAction(e,t){this.viewModel.triggerAction(e,t)}async _createFlowList(e,t){let i=this._layerListMap.get(e);if(i)return i;let s=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||this._layerListMap.set(e,s),s}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let s=new AbortController,{signal:a}=s;this._openedLayersController=s,e.forEach((n,h)=>{t.includes(h)||(n?.destroy?.(),e.delete(h))});let o=await Promise.all(t.map(n=>this._createFlowList(n,a)));if(a.aborted)return;i.removeAll(),i.addMany(o);let l=i.at(-1);l?"catalogLayer"in l?(this._catalogLayerList=l,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=l):(this._catalogLayerList=void 0,this._tableList=void 0),this.arcgisOpenedLayersChange.emit()}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:s,minFilterItems:a,selectionMode:o,visibilityAppearance:l,layerTablesEnabled:n}=this;return w(r`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??s} .listItemCreatedFunction=${i?.listItemCreatedFunction} .minFilterItems=${i?.minFilterItems??a} .selectionMode=${i?.selectionMode??o} .visibilityAppearance=${i?.visibilityAppearance??l} .showErrors=${i?.showErrors??this.showErrors} .showFilter=${i?.showFilter??this.showFilter} .hideStatusIndicators=${i?.hideStatusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.showTemporaryLayerIndicators??this.showTemporaryLayerIndicators} @arcgisReady=${h=>h.stopPropagation()} .catalogLayer=${e} .layerTablesEnabled=${n} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let t=this._getTableListParams(e);return w(r`<arcgis-table-list-next .headingLevel=${t?.headingLevel??this.headingLevel} .selectionMode=${t?.selectionMode??this.selectionMode} .dragEnabled=${t?.dragEnabled??this.dragEnabled} .collapsed=${t?.collapsed} .filterPlaceholder=${t?.filterPlaceholder} .filterText=${t?.filterText} .icon=${t?.icon??void 0} .label=${t?.label??void 0} .listItemCreatedFunction=${t?.listItemCreatedFunction} .tables=${t?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${i=>i.stopPropagation()}></arcgis-table-list-next>`)}_handlePanelFlowItemBack(e){e.open=!1,this._focusRootFlowItem=!0}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:s}){let a=c(i,this._allItems),o=e.hasAttribute("data-item")?c(e,this._allItems):null,l=t.hasAttribute("data-item")?c(t,this._allItems):null,n=X(t),h=X(e);s==null||!a||!n||!h||(this.viewModel.moveItem({targetItem:a,fromParentItem:l,toParentItem:o,newIndex:s,from:n,to:h}),j(this,a.uid,f=>f.parentElement?.closest("calcite-list")===e))}_handleCalciteListDragEnd(e){let{fromEl:t,toEl:i,dragEl:s,oldIndex:a}=e;if(t!==i){s.remove();return}a==null||!t||!s||t.insertBefore(s,t.children[a])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{toEl:i,fromEl:s,dragEl:a,newIndex:o}=e,l=t?.newIndex===o&&t?.dragEl===a&&t?.toEl===i&&t?.fromEl===s;if(!s||!i||l)return;this._lastDragDetail=e,this._selectedDragItemLayerUid=a.value.layer?.uid??null;let n=s,h=i;if(n===h){let f=Array.from(s.children).filter(I=>I?.matches("calcite-list-item")).map(I=>I.value.layer?.uid??"");this._sortLayers(n,f);return}this._moveLayerFromChildList({toEl:h,fromEl:n,dragEl:a,newIndex:o})}_sortLayers(e,t){if(e===this._referenceListRef.value||e===this._baseListRef.value){let s=e===this._baseListRef.value?this.view?.map?.basemap?.baseLayers:this.view?.map?.basemap?.referenceLayers;H(s,t);return}let i=c(e,this._allItems);i&&q(i,t)}_handleCalciteListChange(e){if(this.selectionMode==="none")return;let t=e.target.selectedItems.map(i=>c(i,this._allItems)).filter(Boolean);this.selectedItems.removeAll(),this.selectedItems.addMany(t)}_focusFlowItem(e,t){return!t||!e?t:(e.setFocus(),!1)}render(){let e={[L.hidden]:this.state==="loading",[L.disabled]:this.state==="disabled"};return r`<div class=${p(P(L.widget,L.panel,e))}>${this._renderItems()}${this._renderItemTooltips()}</div>`}_renderItemTooltip(e){return e?r`<calcite-tooltip overlay-positioning=fixed .referenceElement=${this._tooltipReferenceMap.get(e.layer?.uid??"")}>${this.messages.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i));return t?.length?t:null}_renderItemTooltips(){return this._visibleReferenceItems.concat(this._visibleBaseItems).toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoLayersInfoMessage(e){return r`<div slot=message>${e}</div>`}_renderNoLayersInfo(e,t){return this.hideNoItemsNotice?null:r`<div class=${p(u.itemMessage)}>${m(t,r`<calcite-notice icon=information kind=info open width=full>${this._renderNoLayersInfoMessage(e)}</calcite-notice>`)}</div>`}_renderEditingInput(){return r`<div class=${p(u.editing)}><calcite-label>${this.messages.basemapTitle}<calcite-input .label=${this.messages.basemapTitle} name=basemaptitle .pattern=${oe} .placeholder=${this.messages.basemapTitle} required title=${this.messages.basemapTitle??_} type=text .value=${this.viewModel.basemapTitle??void 0} ${g(this._editTitleInputRef)}></calcite-input></calcite-label></div>`}_renderEditingForm(){return this.editingTitle?r`<calcite-flow-item .heading=${this.hideHeading?void 0:this.messages.basemapTitle} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length&&!this._openedPanelItems.length} @calciteFlowItemBack=${e=>{e.preventDefault(),this._toggleEditingTitle()}} ${g(this._editingFlowItemRef)}>${this._renderEditingInput()}<calcite-button appearance=outline @click=${this._toggleEditingTitle} slot=footer-actions width=full>${this.messages.cancel}</calcite-button><calcite-button slot=footer-actions type=submit width=full>${this.messages.ok}</calcite-button></calcite-flow-item>`:null}_renderEditTitleButton(){return this.showEditTitleButton&&!this.editingTitle?r`<calcite-action icon=pencil @click=${this._toggleEditingTitle} slot=header-actions-end .text=${this.messages.edit??""} title=${this.messages.edit??_}></calcite-action>`:null}_renderItems(){let e=[m("root-flow-item",r`<calcite-flow-item .closable=${this.showCloseButton} .closed=${this.closed} .collapsed=${this.collapsed} .collapsible=${this.showCollapseButton} .heading=${this.hideHeading?void 0:this.viewModel.basemapTitle??this.messages.componentLabel} .headingLevel=${this.headingLevel} .selected=${!this.editingTitle&&!this.openedLayers.length&&!this._openedPanelItems.length} @calciteFlowItemClose=${()=>{this.closed=!0}} ${g(this._rootFlowItemRef)}>${this._renderEditTitleButton()}${this._renderReferenceSection()}${this._renderBaseSection()}</calcite-flow-item>`),this._renderEditingForm(),this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];this._focusRootFlowItem=this._focusFlowItem(this._rootFlowItemRef.value,this._focusRootFlowItem),this._focusEditingFlowItem=this._focusFlowItem(this._editingFlowItemRef.value,this._focusEditingFlowItem);let t=m("root-flow",r`<calcite-flow>${e}</calcite-flow>`);return this.closed?null:this.editingTitle?r`<form class=${p(u.editingForm)} @submit=${this._formSubmit}>${t}</form>`:t}_renderPanelFlowItems(){return N(this._openedPanelItems.toArray(),e=>e.uid,(e,t)=>{let{panel:i,title:s}=e,a=()=>this._handlePanelFlowItemBack(i);return this._focusPanelFlowItem=this._focusFlowItem(this._panelFlowItemRef.value,this._focusPanelFlowItem),r`<calcite-flow-item .description=${s} .heading=${i.title} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length&&t===this._openedPanelItems.length-1} @calciteFlowItemBack=${o=>{o.preventDefault(),a()}} ${g(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${e} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${a} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderLayerFlowItem(e,t){let i=e.title||this.messages.untitledLayer;return this._focusLayerFlowItem===e.uid&&(this._focusLayerFlowItem=this._focusFlowItem(this._layerFlowItemRef.value,!0)?e.uid:null),m(e.uid,r`<calcite-flow-item data-layer-uid=${e.uid??_} .description=${i} .heading=${this.messages[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${s=>{s.preventDefault(),this.openedLayers.pop();let a=this.openedLayers.at(-1);a?this._focusLayerFlowItem=a.uid:this._focusRootFlowItem=!0}} ${g(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderList(e,t,i){let s=t==="reference"?this._referenceFilterEnabled:this._baseFilterEnabled,a=t==="reference"?this.referenceFilterText:this.baseFilterText,o=(t==="reference"?this.messages.noReferenceLayers:this.messages.noBaseLayers)??this.messages.noItemsToDisplay??"";return m(`block-${t}`,r`<calcite-block class=${p(u.section)} expandable expanded .heading=${t==="reference"?this.messages.referenceHeading:this.messages.baseHeading} .headingLevel=${this.headingLevel+1}>${e?.length?null:this._renderNoLayersInfo(o,t)}${m(`list-${t}`,r`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${l=>this._canMove(l,"pull")} .canPut=${l=>this._canMove(l,"put")} data-basemap-layer-type=${t??_} data-layer-type=${this._rootGroupUid??_} .displayMode=${V} .dragEnabled=${this.dragEnabled} .filterEnabled=${s} .filterPlaceholder=${this.filterPlaceholder} .filterProps=${S} .filterText=${s?a:""} .group=${this._rootGroupUid} .label=${this.messages.componentLabel??""} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=border .selectionMode=${this.selectionMode} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${l=>this._handleCalciteListDragEnd(l.detail)} @calciteListFilter=${l=>{let n=l.currentTarget?.filterText??"";this[t==="reference"?"referenceFilterText":"baseFilterText"]=n,t==="base"?this.arcgisBaseFilterChange.emit():this.arcgisReferenceFilterChange.emit()}} @calciteListOrderChange=${l=>this._onCalciteListOrderChange(l.detail)} ${g(t==="reference"?this._referenceListRef:this._baseListRef)}>${e?.toArray().map(l=>this._renderItem(l,i))}${s&&!this.hideNoFilterResultsNotice?r`<div class=${p(u.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoLayersInfoMessage(o)}</calcite-notice></div>`:null}</calcite-list>`)}</calcite-block>`)}_renderBaseSection(){return this.hideBaseLayers?null:this._renderList(this._visibleBaseItems,"base",this._visibleBaseItems.length===1)}_renderReferenceSection(){return this.hideReferenceLayers?null:this._renderList(this._visibleReferenceItems,"reference",!1)}_renderItem(e,t,i,s){return m(e.uid,z({activeItem:this._activeItem,canMove:this._canMove,css:u,displayMode:V,dragEnabled:this.dragEnabled&&!t,hideCatalogLayerList:this.hideCatalogLayerList,hideStatusIndicators:this.hideStatusIndicators,item:e,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,messages:this.messages,operationalItems:this._allItems,parent:i,parentTitles:s,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem,clearActiveItem:this._clearActiveItem,showErrors:this.showErrors,showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction,handleCatalogOpen:this._onCatalogOpen,handlePanelOpen:this._onPanelOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,handleTablesOpen:this._onTablesOpen,handleTooltipReferenceChange:this._onTooltipReferenceChange,view:this.view}))}};function X(E){let e=E.closest(`[${W}]`)?.getAttribute(W);return e==="base"||e==="reference"?e:null}A("arcgis-basemap-layer-list-next",F);return F},"layers/list/BasemapItemCollection","core/Collection","core/reactiveUtils",a,b,e,f,h,i,j,l,n,o,s,t)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import t from"./GNSNEUMI.js";import"./53OXTCE6.js";import{a as Q}from"./4L43F7HU.js";import s from"./VUAYNF3K.js";import r from"./VDEMMP33.js";import o from"./Z2UUXST4.js";import{a as S,b as U,g as G,h as v,j as H,k as q,m as c,n as $}from"./ZCFWKPXL.js";import{a as N}from"./DUMHDAYP.js";import{a as m}from"./PIDNZKSJ.js";import n from"./WBBTZNZU.js";import j from"./HU57LQOA.js";import i from"./RUYAWRPV.js";import"./WJQUE4DR.js";import h from"./BQBWXR6P.js";import{a as O}from"./ZSPYPXBY.js";import{a as L}from"./L5IRXOCJ.js";import{a as k}from"./SIFBGT4D.js";import f from"./P3PXDT5V.js";import e from"./ALVAGE57.js";import b from"./HPWF3IQV.js";import{h as B}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as P}from"./ZKWI43WZ.js";import{B as M,N as d,O as g,P as R,R as p,U as _,V as w,X as A,a as C,b as l,x as y}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([se,b,{on:ae,watch:re},,,,D,x,,,,,{k:j},,{a:z,b:J,c:K}])=>{var u={...Q,section:"section",editing:"editing",editingForm:"editing-form"},le=C`:host{--arcgis-layer-list-visibility-icon: hidden}.editing-form{display:flex;height:100%;flex:1}.editing{padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm)}`,V="nested",oe=".*\\S+.*",W="data-basemap-layer-type",ne=x(se),F=class extends R{constructor(){super(...arguments),this._baseListRef=d(),this._referenceListRef=d(),this._editTitleInputRef=d(),this._layerFlowItemRef=d(),this._panelFlowItemRef=d(),this._rootFlowItemRef=d(),this._editingFlowItemRef=d(),this._lastDragDetail=null,this._selectedDragItemLayerUid=null,this._rootGroupUid=`basemap-${M()}`,this._openedLayersController=null,this._focusRootFlowItem=!1,this._focusPanelFlowItem=!1,this._focusLayerFlowItem=null,this._focusEditingFlowItem=!1,this.messages=O(),this.viewModel=ne(this),this.arcgisClose=k(this),this._canMove=({dragEl:e,fromEl:t,toEl:i},s)=>{let a=s==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,o=c(e,this._allItems);if(!o?.sortable)return!1;let r=c(t,this._allItems),n=$(t),h=c(i,this._allItems),f=$(i),I=!!n&&!!f&&n===f,Y={selected:o,from:r,to:h},Z=t.group,ee=i.group,te=r?.layer?.type??"",ie=h?.layer?.type??"",T=new Set(["map-image","catalog","knowledge-graph"]);return Z&&ee&&typeof a=="function"?a(Y):I&&!T.has(te)&&!T.has(ie)&&o.layer?.type!=="sublayer"},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this._onTooltipReferenceChange=(e,t)=>{t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer),this._focusLayerFlowItem=e.layer?.uid??null},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent),this._focusLayerFlowItem=e.layer?.uid??null},this._onPanelOpen=()=>{this._focusPanelFlowItem=!0},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(i=>i.classList?.contains(u.item));this._activeItem=c(t,this._allItems)??null},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._toggleEditingTitle=()=>{let e=!this.editingTitle;this.editingTitle=e,e?this._focusEditingFlowItem=!0:this._focusRootFlowItem=!0},this._formSubmit=e=>{e.preventDefault();let t=this._editTitleInputRef.value?.value;t?.trim()&&(this.basemapTitle=t),this._toggleEditingTitle()},this._activeItem=null,this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.openedLayerLists=new b,this.autoDestroyDisabled=!1,this.baseFilterText="",this.baseItemCreatedFunction=this.viewModel.baseItemCreatedFunction,this.basemapTitle=this.viewModel.basemapTitle,this.closed=!1,this.collapsed=!1,this.dragEnabled=!1,this.editingTitle=!1,this.filterPlaceholder="",this.headingLevel=2,this.hideBaseLayers=!1,this.hideCatalogLayerList=!1,this.hideHeading=!1,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.hideReferenceLayers=!1,this.hideStatusIndicators=!1,this.icon="layers",this.layerTablesEnabled=new b(["knowledge-graph"]),this.listModeDisabled=this.viewModel.listModeDisabled,this.minFilterItems=U,this.openedLayers=new b,this.referenceFilterText="",this.referenceItemCreatedFunction=this.viewModel.referenceItemCreatedFunction,this.selectedItems=new b,this.selectionMode="none",this.showCloseButton=!1,this.showCollapseButton=!1,this.showEditTitleButton=!1,this.showErrors=!1,this.showFilter=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.view=this.viewModel.view,this.visibilityAppearance="default",this.arcgisBaseFilterChange=y(),this.arcgisOpenedLayersChange=y(),this.arcgisPropertyChange=B()("state"),this.arcgisReady=y(),this.arcgisReferenceFilterChange=y(),this.arcgisTriggerAction=D(()=>this.viewModel,"trigger-action")}static{this.properties={_activeItem:16,_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,openedLayerLists:16,_allItems:16,_visibleBaseItems:16,_visibleReferenceItems:16,_openedPanelItems:16,_totalBaseItems:16,_totalReferenceItems:16,_baseFilterEnabled:16,_referenceFilterEnabled:16,_renderedOpenLayerFlowItems:16,autoDestroyDisabled:5,baseFilterPredicate:0,baseFilterText:1,baseItemCreatedFunction:0,baseItems:32,basemapTitle:1,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideCatalogLayerList:5,hideHeading:5,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,layerTablesEnabled:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listModeDisabled:5,mapImageOptions:0,messageOverrides:0,minFilterItems:9,openedLayers:32,referenceElement:1,referenceFilterPredicate:0,referenceFilterText:1,referenceItems:32,referenceItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:32,tableList:32,tileOptions:0,view:0,visibilityAppearance:1}}static{this.styles=[K,le,J]}get _allItems(){return this.referenceItems.concat(this.baseItems)}get _visibleBaseItems(){return this.baseItems.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _visibleReferenceItems(){return this.referenceItems.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleReferenceItems.concat(this._visibleBaseItems).flatten(e=>e.children).filter(({hidden:e,panel:t})=>!e&&t?.open&&!t.disabled&&t.flowEnabled)}get _totalBaseItems(){return this.viewModel.baseItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _totalReferenceItems(){return this.viewModel.referenceItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _baseFilterEnabled(){return this._totalBaseItems>=this.minFilterItems&&this.showFilter}get _referenceFilterEnabled(){return this._totalReferenceItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){return this.openedLayers.toArray().map((e,t)=>this._renderLayerFlowItem(e,t===this.openedLayers.length-1))}get baseItems(){return this.viewModel.baseItems}get catalogLayerList(){return this._catalogLayerList}get referenceItems(){return this.viewModel.referenceItems}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[ae(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),re(()=>[this.viewModel.referenceItems.toArray(),this.viewModel.baseItems.toArray()],()=>G(this.selectedItems),{initial:!0})])}updated(){v(this._baseListRef.value,this.baseFilterPredicate,this.baseItems),v(this._referenceListRef.value,this.referenceFilterPredicate,this.referenceItems)}triggerAction(e,t){this.viewModel.triggerAction(e,t)}async _createFlowList(e,t){let i=this._layerListMap.get(e);if(i)return i;let s=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||this._layerListMap.set(e,s),s}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let s=new AbortController,{signal:a}=s;this._openedLayersController=s,e.forEach((n,h)=>{t.includes(h)||(n?.destroy?.(),e.delete(h))});let o=await Promise.all(t.map(n=>this._createFlowList(n,a)));if(a.aborted)return;i.removeAll(),i.addMany(o);let r=i.at(-1);r?"catalogLayer"in r?(this._catalogLayerList=r,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=r):(this._catalogLayerList=void 0,this._tableList=void 0),this.arcgisOpenedLayersChange.emit()}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:s,minFilterItems:a,selectionMode:o,visibilityAppearance:r,layerTablesEnabled:n}=this;return w(l`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??s} .listItemCreatedFunction=${i?.listItemCreatedFunction} .minFilterItems=${i?.minFilterItems??a} .selectionMode=${i?.selectionMode??o} .visibilityAppearance=${i?.visibilityAppearance??r} .showErrors=${i?.showErrors??this.showErrors} .showFilter=${i?.showFilter??this.showFilter} .hideStatusIndicators=${i?.hideStatusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.showTemporaryLayerIndicators??this.showTemporaryLayerIndicators} @arcgisReady=${h=>h.stopPropagation()} .catalogLayer=${e} .layerTablesEnabled=${n} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let t=this._getTableListParams(e);return w(l`<arcgis-table-list-next .headingLevel=${t?.headingLevel??this.headingLevel} .selectionMode=${t?.selectionMode??this.selectionMode} .dragEnabled=${t?.dragEnabled??this.dragEnabled} .collapsed=${t?.collapsed} .filterPlaceholder=${t?.filterPlaceholder} .filterText=${t?.filterText} .icon=${t?.icon??void 0} .label=${t?.label??void 0} .listItemCreatedFunction=${t?.listItemCreatedFunction} .tables=${t?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${i=>i.stopPropagation()}></arcgis-table-list-next>`)}_handlePanelFlowItemBack(e){e.open=!1,this._focusRootFlowItem=!0}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:s}){let a=c(i,this._allItems),o=e.hasAttribute("data-item")?c(e,this._allItems):null,r=t.hasAttribute("data-item")?c(t,this._allItems):null,n=X(t),h=X(e);s==null||!a||!n||!h||(this.viewModel.moveItem({targetItem:a,fromParentItem:r,toParentItem:o,newIndex:s,from:n,to:h}),j(this,a.uid,f=>f.parentElement?.closest("calcite-list")===e))}_handleCalciteListDragEnd(e){let{fromEl:t,toEl:i,dragEl:s,oldIndex:a}=e;if(t!==i){s.remove();return}a==null||!t||!s||t.insertBefore(s,t.children[a])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{toEl:i,fromEl:s,dragEl:a,newIndex:o}=e,r=t?.newIndex===o&&t?.dragEl===a&&t?.toEl===i&&t?.fromEl===s;if(!s||!i||r)return;this._lastDragDetail=e,this._selectedDragItemLayerUid=a.value.layer?.uid??null;let n=s,h=i;if(n===h){let f=Array.from(s.children).filter(I=>I?.matches("calcite-list-item")).map(I=>I.value.layer?.uid??"");this._sortLayers(n,f);return}this._moveLayerFromChildList({toEl:h,fromEl:n,dragEl:a,newIndex:o})}_sortLayers(e,t){if(e===this._referenceListRef.value||e===this._baseListRef.value){let s=e===this._baseListRef.value?this.view?.map?.basemap?.baseLayers:this.view?.map?.basemap?.referenceLayers;H(s,t);return}let i=c(e,this._allItems);i&&q(i,t)}_handleCalciteListChange(e){if(this.selectionMode==="none")return;let t=e.target.selectedItems.map(i=>c(i,this._allItems)).filter(Boolean);this.selectedItems.removeAll(),this.selectedItems.addMany(t)}_focusFlowItem(e,t){return!t||!e?t:(e.setFocus(),!1)}render(){let e={[L.hidden]:this.state==="loading",[L.disabled]:this.state==="disabled"};return l`<div class=${p(P(L.widget,L.panel,e))}>${this._renderItems()}${this._renderItemTooltips()}</div>`}_renderItemTooltip(e){return e?l`<calcite-tooltip overlay-positioning=fixed .referenceElement=${this._tooltipReferenceMap.get(e.layer?.uid??"")}>${this.messages.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i));return t?.length?t:null}_renderItemTooltips(){return this._visibleReferenceItems.concat(this._visibleBaseItems).toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoLayersInfoMessage(e){return l`<div slot=message>${e}</div>`}_renderNoLayersInfo(e,t){return this.hideNoItemsNotice?null:l`<div class=${p(u.itemMessage)}>${m(t,l`<calcite-notice icon=information kind=info open width=full>${this._renderNoLayersInfoMessage(e)}</calcite-notice>`)}</div>`}_renderEditingInput(){return l`<div class=${p(u.editing)}><calcite-label>${this.messages.basemapTitle}<calcite-input .label=${this.messages.basemapTitle} name=basemaptitle .pattern=${oe} .placeholder=${this.messages.basemapTitle} required title=${this.messages.basemapTitle??_} type=text .value=${this.viewModel.basemapTitle??void 0} ${g(this._editTitleInputRef)}></calcite-input></calcite-label></div>`}_renderEditingForm(){return this.editingTitle?l`<calcite-flow-item .heading=${this.hideHeading?void 0:this.messages.basemapTitle} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length&&!this._openedPanelItems.length} @calciteFlowItemBack=${e=>{e.preventDefault(),this._toggleEditingTitle()}} ${g(this._editingFlowItemRef)}>${this._renderEditingInput()}<calcite-button appearance=outline @click=${this._toggleEditingTitle} slot=footer-actions width=full>${this.messages.cancel}</calcite-button><calcite-button slot=footer-actions type=submit width=full>${this.messages.ok}</calcite-button></calcite-flow-item>`:null}_renderEditTitleButton(){return this.showEditTitleButton&&!this.editingTitle?l`<calcite-action icon=pencil @click=${this._toggleEditingTitle} slot=header-actions-end .text=${this.messages.edit??""} title=${this.messages.edit??_}></calcite-action>`:null}_renderItems(){let e=[m("root-flow-item",l`<calcite-flow-item .closable=${this.showCloseButton} .closed=${this.closed} .collapsed=${this.collapsed} .collapsible=${this.showCollapseButton} .heading=${this.hideHeading?void 0:this.viewModel.basemapTitle??this.messages.componentLabel} .headingLevel=${this.headingLevel} .selected=${!this.editingTitle&&!this.openedLayers.length&&!this._openedPanelItems.length} @calciteFlowItemClose=${()=>{this.closed=!0}} ${g(this._rootFlowItemRef)}>${this._renderEditTitleButton()}${this._renderReferenceSection()}${this._renderBaseSection()}</calcite-flow-item>`),this._renderEditingForm(),this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];this._focusRootFlowItem=this._focusFlowItem(this._rootFlowItemRef.value,this._focusRootFlowItem),this._focusEditingFlowItem=this._focusFlowItem(this._editingFlowItemRef.value,this._focusEditingFlowItem);let t=m("root-flow",l`<calcite-flow>${e}</calcite-flow>`);return this.closed?null:this.editingTitle?l`<form class=${p(u.editingForm)} @submit=${this._formSubmit}>${t}</form>`:t}_renderPanelFlowItems(){return N(this._openedPanelItems.toArray(),e=>e.uid,(e,t)=>{let{panel:i,title:s}=e,a=()=>this._handlePanelFlowItemBack(i);return this._focusPanelFlowItem=this._focusFlowItem(this._panelFlowItemRef.value,this._focusPanelFlowItem),l`<calcite-flow-item .description=${s} .heading=${i.title} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length&&t===this._openedPanelItems.length-1} @calciteFlowItemBack=${o=>{o.preventDefault(),a()}} ${g(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${e} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${a} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderLayerFlowItem(e,t){let i=e.title||this.messages.untitledLayer;return this._focusLayerFlowItem===e.uid&&(this._focusLayerFlowItem=this._focusFlowItem(this._layerFlowItemRef.value,!0)?e.uid:null),m(e.uid,l`<calcite-flow-item data-layer-uid=${e.uid??_} .description=${i} .heading=${this.messages[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${s=>{s.preventDefault(),this.openedLayers.pop();let a=this.openedLayers.at(-1);a?this._focusLayerFlowItem=a.uid:this._focusRootFlowItem=!0}} ${g(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderList(e,t,i){let s=t==="reference"?this._referenceFilterEnabled:this._baseFilterEnabled,a=t==="reference"?this.referenceFilterText:this.baseFilterText,o=(t==="reference"?this.messages.noReferenceLayers:this.messages.noBaseLayers)??this.messages.noItemsToDisplay??"";return m(`block-${t}`,l`<calcite-block class=${p(u.section)} expandable expanded .heading=${t==="reference"?this.messages.referenceHeading:this.messages.baseHeading} .headingLevel=${this.headingLevel+1}>${e?.length?null:this._renderNoLayersInfo(o,t)}${m(`list-${t}`,l`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${r=>this._canMove(r,"pull")} .canPut=${r=>this._canMove(r,"put")} data-basemap-layer-type=${t??_} data-layer-type=${this._rootGroupUid??_} .displayMode=${V} .dragEnabled=${this.dragEnabled} .filterEnabled=${s} .filterPlaceholder=${this.filterPlaceholder} .filterProps=${S} .filterText=${s?a:""} .group=${this._rootGroupUid} .label=${this.messages.componentLabel??""} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=border .selectionMode=${this.selectionMode} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${r=>this._handleCalciteListDragEnd(r.detail)} @calciteListFilter=${r=>{let n=r.currentTarget?.filterText??"";this[t==="reference"?"referenceFilterText":"baseFilterText"]=n,t==="base"?this.arcgisBaseFilterChange.emit():this.arcgisReferenceFilterChange.emit()}} @calciteListOrderChange=${r=>this._onCalciteListOrderChange(r.detail)} ${g(t==="reference"?this._referenceListRef:this._baseListRef)}>${e?.toArray().map(r=>this._renderItem(r,i))}${s&&!this.hideNoFilterResultsNotice?l`<div class=${p(u.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoLayersInfoMessage(o)}</calcite-notice></div>`:null}</calcite-list>`)}</calcite-block>`)}_renderBaseSection(){return this.hideBaseLayers?null:this._renderList(this._visibleBaseItems,"base",this._visibleBaseItems.length===1)}_renderReferenceSection(){return this.hideReferenceLayers?null:this._renderList(this._visibleReferenceItems,"reference",!1)}_renderItem(e,t,i,s){return m(e.uid,z({activeItem:this._activeItem,canMove:this._canMove,css:u,displayMode:V,dragEnabled:this.dragEnabled&&!t,hideCatalogLayerList:this.hideCatalogLayerList,hideStatusIndicators:this.hideStatusIndicators,item:e,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,messages:this.messages,operationalItems:this._allItems,parent:i,parentTitles:s,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem,clearActiveItem:this._clearActiveItem,showErrors:this.showErrors,showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction,handleCatalogOpen:this._onCatalogOpen,handlePanelOpen:this._onPanelOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,handleTablesOpen:this._onTablesOpen,handleTooltipReferenceChange:this._onTooltipReferenceChange,view:this.view}))}};function X(E){let e=E.closest(`[${W}]`)?.getAttribute(W);return e==="base"||e==="reference"?e:null}A("arcgis-basemap-layer-list-next",F);return F},"layerList/BasemapLayerListModel","core/Collection","core/reactiveUtils",a,b,e,f,h,i,j,n,o,r,s,t)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as g}from"./WEAGLY7B.js";import{a as v}from"./JD74LG7K.js";import e from"./JBHRVHGS.js";import{h as f}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import b from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as d,g as h}from"./WQMZ7BDQ.js";import{P as i,R as a,U as u,X as m,a as c,b as n,x as o}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([,{a:p}])=>{var E=c`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);calcite-button{--calcite-offset-invert-focus: 1}display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}`;function x(s){return s.includes("#")||s.includes(".")||s.includes("[")?s:`#${s}`}var r=class extends i{constructor(){super(),this.messages=g(),this.view=p(this),this.visualScale="m",this.arcgisPropertyChange=f()("state"),this.arcgisReady=o(),this.listenOn(document,"fullscreenchange",()=>this.fullscreenElement=document.fullscreenElement)}static{this.properties={fullscreenElement:16,view:0,element:1,label:1,messageOverrides:0,referenceElement:1,visualScale:1,state:35}}static{this.styles=E}get fullscreenTitle(){return this.state==="active"?this.messages.exit:this.messages.enter}#e;get element(){return this.#e}set element(e){if(typeof e=="string"){let t=x(e),l=h(this.el,t);this.#e=l||void 0}else this.#e=e}get state(){if(!document.fullscreenEnabled)return"unsupported";let e=this._getElement();return e?this.fullscreenElement===e?"active":"ready":"disabled"}connectedCallback(){super.connectedCallback(),this.fullscreenElement=document.fullscreenElement}_getElement(){let e=this.view?.container,t=e?.getRootNode(),l=t instanceof ShadowRoot?t.host:null;return this.element??e?.parentElement??l??null}_toggle(){this.state!=="unsupported"&&(document.fullscreenElement?document.exitFullscreen():this._getElement()?.requestFullscreen())}render(){let{fullscreenTitle:e,state:t}=this,l=t==="unsupported",b=t==="ready"||t==="disabled"||t==="unsupported"?"zoom-out-fixed":"zoom-in-fixed";return n`<div class=${a(d("root",v.arcgisButton))}><calcite-button .disabled=${t==="disabled"||l} .iconStart=${b} kind=neutral .label=${e} @click=${this._toggle} .scale=${this.visualScale} title=${e??u}></calcite-button></div>`}};m("arcgis-fullscreen",r);return r},b,e)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as g}from"./ZSPYPXBY.js";import{a as v}from"./L5IRXOCJ.js";import e from"./HPWF3IQV.js";import{h as f}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import b from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as d,g as h}from"./ZKWI43WZ.js";import{P as i,R as a,U as u,X as m,a as c,b as n,x as o}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([,{a:p}])=>{var E=c`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);calcite-button{--calcite-offset-invert-focus: 1}display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}`;function x(s){return s.includes("#")||s.includes(".")||s.includes("[")?s:`#${s}`}var r=class extends i{constructor(){super(),this.messages=g(),this.view=p(this),this.visualScale="m",this.arcgisPropertyChange=f()("state"),this.arcgisReady=o(),this.listenOn(document,"fullscreenchange",()=>this.fullscreenElement=document.fullscreenElement)}static{this.properties={fullscreenElement:16,view:0,element:1,label:1,messageOverrides:0,referenceElement:1,visualScale:1,state:35}}static{this.styles=E}get fullscreenTitle(){return this.state==="active"?this.messages.exit:this.messages.enter}#e;get element(){return this.#e}set element(e){if(typeof e=="string"){let t=x(e),l=h(this.el,t);this.#e=l||void 0}else this.#e=e}get state(){if(!document.fullscreenEnabled)return"unsupported";let e=this._getElement();return e?this.fullscreenElement===e?"active":"ready":"disabled"}connectedCallback(){super.connectedCallback(),this.fullscreenElement=document.fullscreenElement}_getElement(){let e=this.view?.container,t=e?.getRootNode(),l=t instanceof ShadowRoot?t.host:null;return this.element??e?.parentElement??l??null}_toggle(){this.state!=="unsupported"&&(document.fullscreenElement?document.exitFullscreen():this._getElement()?.requestFullscreen())}render(){let{fullscreenTitle:e,state:t}=this,l=t==="unsupported",b=t==="ready"||t==="disabled"||t==="unsupported"?"zoom-out-fixed":"zoom-in-fixed";return n`<div class=${a(d("root",v.arcgisButton))}><calcite-button .disabled=${t==="disabled"||l} .iconStart=${b} kind=neutral .label=${e} @click=${this._toggle} .scale=${this.visualScale} title=${e??u}></calcite-button></div>`}};m("arcgis-fullscreen",r);return r},b,e)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{T as e}from"./PLTLRYBF.js";import"./T2DT5I33.js";import{X as t}from"./6NWR2Z4F.js";import"./H6RQVSYM.js";var r=class extends t{setupDefaultRules(){super.setupDefaultRules(),this.rule("InterfaceColors").setAll({stroke:e.fromHex(0),fill:e.fromHex(2829099),primaryButton:e.lighten(e.fromHex(6788316),-.2),primaryButtonHover:e.lighten(e.fromHex(6779356),-.2),primaryButtonDown:e.lighten(e.fromHex(6872181),-.2),primaryButtonActive:e.lighten(e.fromHex(6872182),-.2),primaryButtonText:e.fromHex(16777215),primaryButtonStroke:e.lighten(e.fromHex(6788316),-.2),secondaryButton:e.fromHex(3881787),secondaryButtonHover:e.lighten(e.fromHex(3881787),.1),secondaryButtonDown:e.lighten(e.fromHex(3881787),.15),secondaryButtonActive:e.lighten(e.fromHex(3881787),.2),secondaryButtonText:e.fromHex(12303291),secondaryButtonStroke:e.lighten(e.fromHex(3881787),-.2),grid:e.fromHex(12303291),background:e.fromHex(0),alternativeBackground:e.fromHex(16777215),text:e.fromHex(16777215),alternativeText:e.fromHex(0),disabled:e.fromHex(11382189),positive:e.fromHex(5288704),negative:e.fromHex(11730944)})}};var b=r;export{b as default};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{T as e}from"./4ZLIA5OM.js";import"./ND3V4Z4F.js";import{X as t}from"./MQYTZX24.js";import"./TAVTDQ6S.js";var r=class extends t{setupDefaultRules(){super.setupDefaultRules(),this.rule("InterfaceColors").setAll({stroke:e.fromHex(0),fill:e.fromHex(2829099),primaryButton:e.lighten(e.fromHex(6788316),-.2),primaryButtonHover:e.lighten(e.fromHex(6779356),-.2),primaryButtonDown:e.lighten(e.fromHex(6872181),-.2),primaryButtonActive:e.lighten(e.fromHex(6872182),-.2),primaryButtonText:e.fromHex(16777215),primaryButtonStroke:e.lighten(e.fromHex(6788316),-.2),secondaryButton:e.fromHex(3881787),secondaryButtonHover:e.lighten(e.fromHex(3881787),.1),secondaryButtonDown:e.lighten(e.fromHex(3881787),.15),secondaryButtonActive:e.lighten(e.fromHex(3881787),.2),secondaryButtonText:e.fromHex(12303291),secondaryButtonStroke:e.lighten(e.fromHex(3881787),-.2),grid:e.fromHex(12303291),background:e.fromHex(0),alternativeBackground:e.fromHex(16777215),text:e.fromHex(16777215),alternativeText:e.fromHex(0),disabled:e.fromHex(11382189),positive:e.fromHex(5288704),negative:e.fromHex(11730944)})}};var b=r;export{b as default};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as t}from"./POKO37D3.js";import{a as o}from"./UMHGXP3S.js";import{a as r}from"./JD74LG7K.js";import{R as i,U as l,b as e}from"./EKR2SAT2.js";function $(a){let{children:n,hideHeader:d,headingLevel:m=2,label:c,title:s}=a;return e`<div aria-label=${c??l} class=${i({...typeof a.class=="string"?{[a.class]:!0}:a.class,[r.widget]:!0,[r.panel]:!0})} role=presentation>${t({hidden:d||!s,children:o({level:m,children:s})})}${n}</div>`}export{$ as a};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as t}from"./6J3KSMFG.js";import{a as o}from"./HQWUQFN5.js";import{a as r}from"./L5IRXOCJ.js";import{R as i,U as l,b as e}from"./3UMLR76Y.js";function $(a){let{children:n,hideHeader:d,headingLevel:m=2,label:c,title:s}=a;return e`<div aria-label=${c??l} class=${i({...typeof a.class=="string"?{[a.class]:!0}:a.class,[r.widget]:!0,[r.panel]:!0})} role=presentation>${t({hidden:d||!s,children:o({level:m,children:s})})}${n}</div>`}export{$ as a};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  export default $arcgis.t(([i,t,n,{getOrCreateMapValue:r}])=>{var l=new Map,w=e=>{let o=null;switch(e){case"polygon":o=r(l,e,()=>new i({color:[248,248,248,.4],outline:new t({cap:"round",color:[0,255,0,1],join:"miter",miterLimit:1,style:"solid",width:2}),style:"diagonal-cross"}));break;case"polyline":o=r(l,e,()=>new t({color:[0,255,0,1],width:2}));break;case"point":o=r(l,e,()=>new n({style:"circle",size:6,color:[0,255,0],outline:{color:[0,255,0],width:1}}));break;default:return null}return o},m=e=>{let o=null;switch(e){case"polygon":o=r(l,`hover-${e}`,()=>new i({color:[248,248,248,.4],outline:new t({cap:"round",color:[0,255,0,1],join:"miter",miterLimit:1,style:"solid",width:2}),style:"none"}));break;case"polyline":o=r(l,`hover-${e}`,()=>new t({color:[0,255,255,1],width:2}));break;case"point":o=r(l,`hover-${e}`,()=>new n({style:"circle",size:6,color:[0,255,255],outline:{color:[0,255,255],width:1}}));break;default:return null}return o};return{a:w,b:m}},"symbols/SimpleFillSymbol","symbols/SimpleLineSymbol","symbols/SimpleMarkerSymbol","applications/Components/featureUtils")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  var n=class e{constructor(t){this._value=t}get value(){return this._value/100}get percent(){return this._value}toString(){return""+this._value+"%"}interpolate(t,r){return t+this.value*(r-t)}static normalize(t,r,u){return t instanceof e?t:r===u?new e(0):new e(Math.min(Math.max((t-r)*(1/(u-r)),0),1)*100)}};function o(e){return new n(e)}var s=o(0),a=o(100),i=o(50);function c(e){return e instanceof n}export{n as a,o as b,s as c,a as d,i as e,c as f};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  export default $arcgis.t(([{formatDate:n}])=>{function e(i){return n(Math.round(r(i))*1e3,{minute:"2-digit",second:"2-digit"})}function r(i){return Number.isFinite(i)&&i>=0?i:0}return{a:e,b:r}},"intl")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import a from"./3ZXNGXHC.js";import{f as r}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{P as c,X as o,a as i,b as l}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:d},{b:n,c:m,d:p}])=>{var g=i`.template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.template-select-container .template-select-error,.template-select-container .template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s=class extends c{constructor(){super(...arguments),this._direction=r(),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=g}loaded(){this.manager.onLifecycle(()=>{let e,t=d(()=>this.viewModel.templateOptions.id,a=>{e?.remove(),this._selectedTemplate=a?this.viewModel.getLayoutTemplateById(a)??void 0:void 0,e=d(()=>this._selectedTemplate?.state,h=>this._templateState=h??"not-loaded",{initial:!0})},{initial:!0});return()=>{t.remove(),e?.remove()}})}render(){let e=this._selectedTemplate?m(this._selectedTemplate,this.messages):this.messages.selectTemplate;return l`<calcite-block class="template-select-container" .description=${n(this._selectedTemplate)} .heading=${e} .label=${e} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${t=>{(t.key==="Enter"||t.key===" ")&&this.showTemplateSelector()}} tabindex=0><calcite-icon .icon=${(this._selectedTemplate?.layout?p(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>${this._templateState==="error"?l`<calcite-icon class="template-select-error" icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`:null}<calcite-icon class="template-select-arrow" .icon=${this._direction==="rtl"?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon></calcite-block>`}};o("arcgis-print-template-select",s);return s},"core/reactiveUtils",a)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import a from"./Y77AVOAH.js";import{f as r}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as c,X as o,a as i,b as l}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:d},{b:n,c:m,d:p}])=>{var g=i`.template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.template-select-container .template-select-error,.template-select-container .template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s=class extends c{constructor(){super(...arguments),this._direction=r(),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=g}loaded(){this.manager.onLifecycle(()=>{let e,t=d(()=>this.viewModel.templateOptions.id,a=>{e?.remove(),this._selectedTemplate=a?this.viewModel.getLayoutTemplateById(a)??void 0:void 0,e=d(()=>this._selectedTemplate?.state,h=>this._templateState=h??"not-loaded",{initial:!0})},{initial:!0});return()=>{t.remove(),e?.remove()}})}render(){let e=this._selectedTemplate?m(this._selectedTemplate,this.messages):this.messages.selectTemplate;return l`<calcite-block class="template-select-container" .description=${n(this._selectedTemplate)} .heading=${e} .label=${e} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${t=>{(t.key==="Enter"||t.key===" ")&&this.showTemplateSelector()}} tabindex=0><calcite-icon .icon=${(this._selectedTemplate?.layout?p(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>${this._templateState==="error"?l`<calcite-icon class="template-select-error" icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`:null}<calcite-icon class="template-select-arrow" .icon=${this._direction==="rtl"?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon></calcite-block>`}};o("arcgis-print-template-select",s);return s},"core/reactiveUtils",a)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import j from"./HX4CDWS4.js";import{a as P}from"./BIU6VS3K.js";import i from"./DSDPDMLP.js";import"./VJVKFKSG.js";import g from"./CQQM24VF.js";import{a as C}from"./WEAGLY7B.js";import{a as u}from"./JD74LG7K.js";import e from"./FZWFKZLW.js";import c from"./JBHRVHGS.js";import{h as M}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as _}from"./WQMZ7BDQ.js";import{N as v,O as b,P as w,R as d,U as y,X as E,a as f,b as p,x as h}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:$},{property:c,subclass:k},D,{onLocaleChange:G},z,B,,,,T,{c:O},{a:S,b:L}])=>{var I=f`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);calcite-button{--calcite-offset-invert-focus: 1}display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}:host{width:fit-content;height:fit-content}`,A=Object.defineProperty,R=Object.getOwnPropertyDescriptor,s=(e,t,i,a)=>{for(var o=a>1?void 0:a?R(t,i):t,l=e.length-1,n;l>=0;l--)(n=e[l])&&(o=(a?n(t,i,o):n(o))||o);return a&&o&&A(t,i,o),o},U=new B({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}"})._internalSetClassName("esri-icon-trash");function j(e){return new z({title:e.currentLocation,fieldInfos:[{fieldName:"timestamp",label:e.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:e.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:e.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:e.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:e.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:e.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:e.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:e.speed,format:{places:0,digitSeparator:!0}}],actions:[U.clone()],content:[{type:"fields"}]})}var r=class extends L{constructor(e){super(e),this._getCurrentPosition=S,this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([G(()=>{let{graphic:e,view:t}=this;e&&t?.graphics?.includes(e)&&this._updatePopupTemplate(e)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new D("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new D("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let e=new AbortController;this._locateController=e,this.error=void 0;try{let t=await this._getCurrentPosition(this.geolocationOptions);if(await this.updatePosition(t,e),this._locateController!==e)return null;let{graphic:i}=this;return i&&this._updatePopupTemplate(i),this._addGraphic(),this.currentPosition=t,this._locateController=void 0,t}catch(t){if(O(t))return null;throw e===this._locateController&&(this._locateController=void 0),this.error=t,t}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=void 0}_updatePopupTemplate(e){if(!this.popupEnabled)return;let t=j(this.messages),i=e!==this.graphic;this.destroyed||i||(e.popupTemplate=t)}};s([c()],r.prototype,"_locateController",2);s([c()],r.prototype,"currentPosition",2);s([c()],r.prototype,"error",2);s([c()],r.prototype,"messages",2);s([c()],r.prototype,"popupEnabled",2);s([c({readOnly:!0})],r.prototype,"state",1);r=s([k("map-components.locate.LocateViewModel")],r);var V=r,N="gps-off",H=T(V),m=class extends w{constructor(){super(),this.locateButtonElement=v(),this.messages=C(),this.viewModel=H(this),this.hideErrorTooltip=()=>{this.isErrorTooltipOpen=!1},this.isErrorTooltipOpen=!1,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=N,this.popupDisabled=this.viewModel.popupEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.visualScale="m",this.arcgisError=h(),this.arcgisPropertyChange=M()("state"),this.arcgisReady=h(),this.arcgisSuccess=h(),this.listenOn(document,"click",this.hideErrorTooltip)}static{this.properties={isErrorTooltipOpen:16,view:0,autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:1,label:1,messageOverrides:0,popupDisabled:5,referenceElement:1,scale:9,state:32,visualScale:1}}static{this.styles=I}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[$(()=>this.viewModel.error,t=>{this.isErrorTooltipOpen=!!t,this.arcgisError.emit({error:t})}),$(()=>this.viewModel.currentPosition,t=>{this.arcgisSuccess.emit({position:t})})])}_localizeError(t){if(t instanceof GeolocationPositionError)return t.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:t.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(t instanceof Error)return t.message}_locate(){let{viewModel:t}=this;t.state==="locating"?t.cancelLocate():t.locate().catch(()=>{})}render(){let{viewModel:t,icon:i}=this,{state:a}=t,o=a==="locating",l=o?this.messages.cancel:this.messages.title,n=a==="feature-unsupported",x=P===void 0?N:void 0,g=this._localizeError(this.viewModel?.error);return p`<div class=${d(_("root",u.arcgisButton))}>${!n&&p`<calcite-button class=${d(u.widgetButton)} .disabled=${a==="disabled"} .loading=${o} .iconStart=${o?void 0:i??x} kind=neutral .label=${l} @click=${this._locate} .scale=${this.visualScale} title=${l??y} ${b(this.locateButtonElement)}></calcite-button>`||""}${g?p`<calcite-tooltip .open=${this.isErrorTooltipOpen} overlay-positioning=fixed .referenceElement=${this.locateButtonElement.value}>${g}</calcite-tooltip>`:null}</div>`}};E("arcgis-locate",m);return m},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton",a,c,e,g,i,j)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import j from"./P2I63WVL.js";import{a as P}from"./UZLEFNJL.js";import i from"./RUYAWRPV.js";import"./WJQUE4DR.js";import g from"./BQBWXR6P.js";import{a as C}from"./ZSPYPXBY.js";import{a as u}from"./L5IRXOCJ.js";import e from"./ALVAGE57.js";import c from"./HPWF3IQV.js";import{h as M}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as _}from"./ZKWI43WZ.js";import{N as v,O as b,P as w,R as d,U as y,X as E,a as f,b as p,x as h}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:$},{property:c,subclass:k},D,{onLocaleChange:G},z,B,,,,T,{c:O},{a:S,b:L}])=>{var I=f`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);calcite-button{--calcite-offset-invert-focus: 1}display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}:host{width:fit-content;height:fit-content}`,A=Object.defineProperty,R=Object.getOwnPropertyDescriptor,s=(e,t,i,a)=>{for(var o=a>1?void 0:a?R(t,i):t,l=e.length-1,n;l>=0;l--)(n=e[l])&&(o=(a?n(t,i,o):n(o))||o);return a&&o&&A(t,i,o),o},U=new B({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}"})._internalSetClassName("esri-icon-trash");function j(e){return new z({title:e.currentLocation,fieldInfos:[{fieldName:"timestamp",label:e.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:e.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:e.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:e.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:e.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:e.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:e.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:e.speed,format:{places:0,digitSeparator:!0}}],actions:[U.clone()],content:[{type:"fields"}]})}var r=class extends L{constructor(e){super(e),this._getCurrentPosition=S,this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([G(()=>{let{graphic:e,view:t}=this;e&&t?.graphics?.includes(e)&&this._updatePopupTemplate(e)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new D("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new D("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let e=new AbortController;this._locateController=e,this.error=void 0;try{let t=await this._getCurrentPosition(this.geolocationOptions);if(await this.updatePosition(t,e),this._locateController!==e)return null;let{graphic:i}=this;return i&&this._updatePopupTemplate(i),this._addGraphic(),this.currentPosition=t,this._locateController=void 0,t}catch(t){if(O(t))return null;throw e===this._locateController&&(this._locateController=void 0),this.error=t,t}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=void 0}_updatePopupTemplate(e){if(!this.popupEnabled)return;let t=j(this.messages),i=e!==this.graphic;this.destroyed||i||(e.popupTemplate=t)}};s([c()],r.prototype,"_locateController",2);s([c()],r.prototype,"currentPosition",2);s([c()],r.prototype,"error",2);s([c()],r.prototype,"messages",2);s([c()],r.prototype,"popupEnabled",2);s([c({readOnly:!0})],r.prototype,"state",1);r=s([k("map-components.locate.LocateViewModel")],r);var V=r,N="gps-off",H=T(V),m=class extends w{constructor(){super(),this.locateButtonElement=v(),this.messages=C(),this.viewModel=H(this),this.hideErrorTooltip=()=>{this.isErrorTooltipOpen=!1},this.isErrorTooltipOpen=!1,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=N,this.popupDisabled=this.viewModel.popupEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.visualScale="m",this.arcgisError=h(),this.arcgisPropertyChange=M()("state"),this.arcgisReady=h(),this.arcgisSuccess=h(),this.listenOn(document,"click",this.hideErrorTooltip)}static{this.properties={isErrorTooltipOpen:16,view:0,autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:1,label:1,messageOverrides:0,popupDisabled:5,referenceElement:1,scale:9,state:32,visualScale:1}}static{this.styles=I}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[$(()=>this.viewModel.error,t=>{this.isErrorTooltipOpen=!!t,this.arcgisError.emit({error:t})}),$(()=>this.viewModel.currentPosition,t=>{this.arcgisSuccess.emit({position:t})})])}_localizeError(t){if(t instanceof GeolocationPositionError)return t.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:t.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(t instanceof Error)return t.message}_locate(){let{viewModel:t}=this;t.state==="locating"?t.cancelLocate():t.locate().catch(()=>{})}render(){let{viewModel:t,icon:i}=this,{state:a}=t,o=a==="locating",l=o?this.messages.cancel:this.messages.title,n=a==="feature-unsupported",x=P===void 0?N:void 0,g=this._localizeError(this.viewModel?.error);return p`<div class=${d(_("root",u.arcgisButton))}>${!n&&p`<calcite-button class=${d(u.widgetButton)} .disabled=${a==="disabled"} .loading=${o} .iconStart=${o?void 0:i??x} kind=neutral .label=${l} @click=${this._locate} .scale=${this.visualScale} title=${l??y} ${b(this.locateButtonElement)}></calcite-button>`||""}${g?p`<calcite-tooltip .open=${this.isErrorTooltipOpen} overlay-positioning=fixed .referenceElement=${this.locateButtonElement.value}>${g}</calcite-tooltip>`:null}</div>`}};E("arcgis-locate",m);return m},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton",a,c,e,g,i,j)