@arcgis/map-components 5.1.9 → 5.1.11

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 (232) hide show
  1. package/dist/cdn/2CIQF6ZL.js +2 -0
  2. package/dist/cdn/{DECSWJZX.js → 2SMPJZGJ.js} +1 -1
  3. package/dist/cdn/{K6OCU6JA.js → 2TE4RTX6.js} +1 -1
  4. package/dist/cdn/{PNLL4LTP.js → 2WU4LTXR.js} +1 -1
  5. package/dist/cdn/{ZA4IN2BL.js → 2ZTTRRWN.js} +1 -1
  6. package/dist/cdn/{Z4GNEQFL.js → 3M4I2KRS.js} +1 -1
  7. package/dist/cdn/{YYI435FW.js → 3QPXZBZG.js} +1 -1
  8. package/dist/cdn/{U37PDLL3.js → 3RFJ3KYQ.js} +1 -1
  9. package/dist/cdn/{ZWCMY5TS.js → 453I6RY7.js} +1 -1
  10. package/dist/cdn/{ORCSSKCZ.js → 4G6GJMXL.js} +1 -1
  11. package/dist/cdn/{MF6QVIMD.js → 4LOOPSQR.js} +1 -1
  12. package/dist/cdn/{T2E7FXLC.js → 4POKVXOU.js} +1 -1
  13. package/dist/cdn/{HIWFB5JC.js → 576MDEUT.js} +1 -1
  14. package/dist/cdn/{VGYFUWJQ.js → 57JZFTUD.js} +1 -1
  15. package/dist/cdn/{AZSYPFYS.js → 5ACE3L2T.js} +1 -1
  16. package/dist/cdn/{IIUKVJM2.js → 5CLIFOIP.js} +1 -1
  17. package/dist/cdn/{ELP5RYBT.js → 5PTBMFWT.js} +1 -1
  18. package/dist/cdn/{OE676NTI.js → 5RSBJ7T2.js} +1 -1
  19. package/dist/cdn/{AJRMXI2L.js → 5SMOQCTE.js} +1 -1
  20. package/dist/cdn/{4Z24NJRB.js → 5XAL7DZC.js} +1 -1
  21. package/dist/cdn/{Z7FSJY7N.js → 5XVNEEYG.js} +1 -1
  22. package/dist/cdn/{73ULLF2S.js → 5YZWDYPR.js} +1 -1
  23. package/dist/cdn/{QCUVNMYL.js → 62PUHLNQ.js} +1 -1
  24. package/dist/cdn/{DZDQC62F.js → 63KW3JFC.js} +1 -1
  25. package/dist/cdn/{3NCBURDH.js → 646SEELI.js} +1 -1
  26. package/dist/cdn/{X5YHAO7R.js → 66EJQ7OI.js} +1 -1
  27. package/dist/cdn/{LXPCGUA5.js → 6C3DAWHV.js} +1 -1
  28. package/dist/cdn/{MY5UMHGF.js → 6DSPTIOR.js} +1 -1
  29. package/dist/cdn/{BPJGGDBG.js → 6FVKIUZ2.js} +1 -1
  30. package/dist/cdn/{YHWTLVAD.js → 6S2UFVJG.js} +1 -1
  31. package/dist/cdn/{2LMO2EHE.js → 72IRFC4Q.js} +1 -1
  32. package/dist/cdn/{Z2LXT4PI.js → 7ANOMAWJ.js} +1 -1
  33. package/dist/cdn/{BAN457GX.js → A2BCZM6K.js} +1 -1
  34. package/dist/cdn/{RDQ6FLRY.js → A2CO4T5S.js} +1 -1
  35. package/dist/cdn/{ORDMYTLP.js → A36K2LWP.js} +1 -1
  36. package/dist/cdn/{FTPMJ5T4.js → ABPQKDGF.js} +1 -1
  37. package/dist/cdn/{YI6UY5ZL.js → AC3T7QEV.js} +1 -1
  38. package/dist/cdn/{7KMJWPAJ.js → AFR5FMRC.js} +1 -1
  39. package/dist/cdn/{5FGQ4Z2U.js → AO6XZAI3.js} +1 -1
  40. package/dist/cdn/{XXOSNRDX.js → AQI5IIKA.js} +1 -1
  41. package/dist/cdn/{RZ2MT2QV.js → ASC76BYC.js} +1 -1
  42. package/dist/cdn/{JSOXQZVX.js → BEYSTA63.js} +1 -1
  43. package/dist/cdn/{U2FCKTJE.js → BJK2G57S.js} +1 -1
  44. package/dist/cdn/{ZPT5QAGG.js → BL4RWRQ7.js} +1 -1
  45. package/dist/cdn/{5BMZ4WHD.js → BSF2XFSO.js} +1 -1
  46. package/dist/cdn/{T4RFV5JB.js → BSQDMGTB.js} +1 -1
  47. package/dist/cdn/{KLQ7KU3D.js → BVLG3ZLN.js} +1 -1
  48. package/dist/cdn/{AMKODRAJ.js → BW4BZTOM.js} +1 -1
  49. package/dist/cdn/{LYNXT63M.js → CAOQAIGT.js} +1 -1
  50. package/dist/cdn/{KEFKNDDO.js → CB4CB63K.js} +1 -1
  51. package/dist/cdn/{TMCZWE46.js → CDBEXYQH.js} +1 -1
  52. package/dist/cdn/{U6LSXUFR.js → CI22MBIW.js} +1 -1
  53. package/dist/cdn/{HQYIXZAS.js → CR2RJPPY.js} +1 -1
  54. package/dist/cdn/{UEB7SNGI.js → DC33MCHP.js} +1 -1
  55. package/dist/cdn/{Y2U6DYHH.js → DEGBGXG4.js} +1 -1
  56. package/dist/cdn/{VDEB4NXG.js → DEV24UWW.js} +1 -1
  57. package/dist/cdn/{LKKGLZ2N.js → DGCJCOVK.js} +1 -1
  58. package/dist/cdn/{DUJFJC5Z.js → DL4GEVXY.js} +1 -1
  59. package/dist/cdn/{MW3XUWU2.js → DLWZBJYK.js} +1 -1
  60. package/dist/cdn/{3HQYGJNY.js → DUYKDY34.js} +1 -1
  61. package/dist/cdn/{SXBY5BLG.js → DVF32MVA.js} +1 -1
  62. package/dist/cdn/{DY4CEOZP.js → DYNRNERG.js} +1 -1
  63. package/dist/cdn/{FYSIO2QO.js → DZ54HGD6.js} +1 -1
  64. package/dist/cdn/{ZEQH2KGD.js → EAFE772A.js} +1 -1
  65. package/dist/cdn/{DFOICOFP.js → EGANH53D.js} +1 -1
  66. package/dist/cdn/{MOHZPJGK.js → EHTK6ROC.js} +1 -1
  67. package/dist/cdn/{Y53RLRLQ.js → EJ4CLTDB.js} +1 -1
  68. package/dist/cdn/{JSKZNHWO.js → EOQGYUUG.js} +1 -1
  69. package/dist/cdn/{PD53QP3Q.js → EU6KUREF.js} +1 -1
  70. package/dist/cdn/{LZMBMJ2N.js → EXNJASAV.js} +1 -1
  71. package/dist/cdn/{MESZRQ5G.js → F4KNJ33H.js} +1 -1
  72. package/dist/cdn/{P4PJLKHN.js → F4WT5QXQ.js} +1 -1
  73. package/dist/cdn/{XEEYZWUG.js → F6ZXBLRZ.js} +1 -1
  74. package/dist/cdn/{VW3CAROI.js → FEEF7SV4.js} +1 -1
  75. package/dist/cdn/{WOKSINSM.js → FWDMZX7J.js} +1 -1
  76. package/dist/cdn/{ZAAYFWGP.js → FXCUOMMJ.js} +1 -1
  77. package/dist/cdn/{MOKTHRF3.js → G2V6OFQZ.js} +1 -1
  78. package/dist/cdn/{S6W5XEMB.js → GLIRFHKX.js} +1 -1
  79. package/dist/cdn/{2MF7WVYT.js → GLTJHKIH.js} +1 -1
  80. package/dist/cdn/{SPJEDP76.js → GPKQGMF4.js} +1 -1
  81. package/dist/cdn/{JY3XJ5B7.js → GSIO2WHF.js} +1 -1
  82. package/dist/cdn/{DIDIT3QH.js → GURPST7A.js} +1 -1
  83. package/dist/cdn/{LVBS36SN.js → GVPUYZ7X.js} +1 -1
  84. package/dist/cdn/{SEWCJMDT.js → HDMRUMXO.js} +1 -1
  85. package/dist/cdn/{PNYRQ3TV.js → HLS7N74O.js} +1 -1
  86. package/dist/cdn/{RZKETFIJ.js → HUTHFGAA.js} +1 -1
  87. package/dist/cdn/{W6AL2YMV.js → I476PKLS.js} +1 -1
  88. package/dist/cdn/{NEAQUIWJ.js → I4FRHFTU.js} +1 -1
  89. package/dist/cdn/{H6OKXB3E.js → I62HXW27.js} +1 -1
  90. package/dist/cdn/{QTGTOBUF.js → IE7VSZJL.js} +1 -1
  91. package/dist/cdn/{IYBOC7TP.js → IEXRS7YH.js} +1 -1
  92. package/dist/cdn/{W7BTJT3U.js → IPAPDPZF.js} +1 -1
  93. package/dist/cdn/{HRXMW42X.js → IPP7H5ZC.js} +1 -1
  94. package/dist/cdn/{U5CRA2RI.js → IPV3AXXI.js} +1 -1
  95. package/dist/cdn/{Y42OS5QD.js → IUQT23SL.js} +1 -1
  96. package/dist/cdn/{RK6TY6PP.js → IVGSFGJG.js} +1 -1
  97. package/dist/cdn/{EBGHAVRA.js → IWEKBJR3.js} +1 -1
  98. package/dist/cdn/{XSIZXNEJ.js → IXHYEXIR.js} +1 -1
  99. package/dist/cdn/{PJPX723Z.js → IYLFOOUL.js} +1 -1
  100. package/dist/cdn/{LQCRK2GS.js → J2N6BN3H.js} +1 -1
  101. package/dist/cdn/{AGOCGCC7.js → J3NKXBLO.js} +1 -1
  102. package/dist/cdn/{7H7Q3PVT.js → J7UC74BD.js} +1 -1
  103. package/dist/cdn/{RRSNQ2QN.js → JCUOVZNC.js} +1 -1
  104. package/dist/cdn/{YJ44W5MN.js → JCXPEGMV.js} +1 -1
  105. package/dist/cdn/{H2GRIJNB.js → JMD7MOQL.js} +1 -1
  106. package/dist/cdn/{DOMD4DE5.js → JOQZTTDO.js} +1 -1
  107. package/dist/cdn/{2P3ZEVJF.js → JQXRIF3Q.js} +1 -1
  108. package/dist/cdn/{RPX332SE.js → JRFQOXM5.js} +1 -1
  109. package/dist/cdn/{G4T44NLK.js → JUVDH7LU.js} +1 -1
  110. package/dist/cdn/{OBXAHAPY.js → JYFEGU5Y.js} +1 -1
  111. package/dist/cdn/{ZMMQK3IQ.js → K3T47L2Z.js} +1 -1
  112. package/dist/cdn/{P4RXOSHT.js → K3YJSFUI.js} +1 -1
  113. package/dist/cdn/{IJODW2GS.js → K6HYFTVC.js} +1 -1
  114. package/dist/cdn/{RUF24VPL.js → K7GHTGAC.js} +1 -1
  115. package/dist/cdn/{NNV4525Q.js → KCOC2PYS.js} +1 -1
  116. package/dist/cdn/{FCTVXDDH.js → KKU3EICW.js} +1 -1
  117. package/dist/cdn/{HBG57D7N.js → KMQ2Y7ZA.js} +1 -1
  118. package/dist/cdn/{V6HU76QD.js → KOH4Z3U5.js} +1 -1
  119. package/dist/cdn/{VXWIP4I7.js → KQEIJXY4.js} +1 -1
  120. package/dist/cdn/{K66RQOEH.js → KQJOWHML.js} +1 -1
  121. package/dist/cdn/{TLARYRDY.js → KRUWD3H5.js} +1 -1
  122. package/dist/cdn/{SMEJFRLV.js → KWJHWXWF.js} +1 -1
  123. package/dist/cdn/{42NL2JOK.js → LF5T77BU.js} +1 -1
  124. package/dist/cdn/{JFFMHRIC.js → LI6UKELZ.js} +1 -1
  125. package/dist/cdn/{2MNEA5J7.js → LLBIETLH.js} +1 -1
  126. package/dist/cdn/{GT5J2NLP.js → LN5W3JNI.js} +1 -1
  127. package/dist/cdn/LZEVAIJJ.js +2 -0
  128. package/dist/cdn/{77B7BUKJ.js → M4NW75RI.js} +1 -1
  129. package/dist/cdn/{P73WTI3W.js → M5O2DHQX.js} +1 -1
  130. package/dist/cdn/{WABO7TZB.js → M5V4DC2B.js} +1 -1
  131. package/dist/cdn/{5I7UJPHQ.js → M6QXM5DC.js} +1 -1
  132. package/dist/cdn/{QUSJYO2Y.js → MDDNJFYY.js} +1 -1
  133. package/dist/cdn/{QME24PMX.js → MJD2BUVB.js} +1 -1
  134. package/dist/cdn/{WMGPOEED.js → MRIBUXMV.js} +1 -1
  135. package/dist/cdn/{M5WENV6H.js → N27INFFY.js} +1 -1
  136. package/dist/cdn/{KOOJB32V.js → N2ZGPIRN.js} +1 -1
  137. package/dist/cdn/{DW7LRJL4.js → NDHD6UZV.js} +1 -1
  138. package/dist/cdn/{2CI4FFWJ.js → NFGCDE3B.js} +1 -1
  139. package/dist/cdn/{F53HGO3N.js → NJKB5LWE.js} +1 -1
  140. package/dist/cdn/{FACS3B7S.js → NMGHOMXO.js} +1 -1
  141. package/dist/cdn/{26VSOF3U.js → NP7OFQEH.js} +1 -1
  142. package/dist/cdn/{SK64DRZG.js → NPKIWXH7.js} +1 -1
  143. package/dist/cdn/{GOMFY7HF.js → NS5G7I5M.js} +1 -1
  144. package/dist/cdn/{W4CQ644F.js → NZ3EMU4G.js} +1 -1
  145. package/dist/cdn/{24IAZ4Q6.js → O5SRIAV2.js} +1 -1
  146. package/dist/cdn/ODQ5GBI7.js +2 -0
  147. package/dist/cdn/{XKAW2XBY.js → OFT26UI7.js} +1 -1
  148. package/dist/cdn/{UKA2U4DK.js → OJEKXQJ5.js} +1 -1
  149. package/dist/cdn/{IZ4LQURH.js → OJOABZD5.js} +1 -1
  150. package/dist/cdn/{UPCAI7LB.js → OM3SGIJF.js} +1 -1
  151. package/dist/cdn/OR5A4BBX.js +2 -0
  152. package/dist/cdn/{GHGGSA4P.js → P3KFQG7W.js} +1 -1
  153. package/dist/cdn/{CD4DKR7I.js → P7QPWPRQ.js} +1 -1
  154. package/dist/cdn/{IC3AXG5J.js → PBLGU4EZ.js} +1 -1
  155. package/dist/cdn/{OMEBSI6T.js → PIZJADPB.js} +1 -1
  156. package/dist/cdn/{V3OOWI2R.js → PVHFSNAB.js} +1 -1
  157. package/dist/cdn/{JJPQN4RX.js → PX7XI4AQ.js} +1 -1
  158. package/dist/cdn/{HBA63YZS.js → QDUBMHK6.js} +1 -1
  159. package/dist/cdn/{N5SLD2BF.js → QPJDMEY2.js} +1 -1
  160. package/dist/cdn/{DDDDLYT3.js → R5QVVAJ4.js} +1 -1
  161. package/dist/cdn/{EPIELE5S.js → RGF2GVYL.js} +1 -1
  162. package/dist/cdn/{3JHEROLV.js → RNNH2WBY.js} +1 -1
  163. package/dist/cdn/{B7LIMLGY.js → RSOZJEAZ.js} +1 -1
  164. package/dist/cdn/{SWLRDTQD.js → RXOUJBJR.js} +1 -1
  165. package/dist/cdn/{4VNK7OGN.js → S3PYYL6Q.js} +1 -1
  166. package/dist/cdn/{ZCNATOVD.js → SGXJICKA.js} +1 -1
  167. package/dist/cdn/{5MV4B2Q3.js → T66XDH6K.js} +1 -1
  168. package/dist/cdn/{VXL325DV.js → TEHVPH6Z.js} +1 -1
  169. package/dist/cdn/{4CL2BN2P.js → TF5GDYIZ.js} +1 -1
  170. package/dist/cdn/{6IRWKMLR.js → TFVQQYRU.js} +1 -1
  171. package/dist/cdn/TXIOBBME.js +2 -0
  172. package/dist/cdn/{PGP533OR.js → TZXR4EGG.js} +1 -1
  173. package/dist/cdn/{CZ3D2LU6.js → U7EAMGZN.js} +1 -1
  174. package/dist/cdn/{FOQWFJXP.js → UBTTCLMT.js} +1 -1
  175. package/dist/cdn/{32BFXJOB.js → UHIQOWLI.js} +1 -1
  176. package/dist/cdn/{UR6A4LCB.js → UOY2NPJU.js} +1 -1
  177. package/dist/cdn/{C34QCA5G.js → USGKRSGM.js} +1 -1
  178. package/dist/cdn/{SWQH3HDP.js → V6B3BXIW.js} +1 -1
  179. package/dist/cdn/{2GSRB4EC.js → V746QVZH.js} +1 -1
  180. package/dist/cdn/{NDKHKCHP.js → VFQ47HFV.js} +1 -1
  181. package/dist/cdn/{TUFCC7MK.js → VXKXHCQA.js} +1 -1
  182. package/dist/cdn/{IECREO5S.js → W7L6LWH5.js} +1 -1
  183. package/dist/cdn/{WVVZN3H4.js → WB7WEYKH.js} +1 -1
  184. package/dist/cdn/{B5RKNOJA.js → WHFIBWEM.js} +1 -1
  185. package/dist/cdn/{ZLYJ4OZI.js → WJHTAZIE.js} +1 -1
  186. package/dist/cdn/{M6U4UG3Y.js → WM3VERNU.js} +1 -1
  187. package/dist/cdn/{M2CPBVCM.js → WORPFEWQ.js} +1 -1
  188. package/dist/cdn/{KBRB3VWC.js → WPNH5EJ3.js} +1 -1
  189. package/dist/cdn/{FTXFBGER.js → WTLWP6QC.js} +1 -1
  190. package/dist/cdn/{IU2JASZO.js → WUCK6GX4.js} +1 -1
  191. package/dist/cdn/{PUALRK5D.js → WY46VWNU.js} +1 -1
  192. package/dist/cdn/{6C3LLHD7.js → X3WG2SZT.js} +1 -1
  193. package/dist/cdn/{C3IL4Z4I.js → X3XXK5IZ.js} +1 -1
  194. package/dist/cdn/{4AQR4VJK.js → XE4IVXCU.js} +1 -1
  195. package/dist/cdn/{BHN7KOII.js → XL4W3JII.js} +1 -1
  196. package/dist/cdn/XRLYWFEK.js +2 -0
  197. package/dist/cdn/{MKH42SHH.js → XTZE5NSV.js} +1 -1
  198. package/dist/cdn/{YXX4TE44.js → XVGFPRGB.js} +1 -1
  199. package/dist/cdn/{ZZGRSPLP.js → Y34JXI5A.js} +1 -1
  200. package/dist/cdn/{ENQIHWZC.js → Y4MHUUWY.js} +1 -1
  201. package/dist/cdn/{2IOC5KTK.js → YKEH22WV.js} +1 -1
  202. package/dist/cdn/YLGMC6EL.js +2 -0
  203. package/dist/cdn/{ON3LHBCG.js → YLVNC6Y7.js} +1 -1
  204. package/dist/cdn/{QX77PSU2.js → YPEDIYCY.js} +1 -1
  205. package/dist/cdn/{NHXKJBU4.js → YUJVGKCX.js} +1 -1
  206. package/dist/cdn/{EHTIZWBY.js → YXBAVMQT.js} +1 -1
  207. package/dist/cdn/{7NMLWPC4.js → Z5O4VOMQ.js} +1 -1
  208. package/dist/cdn/{EUKYYAYE.js → Z7AP2BWW.js} +1 -1
  209. package/dist/cdn/{PP3CXWSN.js → Z7U5CDYC.js} +1 -1
  210. package/dist/cdn/{ZXFSTT4G.js → ZCCU6BQA.js} +1 -1
  211. package/dist/cdn/{UFN2FTFD.js → ZHKS3KCP.js} +1 -1
  212. package/dist/cdn/{MJFNZSZT.js → ZMIY3UM5.js} +1 -1
  213. package/dist/cdn/{ZNSBUZAD.js → ZUZDE5V7.js} +1 -1
  214. package/dist/cdn/index.js +1 -1
  215. package/dist/chunks/runtime.js +1 -1
  216. package/dist/chunks/useViewModel.js +13 -12
  217. package/dist/components/arcgis-feature-relationship/customElement.js +35 -32
  218. package/dist/components/arcgis-feature-table/customElement.js +7 -1
  219. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +21 -19
  220. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  221. package/dist/components/arcgis-utility-network-trace-results/customElement.js +5 -5
  222. package/dist/docs/api.json +1 -1
  223. package/dist/docs/docs.json +1 -1
  224. package/dist/docs/web-types.json +1 -1
  225. package/package.json +4 -4
  226. package/dist/cdn/FHAM5F5F.js +0 -2
  227. package/dist/cdn/FX3D6GLQ.js +0 -2
  228. package/dist/cdn/G47WQHWO.js +0 -2
  229. package/dist/cdn/JS2DPGAC.js +0 -2
  230. package/dist/cdn/N66GY6AP.js +0 -2
  231. package/dist/cdn/OQY3Z427.js +0 -2
  232. package/dist/cdn/ZZF57DTV.js +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "5.1.9",
3
+ "version": "5.1.11",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "2D",
@@ -46,9 +46,9 @@
46
46
  "lit": "^3.3.0",
47
47
  "lodash-es": "^4.18.1",
48
48
  "tslib": "^2.8.1",
49
- "@arcgis/common-components": "5.1.9",
50
- "@arcgis/lumina": "5.1.9",
51
- "@arcgis/toolkit": "5.1.9"
49
+ "@arcgis/common-components": "5.1.11",
50
+ "@arcgis/lumina": "5.1.11",
51
+ "@arcgis/toolkit": "5.1.11"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@arcgis/core": "^5.1.0",
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import b from"./JSKZNHWO.js";import a from"./FTPMJ5T4.js";import{a as r}from"./WOKSINSM.js";export default $arcgis.t(([{watch:a},{b:i},{c:n}])=>{var v=(e,o)=>s=>m(s,e),t=class extends n{#o=void 0;constructor(o,s){super(o,s),new i(this.component)}hostLoad(){this.#o=a(()=>this.component.el.view,o=>{this.instance.view=o,this.instance.map=o?.map},{sync:!0,initial:!0})}hostDestroy(){this.#o?.remove(),super.hostDestroy()}},m=r(t);return v},"core/reactiveUtils",a,b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{b as r}from"./GHGGSA4P.js";import"./4KLZDEYJ.js";import"./WOKSINSM.js";import"./LQCRK2GS.js";import"./X5YHAO7R.js";import"./NHXKJBU4.js";import"./3TTFCHAA.js";export{r as ArcgisLayerListItemIndicator};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import e from"./F53HGO3N.js";import d from"./DDDDLYT3.js";import c from"./JSKZNHWO.js";import b from"./FTPMJ5T4.js";import"./WOKSINSM.js";import"./LQCRK2GS.js";import a from"./XXOSNRDX.js";import"./X5YHAO7R.js";import"./NHXKJBU4.js";import"./3TTFCHAA.js";export default $arcgis.t(([,,,,a])=>{return a},a,b,c,d,e)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import b from"./R3NYK6BO.js";import a from"./XSIZXNEJ.js";import"./PC4PAQXQ.js";import{a as w}from"./FYSIO2QO.js";import"./WOKSINSM.js";import"./LQCRK2GS.js";import"./X5YHAO7R.js";import{M as _,N as g,O as f,U as v,a as p,b as r,p as o,r as h,s as y,x as d}from"./NHXKJBU4.js";import"./3TTFCHAA.js";export default $arcgis.t(([E,,,{a:$},{b:b,e:R}])=>{var T=p`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features{height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.aggregated-geometry-container{display:flex;justify-content:space-between;margin:0 var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-md)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{margin:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs) var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`,u={dirtyAreasDiscovered:-2147208511,noValidControllers:-2147208935,pathNotFound:-2147208444},m=class extends f{constructor(){super(...arguments),this._defaultPopupTemplateEnabled=!0,this._messages=w({blocking:!0}),this._elementsWithoutLayer=[],this._popoverRef=_(),this._layerIdToFeatures=new Map,this._layerIdToLayer=new Map,this._subtypeCodeToFeatures=new Map,this._sourceIdToElements=new Map,this._unLayers=[],this._queryFeaturesOnLayer=async([e,t])=>{let a=this.utilityNetwork?.getLayerIdBySourceId(e),s=this._getLayerByLayerId(a),i=this._getElementsUniqueByGlobalId(t);if(a==null||!s){this._elementsWithoutLayer.push(...i);return}let n=s.createQuery();n.gdbVersion=this.utilityNetwork?.gdbVersion,n.objectIds=i.map(c=>c.objectId),n.outFields=["*"];let{features:l}=await b(s,n);l.forEach(c=>{let C=c.layer;c.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled)||(c.popupTemplate=C.createPopupTemplate())}),R(s)?l.forEach(c=>this._addOrCreateMapValue(this._subtypeCodeToFeatures,c.layer.subtypeCode,c)):this._layerIdToFeatures.set(a,l)},this._aggregateGeometryRefChange=e=>{e&&(this._aggregatedGeometryComponentElement=e)},this._featuresRefChange=e=>{e&&(this._featuresComponentElement=e)},this._aggregatedGeometryDisabled=!1,this.aggregatedGeometryGraphicsColor=new E([255,255,0,.6]),this.hideActionBar=!1,this.hideFeatureResults=!1,this.featuresFromSelectedLayer=[],this.isElementsSelected=!1,this.layers=[],this.state="ready",this.traceResultFeatures=[],this.autoDestroyDisabled=!1,this.arcgisAggregatedGeometryGraphicsColorChange=d(),this.arcgisHideGraphicsChange=d(),this.arcgisSelectedLayerChange=d(),this.arcgisSelectedResultTypeChange=d(),this.arcgisTraceResultFeaturesReady=d()}static{this.properties={_aggregatedGeometryDisabled:16,_featuresComponentElement:16,aggregatedGeometryGraphicsColor:0,hideActionBar:5,hideFeatureResults:5,featuresFromSelectedLayer:0,isElementsSelected:5,layers:0,messageOverrides:0,numResults:32,referenceElement:1,selectedLayer:0,state:1,traceConfigTitle:1,traceError:0,traceResult:0,traceResultFeatures:0,utilityNetwork:0,view:0,autoDestroyDisabled:5}}static{this.styles=T}get numResults(){return this.traceResultFeatures.length+this._elementsWithoutLayer.length}clearAggregatedGeometryGraphics(){this._aggregatedGeometryComponentElement?.destroy()}async destroy(){this._layerIdToFeatures.clear(),this._subtypeCodeToFeatures.clear(),this._sourceIdToElements.clear(),this._aggregatedGeometryComponentElement?.destroy(),this._featuresComponentElement?.destroy(),await this.manager.destroy()}load(){this.traceResult&&(this._setSourceIdToElements(),this._loadDependencies().then(()=>this._queryTraceResultsFeatures()).finally(()=>{this.arcgisTraceResultFeaturesReady.emit(),this.state="ready"}))}willUpdate(e){e.has("isElementsSelected")&&this.arcgisSelectedResultTypeChange.emit(),e.has("selectedLayer")&&this.arcgisSelectedLayerChange.emit(),e.has("traceResult")&&(this.isElementsSelected=!1,this.traceResult||(this.traceResultFeatures=[],this._elementsWithoutLayer=[])),(e.has("layers")||e.has("utilityNetwork"))&&this._loadDependencies()}loaded(){this.utilityNetwork||o("warn",this,h("utilityNetwork")),this.layers.length===0&&o("warn",this,y("layers")),this.view||o("warn",this,h("view"))}disconnectedCallback(){super.disconnectedCallback(),this._layerIdToLayer.clear()}_addOrCreateMapValue(e,t,a){let s=e.get(t);s==null?e.set(t,[a]):s.push(a)}_getLayerByLayerId(e){if(e==null)return;let{_layerIdToLayer:t,_unLayers:a}=this;if(t.get(e))return t.get(e);let s=a.find(i=>"layerId"in i&&i.layerId===e);return s&&t.set(e,s),s}_getElementsUniqueByGlobalId(e){return Array.from(new Map(e.map(t=>[t.globalId,t])).values())}_handleHideGraphicsChange(e){e.stopPropagation();let t=e.detail;this.arcgisHideGraphicsChange.emit(t),this._aggregatedGeometryDisabled=t,t&&this._popoverRef.value?.open&&(this._popoverRef.value.open=!1)}async _loadDependencies(){let{layers:e,utilityNetwork:t}=this;if(!t)return;try{t.loaded||(this.state="loading",await t.load())}catch(s){$(s,this,"Error while loading the selected utility network")}this._unLayers=e.filter(s=>t.isUtilityLayer(s));let a=this._unLayers.filter(s=>!s.loaded).map(s=>s.load());a.length>0&&(this.state="loading",(await Promise.allSettled(a)).forEach(s=>{s.status==="rejected"&&o("error",this,`Failed to load layer. Reason: ${s.reason}`)}))}async _queryTraceResultsFeatures(){let e=Array.from(this._sourceIdToElements.entries());if(!e.length)return;this.state="loading";let t=e.map(this._queryFeaturesOnLayer);(await Promise.allSettled(t)).forEach((i,n)=>{if(i.status==="rejected"){let[l]=e[n];o("error",this,`Failed to query features for source ${l}. Reason: ${i.reason}`)}});let a=Array.from(this._layerIdToFeatures.values()),s=Array.from(this._subtypeCodeToFeatures.values());this.traceResultFeatures=a.concat(s).flat()}_setSourceIdToElements(){this.traceResult.elements?.forEach(e=>this._addOrCreateMapValue(this._sourceIdToElements,e.networkSourceId,e))}render(){let{traceError:e,traceResult:t}=this;if(e)return this._renderErrorLanding(e);if(!t)return this._renderNoTraceLanding();let{elements:a,globalFunctionResults:s,aggregatedGeometry:i}=t,n=!a.length&&!s.length&&!i,l=a.length>0&&!s.length&&!i;return n?this._renderNoResultsLanding():this.state==="loading"?this._renderGettingResults():this.hideFeatureResults&&l?this._renderFeaturesAreHiddenLanding():this.isElementsSelected||l?r`<arcgis-features-next .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} .features=${this.traceResultFeatures} .hideActionBar=${this.hideActionBar} .hideCloseButton=${l} hide-select-feature initial-display-mode=list @arcgisClose=${()=>this.isElementsSelected=!1} open .referenceElement=${this.referenceElement} .view=${this.view} ${g(this._featuresRefChange)}></arcgis-features-next>`:this._renderLanding(t)}_renderGettingResults(){return r`<calcite-panel class="white-panel-background"><calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader></calcite-panel>`}_renderLanding(e){let{elements:t,globalFunctionResults:a,aggregatedGeometry:s}=e;return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}${s!=null?this._renderAggregatedGeometry(s):null}${s!=null&&!t.length?this._renderNoSelectableResults():null}${t.length>0?this.hideFeatureResults?this._renderFeaturesAreHidden():this._renderElementsResults():null}${a.length>0?this._renderFunctionsResults(a):null}</calcite-panel>`}_renderAggregatedGeometry(e){return r`<div class="aggregated-geometry-container"><arcgis-utility-network-aggregated-geometry .graphicsColor=${this.aggregatedGeometryGraphicsColor} .geometry=${e} .view=${this.view} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange} auto-destroy-disabled ${g(this._aggregateGeometryRefChange)}></arcgis-utility-network-aggregated-geometry><calcite-swatch id=geometry-color-swatch .label=${this._messages.labels.aggregatedGeometryGraphicsColor} .color=${this.aggregatedGeometryGraphicsColor.toCss()} .disabled=${this._aggregatedGeometryDisabled}></calcite-swatch><calcite-popover .heading=${this._messages.headings.setColor} .label=${this._messages.headings.setColor} reference-element=geometry-color-swatch closable ${g(this._popoverRef)}><calcite-color-picker alpha-channel channels-disabled clearable hex-disabled saved-disabled .value=${this.aggregatedGeometryGraphicsColor} @calciteColorPickerChange=${t=>{let a=t.target.value;this.arcgisAggregatedGeometryGraphicsColorChange.emit(a)}} .disabled=${this._aggregatedGeometryDisabled}></calcite-color-picker></calcite-popover></div>`}_renderFeaturesAreHiddenLanding(){return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}${this._renderFeaturesAreHidden()}</calcite-panel>`}_renderFeaturesAreHidden(){return r`<div class="no-selectable-results">${this._messages.resultFeaturesAreHidden}</div>`}_renderNoSelectableResults(){return r`<div class="no-selectable-results">${this._messages.noSelectableFeatures}</div>`}_renderElementsResults(){return r`<calcite-list .label=${this._messages.headings.traceResultsGeneric}><calcite-list-item id=elements-list-item .label=${this._messages.headings.features} @calciteListItemSelect=${()=>this.isElementsSelected=!0}><calcite-chip .label=${this._messages.labels.numFeatures} scale=s slot=content-end>${this.numResults}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`}_renderFunctionsResults(e){return r`<div class="functions-heading">${this._messages.headings.functions}</div><calcite-table .caption=${this._messages.labels.functionResults}>${e.filter(t=>t.networkAttributeName!=null&&t.result!=null&&t.functionType!=null).map(t=>{let{functionName:a,networkAttributeName:s,functionType:i,result:n}=t,l=a||`${s} ${i}`;return r`<calcite-table-row><calcite-table-cell>${l}</calcite-table-cell><calcite-table-cell>${n}</calcite-table-cell></calcite-table-row>`})}</calcite-table>`}_renderTraceResultsHeading(){return r`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle?r`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>`:null}</div>`}_renderErrorLanding(e){let t=e.message;switch(e.details?.raw?.extendedCode){case u.dirtyAreasDiscovered:t=this._messages.traceErrors.dirtyAreasDiscovered;break;case u.noValidControllers:t=this._messages.traceErrors.noValidControllers;break;case u.pathNotFound:t=this._messages.traceErrors.pathNotFound;break}return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.traceFailedHeading}</div><div class="no-results-description">${this._messages.traceFailedDescription}</div><div class="no-results-description">${t}</div></div></calcite-panel>`}_renderNoResultsLanding(){return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.noResultsHeading}</div><div class="no-results-description">${this._messages.noResultsDescription}</div></div></calcite-panel>`}_renderNoTraceLanding(){return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div></calcite-panel>`}};v("arcgis-utility-network-trace-results",m);return m},"Color","core/Error","Graphic",a,b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import a from"./M5WENV6H.js";import"./RUF24VPL.js";import"./NHXKJBU4.js";import"./3TTFCHAA.js";export default $arcgis.t(([a])=>{return a},a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import a from"./C3IL4Z4I.js";import"./RUF24VPL.js";import"./54VXNFQ4.js";import"./X5YHAO7R.js";import"./NHXKJBU4.js";import"./3TTFCHAA.js";export default $arcgis.t(([a])=>{return a},a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as P}from"./GHGGSA4P.js";import{a as Te,b as ze,c as Fe,d as Oe,f as Pe,g as De,h as Re,i as Se,j as Be,k as Ue,m as $,n as W,o as je,p as Ge,q as X}from"./4KLZDEYJ.js";import i from"./77B7BUKJ.js";import"./MP6Z45SA.js";import{a as Ae}from"./JJPQN4RX.js";import{a as A}from"./RUF24VPL.js";import g from"./DUJFJC5Z.js";import f from"./R3NYK6BO.js";import e from"./XSIZXNEJ.js";import"./PC4PAQXQ.js";import d from"./FHAM5F5F.js";import{a as Ie}from"./FYSIO2QO.js";import{a as B}from"./54VXNFQ4.js";import{a as Ee}from"./AGOCGCC7.js";import c from"./JSKZNHWO.js";import b from"./FTPMJ5T4.js";import{h as $e}from"./WOKSINSM.js";import"./LQCRK2GS.js";import a from"./XXOSNRDX.js";import{d as z}from"./X5YHAO7R.js";import{B as be,M as C,N as E,O as ye,P as h,Q as we,R as m,S as K,U as xe,a as J,b as n,x as ve}from"./NHXKJBU4.js";import"./3TTFCHAA.js";export default $arcgis.t(([pt,D,{on:qe,watch:gt},{isLayerFromCatalog:ot},{h:ke},,{a:Le},Ce,,,,{a:Q,b:Me}])=>{var He=new Map;function Ve(s){return s?He.get(s)??!1:!1}function st(s,e){let t=!(s.aria?.pressed??Ve(e));return s.aria={...s.aria,pressed:t},e&&He.set(e,t),t}function ee(s){return s&&"visibilityMode"in s?s.visibilityMode:null}function Ne(s,e){"visible"in s&&(ee(e)==="exclusive"&&s.visible||(s.visible=!s.visible))}function nt(s,e){s.panel.open=!s.panel.open,s.panel.open&&e&&e()}function lt(s,e,t,i){s&&t===e.layer?.uid&&(ke(s),i?.(null))}function ct(s,e,t){t.type==="toggle"&&(t.value=!t.value),s(t,e)}function dt(s){return s.actionsSections.map(e=>e.filter(t=>t.visible))}function Ze(s,e){let{icon:t}=e;if(t)return null;let i="image"in e?e.image:void 0;return i?n`<span aria-hidden=true class=${h(z(s.itemActionIcon,{[s.itemActionImage]:!!i}))} style=${we(Me(i))}></span>`:null}function Ye(s,e,t){let{item:i,css:a,handleAction:o}=s,{active:l,disabled:c,title:d,type:g,indicator:v}=e,y=Q(e);return n`<calcite-action .active=${g==="toggle"?e.value:!1} data-action-id=${e.id??m} .disabled=${c} .icon=${y} .indicator=${v} .loading=${l} @click=${()=>ct(o,i,e)} scale=s slot=${(t?void 0:"actions-end")??m} .text=${d??""} .textEnabled=${t} title=${d??void 0??m}>${Ze(a,e)}</calcite-action>`}function te(s){let{item:e,parent:t,hideStatusIndicators:i,css:a,visibilityAppearance:o,hideCatalogLayerList:l,dragEnabled:c=!1,rootGroupUid:d,listModeDisabled:g=!1,selectionMode:v,displayMode:y,layerTablesEnabled:w,showErrors:F,parentTitles:I,selectedItems:O,activeItem:f,handleCatalogOpen:U,handleTablesOpen:j,selectedDragItemLayerUid:R,handleSelectedDragItemLayerUidChange:Ke,handlePanelOpen:Qe,messages:p,setCurrentActiveItem:ae,clearActiveItem:re}=s,L=C(),G=C(),M=e.title||("untitledTable"in p?p.untitledTable:p.untitledLayer??""),oe=null;i||(oe=n`<arcgis-layer-list-item-indicator class=${h(a.statusIndicator)} .messages=${p} .item=${e} .parent=${t} slot=content-end></arcgis-layer-list-item-indicator>`);let se=null;{let{layer:r}=e,u=r&&"persistenceEnabled"in r&&(ot(r)||!r.persistenceEnabled);(s.showTemporaryLayerIndicators||s.showTemporaryTableIndicators)&&u&&(se=n`<calcite-icon class=${h(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${p.temporary??m}></calcite-icon>`)}let ne=null;if("visible"in e&&"visibleToggle"in a&&o){let r=ee(t);if(r!=="inherited"){let u=Oe({visible:e.visible,exclusive:r==="exclusive",visibilityAppearance:o}),_=o==="checkbox",b=p.layerVisibility,T=e.title??e.layer?.title??"",k=T?`${b??""}: ${T}`:b??"",Z=Ve(e.layer?.id);ne=n`<calcite-action .aria=${{pressed:Z}} class=${h(a.visibleToggle)} .icon=${_?u:void 0} .label=${k} @click=${q=>{st(q.currentTarget,e.layer?.id),Ne(e,t)}} .slot=${_?"actions-start":"actions-end"} .text=${b??""} title=${b??m}>${_?null:n`<calcite-icon class=${h(z({[a.visibleIcon]:r!=="exclusive"&&e.visible}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}}let le=null;{let r=e.panel;r?.open&&!r.disabled&&!r.flowEnabled&&(le=n`<div class=${h(a.itemContentBottom)} slot=content-bottom><arcgis-layer-list-item-panel .item=${e} .view=${s.view}></arcgis-layer-list-item-panel></div>`)}let ce=null;{let r=e.panel;if(r?.visible){let{open:u,title:_,disabled:b}=r,T={icon:r.icon,image:r.image,indicator:!1},k=Q(T);ce=n`<calcite-action .active=${u} .disabled=${b} .icon=${k} @click=${()=>nt(e,Qe)} slot=actions-end .text=${_??""} title=${_??void 0??m}>${Ze(a,r)}</calcite-action>`}}let de=null;{let r=e.layer,u=r?.type==="catalog-footprint",_=r?.type==="sublayer"&&X(r,"footprints");"itemCatalogIcon"in a&&(u||_)&&(de=n`<calcite-icon class=${h(a.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`)}let pe=null;{let r=e.layer,u=r?.type==="catalog-dynamic-group",_=r?.type==="sublayer"&&X(r,"layers-in-view");"itemCatalogIcon"in a&&(u||_)&&(pe=n`<calcite-icon class=${h(a.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`)}let ge=null;if("visible"in e){let r=e.layer;!l&&r?.type==="catalog-dynamic-group"&&(ge=n`<calcite-action .disabled=${!r.visible} icon=chevron-right icon-flip-rtl @click=${()=>U?.(e)} scale=s slot=actions-end .text=${M??""}></calcite-action>`)}let me=null,N=!1;{let r=e.layer;if(w&&r)switch(r.type){case"knowledge-graph":N=w.includes(r.type)&&"tables"in r&&!!r.tables?.length;break;case"map-image":case"tile":N=w.includes(r.type)&&"subtables"in r&&!!r.subtables?.length;break}"itemTableIcon"in a&&"visible"in e&&"tables"in p&&N&&(me=A(`${e.uid}-tables`,n`<calcite-list-item class=${h(a.item)} data-layer-id=${r?.id??m} drag-disabled .label=${p.tables} title=${p.tables??m} @calciteListItemSelect=${()=>j?.(e)} .value=${e}><calcite-icon class=${h(a.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`))}let he=null;if("children"in e){let r=[...I??[],e.title],{children:u,layer:_}=e,b=_?.type!=="catalog-dynamic-group"&&je(e),T=g?!1:Pe(_),k=_?.type==="group",Z=!T&&!b&&c&&k,q=k&&"sortable"in e&&e.sortable,at=c&&("childrenSortable"in e&&e.childrenSortable||q)&&Se(e),rt=b?(u?.filter(x=>!x.hidden&&(F||!x.error)).toArray()??[]).map(x=>te({...s,item:x,parent:e,parentTitles:r})):null;(b||Z)&&(he=n`<calcite-list .canPull=${x=>s.canMove?s.canMove(x,"pull"):!1} .canPut=${x=>s.canMove?s.canMove(x,"put"):!1} data-item=${e.uid??m} data-layer-type=${d??m} .displayMode=${y} .dragEnabled=${at} .group=${k?d:`${d}-${_?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${v}>${rt}${me}</calcite-list>`)}let Y=null;if(e.error){let r="layerError"in p?p.layerError:p.tableError;Y=n`<div class=${h(a.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${r}</div></calcite-notice></div>`}else"incompatible"in e&&e.incompatible&&"layerIncompatible"in p&&(Y=n`<div class=${h(a.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${E(G)}><div slot=message>${p.layerIncompatible}</div></calcite-notice></div>`);let ue=dt(e),H=e.actionsSections.reduce((r,u)=>r+u.length,0),fe=Ge(ue),We=ue.toArray().map(r=>n`<calcite-action-group>${r.toArray().map(u=>Ye(s,u,!0))}</calcite-action-group>`),Xe=r=>{e.actionsOpen=r.currentTarget.open},_e=null;H>1&&(_e=n`<calcite-action-menu appearance=transparent .label=${p.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end slot=actions-end @calciteActionMenuOpen=${Xe}><calcite-action .aria=${{expanded:e.actionsOpen??!1,hasPopup:"true"}} icon=ellipsis scale=s slot=trigger .text=${p.options??""} title=${p.options??m}></calcite-action>${We}</calcite-action-menu>`);let V=null;H===1&&fe?V=Ye(s,fe,!1):H>1&&(V=_e);let et="visibleAtCurrentTimeExtent"in e&&"layerInvisibleAtTime"in p&&!e.visibleAtCurrentTimeExtent?`${M} (${p.layerInvisibleAtTime})`:"visibleAtCurrentScale"in e&&"layerInvisibleAtScale"in p&&!e.visibleAtCurrentScale?`${M} (${p.layerInvisibleAtScale})`:M,tt="parent"in e&&e.parent?.layer?.type==="catalog",S=e.layer,it="visibleAtCurrentScale"in e&&!e.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in e&&!e.visibleAtCurrentTimeExtent;return queueMicrotask(()=>{lt(L.value??null,e,R,Ke),G.value&&(s.handleTooltipReferenceChange?.(S?.uid,G.value),queueMicrotask(()=>s.handleTooltipReferenceChange?.(S?.uid,null))),e.panel&&(e.panel.container=L.value)}),A(e.uid,n`<calcite-list-item class=${h(z(a.item,"itemActive"in a&&{[a.itemActive]:f?.uid===e.uid}))} data-item=${e.uid??m} data-layer-id=${S?.id??m} .dragDisabled=${!("sortable"in e&&e.sortable)||tt} id=${S?.uid??m} .label=${M} .metadata=${{parentTitles:I??[],_title:M}} .expanded=${"open"in e&&e.open} .selected=${v!=="none"?O.includes(e):!1} title=${et??m} .unavailable=${it} .value=${e} @focusin=${()=>{ae?.(e),L.value?.classList.add(a.itemActive)}} @focusout=${()=>{re?.(),L.value?.classList.remove(a.itemActive)}} @mouseover=${()=>{ae?.(e),L.value?.classList.add(a.itemActive)}} @mouseleave=${()=>{re?.(),L.value?.classList.remove(a.itemActive)}} @calciteListItemSelect=${r=>"visible"in e&&$(r.currentTarget,s.operationalItems)===e&&v==="none"&&ee(t)!=="inherited"&&Ne(e,t)} @calciteListItemToggle=${r=>{"open"in e&&(r.stopPropagation(),e.open=r.target.expanded)}} ${E(L)}>${de}${pe}${oe}${ne}${ge}${se}${he}${Y}${le}${ce}${V}</calcite-list-item>`)}var mt=J`.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}:host{width:100%;--arcgis-internal-layer-list-item-scroller-max-height: var(--arcgis-internal-panel-height-md)}.esri-legend{display:none}.item{--calcite-list-item-icon-center: var(--calcite-space-sm)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:14px}.item__filter-container--sticky{z-index:1;position:sticky;top:0}.item__group{margin-top:var(--calcite-spacing-md)}.item__scroller{overflow-y:auto;z-index:0;position:relative}.item__scroller--enabled{max-height:var(--arcgis-internal-layer-list-item-scroller-max-height)}.item__group__header{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-medium)}.item__list-item{cursor:pointer;min-height:var(--calcite-spacing-xxxl)}.item__list-item[class^=esri-icon-],.item__list-item[class*=" esri-icon-"]{padding-inline-end:2.8px}.item__list-item--disabled{cursor:default}.item__list-item-icon{justify-content:center;align-items:center;min-width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);display:flex}.item__list-item-icon span{line-height:0}.arcgis-thumbnail-preview{background-position:50%;width:22px;height:22px}.item__no-matches-message{justify-content:center;align-items:center;height:96px;display:flex}.content-bottom{margin:var(--calcite-spacing-md) 15px}.content-bottom .arcgis-legend__service{padding:0 0 var(--calcite-spacing-md)}.message{margin:var(--calcite-spacing-md) 15px}.visible-icon{visibility:hidden}.item:hover>.visible-toggle>.visible-icon,.item:focus>.visible-toggle>.visible-icon,.item:focus-within>.visible-toggle>.visible-icon{visibility:visible}`,ht=J`@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{display:flex;min-height:var(--calcite-space-3xl);transition:max-height .25s ease-in-out;overflow-y:auto}:host>div{display:flex;width:100%}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-space-md-plus)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size)}.action-menu .action-group{display:none}.action-menu[open] .action-group{display:flex}.active:hover>.visible-toggle>.visible-icon,.active:focus>.visible-toggle>.visible-icon,.active:focus-within>.visible-toggle>.visible-icon{visibility:visible}.status-indicator{margin-inline:0}`,Je="nested",ut=Ce(pt),ie=class extends ye{constructor(){super(...arguments),this._lastDragDetail=null,this._rootListRef=C(),this._layerFlowItemRef=C(),this._panelFlowItemRef=C(),this._selectedDragItemLayerUid=null,this._rootGroupUid=`operational-${be()}`,this._openedLayersController=null,this.messages=Ie(),this._canMove=({dragEl:e,fromEl:t,toEl:i},a)=>{let o=a==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,l=$(e,this.operationalItems);if(!l?.sortable)return!1;let c=this._resolveListContainer(t),d=this._resolveListContainer(i),g=this._getContainerItem(c),v=W(c),y=this._getContainerItem(d),w=W(d),F=!!v&&!!w&&v===w,I={selected:l,from:g,to:y},O=c?.group,f=d?.group,U=g?.layer?.type??"",j=y?.layer?.type??"",R=new Set(["map-image","catalog","knowledge-graph"]);return O&&f&&typeof o=="function"?o(I):F&&!R.has(U)&&!R.has(j)&&l?.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(P.item)),i=$(t,this.operationalItems);this._activeItem=i},this.viewModel=ut(this),this.arcgisClose=Ee(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 D(["knowledge-graph"]),this.mapImageOptions=null,this.openedLayerLists=new D,this.tileOptions=null,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.closed=!1,this.icon="layers",this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.layerTablesAvailable=new D(["knowledge-graph"]),this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.minDragEnabledItems=Fe,this.minFilterItems=ze,this.openedLayers=new D,this.operationalItems=this.viewModel.operationalItems,this.selectedItems=new D,this.selectionMode="none",this.visibilityAppearance="default",this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=$e()("state"),this.arcgisReady=ve(),this.arcgisTriggerAction=Le(()=>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,view:0,autoDestroyDisabled:5,closed:5,referenceElement:1,icon:1,catalogLayerList:32,catalogOptions:0,collapsed:5,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,knowledgeGraphOptions:0,layerTablesAvailable:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:32,operationalItems:0,selectedItems:0,selectionMode:1,tableList:32,visibilityAppearance:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,messageOverrides:0,label:1,state:32}}static{this.styles=[ht,mt]}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(({hidden:e,panel:t})=>!e&&t?.open&&!t.disabled&&t.flowEnabled)}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(()=>[qe(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),qe(()=>this.viewModel.operationalItems,"change",()=>De(this.selectedItems),{initial:!0}),gt(()=>[this.filterPredicate,this._rootListRef.value],()=>Re(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 o=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||i.set(e,o),o}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let a=new AbortController,{signal:o}=a;this._openedLayersController=a,e.forEach((d,g)=>{t.includes(g)||(d?.destroy?.(),e.delete(g))});let l=await Promise.all(t.map(d=>this._createFlowList(d,o)));if(o.aborted)return;i.removeAll(),i.addMany(l);let c=i.at(-1);c?"catalogLayer"in c?(this._catalogLayerList=c,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=c):(this._catalogLayerList=void 0,this._tableList=void 0)}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:a,listItemCreatedFunction:o,minFilterItems:l,selectionMode:c,visibilityAppearance:d}=this;return K(n`<arcgis-catalog-layer-list .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??a} .listItemCreatedFunction=${i?.listItemCreatedFunction??o} .minFilterItems=${i?.minFilterItems??l} .selectionMode=${i?.selectionMode??c} .visibilityAppearance=${i?.visibilityAppearance??d} .showErrors=${i?.visibleElements?.errors??this.showErrors} .showFilter=${i?.visibleElements?.filter??this.showFilter} .hideStatusIndicators=${i?.visibleElements?.statusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.visibleElements?.temporaryLayerIndicators??this.showTemporaryLayerIndicators} @arcgisReady=${g=>g.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list>`)}_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,o=this._getTableListParams(e);return K(n`<arcgis-table-list .headingLevel=${o?.headingLevel??t} .selectionMode=${o?.selectionMode??i} .dragEnabled=${o?.dragEnabled??a} .collapsed=${o?.collapsed} .filterPlaceholder=${o?.filterPlaceholder} .filterText=${o?.filterText} .icon=${o?.icon??void 0} .label=${o?.label??void 0} .listItemCreatedFunction=${o?.listItemCreatedFunction} .tables=${o?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${l=>l.stopPropagation()}></arcgis-table-list>`)}_handlePanelFlowItemBack(e){e.open=!1}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:a}){let o=this._resolveListContainer(e),l=this._resolveListContainer(t),c=$(i,this.operationalItems),d=this._getContainerItem(o),g=this._getContainerItem(l);a==null||!c||this.viewModel.moveListItem(c,g,d,a)}_onCalciteListDragEnd(e){let{fromEl:t,toEl:i,dragEl:a,oldIndex:o}=e;if(t!==i){a.remove();return}o==null||!t||!a||t.insertBefore(a,t.children[o])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{dragEl:i,newIndex:a}=e,o=this._resolveListContainer(e.fromEl),l=this._resolveListContainer(e.toEl),c=t?.newIndex===a&&t?.dragEl===i&&t?.toEl===l&&t?.fromEl===o;if(!(!o||!l||c)){if(this._lastDragDetail={...e,fromEl:o,toEl:l},this._selectedDragItemLayerUid=i.value,o===l){let d=Array.from(o.children).filter(g=>g?.matches("calcite-list-item")).map(g=>g.value.layer?.uid??"");this._sortLayers(o,d);return}this._moveLayerFromChildList({toEl:l,fromEl:o,dragEl:i,newIndex:a})}}_sortLayers(e,t){if(e)if(e===this._rootListRef.value)Be(this.el.view?.map?.layers,t);else{let i=$(e,this.operationalItems);if(!i)return;Ue(i,t)}}_handleCalciteListChange(e){let{selectionMode:t,selectedItems:i}=this;if(t==="none")return;let a=e.target.selectedItems.map(o=>$(o,this.operationalItems)).filter(Boolean);i.removeAll(),i.addMany(a)}render(){let{_visibleItems:e,state:t}=this,i={[B.hidden]:t==="loading",[B.disabled]:t==="disabled"};return n`<div class=${h(z(B.widget,i))}>${e?.length?[this._renderItemTooltips(),this._renderItems()]:this._renderNoItems()}</div>`}_renderItemTooltip(e){let{_tooltipReferenceMap:t,messages:i}=this;return e?n`<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 n`<div slot=message>${this.messages.noItemsToDisplay}</div>`}_renderNoItems(){return n`<div class=${h(P.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`}_renderLayerFlowItem(e,t){let{messages:i,openedLayers:a}=this,o=e.title||this.messages.untitledLayer;return A(e?.uid??o,n`<calcite-flow-item data-layer-uid=${e?.uid??""??m} .description=${o} .heading=${i[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${l=>{l.preventDefault(),a.pop(),a.at(-1)&&this._layerFlowItemRef.value?.setFocus()}} ${E(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderPanelFlowItems(){let{_openedPanelItems:e,openedLayers:t}=this;return Ae(e.toArray(),i=>i.uid,(i,a)=>{let{panel:o,title:l}=i,c=()=>this._handlePanelFlowItemBack(o);return n`<calcite-flow-item .description=${l} .heading=${o.title} .headingLevel=${this.headingLevel} .selected=${!t.length&&a===e.length-1} @calciteFlowItemBack=${d=>{d.preventDefault(),c()}} ${E(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${i} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${c} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderItems(){let{collapsed:e,_visibleItems:t,_openedPanelItems:i,_filterEnabled:a,_rootGroupUid:o,showCloseButton:l,showCollapseButton:c,showHeading:d,_dragEnabled:g,selectionMode:v,filterText:y,openedLayers:w,filterPlaceholder:F,messages:I}=this,O=[n`<calcite-flow-item .closable=${l} .closed=${this.closed} .collapsed=${e} .collapsible=${c} .heading=${d?I.componentLabel:void 0} .headingLevel=${this.headingLevel} .selected=${!w.length&&!i.length} @calciteFlowItemClose=${()=>this.closed=!1}><calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${f=>this._canMove(f,"pull")} .canPut=${f=>this._canMove(f,"put")} data-layer-type=${o??m} .displayMode=${Je} .dragEnabled=${g} .filterEnabled=${a} .filterPlaceholder=${F} .filterProps=${Te} .filterText=${a?y:""} .group=${o} .label=${I.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${v} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${f=>this.filterText=f.currentTarget?.filterText??""} @calciteListOrderChange=${f=>this._onCalciteListOrderChange(f.detail)} @calciteListDragEnd=${f=>this._onCalciteListDragEnd(f.detail)} ${E(this._rootListRef)}>${t?.toArray().map(f=>this._renderItem(f))??[]}${t?.length&&a?n`<div class=${h(P.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`:null}</calcite-list></calcite-flow-item>`,this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];return this.closed?null:A("root-flow",n`<calcite-flow>${O}</calcite-flow>`)}_renderItem(e,t,i){return A(e.uid,te({activeItem:this._activeItem,canMove:this._canMove,css:P,displayMode:Je,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}))}};xe("arcgis-layer-list-next",ie);return ie},"widgets/LayerList/LayerListViewModel","core/Collection","core/reactiveUtils","layers/catalog/catalogUtils",a,b,c,d,e,f,g,i)