@arcgis/map-components 6.0.0-next.38 → 6.0.0-next.39

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 (260) hide show
  1. package/dist/cdn/{DNZXXP5C.js → 2BKWAHTD.js} +1 -1
  2. package/dist/cdn/{DWPXOIRF.js → 2EXFLJU6.js} +1 -1
  3. package/dist/cdn/{3XHI22WD.js → 2J6WEB6T.js} +1 -1
  4. package/dist/cdn/{BEICGIY5.js → 2JSC2QUL.js} +1 -1
  5. package/dist/cdn/{J4FR5WZG.js → 2PRSXEWN.js} +1 -1
  6. package/dist/cdn/{5OABHJND.js → 2TATEEFZ.js} +1 -1
  7. package/dist/cdn/{Z46QEYSO.js → 2X67IX24.js} +1 -1
  8. package/dist/cdn/{LFA3XEWF.js → 3AMV4V75.js} +1 -1
  9. package/dist/cdn/{2GV5JA27.js → 3GEL52XF.js} +1 -1
  10. package/dist/cdn/{KIWV2RIN.js → 3SMFVQGP.js} +1 -1
  11. package/dist/cdn/{DXXGERVD.js → 3TKC6DSX.js} +1 -1
  12. package/dist/cdn/{7JPHMESH.js → 3VFPLRD3.js} +1 -1
  13. package/dist/cdn/{X2M3ZYHO.js → 42QIJYPN.js} +1 -1
  14. package/dist/cdn/{4HCQOJIM.js → 446K7RDY.js} +1 -1
  15. package/dist/cdn/{ECF4B24M.js → 44ZEP4IY.js} +1 -1
  16. package/dist/cdn/{OKOOKG4L.js → 46XABBUQ.js} +1 -1
  17. package/dist/cdn/{ODCD75PC.js → 4DRKK3S6.js} +1 -1
  18. package/dist/cdn/{VHLDFKDS.js → 4HP7BSCJ.js} +1 -1
  19. package/dist/cdn/{FROWRLYW.js → 4JR57ZIQ.js} +1 -1
  20. package/dist/cdn/{ULOXCWFO.js → 4KLQZIOV.js} +1 -1
  21. package/dist/cdn/{BVRQWRKX.js → 4LFTK2G2.js} +1 -1
  22. package/dist/cdn/{WVKMYNN7.js → 4O6ZYILT.js} +1 -1
  23. package/dist/cdn/{DDGUDJJZ.js → 4OOG2D4K.js} +1 -1
  24. package/dist/cdn/{F2YSSNVY.js → 4PM34QMT.js} +1 -1
  25. package/dist/cdn/{PYEOGYQ3.js → 4U6DCBKV.js} +1 -1
  26. package/dist/cdn/{6HDYZ7WW.js → 5CXJJCRX.js} +1 -1
  27. package/dist/cdn/{NVPN3I72.js → 5GEEJRIV.js} +1 -1
  28. package/dist/cdn/{BCHHB4QH.js → 5IWCWL2Q.js} +1 -1
  29. package/dist/cdn/{G7BWEBJH.js → 5VK56DPB.js} +1 -1
  30. package/dist/cdn/{SXW4GFL3.js → 5YPWQQGI.js} +1 -1
  31. package/dist/cdn/{SOIBQ3FH.js → 625O4F4L.js} +1 -1
  32. package/dist/cdn/64Z2GM4G.js +2 -0
  33. package/dist/cdn/{QBVHLHRR.js → 6BT6RP22.js} +1 -1
  34. package/dist/cdn/{PCXDOSKQ.js → 6DNLVSRG.js} +1 -1
  35. package/dist/cdn/{UYJB3OR4.js → 6GFNMSM4.js} +1 -1
  36. package/dist/cdn/{JJXJPZUK.js → 6H3MIUBS.js} +1 -1
  37. package/dist/cdn/{TDYIVFVF.js → 6QZ7MAGX.js} +1 -1
  38. package/dist/cdn/{KXDLX4RE.js → 6WT5CUW4.js} +1 -1
  39. package/dist/cdn/{5DN4ONEW.js → 7LXH7MOG.js} +1 -1
  40. package/dist/cdn/{WP52KJNL.js → 7P24CQF4.js} +1 -1
  41. package/dist/cdn/{6ARTIZQQ.js → 7PMJ7HCH.js} +1 -1
  42. package/dist/cdn/{YBTMO6HU.js → AGMTGWSW.js} +1 -1
  43. package/dist/cdn/ANB7YZCR.js +2 -0
  44. package/dist/cdn/{ZNV3M5P2.js → ANL4FWAY.js} +1 -1
  45. package/dist/cdn/{7ID5HLPS.js → AV6RANT4.js} +1 -1
  46. package/dist/cdn/{NQXXIEV2.js → B5JHLGAR.js} +1 -1
  47. package/dist/cdn/{AUP633OS.js → BBCJXNKF.js} +1 -1
  48. package/dist/cdn/{G2PLGAUY.js → BDWZ4IDY.js} +1 -1
  49. package/dist/cdn/{TTWQ7RNF.js → BMCWYFA5.js} +1 -1
  50. package/dist/cdn/{T4B5XW65.js → BUJRBKUJ.js} +1 -1
  51. package/dist/cdn/{DF2MPD7N.js → BXBPEOE3.js} +1 -1
  52. package/dist/cdn/{6WFVZM5S.js → BZ7I4EVH.js} +1 -1
  53. package/dist/cdn/{6Y7Q7GRB.js → C56JAWYF.js} +1 -1
  54. package/dist/cdn/{37GYWGAF.js → C6YBFPOZ.js} +1 -1
  55. package/dist/cdn/{7BU454HH.js → CDZ5APA7.js} +1 -1
  56. package/dist/cdn/{UTJTCZCF.js → CLAUPAZP.js} +1 -1
  57. package/dist/cdn/{XVZ74ZME.js → CN4RPDZZ.js} +1 -1
  58. package/dist/cdn/{66TZB3H3.js → CNUAMIZQ.js} +1 -1
  59. package/dist/cdn/{E6ZXXC74.js → CRF4QEYX.js} +1 -1
  60. package/dist/cdn/{46IHEFRQ.js → CRJB272X.js} +1 -1
  61. package/dist/cdn/{3P44HZ3K.js → CX23L4OX.js} +1 -1
  62. package/dist/cdn/{SOLTOPI3.js → D3EEDNNQ.js} +1 -1
  63. package/dist/cdn/{EXB4CY2Y.js → D73SZKP6.js} +1 -1
  64. package/dist/cdn/{TIAFGALC.js → D7RGMUI2.js} +1 -1
  65. package/dist/cdn/{PSTG4I4W.js → DBDYLXR3.js} +1 -1
  66. package/dist/cdn/{2NMV3XLT.js → DENZ276N.js} +1 -1
  67. package/dist/cdn/{COC7IS2Z.js → DJTPCTD2.js} +1 -1
  68. package/dist/cdn/{GEOME3IC.js → DP2UXNPJ.js} +1 -1
  69. package/dist/cdn/{QSG4POLY.js → DVH35LZL.js} +1 -1
  70. package/dist/cdn/{HGEK42FO.js → DVLTVCIH.js} +1 -1
  71. package/dist/cdn/{RVXA65TI.js → DXPNJHEM.js} +1 -1
  72. package/dist/cdn/{446MXZCR.js → DYKRS7YX.js} +1 -1
  73. package/dist/cdn/{OLY5EME5.js → E3RBRDUV.js} +1 -1
  74. package/dist/cdn/{IN7TMVRK.js → EG2L67V5.js} +1 -1
  75. package/dist/cdn/{NRFCVOMM.js → ELK22XFC.js} +1 -1
  76. package/dist/cdn/{DARVFHQE.js → EMOYKTQL.js} +1 -1
  77. package/dist/cdn/{PLDTM6JH.js → EPPCGUBI.js} +1 -1
  78. package/dist/cdn/{RXKIZFNQ.js → EZFBYRI4.js} +1 -1
  79. package/dist/cdn/{27VBOPFN.js → F5JWLUNT.js} +1 -1
  80. package/dist/cdn/{7HBOZBSC.js → F5X65A3N.js} +1 -1
  81. package/dist/cdn/{5FBHHKRV.js → F6OOD4XH.js} +1 -1
  82. package/dist/cdn/{6Y36YFPN.js → FK6XIGNL.js} +1 -1
  83. package/dist/cdn/{CPWIRCCP.js → FK7DDNOY.js} +1 -1
  84. package/dist/cdn/{ZP2VJX3N.js → FPE4MRJJ.js} +1 -1
  85. package/dist/cdn/FTRRLFYT.js +2 -0
  86. package/dist/cdn/{Q7GF26CL.js → FY7P5YLX.js} +1 -1
  87. package/dist/cdn/{AHWBCZBO.js → G4CULX2V.js} +1 -1
  88. package/dist/cdn/{D6UG734Y.js → G7UA3GCV.js} +1 -1
  89. package/dist/cdn/{EP27GLNL.js → GA75N36P.js} +1 -1
  90. package/dist/cdn/{FOKE5ILO.js → GDE46UIN.js} +1 -1
  91. package/dist/cdn/{3B3VDGRJ.js → GEZIZQV6.js} +1 -1
  92. package/dist/cdn/{WGLTX4YP.js → GGS33TQP.js} +1 -1
  93. package/dist/cdn/{L5XC4FXT.js → GKMKHUYO.js} +1 -1
  94. package/dist/cdn/{I52P5EXK.js → GMXEWGVF.js} +1 -1
  95. package/dist/cdn/{F5N3YH5Z.js → GOMR7D5M.js} +1 -1
  96. package/dist/cdn/{TLAJ3GMX.js → GQDEVRKG.js} +1 -1
  97. package/dist/cdn/{C6K7TZ27.js → GRZJXRZ5.js} +1 -1
  98. package/dist/cdn/{32526XJ7.js → GTQOMGD7.js} +1 -1
  99. package/dist/cdn/{YFX2STSS.js → GZOFHTYL.js} +1 -1
  100. package/dist/cdn/{XQBN6SO5.js → H3BORJ4D.js} +1 -1
  101. package/dist/cdn/{SSB4SQXA.js → H7KPXXYG.js} +1 -1
  102. package/dist/cdn/{R2FI35AK.js → HKKNU4CX.js} +1 -1
  103. package/dist/cdn/{U6FSG7JR.js → HOMM5T7F.js} +1 -1
  104. package/dist/cdn/HR7ZYFTI.js +2 -0
  105. package/dist/cdn/{YBJ6ZAPO.js → HTUN6GST.js} +1 -1
  106. package/dist/cdn/{YDILFOHE.js → HU2SSY4B.js} +1 -1
  107. package/dist/cdn/{FQ3ZJA4Q.js → HU6UTBYZ.js} +1 -1
  108. package/dist/cdn/{GL66LRQX.js → HUZLTULW.js} +1 -1
  109. package/dist/cdn/{DU2IPXWR.js → HXQ26YHC.js} +1 -1
  110. package/dist/cdn/{QXEOEFF3.js → I7XTEFQP.js} +1 -1
  111. package/dist/cdn/{C53YBNQ4.js → ICVPF3HG.js} +1 -1
  112. package/dist/cdn/{4P4NKBQC.js → IGJX57YC.js} +1 -1
  113. package/dist/cdn/{GMN6YYZU.js → IH2T7XRU.js} +1 -1
  114. package/dist/cdn/{WKRW6DI5.js → IH7XQCY4.js} +1 -1
  115. package/dist/cdn/{U77WHUC6.js → IRDDLVT2.js} +1 -1
  116. package/dist/cdn/{PQ7NUE5C.js → IW3P4TGM.js} +1 -1
  117. package/dist/cdn/{VTDB4D2K.js → J2UKNBRU.js} +1 -1
  118. package/dist/cdn/{EPTTFCSI.js → J4Q5N5D6.js} +1 -1
  119. package/dist/cdn/{MN2WU342.js → JFE63ANJ.js} +1 -1
  120. package/dist/cdn/{JNNI75UW.js → JILA7S66.js} +1 -1
  121. package/dist/cdn/{ZAW644CF.js → JPQ5ELDQ.js} +1 -1
  122. package/dist/cdn/{PD7SLPIK.js → JWCEHGEZ.js} +1 -1
  123. package/dist/cdn/{YV35TNL4.js → K2FK6DOL.js} +1 -1
  124. package/dist/cdn/{LTFGTX7S.js → KBRYRH7T.js} +1 -1
  125. package/dist/cdn/{BABV4TXK.js → KKSTZRNG.js} +1 -1
  126. package/dist/cdn/{F233GPOS.js → KLSIUZNN.js} +1 -1
  127. package/dist/cdn/{LXHZGIW5.js → KMT6GH2D.js} +1 -1
  128. package/dist/cdn/{ZMP3REWL.js → KWY77UEE.js} +1 -1
  129. package/dist/cdn/{UVPQKV5P.js → KWYTKFIZ.js} +1 -1
  130. package/dist/cdn/{DZIJPJS3.js → L2L5W4AL.js} +1 -1
  131. package/dist/cdn/{PFSIUSDJ.js → L3G6WFXY.js} +1 -1
  132. package/dist/cdn/{5XMKJYT6.js → L6B4S7NV.js} +1 -1
  133. package/dist/cdn/{QBRGIFBY.js → LDNST76E.js} +1 -1
  134. package/dist/cdn/{IIX2OICP.js → LGBJIOTW.js} +1 -1
  135. package/dist/cdn/LHH3PS5H.js +2 -0
  136. package/dist/cdn/{7Y4SF2NT.js → LI3NOBHV.js} +1 -1
  137. package/dist/cdn/{3RSMD7RR.js → LQYTLVCL.js} +1 -1
  138. package/dist/cdn/{C74S3MND.js → LU7T7KSQ.js} +1 -1
  139. package/dist/cdn/{IZYFQNW2.js → LUXHFHRT.js} +1 -1
  140. package/dist/cdn/{BBKQM2GF.js → LWX6L3JT.js} +1 -1
  141. package/dist/cdn/{UYAOMCP7.js → LZUAJU6O.js} +1 -1
  142. package/dist/cdn/{2RTEHAVG.js → M4PV743P.js} +1 -1
  143. package/dist/cdn/{LSLTIN2Q.js → M4RV2DCP.js} +1 -1
  144. package/dist/cdn/{TRN35DVC.js → M5YUKXZG.js} +1 -1
  145. package/dist/cdn/{DFTYQJWJ.js → MG2HQ3FT.js} +1 -1
  146. package/dist/cdn/{MA2DWIGR.js → MGERV5RP.js} +1 -1
  147. package/dist/cdn/{O6KVILZF.js → MVTCAJTE.js} +1 -1
  148. package/dist/cdn/{6GGKA7MT.js → MVVX32NQ.js} +1 -1
  149. package/dist/cdn/{V4AT7ENI.js → N4HZLXED.js} +1 -1
  150. package/dist/cdn/{WPXCX7TX.js → NC7HMCQS.js} +1 -1
  151. package/dist/cdn/{57LPG3BE.js → NCI2IL35.js} +1 -1
  152. package/dist/cdn/{UZXVNOOD.js → NF426VVG.js} +1 -1
  153. package/dist/cdn/{YWOY3GID.js → NITCLRB6.js} +1 -1
  154. package/dist/cdn/{VKO3CVBS.js → NN4HL3RN.js} +1 -1
  155. package/dist/cdn/{M7MRLBZA.js → NPWUWO5D.js} +1 -1
  156. package/dist/cdn/{Z42MH42I.js → NTEKRSNB.js} +1 -1
  157. package/dist/cdn/{T25QR447.js → NYIKMTKG.js} +1 -1
  158. package/dist/cdn/{FTLNYN3G.js → NZQCJQ4Q.js} +1 -1
  159. package/dist/cdn/{3KAC2MKA.js → O2RCWKKW.js} +1 -1
  160. package/dist/cdn/{4WZZZTT5.js → OAZQQASF.js} +1 -1
  161. package/dist/cdn/{O5HQ5YZK.js → OJDGKV5X.js} +1 -1
  162. package/dist/cdn/{DCO26B7J.js → OMDFAKMT.js} +1 -1
  163. package/dist/cdn/{UVAUYBWF.js → OT4D3TVG.js} +1 -1
  164. package/dist/cdn/{LRH4FKHU.js → OWJ5ENXR.js} +1 -1
  165. package/dist/cdn/{PMRTCWGK.js → OZ7HDVE2.js} +1 -1
  166. package/dist/cdn/{CNXH745H.js → PQ4HZRQ5.js} +1 -1
  167. package/dist/cdn/{W73JDM22.js → PSBSMEOS.js} +1 -1
  168. package/dist/cdn/{S4L4V6FJ.js → PTJOLAFO.js} +1 -1
  169. package/dist/cdn/{ARLGT35P.js → PTS3BVGQ.js} +1 -1
  170. package/dist/cdn/{4ZAEHJPD.js → PWG3JEER.js} +1 -1
  171. package/dist/cdn/{6NSO42OW.js → PWMO74B5.js} +1 -1
  172. package/dist/cdn/{M4GAOTVS.js → PXRN3VUN.js} +1 -1
  173. package/dist/cdn/{PKYYNRBS.js → QHO5AMUP.js} +1 -1
  174. package/dist/cdn/{CDHP7WRH.js → QNQOBXLM.js} +1 -1
  175. package/dist/cdn/{OKAGFDAM.js → QVI5ZINK.js} +1 -1
  176. package/dist/cdn/{IFLDLAK4.js → RC7AEIEI.js} +1 -1
  177. package/dist/cdn/{XHCML3ZO.js → RCJ3GROZ.js} +1 -1
  178. package/dist/cdn/{GBMEEEGZ.js → RIWLSAPB.js} +1 -1
  179. package/dist/cdn/{4KWDLXSO.js → RLG3UWIL.js} +1 -1
  180. package/dist/cdn/{I6DE3NLP.js → RX7LVZ5V.js} +1 -1
  181. package/dist/cdn/{REB4CHAK.js → SAI7K4OO.js} +1 -1
  182. package/dist/cdn/{M3CIFZFR.js → SC4BF7H6.js} +1 -1
  183. package/dist/cdn/{BOPNSNUT.js → SKV3CQSZ.js} +1 -1
  184. package/dist/cdn/{N4D5I6Y4.js → SMEVSYDK.js} +1 -1
  185. package/dist/cdn/{GPYZM5CC.js → SMMOQFAB.js} +1 -1
  186. package/dist/cdn/{AMRSK274.js → SN6VSKBM.js} +1 -1
  187. package/dist/cdn/SPJZCPH4.js +2 -0
  188. package/dist/cdn/{ETD3FAGO.js → SQH7I4MS.js} +1 -1
  189. package/dist/cdn/{O2LMVVKS.js → SRPQR7CY.js} +1 -1
  190. package/dist/cdn/{MGH6EHT7.js → ST5CGV6Q.js} +1 -1
  191. package/dist/cdn/{3MWXYWKR.js → SUGD5PEJ.js} +1 -1
  192. package/dist/cdn/{2IBL2HKQ.js → T2BFHU2Z.js} +1 -1
  193. package/dist/cdn/{M7ENWEKN.js → T2JBUILX.js} +1 -1
  194. package/dist/cdn/{6CKQPMJB.js → TCY4IVTP.js} +1 -1
  195. package/dist/cdn/{Z42YLJMZ.js → TEEHMUMV.js} +1 -1
  196. package/dist/cdn/{NY5NK2MP.js → THHQJGUB.js} +1 -1
  197. package/dist/cdn/{Q2KWXSLQ.js → TII37L6V.js} +1 -1
  198. package/dist/cdn/{SI2DEXWH.js → TJHVEY7T.js} +1 -1
  199. package/dist/cdn/{3HI5IZSQ.js → TLZBUTWJ.js} +1 -1
  200. package/dist/cdn/{VWW5GBIK.js → TRRAIBBM.js} +1 -1
  201. package/dist/cdn/{2TTSZF7O.js → TXVB6WRV.js} +1 -1
  202. package/dist/cdn/U2UY53UR.js +2 -0
  203. package/dist/cdn/{A7YFCO3R.js → U2XP3I7M.js} +1 -1
  204. package/dist/cdn/{5B22465P.js → U53HTVZS.js} +1 -1
  205. package/dist/cdn/{WYYUFJHO.js → U6BOSBYA.js} +1 -1
  206. package/dist/cdn/{WKI4XW7G.js → U6UL7OKY.js} +1 -1
  207. package/dist/cdn/{JN6RVFAM.js → UI3RWIDZ.js} +1 -1
  208. package/dist/cdn/{EVWWTIEQ.js → UIDNNWPD.js} +1 -1
  209. package/dist/cdn/{25PLRKZK.js → UJBFSJDF.js} +1 -1
  210. package/dist/cdn/{34XDXFK6.js → V345T5CR.js} +1 -1
  211. package/dist/cdn/{XYAJT7LP.js → V6CCL3L6.js} +1 -1
  212. package/dist/cdn/{VXXXOGU7.js → VQURMPYV.js} +1 -1
  213. package/dist/cdn/{RINX3CTL.js → VRUG5L4Z.js} +1 -1
  214. package/dist/cdn/{IUYW4QOS.js → VVLJLOSE.js} +1 -1
  215. package/dist/cdn/{YEKQVWF5.js → VZUPHB6L.js} +1 -1
  216. package/dist/cdn/{VPREN7P6.js → WNXQHRKE.js} +1 -1
  217. package/dist/cdn/{BFYJTV6Q.js → WRB2DEQ6.js} +1 -1
  218. package/dist/cdn/{HLOH2QPV.js → WV3Q2QUS.js} +1 -1
  219. package/dist/cdn/{BVJRB5FA.js → WVRIR3PK.js} +1 -1
  220. package/dist/cdn/{ZCI6T4IU.js → WYQAN63T.js} +1 -1
  221. package/dist/cdn/{PJIES74D.js → X64WORSC.js} +1 -1
  222. package/dist/cdn/{XLB473BN.js → XFQWANZ4.js} +1 -1
  223. package/dist/cdn/{4H2REMNG.js → XMYFUC6S.js} +1 -1
  224. package/dist/cdn/{7V7LQ35Q.js → XQRLK3FO.js} +1 -1
  225. package/dist/cdn/{QZVF23GH.js → XRQKJFNJ.js} +1 -1
  226. package/dist/cdn/{PMXSSYFB.js → XWGAKGVP.js} +1 -1
  227. package/dist/cdn/{IKVGZFZ6.js → XXDJKZSO.js} +1 -1
  228. package/dist/cdn/Y4GL4RZF.js +2 -0
  229. package/dist/cdn/{TI7UH6FZ.js → Y5BPYGSY.js} +1 -1
  230. package/dist/cdn/{AGXUHDNS.js → Y6MM3GUE.js} +1 -1
  231. package/dist/cdn/{ZH3MW6H3.js → Y6ZJNJZ7.js} +1 -1
  232. package/dist/cdn/{KAG4QZ7K.js → Y6ZUXP3Q.js} +1 -1
  233. package/dist/cdn/{XO7X6L4B.js → YDDOSD2C.js} +1 -1
  234. package/dist/cdn/{Z6ZEF6NC.js → YE6AOCCR.js} +1 -1
  235. package/dist/cdn/{YCKZUQ7P.js → YEPFWDQQ.js} +1 -1
  236. package/dist/cdn/{5GFPOTOB.js → YEPGUNSV.js} +1 -1
  237. package/dist/cdn/{DXTK47ES.js → YGBYB3BZ.js} +1 -1
  238. package/dist/cdn/{CWCVAPXD.js → YGD6HMAF.js} +1 -1
  239. package/dist/cdn/{G6L4BDEL.js → YIN7QUD2.js} +1 -1
  240. package/dist/cdn/{BZXGVKKW.js → YVXXZIP7.js} +1 -1
  241. package/dist/cdn/{XLYOZSWI.js → YWKKRBFW.js} +1 -1
  242. package/dist/cdn/{CLICUS2A.js → Z6JIKBXL.js} +1 -1
  243. package/dist/cdn/{2GPVEWYM.js → ZRBE5FVD.js} +1 -1
  244. package/dist/cdn/{EJVFK7JX.js → ZRT4RJ62.js} +1 -1
  245. package/dist/cdn/{HTYTZ7GK.js → ZSO62SMG.js} +1 -1
  246. package/dist/cdn/{ZE4UHSTB.js → ZXE7NGIY.js} +1 -1
  247. package/dist/cdn/index.js +1 -1
  248. package/dist/components/arcgis-features-next/customElement.js +15 -15
  249. package/dist/docs/api.json +1 -1
  250. package/dist/docs/docs.json +1 -1
  251. package/dist/docs/web-types.json +1 -1
  252. package/package.json +6 -6
  253. package/dist/cdn/7ILT5PDJ.js +0 -2
  254. package/dist/cdn/DGXTCH6B.js +0 -2
  255. package/dist/cdn/HLZ5J5MD.js +0 -2
  256. package/dist/cdn/M7F66X42.js +0 -2
  257. package/dist/cdn/Q6RSVQNE.js +0 -2
  258. package/dist/cdn/TM4FFRX5.js +0 -2
  259. package/dist/cdn/XLZB6JMZ.js +0 -2
  260. package/dist/cdn/Y4C7JJCJ.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as _}from"./REB4CHAK.js";import"./Q7GF26CL.js";import"./U77WHUC6.js";import"./LXME6MU5.js";import{P as l,Q as h,R as o,_ as c,b as n,p as r}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([p,{renderingSanitizer:u}])=>{var a=class extends o{constructor(){super(...arguments),this._lastRun=0,this._attempted=!1,this._isCurrentlyInView=!1,this._io=null,this._titleContainerSpan=l(),this._messages=_(),this._generatedTitle=null,this.isNewFeature=!1}static{this.properties={_generatedTitle:16,graphic:0,layer:0,noTitleLabel:1,isNewFeature:5}}loaded(){this.manager.onLifecycle(()=>(this._addIntersectionObserver(),()=>{this._removeIntersectionObserver()}))}willUpdate(e){e.has("graphic")&&(this.hasUpdated||this.graphic!==null)&&this._changeGraphic()}updated(){!this._attempted&&this._isCurrentlyInView&&(this._attempted=!0,this._handleTitle().catch(e=>{r("warn",this,"Failed processing title")}))}get rootLayer(){return this.layer?.type==="subtype-sublayer"?this.layer.parent:this.layer}_changeGraphic(){this._changeData()}_changeData(){this._generatedTitle=null,this._attempted=!1}_createNoTitleLabel(){return this.noTitleLabel===null||this.noTitleLabel===void 0?this._messages.noTitleLabel??"":this.noTitleLabel}async _generateTitle(){if(!(this.layer&&this.graphic))return this._createNoTitleLabel();if(this.layer.getFeatureTitle){let e=this.graphic;if(this.isNewFeature&&this.layer?.objectIdField&&e){let{[this.layer.objectIdField]:i,...s}=e.attributes??{};e=new p({geometry:e.geometry,attributes:{...s}})}return await this.layer.getFeatureTitle(e)||this._createNoTitleLabel()}else return this._createNoTitleLabel()}async _handleTitle(){let e=++this._lastRun;if(!this._generatedTitle||this._generatedTitle==="")try{let t=await this._generateTitle();if(this._lastRun!==e||this._generatedTitle===t)return;this._generatedTitle=u.sanitize(t??"")}finally{this._attempted=!0}}_addIntersectionObserver(){let e={rootMargin:"50px 0px",threshold:.01};this._titleContainerSpan.value&&requestAnimationFrame(()=>{this.isConnected&&(this._io=new IntersectionObserver(t=>{let i=!1;t.forEach(s=>{s.intersectionRatio>0&&!i?(i=!0,this._isCurrentlyInView=!0,this._handleTitle().catch(g=>{r("warn",this,"Failed processing title")})):this._isCurrentlyInView=!1})},e),this._io.observe(this._titleContainerSpan.value))})}_removeIntersectionObserver(){this._io?.disconnect(),this._io=null}render(){return n`<span .innerHTML=${this._generatedTitle??""??""} ${h(this._titleContainerSpan)}></span>`}};c("arcgis-feature-title",a);return a},"Graphic","applications/Components/sanitizerUtils")
2
+ import{a as _}from"./SAI7K4OO.js";import"./FY7P5YLX.js";import"./IRDDLVT2.js";import"./LXME6MU5.js";import{P as l,Q as h,R as o,_ as c,b as n,p as r}from"./IW3P4TGM.js";import"./TAVTDQ6S.js";export default $arcgis.t(([p,{renderingSanitizer:u}])=>{var a=class extends o{constructor(){super(...arguments),this._lastRun=0,this._attempted=!1,this._isCurrentlyInView=!1,this._io=null,this._titleContainerSpan=l(),this._messages=_(),this._generatedTitle=null,this.isNewFeature=!1}static{this.properties={_generatedTitle:16,graphic:0,layer:0,noTitleLabel:1,isNewFeature:5}}loaded(){this.manager.onLifecycle(()=>(this._addIntersectionObserver(),()=>{this._removeIntersectionObserver()}))}willUpdate(e){e.has("graphic")&&(this.hasUpdated||this.graphic!==null)&&this._changeGraphic()}updated(){!this._attempted&&this._isCurrentlyInView&&(this._attempted=!0,this._handleTitle().catch(e=>{r("warn",this,"Failed processing title")}))}get rootLayer(){return this.layer?.type==="subtype-sublayer"?this.layer.parent:this.layer}_changeGraphic(){this._changeData()}_changeData(){this._generatedTitle=null,this._attempted=!1}_createNoTitleLabel(){return this.noTitleLabel===null||this.noTitleLabel===void 0?this._messages.noTitleLabel??"":this.noTitleLabel}async _generateTitle(){if(!(this.layer&&this.graphic))return this._createNoTitleLabel();if(this.layer.getFeatureTitle){let e=this.graphic;if(this.isNewFeature&&this.layer?.objectIdField&&e){let{[this.layer.objectIdField]:i,...s}=e.attributes??{};e=new p({geometry:e.geometry,attributes:{...s}})}return await this.layer.getFeatureTitle(e)||this._createNoTitleLabel()}else return this._createNoTitleLabel()}async _handleTitle(){let e=++this._lastRun;if(!this._generatedTitle||this._generatedTitle==="")try{let t=await this._generateTitle();if(this._lastRun!==e||this._generatedTitle===t)return;this._generatedTitle=u.sanitize(t??"")}finally{this._attempted=!0}}_addIntersectionObserver(){let e={rootMargin:"50px 0px",threshold:.01};this._titleContainerSpan.value&&requestAnimationFrame(()=>{this.isConnected&&(this._io=new IntersectionObserver(t=>{let i=!1;t.forEach(s=>{s.intersectionRatio>0&&!i?(i=!0,this._isCurrentlyInView=!0,this._handleTitle().catch(g=>{r("warn",this,"Failed processing title")})):this._isCurrentlyInView=!1})},e),this._io.observe(this._titleContainerSpan.value))})}_removeIntersectionObserver(){this._io?.disconnect(),this._io=null}render(){return n`<span .innerHTML=${this._generatedTitle??""??""} ${h(this._titleContainerSpan)}></span>`}};c("arcgis-feature-title",a);return a},"Graphic","applications/Components/sanitizerUtils")
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as g}from"./REB4CHAK.js";import{a as v}from"./L5IRXOCJ.js";import c from"./OLY5EME5.js";import{h as f}from"./Q7GF26CL.js";import"./U77WHUC6.js";import b from"./SI2DEXWH.js";import{a as d,c as h}from"./LXME6MU5.js";import{R as i,T as a,X as u,_ as m,a as r,b as n,x as o}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([,{a:p}])=>{var E=r`.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}`;function x(s){return s.includes("#")||s.includes(".")||s.includes("[")?s:`#${s}`}var c=class extends i{constructor(){super(),this.messages=g(),this.view=p(this),this.visualScale="m",this.arcgisPropertyChange=f()("state"),this.arcgisReady=o(),this.listenOn(document,"fullscreenchange",()=>this.fullscreenElement=document.fullscreenElement)}static{this.properties={fullscreenElement:16,view:0,element:1,label:1,messageOverrides:0,referenceElement:1,visualScale:1,state:35}}static{this.styles=E}get fullscreenTitle(){return this.state==="active"?this.messages.exit:this.messages.enter}#e;get element(){return this.#e}set element(e){if(typeof e=="string"){let t=x(e),l=h(this.el,t);this.#e=l||void 0}else this.#e=e}get state(){if(!document.fullscreenEnabled)return"unsupported";let e=this._getElement();return e?this.fullscreenElement===e?"active":"ready":"disabled"}connectedCallback(){super.connectedCallback(),this.fullscreenElement=document.fullscreenElement}_getElement(){let e=this.view?.container,t=e?.getRootNode(),l=t instanceof ShadowRoot?t.host:null;return this.element??e?.parentElement??l??null}_toggle(){this.state!=="unsupported"&&(document.fullscreenElement?document.exitFullscreen():this._getElement()?.requestFullscreen())}render(){let{fullscreenTitle:e,state:t}=this,l=t==="unsupported",b=t==="ready"||t==="disabled"||t==="unsupported"?"zoom-out-fixed":"zoom-in-fixed";return n`<div class=${a(d("root",v.arcgisButton))}><calcite-button .disabled=${t==="disabled"||l} .iconStart=${b} kind=neutral .label=${e} @click=${this._toggle} .scale=${this.visualScale} title=${e??u}></calcite-button></div>`}};m("arcgis-fullscreen",c);return c},b,c)
2
+ import{a as g}from"./SAI7K4OO.js";import{a as v}from"./L5IRXOCJ.js";import c from"./E3RBRDUV.js";import{h as f}from"./FY7P5YLX.js";import"./IRDDLVT2.js";import b from"./TJHVEY7T.js";import{a as d,c as h}from"./LXME6MU5.js";import{R as i,T as a,X as u,_ as m,a as r,b as n,x as o}from"./IW3P4TGM.js";import"./TAVTDQ6S.js";export default $arcgis.t(([,{a:p}])=>{var E=r`.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}`;function x(s){return s.includes("#")||s.includes(".")||s.includes("[")?s:`#${s}`}var c=class extends i{constructor(){super(),this.messages=g(),this.view=p(this),this.visualScale="m",this.arcgisPropertyChange=f()("state"),this.arcgisReady=o(),this.listenOn(document,"fullscreenchange",()=>this.fullscreenElement=document.fullscreenElement)}static{this.properties={fullscreenElement:16,view:0,element:1,label:1,messageOverrides:0,referenceElement:1,visualScale:1,state:35}}static{this.styles=E}get fullscreenTitle(){return this.state==="active"?this.messages.exit:this.messages.enter}#e;get element(){return this.#e}set element(e){if(typeof e=="string"){let t=x(e),l=h(this.el,t);this.#e=l||void 0}else this.#e=e}get state(){if(!document.fullscreenEnabled)return"unsupported";let e=this._getElement();return e?this.fullscreenElement===e?"active":"ready":"disabled"}connectedCallback(){super.connectedCallback(),this.fullscreenElement=document.fullscreenElement}_getElement(){let e=this.view?.container,t=e?.getRootNode(),l=t instanceof ShadowRoot?t.host:null;return this.element??e?.parentElement??l??null}_toggle(){this.state!=="unsupported"&&(document.fullscreenElement?document.exitFullscreen():this._getElement()?.requestFullscreen())}render(){let{fullscreenTitle:e,state:t}=this,l=t==="unsupported",b=t==="ready"||t==="disabled"||t==="unsupported"?"zoom-out-fixed":"zoom-in-fixed";return n`<div class=${a(d("root",v.arcgisButton))}><calcite-button .disabled=${t==="disabled"||l} .iconStart=${b} kind=neutral .label=${e} @click=${this._toggle} .scale=${this.visualScale} title=${e??u}></calcite-button></div>`}};m("arcgis-fullscreen",c);return c},b,c)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as W}from"./7V7LQ35Q.js";import e from"./ZH3MW6H3.js";import{a as y}from"./6J3KSMFG.js";import d from"./BOPNSNUT.js";import"./WJQUE4DR.js";import{a as w}from"./VKO3CVBS.js";import{a as j}from"./REB4CHAK.js";import"./L5IRXOCJ.js";import b from"./OLY5EME5.js";import"./Q7GF26CL.js";import"./U77WHUC6.js";import a from"./SI2DEXWH.js";import"./LXME6MU5.js";import{R as S,_ as C,a as D,b as c,x}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([g,{watch:H},J,{property:o,subclass:R},{signal:O},{isAbortError:K},Q,,{a:A},,{b:V,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{--arcgis-internal-building-explorer-content-text-color: initial;--arcgis-internal-building-explorer-button-background-color: initial;--arcgis-internal-building-explorer-button-text-color: var(--calcite-color-text-1);--arcgis-internal-building-explorer-selected-button-background-color: var(--calcite-color-brand);--arcgis-internal-building-explorer-selected-button-text-color: var(--calcite-color-text-inverse);--calcite-action-text-color: var(--arcgis-internal-building-explorer-content-text-color);--calcite-action-text-color-press: var(--arcgis-internal-building-explorer-content-text-color);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{color:var(--arcgis-internal-building-explorer-content-text-color, var(--calcite-color-text-2));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 N(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 P(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),h=(t,e,i)=>(ne(t,e,"read from private field"),i?i.call(t):e.get(t)),k=(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 J{constructor(t){super(t),k(this,$,O(!0)),k(this,E,O(void 0)),k(this,v,O(null)),k(this,_,new g),this._state="disabled",this._domainInfo=N([]),this._loadLayers=U(),this.layers=new g}initialize(){this.addHandles(this.layers.on("change",()=>{this._onLayersChange()})),this._onLayersChange()}destroy(){this._state="disabled"}get disabled(){return this.allowedValues.length===0||h(this,$).value}set disabled(t){h(this,$).value=t}get value(){return(this.state==="ready"?h(this,E).value:this._valueBeforeReady)??0}set value(t){if(this.state!=="ready"){this._valueBeforeReady=t;return}if(t===this.value)return;let e=P(t,this);e!=null&&(h(this,E).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 h(this,v).value??this._domainInfo.allowedValues}set allowedValues(t){t==null?h(this,v).value=null:h(this,v).value=t;let e=P(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 h(this,_)}set layers(t){h(this,_).removeAll(),h(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}P(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=N([]),this.layers.length!==0)try{await this._loadLayers(this.layers),this.state="ready",this._setup(),this.changeEmitter?.()}catch(t){K(t)||(this._state="failed")}}};$=new WeakMap;E=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:g})],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([R("esri.components.BuildingExplorer.BuildingNumericFilterViewModel")],n);var de=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,q=t=>{throw TypeError(t)},B=(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)),ge=(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,pe="bldglevel",f=class extends n{constructor(t){super(t),ge(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=V(s,pe);r!=null&&(this._levelFieldName=r.fieldName,t.push(r))}this._domainInfo=N(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;B([o()],f.prototype,"filterExpressions",1);B([o()],f.prototype,"_levelFieldName",2);B([o()],f.prototype,"_firstValue",1);f=B([R("esri.components.BuildingExplorer.BuildingLevel")],f);var fe=Object.defineProperty,me=Object.getOwnPropertyDescriptor,b=(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",p=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=V(i,_e);s!=null&&(this._createdPhaseFieldName=s.fieldName,t.push(s));let r=V(i,ve);r!=null&&(this._demolishedPhaseFieldName=r.fieldName,t.push(r))}this._domainInfo=N(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()}};b([o()],p.prototype,"filterExpressions",1);b([o()],p.prototype,"_createdPhaseFieldName",2);b([o()],p.prototype,"_demolishedPhaseFieldName",2);b([o()],p.prototype,"_lastValue",1);p=b([R("esri.components.BuildingExplorer.BuildingPhase")],p);var be=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,m=(t,e,i,s)=>{for(var r=s>1?void 0:s?xe(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&&be(e,i,r),r},u=class extends J{constructor(){super(...arguments),this.level=new f,this.phase=new p}get layers(){return this._layers}set layers(t){this._layers=t,this.level.layers=t??new g,this.phase.layers=t??new g}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([R()],u);var F=class extends S{constructor(){super(...arguments),this.messages=j({blocking:!0}),this.#i=new g,this.#r=new u,this.view=A(this),this.autoDestroyDisabled=!1,this.headingLevel=3,this.hideDisciplines=!1,this.hideLevelHeading=!1,this.hideLevels=!1,this.hidePhases=!1,this.icon="organization",this.toggleSiblingsVisibility=!1,this.arcgisBuildingLevelChange=x({bubbles:!0,composed:!0}),this.arcgisBuildingPhaseChange=x({bubbles:!0,composed:!0}),this.arcgisReady=x()}static{this.properties={view:0,autoDestroyDisabled:5,headingLevel:9,hideDisciplines:5,hideLevelHeading: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,toggleSiblingsVisibility:5}}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(()=>[H(()=>({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}),H(()=>this.layers,e=>{this.#r.layers=new g(e)},{initial:!0})])}render(){let e=this.messages;if(!this.supported)return L({label:e.componentLabel,children:c`<p class="disabled">${e.unsupported}</p>`});if(this.layers.length===0)return L({label:e.componentLabel,children:c`<p class="disabled">${e.noData}</p>`});if(this.#e.state==="failed"||this.#t.state==="failed")return L({label:e.componentLabel,children:c`<p class="disabled">${e.failed}</p>`});let i=this.hideLevels||this.#e.allowedValues.length<2,s=this.hidePhases||this.#t.allowedValues.length<2,r=this.#e.state!=="ready"||this.#t.state!=="ready";return L({label:e.componentLabel,loading:r,children:c`${y({hidden:i,children:c`<div>${this.hideLevelHeading?null:w({level:this.headingLevel,children:this.messages.level.title})}<arcgis-building-level-picker .messages=${e.level} .level=${this.#e}></arcgis-building-level-picker></div>`})}${y({hidden:s,children:c`<div>${w({level:this.headingLevel,children:this.messages.phase.title})}<arcgis-building-phase-picker .messages=${e.phase} .phase=${this.#t}></arcgis-building-phase-picker></div>`})}${y({hidden:this.hideDisciplines,children:c`<div>${w({level:this.headingLevel,children:this.messages.disciplines.title})}<arcgis-building-discipline-tree .layers=${this.layers} .messages=${this.messages.disciplines} .toggleSiblingsVisibility=${this.toggleSiblingsVisibility}></arcgis-building-discipline-tree></div>`})}`})}};function L(t){return W({class:"root",hideHeader:!0,label:t.label,children:c`${t.children}${t.loading?c`<calcite-scrim .loading=${t.loading}></calcite-scrim>`:null}`})}C("arcgis-building-explorer",F);return F},"core/Collection","core/reactiveUtils","core/Accessor","core/accessorSupport/decorators","applications/Components/reactiveUtils","core/promiseUtils","layers/support/BuildingFilter",a,b,d,e)
2
+ import{a as W}from"./XQRLK3FO.js";import e from"./Y6ZJNJZ7.js";import{a as y}from"./6J3KSMFG.js";import d from"./SKV3CQSZ.js";import"./WJQUE4DR.js";import{a as w}from"./NN4HL3RN.js";import{a as j}from"./SAI7K4OO.js";import"./L5IRXOCJ.js";import b from"./E3RBRDUV.js";import"./FY7P5YLX.js";import"./IRDDLVT2.js";import a from"./TJHVEY7T.js";import"./LXME6MU5.js";import{R as S,_ as C,a as D,b as c,x}from"./IW3P4TGM.js";import"./TAVTDQ6S.js";export default $arcgis.t(([g,{watch:H},J,{property:o,subclass:R},{signal:O},{isAbortError:K},Q,,{a:A},,{b:V,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{--arcgis-internal-building-explorer-content-text-color: initial;--arcgis-internal-building-explorer-button-background-color: initial;--arcgis-internal-building-explorer-button-text-color: var(--calcite-color-text-1);--arcgis-internal-building-explorer-selected-button-background-color: var(--calcite-color-brand);--arcgis-internal-building-explorer-selected-button-text-color: var(--calcite-color-text-inverse);--calcite-action-text-color: var(--arcgis-internal-building-explorer-content-text-color);--calcite-action-text-color-press: var(--arcgis-internal-building-explorer-content-text-color);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{color:var(--arcgis-internal-building-explorer-content-text-color, var(--calcite-color-text-2));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 N(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 P(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),h=(t,e,i)=>(ne(t,e,"read from private field"),i?i.call(t):e.get(t)),k=(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 J{constructor(t){super(t),k(this,$,O(!0)),k(this,E,O(void 0)),k(this,v,O(null)),k(this,_,new g),this._state="disabled",this._domainInfo=N([]),this._loadLayers=U(),this.layers=new g}initialize(){this.addHandles(this.layers.on("change",()=>{this._onLayersChange()})),this._onLayersChange()}destroy(){this._state="disabled"}get disabled(){return this.allowedValues.length===0||h(this,$).value}set disabled(t){h(this,$).value=t}get value(){return(this.state==="ready"?h(this,E).value:this._valueBeforeReady)??0}set value(t){if(this.state!=="ready"){this._valueBeforeReady=t;return}if(t===this.value)return;let e=P(t,this);e!=null&&(h(this,E).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 h(this,v).value??this._domainInfo.allowedValues}set allowedValues(t){t==null?h(this,v).value=null:h(this,v).value=t;let e=P(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 h(this,_)}set layers(t){h(this,_).removeAll(),h(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}P(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=N([]),this.layers.length!==0)try{await this._loadLayers(this.layers),this.state="ready",this._setup(),this.changeEmitter?.()}catch(t){K(t)||(this._state="failed")}}};$=new WeakMap;E=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:g})],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([R("esri.components.BuildingExplorer.BuildingNumericFilterViewModel")],n);var de=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,q=t=>{throw TypeError(t)},B=(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)),ge=(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,pe="bldglevel",f=class extends n{constructor(t){super(t),ge(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=V(s,pe);r!=null&&(this._levelFieldName=r.fieldName,t.push(r))}this._domainInfo=N(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;B([o()],f.prototype,"filterExpressions",1);B([o()],f.prototype,"_levelFieldName",2);B([o()],f.prototype,"_firstValue",1);f=B([R("esri.components.BuildingExplorer.BuildingLevel")],f);var fe=Object.defineProperty,me=Object.getOwnPropertyDescriptor,b=(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",p=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=V(i,_e);s!=null&&(this._createdPhaseFieldName=s.fieldName,t.push(s));let r=V(i,ve);r!=null&&(this._demolishedPhaseFieldName=r.fieldName,t.push(r))}this._domainInfo=N(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()}};b([o()],p.prototype,"filterExpressions",1);b([o()],p.prototype,"_createdPhaseFieldName",2);b([o()],p.prototype,"_demolishedPhaseFieldName",2);b([o()],p.prototype,"_lastValue",1);p=b([R("esri.components.BuildingExplorer.BuildingPhase")],p);var be=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,m=(t,e,i,s)=>{for(var r=s>1?void 0:s?xe(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&&be(e,i,r),r},u=class extends J{constructor(){super(...arguments),this.level=new f,this.phase=new p}get layers(){return this._layers}set layers(t){this._layers=t,this.level.layers=t??new g,this.phase.layers=t??new g}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([R()],u);var F=class extends S{constructor(){super(...arguments),this.messages=j({blocking:!0}),this.#i=new g,this.#r=new u,this.view=A(this),this.autoDestroyDisabled=!1,this.headingLevel=3,this.hideDisciplines=!1,this.hideLevelHeading=!1,this.hideLevels=!1,this.hidePhases=!1,this.icon="organization",this.toggleSiblingsVisibility=!1,this.arcgisBuildingLevelChange=x({bubbles:!0,composed:!0}),this.arcgisBuildingPhaseChange=x({bubbles:!0,composed:!0}),this.arcgisReady=x()}static{this.properties={view:0,autoDestroyDisabled:5,headingLevel:9,hideDisciplines:5,hideLevelHeading: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,toggleSiblingsVisibility:5}}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(()=>[H(()=>({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}),H(()=>this.layers,e=>{this.#r.layers=new g(e)},{initial:!0})])}render(){let e=this.messages;if(!this.supported)return L({label:e.componentLabel,children:c`<p class="disabled">${e.unsupported}</p>`});if(this.layers.length===0)return L({label:e.componentLabel,children:c`<p class="disabled">${e.noData}</p>`});if(this.#e.state==="failed"||this.#t.state==="failed")return L({label:e.componentLabel,children:c`<p class="disabled">${e.failed}</p>`});let i=this.hideLevels||this.#e.allowedValues.length<2,s=this.hidePhases||this.#t.allowedValues.length<2,r=this.#e.state!=="ready"||this.#t.state!=="ready";return L({label:e.componentLabel,loading:r,children:c`${y({hidden:i,children:c`<div>${this.hideLevelHeading?null:w({level:this.headingLevel,children:this.messages.level.title})}<arcgis-building-level-picker .messages=${e.level} .level=${this.#e}></arcgis-building-level-picker></div>`})}${y({hidden:s,children:c`<div>${w({level:this.headingLevel,children:this.messages.phase.title})}<arcgis-building-phase-picker .messages=${e.phase} .phase=${this.#t}></arcgis-building-phase-picker></div>`})}${y({hidden:this.hideDisciplines,children:c`<div>${w({level:this.headingLevel,children:this.messages.disciplines.title})}<arcgis-building-discipline-tree .layers=${this.layers} .messages=${this.messages.disciplines} .toggleSiblingsVisibility=${this.toggleSiblingsVisibility}></arcgis-building-discipline-tree></div>`})}`})}};function L(t){return W({class:"root",hideHeader:!0,label:t.label,children:c`${t.children}${t.loading?c`<calcite-scrim .loading=${t.loading}></calcite-scrim>`:null}`})}C("arcgis-building-explorer",F);return F},"core/Collection","core/reactiveUtils","core/Accessor","core/accessorSupport/decorators","applications/Components/reactiveUtils","core/promiseUtils","layers/support/BuildingFilter",a,b,d,e)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import a from"./BOPNSNUT.js";import{p as d}from"./PQ7NUE5C.js";export default $arcgis.t(([U,{property:l,subclass:x},p,{watch:N},A,I,T,{projectIsLoaded:k,projectExecute:O},y,{geographicToWebMercator:F},z,{project:Q},D,{b:m,c:u}])=>{var h=!1,L={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function G(t){let e="geolocation"in navigator;return e||d("warn",t,"Geolocation is not supported by this browser."),e}function K(t){let e=window.isSecureContext;return e||h||(h=!0,d("warn",t,"Geolocation requires a secure origin.")),e}function H(t){return G(t)&&K(t)}function he(t){return t??=L,new Promise((e,i)=>{setTimeout(()=>i(new p("geolocation:timeout","getting the current geolocation position timed out")),t?.timeout??15e3),navigator.geolocation.getCurrentPosition(e,i,t??void 0)})}function J(t,e){let{position:i,view:r}=t,o=V(i)?.coords;if(!o)throw new p("geometry-service:no-coords","Geolocation has no coordinates");let a=j(o);return q(a,r,e)}function V(t){let e=t?.coords||{},i={accuracy:e.accuracy,altitude:e.altitude,altitudeAccuracy:e.altitudeAccuracy,heading:e.heading,latitude:e.latitude,longitude:e.longitude,speed:e.speed,toJSON(){return{}}};return t&&{coords:i,timestamp:t.timestamp,toJSON(){return{}}}}function j({longitude:t,latitude:e,altitude:i}){return new T({longitude:t,latitude:e,z:i||void 0,spatialReference:{wkid:4326}})}async function q(t,e,i){if(!e)return await Promise.resolve(t);let r=e.spatialReference;return r.isWGS84?await Promise.resolve(t):r.isWebMercator?await Promise.resolve(F(t)):k()?O(t,r):await W(i).then(async o=>{if(!o)throw new p("geometry-service:missing-url","Geometry service URL is missing");let a=new D({geometries:[t],outSpatialReference:r});return(await Q(o,a,i))[0]})}async function W(t){if(y.geometryServiceUrl)return await Promise.resolve(y.geometryServiceUrl);let e=z.getDefault();try{await e.load(t)}catch{}return e.helperServices?.geometry?.url}var X=Object.defineProperty,B=Object.getOwnPropertyDescriptor,c=(t,e,i,r)=>{for(var o=r>1?void 0:r?B(e,i):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(o=(r?s(e,i,o):s(o))||o);return r&&o&&X(e,i,o),o},Z=2500;function w(t){let e={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:t==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:t==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:t==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return t==="background"&&(e.offsetX=0,e.offsetY=-1),e}var f={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},Y=w("layer"),_=w("background"),$=new I({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[Y,_,f],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),n=class extends U{constructor(){super(...arguments),this._geolocationUsable=!0,this.goToLocationEnabled=!0,this.graphic=new A({symbol:$}),this.rotationEnabled=!0}initialize(){H(this)||(this._geolocationUsable=!1),this.addHandles([N(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=void 0}_clearGraphic(){let{view:t,graphic:e}=this;t&&e&&t.graphics.remove(e)}_addGraphic(){let{view:t,graphic:e}=this;!t?.graphics||!e||t.graphics.includes(e)||t.graphics.push(e)}_handleViewTypeChange(){f.enable=this.view?.type==="2d"}_getScaleWithinConstraints(t,e){if(!e)return t;if(e.type==="2d"){let{effectiveMaxScale:i,effectiveMinScale:r}=e.constraints;return Math.min(r,Math.max(i,t))}return t}_getScale(t){let{scale:e}=this,i=typeof e=="number"?e:Z;return this._getScaleWithinConstraints(i,t)}_getHeading(t,e){let i=e?.spatialReference,r=i?.isWebMercator||i?.isGeographic,o=t.coords?.heading;return!r||typeof o!="number"||Number.isNaN(o)||o<0||o>360?null:o}_addHeading(t){let{heading:e,target:i,view:r}=t;if(!(!r||e===null)){if(r.type==="3d"){i.heading=e;return}r.type==="2d"&&(i.rotation=360-e)}}async _animatePoint(t,e,i,r){let{view:o}=this;if(!this.goToLocationEnabled||!o)return;let a={target:t,scale:e};this.rotationEnabled&&this._addHeading({heading:i,target:a,view:o});let s={signal:r.signal};if(m(s),this.goToOverride&&o)return await this.goToOverride(o,{target:a,options:s});await o.goTo(a,s)}async updatePosition(t,e){try{let i=this.view,r=await J({position:t,view:i},{signal:e.signal}),{graphic:o}=this,{timestamp:a,coords:s}=t,{accuracy:v,altitude:b,altitudeAccuracy:S,latitude:M,longitude:C,speed:E}=s,g=this._getHeading(t,i),P={timestamp:a,accuracy:v,altitude:b,altitudeAccuracy:S,heading:g,latitude:M,longitude:C,speed:E};o&&(o.geometry=r,o.attributes=P);let R=this._getScale(i);await this._animatePoint(r,R,g,e)}catch(i){if(!u(i))throw new p("geolocation-positioning:invalid-point","Cannot position invalid point",{error:i})}return t}};c([l()],n.prototype,"_geolocationUsable",2);c([l()],n.prototype,"geolocationOptions",2);c([l()],n.prototype,"goToLocationEnabled",2);c([l()],n.prototype,"goToOverride",2);c([l({type:A})],n.prototype,"graphic",2);c([l()],n.prototype,"scale",2);c([l()],n.prototype,"rotationEnabled",2);c([l()],n.prototype,"view",2);n=c([x("map-components.geolocation.GeolocationPositioning")],n);var Ae=n;return{a:he,b:Ae}},"core/Accessor","core/accessorSupport/decorators","core/Error","core/reactiveUtils","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",a)
2
+ import a from"./SKV3CQSZ.js";import{p as d}from"./IW3P4TGM.js";export default $arcgis.t(([U,{property:l,subclass:x},p,{watch:N},A,I,T,{projectIsLoaded:k,projectExecute:O},y,{geographicToWebMercator:F},z,{project:Q},D,{b:m,c:u}])=>{var h=!1,L={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function G(t){let e="geolocation"in navigator;return e||d("warn",t,"Geolocation is not supported by this browser."),e}function K(t){let e=window.isSecureContext;return e||h||(h=!0,d("warn",t,"Geolocation requires a secure origin.")),e}function H(t){return G(t)&&K(t)}function he(t){return t??=L,new Promise((e,i)=>{setTimeout(()=>i(new p("geolocation:timeout","getting the current geolocation position timed out")),t?.timeout??15e3),navigator.geolocation.getCurrentPosition(e,i,t??void 0)})}function J(t,e){let{position:i,view:r}=t,o=V(i)?.coords;if(!o)throw new p("geometry-service:no-coords","Geolocation has no coordinates");let a=j(o);return q(a,r,e)}function V(t){let e=t?.coords||{},i={accuracy:e.accuracy,altitude:e.altitude,altitudeAccuracy:e.altitudeAccuracy,heading:e.heading,latitude:e.latitude,longitude:e.longitude,speed:e.speed,toJSON(){return{}}};return t&&{coords:i,timestamp:t.timestamp,toJSON(){return{}}}}function j({longitude:t,latitude:e,altitude:i}){return new T({longitude:t,latitude:e,z:i||void 0,spatialReference:{wkid:4326}})}async function q(t,e,i){if(!e)return await Promise.resolve(t);let r=e.spatialReference;return r.isWGS84?await Promise.resolve(t):r.isWebMercator?await Promise.resolve(F(t)):k()?O(t,r):await W(i).then(async o=>{if(!o)throw new p("geometry-service:missing-url","Geometry service URL is missing");let a=new D({geometries:[t],outSpatialReference:r});return(await Q(o,a,i))[0]})}async function W(t){if(y.geometryServiceUrl)return await Promise.resolve(y.geometryServiceUrl);let e=z.getDefault();try{await e.load(t)}catch{}return e.helperServices?.geometry?.url}var X=Object.defineProperty,B=Object.getOwnPropertyDescriptor,c=(t,e,i,r)=>{for(var o=r>1?void 0:r?B(e,i):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(o=(r?s(e,i,o):s(o))||o);return r&&o&&X(e,i,o),o},Z=2500;function w(t){let e={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:t==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:t==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:t==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return t==="background"&&(e.offsetX=0,e.offsetY=-1),e}var f={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},Y=w("layer"),_=w("background"),$=new I({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[Y,_,f],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),n=class extends U{constructor(){super(...arguments),this._geolocationUsable=!0,this.goToLocationEnabled=!0,this.graphic=new A({symbol:$}),this.rotationEnabled=!0}initialize(){H(this)||(this._geolocationUsable=!1),this.addHandles([N(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=void 0}_clearGraphic(){let{view:t,graphic:e}=this;t&&e&&t.graphics.remove(e)}_addGraphic(){let{view:t,graphic:e}=this;!t?.graphics||!e||t.graphics.includes(e)||t.graphics.push(e)}_handleViewTypeChange(){f.enable=this.view?.type==="2d"}_getScaleWithinConstraints(t,e){if(!e)return t;if(e.type==="2d"){let{effectiveMaxScale:i,effectiveMinScale:r}=e.constraints;return Math.min(r,Math.max(i,t))}return t}_getScale(t){let{scale:e}=this,i=typeof e=="number"?e:Z;return this._getScaleWithinConstraints(i,t)}_getHeading(t,e){let i=e?.spatialReference,r=i?.isWebMercator||i?.isGeographic,o=t.coords?.heading;return!r||typeof o!="number"||Number.isNaN(o)||o<0||o>360?null:o}_addHeading(t){let{heading:e,target:i,view:r}=t;if(!(!r||e===null)){if(r.type==="3d"){i.heading=e;return}r.type==="2d"&&(i.rotation=360-e)}}async _animatePoint(t,e,i,r){let{view:o}=this;if(!this.goToLocationEnabled||!o)return;let a={target:t,scale:e};this.rotationEnabled&&this._addHeading({heading:i,target:a,view:o});let s={signal:r.signal};if(m(s),this.goToOverride&&o)return await this.goToOverride(o,{target:a,options:s});await o.goTo(a,s)}async updatePosition(t,e){try{let i=this.view,r=await J({position:t,view:i},{signal:e.signal}),{graphic:o}=this,{timestamp:a,coords:s}=t,{accuracy:v,altitude:b,altitudeAccuracy:S,latitude:M,longitude:C,speed:E}=s,g=this._getHeading(t,i),P={timestamp:a,accuracy:v,altitude:b,altitudeAccuracy:S,heading:g,latitude:M,longitude:C,speed:E};o&&(o.geometry=r,o.attributes=P);let R=this._getScale(i);await this._animatePoint(r,R,g,e)}catch(i){if(!u(i))throw new p("geolocation-positioning:invalid-point","Cannot position invalid point",{error:i})}return t}};c([l()],n.prototype,"_geolocationUsable",2);c([l()],n.prototype,"geolocationOptions",2);c([l()],n.prototype,"goToLocationEnabled",2);c([l()],n.prototype,"goToOverride",2);c([l({type:A})],n.prototype,"graphic",2);c([l()],n.prototype,"scale",2);c([l()],n.prototype,"rotationEnabled",2);c([l()],n.prototype,"view",2);n=c([x("map-components.geolocation.GeolocationPositioning")],n);var Ae=n;return{a:he,b:Ae}},"core/Accessor","core/accessorSupport/decorators","core/Error","core/reactiveUtils","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",a)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as l}from"./7Y4SF2NT.js";import f from"./7ILT5PDJ.js";import e from"./LSLTIN2Q.js";import d from"./7JPHMESH.js";import c from"./OLY5EME5.js";import{h as a}from"./Q7GF26CL.js";import"./U77WHUC6.js";import b from"./SI2DEXWH.js";import"./LXME6MU5.js";import{R as r,_ as o,a as t,x as i}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([c,,,,s,n])=>{var d=t`@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-table-list{display:flex;width:100%}.esri-table-list__filter-no-results{padding:12px 15px}.esri-table-list__item{--calcite-list-item-icon-center: 8.5px}.esri-table-list__status-indicator{visibility:hidden;color:var(--calcite-color-text-1);margin-inline:0}.esri-table-list__item-action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 16px;width:16px;height:16px;font-size:var(--calcite-font-size)}.esri-table-list__action-menu .esri-table-list__action-group{display:none}.esri-table-list__action-menu[open] .esri-table-list__action-group{display:flex}.esri-table-list__publishing{visibility:visible;color:var(--calcite-color-text-3);animation:2s infinite esri-table-layer-list__publishing-anim}.esri-table-list__item-content-bottom{margin:12px 15px}.esri-table-list__item-content-bottom .esri-legend__service{padding:0 0 12px}.esri-table-list__item-message{margin:12px 15px}@keyframes esri-table-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}`,p=s(c),e=class extends r{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.map=this.widget.map,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.tables=this.viewModel.tables,this.arcgisPropertyChange=a()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,icon:1,label:1,listItemCreatedFunction:0,map:0,minDragEnabledItems:9,minFilterItems:9,referenceElement:1,selectedItems:0,selectionMode:1,state:32,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5,tables:0,view:0}}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",e);return e},"widgets/TableList",b,c,d,e,f)
2
+ import{a as l}from"./LI3NOBHV.js";import f from"./ANB7YZCR.js";import e from"./M4RV2DCP.js";import d from"./3VFPLRD3.js";import c from"./E3RBRDUV.js";import{h as a}from"./FY7P5YLX.js";import"./IRDDLVT2.js";import b from"./TJHVEY7T.js";import"./LXME6MU5.js";import{R as r,_ as o,a as t,x as i}from"./IW3P4TGM.js";import"./TAVTDQ6S.js";export default $arcgis.t(([c,,,,s,n])=>{var d=t`@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-table-list{display:flex;width:100%}.esri-table-list__filter-no-results{padding:12px 15px}.esri-table-list__item{--calcite-list-item-icon-center: 8.5px}.esri-table-list__status-indicator{visibility:hidden;color:var(--calcite-color-text-1);margin-inline:0}.esri-table-list__item-action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 16px;width:16px;height:16px;font-size:var(--calcite-font-size)}.esri-table-list__action-menu .esri-table-list__action-group{display:none}.esri-table-list__action-menu[open] .esri-table-list__action-group{display:flex}.esri-table-list__publishing{visibility:visible;color:var(--calcite-color-text-3);animation:2s infinite esri-table-layer-list__publishing-anim}.esri-table-list__item-content-bottom{margin:12px 15px}.esri-table-list__item-content-bottom .esri-legend__service{padding:0 0 12px}.esri-table-list__item-message{margin:12px 15px}@keyframes esri-table-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}`,p=s(c),e=class extends r{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.map=this.widget.map,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.tables=this.viewModel.tables,this.arcgisPropertyChange=a()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,icon:1,label:1,listItemCreatedFunction:0,map:0,minDragEnabledItems:9,minFilterItems:9,referenceElement:1,selectedItems:0,selectionMode:1,state:32,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5,tables:0,view:0}}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",e);return e},"widgets/TableList",b,c,d,e,f)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import i from"./PCXDOSKQ.js";import f from"./7ILT5PDJ.js";import e from"./LSLTIN2Q.js";import c from"./7JPHMESH.js";import b from"./OLY5EME5.js";import{f as u,h as m}from"./Q7GF26CL.js";import"./U77WHUC6.js";import a from"./SI2DEXWH.js";import{d as h}from"./LXME6MU5.js";import{R as d,_ as g,a as s,p as l,x as o}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{on:w},_,v,{b:n,i:b},,,p,a,f])=>{async function x(r,e){if(!r||n(r))return null;let t=r;typeof e=="number"&&(r.endsWith("/")?t=`${r}${e}`:t=`${r}/${e}`);let i=await v.fromArcGISServerUrl({url:t});return await i.load(),i}async function y(r,e,t){if(!r||n(r))return null;let i=await v.fromPortalItem({portalItem:{id:r}});if(await i.load(),t!=null)return i.type==="group"||i.type==="knowledge-graph"?i.tables.at(t):i;if(e==null)return i;if(i.type==="group"||i.type==="knowledge-graph")return i.layers.at(e);if(i.type==="map-image")return i.findSublayerById(e);if(i.type==="subtype-group")return i.sublayers.at(e)}var k=s`.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{--arcgis-internal-feature-table-icon-color: var(--calcite-icon-color);--arcgis-internal-feature-table-background-color: var(--calcite-color-surface-2);--arcgis-internal-feature-table-background-color-secondary: var(--calcite-color-surface-1);--arcgis-internal-feature-table-text-color: var(--calcite-color-text-1);--arcgis-internal-feature-table-text-color-secondary: var(--calcite-color-text-2);--arcgis-internal-feature-table-text-color-tertiary: var(--calcite-color-text-3);--arcgis-internal-feature-table-text-color-hover: var(--arcgis-internal-feature-table-text-color);--arcgis-internal-feature-table-interactive-text-color: var(--calcite-color-text-1);--arcgis-internal-feature-table-interactive-text-color-hover: var(--calcite-color-text-1);--arcgis-internal-feature-table-text-color-link: var(--calcite-color-text-link);--arcgis-internal-feature-table-text-color-link-hover: var(--calcite-color-text-highlight);--arcgis-internal-feature-table-column-header-background-color: var(--calcite-color-surface-1);--arcgis-internal-feature-table-column-header-sorted-background-color: var( --arcgis-internal-feature-table-background-color );--arcgis-internal-feature-table-column-header-icon-color: var(--arcgis-internal-feature-table-icon-color);--arcgis-internal-feature-table-column-header-text-color: var(--arcgis-internal-feature-table-text-color);--arcgis-internal-feature-table-column-header-text-font-weight: var(--calcite-font-weight-regular);--arcgis-internal-feature-table-row-background-color: var(--calcite-color-surface-2);--arcgis-internal-feature-table-row-background-color-hover: var(--calcite-color-surface-3);--arcgis-internal-feature-table-selection-checkbox-color: var(--calcite-icon-color, var(--calcite-color-brand));--arcgis-internal-feature-table-selected-row-text-color: var(--arcgis-internal-feature-table-text-color);--arcgis-internal-feature-table-selected-row-text-color-hover: var(--arcgis-internal-feature-table-text-color);--arcgis-internal-feature-table-selected-row-background-color-primary: var(--calcite-color-brand);--arcgis-internal-feature-table-selected-row-background-color-secondary: var(--calcite-color-surface-2);--arcgis-internal-feature-table-selected-row-background-color: color-mix( in sRGB, var(--arcgis-internal-feature-table-selected-row-background-color-primary) 10%, var(--arcgis-internal-feature-table-selected-row-background-color-secondary) );--arcgis-internal-feature-table-selected-row-background-color-hover: color-mix( in sRGB, var(--arcgis-internal-feature-table-selected-row-background-color-primary) 20%, var(--arcgis-internal-feature-table-selected-row-background-color-secondary) )}.esri-feature-table{--icon-size: 64px;flex-direction:column;width:100%;height:100%;display:flex}.esri-feature-table__content{--calcite-action-text-color: var(--arcgis-internal-feature-table-interactive-text-color);--calcite-action-text-color-press: var(--arcgis-internal-feature-table-interactive-text-color-hover);--calcite-panel-description-text-color: var(--arcgis-internal-feature-table-text-color-secondary);--calcite-panel-header-action-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-panel-header-background-color: var(--arcgis-internal-feature-table-background-color);--calcite-panel-heading-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-panel-icon-color: var(--arcgis-internal-feature-table-text-color);overflow:hidden}.esri-feature-table__content calcite-pagination{justify-content:center}.esri-feature-table calcite-scrim>div:first-child{min-width:300px;max-width:400px;max-height:100%;position:relative}.esri-feature-table__collapsed{min-width:500px}.esri-feature-table__collapsed:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px;max-width:300px}.esri-feature-table__expanded{min-width:300px;display:flex}.esri-feature-table__expanded:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2)}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel{min-width:fit-content}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel>div:first-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child .esri-feature-table__collapsed{max-width:inherit}.esri-feature-table__table-container{flex:1 1 0;min-height:0;margin:0;padding:0;display:flex;width:100%;height:100%}.esri-feature-table__table-container calcite-panel>div{overflow-y:auto}.esri-feature-table__table-container calcite-panel div{flex:1 1 0;display:flex}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list{--calcite-list-label-text-color: var(--arcgis-internal-feature-table-text-color);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);color:var(--arcgis-internal-feature-table-text-color);flex:1 1 0;min-width:480px;overflow-y:auto}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list__filesize{cursor:default;align-items:center;height:100%;margin-inline-end:var(--calcite-space-md);display:flex}.esri-feature-table__table-navigation{--calcite-label-margin-bottom: 0;background-color:var(--arcgis-internal-feature-table-background-color);width:100%;line-height:initial;align-items:center;padding-block-start:var(--calcite-space-base);display:flex}.esri-feature-table__table-navigation calcite-action:first-child{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);transform:scaleX(-1)}.esri-feature-table__table-navigation calcite-chip{--calcite-chip-close-icon-color: var(--calcite-color-text-inverse);margin-inline-end:var(--calcite-space-md)}.esri-feature-table__table-navigation calcite-label{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding-inline:var(--calcite-space-md);height:100%}.esri-feature-table__table-navigation calcite-action{display:flex;overflow:hidden}.esri-feature-table__table-navigation div:last-child{float:inline-end;align-items:center;height:100%;margin-inline:auto 0;display:flex}.esri-feature-table__table-navigation calcite-action:last-child{float:inline-end;margin-inline:auto 0;display:flex}.esri-feature-table__attachments-view{background-color:var(--arcgis-internal-feature-table-background-color);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px}.esri-feature-table__attachments-view__content{background-color:var(--arcgis-internal-feature-table-background-color-secondary);padding:var(--calcite-space-md);flex-direction:column;justify-content:center;align-items:center;width:100%;max-height:100%;overflow-y:auto}.esri-feature-table__attachments-view__details,.esri-feature-table__attachments-view__drop-area{flex-direction:column;justify-content:center;align-items:center;width:100%}.esri-feature-table__attachments-view__details{padding:var(--calcite-space-xl);max-height:100%}.esri-feature-table__attachments-view__details img{display:block;padding:var(--calcite-space-sm);max-width:100%;max-height:100%}.esri-feature-table__attachments-view__details calcite-action{position:sticky}.esri-feature-table__attachments-view__drop-area{border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-sm);text-align:center}.esri-feature-table__attachments-view__drop-area form{justify-content:center;display:flex}.esri-feature-table__attachments-view__drop-area form fieldset{border:none;display:flex;flex-direction:column;align-items:center}.esri-feature-table__attachments-view__drop-area form fieldset calcite-button,.esri-feature-table__attachments-view__drop-area form fieldset span{margin-bottom:var(--calcite-space-sm)}.esri-feature-table__attachments-view__drop-area__label{margin-bottom:var(--calcite-space-md);font-size:var(--calcite-font-size-md)}.esri-feature-table__attachments-view__drop-area__message{margin-bottom:var(--calcite-space-md);word-break:break-all}.esri-feature-table__attachments-view__icon{--calcite-icon-color: var(--arcgis-internal-feature-table-icon-color);margin-bottom:var(--calcite-space-md);block-size:var(--icon-size);inline-size:var(--icon-size)}.esri-feature-table__attachments-view__information{--calcite-button-border-color: var(--calcite-color-brand);--calcite-button-text-color: var(--calcite-color-brand);padding:var(--calcite-space-md);flex-direction:column;max-width:200px;overflow-y:auto}.esri-feature-table__attachments-view__information calcite-button,.esri-feature-table__attachments-view__information calcite-icon,.esri-feature-table__attachments-view__information img{margin-block-end:var(--calcite-space-md)}.esri-feature-table__attachments-view__information__data{margin-block-end:var(--calcite-space-md);word-wrap:break-word;color:var(--arcgis-internal-feature-table-text-color)}.esri-feature-table__attachments-view__information__label{color:var(--arcgis-internal-feature-table-text-color-tertiary);font-weight:var(--calcite-font-weight-regular)}.esri-feature-table__attachments-view__list-item--delete{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-feature-table__attachments-view__list__thumbnail{margin-block:var(--calcite-space-sm);justify-content:center;align-items:center}.esri-feature-table__attachments-view__list__thumbnail span{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);width:var(--icon-size);height:var(--icon-size);color:var(--arcgis-internal-feature-table-text-color-tertiary);justify-content:center;align-items:center;display:flex;overflow:hidden}.esri-feature-table__menu-popover{--calcite-popover-text-color: var(--arcgis-internal-feature-table-text-color)}.esri-feature-table__menu-popover calcite-list{--calcite-button-text-color: var(--arcgis-internal-feature-table-text-color-link);--calcite-list-label-text-color: var(--arcgis-internal-feature-table-text-color);color:var(--arcgis-internal-feature-table-text-color);max-width:300px;max-height:260px;overflow-y:auto}.esri-feature-table__dialog{--calcite-dialog-content-space: 0;--calcite-dialog-heading-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-dialog-description-text-color: var(--arcgis-internal-feature-table-text-color-secondary)}.esri-feature-table__dialog calcite-progress{position:sticky;top:0;margin-bottom:var(--calcite-space-sm)}.esri-feature-table__dialog calcite-pagination{justify-content:center;width:100%}.esri-feature-table__dialog calcite-panel{--calcite-panel-description-text-color: var(--arcgis-internal-feature-table-text-color-secondary);--calcite-panel-header-action-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-panel-heading-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-panel-icon-color: var(--arcgis-internal-feature-table-text-color)}.esri-feature-table__dialog img{width:auto;max-width:100%}.esri-feature-table__dialog__content{display:flex;flex-direction:column;flex-grow:1;align-items:center;justify-content:center}.esri-feature-table__dialog__header{color:var(--arcgis-internal-feature-table-text-color);display:flex;flex-direction:row;gap:var(--calcite-space-sm);justify-content:space-between;width:100%}.esri-feature-table__dialog__header span{align-self:center;word-break:break-all;padding-inline-start:var(--calcite-space-md)}.esri-feature-table__footer__message{gap:var(--calcite-space-sm);margin:0 var(--calcite-space-md);align-items:center;display:flex}.esri-feature-table__footer__icon--danger{color:var(--calcite-color-status-danger)}.esri-feature-table__footer__icon--success{color:var(--calcite-color-status-success)}.esri-feature-table__layer-switcher-menu{--calcite-dropdown-item-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-dropdown-item-text-color-press: var(--arcgis-internal-feature-table-text-color);align-items:center;display:flex}calcite-button.esri-attachments-column__button,calcite-button.esri-column__show-related-records-button{--calcite-button-background-color: transparent;--calcite-button-icon-color: var(--arcgis-internal-feature-table-text-color-link);--calcite-button-text-color: var(--arcgis-internal-feature-table-text-color-link);--calcite-offset-invert-focus: 2}calcite-button.esri-attachments-column__button:hover,calcite-button.esri-column__show-related-records-button:hover{--calcite-button-icon-color: var(--arcgis-internal-feature-table-text-color-link-hover);--calcite-button-text-color: var(--arcgis-internal-feature-table-text-color-link-hover)}.esri-column__show-related-records-button{height:100%;display:flex}.esri-attachments-column__button{overflow:hidden}.esri-attachments-column__button>div{display:flex;overflow:hidden}.esri-attachments-column__button>div>div:first-child{text-overflow:ellipsis;width:100%;margin-inline-end:var(--calcite-space-2xl);overflow:hidden}.esri-attachments-column__button>div span{align-self:center;position:absolute;inset-inline-end:var(--calcite-space-3xl)}.esri-attachments-column__content{flex-direction:row;justify-content:space-between;width:100%;height:100%;display:flex;overflow:hidden}.esri-attachments-column__content>div:first-child{text-overflow:ellipsis;line-height:0;overflow:hidden}.esri-attachments-column__button calcite-icon,.esri-attachments-column__button img,.esri-attachments-column__content calcite-icon,.esri-attachments-column__content img{max-width:var(--calcite-space-2xl);max-height:var(--calcite-space-2xl);vertical-align:middle;margin-inline-end:var(--calcite-space-2xs);display:inline-flex}.esri-grid{background-color:var(--arcgis-internal-feature-table-background-color);width:100%;height:100%}.esri-grid vaadin-grid{border-block-end:none;border-inline:none;background-color:inherit;color:inherit;font-family:inherit;font-size:var(--calcite-font-size);overflow:visible}.esri-grid vaadin-grid[reordering]::part(cell):after{content:normal}.esri-grid vaadin-grid[reordering]::part(frozen-cell),.esri-grid vaadin-grid[reordering]::part(frozen-to-end-cell),.esri-grid vaadin-grid[reordering]::part(reorder-allowed-cell){filter:brightness(.9) contrast(1.1)}.esri-grid vaadin-grid::part(empty-state){border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);color:var(--arcgis-internal-feature-table-text-color)}.esri-grid vaadin-grid::part(cell editing){z-index:2}.esri-grid vaadin-grid::part(frozen-cell),.esri-grid vaadin-grid::part(frozen-to-end-cell){z-index:4}.esri-grid vaadin-grid::part(cell last-frozen-cell){overflow:visible}.esri-grid vaadin-grid::part(cell text-wrap){text-wrap:wrap}.esri-grid vaadin-grid-cell-content{box-sizing:border-box!important;align-items:center;padding:var(--calcite-space-2xs) var(--calcite-space-sm);height:100%;min-height:var(--calcite-font-line-height-fixed-3xl)}.esri-grid vaadin-grid::part(cell){border-inline-end:var(--calcite-border-width-sm) solid;border-color:var(--calcite-color-surface-4);line-height:28px;color:var(--arcgis-internal-feature-table-text-color)}.esri-grid vaadin-grid::part(cell):focus:after{outline-color:var(--calcite-color-brand)}.esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(body-cell){background-color:var(--arcgis-internal-feature-table-row-background-color)}.esri-grid vaadin-grid::part(body-cell):hover{background-color:var(--arcgis-internal-feature-table-row-background-color-hover);color:var(--arcgis-internal-feature-table-text-color-hover)}.esri-grid vaadin-grid::part(body-cell invalid){color:var(--arcgis-internal-feature-table-text-color-tertiary);font-style:italic}.esri-grid vaadin-grid::part(header-cell){background-color:var(--arcgis-internal-feature-table-column-header-background-color)}.esri-grid vaadin-grid::part(header-cell invalid){font-weight:var(--calcite-font-weight-bold)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand);background-color:var(--arcgis-internal-feature-table-column-header-sorted-background-color)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand)}.esri-grid vaadin-grid::part(body-cell highlight){background-color:var(--calcite-color-surface-4)}.esri-grid vaadin-grid::part(selected-row-cell){background-color:var(--arcgis-internal-feature-table-selected-row-background-color);color:var(--arcgis-internal-feature-table-selected-row-text-color)}.esri-grid vaadin-grid::part(selected-row-cell):hover{background-color:var(--arcgis-internal-feature-table-selected-row-background-color-hover);color:var(--arcgis-internal-feature-table-selected-row-text-color-hover)}.esri-grid vaadin-grid::part(body-cell pending-edit){border:var(--calcite-border-width-md) solid var(--calcite-color-status-success);background-color:color-mix(in sRGB,var(--calcite-color-status-success) 20%,var(--arcgis-internal-feature-table-background-color))}.esri-grid vaadin-grid::part(body-cell pending-edit):hover{background-color:color-mix(in sRGB,var(--calcite-color-status-success-hover) 20%,var(--arcgis-internal-feature-table-background-color))}.esri-grid vaadin-grid::part(body-cell pending-edit-invalid){border:var(--calcite-border-width-md) dashed var(--calcite-color-status-danger);background-color:color-mix(in sRGB,var(--calcite-color-status-danger) 20%,var(--arcgis-internal-feature-table-background-color));font-weight:var(--calcite-font-weight-bold)}.esri-grid vaadin-grid::part(body-cell pending-edit-invalid):hover{background-color:color-mix(in sRGB,var(--calcite-color-status-danger-hover) 20%,var(--arcgis-internal-feature-table-background-color))}.esri-grid vaadin-grid::part(body-cell pending-edit-other){cursor:not-allowed;color:var(--arcgis-internal-feature-table-text-color-tertiary)}.esri-grid vaadin-checkbox{line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox::part(checkbox){background-color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox[checked]::part(checkbox){background-color:var(--arcgis-internal-feature-table-selection-checkbox-color)}.esri-grid vaadin-grid-sorter[direction]::part(indicators),.esri-grid vaadin-grid-sorter[direction]::part(order){color:var(--arcgis-internal-feature-table-column-header-text-color)}.esri-grid .esri-grid__content{background-color:var(--arcgis-internal-feature-table-background-color-secondary);width:100%;height:100%}.esri-grid .esri-grid__grid{width:100%;height:100%}.esri-grid a{color:var(--arcgis-internal-feature-table-text-color-link);text-decoration:underline}.esri-grid a:hover,.esri-grid a:focus{color:var(--arcgis-internal-feature-table-text-color-link-hover)}.esri-grid .esri-column__content--full{width:100%;height:100%;position:absolute;top:0;left:0}.esri-grid .esri-column__header-content{text-align:start;align-items:flex-start;width:100%;height:100%;font-weight:var(--calcite-font-weight-regular);display:flex;overflow:hidden}.esri-grid .esri-column__header-content:has(calcite-icon:only-child){justify-content:center;align-items:center}.esri-grid .esri-column__header-content div{width:100%;flex-flow:column wrap;display:flex;overflow:hidden}.esri-grid .esri-column__header-content div span{text-overflow:ellipsis;width:100%;line-height:var(--calcite-font-line-height-fixed-xl);overflow:hidden}.esri-grid .esri-column__header-content calcite-icon{color:var(--arcgis-internal-feature-table-column-header-icon-color);height:var(--calcite-space-2xl);margin-inline-end:var(--calcite-space-2xs)}.esri-grid .esri-column__header-content calcite-dropdown{float:inline-end;max-height:180px}.esri-grid .esri-column__header-content calcite-dropdown calcite-action{--calcite-icon-color: var(--arcgis-internal-feature-table-column-header-icon-color)}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group{max-width:200px;overflow-x:auto}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group:only-of-type{max-height:180px;overflow:visible}.esri-grid .esri-column__header-content calcite-dropdown[open] calcite-dropdown-item{display:flex}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item,.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item[hidden]{display:none}.esri-grid .esri-column__header-description{color:var(--arcgis-internal-feature-table-text-color-tertiary);font-size:var(--calcite-font-size-sm)}.esri-grid .esri-column__sorter:hover{cursor:pointer}.esri-grid .esri-column__sorter,.esri-grid .esri-column__header-label{color:var(--arcgis-internal-feature-table-column-header-text-color);flex-grow:1;font-weight:var(--arcgis-internal-feature-table-column-header-text-font-weight);align-items:center;display:flex;overflow:hidden}.esri-column__header-menu-icon{margin-inline-end:15px}.esri-column__cell-input{border:none;flex:1 1 0;width:100%;height:100%}.esri-column__cell__input-container{flex-direction:column;align-items:center;width:100%;display:flex}.esri-column__cell__input-container input,.esri-column__cell__input-container select{padding:0;position:absolute;top:0;left:0}.esri-column__cell__input-container div,.esri-column__cell__input-container input,.esri-column__cell__input-container select{width:100%;display:flex}.esri-column__cell__input-container calcite-action-bar{background-color:var(--arcgis-internal-feature-table-background-color-secondary)}.esri-column__cell__input-container div:first-child{flex-direction:column}.esri-column__cell__input-container calcite-input-time-zone{--calcite-dropdown-width: 200px}.esri-column__cell__input-container calcite-input-time-picker:last-child,.esri-column__cell__input-container calcite-input-time-picker:nth-child(2),.esri-column__cell__input-container calcite-input-time-zone{margin-top:-1px}.esri-feature-table .esri-editor__prompt--danger{border-top:solid 3px var(--calcite-color-status-danger);background-color:var(--calcite-color-surface-1);color:var(--arcgis-internal-feature-table-text-color);flex-flow:column;max-height:85%;padding-block:var(--calcite-space-md);padding-inline:15px;animation:.25s ease-in-out esri-fade-in-up;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 1px 2px #0000004d}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__header{color:var(--calcite-color-status-danger);flex:none;align-items:center;gap:7px;margin-bottom:var(--calcite-space-md);display:flex}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__header__heading{color:var(--arcgis-internal-feature-table-text-color);margin:0 3px}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__message{word-break:break-word;color:inherit;flex:auto;padding:0 0 12px;font-weight:var(--calcite-font-weight-regular);overflow:hidden auto}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__divider{color:inherit;border-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:1px;flex:none;margin:0 0 12px}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__actions{flex-direction:row;display:flex}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__half-width-button{width:50%}`,C=p(_),c=class extends d{constructor(){super(...arguments),this._direction=u(),this.widget=C(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.attachmentsColumns=this.widget.attachmentsColumns,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumn=this.widget.actionColumn,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allColumns=this.widget.allColumns,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.allVisibleColumns=this.widget.allVisibleColumns,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.attachmentsViewOptions=this.widget.attachmentsViewOptions,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.autoSaveDisabled=this.widget.autoSaveEnabled,this.canAddRelatedFeature=this.widget.canAddRelatedFeature,this.closed=this.widget.closed,this.collapsed=this.widget.collapsed,this.columnPerformanceModeDisabled=this.widget.columnPerformanceModeEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.definitionExpression=this.widget.definitionExpression,this.description=this.widget.description,this.disabled=this.widget.disabled,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.fieldColumns=this.widget.fieldColumns,this.filterByLayerScaleRange=this.widget.filterByLayerScaleRange,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterByViewExtent=this.widget.filterByViewExtent,this.filterGeometry=this.widget.filterGeometry,this.groupColumns=this.widget.groupColumns,this.hasContingentValues=this.widget.hasContingentValues,this.hasInvalidPendingEdits=this.widget.hasInvalidPendingEdits,this.hasPendingEdits=this.widget.hasPendingEdits,this.hiddenFields=this.widget.hiddenFields,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideColumnVisibilityMenu=this.widget.visibleElements.columnVisibilityMenu,this.hideColumnVisibilityMenuItemsFilter=this.widget.visibleElements.columnVisibilityMenuItems.filter,this.hideColumnVisibilityMenuItemsHeader=this.widget.visibleElements.columnVisibilityMenuItems.header,this.hideColumnVisibilityMenuItemsToggleAll=this.widget.visibleElements.columnVisibilityMenuItems.toggleAll,this.hideHeader=this.widget.visibleElements.header,this.hideLayerDropdownIcons=this.widget.visibleElements.layerDropdownIcons,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.isSyncingAttachments=this.widget.isSyncingAttachments,this.label=this.widget.label,this.layer=this.widget.layer,this.mapLayerId=f(this,e=>{e&&(this.layer=e)}),this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.multipleSortPriority=this.widget.multipleSortPriority,this.navigationScale=this.widget.navigationScale,this.noDataMessage=this.widget.noDataMessage,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.relationship=this.widget.relationship,this.relationshipColumns=this.widget.relationshipColumns,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.selectionManager=this.widget.selectionManager,this.showCollapse=this.widget.visibleElements.collapse,this.showClose=this.widget.visibleElements.close,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.size=this.widget.size,this.state=this.widget.state,this.supportsAddAttachments=this.widget.supportsAddAttachments,this.supportsAttachments=this.widget.supportsAttachments,this.supportsDeleteAttachments=this.widget.supportsDeleteAttachments,this.supportsResizeAttachments=this.widget.supportsResizeAttachments,this.supportsUpdateAttachments=this.widget.supportsUpdateAttachments,this.syncTemplateOnChangesDisabled=this.widget.syncTemplateOnChangesEnabled,this.syncViewSelection=this.widget.syncViewSelection,this.tableController=this.widget.tableController,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.tableTitle=this.widget.title,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.viewTimeEnabled=this.widget.viewTimeEnabled,this.visibleColumns=this.widget.visibleColumns,this.arcgisCellClick=a(()=>this.widget,"cell-click"),this.arcgisCellDblClick=a(()=>this.widget,"cell-dblclick"),this.arcgisCellKeydown=a(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=a(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=a(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=a(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=m()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=o(),this.arcgisSelectionChange=o()}static{this.properties={view:0,attachmentsColumns:32,attributeTableTemplate:0,actionColumn:32,actionColumnConfig:0,activeFilters:32,activeSortOrders:32,allColumns:32,allRelatedTablesVisible:36,allVisibleColumns:32,attachmentsEnabled:5,attachmentsViewOptions:0,autoDestroyDisabled:5,autoRefreshDisabled:5,autoSaveDisabled:5,cachedPageCount:32,canAddRelatedFeature:36,closed:5,collapsed:5,columnPerformanceModeDisabled:5,columnReorderingDisabled:5,columns:32,definitionExpression:1,description:1,disabled:7,editingEnabled:5,effectiveSize:40,fieldColumns:32,filterByLayerScaleRange:5,filterBySelectionEnabled:5,filterByViewExtent:5,filterGeometry:0,groupColumns:32,hasContingentValues:36,hasInvalidPendingEdits:36,hasPendingEdits:36,hiddenFields:0,hideColumnDescriptions:5,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideColumnVisibilityMenu:5,hideColumnVisibilityMenuItemsFilter:5,hideColumnVisibilityMenuItemsHeader:5,hideColumnVisibilityMenuItemsToggleAll:5,hideHeader:5,hideLayerDropdownIcons:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:36,isSyncingAttachments:36,label:1,layer:0,mapLayerId:1,layerItemId:1,layerUrl:1,layerId:9,layerView:32,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,multipleSortPriority:1,navigationScale:1,noDataMessage:1,objectIds:0,outFields:0,pageCount:40,pageIndex:9,pageSize:9,paginationEnabled:5,referenceElement:1,relatedRecordsEnabled:5,relatedTable:32,relatedTables:0,relationship:32,relationshipColumns:32,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,selectionManager:0,showCollapse:5,showClose:5,showLayerDropdown:5,size:40,state:32,supportsAddAttachments:36,supportsAttachments:36,supportsDeleteAttachments:36,supportsResizeAttachments:36,supportsUpdateAttachments:36,syncTemplateOnChangesDisabled:5,syncViewSelection:5,tableController:32,tableDisabled:5,tableId:9,tableParent:32,tableTemplate:0,tableTitle:1,timeExtent:0,timeZone:1,viewTimeEnabled:5,visibleColumns:32}}static{this.styles=k}get cachedPageCount(){return this.viewModel.cachedPageCount}get hideMenuItemsToggleColumns(){return this.hideColumnVisibilityMenu}set hideMenuItemsToggleColumns(e){this.hideColumnVisibilityMenu=e}get tableDisabled(){return this.widget.disabled}set tableDisabled(e){this.widget.disabled=e}addPendingEdits(e){this.widget.addPendingEdits(e)}async deleteSelection(e){await this.widget.deleteSelection(e)}async destroy(){await this.manager.destroy()}async discardPendingEdits(e,t){return await this.widget.discardPendingEdits(e,t)}async exportSelectionToCSV(e){await this.widget.exportSelectionToCSV(e)}async findColumn(e){return this.widget.findColumn(e)}async getCachedFeaturesByPageIndex(e){return this.viewModel.getCachedFeaturesByPageIndex(e)}async getFeatureStoreItemByObjectId(e){return this.widget.getFeatureStoreItemByObjectId(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget.refresh()}async refreshCellContent(){this.widget.refreshCellContent()}async savePendingEdits(){this.widget.savePendingEdits()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget.showAllColumns()}async showColumn(e){this.widget.showColumn(e)}async sortColumn(e,t){this.widget.sortColumn(e,t)}async toggleColumnVisibility(e){this.widget.toggleColumnVisibility(e)}async zoomToSelection(){this.widget.zoomToSelection()}load(){this.manager.onLifecycle(()=>[w(()=>this.widget.highlightIds,"change",this.arcgisSelectionChange.emit)])}willUpdate(e){this.widget.direction!==this._direction&&(this.widget.direction=this._direction),e.has("layerItemId")&&y(this.layerItemId,this.layerId,this.tableId).then(t=>{t===void 0?l("warn",this,`No sublayer found with ID ${this.layerId} in the Layer.`):this.layer=t}).catch(t=>{l("error",this,`Failed to load layer from portal item with ID ${this.layerItemId}: ${String(t)}`),this.layer=null}),e.has("layerUrl")&&x(this.layerUrl,this.layerId).then(t=>{this.layer=t}).catch(t=>{l("error",this,`Failed to load layer from URL ${this.layerUrl}: ${String(t)}`),this.layer=null})}loaded(){b(this)?.classList.add("arcgis-feature-table");let e=h(this.el);this.setAttribute("calcite-mode",e),this.widget.direction=this._direction}};g("arcgis-feature-table",c);return c},"core/reactiveUtils","widgets/FeatureTable","layers/Layer",a,b,c,e,f,i)
2
+ import i from"./6DNLVSRG.js";import f from"./ANB7YZCR.js";import e from"./M4RV2DCP.js";import c from"./3VFPLRD3.js";import b from"./E3RBRDUV.js";import{f as u,h as m}from"./FY7P5YLX.js";import"./IRDDLVT2.js";import a from"./TJHVEY7T.js";import{d as h}from"./LXME6MU5.js";import{R as d,_ as g,a as s,p as l,x as o}from"./IW3P4TGM.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{on:w},_,v,{b:n,i:b},,,p,a,f])=>{async function x(r,e){if(!r||n(r))return null;let t=r;typeof e=="number"&&(r.endsWith("/")?t=`${r}${e}`:t=`${r}/${e}`);let i=await v.fromArcGISServerUrl({url:t});return await i.load(),i}async function y(r,e,t){if(!r||n(r))return null;let i=await v.fromPortalItem({portalItem:{id:r}});if(await i.load(),t!=null)return i.type==="group"||i.type==="knowledge-graph"?i.tables.at(t):i;if(e==null)return i;if(i.type==="group"||i.type==="knowledge-graph")return i.layers.at(e);if(i.type==="map-image")return i.findSublayerById(e);if(i.type==="subtype-group")return i.sublayers.at(e)}var k=s`.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{--arcgis-internal-feature-table-icon-color: var(--calcite-icon-color);--arcgis-internal-feature-table-background-color: var(--calcite-color-surface-2);--arcgis-internal-feature-table-background-color-secondary: var(--calcite-color-surface-1);--arcgis-internal-feature-table-text-color: var(--calcite-color-text-1);--arcgis-internal-feature-table-text-color-secondary: var(--calcite-color-text-2);--arcgis-internal-feature-table-text-color-tertiary: var(--calcite-color-text-3);--arcgis-internal-feature-table-text-color-hover: var(--arcgis-internal-feature-table-text-color);--arcgis-internal-feature-table-interactive-text-color: var(--calcite-color-text-1);--arcgis-internal-feature-table-interactive-text-color-hover: var(--calcite-color-text-1);--arcgis-internal-feature-table-text-color-link: var(--calcite-color-text-link);--arcgis-internal-feature-table-text-color-link-hover: var(--calcite-color-text-highlight);--arcgis-internal-feature-table-column-header-background-color: var(--calcite-color-surface-1);--arcgis-internal-feature-table-column-header-sorted-background-color: var( --arcgis-internal-feature-table-background-color );--arcgis-internal-feature-table-column-header-icon-color: var(--arcgis-internal-feature-table-icon-color);--arcgis-internal-feature-table-column-header-text-color: var(--arcgis-internal-feature-table-text-color);--arcgis-internal-feature-table-column-header-text-font-weight: var(--calcite-font-weight-regular);--arcgis-internal-feature-table-row-background-color: var(--calcite-color-surface-2);--arcgis-internal-feature-table-row-background-color-hover: var(--calcite-color-surface-3);--arcgis-internal-feature-table-selection-checkbox-color: var(--calcite-icon-color, var(--calcite-color-brand));--arcgis-internal-feature-table-selected-row-text-color: var(--arcgis-internal-feature-table-text-color);--arcgis-internal-feature-table-selected-row-text-color-hover: var(--arcgis-internal-feature-table-text-color);--arcgis-internal-feature-table-selected-row-background-color-primary: var(--calcite-color-brand);--arcgis-internal-feature-table-selected-row-background-color-secondary: var(--calcite-color-surface-2);--arcgis-internal-feature-table-selected-row-background-color: color-mix( in sRGB, var(--arcgis-internal-feature-table-selected-row-background-color-primary) 10%, var(--arcgis-internal-feature-table-selected-row-background-color-secondary) );--arcgis-internal-feature-table-selected-row-background-color-hover: color-mix( in sRGB, var(--arcgis-internal-feature-table-selected-row-background-color-primary) 20%, var(--arcgis-internal-feature-table-selected-row-background-color-secondary) )}.esri-feature-table{--icon-size: 64px;flex-direction:column;width:100%;height:100%;display:flex}.esri-feature-table__content{--calcite-action-text-color: var(--arcgis-internal-feature-table-interactive-text-color);--calcite-action-text-color-press: var(--arcgis-internal-feature-table-interactive-text-color-hover);--calcite-panel-description-text-color: var(--arcgis-internal-feature-table-text-color-secondary);--calcite-panel-header-action-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-panel-header-background-color: var(--arcgis-internal-feature-table-background-color);--calcite-panel-heading-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-panel-icon-color: var(--arcgis-internal-feature-table-text-color);overflow:hidden}.esri-feature-table__content calcite-pagination{justify-content:center}.esri-feature-table calcite-scrim>div:first-child{min-width:300px;max-width:400px;max-height:100%;position:relative}.esri-feature-table__collapsed{min-width:500px}.esri-feature-table__collapsed:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px;max-width:300px}.esri-feature-table__expanded{min-width:300px;display:flex}.esri-feature-table__expanded:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2)}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel{min-width:fit-content}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel>div:first-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child .esri-feature-table__collapsed{max-width:inherit}.esri-feature-table__table-container{flex:1 1 0;min-height:0;margin:0;padding:0;display:flex;width:100%;height:100%}.esri-feature-table__table-container calcite-panel>div{overflow-y:auto}.esri-feature-table__table-container calcite-panel div{flex:1 1 0;display:flex}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list{--calcite-list-label-text-color: var(--arcgis-internal-feature-table-text-color);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);color:var(--arcgis-internal-feature-table-text-color);flex:1 1 0;min-width:480px;overflow-y:auto}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list__filesize{cursor:default;align-items:center;height:100%;margin-inline-end:var(--calcite-space-md);display:flex}.esri-feature-table__table-navigation{--calcite-label-margin-bottom: 0;background-color:var(--arcgis-internal-feature-table-background-color);width:100%;line-height:initial;align-items:center;padding-block-start:var(--calcite-space-base);display:flex}.esri-feature-table__table-navigation calcite-action:first-child{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);transform:scaleX(-1)}.esri-feature-table__table-navigation calcite-chip{--calcite-chip-close-icon-color: var(--calcite-color-text-inverse);margin-inline-end:var(--calcite-space-md)}.esri-feature-table__table-navigation calcite-label{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding-inline:var(--calcite-space-md);height:100%}.esri-feature-table__table-navigation calcite-action{display:flex;overflow:hidden}.esri-feature-table__table-navigation div:last-child{float:inline-end;align-items:center;height:100%;margin-inline:auto 0;display:flex}.esri-feature-table__table-navigation calcite-action:last-child{float:inline-end;margin-inline:auto 0;display:flex}.esri-feature-table__attachments-view{background-color:var(--arcgis-internal-feature-table-background-color);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px}.esri-feature-table__attachments-view__content{background-color:var(--arcgis-internal-feature-table-background-color-secondary);padding:var(--calcite-space-md);flex-direction:column;justify-content:center;align-items:center;width:100%;max-height:100%;overflow-y:auto}.esri-feature-table__attachments-view__details,.esri-feature-table__attachments-view__drop-area{flex-direction:column;justify-content:center;align-items:center;width:100%}.esri-feature-table__attachments-view__details{padding:var(--calcite-space-xl);max-height:100%}.esri-feature-table__attachments-view__details img{display:block;padding:var(--calcite-space-sm);max-width:100%;max-height:100%}.esri-feature-table__attachments-view__details calcite-action{position:sticky}.esri-feature-table__attachments-view__drop-area{border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-sm);text-align:center}.esri-feature-table__attachments-view__drop-area form{justify-content:center;display:flex}.esri-feature-table__attachments-view__drop-area form fieldset{border:none;display:flex;flex-direction:column;align-items:center}.esri-feature-table__attachments-view__drop-area form fieldset calcite-button,.esri-feature-table__attachments-view__drop-area form fieldset span{margin-bottom:var(--calcite-space-sm)}.esri-feature-table__attachments-view__drop-area__label{margin-bottom:var(--calcite-space-md);font-size:var(--calcite-font-size-md)}.esri-feature-table__attachments-view__drop-area__message{margin-bottom:var(--calcite-space-md);word-break:break-all}.esri-feature-table__attachments-view__icon{--calcite-icon-color: var(--arcgis-internal-feature-table-icon-color);margin-bottom:var(--calcite-space-md);block-size:var(--icon-size);inline-size:var(--icon-size)}.esri-feature-table__attachments-view__information{--calcite-button-border-color: var(--calcite-color-brand);--calcite-button-text-color: var(--calcite-color-brand);padding:var(--calcite-space-md);flex-direction:column;max-width:200px;overflow-y:auto}.esri-feature-table__attachments-view__information calcite-button,.esri-feature-table__attachments-view__information calcite-icon,.esri-feature-table__attachments-view__information img{margin-block-end:var(--calcite-space-md)}.esri-feature-table__attachments-view__information__data{margin-block-end:var(--calcite-space-md);word-wrap:break-word;color:var(--arcgis-internal-feature-table-text-color)}.esri-feature-table__attachments-view__information__label{color:var(--arcgis-internal-feature-table-text-color-tertiary);font-weight:var(--calcite-font-weight-regular)}.esri-feature-table__attachments-view__list-item--delete{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-feature-table__attachments-view__list__thumbnail{margin-block:var(--calcite-space-sm);justify-content:center;align-items:center}.esri-feature-table__attachments-view__list__thumbnail span{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);width:var(--icon-size);height:var(--icon-size);color:var(--arcgis-internal-feature-table-text-color-tertiary);justify-content:center;align-items:center;display:flex;overflow:hidden}.esri-feature-table__menu-popover{--calcite-popover-text-color: var(--arcgis-internal-feature-table-text-color)}.esri-feature-table__menu-popover calcite-list{--calcite-button-text-color: var(--arcgis-internal-feature-table-text-color-link);--calcite-list-label-text-color: var(--arcgis-internal-feature-table-text-color);color:var(--arcgis-internal-feature-table-text-color);max-width:300px;max-height:260px;overflow-y:auto}.esri-feature-table__dialog{--calcite-dialog-content-space: 0;--calcite-dialog-heading-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-dialog-description-text-color: var(--arcgis-internal-feature-table-text-color-secondary)}.esri-feature-table__dialog calcite-progress{position:sticky;top:0;margin-bottom:var(--calcite-space-sm)}.esri-feature-table__dialog calcite-pagination{justify-content:center;width:100%}.esri-feature-table__dialog calcite-panel{--calcite-panel-description-text-color: var(--arcgis-internal-feature-table-text-color-secondary);--calcite-panel-header-action-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-panel-heading-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-panel-icon-color: var(--arcgis-internal-feature-table-text-color)}.esri-feature-table__dialog img{width:auto;max-width:100%}.esri-feature-table__dialog__content{display:flex;flex-direction:column;flex-grow:1;align-items:center;justify-content:center}.esri-feature-table__dialog__header{color:var(--arcgis-internal-feature-table-text-color);display:flex;flex-direction:row;gap:var(--calcite-space-sm);justify-content:space-between;width:100%}.esri-feature-table__dialog__header span{align-self:center;word-break:break-all;padding-inline-start:var(--calcite-space-md)}.esri-feature-table__footer__message{gap:var(--calcite-space-sm);margin:0 var(--calcite-space-md);align-items:center;display:flex}.esri-feature-table__footer__icon--danger{color:var(--calcite-color-status-danger)}.esri-feature-table__footer__icon--success{color:var(--calcite-color-status-success)}.esri-feature-table__layer-switcher-menu{--calcite-dropdown-item-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-dropdown-item-text-color-press: var(--arcgis-internal-feature-table-text-color);align-items:center;display:flex}calcite-button.esri-attachments-column__button,calcite-button.esri-column__show-related-records-button{--calcite-button-background-color: transparent;--calcite-button-icon-color: var(--arcgis-internal-feature-table-text-color-link);--calcite-button-text-color: var(--arcgis-internal-feature-table-text-color-link);--calcite-offset-invert-focus: 2}calcite-button.esri-attachments-column__button:hover,calcite-button.esri-column__show-related-records-button:hover{--calcite-button-icon-color: var(--arcgis-internal-feature-table-text-color-link-hover);--calcite-button-text-color: var(--arcgis-internal-feature-table-text-color-link-hover)}.esri-column__show-related-records-button{height:100%;display:flex}.esri-attachments-column__button{overflow:hidden}.esri-attachments-column__button>div{display:flex;overflow:hidden}.esri-attachments-column__button>div>div:first-child{text-overflow:ellipsis;width:100%;margin-inline-end:var(--calcite-space-2xl);overflow:hidden}.esri-attachments-column__button>div span{align-self:center;position:absolute;inset-inline-end:var(--calcite-space-3xl)}.esri-attachments-column__content{flex-direction:row;justify-content:space-between;width:100%;height:100%;display:flex;overflow:hidden}.esri-attachments-column__content>div:first-child{text-overflow:ellipsis;line-height:0;overflow:hidden}.esri-attachments-column__button calcite-icon,.esri-attachments-column__button img,.esri-attachments-column__content calcite-icon,.esri-attachments-column__content img{max-width:var(--calcite-space-2xl);max-height:var(--calcite-space-2xl);vertical-align:middle;margin-inline-end:var(--calcite-space-2xs);display:inline-flex}.esri-grid{background-color:var(--arcgis-internal-feature-table-background-color);width:100%;height:100%}.esri-grid vaadin-grid{border-block-end:none;border-inline:none;background-color:inherit;color:inherit;font-family:inherit;font-size:var(--calcite-font-size);overflow:visible}.esri-grid vaadin-grid[reordering]::part(cell):after{content:normal}.esri-grid vaadin-grid[reordering]::part(frozen-cell),.esri-grid vaadin-grid[reordering]::part(frozen-to-end-cell),.esri-grid vaadin-grid[reordering]::part(reorder-allowed-cell){filter:brightness(.9) contrast(1.1)}.esri-grid vaadin-grid::part(empty-state){border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);color:var(--arcgis-internal-feature-table-text-color)}.esri-grid vaadin-grid::part(cell editing){z-index:2}.esri-grid vaadin-grid::part(frozen-cell),.esri-grid vaadin-grid::part(frozen-to-end-cell){z-index:4}.esri-grid vaadin-grid::part(cell last-frozen-cell){overflow:visible}.esri-grid vaadin-grid::part(cell text-wrap){text-wrap:wrap}.esri-grid vaadin-grid-cell-content{box-sizing:border-box!important;align-items:center;padding:var(--calcite-space-2xs) var(--calcite-space-sm);height:100%;min-height:var(--calcite-font-line-height-fixed-3xl)}.esri-grid vaadin-grid::part(cell){border-inline-end:var(--calcite-border-width-sm) solid;border-color:var(--calcite-color-surface-4);line-height:28px;color:var(--arcgis-internal-feature-table-text-color)}.esri-grid vaadin-grid::part(cell):focus:after{outline-color:var(--calcite-color-brand)}.esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(body-cell){background-color:var(--arcgis-internal-feature-table-row-background-color)}.esri-grid vaadin-grid::part(body-cell):hover{background-color:var(--arcgis-internal-feature-table-row-background-color-hover);color:var(--arcgis-internal-feature-table-text-color-hover)}.esri-grid vaadin-grid::part(body-cell invalid){color:var(--arcgis-internal-feature-table-text-color-tertiary);font-style:italic}.esri-grid vaadin-grid::part(header-cell){background-color:var(--arcgis-internal-feature-table-column-header-background-color)}.esri-grid vaadin-grid::part(header-cell invalid){font-weight:var(--calcite-font-weight-bold)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand);background-color:var(--arcgis-internal-feature-table-column-header-sorted-background-color)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand)}.esri-grid vaadin-grid::part(body-cell highlight){background-color:var(--calcite-color-surface-4)}.esri-grid vaadin-grid::part(selected-row-cell){background-color:var(--arcgis-internal-feature-table-selected-row-background-color);color:var(--arcgis-internal-feature-table-selected-row-text-color)}.esri-grid vaadin-grid::part(selected-row-cell):hover{background-color:var(--arcgis-internal-feature-table-selected-row-background-color-hover);color:var(--arcgis-internal-feature-table-selected-row-text-color-hover)}.esri-grid vaadin-grid::part(body-cell pending-edit){border:var(--calcite-border-width-md) solid var(--calcite-color-status-success);background-color:color-mix(in sRGB,var(--calcite-color-status-success) 20%,var(--arcgis-internal-feature-table-background-color))}.esri-grid vaadin-grid::part(body-cell pending-edit):hover{background-color:color-mix(in sRGB,var(--calcite-color-status-success-hover) 20%,var(--arcgis-internal-feature-table-background-color))}.esri-grid vaadin-grid::part(body-cell pending-edit-invalid){border:var(--calcite-border-width-md) dashed var(--calcite-color-status-danger);background-color:color-mix(in sRGB,var(--calcite-color-status-danger) 20%,var(--arcgis-internal-feature-table-background-color));font-weight:var(--calcite-font-weight-bold)}.esri-grid vaadin-grid::part(body-cell pending-edit-invalid):hover{background-color:color-mix(in sRGB,var(--calcite-color-status-danger-hover) 20%,var(--arcgis-internal-feature-table-background-color))}.esri-grid vaadin-grid::part(body-cell pending-edit-other){cursor:not-allowed;color:var(--arcgis-internal-feature-table-text-color-tertiary)}.esri-grid vaadin-checkbox{line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox::part(checkbox){background-color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox[checked]::part(checkbox){background-color:var(--arcgis-internal-feature-table-selection-checkbox-color)}.esri-grid vaadin-grid-sorter[direction]::part(indicators),.esri-grid vaadin-grid-sorter[direction]::part(order){color:var(--arcgis-internal-feature-table-column-header-text-color)}.esri-grid .esri-grid__content{background-color:var(--arcgis-internal-feature-table-background-color-secondary);width:100%;height:100%}.esri-grid .esri-grid__grid{width:100%;height:100%}.esri-grid a{color:var(--arcgis-internal-feature-table-text-color-link);text-decoration:underline}.esri-grid a:hover,.esri-grid a:focus{color:var(--arcgis-internal-feature-table-text-color-link-hover)}.esri-grid .esri-column__content--full{width:100%;height:100%;position:absolute;top:0;left:0}.esri-grid .esri-column__header-content{text-align:start;align-items:flex-start;width:100%;height:100%;font-weight:var(--calcite-font-weight-regular);display:flex;overflow:hidden}.esri-grid .esri-column__header-content:has(calcite-icon:only-child){justify-content:center;align-items:center}.esri-grid .esri-column__header-content div{width:100%;flex-flow:column wrap;display:flex;overflow:hidden}.esri-grid .esri-column__header-content div span{text-overflow:ellipsis;width:100%;line-height:var(--calcite-font-line-height-fixed-xl);overflow:hidden}.esri-grid .esri-column__header-content calcite-icon{color:var(--arcgis-internal-feature-table-column-header-icon-color);height:var(--calcite-space-2xl);margin-inline-end:var(--calcite-space-2xs)}.esri-grid .esri-column__header-content calcite-dropdown{float:inline-end;max-height:180px}.esri-grid .esri-column__header-content calcite-dropdown calcite-action{--calcite-icon-color: var(--arcgis-internal-feature-table-column-header-icon-color)}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group{max-width:200px;overflow-x:auto}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group:only-of-type{max-height:180px;overflow:visible}.esri-grid .esri-column__header-content calcite-dropdown[open] calcite-dropdown-item{display:flex}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item,.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item[hidden]{display:none}.esri-grid .esri-column__header-description{color:var(--arcgis-internal-feature-table-text-color-tertiary);font-size:var(--calcite-font-size-sm)}.esri-grid .esri-column__sorter:hover{cursor:pointer}.esri-grid .esri-column__sorter,.esri-grid .esri-column__header-label{color:var(--arcgis-internal-feature-table-column-header-text-color);flex-grow:1;font-weight:var(--arcgis-internal-feature-table-column-header-text-font-weight);align-items:center;display:flex;overflow:hidden}.esri-column__header-menu-icon{margin-inline-end:15px}.esri-column__cell-input{border:none;flex:1 1 0;width:100%;height:100%}.esri-column__cell__input-container{flex-direction:column;align-items:center;width:100%;display:flex}.esri-column__cell__input-container input,.esri-column__cell__input-container select{padding:0;position:absolute;top:0;left:0}.esri-column__cell__input-container div,.esri-column__cell__input-container input,.esri-column__cell__input-container select{width:100%;display:flex}.esri-column__cell__input-container calcite-action-bar{background-color:var(--arcgis-internal-feature-table-background-color-secondary)}.esri-column__cell__input-container div:first-child{flex-direction:column}.esri-column__cell__input-container calcite-input-time-zone{--calcite-dropdown-width: 200px}.esri-column__cell__input-container calcite-input-time-picker:last-child,.esri-column__cell__input-container calcite-input-time-picker:nth-child(2),.esri-column__cell__input-container calcite-input-time-zone{margin-top:-1px}.esri-feature-table .esri-editor__prompt--danger{border-top:solid 3px var(--calcite-color-status-danger);background-color:var(--calcite-color-surface-1);color:var(--arcgis-internal-feature-table-text-color);flex-flow:column;max-height:85%;padding-block:var(--calcite-space-md);padding-inline:15px;animation:.25s ease-in-out esri-fade-in-up;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 1px 2px #0000004d}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__header{color:var(--calcite-color-status-danger);flex:none;align-items:center;gap:7px;margin-bottom:var(--calcite-space-md);display:flex}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__header__heading{color:var(--arcgis-internal-feature-table-text-color);margin:0 3px}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__message{word-break:break-word;color:inherit;flex:auto;padding:0 0 12px;font-weight:var(--calcite-font-weight-regular);overflow:hidden auto}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__divider{color:inherit;border-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:1px;flex:none;margin:0 0 12px}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__actions{flex-direction:row;display:flex}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__half-width-button{width:50%}`,C=p(_),c=class extends d{constructor(){super(...arguments),this._direction=u(),this.widget=C(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.attachmentsColumns=this.widget.attachmentsColumns,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumn=this.widget.actionColumn,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allColumns=this.widget.allColumns,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.allVisibleColumns=this.widget.allVisibleColumns,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.attachmentsViewOptions=this.widget.attachmentsViewOptions,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.autoSaveDisabled=this.widget.autoSaveEnabled,this.canAddRelatedFeature=this.widget.canAddRelatedFeature,this.closed=this.widget.closed,this.collapsed=this.widget.collapsed,this.columnPerformanceModeDisabled=this.widget.columnPerformanceModeEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.definitionExpression=this.widget.definitionExpression,this.description=this.widget.description,this.disabled=this.widget.disabled,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.fieldColumns=this.widget.fieldColumns,this.filterByLayerScaleRange=this.widget.filterByLayerScaleRange,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterByViewExtent=this.widget.filterByViewExtent,this.filterGeometry=this.widget.filterGeometry,this.groupColumns=this.widget.groupColumns,this.hasContingentValues=this.widget.hasContingentValues,this.hasInvalidPendingEdits=this.widget.hasInvalidPendingEdits,this.hasPendingEdits=this.widget.hasPendingEdits,this.hiddenFields=this.widget.hiddenFields,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideColumnVisibilityMenu=this.widget.visibleElements.columnVisibilityMenu,this.hideColumnVisibilityMenuItemsFilter=this.widget.visibleElements.columnVisibilityMenuItems.filter,this.hideColumnVisibilityMenuItemsHeader=this.widget.visibleElements.columnVisibilityMenuItems.header,this.hideColumnVisibilityMenuItemsToggleAll=this.widget.visibleElements.columnVisibilityMenuItems.toggleAll,this.hideHeader=this.widget.visibleElements.header,this.hideLayerDropdownIcons=this.widget.visibleElements.layerDropdownIcons,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.isSyncingAttachments=this.widget.isSyncingAttachments,this.label=this.widget.label,this.layer=this.widget.layer,this.mapLayerId=f(this,e=>{e&&(this.layer=e)}),this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.multipleSortPriority=this.widget.multipleSortPriority,this.navigationScale=this.widget.navigationScale,this.noDataMessage=this.widget.noDataMessage,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.relationship=this.widget.relationship,this.relationshipColumns=this.widget.relationshipColumns,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.selectionManager=this.widget.selectionManager,this.showCollapse=this.widget.visibleElements.collapse,this.showClose=this.widget.visibleElements.close,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.size=this.widget.size,this.state=this.widget.state,this.supportsAddAttachments=this.widget.supportsAddAttachments,this.supportsAttachments=this.widget.supportsAttachments,this.supportsDeleteAttachments=this.widget.supportsDeleteAttachments,this.supportsResizeAttachments=this.widget.supportsResizeAttachments,this.supportsUpdateAttachments=this.widget.supportsUpdateAttachments,this.syncTemplateOnChangesDisabled=this.widget.syncTemplateOnChangesEnabled,this.syncViewSelection=this.widget.syncViewSelection,this.tableController=this.widget.tableController,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.tableTitle=this.widget.title,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.viewTimeEnabled=this.widget.viewTimeEnabled,this.visibleColumns=this.widget.visibleColumns,this.arcgisCellClick=a(()=>this.widget,"cell-click"),this.arcgisCellDblClick=a(()=>this.widget,"cell-dblclick"),this.arcgisCellKeydown=a(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=a(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=a(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=a(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=m()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=o(),this.arcgisSelectionChange=o()}static{this.properties={view:0,attachmentsColumns:32,attributeTableTemplate:0,actionColumn:32,actionColumnConfig:0,activeFilters:32,activeSortOrders:32,allColumns:32,allRelatedTablesVisible:36,allVisibleColumns:32,attachmentsEnabled:5,attachmentsViewOptions:0,autoDestroyDisabled:5,autoRefreshDisabled:5,autoSaveDisabled:5,cachedPageCount:32,canAddRelatedFeature:36,closed:5,collapsed:5,columnPerformanceModeDisabled:5,columnReorderingDisabled:5,columns:32,definitionExpression:1,description:1,disabled:7,editingEnabled:5,effectiveSize:40,fieldColumns:32,filterByLayerScaleRange:5,filterBySelectionEnabled:5,filterByViewExtent:5,filterGeometry:0,groupColumns:32,hasContingentValues:36,hasInvalidPendingEdits:36,hasPendingEdits:36,hiddenFields:0,hideColumnDescriptions:5,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideColumnVisibilityMenu:5,hideColumnVisibilityMenuItemsFilter:5,hideColumnVisibilityMenuItemsHeader:5,hideColumnVisibilityMenuItemsToggleAll:5,hideHeader:5,hideLayerDropdownIcons:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:36,isSyncingAttachments:36,label:1,layer:0,mapLayerId:1,layerItemId:1,layerUrl:1,layerId:9,layerView:32,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,multipleSortPriority:1,navigationScale:1,noDataMessage:1,objectIds:0,outFields:0,pageCount:40,pageIndex:9,pageSize:9,paginationEnabled:5,referenceElement:1,relatedRecordsEnabled:5,relatedTable:32,relatedTables:0,relationship:32,relationshipColumns:32,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,selectionManager:0,showCollapse:5,showClose:5,showLayerDropdown:5,size:40,state:32,supportsAddAttachments:36,supportsAttachments:36,supportsDeleteAttachments:36,supportsResizeAttachments:36,supportsUpdateAttachments:36,syncTemplateOnChangesDisabled:5,syncViewSelection:5,tableController:32,tableDisabled:5,tableId:9,tableParent:32,tableTemplate:0,tableTitle:1,timeExtent:0,timeZone:1,viewTimeEnabled:5,visibleColumns:32}}static{this.styles=k}get cachedPageCount(){return this.viewModel.cachedPageCount}get hideMenuItemsToggleColumns(){return this.hideColumnVisibilityMenu}set hideMenuItemsToggleColumns(e){this.hideColumnVisibilityMenu=e}get tableDisabled(){return this.widget.disabled}set tableDisabled(e){this.widget.disabled=e}addPendingEdits(e){this.widget.addPendingEdits(e)}async deleteSelection(e){await this.widget.deleteSelection(e)}async destroy(){await this.manager.destroy()}async discardPendingEdits(e,t){return await this.widget.discardPendingEdits(e,t)}async exportSelectionToCSV(e){await this.widget.exportSelectionToCSV(e)}async findColumn(e){return this.widget.findColumn(e)}async getCachedFeaturesByPageIndex(e){return this.viewModel.getCachedFeaturesByPageIndex(e)}async getFeatureStoreItemByObjectId(e){return this.widget.getFeatureStoreItemByObjectId(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget.refresh()}async refreshCellContent(){this.widget.refreshCellContent()}async savePendingEdits(){this.widget.savePendingEdits()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget.showAllColumns()}async showColumn(e){this.widget.showColumn(e)}async sortColumn(e,t){this.widget.sortColumn(e,t)}async toggleColumnVisibility(e){this.widget.toggleColumnVisibility(e)}async zoomToSelection(){this.widget.zoomToSelection()}load(){this.manager.onLifecycle(()=>[w(()=>this.widget.highlightIds,"change",this.arcgisSelectionChange.emit)])}willUpdate(e){this.widget.direction!==this._direction&&(this.widget.direction=this._direction),e.has("layerItemId")&&y(this.layerItemId,this.layerId,this.tableId).then(t=>{t===void 0?l("warn",this,`No sublayer found with ID ${this.layerId} in the Layer.`):this.layer=t}).catch(t=>{l("error",this,`Failed to load layer from portal item with ID ${this.layerItemId}: ${String(t)}`),this.layer=null}),e.has("layerUrl")&&x(this.layerUrl,this.layerId).then(t=>{this.layer=t}).catch(t=>{l("error",this,`Failed to load layer from URL ${this.layerUrl}: ${String(t)}`),this.layer=null})}loaded(){b(this)?.classList.add("arcgis-feature-table");let e=h(this.el);this.setAttribute("calcite-mode",e),this.widget.direction=this._direction}};g("arcgis-feature-table",c);return c},"core/reactiveUtils","widgets/FeatureTable","layers/Layer",a,b,c,e,f,i)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{c as W,d as E}from"./366GLQ5R.js";import{a as L}from"./VKO3CVBS.js";import d from"./EJVFK7JX.js";import{a as F}from"./REB4CHAK.js";import{a as f}from"./L5IRXOCJ.js";import c from"./7JPHMESH.js";import b from"./OLY5EME5.js";import{f as T,h as O}from"./Q7GF26CL.js";import"./U77WHUC6.js";import a from"./SI2DEXWH.js";import{a as A}from"./LXME6MU5.js";import{Q as k,R as $,T as y,U as M,X as _,_ as S,a as z,b as l,x as C}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([q,{property:g,subclass:Z},{watch:I},H,j,D,P,V,,,,B])=>{var G=z`.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:300px;min-width:180px}.root{position:relative;padding:var(--arcgis-internal-padding);container-type:inline-size;width:100%}.content{display:flex;flex-direction:column;gap:var(--calcite-space-lg)}.content.error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.weather-type-selector{--button-gap: var(--calcite-space-sm);--button-size-min: 24px;--button-size-s-max: 32px;--button-size-m-max: 64px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;min-block-size:var(--button-row-min-height, 0);margin-inline:auto;gap:var(--button-gap);>calcite-button{display:block;position:relative;flex-shrink:0;flex-grow:0;aspect-ratio:1 / 1;height:fit-content;--total-gap: calc((var(--weather-type-count) - 1) * var(--button-gap));--basis: clamp( var(--button-size-min), calc((100% - var(--total-gap)) / var(--weather-type-count)), var(--button-size-m-max) );flex-basis:round(down,var(--basis),1px)}}@container (max-width: 280px){.weather-type-selector{--button-gap: var(--calcite-space-xs)}}@container (max-width: 220px){.weather-type-selector{--button-gap: var(--calcite-space-2xs)}}.options{display:flex;flex-direction:column;gap:var(--calcite-space-md);calcite-label{--calcite-label-margin-bottom: 0}&.hidden{display:none}}.warning-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}`,J=Object.defineProperty,K=Object.getOwnPropertyDescriptor,d=(o,e,i,t)=>{for(var r=t>1?void 0:t?K(e,i):e,a=o.length-1,n;a>=0;a--)(n=o[a])&&(r=(t?n(e,i,r):n(r))||r);return t&&r&&J(e,i,r),r},Q={sunny:V,cloudy:H,rainy:D,snowy:P,foggy:j},p=Object.keys(Q),s=class extends q{constructor(o){super(o),this._settingWeather=!1,this._weatherByType={sunny:new V,cloudy:new H,rainy:new D,snowy:new P,foggy:new j}}initialize(){this.addHandles([I(()=>this.current,o=>{this._settingWeather||o==null||(this._weatherByType={...this._weatherByType,[o.type]:o})},{sync:!0,initial:!0})])}get state(){return this.view?.ready?this.error!=null?this.error==="not-visible"?"ready":"error":"ready":"disabled"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let o=this.view;return o?.ready?o.type!=="3d"?"unsupported-view":o.viewingMode==="local"?"local-scene":o.environment.atmosphereEnabled?o.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(o){let e=this._environment;e&&(e.weather=o)}get _environment(){let o=this.view;return o?.type==="3d"?o.environment:null}setWeatherByType(o){let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[o],this._settingWeather=!1)}setSnowCoverEnabled(o){let e=this.current;"snowCover"in e&&(e.snowCover=o?"enabled":"disabled")}};d([g()],s.prototype,"view",2);d([g()],s.prototype,"state",1);d([g()],s.prototype,"disabled",1);d([g()],s.prototype,"weatherByType",1);d([g()],s.prototype,"error",1);d([g()],s.prototype,"current",1);d([g()],s.prototype,"_weatherByType",2);d([g()],s.prototype,"_environment",1);s=d([Z("components.weather.WeatherViewModel")],s);function u({label:o,ariaLabel:e,value:i,disabled:t,onChange:r}){let a=n=>{let c=n.currentTarget.value;r?.(c??0)};return l`<calcite-label .scale=${"m"}><calcite-slider .disabled=${t} .ariaLabel=${e} .labelText=${o} .value=${i} min=0 max=1 step=0.01 .scale=${"m"} @calciteSliderChange=${a} @calciteSliderInput=${a}></calcite-slider></calcite-label>`}var U=B(s),X={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},Y=16,R=typeof navigator<"u"&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")&&!navigator.userAgent.includes("Chromium")&&!navigator.userAgent.includes("Android")&&!navigator.userAgent.includes("CriOS")&&!navigator.userAgent.includes("FxiOS")&&!navigator.userAgent.includes("Edg"),x=class extends ${constructor(){super(...arguments),this.viewModel=U(this),this.messages=F(),this._direction=T(),this._resizeAnimationFrame=void 0,this._weatherTypeSelector=void 0,this._resizeObserver=new ResizeObserver(e=>{for(let i of e)i.target instanceof HTMLElement&&this._updateButtonScale(i.target,i.contentRect.width)}),this._buttonScale="m",this._buttonRowMinHeight=void 0,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.state=this.viewModel.state,this.arcgisPropertyChange=O()("state"),this.arcgisReady=C()}static{this.properties={_buttonScale:16,_buttonRowMinHeight:16,view:0,autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,messageOverrides:0,referenceElement:1,state:32}}static{this.styles=G}async destroy(){this._cleanupResizeObserver(),await this.manager.destroy()}_cleanupResizeObserver(){this._resizeObserver.disconnect(),this._weatherTypeSelector=void 0,this._buttonRowMinHeight=void 0,this._resizeAnimationFrame&&(cancelAnimationFrame(this._resizeAnimationFrame),this._resizeAnimationFrame=void 0)}_makeWeatherTypeSelectorRef(){return e=>{e!==this._weatherTypeSelector&&(this._weatherTypeSelector&&this._resizeObserver.unobserve(this._weatherTypeSelector),this._weatherTypeSelector=e,e&&(this._resizeObserver.observe(e),this._updateButtonScale(e,e.clientWidth)))}}_updateButtonScale(e,i){this._resizeAnimationFrame&&cancelAnimationFrame(this._resizeAnimationFrame),this._resizeAnimationFrame=requestAnimationFrame(()=>{let t=getComputedStyle(e),r=Number.parseFloat(t.getPropertyValue("--button-gap")),a=Number.parseFloat(t.getPropertyValue("--button-size-min")),n=Number.parseFloat(t.getPropertyValue("--button-size-s-max")),c=Number.parseFloat(t.getPropertyValue("--button-size-m-max")),m=(p.length-1)*r,v=Math.max(a,Math.min((i-m)/p.length,c)),b=Math.floor(v);if(R){let{_buttonRowMinHeight:h}=this,w=h===void 0?void 0:h*p.length+m,N=w!==void 0&&h!==void 0&&h>=b&&w<=i+Y;this._buttonRowMinHeight=N?h:b}else this._buttonRowMinHeight=void 0;this._buttonScale=v<n?"s":v<c?"m":"l",this._resizeAnimationFrame=void 0})}_getWarningMessage(){if(this.viewModel.error==="not-visible"){let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}else return}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return l`<div aria-label=${this.messages.componentLabelAccessible??_} class=${y({root:!0,[f.widget]:!0,[f.widgetDisabled]:this.viewModel.disabled})} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:i,viewModel:t}=this,r=this._getWarningMessage(),a=t.current,n=t.state==="error";return l`${this.hideHeader?void 0:L({level:e,children:i.componentLabel})}${n?l`<div>${this._getErrorMessage()}</div>`:void 0}<div class=${y(A({content:!0,error:n}))}><div .ariaLabel=${i.weatherType} class="weather-type-selector" role=radiogroup style=${M({"--weather-type-count":String(p.length),"--button-row-min-height":R?`${this._buttonRowMinHeight??0}px`:void 0})} ${k(this._makeWeatherTypeSelectorRef())}>${p.map(this._renderWeatherTypeButton,this)}</div>${Object.values(t.weatherByType).map(c=>l`<div class=${y({options:!0,hidden:c.type!==a?.type})}>${this._renderOptions(c)}</div>`)}${r?this._renderWarning(r):void 0}</div>`}_renderWeatherTypeButton(e){let i=this.messages[e]?.label??"",{disabled:t}=this.viewModel,r=!t&&this.viewModel.current.type===e;return l`<calcite-button role=radio .label=${i} .name=${i} .appearance=${r?"solid":"outline"} .ariaChecked=${r?"true":"false"} tabindex=${(r?void 0:-1)??_} .disabled=${t} .iconStart=${X[e]} .kind=${r?"brand":"neutral"} width=full .scale=${this._buttonScale} @keydown=${a=>{let n=a.key,c=W(n,this._direction),m=E(n,this._direction);if(c||m){a.preventDefault();let v=p.indexOf(e),b=p.length,h=(v+(m?-1:1)+b)%b;this.viewModel.setWeatherByType(p[h]);let w=a.currentTarget.parentElement?.parentElement;w&&Array.from(w.querySelectorAll("calcite-button")??[])[h]?.setFocus()}}} @click=${a=>{if(r)return;this.viewModel.setWeatherByType(e);let n=a.currentTarget;requestAnimationFrame(()=>{this.viewModel.current.type===e&&n.setFocus()})}} title=${i??_}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){let i=this.messages.sunny;return u({disabled:this.viewModel.disabled,ariaLabel:i?.cloudCoverAria,label:i?.cloudCover,value:e.cloudCover,onChange:t=>{e.cloudCover=t}})}_renderCloudyOptions(e){let i=this.messages.cloudy;return u({disabled:this.viewModel.disabled,ariaLabel:i?.cloudCoverAria,label:i?.cloudCover,value:e.cloudCover,onChange:t=>{e.cloudCover=t}})}_renderRainyOptions(e){let{disabled:i}=this.viewModel,t=this.messages.rainy;return l`${u({disabled:i,ariaLabel:t?.cloudCoverAria,label:t?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${u({disabled:i,ariaLabel:t?.precipitationAria,label:t?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}`}_renderSnowyOptions(e){let{disabled:i}=this.viewModel,t=this.messages.snowy;return l`${u({disabled:i,ariaLabel:t?.cloudCoverAria,label:t?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${u({disabled:i,ariaLabel:t?.precipitationAria,label:t?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}<calcite-label layout=inline title=${t?.snowCoverTooltip??_}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${i} @calciteCheckboxChange=${r=>{this.viewModel.setSnowCoverEnabled(r.currentTarget.checked)}}></calcite-checkbox>${t?.snowCover}</calcite-label>`}_renderFoggyOptions(e){let i=this.messages.foggy;return u({disabled:this.viewModel.disabled,ariaLabel:i?.fogStrengthAria,label:i?.fogStrength,value:e.fogStrength,onChange:t=>{e.fogStrength=t}})}_renderWarning(e){return l`<calcite-notice aria-live=polite open icon=exclamation-mark-triangle-f kind=warning><div slot=title class="warning-title">${this.messages.warningTitle}</div><div slot=message>${e}</div></calcite-notice>`}};S("arcgis-weather",x);return x},"core/Accessor","core/accessorSupport/decorators","core/reactiveUtils","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",a,b,c,d)
2
+ import{c as W,d as E}from"./366GLQ5R.js";import{a as L}from"./NN4HL3RN.js";import d from"./ZRT4RJ62.js";import{a as F}from"./SAI7K4OO.js";import{a as f}from"./L5IRXOCJ.js";import c from"./3VFPLRD3.js";import b from"./E3RBRDUV.js";import{f as T,h as O}from"./FY7P5YLX.js";import"./IRDDLVT2.js";import a from"./TJHVEY7T.js";import{a as A}from"./LXME6MU5.js";import{Q as k,R as $,T as y,U as M,X as _,_ as S,a as z,b as l,x as C}from"./IW3P4TGM.js";import"./TAVTDQ6S.js";export default $arcgis.t(([q,{property:g,subclass:Z},{watch:I},H,j,D,P,V,,,,B])=>{var G=z`.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:300px;min-width:180px}.root{position:relative;padding:var(--arcgis-internal-padding);container-type:inline-size;width:100%}.content{display:flex;flex-direction:column;gap:var(--calcite-space-lg)}.content.error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.weather-type-selector{--button-gap: var(--calcite-space-sm);--button-size-min: 24px;--button-size-s-max: 32px;--button-size-m-max: 64px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;min-block-size:var(--button-row-min-height, 0);margin-inline:auto;gap:var(--button-gap);>calcite-button{display:block;position:relative;flex-shrink:0;flex-grow:0;aspect-ratio:1 / 1;height:fit-content;--total-gap: calc((var(--weather-type-count) - 1) * var(--button-gap));--basis: clamp( var(--button-size-min), calc((100% - var(--total-gap)) / var(--weather-type-count)), var(--button-size-m-max) );flex-basis:round(down,var(--basis),1px)}}@container (max-width: 280px){.weather-type-selector{--button-gap: var(--calcite-space-xs)}}@container (max-width: 220px){.weather-type-selector{--button-gap: var(--calcite-space-2xs)}}.options{display:flex;flex-direction:column;gap:var(--calcite-space-md);calcite-label{--calcite-label-margin-bottom: 0}&.hidden{display:none}}.warning-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}`,J=Object.defineProperty,K=Object.getOwnPropertyDescriptor,d=(o,e,i,t)=>{for(var r=t>1?void 0:t?K(e,i):e,a=o.length-1,n;a>=0;a--)(n=o[a])&&(r=(t?n(e,i,r):n(r))||r);return t&&r&&J(e,i,r),r},Q={sunny:V,cloudy:H,rainy:D,snowy:P,foggy:j},p=Object.keys(Q),s=class extends q{constructor(o){super(o),this._settingWeather=!1,this._weatherByType={sunny:new V,cloudy:new H,rainy:new D,snowy:new P,foggy:new j}}initialize(){this.addHandles([I(()=>this.current,o=>{this._settingWeather||o==null||(this._weatherByType={...this._weatherByType,[o.type]:o})},{sync:!0,initial:!0})])}get state(){return this.view?.ready?this.error!=null?this.error==="not-visible"?"ready":"error":"ready":"disabled"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let o=this.view;return o?.ready?o.type!=="3d"?"unsupported-view":o.viewingMode==="local"?"local-scene":o.environment.atmosphereEnabled?o.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(o){let e=this._environment;e&&(e.weather=o)}get _environment(){let o=this.view;return o?.type==="3d"?o.environment:null}setWeatherByType(o){let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[o],this._settingWeather=!1)}setSnowCoverEnabled(o){let e=this.current;"snowCover"in e&&(e.snowCover=o?"enabled":"disabled")}};d([g()],s.prototype,"view",2);d([g()],s.prototype,"state",1);d([g()],s.prototype,"disabled",1);d([g()],s.prototype,"weatherByType",1);d([g()],s.prototype,"error",1);d([g()],s.prototype,"current",1);d([g()],s.prototype,"_weatherByType",2);d([g()],s.prototype,"_environment",1);s=d([Z("components.weather.WeatherViewModel")],s);function u({label:o,ariaLabel:e,value:i,disabled:t,onChange:r}){let a=n=>{let c=n.currentTarget.value;r?.(c??0)};return l`<calcite-label .scale=${"m"}><calcite-slider .disabled=${t} .ariaLabel=${e} .labelText=${o} .value=${i} min=0 max=1 step=0.01 .scale=${"m"} @calciteSliderChange=${a} @calciteSliderInput=${a}></calcite-slider></calcite-label>`}var U=B(s),X={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},Y=16,R=typeof navigator<"u"&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")&&!navigator.userAgent.includes("Chromium")&&!navigator.userAgent.includes("Android")&&!navigator.userAgent.includes("CriOS")&&!navigator.userAgent.includes("FxiOS")&&!navigator.userAgent.includes("Edg"),x=class extends ${constructor(){super(...arguments),this.viewModel=U(this),this.messages=F(),this._direction=T(),this._resizeAnimationFrame=void 0,this._weatherTypeSelector=void 0,this._resizeObserver=new ResizeObserver(e=>{for(let i of e)i.target instanceof HTMLElement&&this._updateButtonScale(i.target,i.contentRect.width)}),this._buttonScale="m",this._buttonRowMinHeight=void 0,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.state=this.viewModel.state,this.arcgisPropertyChange=O()("state"),this.arcgisReady=C()}static{this.properties={_buttonScale:16,_buttonRowMinHeight:16,view:0,autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,messageOverrides:0,referenceElement:1,state:32}}static{this.styles=G}async destroy(){this._cleanupResizeObserver(),await this.manager.destroy()}_cleanupResizeObserver(){this._resizeObserver.disconnect(),this._weatherTypeSelector=void 0,this._buttonRowMinHeight=void 0,this._resizeAnimationFrame&&(cancelAnimationFrame(this._resizeAnimationFrame),this._resizeAnimationFrame=void 0)}_makeWeatherTypeSelectorRef(){return e=>{e!==this._weatherTypeSelector&&(this._weatherTypeSelector&&this._resizeObserver.unobserve(this._weatherTypeSelector),this._weatherTypeSelector=e,e&&(this._resizeObserver.observe(e),this._updateButtonScale(e,e.clientWidth)))}}_updateButtonScale(e,i){this._resizeAnimationFrame&&cancelAnimationFrame(this._resizeAnimationFrame),this._resizeAnimationFrame=requestAnimationFrame(()=>{let t=getComputedStyle(e),r=Number.parseFloat(t.getPropertyValue("--button-gap")),a=Number.parseFloat(t.getPropertyValue("--button-size-min")),n=Number.parseFloat(t.getPropertyValue("--button-size-s-max")),c=Number.parseFloat(t.getPropertyValue("--button-size-m-max")),m=(p.length-1)*r,v=Math.max(a,Math.min((i-m)/p.length,c)),b=Math.floor(v);if(R){let{_buttonRowMinHeight:h}=this,w=h===void 0?void 0:h*p.length+m,N=w!==void 0&&h!==void 0&&h>=b&&w<=i+Y;this._buttonRowMinHeight=N?h:b}else this._buttonRowMinHeight=void 0;this._buttonScale=v<n?"s":v<c?"m":"l",this._resizeAnimationFrame=void 0})}_getWarningMessage(){if(this.viewModel.error==="not-visible"){let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}else return}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return l`<div aria-label=${this.messages.componentLabelAccessible??_} class=${y({root:!0,[f.widget]:!0,[f.widgetDisabled]:this.viewModel.disabled})} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:i,viewModel:t}=this,r=this._getWarningMessage(),a=t.current,n=t.state==="error";return l`${this.hideHeader?void 0:L({level:e,children:i.componentLabel})}${n?l`<div>${this._getErrorMessage()}</div>`:void 0}<div class=${y(A({content:!0,error:n}))}><div .ariaLabel=${i.weatherType} class="weather-type-selector" role=radiogroup style=${M({"--weather-type-count":String(p.length),"--button-row-min-height":R?`${this._buttonRowMinHeight??0}px`:void 0})} ${k(this._makeWeatherTypeSelectorRef())}>${p.map(this._renderWeatherTypeButton,this)}</div>${Object.values(t.weatherByType).map(c=>l`<div class=${y({options:!0,hidden:c.type!==a?.type})}>${this._renderOptions(c)}</div>`)}${r?this._renderWarning(r):void 0}</div>`}_renderWeatherTypeButton(e){let i=this.messages[e]?.label??"",{disabled:t}=this.viewModel,r=!t&&this.viewModel.current.type===e;return l`<calcite-button role=radio .label=${i} .name=${i} .appearance=${r?"solid":"outline"} .ariaChecked=${r?"true":"false"} tabindex=${(r?void 0:-1)??_} .disabled=${t} .iconStart=${X[e]} .kind=${r?"brand":"neutral"} width=full .scale=${this._buttonScale} @keydown=${a=>{let n=a.key,c=W(n,this._direction),m=E(n,this._direction);if(c||m){a.preventDefault();let v=p.indexOf(e),b=p.length,h=(v+(m?-1:1)+b)%b;this.viewModel.setWeatherByType(p[h]);let w=a.currentTarget.parentElement?.parentElement;w&&Array.from(w.querySelectorAll("calcite-button")??[])[h]?.setFocus()}}} @click=${a=>{if(r)return;this.viewModel.setWeatherByType(e);let n=a.currentTarget;requestAnimationFrame(()=>{this.viewModel.current.type===e&&n.setFocus()})}} title=${i??_}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){let i=this.messages.sunny;return u({disabled:this.viewModel.disabled,ariaLabel:i?.cloudCoverAria,label:i?.cloudCover,value:e.cloudCover,onChange:t=>{e.cloudCover=t}})}_renderCloudyOptions(e){let i=this.messages.cloudy;return u({disabled:this.viewModel.disabled,ariaLabel:i?.cloudCoverAria,label:i?.cloudCover,value:e.cloudCover,onChange:t=>{e.cloudCover=t}})}_renderRainyOptions(e){let{disabled:i}=this.viewModel,t=this.messages.rainy;return l`${u({disabled:i,ariaLabel:t?.cloudCoverAria,label:t?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${u({disabled:i,ariaLabel:t?.precipitationAria,label:t?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}`}_renderSnowyOptions(e){let{disabled:i}=this.viewModel,t=this.messages.snowy;return l`${u({disabled:i,ariaLabel:t?.cloudCoverAria,label:t?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${u({disabled:i,ariaLabel:t?.precipitationAria,label:t?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}<calcite-label layout=inline title=${t?.snowCoverTooltip??_}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${i} @calciteCheckboxChange=${r=>{this.viewModel.setSnowCoverEnabled(r.currentTarget.checked)}}></calcite-checkbox>${t?.snowCover}</calcite-label>`}_renderFoggyOptions(e){let i=this.messages.foggy;return u({disabled:this.viewModel.disabled,ariaLabel:i?.fogStrengthAria,label:i?.fogStrength,value:e.fogStrength,onChange:t=>{e.fogStrength=t}})}_renderWarning(e){return l`<calcite-notice aria-live=polite open icon=exclamation-mark-triangle-f kind=warning><div slot=title class="warning-title">${this.messages.warningTitle}</div><div slot=message>${e}</div></calcite-notice>`}};S("arcgis-weather",x);return x},"core/Accessor","core/accessorSupport/decorators","core/reactiveUtils","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",a,b,c,d)