@arcgis/map-components 5.2.0-next.118 → 5.2.0-next.119

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 (298) hide show
  1. package/dist/cdn/{5S5DBHWT.js → 27OE65X3.js} +1 -1
  2. package/dist/cdn/{TYCJUDPP.js → 2AYHF7VG.js} +1 -1
  3. package/dist/cdn/{6A365EUI.js → 2FXIUC33.js} +1 -1
  4. package/dist/cdn/{GQRPWE6F.js → 2JMZ2QME.js} +1 -1
  5. package/dist/cdn/{G7P7J3YE.js → 2OGEVHBC.js} +1 -1
  6. package/dist/cdn/{TN5QHOVX.js → 34WL35IV.js} +1 -1
  7. package/dist/cdn/36NVCUUH.js +2 -0
  8. package/dist/cdn/{IJ5XHCZH.js → 37N43OTX.js} +1 -1
  9. package/dist/cdn/3AUMBOFQ.js +2 -0
  10. package/dist/cdn/{BAI3SYHE.js → 3FQCW7VR.js} +1 -1
  11. package/dist/cdn/{S5TTVLIS.js → 3GP5VMNH.js} +1 -1
  12. package/dist/cdn/{ETXQKL6T.js → 3NHARVEM.js} +1 -1
  13. package/dist/cdn/{J2BAJI7A.js → 3NOPKUND.js} +1 -1
  14. package/dist/cdn/{NHFS7NGT.js → 3S5DZICB.js} +1 -1
  15. package/dist/cdn/3VBI4PPT.js +2 -0
  16. package/dist/cdn/{GKIA62WD.js → 445GD7KI.js} +1 -1
  17. package/dist/cdn/{NAEALB6J.js → 46TSVHBE.js} +1 -1
  18. package/dist/cdn/{OYYHPCVK.js → 47WT53LM.js} +1 -1
  19. package/dist/cdn/{GPM7FHDM.js → 4BKQW4G6.js} +1 -1
  20. package/dist/cdn/{FARYZNFO.js → 4CCPFAT6.js} +1 -1
  21. package/dist/cdn/{BHRCTXAX.js → 4DWURRQB.js} +1 -1
  22. package/dist/cdn/{EMSHKPM2.js → 4FADGEJD.js} +1 -1
  23. package/dist/cdn/{3ZHQJPFI.js → 4FFO42CA.js} +1 -1
  24. package/dist/cdn/{AJ4FZ2ZG.js → 4N6GTXNB.js} +1 -1
  25. package/dist/cdn/{QFYATITD.js → 4N7TU2OR.js} +1 -1
  26. package/dist/cdn/{QEMEU6KU.js → 57GT5KQ6.js} +1 -1
  27. package/dist/cdn/{XC3WE23A.js → 5DUJXUUF.js} +1 -1
  28. package/dist/cdn/{Y3W3QASH.js → 5ECZZVPO.js} +1 -1
  29. package/dist/cdn/{DCTXU3AM.js → 5FBX5V2M.js} +1 -1
  30. package/dist/cdn/{LBXIC75T.js → 5HAFUKZQ.js} +1 -1
  31. package/dist/cdn/5IQQ6P2J.js +2 -0
  32. package/dist/cdn/{6YQZOTCZ.js → 5JADSW57.js} +1 -1
  33. package/dist/cdn/{AAY2RSJE.js → 5OFKDU6L.js} +1 -1
  34. package/dist/cdn/{CBZ7YZAZ.js → 5PNAHYUT.js} +1 -1
  35. package/dist/cdn/{O7N226BJ.js → 5ZFMOOPU.js} +1 -1
  36. package/dist/cdn/{NG4IEHMS.js → 65PEGLJY.js} +1 -1
  37. package/dist/cdn/{SAL7W4ZN.js → 66U6JSLL.js} +1 -1
  38. package/dist/cdn/{P5JSHW4U.js → 67V6VAOB.js} +1 -1
  39. package/dist/cdn/{6OBM3QXD.js → 6BBACFDY.js} +1 -1
  40. package/dist/cdn/{RWMU7NT7.js → 6D6CA7SY.js} +1 -1
  41. package/dist/cdn/{3BUBP7PK.js → 6EXRTZ6W.js} +1 -1
  42. package/dist/cdn/{XRJP47U4.js → 6J5SL3P3.js} +1 -1
  43. package/dist/cdn/{WRSO7TTR.js → 6YHAXMQ5.js} +1 -1
  44. package/dist/cdn/{TE5I56ZJ.js → 72GW52ZS.js} +1 -1
  45. package/dist/cdn/{VHMDAMVX.js → 75PXQ6OP.js} +1 -1
  46. package/dist/cdn/{QFHUHKLV.js → 77JEGLHX.js} +1 -1
  47. package/dist/cdn/{3D7IP4IV.js → 7PRWSCBO.js} +1 -1
  48. package/dist/cdn/7QH5PIWM.js +2 -0
  49. package/dist/cdn/{XSGFJGLE.js → A2FK4TED.js} +1 -1
  50. package/dist/cdn/{HM37S3XP.js → ACJZA4FW.js} +1 -1
  51. package/dist/cdn/AFYG4EKW.js +2 -0
  52. package/dist/cdn/{QTOFMGF5.js → AIB2N4JH.js} +1 -1
  53. package/dist/cdn/{BEENHLQP.js → AK3RVXC7.js} +1 -1
  54. package/dist/cdn/{UBR3KCKR.js → AMIIBOJW.js} +1 -1
  55. package/dist/cdn/{6P7CWH4S.js → B3CCMNCB.js} +1 -1
  56. package/dist/cdn/{NBKRA3DF.js → BBNUDGDE.js} +1 -1
  57. package/dist/cdn/{Q446NT7X.js → BGVMZOKW.js} +1 -1
  58. package/dist/cdn/{VLC2DTR2.js → BL4AWMGM.js} +1 -1
  59. package/dist/cdn/{LOPERPWN.js → BOEHQXPR.js} +1 -1
  60. package/dist/cdn/BUZC2WTF.js +2 -0
  61. package/dist/cdn/BVOFBD27.js +2 -0
  62. package/dist/cdn/{GG7KEBIO.js → C7WBBLAB.js} +1 -1
  63. package/dist/cdn/CD4YOWDM.js +2 -0
  64. package/dist/cdn/{F55UQAD5.js → CEUOTZKZ.js} +1 -1
  65. package/dist/cdn/{2BK5BYA3.js → CEYTO6OF.js} +1 -1
  66. package/dist/cdn/{K3N2E6M5.js → CLA3CIOM.js} +1 -1
  67. package/dist/cdn/{LCG5BEEY.js → CQIHGU4E.js} +1 -1
  68. package/dist/cdn/{6NDRXW2A.js → CRWARUC7.js} +1 -1
  69. package/dist/cdn/{YR27DLDD.js → CZKXSDTS.js} +1 -1
  70. package/dist/cdn/D2DXLALU.js +2 -0
  71. package/dist/cdn/D6P4SRPC.js +2 -0
  72. package/dist/cdn/DCCXLOTF.js +2 -0
  73. package/dist/cdn/{CEQXB7WX.js → DEQLGPYU.js} +1 -1
  74. package/dist/cdn/{ZE3QHUEB.js → DFMO5W44.js} +1 -1
  75. package/dist/cdn/{QBFVYPSW.js → DLQPKKJL.js} +1 -1
  76. package/dist/cdn/{JIR3C2L6.js → DRPHIFHL.js} +1 -1
  77. package/dist/cdn/{5GP632QJ.js → DYS2MC2S.js} +1 -1
  78. package/dist/cdn/{SOG3YWSN.js → EDSBOPFW.js} +1 -1
  79. package/dist/cdn/{37DFS24U.js → EKESUZYM.js} +1 -1
  80. package/dist/cdn/{I6WCJXHE.js → F7YHYRVZ.js} +1 -1
  81. package/dist/cdn/{5XPJ3IN6.js → FEO7SZVK.js} +1 -1
  82. package/dist/cdn/{VSEPC42P.js → FGE26FPS.js} +1 -1
  83. package/dist/cdn/{UN6DXF63.js → FL4P7ZV3.js} +1 -1
  84. package/dist/cdn/{UKFAXZIW.js → FLTAOPLR.js} +1 -1
  85. package/dist/cdn/FNYKN3UB.js +2 -0
  86. package/dist/cdn/{2Z5WR573.js → FPU4EYVQ.js} +1 -1
  87. package/dist/cdn/{ZGGQQPWY.js → FREVHZUV.js} +1 -1
  88. package/dist/cdn/GCUM7LIJ.js +2 -0
  89. package/dist/cdn/{RM4OPQBM.js → GFTZ7EZP.js} +1 -1
  90. package/dist/cdn/{GFWJ4BP6.js → GGO772QS.js} +1 -1
  91. package/dist/cdn/GJZCVU6G.js +5 -0
  92. package/dist/cdn/{S5UKLNKF.js → GNASFNLA.js} +1 -1
  93. package/dist/cdn/{7JTE2SXE.js → GPXCRUER.js} +1 -1
  94. package/dist/cdn/{6NEPB3L3.js → GS5F7SMZ.js} +1 -1
  95. package/dist/cdn/H5XVDYHD.js +2 -0
  96. package/dist/cdn/{KZUMKDRC.js → H6D265DV.js} +1 -1
  97. package/dist/cdn/{XVANORO2.js → HBA66T2F.js} +1 -1
  98. package/dist/cdn/HBD2HVM3.js +2 -0
  99. package/dist/cdn/{SLS6H5OI.js → HMAZQNBW.js} +1 -1
  100. package/dist/cdn/{XZ2BN6X5.js → HN72HWH3.js} +1 -1
  101. package/dist/cdn/{SS4VBGPX.js → HOFTC2ZE.js} +1 -1
  102. package/dist/cdn/{TTRVFZD5.js → HP6BF2MW.js} +1 -1
  103. package/dist/cdn/{P63WHRTI.js → I6V6IVZG.js} +1 -1
  104. package/dist/cdn/{CX2YLGWT.js → I7GS3EKH.js} +1 -1
  105. package/dist/cdn/{3UXDWFBT.js → I7ZQDJDX.js} +1 -1
  106. package/dist/cdn/{LOYPWUX2.js → IDIAH5EL.js} +1 -1
  107. package/dist/cdn/{Q6DP7NTZ.js → IGNKWZED.js} +1 -1
  108. package/dist/cdn/{L6IJF6MQ.js → IMZFMHRP.js} +1 -1
  109. package/dist/cdn/{6RF4VMSP.js → IO73RGZR.js} +1 -1
  110. package/dist/cdn/{RKJYAV27.js → IXB3GAL4.js} +1 -1
  111. package/dist/cdn/{NPIJLONQ.js → J4MSPT4V.js} +1 -1
  112. package/dist/cdn/{POT6OMKJ.js → JD562WMM.js} +1 -1
  113. package/dist/cdn/{PZQAHQMP.js → JKKOA3ZK.js} +1 -1
  114. package/dist/cdn/{TLNCTHYZ.js → JLEJQ2CG.js} +1 -1
  115. package/dist/cdn/{MJFHE7GG.js → JOGQFEA5.js} +1 -1
  116. package/dist/cdn/{ENC6727H.js → JOKDE6AY.js} +1 -1
  117. package/dist/cdn/{A3DPBGUE.js → JTK32JFE.js} +1 -1
  118. package/dist/cdn/{AEGRRGUN.js → JVK5SF3A.js} +1 -1
  119. package/dist/cdn/{VXKWVXTO.js → JX3LFG3P.js} +1 -1
  120. package/dist/cdn/{QYIXFX7A.js → K6DPMFXZ.js} +1 -1
  121. package/dist/cdn/{KDM7EERW.js → K777MMP6.js} +1 -1
  122. package/dist/cdn/{GZQXMBK6.js → KFDXN73R.js} +1 -1
  123. package/dist/cdn/{2XOVV4H5.js → KFNN3GQE.js} +1 -1
  124. package/dist/cdn/{X5P6K573.js → KMRD6WMN.js} +1 -1
  125. package/dist/cdn/KOBBTBFG.js +2 -0
  126. package/dist/cdn/{SVRPZSVP.js → KORK4WZ7.js} +1 -1
  127. package/dist/cdn/{67VFYB4A.js → LB76LDPE.js} +1 -1
  128. package/dist/cdn/{UOZG2EH7.js → LNYZN6UG.js} +1 -1
  129. package/dist/cdn/{VDVTHU72.js → LOBN6XL7.js} +1 -1
  130. package/dist/cdn/{LCWST64P.js → LPJ3FCSN.js} +1 -1
  131. package/dist/cdn/LQE4ZOCO.js +2 -0
  132. package/dist/cdn/{C5PN4GZA.js → LVG6IK3M.js} +1 -1
  133. package/dist/cdn/{5XKVLN3G.js → LY3Q7ALW.js} +1 -1
  134. package/dist/cdn/{OBXMCZJV.js → M2LATG4F.js} +1 -1
  135. package/dist/cdn/{VDTOHX2A.js → MBM4QDNU.js} +1 -1
  136. package/dist/cdn/MGZCTI2S.js +2 -0
  137. package/dist/cdn/{HPISDMLX.js → MHL2DRCX.js} +1 -1
  138. package/dist/cdn/{B6R4HVRC.js → MPTR6XUU.js} +1 -1
  139. package/dist/cdn/{PVLG3KIP.js → MRBNZE6V.js} +1 -1
  140. package/dist/cdn/MT6BTCFR.js +2 -0
  141. package/dist/cdn/{QDB73B6G.js → MTEH5BSL.js} +1 -1
  142. package/dist/cdn/N3WHO5AH.js +2 -0
  143. package/dist/cdn/{XCHUY5EB.js → NA7AGRNV.js} +1 -1
  144. package/dist/cdn/{YQMGSWPQ.js → NGHZR363.js} +1 -1
  145. package/dist/cdn/{4CT3FIKC.js → NK7LY2U6.js} +1 -1
  146. package/dist/cdn/NULCAX3T.js +2 -0
  147. package/dist/cdn/{NJKNN2OE.js → NV3DKNG5.js} +1 -1
  148. package/dist/cdn/{5GTE6AB7.js → NYIZIVHF.js} +1 -1
  149. package/dist/cdn/{3TDS6PS7.js → NZ5DI3XS.js} +1 -1
  150. package/dist/cdn/{6CWRJZ5M.js → O4U7FC7V.js} +1 -1
  151. package/dist/cdn/{J3UH7WPW.js → OCZ5FM6Y.js} +1 -1
  152. package/dist/cdn/{MZ4UAQRO.js → ODG3O637.js} +1 -1
  153. package/dist/cdn/{UMYF32YV.js → OE32VMHB.js} +1 -1
  154. package/dist/cdn/{HTJ5MQB3.js → OE4E2DJY.js} +1 -1
  155. package/dist/cdn/{XHPTQBX4.js → OE5H2TJY.js} +1 -1
  156. package/dist/cdn/{57GMYMVT.js → OF4RIQYG.js} +1 -1
  157. package/dist/cdn/{DSROAKFP.js → OH3OW6FT.js} +1 -1
  158. package/dist/cdn/{QGJBQDLI.js → OQA22N4T.js} +1 -1
  159. package/dist/cdn/{ZRMSPPJV.js → P7QBGWAB.js} +1 -1
  160. package/dist/cdn/PBFSAWUO.js +2 -0
  161. package/dist/cdn/PH6KFJNY.js +2 -0
  162. package/dist/cdn/{W6IFUQTQ.js → PLVJUW2N.js} +1 -1
  163. package/dist/cdn/{ONZ7UTQO.js → PNKNAFCB.js} +1 -1
  164. package/dist/cdn/{I6I44MIO.js → PQTX5YLB.js} +1 -1
  165. package/dist/cdn/{GRUOYZC4.js → Q3HN5EAB.js} +1 -1
  166. package/dist/cdn/{6VRMNFKK.js → Q7SJABWQ.js} +1 -1
  167. package/dist/cdn/{4CD4VQDJ.js → Q7WGEZPS.js} +1 -1
  168. package/dist/cdn/{3R72LNKT.js → QBEOOBJI.js} +1 -1
  169. package/dist/cdn/{MXGL6SJK.js → RAD5V5D4.js} +1 -1
  170. package/dist/cdn/{LEWWYNW5.js → RFIH3K75.js} +1 -1
  171. package/dist/cdn/{XQCUQFIM.js → RGRWFQHI.js} +1 -1
  172. package/dist/cdn/{STPGQ6FX.js → S3J3OYPA.js} +1 -1
  173. package/dist/cdn/{SKDMCH3N.js → SAWQ5RBG.js} +1 -1
  174. package/dist/cdn/{WRHME7L7.js → SE6ZPONW.js} +1 -1
  175. package/dist/cdn/SERGX3NQ.js +2 -0
  176. package/dist/cdn/{TJ42HR2K.js → SKHZNWOK.js} +1 -1
  177. package/dist/cdn/{C2PS2HSE.js → SQQA5NMR.js} +1 -1
  178. package/dist/cdn/{AXEVIUBZ.js → STUFH2WN.js} +1 -1
  179. package/dist/cdn/{HB7XTMBR.js → SXQKPD36.js} +1 -1
  180. package/dist/cdn/{77NK4UBY.js → T3F2I5LQ.js} +1 -1
  181. package/dist/cdn/{TYVSLPJY.js → TAC7C2NH.js} +1 -1
  182. package/dist/cdn/{Z4BTFRGB.js → TBLGJZIE.js} +1 -1
  183. package/dist/cdn/{2Q3TMV7S.js → TBSKBHHL.js} +1 -1
  184. package/dist/cdn/{RAGBAUVH.js → TCUXHE5C.js} +1 -1
  185. package/dist/cdn/{C5ZQHF3O.js → THB7VBIU.js} +1 -1
  186. package/dist/cdn/{6WDEDELX.js → TPX3OJ3S.js} +1 -1
  187. package/dist/cdn/{SJSDTPLL.js → TQ5GSNFI.js} +1 -1
  188. package/dist/cdn/{VUGTZY3H.js → TVNK45VP.js} +1 -1
  189. package/dist/cdn/{6UXC3WGF.js → UHGTBFYC.js} +1 -1
  190. package/dist/cdn/{VLZVA6PI.js → ULRRIL6W.js} +1 -1
  191. package/dist/cdn/{SONHGUUV.js → UMXUR3Y6.js} +1 -1
  192. package/dist/cdn/{E3ILZB5S.js → UNPUCYYB.js} +1 -1
  193. package/dist/cdn/{P7G6JCDO.js → UNUE5PFY.js} +1 -1
  194. package/dist/cdn/{2AVCJVZU.js → UQJNSDA5.js} +1 -1
  195. package/dist/cdn/{4X5447LA.js → USSBJUH7.js} +1 -1
  196. package/dist/cdn/{6NRNLMJK.js → UVHSYOZO.js} +1 -1
  197. package/dist/cdn/{QX3ZXA2B.js → UVNNXZHK.js} +1 -1
  198. package/dist/cdn/{62LF4QQF.js → UY2N6L5W.js} +1 -1
  199. package/dist/cdn/{2Y5HBYMR.js → VBD2JBTM.js} +1 -1
  200. package/dist/cdn/{BV3Q2Y7F.js → VCJPPBAJ.js} +1 -1
  201. package/dist/cdn/{S25QU4HS.js → VHIYGLEF.js} +1 -1
  202. package/dist/cdn/{QMPCO7DL.js → VKQHWAV6.js} +1 -1
  203. package/dist/cdn/{6BTDVP6O.js → VNCYGFVL.js} +1 -1
  204. package/dist/cdn/{2D6JTL4E.js → VNFDMKC4.js} +1 -1
  205. package/dist/cdn/{XKRMD24I.js → VTDRCYT5.js} +1 -1
  206. package/dist/cdn/{5SK3B4SE.js → W32RZGCD.js} +1 -1
  207. package/dist/cdn/{7DF6HYC7.js → W7XP44Z4.js} +1 -1
  208. package/dist/cdn/{MBMUUW3M.js → WGWEIAKM.js} +1 -1
  209. package/dist/cdn/{CACGKNCB.js → WQG2KCVZ.js} +1 -1
  210. package/dist/cdn/{WNLMIARH.js → WXDEBLXC.js} +1 -1
  211. package/dist/cdn/{XJZJWNYP.js → X422A3RM.js} +1 -1
  212. package/dist/cdn/{27IFADBQ.js → XCHLU7ZD.js} +1 -1
  213. package/dist/cdn/{3CORLJ7S.js → XPEGBUNJ.js} +1 -1
  214. package/dist/cdn/XSCEZHHS.js +2 -0
  215. package/dist/cdn/{SBBSNRPS.js → XTXNTKTM.js} +1 -1
  216. package/dist/cdn/{VZPE472E.js → XU42PWPW.js} +1 -1
  217. package/dist/cdn/XUFI4LK4.js +2 -0
  218. package/dist/cdn/{WBDTFCID.js → XXRWSBZZ.js} +1 -1
  219. package/dist/cdn/{ARFMGLVC.js → XYRXOJWA.js} +1 -1
  220. package/dist/cdn/{LW6SRLBI.js → XZ32GWWF.js} +1 -1
  221. package/dist/cdn/{REOCH4MZ.js → XZL4TGIF.js} +1 -1
  222. package/dist/cdn/{7MZT3XKM.js → Y23RNEWZ.js} +1 -1
  223. package/dist/cdn/{DBLLBQTY.js → YDDTPUAV.js} +1 -1
  224. package/dist/cdn/{454H3MLO.js → YGWKKC4F.js} +1 -1
  225. package/dist/cdn/{CXDU7XEL.js → YIVVKAWZ.js} +1 -1
  226. package/dist/cdn/{XWWXBWU2.js → YOLISV6H.js} +1 -1
  227. package/dist/cdn/{GQWT3W5Y.js → YQRFGWEX.js} +1 -1
  228. package/dist/cdn/{BD2PSX7A.js → YTFEKO3O.js} +1 -1
  229. package/dist/cdn/{F4LUPXCQ.js → Z4FIADPO.js} +1 -1
  230. package/dist/cdn/{MOBEEKF6.js → Z5RSMH5T.js} +1 -1
  231. package/dist/cdn/{KQ4ENZ4D.js → Z6S36L4E.js} +1 -1
  232. package/dist/cdn/{WNJOIQDJ.js → ZCC4OFBO.js} +1 -1
  233. package/dist/cdn/{Y2YRMCTX.js → ZQV4HSAF.js} +1 -1
  234. package/dist/cdn/{JIJFJTAC.js → ZR2DRKCC.js} +1 -1
  235. package/dist/cdn/{HRXFDZ6M.js → ZRWEOQPU.js} +1 -1
  236. package/dist/cdn/{W376UQL5.js → ZVKSU4TV.js} +1 -1
  237. package/dist/cdn/assets/sketch/t9n/messages.en.json +1 -1
  238. package/dist/cdn/index.js +1 -1
  239. package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -0
  240. package/dist/components/arcgis-building-explorer/customElement.js +35 -33
  241. package/dist/components/arcgis-building-level-picker/customElement.js +25 -25
  242. package/dist/components/arcgis-building-phase-picker/customElement.js +7 -7
  243. package/dist/components/arcgis-editor/customElement.js +1 -1
  244. package/dist/components/arcgis-expand/customElement.js +31 -31
  245. package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +1 -0
  246. package/dist/components/arcgis-legend-card-element/customElement.js +4 -4
  247. package/dist/components/arcgis-legend-card-view/customElement.js +16 -16
  248. package/dist/components/arcgis-locate/customElement.js +0 -1
  249. package/dist/components/arcgis-sketch/customElement.d.ts +241 -43
  250. package/dist/components/arcgis-sketch/customElement.js +1047 -56
  251. package/dist/components/arcgis-sketch/index.js +10 -0
  252. package/dist/components/arcgis-sketch/support.d.ts +17 -0
  253. package/dist/components/arcgis-sketch-tooltip-controls/customElement.d.ts +2 -2
  254. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +28 -17
  255. package/dist/components/arcgis-snapping-controls/customElement.d.ts +7 -0
  256. package/dist/components/arcgis-snapping-controls/customElement.js +19 -13
  257. package/dist/components/arcgis-time-bar/customElement.js +14 -14
  258. package/dist/components/arcgis-time-bar-extent/customElement.js +6 -6
  259. package/dist/components/arcgis-time-bar-settings/customElement.js +1 -1
  260. package/dist/components/arcgis-time-bar-slider/customElement.js +20 -20
  261. package/dist/docs/api.json +1 -1
  262. package/dist/docs/docs.json +1 -1
  263. package/dist/docs/vscode.html-custom-data.json +1 -1
  264. package/dist/docs/web-types.json +1 -1
  265. package/dist/loader.js +2 -2
  266. package/dist/types/lumina.d.ts +2 -2
  267. package/dist/types/preact.d.ts +2 -2
  268. package/dist/types/react.d.ts +2 -2
  269. package/dist/types/stencil.d.ts +2 -2
  270. package/package.json +5 -5
  271. package/dist/cdn/3IICULHW.js +0 -2
  272. package/dist/cdn/5CHDLE4G.js +0 -2
  273. package/dist/cdn/5HQJU5UG.js +0 -2
  274. package/dist/cdn/6AECNZDA.js +0 -2
  275. package/dist/cdn/7ABJ6QL6.js +0 -2
  276. package/dist/cdn/BUHN3QFA.js +0 -2
  277. package/dist/cdn/CEBSBYFV.js +0 -2
  278. package/dist/cdn/CKL6VB55.js +0 -2
  279. package/dist/cdn/DB2EV5FY.js +0 -2
  280. package/dist/cdn/DQ7NWFOE.js +0 -5
  281. package/dist/cdn/EEAGBN2R.js +0 -2
  282. package/dist/cdn/H6IR3FJ4.js +0 -2
  283. package/dist/cdn/IP6RSX4Q.js +0 -2
  284. package/dist/cdn/JGFSRXK5.js +0 -2
  285. package/dist/cdn/LCCDNWZM.js +0 -2
  286. package/dist/cdn/MCZU4MBV.js +0 -2
  287. package/dist/cdn/N2ZZK6RT.js +0 -2
  288. package/dist/cdn/N66SJQA3.js +0 -2
  289. package/dist/cdn/OSA4WZT7.js +0 -2
  290. package/dist/cdn/PQINPHI6.js +0 -2
  291. package/dist/cdn/QNO6SSDQ.js +0 -2
  292. package/dist/cdn/RRN4JGY4.js +0 -2
  293. package/dist/cdn/SO3OASNI.js +0 -2
  294. package/dist/cdn/SXYPCCBR.js +0 -2
  295. package/dist/cdn/UGCRE4EW.js +0 -2
  296. package/dist/cdn/VXNJ5B32.js +0 -2
  297. package/dist/cdn/ZFFXNO6M.js +0 -2
  298. package/dist/cdn/ZFTK5U45.js +0 -2
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as W}from"./IJ5XHCZH.js";import e from"./XWWXBWU2.js";import{a as b}from"./POKO37D3.js";import d from"./A3DPBGUE.js";import"./VJVKFKSG.js";import{a as x}from"./J3UH7WPW.js";import{a as S}from"./6YQZOTCZ.js";import"./JD74LG7K.js";import c from"./SVRPZSVP.js";import"./5CHDLE4G.js";import"./QX3ZXA2B.js";import a from"./S5UKLNKF.js";import"./QUZTFUWM.js";import"./3CORLJ7S.js";import"./XURWCCLX.js";import{N as C,T as j,a as D,b as h,w}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([p,{watch:J},H,{property:o,subclass:N},{signal:B},{isAbortError:K},Q,,{a:A},,{b:k,c:U}])=>{var Y=D`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{transition:max-height .25s ease-in-out;overflow-y:auto}.root{position:relative;display:flex;flex-direction:column;gap:var(--calcite-spacing-xxxl)}.esri-widget__heading{font-weight:var(--calcite-font-weight-normal)}calcite-scrim{--calcite-scrim-background: var(--calcite-color-foreground-1)}.disabled{color:var(--calcite-color-status-danger)}.esri-widget--panel{min-width:unset}`,T="__BUILDING_EXPLORER_FILTER__";function ee(){return`${crypto.randomUUID()}${T}`}function z(t){let e=typeof t=="string"?t:t.id;return!!e&&e.includes(T)}function Z(t,e){for(let i of t)for(let s of i.filters){if(!z(s))continue;let r=e(s);if(r!=null)return r}return null}function te(t,e){for(let i of t){let s=i.filters.filter(l=>!z(l));e!=null&&s.push(e),ie(i.filters,s)||(i.filters=s);let r=i.filters.find(l=>z(l));i.activeFilterId=r!=null?r.id:null}}function ie(t,e){let i=e.length;if(t?.length!==i)return!1;for(let s=0;s<i;++s){let r=e.at(s).toJSON(),l=t.at(s).toJSON();if(r.id="",l.id="",JSON.stringify(r)!==JSON.stringify(l))return!1}return!0}function re(t){let e=G(t);return e?{filterExpression:e,filterMode:{type:"x-ray"}}:null}function se(t){let e=G(t);return e?{filterExpression:e,filterMode:{type:"solid"}}:null}function G(t){return t.filter(e=>!!e).map(e=>`(${e})`).join(" AND ")}function L(t){let e={fieldValueMap:new Map,allowedValues:[]};for(let i of t){let s=i.fieldValueMap,r=e.fieldValueMap;s.forEach((l,a)=>{r.has(a)||(r.set(a,l),e.allowedValues.push(a))})}return e.allowedValues.sort((i,s)=>i-s),e}function O(t,e){return e.allowedValues.length>0?le(t,e.allowedValues):null}function le(t,e){if(e.length===0)return t;if(t===1/0)return e[e.length-1];if(t===-1/0)return e[0];let i=e[0],s=Math.abs(i-t);for(let r of e){let l=Math.abs(r-t);l<s&&(i=r,s=l)}return i}var ae=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,X=t=>{throw TypeError(t)},d=(t,e,i,s)=>{for(var r=s>1?void 0:s?oe(e,i):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(r=(s?a(e,i,r):a(r))||r);return s&&r&&ae(e,i,r),r},ne=(t,e,i)=>e.has(t)||X("Cannot "+i),c=(t,e,i)=>(ne(t,e,"read from private field"),i?i.call(t):e.get(t)),V=(t,e,i)=>e.has(t)?X("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),E,$,v,_,n=class extends H{constructor(t){super(t),V(this,E,B(!0)),V(this,$,B(void 0)),V(this,v,B(null)),V(this,_,new p),this._state="disabled",this._domainInfo=L([]),this._loadLayers=U(),this.layers=new p}initialize(){this.addHandles(this.layers.on("change",()=>{this._onLayersChange()})),this._onLayersChange()}destroy(){this._state="disabled"}get disabled(){return this.allowedValues.length===0||c(this,E).value}set disabled(t){c(this,E).value=t}get value(){return(this.state==="ready"?c(this,$).value:this._valueBeforeReady)??0}set value(t){if(this.state!=="ready"){this._valueBeforeReady=t;return}if(t===this.value)return;let e=O(t,this);e!=null&&(c(this,$).value=e)}get min(){return this.allowedValues.length===0?null:Math.min(...this.allowedValues)}get max(){return this.allowedValues.length===0?null:Math.max(...this.allowedValues)}get allowedValues(){return c(this,v).value??this._domainInfo.allowedValues}set allowedValues(t){t==null?c(this,v).value=null:c(this,v).value=t;let e=O(this.value,this);e!=null&&(this.value=e)}get hasNext(){if(this.disabled)return!0;let t=this._valueIndex;return t>=0&&t<this.allowedValues.length-1}get hasPrevious(){return this.disabled?!0:this._valueIndex>0}get layers(){return c(this,_)}set layers(t){c(this,_).removeAll(),c(this,_).addMany(t)}get state(){return this._state}set state(t){this._state=t}get filterExpressions(){return{solid:null,xRay:null}}get _valueIndex(){return this.allowedValues.indexOf(this.value)}select(t){if(this.state!=="ready"){this._valueBeforeReady=t;return}O(t,this)!=null&&(this.disabled=!1,this.value=t)}clear(){if(this.state!=="ready"){this._valueBeforeReady=void 0;return}this.disabled=!0}next(){let{state:t,allowedValues:e,disabled:i,hasNext:s,_valueIndex:r}=this;if(t!=="ready"&&this._valueBeforeReady!=null){this._valueBeforeReady++;return}if(e.length!==0){if(i){this.disabled=!1,this.value=e[0];return}s&&(this.value=e[r+1])}}previous(){let{state:t,allowedValues:e,disabled:i,hasPrevious:s,_valueIndex:r}=this;if(t!=="ready"&&this._valueBeforeReady!=null){this._valueBeforeReady++;return}if(e.length!==0){if(i){this.disabled=!1,this.value=e[e.length-1];return}s&&(this.value=e[r-1])}}getValueLabel(t){return this.layers.length===0?null:this._domainInfo.fieldValueMap.get(t)??null}async _onLayersChange(){if(this._state="loading",this._domainInfo=L([]),this.layers.length!==0)try{await this._loadLayers(this.layers),this.state="ready",this._setup(),this.changeEmitter?.()}catch(t){K(t)||(this._state="failed")}}};E=new WeakMap;$=new WeakMap;v=new WeakMap;_=new WeakMap;d([o()],n.prototype,"changeEmitter",2);d([o()],n.prototype,"disabled",1);d([o()],n.prototype,"value",1);d([o({readOnly:!0})],n.prototype,"min",1);d([o({readOnly:!0})],n.prototype,"max",1);d([o()],n.prototype,"allowedValues",1);d([o({readOnly:!0})],n.prototype,"hasNext",1);d([o({readOnly:!0})],n.prototype,"hasPrevious",1);d([o({type:p})],n.prototype,"layers",1);d([o()],n.prototype,"_state",2);d([o()],n.prototype,"state",1);d([o({})],n.prototype,"_valueBeforeReady",2);d([o({readOnly:!0})],n.prototype,"_valueIndex",1);d([o()],n.prototype,"_domainInfo",2);n=d([N("esri.components.BuildingExplorer.BuildingNumericFilterViewModel")],n);var de=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,q=t=>{throw TypeError(t)},R=(t,e,i,s)=>{for(var r=s>1?void 0:s?ce(e,i):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(r=(s?a(e,i,r):a(r))||r);return s&&r&&de(e,i,r),r},he=(t,e,i)=>e.has(t)||q("Cannot "+i),ue=(t,e,i)=>(he(t,e,"read from private field"),i?i.call(t):e.get(t)),pe=(t,e,i)=>e.has(t)?q("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),I,ge="bldglevel",f=class extends n{constructor(t){super(t),pe(this,I,e=>{let i=new RegExp(`${this._levelFieldName}\\s*=\\s*(\\d+)`,"giu"),s=new RegExp(`${this._levelFieldName}\\s*<\\s*(\\d+)`,"giu");for(let{filterMode:r,filterExpression:l}of e.filterBlocks??[]){if(l==null)continue;let a=null;if(r?.type==="solid"?a=i.exec(l):r?.type==="x-ray"&&(a=s.exec(l)),a)return Number.parseInt(a[1],10)}return null})}get filterExpressions(){return this.disabled||!this._levelFieldName?{solid:null,xRay:null}:{xRay:`${this._levelFieldName} < ${this.value}`,solid:`${this._levelFieldName} = ${this.value}`}}get _firstValue(){let t=this.allowedValues;return t.length>0?t[0]:0}_setup(){let t=[];for(let s of this.layers){let r=k(s,ge);r!=null&&(this._levelFieldName=r.fieldName,t.push(r))}this._domainInfo=L(t);let e=this._valueBeforeReady;this._valueBeforeReady=void 0;let i=e??Z(this.layers,ue(this,I));i!=null?this.select(i):(this.disabled=!0,this.value=this._firstValue)}};I=new WeakMap;R([o()],f.prototype,"filterExpressions",1);R([o()],f.prototype,"_levelFieldName",2);R([o()],f.prototype,"_firstValue",1);f=R([N("esri.components.BuildingExplorer.BuildingLevel")],f);var fe=Object.defineProperty,me=Object.getOwnPropertyDescriptor,y=(t,e,i,s)=>{for(var r=s>1?void 0:s?me(e,i):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(r=(s?a(e,i,r):a(r))||r);return s&&r&&fe(e,i,r),r},ve="demolishedphase",_e="createdphase",g=class extends n{constructor(t){super(t),this._parseValueFromFilter=e=>{let i=this._createdPhaseFieldName,s=new RegExp(`${i}\\s*<=\\s*(\\d+)\\s*OR\\s*${i}\\s*IS\\s*NULL`,"giu"),r=this._demolishedPhaseFieldName,l=new RegExp(`${r}\\s*>\\s*(\\d+)\\s*OR\\s*${r}\\s*IS\\s*NULL`,"giu");for(let{filterExpression:a}of e.filterBlocks??[]){let M=a?s.exec(a)??l.exec(a):null;if(M)return Number.parseInt(M[1],10)}return null}}get filterExpressions(){if(this.disabled)return{solid:null,xRay:null};let t=[],e=this._createdPhaseFieldName;e&&t.push(`(${e} <= ${this.value} OR ${e} IS NULL)`);let i=this._demolishedPhaseFieldName;i&&t.push(`(${i} > ${this.value} OR ${i} IS NULL)`);let s=t.join(" AND ");return{solid:s,xRay:s}}get _lastValue(){let t=this.allowedValues;return t.length>0?t[t.length-1]:0}_setup(){let t=[];for(let i of this.layers){let s=k(i,_e);s!=null&&(this._createdPhaseFieldName=s.fieldName,t.push(s));let r=k(i,ve);r!=null&&(this._demolishedPhaseFieldName=r.fieldName,t.push(r))}this._domainInfo=L(t);let e=this._valueBeforeReady;if(this._valueBeforeReady=void 0,this.allowedValues.length>0){let i=e??Z(this.layers,this._parseValueFromFilter);this.select(i??this._lastValue)}else this.clear()}};y([o()],g.prototype,"filterExpressions",1);y([o()],g.prototype,"_createdPhaseFieldName",2);y([o()],g.prototype,"_demolishedPhaseFieldName",2);y([o()],g.prototype,"_lastValue",1);g=y([N("esri.components.BuildingExplorer.BuildingPhase")],g);var ye=Object.defineProperty,we=Object.getOwnPropertyDescriptor,m=(t,e,i,s)=>{for(var r=s>1?void 0:s?we(e,i):e,l=t.length-1,a;l>=0;l--)(a=t[l])&&(r=(s?a(e,i,r):a(r))||r);return s&&r&&ye(e,i,r),r},u=class extends H{constructor(){super(...arguments),this.level=new f,this.phase=new g}get layers(){return this._layers}set layers(t){this._layers=t,this.level.layers=t??new p,this.phase.layers=t??new p}get filter(){let t=this.level.filterExpressions,e=this.phase.filterExpressions,i=[],s=se([t.solid,e.solid]);s!=null&&i.push(s);let r=re([t.xRay,e.xRay]);return r!=null&&i.push(r),i.length===0?null:new Q({id:ee(),name:"Building Explorer Filter",filterBlocks:i})}};m([o()],u.prototype,"_layers",2);m([o()],u.prototype,"layers",1);m([o()],u.prototype,"level",2);m([o()],u.prototype,"phase",2);m([o({readOnly:!0})],u.prototype,"filter",1);u=m([N()],u);var F=class extends C{constructor(){super(...arguments),this.messages=S({blocking:!0}),this.#i=new p,this.#r=new u,this.view=A(this),this.autoDestroyDisabled=!1,this.headingLevel=3,this.hideDisciplines=!1,this.hideLevels=!1,this.hidePhases=!1,this.icon="organization",this.arcgisBuildingLevelChange=w({bubbles:!0,composed:!0}),this.arcgisBuildingPhaseChange=w({bubbles:!0,composed:!0}),this.arcgisReady=w()}static{this.properties={view:0,autoDestroyDisabled:5,headingLevel:9,hideDisciplines:5,hideLevels:5,hidePhases:5,icon:1,label:1,layers:0,level:9,phase:9,levels:0,phases:0,levelDisabled:32,phaseDisabled:32,referenceElement:1}}static{this.styles=Y}#i;#r;get#e(){return this.#r.level}get#t(){return this.#r.phase}get minLevel(){return this.#e.min}get maxLevel(){return this.#e.max}get minPhase(){return this.#t.min}get maxPhase(){return this.#t.max}get supported(){return this.view?.type==="3d"}get layers(){return this.#i.toArray()}set layers(e){this.#i.removeAll(),this.#i.addMany(e)}get level(){return this.#e.value}set level(e){e==null?this.#e.clear():this.#e.value=e}get phase(){return this.#t.value}set phase(e){e==null?this.#t.clear():this.#t.value=e}get levels(){return this.#e.allowedValues}set levels(e){e==null?this.#e.allowedValues=null:this.#e.allowedValues=e}get phases(){return this.#t.allowedValues}set phases(e){e==null?this.#t.allowedValues=null:this.#t.allowedValues=e}get levelDisabled(){return this.#e.disabled}get phaseDisabled(){return this.#t.disabled}async destroy(){await this.manager.destroy()}loaded(){this.#e.changeEmitter=()=>this.arcgisBuildingLevelChange.emit(),this.#t.changeEmitter=()=>this.arcgisBuildingPhaseChange.emit(),this.manager.onLifecycle(()=>[J(()=>({layers:this.#i.toArray(),filter:this.#r.filter,levelState:this.#e.state,phaseState:this.#t.state}),({layers:e,filter:i,levelState:s,phaseState:r})=>{s!=="ready"||r!=="ready"||te(e,i)},{initial:!0}),J(()=>this.layers,e=>{this.#r.layers=new p(e)},{initial:!0})])}render(){let e=this.messages;if(!this.supported)return P({label:e.componentLabel,children:h`<p class="disabled">${e.unsupported}</p>`});if(this.layers.length===0)return P({label:e.componentLabel,children:h`<p class="disabled">${e.noData}</p>`});let i=this.hideLevels||this.#e.allowedValues.length===0,s=this.hidePhases||this.#t.allowedValues.length===0,r=this.#e.state!=="ready"||this.#t.state!=="ready";return P({label:e.componentLabel,loading:r,children:h`${b({hidden:i,children:h`<div>${x({level:this.headingLevel,children:this.messages.level.title})}<arcgis-building-level-picker .messages=${e.level} .level=${this.#e}></arcgis-building-level-picker></div>`})}${b({hidden:s,children:h`<div>${x({level:this.headingLevel,children:this.messages.phase.title})}<arcgis-building-phase-picker .messages=${e.phase} .phase=${this.#t}></arcgis-building-phase-picker></div>`})}${b({hidden:this.hideDisciplines,children:h`<div>${x({level:this.headingLevel,children:this.messages.disciplines.title})}<arcgis-building-discipline-tree .layers=${this.layers} .messages=${this.messages.disciplines}></arcgis-building-discipline-tree></div>`})}`})}};function P(t){return W({class:"root",hideHeader:!0,label:t.label,children:h`${t.children}${t.loading?h`<calcite-scrim .loading=${t.loading}></calcite-scrim>`:null}`})}j("arcgis-building-explorer",F);return F},"core/Collection","core/reactiveUtils","core/Accessor","core/accessorSupport/decorators","applications/Components/reactiveUtils","core/promiseUtils","layers/support/BuildingFilter",a,c,d,e)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import s from"./BUHN3QFA.js";import"./HTJ5MQB3.js";import{a as g}from"./JCRPP54Z.js";import r from"./GQRPWE6F.js";import o from"./MXGL6SJK.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"./SLS6H5OI.js";import{a as b}from"./E3ILZB5S.js";import n from"./POT6OMKJ.js";import l from"./C2HB2U6P.js";import i from"./A3DPBGUE.js";import"./VJVKFKSG.js";import h from"./QBFVYPSW.js";import{a as k}from"./6YQZOTCZ.js";import{a as w}from"./JD74LG7K.js";import{a as G}from"./QFYATITD.js";import e from"./QMPCO7DL.js";import c from"./SVRPZSVP.js";import{g as B}from"./5CHDLE4G.js";import"./QX3ZXA2B.js";import a from"./S5UKLNKF.js";import"./QUZTFUWM.js";import{b as N}from"./3CORLJ7S.js";import"./XURWCCLX.js";import{A as P,L,M as f,N as R,O as v,Q as E,R as M,T as x,b as d,w as p}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([re,u,{on:A,watch:te},,,{a:U},S,,,,,{e:V,h:W,k:X},{a:Y,b:Z,c:ee}])=>{var ie="nested",le=S(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=U(()=>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)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as g}from"./J3UH7WPW.js";import{a as h}from"./JD74LG7K.js";import"./QUZTFUWM.js";import{b as d}from"./3CORLJ7S.js";import"./XURWCCLX.js";import{N as c,T as o,a as l,b as i}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:m},{substitute:f}])=>{var v=l`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.message{padding:.5em 1em}.service-caption-text{margin:0}.service-content{display:flex;flex:1}.service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);display:flex;flex-direction:column;flex:1}.service-caption-container{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-space-md)}`,u=768,a=class extends c{constructor(){super(...arguments),this.stacked=!1,this.headingLevel=3,this.layout="auto",this.type="card"}static{this.properties={stacked:16,activeLayerInfos:0,headingLevel:9,messages:0,view:0,layout:1,type:32}}static{this.styles=v}loaded(){this.manager.onLifecycle(()=>[m(()=>[this.layout,this.view.width],()=>{this.stacked=this.layout==="stack"||(!this.layout||this.layout==="auto")&&this.view.width<=u},{initial:!0})])}render(){return(this.stacked?this._renderCarousel():this._renderLayers())||i`<div class="message">${this.messages.noLegend}</div>`}_renderTitle(e){return i`<div class="service-caption-container">${g({class:d("service-caption-text",h.heading),level:this.headingLevel,children:e})}</div>`}_renderCarousel(){let e=[],t=this.activeLayerInfos;if(t)for(let s of t)this._renderSections(s,e);return e?.length?i`<calcite-carousel .paginationDisabled=${e.length<2} .label=${this.messages.carousel??""}>${e.map((s,r)=>i`<calcite-carousel-item .label=${f(this.messages?.pagination?.pageText??"",{index:r+1,total:e.length})}>${s}</calcite-carousel-item>`)}</calcite-carousel>`:null}_renderLayers(){let e=this.activeLayerInfos?.toArray()?.map(t=>this._renderLegendForLayer(t)).filter(Boolean);return e?.length?e:null}_renderLegendForLayer(e){if(!e.ready)return null;if(e.children.length){let t=e.children.toArray().map(this._renderLegendForLayer,this);return i`<section class="service">${this._renderTitle(e.title)}<div class="service-content">${t}</div></section>`}return this._renderLegendElementsForLayer(e)}_renderLegendElementsForLayer(e){let t=e.legendElements?.filter(Boolean);if(!t?.length)return null;let s=t.map(r=>i`<arcgis-legend-card-element .activeLayerInfo=${e} .cssEffectFilter=${e.cssEffectFilter??void 0} .stacked=${this.stacked} .headingLevel=${this.headingLevel} .layer=${e.layer} .legendElement=${r} .messages=${this.messages}></arcgis-legend-card-element>`);return i`<section class="service">${this._renderTitle(e.title)}<div class="service-content">${s}</div></section>`}_renderSections(e,t){if(!e.ready)return;if(e.children.length)for(let r of e.children)this._renderSections(r,t);let s=e.legendElements;if(s?.length)for(let r of s){let n=i`<arcgis-legend-card-element .activeLayerInfo=${e} .cssEffectFilter=${e.cssEffectFilter??void 0} .stacked=${this.stacked} .headingLevel=${this.headingLevel} .layer=${e.layer} .legendElement=${r} .messages=${this.messages}></arcgis-legend-card-element>`;n&&t.push(n)}}};o("arcgis-legend-card-view",a);return a},"core/reactiveUtils","intl")
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as p}from"./CIVENBYG.js";import{M as u,N as h,O as v,Q as c,T as g,a as m,b as s}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([o])=>{var w=m`:host{background-color:var(--calcite-color-surface-2);block-size:var(--calcite-size-fixed-xxxl);color:var(--calcite-color-text-1);display:flex;flex:1 0 auto;font-family:var(--calcite-font-family);font-size:var(--calcite-font-size-sm);inline-size:auto;--arcgis-internal-time-bar-slider-tick-gap: 100}.root{align-items:center;block-size:100%;display:flex;inline-size:100%}slot[name=max],slot[name=min]{display:flex}.slider{padding-inline:var(--calcite-spacing-md);--labels-container-width: 100%}.slider-container{flex:1 1 auto;min-inline-size:calc(var(--calcite-spacing-md) * 15)}.slider--has-ticks{margin-top:calc(var(--calcite-spacing-md) * -1)}.hidden,.max-date,.min-date{flex:0 0 auto}.hidden{inline-size:0}.max-date,.min-date{inline-size:calc(var(--calcite-size-md) * 3.125)}.popover{padding:var(--calcite-spacing-xxs) var(--calcite-spacing-xs) var(--calcite-spacing-xs)}.ticks-container{flex:1;position:relative;width:100%;arcgis-ticks,>slot::slotted(arcgis-ticks){inset:0;position:absolute;white-space:nowrap;--arcgis-ticks-font-weight: var(--calcite-font-weight-normal);--arcgis-ticks-label-width: auto;--arcgis-ticks-tick-transform: unset;--arcgis-ticks-tick-width: var(--calcite-size-px)}}.slider.slider--out-of-range{--arcgis-internal-slider-handle-color: var(--calcite-color-status-danger);--arcgis-internal-slider-track-range-background-color: var(--calcite-color-status-danger)}`,d=class extends h{constructor(){super(...arguments),this.#t=new ResizeObserver(([e])=>{this._sliderWidth=e.contentRect.width}),this.#a=100,this.#r=100,this.autoDestroyDisabled=!1,this.popoverDisplay="none",this.showMax=!1,this.showMin=!1,this.showTicks=!1}static{this.properties={_activeValue:16,_messages:16,_sliderFillPlacement:16,_sliderWidth:16,_timeExtentEpochValues:16,activeValue:32,autoDestroyDisabled:5,messages:0,popoverDisplay:1,showMax:5,showMin:5,showTicks:5,viewModel:0}}static{this.styles=w}#t;#i;#s;#e;#a;#r;get _messages(){return this.messages??p}get _sliderFillPlacement(){switch(this.viewModel?.mode){case"cumulative-from-end":return"end";case"cumulative-from-start":return"start";case"instant":return"none";default:return}}get _timeExtentEpochValues(){let{viewModel:e}=this;if(!e)return;let{timeExtent:t,fullTimeExtent:i}=e;if(!t||!i)return;let{start:a,end:r}=t,{start:n,end:l}=i;if(!(!n||!l))switch(e.mode){case"cumulative-from-end":case"instant":return a?a.getTime()<n.getTime()?[n.getTime()]:a.getTime()>l.getTime()?[l.getTime()]:[a.getTime()]:void 0;case"cumulative-from-start":return r?r.getTime()<n.getTime()?[n.getTime()]:r.getTime()>l.getTime()?[l.getTime()]:[r.getTime()]:void 0;case"time-window":return a&&r?[a.getTime(),r.getTime()]:void 0}}get activeValue(){switch(this.popoverDisplay){case"none":return;case"always":return this.viewModel?.timeExtent;case"auto":switch(this._activeValue){case void 0:return;case"all":return this.viewModel?.timeExtent;default:return new Date(this._activeValue)}}}async destroy(){await this.manager.destroy()}#n(){return e=>{if(e){this.#e=e,this.#t.observe(e);return}this.#e&&(this.#t.unobserve(this.#e),this.#e=void 0)}}#l(){let e=Number.parseInt(window.getComputedStyle(this.el).getPropertyValue("--arcgis-internal-time-bar-slider-tick-gap"),10);return Number.isFinite(e)&&e>0?e:this.#a}#c(e,t){let{viewModel:i}=this,{start:a,end:r}=e;if(!i||!a||!r)return;let n=(r.getTime()-a.getTime())/t;return i.tickFormats.find(({duration:l})=>l>this.#l()*n)??i.tickFormats.at(-1)}#o(e){this._activeValue=e.target.activeValue}#d(e){let{viewModel:t}=this,i=t?.mode;i&&(t.timeExtent=this.#m(e.target.values,i),this._activeValue=e.target.activeValue)}#m([e,t],i){switch(i){case"cumulative-from-end":return new o({start:new Date(e),end:null});case"cumulative-from-start":return new o({start:null,end:new Date(e)});case"instant":return new o({start:new Date(e),end:new Date(e)});case"time-window":return new o({start:new Date(e),end:new Date(t??e)})}}#u(){return this.showMax?s`<slot name=max><arcgis-time-bar-date class="max-date" .date=${this.viewModel?.fullTimeExtent?.end} .viewModel=${this.viewModel}></arcgis-time-bar-date></slot>`:s`<div class="hidden"></div>`}#h(){return this.showMin?s`<slot name=min><arcgis-time-bar-date class="min-date" .date=${this.viewModel?.fullTimeExtent?.start} .viewModel=${this.viewModel}></arcgis-time-bar-date></slot>`:s`<div class="hidden"></div>`}#v(){return this.popoverDisplay!=="none"?s`<div class="popover" slot=popover><slot name=popover>${this.#g()}</slot></div>`:null}#g(){let{activeValue:e,viewModel:t}=this;if(!e||!t)return null;switch(t.mode){case"cumulative-from-end":case"instant":return s`<arcgis-time-bar-date .date=${t.timeExtent?.start} .viewModel=${t}></arcgis-time-bar-date>`;case"cumulative-from-start":return s`<arcgis-time-bar-date .date=${t.timeExtent?.end} .viewModel=${t}></arcgis-time-bar-date>`;case"time-window":return e instanceof Date?s`<arcgis-time-bar-date .date=${e} .viewModel=${t}></arcgis-time-bar-date>`:s`<arcgis-time-bar-extent .viewModel=${t}></arcgis-time-bar-extent>`}}#p(){let{viewModel:e}=this;if(!e?.fullTimeExtent?.start||!e?.fullTimeExtent?.end)return null;let t=this.#c(e.fullTimeExtent,this._sliderWidth??this.#r);if(!t)return null;(!this.#i||!this.#s||this.#i!==t)&&(this.#i=t,this.#s=e.getTickValues(t.timeInterval),e.tickFormat=t.format);let i=e.fullTimeExtent.start.getTime(),a=e.fullTimeExtent.end.getTime();return s`<div class="slider-container" ${u(this.#n())}><arcgis-slider allow-values-overlap class=${v({slider:!0,"slider--has-ticks":this.showTicks,"slider--out-of-range":e.isOutOfRange})} .disabled=${!e.interactive} fill-placement=${this._sliderFillPlacement??c} .max=${a} .min=${i} @arcgisActiveValueChange=${this.#o} @arcgisInput=${this.#d} popover-label=${this._messages.timeExtent??c} popover-display=${(this.popoverDisplay==="none"?"auto":this.popoverDisplay)??c} precision=0 .steps=${e.effectiveStopsEpoch} .values=${this._timeExtentEpochValues}>${this.#v()}${this.#w(e,i,a)}</arcgis-slider></div>`}#w(e,t,i){return this.showTicks?s`<div slot=content-end class="ticks-container"><slot name=content-end><arcgis-ticks .labelFormatter=${e.tickFormatter} .max=${i} .min=${t} mode=value show-labels .values=${this.#s}></arcgis-ticks></slot></div>`:null}render(){return s`<div class="root">${this.#h()}${this.#p()}${this.#u()}</div>`}};g("arcgis-time-bar-slider",d);return d},"time/TimeExtent")
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a}from"./HTJ5MQB3.js";import"./JCRPP54Z.js";import"./FCNNRX3Q.js";import"./5CHDLE4G.js";import"./QX3ZXA2B.js";import"./QUZTFUWM.js";import"./3CORLJ7S.js";import"./XURWCCLX.js";import"./RM4OPQBM.js";import"./H6RQVSYM.js";export{a as ArcgisLayerListItemIndicator};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import b from"./C2HB2U6P.js";import{a as f}from"./6YQZOTCZ.js";import{g}from"./5CHDLE4G.js";import"./QX3ZXA2B.js";import"./QUZTFUWM.js";import"./3CORLJ7S.js";import"./XURWCCLX.js";import{N as m,T as d,a as u,b as a,o as n,w as h}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([k,{c:b}])=>{var w=u`:host{height:100%;flex-grow:1}.subnetwork-details{border-radius:var(--calcite-border-radius);border:solid 1px var(--calcite-color-border-3)}.key-value-pair{padding:var(--calcite-space-sm)}.key-value-pair__key{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-3)}.key-value-pair__value{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block :is(calcite-combobox,calcite-input,calcite-label,calcite-notice){margin:0 var(--calcite-space-md) var(--calcite-space-md)}calcite-block>:last-child{margin-bottom:0}calcite-block calcite-input-message{padding:var(--calcite-space-sm) var(--calcite-space-md) 0}calcite-notice{margin:var(--calcite-space-md)}#subnetwork-info-block{margin:var(--calcite-space-md) var(--calcite-space-md) 0}.inline-loader{--calcite-loader-spacing: var(--calcite-space-md)}`,C=20,N=new Set(["subnetwork","subnetwork-controller","upstream","downstream","isolation"]),c=class extends m{constructor(){super(...arguments),this._messages=f({blocking:!0}),this._subnetworkNamesState="ready",this._compatibleSubnetworkNames=[],this.traceConfigurations=[],this.hideSubnetworkInfo=!1,this.hideErrors=!1,this.state="ready",this.arcgisPropertyChange=g()("selectedNamedTraceConfiguration","traceConfiguration"),this.arcgisError=h()}static{this.properties={_subnetworksTable:16,_subnetworkNamesState:16,_compatibleSubnetworkNames:16,selectedNamedTraceConfiguration:0,traceConfigurations:0,utilityNetwork:0,heading:1,traceConfiguration:0,isSubnetworkNameTraceSelected:32,hideSubnetworkInfo:5,hideErrors:5,error:1,state:1}}static{this.styles=w}get#e(){return this.traceConfiguration?.subnetworkName??void 0}set#e(e){this.traceConfiguration&&(this.traceConfiguration.subnetworkName=e)}get isSubnetworkNameTraceSelected(){let{selectedNamedTraceConfiguration:e}=this;return!!e?.traceConfiguration?.subnetworkName&&e?.traceType==="subnetwork"}willUpdate(e){e.has("traceConfigurations")&&this.#m(),e.has("selectedNamedTraceConfiguration")&&this.#s(),e.has("utilityNetwork")&&this.#h()}async#s(){let{selectedNamedTraceConfiguration:e,_messages:t}=this;if(!(e?.traceConfiguration instanceof k)){this.#t(t.errors.noTraceConfiguration),this.traceConfiguration=void 0,this.arcgisPropertyChange.emit({name:"traceConfiguration"});return}this.#i(),this.traceConfiguration=e.traceConfiguration.clone(),this.arcgisPropertyChange.emit({name:"selectedNamedTraceConfiguration"}),this.arcgisPropertyChange.emit({name:"traceConfiguration"}),this.isSubnetworkNameTraceSelected&&(this._subnetworkNamesState="loading",this.state="loading",await this.#o(this.traceConfiguration),this._subnetworkNamesState="ready",this.state="ready")}async#o(e){await this.#n(),await this.#c(),e.subnetworkName&&!this._compatibleSubnetworkNames.some(t=>t===e.subnetworkName)&&(this.#e=this._compatibleSubnetworkNames.at(0))}async#n(){this._subnetworksTable||(this._subnetworksTable=await this.utilityNetwork?.loadSubnetworksTable())}async#c(){let{_subnetworksTable:e}=this;if(!e)return;let t=e.fieldsIndex.get("SUBNETWORKNAME"),i=(o,l,p)=>l===0||o.getAttribute(t.name)!==p[l-1].getAttribute(t.name),r=e.createQuery();r.gdbVersion=this.utilityNetwork?.gdbVersion,r.where=this.#l(),r.outFields=[t.name],r.orderByFields=[t.name];let{features:s}=await b(e,r,void 0,!1);this._compatibleSubnetworkNames=s.filter(i).map(o=>o.getAttribute(t.name))}#l(){let e=this.traceConfiguration,t=`DOMAINNETWORKNAME = '${e.domainNetworkName}'`,i=`TIERNAME = '${e.tierName}'`;return[t,i].join(" AND ")}#u(e){let t=this.traceConfigurations.find(i=>i.globalId===e);if(!t){this.#t(this._messages.errors.traceConfigurationNotFound),this.traceConfiguration=void 0,this.selectedNamedTraceConfiguration=void 0;return}this.#i(),this.selectedNamedTraceConfiguration=t}#h(){this.#e=void 0,this._subnetworksTable=void 0,this._compatibleSubnetworkNames=[]}#m(){this.traceConfiguration=void 0,this.selectedNamedTraceConfiguration=void 0,this.traceConfigurations.length?(this.#i(),this.selectedNamedTraceConfiguration=this.traceConfigurations.find(e=>e.traceConfiguration instanceof k),this.#s()):this.#t(this._messages.errors.noTraceConfigurations)}#t(e){n("error",this,e),this.error=e,this.state="error",this.arcgisError.emit()}#i(){this.error=void 0,this.state="ready"}#a(e,t){return a`<div class="key-value-pair"><div class="key-value-pair__key">${e}</div><div class="key-value-pair__value">${t}</div></div>`}#r(e,t=!1,i="exclamation-mark-triangle"){return this.hideErrors?null:a`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`}#d(){let{selectedNamedTraceConfiguration:e}=this;return a`<calcite-label>${e?.title}</calcite-label>`}#g(){let e=this.traceConfigurations.map(i=>a`<calcite-combobox-item .value=${i.globalId} .heading=${i.title} .selected=${i.globalId===this.selectedNamedTraceConfiguration?.globalId}></calcite-combobox-item>`),t=this._messages.labels.traceConfiguration;return a`<calcite-combobox .label=${t} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:i})=>{let r=i.selectedItems[0]?.value;this.#u(r)}}>${e}</calcite-combobox>`}#b(){let{_messages:e}=this;if(this.error===e.errors.noTraceConfigurations)return this.#r(e.errors.noTraceConfigurations);let t=this.error?this.#r(this.error):null,i=this.traceConfigurations.length>1?this.#g():this.#d(),r=this._messages.labels.traceConfiguration,s=this.heading??r;return a`<calcite-block .heading=${s} .label=${r} expanded>${i}${t}</calcite-block>`}#f(){if(this.hideSubnetworkInfo)return null;let{_messages:e,selectedNamedTraceConfiguration:t}=this;if(!t?.traceConfiguration)return this.traceConfiguration=void 0,this.#t(this._messages.errors.noTraceConfiguration),null;this.#i();let{domainNetworkName:i,tierName:r,targetTierName:s}=t.traceConfiguration;return!i&&!r&&!s?(n("warn",this,"`namedTraceConfig.traceConfiguration` has no `domainNetworkName`, `tierName`, or `targetTierName`."),null):a`<calcite-block id=subnetwork-info-block expanded .label=${this._messages.labels.subnetworkInfo}><div class="subnetwork-details">${i?this.#a(e.headings.domainNetwork,i):null}${r?this.#a(e.headings.tier,r):null}${s?this.#a(e.headings.targetTier,s):null}</div></calcite-block>`}#k(){let{_messages:e}=this,t=e.labels.subnetworkName;return this.isSubnetworkNameTraceSelected?this._subnetworkNamesState==="loading"?a`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>`:this._compatibleSubnetworkNames.length?a`<calcite-block .heading=${t} .label=${t} expanded>${this._compatibleSubnetworkNames.length>C?this.#p():this.#w()}</calcite-block>`:this.#r(e.errors.noCompatibleSubnetworks):null}#p(){let{_messages:e}=this;return a`<calcite-input clearable type=text .placeholder=${e.instructions.enterSubnetworkName} max-length=64 .status=${this.#e?"valid":"invalid"} .value=${this.#e} @calciteInputInput=${t=>this.#e=t.target.value}></calcite-input><calcite-input-message icon=exclamation-mark-triangle status=idle>${e.labels.tooManySubnetworks}</calcite-input-message>`}#w(){return a`<calcite-combobox .label=${this._messages.labels.subnetworkName} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:e})=>{let t=e.selectedItems[0]?.value;this.#e=t}}>${this._compatibleSubnetworkNames.map(e=>a`<calcite-combobox-item .value=${e} .heading=${e} .selected=${e===this.#e}></calcite-combobox-item>`)}</calcite-combobox>`}render(){let{selectedNamedTraceConfiguration:e}=this,t=e?.traceType&&N.has(e.traceType)?a`${this.#f()}${this.#k()}`:null;return a`${this.#b()}${t}`}};d("arcgis-utility-network-trace-configuration-picker",c);return c},"networks/support/UNTraceConfiguration",b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import k from"./MXGL6SJK.js";import{a as V}from"./E3ILZB5S.js";import i from"./POT6OMKJ.js";import h from"./C2HB2U6P.js";import g from"./A3DPBGUE.js";import"./VJVKFKSG.js";import{b as U,c as Z,d as j}from"./7N4V2IN6.js";import f from"./QBFVYPSW.js";import{a as P}from"./6YQZOTCZ.js";import e from"./QMPCO7DL.js";import d from"./SVRPZSVP.js";import{e as L,g as S}from"./5CHDLE4G.js";import"./QX3ZXA2B.js";import b from"./S5UKLNKF.js";import"./QUZTFUWM.js";import{b as x}from"./3CORLJ7S.js";import"./XURWCCLX.js";import{L as M,M as v,N,O as y,Q as c,R,T as B,a as O,b as a,n as C,o as $,w as A}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([Q,{substitute:u,formatNumber:I},{watch:r},{stripHTML:k},W,{renderingSanitizer:F},{initializeProjection:Y},ee,,,,z,,,{d:H},{c:K,d:G}])=>{var te=O`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.content-feature{--calcite-flow-item-footer-padding: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}`,ie=new ee({icon:"magnifying-glass-plus",id:"zoom-to-feature",title:"{messages.zoom}"}),_=ie.clone(),ne=25;function se(E){return E?.declaredClass.startsWith("esri.layers.")??!1}var oe=z(Q),D=class extends N{constructor(){super(...arguments),this._direction=L(),this._fetchFeaturesController=null,this._featureMenuIntersectionObserverCallback=([e])=>{e?.isIntersecting&&this.viewModel.featurePage!=null&&this.viewModel.featurePage++},this._featureMenuIntersectionObserver=new IntersectionObserver(this._featureMenuIntersectionObserverCallback,{root:window.document}),this._featureMenuIntersectionObserverNode=null,this._rootFlowItemNode=M(),this._featureMenuViewportNode=M(),this._actionBarMenuNode=M(),this._flowContainerNode=M(),this.messages=P(),this._selectedFeatureComponent=M(),this._cancelOpenRelatedFeature=()=>{let{_openRelatedFeatureAbortController:e}=this;e&&e.abort(),this._openRelatedFeatureAbortController=null},this._spinnerVisible=!1,this._spinnerVisibilityTimeout=null,this._openRelatedFeatureAbortController=null,this.flowItems=new W,this.viewModel=oe(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.autoDestroyDisabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=this.viewModel.featureMenuOpen,this.featureMenuTitle=this.viewModel.featureMenuTitle,this.featureNavigationTop=!1,this.features=this.viewModel.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.goToOverride=this.viewModel.goToOverride,this.headerActions=new W,this.heading=this.viewModel.title,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideHeading=!1,this.hideSelectFeature=!1,this.hideSpinner=!1,this.hideContent=!1,this.hideExpressionContent=!1,this.hideLastEditedInfo=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.map=this.viewModel.map,this.open=this.viewModel.visible,this.promises=this.viewModel.promises,this.responsiveActionsEnabled=!1,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.showCollapseButton=!1,this.spatialReference=this.viewModel.spatialReference,this.state=this.viewModel.state,this.timeZone=this.viewModel.timeZone,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.arcgisPropertyChange=S()("active","collapsed","effectiveHeading","featureCount","featureMenuOpen","features","promises","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","open"),this.arcgisReady=A(),this.arcgisClose=A(),this.arcgisTriggerAction=A()}static{this.properties={_openRelatedFeatureAbortController:16,flowItems:16,_hideActionText:16,_featureNavigationVisible:16,_isCollapsed:16,_collapseEnabled:16,_featureFlowItemSelected:16,viewModel:0,actions:0,active:0,autoDestroyDisabled:5,collapseDirection:1,collapsed:5,content:1,defaultPopupTemplateEnabled:5,effectiveHeading:32,featureCount:9,featureMenuOpen:5,featureMenuTitle:1,featureNavigationTop:5,features:0,featuresPerPage:9,featureViewModelAbilities:0,goToOverride:0,headerActions:0,heading:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideHeading:5,hideSelectFeature:5,hideSpinner:5,hideContent:5,chartAnimationDisabled:5,hideAttachmentsContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,hideRelationshipContent:5,hideTextContent:5,hideUtilityNetworkContent:5,hideLastEditedInfo:5,highlightDisabled:5,icon:1,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,map:0,messageOverrides:0,open:5,referenceElement:1,promises:0,responsiveActionsEnabled:5,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:32,timeZone:1,updateLocationEnabled:5,view:0}}static{this.styles=te}get _hideActionText(){if(!this.responsiveActionsEnabled)return!1;let e=this.viewModel.view?.widthBreakpoint;return e==="xsmall"||e==="small"||e==="medium"}get _featureNavigationVisible(){return this.viewModel.active&&this.viewModel.featureCount>1&&!!this.viewModel.selectedFeature&&!this.hideFeatureNavigation}get _isCollapsed(){return this._collapseEnabled&&this.collapsed}get _collapseEnabled(){return this.showCollapseButton&&(this.initialDisplayMode==="list"||!!(this.heading||this.viewModel.selectedFeatureViewModel?.title)&&!!(this.content||this.viewModel.selectedFeatureViewModel?.content))}get _featureFlowItemSelected(){return this.initialDisplayMode==="list"?!!this.selectedFeature:!this.featureMenuOpen}get chartAnimationDisabled(){return!(this.viewModel.featureViewModelAbilities?.chartAnimation??!0)}set chartAnimationDisabled(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.chartAnimation=!e}get hideAttachmentsContent(){return!(this.viewModel.featureViewModelAbilities?.attachmentsContent??!0)}set hideAttachmentsContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.attachmentsContent=!e}get hideCustomContent(){return!(this.viewModel.featureViewModelAbilities?.customContent??!0)}set hideCustomContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.customContent=!e}get hideFieldsContent(){return!(this.viewModel.featureViewModelAbilities?.fieldsContent??!0)}set hideFieldsContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.fieldsContent=!e}get hideMediaContent(){return!(this.viewModel.featureViewModelAbilities?.mediaContent??!0)}set hideMediaContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.mediaContent=!e}get hideRelationshipContent(){return!(this.viewModel.featureViewModelAbilities?.relationshipContent??!0)}set hideRelationshipContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.relationshipContent=!e}get hideTextContent(){return!(this.viewModel.featureViewModelAbilities?.textContent??!0)}set hideTextContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.textContent=!e}get hideUtilityNetworkContent(){return!(this.viewModel.featureViewModelAbilities?.utilityNetworkAssociationsContent??!0)}set hideUtilityNetworkContent(e){this.viewModel.featureViewModelAbilities??={},this.viewModel.featureViewModelAbilities.utilityNetworkAssociationsContent=!e}async clear(){return this.viewModel.clear()}async close(){this.open=!1}async destroy(){await this.manager.destroy(),this._clearSpinnerVisibilityTimeout(),this._removeSpinner(this.referenceElement),this._cancelOpenRelatedFeature(),this._removeFlowItems(),this._unobserveFeatureMenuObserver(),this._cancelFetchingFeatures(),this._featureMenuIntersectionObserver?.disconnect()}async fetchFeatures(e,t){this._cancelFetchingFeatures();let{signal:n}=t??{},i=new AbortController,{signal:s}=i,o=n?AbortSignal.any([s,n]):s;if(this._fetchFeaturesController=i,!e&&this.view&&this.location&&(await Y(this.location.spatialReference,this.view.spatialReference,null,{signal:o}),e=this.view.toScreen(this.location)??void 0),!e)return;let l=await this.viewModel.fetchFeatures(e,{...t,signal:o});this.location=l.location,this.promises=l.pendingFeatures}async next(){return $("warn",this,"The return type of FeaturesViewModel on the next() method is deprecated. At 6.0, this method will return void."),this.viewModel.next()}async previous(){return $("warn",this,"The return type of FeaturesViewModel on the previous() method is deprecated. At 6.0, this method will return void."),this.viewModel.previous()}async setFocus(){this._flowContainerNode.value?.setFocus()}async triggerAction(e){if($("warn",this,"The triggerAction() method is deprecated since 5.1. Trigger actions with manual user interaction within the component.",{once:!0}),!e.disabled)return e?.type==="toggle"&&(e.value=!e.value),await G(e,this.viewModel)}connectedCallback(){super.connectedCallback(),this._createSpinner()}disconnectedCallback(){super.disconnectedCallback(),this._clearSpinnerVisibilityTimeout(),this._removeSpinner(this.referenceElement)}loaded(){this.manager.onLifecycle(()=>[r(()=>this.viewModel?.selectedFeatureIndex,(e,t)=>this._selectedFeatureIndexUpdated(e,t)),r(()=>this.viewModel?.view,(e,t)=>t&&this._viewChange()),r(()=>this._spinnerEl?.screenLocation,()=>this._closeOpenActionMenu()),r(()=>this.selectedFeatureComponent?.viewModel,()=>this._removeFlowItems()),r(()=>this.viewModel?.featureViewModels,()=>this._featureMenuViewportScrollTop()),r(()=>this.flowItems.length,()=>this._syncSelectedDrillInFeature()),r(()=>[this.viewModel?.title,this.viewModel?.selectedFeatureViewModel?.title,this.viewModel?.selectedFeatureViewModel?.state],()=>this._syncEffectiveHeading(),{initial:!0}),r(()=>[this.flowItems?.length,this.featureMenuOpen],()=>{this.setFocus()}),r(()=>this.referenceElement,(e,t)=>{this._removeSpinner(t),this._createSpinner()},{initial:!0}),r(()=>[this.hideSpinner,this.viewModel?.view,this.viewModel?.location,this.viewModel?.waitingForResult,this.viewModel?.visible],()=>this._createSpinner(),{initial:!0})])}updated(){let e=this._selectedFeatureComponent.value??void 0;this.selectedFeatureComponent!==e&&C(()=>this.selectedFeatureComponent=e)}_syncSelectedDrillInFeature(){let e=this.flowItems.getItemAt(this.flowItems.length-1);C(()=>this.selectedDrillInFeature=e?.graphic??void 0)}_syncEffectiveHeading(){let e=this._calculateEffectiveHeading();this.effectiveHeading!==e&&C(()=>this.effectiveHeading=e)}_cancelFetchingFeatures(){this._fetchFeaturesController?.abort(),this._fetchFeaturesController=null}_handleClose(){this.close(),this.arcgisClose.emit()}_groupResultsByLayer(){let{featureViewModels:e}=this.viewModel,t=new Map;return e.forEach(n=>{let i=n?.graphic;if(!i)return;let s=H(i),o=se(s)?s:null,l=t.get(o)??[];t.set(o,[...l,n])}),t}_handleCollapseToggle(){this.collapsed=!this.collapsed}async _openRelatedFeature(e){this._cancelOpenRelatedFeature();let t=new AbortController;if(this._openRelatedFeatureAbortController=t,await e.updateGeometry(),this._openRelatedFeatureAbortController!==t)return;let n=e.graphic,i=n?.geometry;if(i==null||n==null){this._openRelatedFeatureAbortController===t&&(this._openRelatedFeatureAbortController=null);return}if(this._removeFlowItems(),await this.viewModel.zoomTo({target:i}),this._openRelatedFeatureAbortController!==t)return;let{labelPointExecute:s}=await $arcgis.t(m=>m[0],"geometry/operators/labelPointOperator");if(this._openRelatedFeatureAbortController!==t)return;let o=s(i);o!=null&&(this.location=o),this.features=[n],this.open=!0,await this.setFocus(),this._openRelatedFeatureAbortController===t&&(this._openRelatedFeatureAbortController=null)}_handlePaginationMenuButton(){this._updateFeatureMenu()}_openFeatureMenu(){this._updateFeatureMenu(!0)}_closeFeatureMenu(){this._updateFeatureMenu(!1)}_updateFeatureMenu(e=!this.featureMenuOpen){this.featureMenuOpen=e}_previousFeature(){this.viewModel.previous()}_nextFeature(){this.viewModel.next()}_handleFeatureBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this._openFeatureMenu()}_handleFeatureMenuBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this.featureMenuOpen&&this._closeFeatureMenu()}_setActiveFeature(e){let{viewModel:t}=this;t.activeFeature=t.features?.[e]||null}_removeActiveFeature(){this.viewModel.activeFeature=null}_selectFeature(e){this.viewModel.selectedFeatureIndex=e,this.initialDisplayMode==="feature"?this._handleFeatureMenuBack():this.setFocus()}_unobserveFeatureMenuObserver(){this._featureMenuIntersectionObserverNode&&this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode)}_featureMenuIntersectionObserverCreated(e){this._unobserveFeatureMenuObserver(),e&&this._featureMenuIntersectionObserver.observe(e),this._featureMenuIntersectionObserverNode=e}_getActionTitle(e){let{messages:t,selectedFeature:n}=this,{id:i}=e,s=n?.attributes,o=e.title??"",l=i==="zoom-to-feature"?u(o,{messages:t}):i==="remove-selected-feature"?u(o,{messages:t}):i==="zoom-to-clustered-features"?u(o,{messages:t}):i==="browse-clustered-features"?u(o,{messages:t}):e.title;return l&&s?u(l,s):l??""}_onMainKeydown(e){let{key:t}=e;e.defaultPrevented||U(e)||(j(t,this._direction,{horizontalOnly:!0})&&(e.stopPropagation(),e.preventDefault(),this._handleFeatureMenuBack(),this.previous(),this.setFocus()),Z(t,this._direction,{horizontalOnly:!0})&&(e.stopPropagation(),e.preventDefault(),this._handleFeatureMenuBack(),this.next(),this.setFocus()))}_featureMenuViewportScrollTop(){this._featureMenuViewportNode.value?.scrollContentTo({top:0})}_selectedFeatureIndexUpdated(e,t){let{featureCount:n,waitingForResult:i}=this.viewModel;i||!n||e===t||e===-1||(this._removeFlowItems(),this._rootFlowItemNode.value?.scrollContentTo({top:0}))}_triggerAction(e){this.triggerAction(e),this.arcgisTriggerAction.emit({action:e})}_viewChange(){this.viewModel.clear(),this.open=!1}_closeOpenActionMenu(){let{_actionBarMenuNode:e}=this;e.value&&(e.value.menuOpen=!1)}_removeFlowItems(){this.flowItems?.destroyAll()}_getDrillInFlowItemDescription(e){switch(e.flowType){case"feature":case"feature-association":case"feature-utility-network-associations":case"feature-utility-network-association-type":return e.description;case"feature-relationship":return e.allItemsDescription}}_handleDrillInBackClick(){this.flowItems?.pop()?.destroy()}_calculateEffectiveHeading(){let{title:e,selectedFeatureViewModel:t}=this.viewModel;return t?t?.state==="error"?this.messages?.errorMessage??"":t?.title||"":e??""}_getHeading(){return!this.hideHeading&&this.effectiveHeading?this.effectiveHeading:""}_removeSpinner(e){e?.manager?.component?.extraContent?.remove(this._spinnerEl),this._spinnerEl=void 0}_clearSpinnerVisibilityTimeout(){this._spinnerVisibilityTimeout!=null&&(clearTimeout(this._spinnerVisibilityTimeout),this._spinnerVisibilityTimeout=null)}_getSpinnerTrackLocation(){return!this.hideSpinner&&this.viewModel.visible&&this.viewModel?.waitingForResult?this._spinnerVisible?!0:(this._spinnerVisibilityTimeout??=setTimeout(()=>{this._spinnerVisibilityTimeout=null,this._spinnerVisible=!0,this._createSpinner()},ne),!1):(this._clearSpinnerVisibilityTimeout(),this._spinnerVisible=!1,!1)}_createSpinner(){let e=this.referenceElement;e&&(this._removeSpinner(e),this._spinnerEl=R(a`<arcgis-spinner .label=${this.messages.loading??""} .trackLocation=${this._getSpinnerTrackLocation()} .location=${this.viewModel?.location??void 0} .referenceElement=${e} .view=${this.viewModel?.view??void 0}></arcgis-spinner>`),e.manager?.component?.extraContent?.add(this._spinnerEl))}render(){return a`<div class="root" @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`}_renderFeatureNavigation(){return[this._renderPagination(),this.initialDisplayMode==="list"?this._renderFeaturePaginationText():this._renderFeatureMenuButton()]}_renderHeader(){return this.featureNavigationTop&&this._featureNavigationVisible?a`<div class="header">${this._renderFeatureNavigation()}</div>`:null}_renderFooter(){return!this.featureNavigationTop&&this._featureNavigationVisible?a`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>`:null}_renderFeaturePaginationText(){let{messages:e,viewModel:t}=this,{featureCount:n,selectedFeatureIndex:i}=t;return a`<div class="pagination-text">${u(e.pageText??"",{index:I(i+1),total:I(n)})}</div>`}_renderFeatureMenuButton(){let{messages:e,viewModel:t}=this,{featureCount:n,streamingFeatures:i,selectedFeatureIndex:s,pendingPromisesCount:o}=t,l=o>0||i;return a`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${l} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText??"",{index:I(s+1),total:I(n)})} text-enabled title=${e.selectFeature??c}></calcite-action>`}_renderPagination(){let{previous:e,next:t}=this.messages;return a`<calcite-action-bar class="pagination-action-bar" expand-toggle-disabled layout=horizontal overflow-mode=none scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e??""} @click=${this._previousFeature} .text=${e??""} title=${e??""??c}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t??""} @click=${this._nextFeature} .text=${t??""} title=${t??""??c}></calcite-action></calcite-action-group></calcite-action-bar>`}_renderFeatureMenuItem(e){let{initialDisplayMode:t}=this,{selectedFeatureViewModel:n,featureViewModels:i}=this.viewModel,s=e===n,o=i.indexOf(e);return a`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${()=>this._setActiveFeature(o)} @mouseleave=${this._removeActiveFeature} @mouseover=${()=>this._setActiveFeature(o)} .selected=${s} @calciteListItemSelect=${()=>this._selectFeature(o)}><span .innerHTML=${(F.sanitize(e.title)||this.messages.untitled)??""} slot=content></span>${t==="list"?a`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`:null}</calcite-list-item>`}_renderFeatureMenu(){let{messages:e,viewModel:t}=this,n=this._groupResultsByLayer(),i=this.initialDisplayMode==="list"?"none":"single";return t.featureViewModels.length?a`<calcite-list display-mode=flat .label=${e?.featuresList??""} selection-appearance=icon .selectionMode=${i}>${Array.from(n.keys(),s=>{let o=n.get(s)?.map(d=>this._renderFeatureMenuItem(d)),l=s?s.title??this.messages.untitled:null;return!this.hideFeatureListLayerTitle&&l!==null?V(s??"map-graphics",a`<calcite-list-item-group .heading=${l}>${o}</calcite-list-item-group>`):o})}</calcite-list>`:null}_renderHeaderAction(e){let t=e.title||"";return e.visible?a`<calcite-action .active=${e.type==="toggle"?e.value:!1} .disabled=${e.disabled} .icon=${e.icon??void 0} .indicator=${e.active} .loading=${e.active} @click=${()=>this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t??c}></calcite-action>`:null}_renderHeaderActions(){return this.headerActions.map(e=>this._renderHeaderAction(e)).toArray()}_renderContentFeature(){let{headingLevel:e,hideCloseButton:t,_isCollapsed:n,_collapseEnabled:i,_featureFlowItemSelected:s,featureNavigationTop:o,flowItems:l,initialDisplayMode:d,selectedFeature:g,hideHeading:f}=this,{active:m,selectedFeatureViewModel:p,content:w}=this.viewModel,h=this._getHeading();if(d==="list"&&!g)return null;let b=l.length===0&&s,T=p?!p.content:!w;return a`<calcite-flow-item class=${y(x({"content-feature":!0,"flow-item-collapsed":n}))} .closable=${!t} .closed=${!m} .collapsed=${n} .collapseDirection=${this.collapseDirection??(o?"down":"up")} .collapsible=${i} .headingLevel=${e} .selected=${b} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} .messageOverrides=${{collapse:this.messages.collapse,expand:this.messages.expand}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${!f&&h?k(h):void 0} ${v(this._rootFlowItemNode)}>${!f&&h?a`<div slot=heading><div .innerHTML=${F.sanitize(h??"")??""}></div></div>`:null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${y(x("container","content-container",{"content-hidden":T}))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`}_renderFeatureMenuContainer(){let{viewModel:e,hideCloseButton:t,featureMenuTitle:n,messages:i,initialDisplayMode:s,featureMenuOpen:o,_featureFlowItemSelected:l,_collapseEnabled:d,_isCollapsed:g,featureNavigationTop:f,headingLevel:m}=this,{active:p,featureViewModels:w,streamingFeatures:h,pendingPromisesCount:b}=e,T=b>0||h,X=n??i.selectFeature;if(s==="feature"&&!o)return null;let q=!l;return a`<calcite-flow-item class=${y(x({"flow-item-collapsed":g}))} .closable=${s==="list"&&!t} .closed=${!p} .collapsed=${s==="list"&&g} .collapseDirection=${this.collapseDirection??(f?"down":"up")} .collapsible=${s==="list"&&d} .messageOverrides=${{collapse:this.messages.collapse,expand:this.messages.expand}} .description=${this.hideFeatureMenuHeading?void 0:u(i.total??"",{total:w.length})} .heading=${this.hideFeatureMenuHeading?void 0:X} .headingLevel=${m} .loading=${e.waitingForContents} .selected=${q} @calciteFlowItemBack=${J=>{J.preventDefault(),this._handleFeatureMenuBack()}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${s==="list"?this._renderHeaderActions():null}${T?a`<calcite-loader class="loader" inline .label=${i.loading??""} slot=header-actions-end></calcite-loader>`:null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${s==="feature"?a`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${i.back}</calcite-button>`:null}</calcite-flow-item>`}_renderFlowItem(e,t){let{messages:n,hideCloseButton:i,hideSelectFeature:s,active:o,hideHeading:l}=this,d="graphic"in e&&"isFeatureFromTable"in e&&!e.isFeatureFromTable,g=d&&!s,f=e.flowType==="feature-association",m=n.returnToInitialFeature??"",p=n?.selectFeature,w=this._getActionTitle(_),h=!this.hideActionBar&&f&&d;return a`<calcite-flow-item .closable=${!i} .closed=${!o} .description=${k(this._getDrillInFlowItemDescription(e)??"")} .heading=${l?void 0:k(e.heading??"")} .selected=${t} @calciteFlowItemBack=${b=>{b.preventDefault(),this._handleDrillInBackClick()}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${l?null:a`<div slot=heading><div .innerHTML=${F.sanitize(e.heading??"")??""}></div></div>`}<div slot=description><div .innerHTML=${F.sanitize(this._getDrillInFlowItemDescription(e)??"")??""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${m??""} title=${m??""??c}></calcite-action>${g?a`<calcite-action icon=zoom-to-object @click=${()=>this._openRelatedFeature(e)} slot=header-actions-end .text=${p??""} title=${p??c}></calcite-action>`:null}${h?a`<calcite-action-bar expand-toggle-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${_.disabled} .icon=${_.icon??void 0} .loading=${_.active} scale=s text-enabled .text=${w} title=${w??c} @click=${()=>K(this.viewModel,_,e)}></calcite-action></calcite-action-group></calcite-action-bar>`:null}<div class="container">${e}</div></calcite-flow-item>`}_renderContentContainer(){let e=this.flowItems?.toArray(),t=e?.map((i,s)=>this._renderFlowItem(i,this._featureFlowItemSelected&&s===e.length-1)),n=this.initialDisplayMode==="list"?[this._renderFeatureMenuContainer(),this._renderContentFeature(),t]:[this._renderContentFeature(),t,this._renderFeatureMenuContainer()];return a`<calcite-flow ${v(this._flowContainerNode)}>${n}</calcite-flow>`}_renderActionBar(){let e=this.viewModel.selectedFeatureViewModel?.isFeatureFromTable&&!this.location?this.viewModel.allActions.filter(t=>t.id!==_.id):this.viewModel.allActions;return!this._isCollapsed&&!this.hideActionBar&&e.length?a`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${v(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>`:null}_renderActions(){return this.viewModel.allActions.toArray().map(e=>{let t=this._getActionTitle(e);return a`<calcite-action .active=${e.type==="toggle"?e.value:!1} .disabled=${e.disabled} .icon=${e.icon??void 0} .loading=${e.active} scale=s .textEnabled=${!this._hideActionText} .text=${t??""} title=${t??c} .hidden=${!e.visible} @click=${()=>this._triggerAction(e)}></calcite-action>`})}_renderContent(){let{content:e,selectedFeatureViewModel:t}=this.viewModel;return t?a`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel+1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature>`:typeof e=="string"?V(e,a`<div .innerHTML=${F.sanitize(e)??""}></div>`):e??null}};B("arcgis-features",D);return D},"widgets/Features/FeaturesViewModel","intl","core/reactiveUtils","applications/Components/stringUtils","core/Collection","applications/Components/sanitizerUtils","applications/Components/featureUtils","support/actions/ActionButton",b,d,e,f,g,h,i,k)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import h from"./DJTW52JH.js";import g from"./QBFVYPSW.js";import{a as $}from"./6YQZOTCZ.js";import{a as P}from"./JD74LG7K.js";import e from"./QMPCO7DL.js";import d from"./SVRPZSVP.js";import{g as D}from"./5CHDLE4G.js";import"./QX3ZXA2B.js";import c from"./S5UKLNKF.js";import"./QUZTFUWM.js";import{b as M}from"./3CORLJ7S.js";import"./XURWCCLX.js";import{L as v,M as w,N as _,O as b,T,a as f,b as a,w as p}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:d},L,{property:l,subclass:S},,,,V,{b:m}])=>{var k=Object.defineProperty,x=Object.getOwnPropertyDescriptor,s=(e,i,n,h)=>{for(var r=h>1?void 0:h?x(i,n):i,y=e.length-1,c;y>=0;y--)(c=e[y])&&(r=(h?c(i,n,r):c(r))||r);return h&&r&&k(i,n,r),r},o={FrameCenterElevation:10025,FrameCenterLatitude:10023,FrameCenterLongitude:10024,MissionId:10003,PlatformCallSign:10059,PlatformDesignation:10010,PlatformGroundRange:10057,PlatformTailNumber:10004,PlatformTrueAirspeed:10008,PrecisionTimeStamp:10002};function g(e,i){let n={};for(let h of i){let r=e.get(h);r&&(n[r.name]=String(r.value))}return n}var t=class extends L{constructor(e){super(e),this.followingMode="follow-both",this.seekLength=10}initialize(){this.addHandles([d(()=>this.layer,(e,i)=>{i&&i.pause(),e&&e.load().then(()=>this._followTelemetry()).catch(()=>{})},{initial:!0}),d(()=>[this.followingMode],()=>this._followTelemetry(),{initial:!0})])}get buffered(){return this.layer?.buffered||0}get currentTime(){return this.layer?.currentTime||0}get duration(){return this.layer?.duration||0}get ended(){return this.layer?.ended??!0}get metadata(){let e=this.layer?.metadata;return e?{missionInfo:g(e,[o.MissionId,o.PrecisionTimeStamp]),platformInfo:g(e,[o.PlatformTailNumber,o.PlatformTrueAirspeed,o.PlatformCallSign,o.PlatformDesignation,o.PlatformGroundRange]),frameInfo:g(e,[o.FrameCenterElevation,o.FrameCenterLatitude,o.FrameCenterLongitude])}:null}get playing(){return this.layer?.playing??!1}previewsInfo(){return this.layer?.previewsInfo||null}get state(){return this.layer?.loadError?"error":this.layer?.state??"not-ready"}changeGraphicsColor(e){e&&this.layer.updateTelemetryColor(e)}changePlaybackSpeed(e){this.layer&&(this.layer.playbackRate=e)}pause(){this.layer?.pause()}play(){this.layer?.play()}seekBackward(){if(this.layer){let e=this.layer.currentTime-this.seekLength;e<=0?this.layer.reset():this.layer.setCurrentTime(e)}}seekForward(){if(this.layer){let e=this.layer.currentTime+this.seekLength;e>=this.layer.duration?this.layer.reset():this.layer.setCurrentTime(e)}}seekTo(e){this.layer?.setCurrentTime(e)}seekToBeginning(){this.layer?.setCurrentTime(0)}seekToEnding(){this.layer?.setCurrentTime(this.layer.duration)}toggleFrameCenterDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.frameCenter=!this.layer.telemetryDisplay.frameCenter)}toggleFrameDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.frame=!this.layer.telemetryDisplay.frame)}toggleFrameOutlineDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.frameOutline=!this.layer.telemetryDisplay.frameOutline)}toggleLoopPlayback(){this.layer&&(this.layer.loop=!this.layer.loop)}toggleSensorDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.sensorLocation=!this.layer.telemetryDisplay.sensorLocation)}toggleSensorPathDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.sensorPath=!this.layer.telemetryDisplay.sensorPath)}toggleSensorSightLineDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.lineOfSight=!this.layer.telemetryDisplay.lineOfSight)}toggleSensorTrailDisplay(){this.layer?.telemetryDisplay&&(this.layer.telemetryDisplay.sensorTrail=!this.layer.telemetryDisplay.sensorTrail)}_followTelemetry(){this.removeHandles("follow"),this.view&&this.layer&&this.addHandles(d(()=>this.layer?.telemetry,()=>{let e=[],i=this.followingMode==="follow-frame"||this.followingMode==="follow-both";if((this.followingMode==="follow-sensor"||this.followingMode==="follow-both")&&this.layer?.telemetry.sensorLocation&&e.push(this.layer.telemetry.sensorLocation),i&&this.layer?.telemetry.frameCenter&&e.push(this.layer.telemetry.frameCenter),!e.length){this.layer?.initialExtent&&this.followingMode!=="none"&&this.view?.goTo(this.layer.initialExtent).catch(()=>{});return}this.view?.goTo(e).catch(()=>{})},{initial:!0}),"follow")}};s([l({readOnly:!0})],t.prototype,"buffered",1);s([l({readOnly:!0})],t.prototype,"currentTime",1);s([l({readOnly:!0})],t.prototype,"duration",1);s([l({readOnly:!0})],t.prototype,"ended",1);s([l()],t.prototype,"followingMode",2);s([l()],t.prototype,"layer",2);s([l({readOnly:!0})],t.prototype,"metadata",1);s([l({readOnly:!0})],t.prototype,"playing",1);s([l({readOnly:!0})],t.prototype,"previewsInfo",1);s([l()],t.prototype,"seekLength",2);s([l({readOnly:!0})],t.prototype,"state",1);s([l()],t.prototype,"view",2);t=s([S("map-components.video-player.VideoPlayerViewModel")],t);var O=t,F=f`:host{--arcgis-internal-video-player-controls-spacing: 16px;width:531px;height:100%}:host([inline]){width:auto;height:auto}.root,.content{height:100%}.inline{display:flex;gap:var(--calcite-spacing-xs);background-color:var(--calcite-color-foreground-1);padding:var(--calcite-spacing-xxs)}.footer{flex:1}arcgis-video{display:flex;flex:1 1 auto;aspect-ratio:16 / 9;min-height:0}`,R=V(O),u=class extends _{constructor(){super(...arguments),this.messages=$({blocking:!0}),this.viewModel=R(this),this._videoViewRef=v(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this._loopPlayback=!1,this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.inline=!1,this.showFullscreenToggle=!1,this.operationalDataVisible=!1,this.hideHeader=!1,this.view=this.viewModel.view,this.arcgisPropertyChange=D()("state","layer"),this.arcgisReady=p(),this.arcgisVideoReady=p()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,_isLive:16,_loopPlayback:16,referenceElement:1,icon:1,state:32,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,inline:7,showFullscreenToggle:5,operationalDataVisible:5,hideHeader:5,view:0}}static{this.styles=F}get followingMode(){return this.viewModel.followingMode}set followingMode(i){this.viewModel.followingMode=i}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[d(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.buffered,this.viewModel.ended],()=>{let{buffered:i,currentTime:n,duration:h,ended:r}=this.viewModel,y=m(h),c=m(n),C=m(i);this._duration=y,this._currentTime=c,this._bufferedValue=C/(y||1),this._currentValue=c/(y||1),this._isBuffering=!r&&this._bufferedValue<this._currentValue}),d(()=>this.layer?.title,i=>{this._layerTitle=i??void 0},{initial:!0}),d(()=>this.layer?.isLive,i=>{this._isLive=i??void 0},{initial:!0}),d(()=>this.layer?.playbackRate,i=>{typeof i=="number"&&this.viewModel.changePlaybackSpeed(i)},{initial:!0}),d(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return a`<div class=${b(M(this.inline?"inline":"root",P.widget))}><calcite-panel .heading=${this.hideHeader||this.inline?void 0:this._layerTitle??this.messages.videoPlayer}>${this.inline||this.hideHeader||!this.showFullscreenToggle?null:a`<calcite-action slot=header-actions-end icon=full-screen-exit text=minimize @click=${()=>this.inline=!this.inline}></calcite-action>`}${this.inline?a`<div class="inline">${this._renderActionBar()}${this._renderSlider()}${this.showFullscreenToggle?a`<calcite-action icon=full-screen text=maximize @click=${()=>this.inline=!this.inline}></calcite-action>`:null}</div>`:a`<div class="content">${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}</div>`}${this.inline?null:a`<div slot=footer class="footer">${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</div>`}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:a`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?a`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return a`<arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} .operationalDataVisible=${this.operationalDataVisible} @arcgisViewReadyChange=${()=>{this._videoViewReady=!0,this.arcgisVideoReady.emit()}} ${w(this._videoViewRef)}></arcgis-video>`}_renderSlider(){return this._isLive?null:a`<arcgis-video-player-slider .buffered=${this._bufferedValue} .messages=${this.messages} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return a`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel} .inline=${this.inline}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?a`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};T("arcgis-video-player",u);return u},"core/reactiveUtils","core/Accessor","core/accessorSupport/decorators",c,d,e,g,h)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as w}from"./E3ILZB5S.js";import{a as b}from"./6YQZOTCZ.js";import c from"./SVRPZSVP.js";import{g as $}from"./5CHDLE4G.js";import"./QX3ZXA2B.js";import a from"./S5UKLNKF.js";import"./QUZTFUWM.js";import"./3CORLJ7S.js";import"./XURWCCLX.js";import{L as _,M,N as v,P as u,Q as g,T as f,U as y,a as p,b as r,w as S}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:T},R,,{a:L}])=>{var m=new Set(["ar-iq","ar-kw","bg-bg","cs-cz","da-dk","da-gl","de-at","de-ch","de-de","de-li","el-gr","en-ae","en-au","en-ca","en-eg","en-gb","en-hk","en-id","en-ie","en-il","en-in","en-iq","en-ke","en-lu","en-mo","en-my","en-nz","en-rw","en-sg","en-us","en-vi","en-wo","en-za","es-ar","es-bo","es-cl","es-co","es-cr","es-es","es-gt","es-mx","es-ni","es-pe","es-pr","es-sv","es-ve","et-ee","fi-fi","fr-ci","fr-fr","fr-ma","fr-mg","fr-ml","fr-tn","is-is","it-it","ja-jp","ko-kr","lt-lt","lv-lv","nl-be","nl-nl","nl-sr","nn-no","pl-pl","pt-br","pt-pt","ro-ro","ru-ru","sk-sk","sv-se","th-th","zh-cn","zh-tw"]),P={ar:"iq",bg:"bg",cs:"cz",da:"dk",de:"de",el:"gr",en:"us",es:"es",et:"ee",fi:"fi",fr:"fr",is:"is",it:"it",ja:"jp",ko:"kr",lt:"lt",lv:"lv",nl:"nl",nn:"no",pl:"pl",pt:"br",ro:"ro",ru:"ru",sk:"sk",sv:"se",th:"th",zh:"cn"},k=p`:host{display:block;width:310px;max-width:100%}.slider{height:50px}.scale-indicator-container{position:relative;width:100%;margin-top:2px}.scale-indicator-icon{transform:scale(.8,1.7);margin-left:-6px;width:1px;--calcite-icon-color: var(--calcite-color-text-3)}.scale-menu-list{max-height:220px;overflow-y:auto}.scale-menu-input{max-width:120px}.scale-menu-button-container{display:flex;direction:ltr;justify-content:space-between}.scale-menu-button{min-width:0}:dir(rtl) .scale-menu-button-container>*{direction:rtl}.preview-container{padding:6px;background-color:var(--calcite-color-foreground-1);box-shadow:0 1px 2px #0000004d}`,l=[{id:"world",scale:147914382,minScale:147914382,maxScale:1e8},{id:"continent",scale:5e7,minScale:99999999,maxScale:35e6},{id:"countriesBig",scale:25e6,minScale:34999999,maxScale:15e6},{id:"countriesSmall",scale:12e6,minScale:14999999,maxScale:7e6},{id:"statesProvinces",scale:6e6,minScale:6999999,maxScale:4e6},{id:"stateProvince",scale:3e6,minScale:3999999,maxScale:2e6},{id:"counties",scale:15e5,minScale:1999999,maxScale:1e6},{id:"county",scale:75e4,minScale:999999,maxScale:5e5},{id:"metropolitanArea",scale:32e4,minScale:499999,maxScale:25e4},{id:"cities",scale:16e4,minScale:249999,maxScale:12e4},{id:"city",scale:8e4,minScale:119999,maxScale:6e4},{id:"town",scale:4e4,minScale:59999,maxScale:3e4},{id:"neighborhood",scale:2e4,minScale:29999,maxScale:15e3},{id:"streets",scale:1e4,minScale:14999,maxScale:7500},{id:"street",scale:5e3,minScale:7499,maxScale:4e3},{id:"buildings",scale:2500,minScale:3999,maxScale:2e3},{id:"building",scale:1250,minScale:1999,maxScale:801},{id:"smallBuilding",scale:800,minScale:800,maxScale:401},{id:"rooms",scale:400,minScale:400,maxScale:101},{id:"room",scale:100,minScale:100,maxScale:0}],x=class extends v{constructor(){super(...arguments),this.messages=b(),this._sliderRef=_(),this._activeMenu=null,this._customScaleSelected=null,this._portalRegion=null,this._layerMaxScaleLimit=l[l.length-1].maxScale,this._layerMinScaleLimit=l[0].minScale,this.autoDestroyDisabled=!1,this.disabled=!1,this.hidePreview=!1,this.hideMaxScaleMenu=!1,this.hideMinScaleMenu=!1,this.icon="actual-size",this.maxScale=0,this.maxScaleLimit=l[l.length-1].maxScale,this.minScale=0,this.minScaleLimit=l[0].minScale,this.mode="range",this.showWorldValue=!1,this.view=L(this),this.arcgisChange=S(),this.arcgisInput=S(),this.arcgisPropertyChange=$()("state","minScale","maxScale"),this.arcgisReady=S()}static{this.properties={_activeMenu:16,_customScaleSelected:16,_portalRegion:16,_layerMaxScaleLimit:16,_layerMinScaleLimit:16,autoDestroyDisabled:5,disabled:7,hidePreview:5,hideMaxScaleMenu:5,hideMinScaleMenu:5,icon:1,label:1,layer:0,maxScale:9,maxScaleLimit:9,minScale:9,minScaleLimit:9,mode:1,referenceElement:1,region:1,showWorldValue:5,state:32,view:0}}static{this.styles=k}get state(){let{view:e,layer:a}=this;return!e&&!a||!e&&a?.loadStatus==="loaded"||!a&&e?.ready||e?.ready&&a?.loadStatus==="loaded"?"ready":"disabled"}async destroy(){await this.manager.destroy()}willUpdate(e){if((e.has("maxScaleLimit")||e.has("minScaleLimit"))&&(this.minScaleLimit===0&&(this.minScaleLimit=l[0].minScale),this.maxScaleLimit===0&&(this.maxScaleLimit=l[l.length-1].maxScale),this.minScaleLimit=Math.min(this.minScaleLimit,l[0].minScale),this.maxScaleLimit=Math.max(this.maxScaleLimit,l[l.length-1].maxScale),this.minScale!==0&&(this.minScale=Math.min(this.minScale,this._interactiveMinScale)),this.maxScale!==0&&(this.maxScale=Math.max(this.maxScale,this._interactiveMaxScale)),this.hasUpdated&&this._syncLayerScale()),e.has("maxScale")||e.has("minScale")){if(this.minScale!==0){let a=this._clampScale("min",this.minScale);this.minScale=a===this.minScaleLimit?0:a}if(this.maxScale!==0){let a=this._clampScale("max",this.maxScale);this.maxScale=a===this.maxScaleLimit?0:a}}e.has("layer")&&(this.layer?this.layer.load().catch(()=>{}):(this._layerMinScaleLimit=l[0].minScale,this._layerMaxScaleLimit=l[l.length-1].maxScale)),e.has("mode")&&(this.mode==="max-scale-only"?this.minScale=0:this.mode==="min-scale-only"&&(this.maxScale=0),e.get("mode")!==void 0&&this._syncLayerScale())}loaded(){R.getDefault().load().then(e=>{let a=e.user?.culture??e.culture;a&&(this._portalRegion=a.split("-")[1]?.toLowerCase()??null)}).catch(()=>{}),this.manager.onLifecycle(()=>[T(()=>this.view?.scale,()=>this.requestUpdate(),{initial:!0}),T(()=>({loaded:this.layer?.loadStatus==="loaded",ready:this.view?.ready}),({loaded:e,ready:a})=>{if(!e||!a||!this.layer)return;this._layerMinScaleLimit=l[0].minScale,this._layerMaxScaleLimit=l[l.length-1].maxScale;let t=this.layer.type==="wcs"||this.layer.type==="imagery-tile"&&this.layer.raster?.tileType==="Raster"?null:"tileInfo"in this.layer?this.layer.tileInfo?.lods:null;if(t)!("resampling"in this.layer)||this.layer.resampling||(this._layerMinScaleLimit=t[0].scale===0?l[0].minScale:Math.min(l[0].minScale,t[0].scale),this._layerMaxScaleLimit=t[t.length-1].scale);else{let s=this.layer&&"maxScaleRange"in this.layer?this.layer.maxScaleRange:null,c=0,n=0;s&&(c=s.minScale,n=s.maxScale),n!==0&&(this._layerMaxScaleLimit=n),c!==0&&(this._layerMinScaleLimit=c)}let i=this.layer;i&&"minScale"in i&&"maxScale"in i&&(i.minScale!==0&&this.minScale===0&&(this.minScale=Math.min(i.minScale,this._interactiveMinScale)),i.maxScale!==0&&this.maxScale===0&&(this.maxScale=Math.max(i.maxScale,this._interactiveMaxScale)))},{initial:!0})])}get _interactiveMinScale(){return Math.min(this.minScaleLimit,this._layerMinScaleLimit)}get _interactiveMaxScale(){return Math.max(this.maxScaleLimit,this._layerMaxScaleLimit)}get _effectiveMinScale(){return this.minScale===0?this._interactiveMinScale:this.minScale}get _effectiveMaxScale(){return this.maxScale===0?this._interactiveMaxScale:this.maxScale}get _sliderFullRangeMin(){return this._mapScaleToSlider(this.minScaleLimit)}get _sliderFullRangeMax(){return this._mapScaleToSlider(this.maxScaleLimit)}_clampScale(e,a){return e==="min"?Math.min(Math.max(a,this._effectiveMaxScale+1),this._interactiveMinScale):Math.max(Math.min(a,this._effectiveMinScale-1),this._interactiveMaxScale)}_getDropdownLabel(e){let a=e==="min"?this._effectiveMinScale:this._effectiveMaxScale,t=Math.floor(this._mapScaleToSlider(a)),i=this.messages.scaleRangeLabels;return i?i[l[t].id]:""}_getSpriteSheetFile(){if(this.region){let t=this.region.toLowerCase(),i=`${this.messages._t9nLocale}-${t}`;if(m.has(i))return i;for(let s of m)if(s.endsWith(`-${t}`))return s}let e=this.messages._lang.toLowerCase();if(m.has(e))return e;if(this._portalRegion){let t=`${this.messages._t9nLocale}-${this._portalRegion}`;if(m.has(t))return t}let a=P[this.messages._t9nLocale];if(a){let t=`${this.messages._t9nLocale}-${a}`;if(m.has(t))return t}for(let t of m)if(t.startsWith(`${this.messages._t9nLocale}-`))return t;return"en-wo"}_handleCustomScaleInput(e,a){let t=Number.parseFloat(a);this._setScale(e,t)}_handleSliderThumbDrag(){let e=this._sliderRef.value;if(e){if(this.mode==="max-scale-only"){let a=Math.max(this._mapSliderToScale(e.values[0]),this._interactiveMaxScale);this.maxScale=a===this._interactiveMaxScale?0:a}else if(this.mode==="min-scale-only"){let a=Math.min(this._mapSliderToScale(e.values[0]),this._interactiveMinScale);this.minScale=a===this._interactiveMinScale?0:a}else{let a=Math.min(this._mapSliderToScale(e.values[0]),this._interactiveMinScale),t=Math.max(this._mapSliderToScale(e.values[1]),this._interactiveMaxScale);this.minScale=a===this._interactiveMinScale?0:a,this.maxScale=t===this._interactiveMaxScale?0:t}this._syncLayerScale()}}_mapScaleToSlider(e){let a=Math.min(l[0].minScale,Math.max(l[l.length-1].maxScale,e)),t=l.findIndex(n=>a>=n.maxScale&&a<=n.minScale),i=l[t],s=t,c=t+.9999;return i?s+(a-i.minScale)*(c-s)/(i.maxScale-i.minScale):0}_mapSliderToScale(e){let a=Math.min(l.length-1,Math.max(0,Math.floor(e))),{maxScale:t,minScale:i}=l[a],s=a,c=s+.9999;return i+(e-s)*(t-i)/(c-s)}_setScale(e,a){e==="min"?this.minScale=a===0?0:this._clampScale("min",a):this.maxScale=a===0?0:this._clampScale("max",a),this._syncLayerScale(),this._activeMenu=null}_syncLayerScale(){this.layer&&"minScale"in this.layer&&"maxScale"in this.layer&&(this.layer.minScale=this.mode==="max-scale-only"?0:this._effectiveMinScale,this.layer.maxScale=this.mode==="min-scale-only"?0:this._effectiveMaxScale)}_renderScalePreviewPopover(){let e=this._renderScalePreview();return this.hidePreview||!e?null:r`<div slot=popover>${e}</div>`}render(){let e=this._mapScaleToSlider(this._interactiveMinScale),a=this._mapScaleToSlider(this._interactiveMaxScale),t=this._sliderFullRangeMin,i=this._sliderFullRangeMax;return r`<div><arcgis-slider class="slider" .disabled=${this.disabled} layout=horizontal .fillPlacement=${this.mode==="max-scale-only"?"start":this.mode==="min-scale-only"?"end":void 0} .fullRangeMin=${t<e?t:void 0} .fullRangeMax=${i>a?i:void 0} .max=${a} .min=${e} .labelFormatter=${(s,c,n)=>n(Math.round(this._mapSliderToScale(s)))} .values=${this.mode==="max-scale-only"?[this._mapScaleToSlider(this._effectiveMaxScale)]:this.mode==="min-scale-only"?[this._mapScaleToSlider(this._effectiveMinScale)]:[this._mapScaleToSlider(this._effectiveMinScale),this._mapScaleToSlider(this._effectiveMaxScale)]} @arcgisInput=${this._handleSliderThumbDrag} ${M(this._sliderRef)}>${this._renderScalePreviewPopover()}${this.view?.scale!=null&&this._renderCurrentScaleIndicator(this.view.scale)||""}</arcgis-slider><div class="scale-menu-button-container" slot=content-end>${this.mode!=="max-scale-only"&&!this.hideMinScaleMenu?[this._renderScaleMenuButtons("min"),this._renderScaleMenuPopover("min")]:r`<div></div>`}${this.mode!=="min-scale-only"&&!this.hideMaxScaleMenu&&[this._renderScaleMenuButtons("max"),this._renderScaleMenuPopover("max")]||""}</div></div>`}_renderCurrentScaleIndicator(e){let a=this._sliderFullRangeMin,t=this._sliderFullRangeMax-a,i=Math.min(100,Math.max(0,(this._mapScaleToSlider(e)-a)/t*100));return w("scale-indicator",r`<div class="scale-indicator-container" slot=content-end><div class="scale-indicator-icon" style=${u({position:"absolute",left:`${i}%`})} .title=${`${this.messages.currentScale} 1:${Math.round(e).toLocaleString(this.messages._t9nLocale)}`}><calcite-icon icon=caret-up scale=s></calcite-icon></div></div>`)}_renderCustomScaleValue(e,a){let t=Math.round(a).toString();return r`<calcite-list-item .label=${this.messages?.featuredScaleLabels?.custom} .selected=${this._customScaleSelected===e} @calciteListItemSelect=${i=>{let s=i.target.querySelector("calcite-input-number");this._handleCustomScaleInput(e,s?.value??""),this._customScaleSelected=e}}><calcite-input-number dir=ltr class="scale-menu-input" slot=content-end group-separator inputmode=numeric .max=${l[0].minScale} .min=${l[l.length-1].maxScale} number-button-type=none .placeholder=${this.messages?.customScaleInputTooltip} prefix-text=1: scale=s step=1 .value=${t} @click=${i=>i.stopPropagation()} @keydown=${i=>{i.key==="Enter"&&(this._handleCustomScaleInput(e,i.target.value),this._customScaleSelected=e,i.stopPropagation())}}></calcite-input-number></calcite-list-item>`}_renderScaleMenuButtons(e){return r`<calcite-button .disabled=${this.disabled} class="scale-menu-button" .id=${`scale-menu-button-${e}`} icon-end=chevron-down scale=s .appearance=${this._activeMenu===e?"outline":"transparent"}>${this._getDropdownLabel(e)}</calcite-button>`}_renderScaleMenuPopover(e){return r`<calcite-popover auto-close .label=${`${e==="min"?"Min":"Max"} scale menu`} .referenceElement=${`scale-menu-button-${e}`} .placement=${e==="max"?"bottom-end":"bottom-start"} .open=${this._activeMenu===e} scale=s @calcitePopoverOpen=${()=>this._activeMenu=e} @calcitePopoverClose=${()=>{this._activeMenu===e&&(this._activeMenu=null)}}>${this._renderScaleMenu(e)}</calcite-popover>`}_renderScaleMenu(e){let a=Math.floor(this._mapScaleToSlider(this._effectiveMaxScale)),t=Math.floor(this._mapScaleToSlider(this._effectiveMinScale)),i=e==="min"?this._effectiveMinScale:this._effectiveMaxScale,s=this.messages.featuredScaleLabels;if(!s)return;let c=Math.floor(this._mapScaleToSlider(this._interactiveMaxScale)),n=Math.floor(this._mapScaleToSlider(this._interactiveMinScale)),d=l.filter((o,h)=>e==="min"?h<a&&h>=n:h>t&&h<=c).map(o=>this._renderScaleMenuItem({scaleLabel:s[o.id],scaleValue:o.scale,isSelected:i===o.scale,valueVisible:o.id!=="world"||this.showWorldValue,type:e}));return r`<calcite-list label="Scale Menu List" scale=s class="scale-menu-list" selection-appearance=icon selection-mode=single-persist>${this.view?.scale!=null&&this._renderCustomScaleValue(e,i)||""}${this.view?.scale!=null?this._renderScaleMenuItem({scaleValue:this.view.scale,scaleLabel:s.current,isSelected:i===this.view.scale,valueVisible:!0,type:e}):null}${d}</calcite-list>`}_renderScaleMenuItem(e){let{scaleValue:a,scaleLabel:t,isSelected:i,valueVisible:s}=e,c=a===l[0].scale?` ${this.messages.aboveSuffix}`:a===l[l.length-1].scale?` ${this.messages.belowSuffix}`:"";return r`<calcite-list-item .label=${t} .selected=${i&&this._customScaleSelected!==e.type} .description=${s?`1:${Math.round(a).toLocaleString(this.messages._t9nLocale)}${c}`:void 0} @calciteListItemSelect=${()=>{this._setScale(e.type,a),this._customScaleSelected=null}}></calcite-list-item>`}_renderScalePreview(){let e=this._sliderRef.value?.activeValue;if(typeof e!="number")return null;let a=Math.min(l.length-1,Math.max(0,Math.floor(e))),t=5,i=128,s=i*(a%t),c=i*Math.floor(a/t),n=`-${s}px -${c}px`,d=this._getSpriteSheetFile();return r`<div class="preview-container"><img src=${y(`./assets/slider-scale-range/images/${d}.avif`)??g} style=${u({display:"block",height:`${i}px`,width:`${i}px`,objectPosition:n,objectFit:"none"})}></div>`}};f("arcgis-slider-scale-range",x);return x},"core/reactiveUtils","portal/Portal",a,c)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import a from"./NPIJLONQ.js";import"./E3ILZB5S.js";import"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([a])=>{return a},a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{b as w,c as g}from"./2Q3TMV7S.js";import{b,c as a,e as f}from"./5CHDLE4G.js";import{c as d,e as E}from"./3CORLJ7S.js";import{c}from"./XURWCCLX.js";import{L as m,b as l,w as r,y as h}from"./RM4OPQBM.js";export default $arcgis.t(([{when:v,watch:y}])=>{function _(i){return{defaultPopupTemplateEnabled:i.defaultPopupTemplateEnabled}}var P=class extends h{constructor(e){super(e),this.direction=f(),this.popupRef=m(),this.slotGroupRefs=w(),this.attributionHeight=0,this._uiContainer=null,this.component.listenOn(globalThis,"unhandledrejection",o=>{let t=o.reason;if(t?.name==="webgl:required"){let{name:p}=t;this.webGLError={name:p}}})}hostLifecycle(){return[v(()=>this.component.view.ready,()=>{this._assignDefaultPopup()}),v(()=>this.component.view.popup?.visible,()=>{this.popupElement?.open&&(this.popupElement.open=!1)}),this.component.view.on("click",[],e=>{let o=e.native;e.button!==0||o?.ctrlKey||o?.metaKey||this._handleOpenPopup(e)},-2)]}async openPopup(e){if(this._assignDefaultPopup(),this.closePopup(),this.popupElement){await this.popupElement.componentOnReady(),this.popupElement.open=!0;let{fetchFeatures:o,shouldFocus:t,title:p,featureStream:n,promises:s,...u}=e;delete e.fetchFeatures,s&&s.length>0&&Object.assign(u,{promises:s}),Object.assign(this.popupElement,u),n&&(this.popupElement.featureStream=n),p!==void 0&&(this.popupElement.heading=p),t&&await this.popupElement.setFocus(),o&&!n&&await this.popupElement.fetchFeatures()}else await this.component.view.openPopup(e)}closePopup(){this.popupElement&&(this.popupElement.open=!1),this.component.view.closePopup()}_assignDefaultPopup(){this.popupRef.value&&!this.popupElement&&(this.popupElement=this.popupRef.value,this.popupElement.referenceElement=this.component.el,this.popupElement.view=this.component.view)}handleAttributionHeightChange(e){if(!(this.attributionHeight===e||!this.component.el.shadowRoot)){if(this.attributionHeight=e,!this._uiContainer){let o=this.component.el.shadowRoot.querySelector(".arcgis-map-container-ui");this._uiContainer=o}this._uiContainer?.style.setProperty("--arcgis-internal-attribution-space-top",`${this.attributionHeight}px`)}}_maybeDisableViewPopup(){this.component.view&&(this.component.popupComponentEnabled||this.popupElement)&&(this.previousViewPopupEnabled=this.component.view.popupEnabled,this.component.view.popupEnabled=!1)}_maybeResetViewPopup(){this.component.view&&this.previousViewPopupEnabled!==void 0&&(this.component.view.popupEnabled=this.previousViewPopupEnabled,this.previousViewPopupEnabled=void 0)}async _handleOpenPopup(e){if(this._assignDefaultPopup(),!this.component.popupDisabled){this._maybeDisableViewPopup();try{if(this.popupElement){let o=this.component.view.fetchPopupFeatures({x:e.x,y:e.y},_(this.popupElement));o?await this.openPopup({location:e.mapPoint??void 0,featureStream:o}):this.popupElement.open&&this.closePopup()}}finally{this._maybeResetViewPopup()}}}_handlePopupSlotChange(e){let o=c(e.target,"arcgis-popup");!this.popupElement&&o.length?this.popupElement=o[0]:o.length||(this.popupElement=void 0)}_webGLErrorAlert(){return this.webGLError?l`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>`:null}render(){return g({direction:this.direction,popupComponentEnabled:this.component.popupComponentEnabled,slotGroupRefs:this.slotGroupRefs,handlePopupSlotChange:e=>this._handlePopupSlotChange(e),webGLErrorElement:this._webGLErrorAlert(),popupElement:this.popupRef})}};function M(i){b((e,o)=>{let t=()=>{if(i.attributionMode!=="auto")return;let p=E(i.el);i.view.attributionMode!==p&&(i.view.attributionMode=p)};o.onLifecycle(()=>(t(),d(i.el,["class"],t))),o.onUpdate(p=>{p.has("attributionMode")&&i.attributionMode==="auto"&&t()})})}var O=a((i,e)=>{let o=r();return e.onLifecycle(()=>y(()=>{let{map:t}=i;if(!t||t.destroyed)return[];let p=[];return t.loadError&&p.push(t),t.basemap?.loadError&&p.push(t.basemap),t.ground.loadError&&p.push(t.ground),[...t.allLayers,...t.allTables].forEach(n=>{n.loadError&&p.push(n)}),p},t=>{t.length&&(i.loadErrorSources=t,o.emit())})),o}),x=a((i,e)=>{let o=r();return e.onLifecycle(()=>y(()=>i.view?.readyState,t=>{(t==="map-content-error"||t==="rendering-error")&&o.emit()})),o});return{a:P,b:M,c:O,d:x}},"core/reactiveUtils")
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import a from"./GQRPWE6F.js";import{l as m}from"./FCNNRX3Q.js";import{g}from"./5CHDLE4G.js";import{N as c,R as d,T as p,a as s,b as l}from"./RM4OPQBM.js";export default $arcgis.t(([{d:f,h:r}])=>{var h=s`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{width:100%;div{width:100%}}arcgis-legend{--calcite-color-foreground-1: var(--calcite-color-transparent);--calcite-color-text-2: var(--arcgis-internal-layer-list-legend-color-text);width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden;overflow-y:auto}`,o=class extends c{constructor(){super(...arguments),this._disabled=null,this.content=this.item?.panel.content,this.listItem=this.item?.panel.listItem??this.item,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=g()("listItem")}static{this.properties={_canCreateLegend:16,_legendLayerInfo:16,content:1,item:0,disabled:5,listItem:0,view:0,autoDestroyDisabled:5}}static{this.styles=h}get _canCreateLegend(){let{content:e,listItem:t}=this.item?.panel??{};if(!t||r(t))return!1;let i="legend";return e===i?!0:e!=null&&(Array.isArray(e)?e.includes(i):!1)}get _legendLayerInfo(){let e=this.item?.panel?.listItem?.layer;if(!e||e.type==="subtype-sublayer")return null;let t=m(e)?e:null,i=t?.source?.type==="map-layer"?t.source:null,a="layer"in e&&e.layer,n="";return i&&a?{layer:a,title:n,sublayerIds:[i.mapLayerId]}:{layer:e,title:n}}get disabled(){let{_legendElement:e}=this,{content:t,listItem:i}=this.item?.panel??{};return this._disabled!=null?this._disabled:i?Array.isArray(t)&&t.length>1?!1:e?!e.activeLayerInfos?.length||!i.visibleAtCurrentScale||!i.visible:!1:!0}set disabled(e){this._disabled=e}async destroy(){await this.manager.destroy()}updated(){this._loadLegend()}async _loadLegend(){this._canCreateLegend&&(this._legendElement||(this._legendElement=this._createLegendElement()))}_createLegendElement(){return d(l`<arcgis-legend .view=${this.view} @arcgisReady=${e=>e.stopPropagation()} .layerInfos=${this._legendLayerInfo?[this._legendLayerInfo]:[]}></arcgis-legend>`)}render(){return this._renderContents()}_renderContent(e){let{disabled:t}=this;return!e||t||!this.item?.panel?.open?null:e==="legend"?(this._legendElement||this._loadLegend(),this._legendElement):e instanceof HTMLElement||typeof e=="string"?e:null}_renderContents(){let{open:e}=this.item?.panel??{};if(!e)return null;let t=r(this.item)?f(this.item.panel.content):this.item?.panel?.content;return Array.isArray(t)?t.map(i=>this._renderContent(i)):this._renderContent(t)}};p("arcgis-layer-list-item-panel",o);return o},a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as u}from"./4MJJOPAL.js";import{a as m}from"./6YQZOTCZ.js";import{a as d}from"./JD74LG7K.js";import f from"./SVRPZSVP.js";import{g}from"./5CHDLE4G.js";import"./QX3ZXA2B.js";import b from"./S5UKLNKF.js";import"./QUZTFUWM.js";import{b as h}from"./3CORLJ7S.js";import"./XURWCCLX.js";import{N as r,O as c,Q as n,T as l,a as s,b as a,w as e}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:w},,{a:v}])=>{var f=s`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);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}`,o=class extends r{constructor(){super(...arguments),this.messages=m(),this.#i=null,this.#t=null,this.view=v(this),this.autoDestroyDisabled=!1,this.icon="home",this.visualScale="m",this.arcgisGo=e(),this.arcgisPropertyChange=g()("state","viewpoint"),this.arcgisReady=e()}static{this.properties={view:0,autoDestroyDisabled:5,goToOverride:0,icon:1,label:1,messageOverrides:0,referenceElement:1,visualScale:1,state:32,viewpoint:0}}static{this.styles=f}#i;#e;#t;get state(){return this.view?.ready?this.#t?"going-home":"ready":"disabled"}get viewpoint(){return this.#i||this.#e}set viewpoint(t){this.#i=t}async cancelGo(){this.#t?.abort(),this.#t=null}async destroy(){await this.manager.destroy()}async go(){if(!this.view?.ready)throw new Error("View is not ready. Cannot go to viewpoint.");if(!this.viewpoint)throw new Error("Cannot go to an undefined viewpoint.");this.cancelGo(),this.arcgisGo.emit();let t=new AbortController;this.#t=t;try{await this.view?.when(),await u({target:this.viewpoint,options:{signal:t.signal}},this.view,this.goToOverride)}catch{}this.#t=null}async loaded(){this.manager.onLifecycle(()=>[w(()=>this.view,t=>{t?.when().then(()=>{this.view===t&&(this.#e=t.viewpoint.clone(),this.#i||this.arcgisPropertyChange.emit({name:"viewpoint"}))})},{initial:!0,sync:!0})])}_go(){this.state==="going-home"?this.cancelGo():this.go()}render(){let{messages:t,icon:p}=this,i=this.state==="going-home";return a`<div class=${c(h("root",d.arcgisButton))}><calcite-button .disabled=${this.state==="disabled"} .iconStart=${i?void 0:p??void 0} kind=neutral .label=${t.componentLabel} @click=${this._go} .scale=${this.visualScale} .loading=${i} title=${(i?t.cancel:t.title)??n}></calcite-button></div>`}};l("arcgis-home",o);return o},"core/reactiveUtils",b,f)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import b from"./XKRMD24I.js";import a from"./A3DPBGUE.js";import"./VJVKFKSG.js";import{a as P}from"./6YQZOTCZ.js";import"./5CHDLE4G.js";import"./QX3ZXA2B.js";import"./QUZTFUWM.js";import"./3CORLJ7S.js";import"./XURWCCLX.js";import{L as R,M as E,N as x,T as V,a as f,b as g,o as w}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([{property:d,subclass:L},F,S,H,{watch:p},{rotateDimensions:I,registerPanConstraint:O},T,{b:l},b])=>{var G=f`:host{height:100%;--arcgis-view-color-focus: none}`,z={xmin:-150,ymin:1,xmax:20,ymax:80,spatialReference:{wkid:4326}},_=1e-6;function N(i,e){if(!e)return null;let t=i.width/2,a=i.height/2,r=e.xmin+t,s=e.xmax-t,o=e.ymin+a,c=e.ymax-a;return r>=s||o>=c?null:new S({xmin:r,xmax:s,ymin:o,ymax:c,spatialReference:i.spatialReference})}var $=Object.defineProperty,k=Object.getOwnPropertyDescriptor,h=(i,e,t,a)=>{for(var r=a>1?void 0:a?k(e,t):e,s=i.length-1,o;s>=0;s--)(o=i[s])&&(r=(a?o(e,t,r):o(r))||r);return a&&r&&$(e,t,r),r},n=class extends F{constructor(i){super(i),this.autoplay=!1,this.loop=!1,this.type="image",this.autoLoad=!1}static isNonPanoramicMedia(i){return!!i&&typeof i=="object"&&"declaredClass"in i&&typeof i.declaredClass=="string"&&i.declaredClass==="components.oriented-imagery-viewer.support.NonPanoramicMedia"}destroy(){this._cache?.destroy(),this._cache=void 0,this._videoElement=void 0}get layer(){return this._cache}get videoElement(){return this._videoElement}get size(){if(!this._cache||this._cache.destroyed||this._cache.loadError)return;let{type:i}=this._cache;if(i==="imagery-tile"){let{serviceRasterInfo:e}=this._cache;return e?[e.width,e.height]:void 0}if(i==="media"){let e=this._videoElement??this._getVideoElementFromLayer(this._cache);return!e||e.videoWidth<=0||e.videoHeight<=0?void 0:[e.videoWidth,e.videoHeight]}}async load(i){return this.type==="video"?await this._loadVideo(i):await this._loadImage(i)}async _loadVideo(i){if(this._cache&&!this._cache.destroyed&&this._cache.type==="media")return await this._cache.load(i),this._videoElement=this._getVideoElementFromLayer(this._cache)??this._videoElement,this._applyVideoPlaybackOptions(),{layer:this._cache,size:this.size};let{title:e,url:t}=this;if(!t)throw new Error("URL is required to load NonPanoramicMedia.");let a=(await $arcgis.t(m=>m[0],"geometry/Extent")).default,r=(await $arcgis.t(m=>m[0],"layers/support/ExtentAndRotationGeoreference")).default,s=(await $arcgis.t(m=>m[0],"layers/support/VideoElement")).default,o=(await $arcgis.t(m=>m[0],"layers/MediaLayer")).default;l(i);let c=new s({video:t,georeference:new r({extent:new a(z)})});await c.load(i),l(i),this._videoElement=c.content??void 0,this._applyVideoPlaybackOptions();let m=new o({source:c,title:e});return await m.load(i),l(i),this._cache=m,{layer:this._cache,size:this.size}}_getVideoElementFromLayer(i){let e=i.source;if(!e||!("content"in e))return;let{content:t}=e;if(t instanceof HTMLVideoElement)return t}_applyVideoPlaybackOptions(){let i=this._videoElement;i&&(i.autoplay=this.autoplay,i.loop=this.loop,this.autoplay||i.pause())}async _loadImage(i){if(this._cache&&!this._cache.destroyed&&this._cache.type==="imagery-tile")return await this._cache.load(i),this._videoElement=void 0,{layer:this._cache,size:this.size};let{url:e,customParameters:t}=this,a=this.datasetFormat;if(!e)throw new Error("URL is required to load NonPanoramicMedia.");if(!a){let o=await import("./DBA7NSTP.js").then(m=>m.default);if(l(i),a=o.guessExtensionFromURI(e),!a){try{a=await o.getDatasetFormat(e)}catch{w("warn",this,"Failed to determine dataset format from URL or response headers."),a="UNKNOWN FORMAT"}l(i)}}this.datasetFormat=a;let r=(await $arcgis.t(m=>m[0],"layers/ImageryTileLayer")).default;l(i);let s=new r({url:e,ioConfig:{skipExtensions:["aux.xml","jgw"],skipMapInfo:!0,datasetFormat:a},customParameters:t??void 0});return await s.load(i),l(i),this._videoElement=void 0,this._cache=s,{layer:this._cache,size:this.size}}};h([d()],n.prototype,"_cache",2);h([d()],n.prototype,"_videoElement",2);h([d()],n.prototype,"autoplay",2);h([d()],n.prototype,"loop",2);h([d()],n.prototype,"title",2);h([d()],n.prototype,"type",2);h([d()],n.prototype,"layer",1);h([d()],n.prototype,"videoElement",1);h([d()],n.prototype,"size",1);h([d()],n.prototype,"autoLoad",2);h([d()],n.prototype,"customParameters",2);h([d()],n.prototype,"datasetFormat",2);h([d()],n.prototype,"url",2);n=h([L("components.oriented-imagery-viewer.support.NonPanoramicMedia")],n);function W(i,e,t,a,r){let{width:s,height:o}=I(i,e,r);return Math.max(s/t,o/a)}var A=96,U=39.37,M=U*A;function C(i){let e=M*.25,t=M*i,a=[],r=t;for(;r>e;)a.push(r),r*=.5;a.push(e);let{lods:s}=T.create({scales:a});return{minScale:t,lods:s}}var y=class extends x{constructor(){super(...arguments),this._messages=P(),this.#t=new b(this),this._imageChanged=!1,this._internalMap=R(),this._loading=!1,this.hideHeader=!1,this.hideLoader=!1,this.hideZoomControls=!1,this.hideVideoControls=!1,this.rotation=0}static{this.properties={_imageChanged:16,_internalMap:16,_layer:16,_videoTargetExtent:16,_videoRef:16,_loading:16,_media:16,hideHeader:5,hideLoader:5,hideZoomControls:5,hideVideoControls:5,messageOverrides:0,media:0,rotation:9}}static{this.styles=[G]}#t;#i;#a;#e;#s;#r;get imageRenderer(){return this._internalMap?.value?.view}get map(){return this.imageRenderer?.map}get media(){return this._media}set media(e){if(!e){this.#i?.abort(),this._media=void 0,this._clearMedia();return}this._media=e instanceof n?e:new n(e)}addGraphic(e){this.#t.addGraphic(e)}addGraphics(e){this.#t.addGraphics(e)}clearGraphics(){this.#t.clearGraphics()}async mediaOnLoad(){return this.#a&&await this.#a,this._media}removeGraphic(e){this.#t.removeGraphic(e)}removeGraphics(e){this.#t.removeGraphics(e)}loaded(){this.manager.onLifecycle(()=>[this._createResizeConstraint(),this._createRotationHandler(),this._createPanConstraint(),this._createVideoInteractionWatcher(),{remove:()=>{this._removeVideoPanHandles()}},p(()=>this._media,e=>{this.#i?.abort(),e&&(this.#i=new AbortController,this.#a=this._loadMediaInternal(e,this.#i),this.#a.catch(()=>{}))},{initial:!0,sync:!0})])}_createPanConstraint(){return p(()=>({layer:this._layer,imageRenderer:this.imageRenderer}),({layer:e,imageRenderer:t})=>{this._media?.type!=="video"&&(e?.type!=="imagery-tile"||!t?.ready||O(t,e))},{sync:!0,initial:!0})}_createResizeConstraint(){return p(()=>{if(!this.imageRenderer?.ready||!this._layer)return;if(this._layer.type==="imagery-tile"){let{width:t,height:a}=this._layer.serviceRasterInfo,{width:r,height:s,rotation:o}=this.imageRenderer;return W(t,a,r,s,o)}let e=this._videoTargetExtent;if(!(!e||this.imageRenderer.width<=0||this.imageRenderer.height<=0))return Math.max(e.width/this.imageRenderer.width,e.height/this.imageRenderer.height)},e=>{if(!e||!this.imageRenderer)return;if(this._media?.type==="video"){this._updateVideoScaleForResize(e);return}let{constraints:t,scale:a}=this.imageRenderer,r=t.minScale,{lods:s,minScale:o}=C(e);t.set({minScale:o,lods:s}),this.imageRenderer.scale=this._imageChanged||Math.abs(a-r)<=1e-6?o:a,this._imageChanged=!1},{sync:!0,initial:!0})}_createVideoInteractionWatcher(){return p(()=>[this.imageRenderer?.interacting,this.imageRenderer?.navigating,this.imageRenderer?.scale],()=>{this._media?.type==="video"&&this._updateVideoInteraction()},{initial:!0})}_createRotationHandler(){return p(()=>this.rotation,e=>{this._media?.type!=="video"&&this.imageRenderer&&(this.imageRenderer.constraints.rotationEnabled=!0,this.imageRenderer.rotation=e,this.imageRenderer.constraints.rotationEnabled=!1)},{sync:!0,initial:!0})}_clearMedia(){this._removeVideoPanHandles(),this._restoreConstraints(),this.#e=void 0,this._videoTargetExtent=void 0,this._videoRef?.pause(),this._videoRef=void 0,this._layer&&this.map?.layers.includes(this._layer)&&this.map.layers.remove(this._layer),this._layer?.destroy(),this._layer=void 0}async _loadMediaInternal(e,t){if(this._loading=!0,this._clearMedia(),!e)throw new Error("No media provided");let{layer:a}=await e.load(t).finally(()=>{this._loading=!1});l(t),this._imageChanged=!0,this._layer=a,this.imageRenderer?.map?.layers.add(this._layer),e.type==="video"&&await this._loadVideoMedia(e)}async _loadVideoMedia(e){let t=this.imageRenderer,a=new S(z),r=e.videoElement;this._videoRef=r instanceof HTMLVideoElement?r:void 0,t&&(await t.when(),this._snapshotConstraints(),t.constraints.set({rotationEnabled:!1}),await t.goTo(a.clone(),{animate:!1}),this._videoTargetExtent=t.extent?.clone(),this.#e=t.extent?.clone(),this._videoTargetExtent&&t.width>0&&t.height>0&&this._updateVideoScaleForResize(Math.max(this._videoTargetExtent.width/t.width,this._videoTargetExtent.height/t.height))),this._updateVideoInteraction()}_snapshotConstraints(){let e=this.imageRenderer?.constraints;!e||this.#r||(this.#r={geometry:e.geometry?.clone()??null,lods:e.lods,maxScale:e.maxScale,minScale:e.minScale,rotationEnabled:e.rotationEnabled})}_restoreConstraints(){let e=this.imageRenderer?.constraints,t=this.#r;!e||!t||(e.set({geometry:t.geometry,lods:t.lods,maxScale:t.maxScale,minScale:t.minScale,rotationEnabled:t.rotationEnabled}),this.#r=void 0)}_disablePan(){let e=this.imageRenderer;if(this._removeVideoPanHandles(),!e)return;let t=e.on("drag",r=>r.stopPropagation()),a=e.on("key-down",r=>{r.key.startsWith("Arrow")&&r.stopPropagation()});this.#s=[t,a]}_enablePan(){this._removeVideoPanHandles()}_removeVideoPanHandles(){this.#s?.forEach(e=>e.remove()),this.#s=void 0}_updateVideoInteraction(){let e=this.imageRenderer,t=e?.extent;if(!e||!t||this._layer?.type!=="media")return;this.#e??=t.clone();let{minScale:a}=e.constraints;if(!a)return;let r=e.scale<a-_,s=N(t,this._videoTargetExtent);if(r&&s){this._enablePan(),e.constraints.geometry=s;return}if(r){this._disablePan(),e.constraints.geometry=null;return}this.#e&&!t.equals(this.#e)&&(e.extent=this.#e.clone()),this._disablePan(),e.constraints.geometry=null}_updateVideoScaleForResize(e){if(!this.imageRenderer)return;let{constraints:t,scale:a}=this.imageRenderer,r=t.minScale,s=r!=null&&Math.abs(a-r)<=_,{lods:o,minScale:c}=C(e);t.set({lods:o,minScale:c,rotationEnabled:!1}),this.imageRenderer.scale=this._imageChanged||s?c:a,this._imageChanged=!1,s&&requestAnimationFrame(()=>{let{extent:m,scale:u,constraints:v}=this.imageRenderer??{};m&&u&&v?.minScale!=null&&Math.abs(u-v.minScale)<=_&&(this.#e=m.clone())})}render(){return g`<calcite-panel .loading=${this.hideLoader?void 0:this._loading} .heading=${this.hideHeader?void 0:this._messages.title}><arcgis-map hide-attribution .spatialReference=${H.WebMercator} ${E(this._internalMap)}><arcgis-zoom .hidden=${this.hideZoomControls} .messageOverrides=${this.messageOverrides} slot=top-left></arcgis-zoom></arcgis-map>${this.hideVideoControls||this._media?.type!=="video"||!this._videoRef?void 0:g`<arcgis-oriented-imagery-viewer-video-controls .videoRef=${this._videoRef}></arcgis-oriented-imagery-viewer-video-controls>`}</calcite-panel>`}};V("arcgis-oriented-imagery-viewer-non-panoramic-viewer",y);return y},"core/accessorSupport/decorators","core/Accessor","geometry/Extent","geometry/SpatialReference","core/reactiveUtils","applications/Components/OrientedImageryViewer/ImageViewer/utils","layers/support/TileInfo",a,b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import b from"./BHRCTXAX.js";import a from"./C2HB2U6P.js";import"./6YQZOTCZ.js";import"./5CHDLE4G.js";import"./QX3ZXA2B.js";import"./QUZTFUWM.js";import"./3CORLJ7S.js";import"./XURWCCLX.js";import"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([,a])=>{return a},a,b)