@arcgis/map-components 5.0.0-next.119 → 5.0.0-next.120

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 (452) hide show
  1. package/dist/cdn/{XAOSPYRK.js → 22PYN4X4.js} +2 -2
  2. package/dist/cdn/{FNGSKDA7.js → 2A7CGRUX.js} +2 -2
  3. package/dist/cdn/{7XDMM6RA.js → 2D5YWK4P.js} +2 -2
  4. package/dist/cdn/{VDGVJZ5R.js → 2GGCZOWH.js} +2 -2
  5. package/dist/cdn/{UMAGGKC6.js → 2LWFER33.js} +2 -2
  6. package/dist/cdn/{5FRU7JCQ.js → 2MYDOXV4.js} +2 -2
  7. package/dist/cdn/{HLXQEGSH.js → 2VSVDMQG.js} +2 -2
  8. package/dist/cdn/{YXOLU6FZ.js → 35C2OMPB.js} +2 -2
  9. package/dist/cdn/{F4K626LE.js → 3CKHLKRW.js} +2 -2
  10. package/dist/cdn/{URA757X4.js → 3EP6GBWP.js} +2 -2
  11. package/dist/cdn/{KL23YERY.js → 3F6UW4DV.js} +2 -2
  12. package/dist/cdn/{UUMLBRF2.js → 3TNAPW6N.js} +2 -2
  13. package/dist/cdn/{UQO352HN.js → 3X3PHT7Z.js} +2 -2
  14. package/dist/cdn/{45TEP3KS.js → 3ZN4DLRT.js} +2 -2
  15. package/dist/cdn/{22JMPJTG.js → 42TTZZIU.js} +2 -2
  16. package/dist/cdn/{G2RFDAIZ.js → 454JLXGC.js} +2 -2
  17. package/dist/cdn/{L3RML377.js → 4E5HWA2X.js} +1 -1
  18. package/dist/cdn/{3M5QKTDA.js → 4F5OF26K.js} +2 -2
  19. package/dist/cdn/{QRB6W43N.js → 4GOX3X4L.js} +2 -2
  20. package/dist/cdn/{4WULLWL4.js → 4L2YVKUT.js} +2 -2
  21. package/dist/cdn/{CB273SC5.js → 4L6GKWER.js} +2 -2
  22. package/dist/cdn/{JOGCXJQJ.js → 4M2TEBED.js} +2 -2
  23. package/dist/cdn/{XWUDNDCU.js → 4M64FVHN.js} +2 -2
  24. package/dist/cdn/{7H2IBSVF.js → 4MRHYLDF.js} +2 -2
  25. package/dist/cdn/{A5C7DVM3.js → 4STWEMF3.js} +2 -2
  26. package/dist/cdn/{Q6RV4M6D.js → 4W3OYBDD.js} +2 -2
  27. package/dist/cdn/{NK73C3HF.js → 4WKE4WW3.js} +2 -2
  28. package/dist/cdn/{EXZMBQ56.js → 54JOFS2S.js} +2 -2
  29. package/dist/cdn/{NS7G3UTS.js → 575LPXUH.js} +2 -2
  30. package/dist/cdn/5GRE3JDZ.js +4 -0
  31. package/dist/cdn/{OCHNU6GM.js → 5UXMFZOY.js} +2 -2
  32. package/dist/cdn/{INYQ72BC.js → 5V6DXADI.js} +2 -2
  33. package/dist/cdn/{DX7TJKT5.js → 5WPW2246.js} +1 -1
  34. package/dist/cdn/{ILXKVSFA.js → 6BL4NWIC.js} +2 -2
  35. package/dist/cdn/{25FH7Z44.js → 6Q536T66.js} +2 -2
  36. package/dist/cdn/{3NDCNEYT.js → 6ROWUIQU.js} +2 -2
  37. package/dist/cdn/{Z4YSOESR.js → 6SZQKOOS.js} +2 -2
  38. package/dist/cdn/{6WFAXOJT.js → 6Y2I4XYE.js} +2 -2
  39. package/dist/cdn/{HDTT2TC4.js → 7AC7XMF4.js} +2 -2
  40. package/dist/cdn/{P4YZWDLH.js → 7DI7SRGH.js} +2 -2
  41. package/dist/cdn/{FVYO2GRK.js → 7JF6NNSQ.js} +2 -2
  42. package/dist/cdn/{T44YZICL.js → 7Q6347YI.js} +2 -2
  43. package/dist/cdn/{F4CWCLL7.js → 7QBBJFM5.js} +2 -2
  44. package/dist/cdn/{S2APRC2V.js → 7VZ4OT7R.js} +2 -2
  45. package/dist/cdn/{5Q4GVBV3.js → A4SCKDHV.js} +2 -2
  46. package/dist/cdn/{LDCXJZS2.js → A4VXBACE.js} +2 -2
  47. package/dist/cdn/{NXE7ULTZ.js → AD5QHYKR.js} +2 -2
  48. package/dist/cdn/{FIFYDOAA.js → APFE5C32.js} +2 -2
  49. package/dist/cdn/{3OOI3MCC.js → BAYAA33L.js} +2 -2
  50. package/dist/cdn/BE2KZNLK.js +4 -0
  51. package/dist/cdn/{MA4CJCJG.js → BEGFSVO3.js} +2 -2
  52. package/dist/cdn/{RBUUJTUI.js → BGTVBJZ4.js} +2 -2
  53. package/dist/cdn/{2W4FFQ3I.js → BXGWT5ME.js} +2 -2
  54. package/dist/cdn/{XHHA2LQS.js → BXOKITSI.js} +2 -2
  55. package/dist/cdn/{HFKKQZNH.js → C4WACUVD.js} +2 -2
  56. package/dist/cdn/{N222OSPX.js → C6CRYWET.js} +2 -2
  57. package/dist/cdn/{534MMCFU.js → C6G2C5QK.js} +2 -2
  58. package/dist/cdn/{K4MVUXQW.js → CC7BTIBM.js} +1 -1
  59. package/dist/cdn/{5EIU2PGP.js → CCBPIR6R.js} +2 -2
  60. package/dist/cdn/{4ERUNSWK.js → CI43PIT4.js} +2 -2
  61. package/dist/cdn/{F3AHN2WJ.js → CJ6FKJ3K.js} +2 -2
  62. package/dist/cdn/{P7STXLET.js → CLZOTIWZ.js} +1 -1
  63. package/dist/cdn/{HSYPPEIL.js → CON4URVJ.js} +1 -1
  64. package/dist/cdn/{DEFGQKJV.js → CPBQIFEF.js} +2 -2
  65. package/dist/cdn/{GDD2ETIS.js → CSLSG5SH.js} +2 -2
  66. package/dist/cdn/{37AKZIFW.js → CT6CBGPR.js} +2 -2
  67. package/dist/cdn/{QGIMSUZC.js → CW6642P2.js} +2 -2
  68. package/dist/cdn/{E4P76OZ7.js → CWCSV67H.js} +2 -2
  69. package/dist/cdn/{FYGRRPGD.js → CXHVIFNU.js} +1 -1
  70. package/dist/cdn/{B7OU3XS3.js → CXWLQFX2.js} +2 -2
  71. package/dist/cdn/{KS7MPJ77.js → CYPCPQH6.js} +2 -2
  72. package/dist/cdn/{CEFE7YWX.js → D67FZPJ5.js} +1 -1
  73. package/dist/cdn/{ZXXLVNCY.js → DKF57FBR.js} +2 -2
  74. package/dist/cdn/{5WYXPAOU.js → DLAYWAPH.js} +2 -2
  75. package/dist/cdn/{S3PJIEKG.js → DM4C4C3K.js} +2 -2
  76. package/dist/cdn/{N7VXXLWQ.js → DNPZYN3Z.js} +2 -2
  77. package/dist/cdn/{RSGM456F.js → DYP27ZPK.js} +1 -1
  78. package/dist/cdn/{IY3OFY5J.js → E3ZMGWED.js} +2 -2
  79. package/dist/cdn/{YGSU2XPN.js → E4NBSQ35.js} +2 -2
  80. package/dist/cdn/{N73TGMNU.js → ECDE35FH.js} +2 -2
  81. package/dist/cdn/{S6VOVPRE.js → EEERTB7E.js} +2 -2
  82. package/dist/cdn/{OPEHJDD2.js → ELVO64GA.js} +2 -2
  83. package/dist/cdn/{54FUSJ2V.js → EOJ3WXCH.js} +2 -2
  84. package/dist/cdn/{3XPRIFNM.js → EPFXKPGB.js} +2 -2
  85. package/dist/cdn/{E5GW2OX3.js → EPKPARUV.js} +2 -2
  86. package/dist/cdn/{4W5ECW63.js → EU224OLZ.js} +2 -2
  87. package/dist/cdn/{EHZUCTIE.js → EUAFFQHE.js} +2 -2
  88. package/dist/cdn/{RZBHNQND.js → EZCLR33C.js} +2 -2
  89. package/dist/cdn/{5K3SXYTT.js → FNJI5EMP.js} +2 -2
  90. package/dist/cdn/{NSXNDWLI.js → FPZ3B6IS.js} +2 -2
  91. package/dist/cdn/{LF4KLWSW.js → FSVF4HTD.js} +2 -2
  92. package/dist/cdn/{IPFCIPAW.js → FZ2LQMBO.js} +2 -2
  93. package/dist/cdn/{NLKGSZDL.js → GAEYY4FS.js} +2 -2
  94. package/dist/cdn/{T632FN4Z.js → GJUGVGCJ.js} +2 -2
  95. package/dist/cdn/{WG3AQIMV.js → GLA4AFXV.js} +2 -2
  96. package/dist/cdn/{7WIJO4MW.js → GOUPON2E.js} +2 -2
  97. package/dist/cdn/{5TNR2KRG.js → GPUYAXCS.js} +2 -2
  98. package/dist/cdn/{J537SD3A.js → GR7VN6R4.js} +2 -2
  99. package/dist/cdn/{F3IVHPTJ.js → GZBUIGQ6.js} +2 -2
  100. package/dist/cdn/{UPQKEFUC.js → H2D75N62.js} +2 -2
  101. package/dist/cdn/{JPO5IU2M.js → H7FBSTV6.js} +2 -2
  102. package/dist/cdn/{TO7A2Q7Q.js → HA7PVYKA.js} +2 -2
  103. package/dist/cdn/{D6I5OTDJ.js → HF4HERFY.js} +2 -2
  104. package/dist/cdn/{ALWLK3W4.js → HH3PLSAQ.js} +1 -1
  105. package/dist/cdn/{EXDS6CWO.js → HSOC7IDQ.js} +2 -2
  106. package/dist/cdn/{OA443CX5.js → HTEDLR7B.js} +2 -2
  107. package/dist/cdn/{NJJZFP5C.js → HVPZ3F5W.js} +2 -2
  108. package/dist/cdn/{UUCSRWBU.js → HVTCH2JA.js} +2 -2
  109. package/dist/cdn/{EMCX7VCT.js → I3P6WA36.js} +2 -2
  110. package/dist/cdn/{OHXLQYZ3.js → IAOK3KAK.js} +2 -2
  111. package/dist/cdn/{CKNNJYVF.js → ICAYJVSK.js} +2 -2
  112. package/dist/cdn/{TWL63VXE.js → IMNJCPXY.js} +2 -2
  113. package/dist/cdn/{PR3ZGFFJ.js → IVKY7G3S.js} +2 -2
  114. package/dist/cdn/{CTCLJA44.js → IVRTDUMK.js} +2 -2
  115. package/dist/cdn/{X3VS5KIL.js → IW2JMHS5.js} +2 -2
  116. package/dist/cdn/{JHXGNS7S.js → IW4M2GSP.js} +2 -2
  117. package/dist/cdn/{IUOE57JP.js → J4ZT4BBY.js} +2 -2
  118. package/dist/cdn/{QG7IKMRU.js → JPOJ75AX.js} +1 -1
  119. package/dist/cdn/{TQRPBCCN.js → JPVXNQED.js} +2 -2
  120. package/dist/cdn/{34AD576A.js → JS6BLIL4.js} +2 -2
  121. package/dist/cdn/{CPBB2DO2.js → JUHQZR4X.js} +2 -2
  122. package/dist/cdn/{CM4PJ3Z7.js → JW4MDHYB.js} +2 -2
  123. package/dist/cdn/{VJGNELKJ.js → K3S6R3NM.js} +2 -2
  124. package/dist/cdn/{SRLY6G7W.js → K7VNRGXI.js} +1 -1
  125. package/dist/cdn/{R2PUQBI7.js → KF4NPMLP.js} +2 -2
  126. package/dist/cdn/{MG6BJWUS.js → KKDDBMMY.js} +2 -2
  127. package/dist/cdn/{PMBNQBYQ.js → KKUOZCRF.js} +2 -2
  128. package/dist/cdn/{KUG5Y26U.js → KQFI7PGI.js} +2 -2
  129. package/dist/cdn/{HYR7U3RN.js → KV5UH3MT.js} +2 -2
  130. package/dist/cdn/{R6Z3GLV5.js → KWMHPDEY.js} +2 -2
  131. package/dist/cdn/{WKY4OCAR.js → KWMSCSMF.js} +2 -2
  132. package/dist/cdn/{3PATADTR.js → KYDCRFYS.js} +2 -2
  133. package/dist/cdn/{MAKJC47W.js → L577SG76.js} +2 -2
  134. package/dist/cdn/{DO5VJTG4.js → LGGHYSPK.js} +2 -2
  135. package/dist/cdn/{JMJQZTQY.js → LI466AZ5.js} +1 -1
  136. package/dist/cdn/{LD3AE4C2.js → LLPLPDDQ.js} +2 -2
  137. package/dist/cdn/{ZD34XZAB.js → LM2QMUSO.js} +2 -2
  138. package/dist/cdn/{LI4CWVYL.js → LOYJ4UBZ.js} +2 -2
  139. package/dist/cdn/{FWQGIZHR.js → LTOOKYG4.js} +2 -2
  140. package/dist/cdn/{J62EEE4F.js → LU2XF4IR.js} +2 -2
  141. package/dist/cdn/{GEC3G7HH.js → LZKEFJYN.js} +2 -2
  142. package/dist/cdn/{HUP7WJOZ.js → LZNUOHLH.js} +2 -2
  143. package/dist/cdn/{IYL66LGK.js → M2AVGZLO.js} +2 -2
  144. package/dist/cdn/{FUZEK77Q.js → M53R6A4I.js} +2 -2
  145. package/dist/cdn/{JDSFOU4G.js → M73YOPJJ.js} +2 -2
  146. package/dist/cdn/{QY4WTGXJ.js → MADSZ7SV.js} +2 -2
  147. package/dist/cdn/{4XEXAEO3.js → MCQKB3HY.js} +1 -1
  148. package/dist/cdn/{PXGPV4B6.js → ME242U3I.js} +2 -2
  149. package/dist/cdn/{D2VA6BBJ.js → MGC5ACGI.js} +2 -2
  150. package/dist/cdn/{WRL3P5TX.js → MGKX52QY.js} +2 -2
  151. package/dist/cdn/{BBK3TOQG.js → MKHSMENJ.js} +2 -2
  152. package/dist/cdn/{STCHSRLJ.js → MZEXKPXE.js} +2 -2
  153. package/dist/cdn/{LZTQSHO2.js → N3H4BL5A.js} +2 -2
  154. package/dist/cdn/{IQ2JUVOZ.js → N5OH5WH6.js} +2 -2
  155. package/dist/cdn/{FWIV7ZI7.js → NNZTU75H.js} +2 -2
  156. package/dist/cdn/{CIDVDUCQ.js → O4RAQN6H.js} +2 -2
  157. package/dist/cdn/{JLYOT6AZ.js → O5NYFOQL.js} +2 -2
  158. package/dist/cdn/{QJBDUCAA.js → O6AMKW3T.js} +2 -2
  159. package/dist/cdn/{Y4F3LPQH.js → OM4UOTZA.js} +2 -2
  160. package/dist/cdn/{WB2YQA52.js → OMDHNSRY.js} +2 -2
  161. package/dist/cdn/{ZSV2KJHG.js → OZOYWNCQ.js} +2 -2
  162. package/dist/cdn/{LMSTORJO.js → OZY4JSFD.js} +2 -2
  163. package/dist/cdn/{47XGJIJX.js → P5LJ5AKE.js} +2 -2
  164. package/dist/cdn/{RMGU6UB6.js → P6TCOIZV.js} +2 -2
  165. package/dist/cdn/{GWUXB2VC.js → P6YP3D5R.js} +2 -2
  166. package/dist/cdn/{XXDCZCYE.js → PA3DS3C2.js} +2 -2
  167. package/dist/cdn/{TGPANP2V.js → PF5CM77S.js} +2 -2
  168. package/dist/cdn/{GAD2MCBF.js → PYPGWFXB.js} +2 -2
  169. package/dist/cdn/{RAUQKDWQ.js → QJVBDTXQ.js} +2 -2
  170. package/dist/cdn/{524MJHPX.js → QPYN3HGT.js} +1 -1
  171. package/dist/cdn/{W6N2YEBN.js → QXYHAO6A.js} +2 -2
  172. package/dist/cdn/{GPI5USKJ.js → R3EYMYSR.js} +2 -2
  173. package/dist/cdn/{STKGIZJB.js → RBXIU42Q.js} +2 -2
  174. package/dist/cdn/{JRMFYN2H.js → RD2GDA2E.js} +2 -2
  175. package/dist/cdn/{IDA2ZGUB.js → RENDE4SL.js} +2 -2
  176. package/dist/cdn/{DZUPWLZW.js → RFT6X76Q.js} +2 -2
  177. package/dist/cdn/{5FHMBS2P.js → RINKLFNL.js} +2 -2
  178. package/dist/cdn/{YSNASFF6.js → RKQU4AFW.js} +2 -2
  179. package/dist/cdn/{2YT2EKNR.js → RRE3AEHF.js} +1 -1
  180. package/dist/cdn/{YNQQEKVL.js → RRSZENMO.js} +1 -1
  181. package/dist/cdn/{DTG5P36I.js → RVC7BASP.js} +2 -2
  182. package/dist/cdn/{RRGT5LCS.js → RVX2S46U.js} +2 -2
  183. package/dist/cdn/{GS6TRNNC.js → RYKHAMDT.js} +2 -2
  184. package/dist/cdn/{JPAW2Q4Y.js → S5TLMZVD.js} +2 -2
  185. package/dist/cdn/{KPJYMTNA.js → S64WFEXL.js} +2 -2
  186. package/dist/cdn/{F2T4JQ75.js → SAUDUYAE.js} +2 -2
  187. package/dist/cdn/{GJAEHO4I.js → SCIJMMCH.js} +2 -2
  188. package/dist/cdn/{AHEOW2SI.js → SHB3WNZ6.js} +2 -2
  189. package/dist/cdn/{RV7ZZV54.js → SHZ3RPGA.js} +2 -2
  190. package/dist/cdn/{JVHLAI2Q.js → SIPUYG3U.js} +2 -2
  191. package/dist/cdn/{UBUGMDGN.js → SPE25I64.js} +2 -2
  192. package/dist/cdn/{KO3STOFM.js → SPMGMFP6.js} +2 -2
  193. package/dist/cdn/{GM4E4LGV.js → STG7WZ3S.js} +2 -2
  194. package/dist/cdn/{5VN7U3KF.js → SVJ2XDUC.js} +2 -2
  195. package/dist/cdn/{IAOIGVBX.js → SXSXTSWT.js} +2 -2
  196. package/dist/cdn/{RKFKVMQO.js → SXTPGUHG.js} +2 -2
  197. package/dist/cdn/{KTAG2KIB.js → SYCVUROG.js} +2 -2
  198. package/dist/cdn/{AAC5EOGU.js → T6IFSLPH.js} +2 -2
  199. package/dist/cdn/{4VED2CGH.js → TAFASUHN.js} +2 -2
  200. package/dist/cdn/TTDC3OUK.js +4 -0
  201. package/dist/cdn/{2TQUQK3F.js → UEMBWWNU.js} +2 -2
  202. package/dist/cdn/{UZUXTTYR.js → ULM542GE.js} +2 -2
  203. package/dist/cdn/{WCILO4Z4.js → UU4XPIYA.js} +2 -2
  204. package/dist/cdn/{YYXLJEKX.js → UY2JZ357.js} +2 -2
  205. package/dist/cdn/{KPTZCRWN.js → UZEHMS7N.js} +3 -3
  206. package/dist/cdn/{NSB23BIE.js → V45ZEASG.js} +2 -2
  207. package/dist/cdn/{XE3HMBLR.js → V4SWJHBX.js} +2 -2
  208. package/dist/cdn/{WL7NRPMT.js → VFAOYT2T.js} +2 -2
  209. package/dist/cdn/{6F3BTXAH.js → VGFOQ6E7.js} +2 -2
  210. package/dist/cdn/{O2PKT5YV.js → VLJJ2E7O.js} +2 -2
  211. package/dist/cdn/{7APUPOQB.js → VLTB3RDR.js} +2 -2
  212. package/dist/cdn/{QVUR2KWS.js → VPNFBH7X.js} +2 -2
  213. package/dist/cdn/{35KELH27.js → VYCJD2UN.js} +2 -2
  214. package/dist/cdn/{E6ROV2QN.js → VYZWSVHN.js} +2 -2
  215. package/dist/cdn/{QCFTQZQK.js → W3EMTTTY.js} +2 -2
  216. package/dist/cdn/{6TSWIOKL.js → WFAQHJVV.js} +2 -2
  217. package/dist/cdn/{ZYY6TNMP.js → WPOELORO.js} +2 -2
  218. package/dist/cdn/{ANGJQKA6.js → XBOJGUMS.js} +2 -2
  219. package/dist/cdn/{LWA5IPND.js → XDPPXYZW.js} +2 -2
  220. package/dist/cdn/{LSVGFAKY.js → XIISPGZ2.js} +2 -2
  221. package/dist/cdn/{HY2NRCX5.js → XLD5PCKQ.js} +2 -2
  222. package/dist/cdn/{ULWJWER6.js → XOS4NV5S.js} +2 -2
  223. package/dist/cdn/{7HIEILZT.js → XPEJLAD2.js} +2 -2
  224. package/dist/cdn/{HACMDBEA.js → XRFJPDMW.js} +2 -2
  225. package/dist/cdn/{UIS4HMK6.js → XT3YKDBK.js} +2 -2
  226. package/dist/cdn/{5WMABKIW.js → XTLPVNSU.js} +2 -2
  227. package/dist/cdn/{KO3MXTOX.js → Y27LXIBN.js} +2 -2
  228. package/dist/cdn/{C6GH5LEL.js → Y4W5A3QH.js} +2 -2
  229. package/dist/cdn/{RJ66AWL5.js → Y75R7G7Q.js} +2 -2
  230. package/dist/cdn/{5AJEPNLU.js → YD7O2ACB.js} +2 -2
  231. package/dist/cdn/{DWACURFE.js → YJFW22S6.js} +1 -1
  232. package/dist/cdn/{2GFHUERF.js → YLRHAQBR.js} +2 -2
  233. package/dist/cdn/{CMMOTM5C.js → YQJ7POD4.js} +2 -2
  234. package/dist/cdn/{3K3QDMID.js → YRNPGIG5.js} +2 -2
  235. package/dist/cdn/{RFT5RX2O.js → YYLDJHCF.js} +2 -2
  236. package/dist/cdn/{OZXKFCMK.js → ZISJWKFZ.js} +2 -2
  237. package/dist/cdn/{TJBXUIAV.js → ZOW2IFLR.js} +2 -2
  238. package/dist/cdn/{EFHHQR3N.js → ZTBXI62V.js} +2 -2
  239. package/dist/cdn/index.js +2 -2
  240. package/dist/chunks/AnalysisViewModel.js +1 -1
  241. package/dist/chunks/action-utils.js +1 -1
  242. package/dist/chunks/async-utils.js +1 -1
  243. package/dist/chunks/basemap-gallery-resources.js +1 -1
  244. package/dist/chunks/building-layer-utils.js +1 -1
  245. package/dist/chunks/chart-utils.js +1 -1
  246. package/dist/chunks/chartCommon.js +1 -1
  247. package/dist/chunks/component-utils.js +1 -1
  248. package/dist/chunks/component-wrapper.js +1 -1
  249. package/dist/chunks/constants.js +1 -1
  250. package/dist/chunks/createCloseEvent.js +1 -1
  251. package/dist/chunks/esri-main.js +1 -1
  252. package/dist/chunks/feature-utils.js +1 -1
  253. package/dist/chunks/globalCss.js +1 -1
  254. package/dist/chunks/handle.js +1 -1
  255. package/dist/chunks/heading.js +1 -1
  256. package/dist/chunks/layer-list.js +1 -1
  257. package/dist/chunks/legacyIcon.js +1 -1
  258. package/dist/chunks/maybe.js +1 -1
  259. package/dist/chunks/measurementUtils.js +1 -1
  260. package/dist/chunks/runtime.js +1 -1
  261. package/dist/chunks/screenLocation.js +1 -1
  262. package/dist/chunks/slots.js +1 -1
  263. package/dist/chunks/svgUtils.js +1 -1
  264. package/dist/chunks/time-utils.js +1 -1
  265. package/dist/chunks/univariateUtils.js +1 -1
  266. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  267. package/dist/chunks/useHandles.js +1 -1
  268. package/dist/chunks/useT9n.js +1 -1
  269. package/dist/chunks/useView.js +1 -1
  270. package/dist/chunks/useViewModel.js +1 -1
  271. package/dist/chunks/useWidget.js +1 -1
  272. package/dist/chunks/utils.js +1 -1
  273. package/dist/chunks/utils2.js +1 -1
  274. package/dist/chunks/visible-element.js +1 -1
  275. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  276. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  277. package/dist/components/arcgis-attachments/customElement.d.ts +2 -2
  278. package/dist/components/arcgis-attachments/customElement.js +1 -1
  279. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  280. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  281. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
  282. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  283. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  284. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
  285. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  286. package/dist/components/arcgis-building-discipline-tree/building-discipline-view-model.d.ts +1 -1
  287. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  288. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  289. package/dist/components/arcgis-building-level-item/customElement.d.ts +2 -2
  290. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  291. package/dist/components/arcgis-building-level-picker/customElement.d.ts +1 -1
  292. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  293. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +1 -1
  294. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  295. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -5
  296. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  297. package/dist/components/arcgis-color-select/customElement.js +1 -1
  298. package/dist/components/arcgis-compass/customElement.d.ts +1 -1
  299. package/dist/components/arcgis-compass/customElement.js +1 -1
  300. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
  301. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  302. package/dist/components/arcgis-daylight/customElement.js +1 -1
  303. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  304. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  305. package/dist/components/arcgis-directions/customElement.d.ts +40 -33
  306. package/dist/components/arcgis-directions/customElement.js +1 -1
  307. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  308. package/dist/components/arcgis-editor/customElement.d.ts +11 -9
  309. package/dist/components/arcgis-editor/customElement.js +1 -1
  310. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  311. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  312. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  313. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  314. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  315. package/dist/components/arcgis-expand/customElement.js +1 -1
  316. package/dist/components/arcgis-feature/customElement.js +1 -1
  317. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  318. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  319. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  320. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  321. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  322. package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
  323. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  324. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  325. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  326. package/dist/components/arcgis-feature-table/customElement.d.ts +8 -8
  327. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  328. package/dist/components/arcgis-feature-templates/customElement.d.ts +7 -7
  329. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  330. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  331. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  332. package/dist/components/arcgis-features/customElement.js +1 -1
  333. package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -2
  334. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  335. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  336. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  337. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  338. package/dist/components/arcgis-home/customElement.js +1 -1
  339. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  340. package/dist/components/arcgis-layer-list/customElement.d.ts +11 -13
  341. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  342. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  343. package/dist/components/arcgis-legend/customElement.js +1 -1
  344. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  345. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  346. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  347. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  348. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  349. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  350. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  351. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  352. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  353. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  354. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  355. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  356. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  357. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  358. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  359. package/dist/components/arcgis-link-chart/customElement.d.ts +2 -2
  360. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  361. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  362. package/dist/components/arcgis-locate/customElement.js +1 -1
  363. package/dist/components/arcgis-map/customElement.d.ts +1 -1
  364. package/dist/components/arcgis-map/customElement.js +1 -1
  365. package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
  366. package/dist/components/arcgis-measurement/customElement.js +1 -1
  367. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  368. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  369. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +20 -8
  370. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  371. package/dist/components/arcgis-popup/customElement.js +1 -1
  372. package/dist/components/arcgis-presentation/customElement.js +1 -1
  373. package/dist/components/arcgis-print/customElement.js +1 -1
  374. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  375. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  376. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  377. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  378. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  379. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  380. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  381. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  382. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  383. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  384. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  385. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  386. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  387. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  388. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  389. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  390. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +2 -2
  391. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  392. package/dist/components/arcgis-scene/customElement.js +1 -1
  393. package/dist/components/arcgis-search/customElement.d.ts +1 -1
  394. package/dist/components/arcgis-search/customElement.js +1 -1
  395. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  396. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  397. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  398. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  399. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  400. package/dist/components/arcgis-sketch/customElement.d.ts +9 -9
  401. package/dist/components/arcgis-sketch/customElement.js +1 -1
  402. package/dist/components/arcgis-slice/customElement.js +1 -1
  403. package/dist/components/arcgis-spinner/customElement.js +1 -1
  404. package/dist/components/arcgis-swipe/customElement.js +1 -1
  405. package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
  406. package/dist/components/arcgis-table-list/customElement.js +1 -1
  407. package/dist/components/arcgis-time-slider/customElement.d.ts +10 -10
  408. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  409. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  410. package/dist/components/arcgis-track/customElement.d.ts +18 -21
  411. package/dist/components/arcgis-track/customElement.js +1 -1
  412. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  413. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  414. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  415. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  416. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +2 -2
  417. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  418. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  419. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  420. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  421. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  422. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  423. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  424. package/dist/components/arcgis-value-picker/customElement.d.ts +6 -6
  425. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  426. package/dist/components/arcgis-version-management/customElement.js +1 -1
  427. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  428. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  429. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  430. package/dist/components/arcgis-video/customElement.js +1 -1
  431. package/dist/components/arcgis-video-player/customElement.js +1 -1
  432. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  433. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  434. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  435. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  436. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  437. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  438. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  439. package/dist/components/arcgis-weather/customElement.js +1 -1
  440. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  441. package/dist/components/arcgis-zoom/customElement.d.ts +1 -1
  442. package/dist/components/arcgis-zoom/customElement.js +1 -1
  443. package/dist/docs/api.json +125 -125
  444. package/dist/docs/docs.json +85 -85
  445. package/dist/docs/vscode.html-custom-data.json +40 -40
  446. package/dist/docs/web-types.json +110 -110
  447. package/dist/index.js +1 -1
  448. package/dist/loader.js +1 -1
  449. package/package.json +3 -3
  450. package/dist/cdn/2KRIUZGP.js +0 -4
  451. package/dist/cdn/HSGJQY7N.js +0 -4
  452. package/dist/cdn/Q6O2OCZ3.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
3
+ v5.0.0-next.120 */
4
4
  export default $arcgis.t(([{substitute:a,formatNumber:u},{stripHTML:c}])=>{function f(e,n){return n}function l(e,n,i){if(!n)return;if(typeof n=="number")return n;if(typeof n=="string")return c(n);if("value"in n||"unit"in n)return a(e.dotValue??"",n);if("colorName"in n&&"bandName"in n){let o=e[n.colorName],r=e[n.bandName]||n.bandName;return`${o}: ${r}`}if("showCount"in n)return n.showCount?e.clusterCountTitle:void 0;let t=null;return f(n,i)?t=n.ratioPercentTotal?"showRatioPercentTotal":n.ratioPercent?"showRatioPercent":n.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null:s(n,i)&&(t=n.normField?"showNormField":n.normByPct?"showNormPct":n.field?"showField":null),t?a(t==="showField"?"{field}":e[t]??"",{field:n.field,normField:n.normField}):void 0}function s(e,n){return!n}function h(e,n){if(!e.title||typeof e.title=="string")return e.title;let i=e.type==="color-ramp"||e.type==="opacity-ramp",t=e.title,o=l(n,t,i);return s(t,i)&&t.title?`${t.title} (${o})`:o}var d=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/iu;function w(e,n,i){switch(n){case"heatmap-ramp":return(i[e.label]||e.label)??null;case"stretch-ramp":let t="value"in e?e.value:void 0,o=e.label?i[e.label]:"";return o?`${o}: ${typeof t=="string"?t:u(t??0,{style:"decimal",notation:t?.toString().toLowerCase().includes("e")?"scientific":"standard"})}`:"";default:return e.label??null}}function y(e,n){return!!(n&&n==="Stretched"&&"version"in e&&typeof e.version=="number"&&e.version>=10.3&&e.declaredClass==="esri.layers.ImageryLayer")}function v(e){return e?e/72*96:0}function m(e){return e?e*72/96:0}function N(e){if(typeof e=="string"){let n=e.match(d);if(n){let i=Number(n[1]),t=n[3]?.toLowerCase(),o=e.startsWith("-"),r=t==="px"?m(i):i;return o?-r:r}return null}return e}function F(e,n){let i=l(e,n,!1),t=i?e.previewTemplateAriaLabel:e.previewAriaLabel;return a(t??"",{label:i})}function g(e,n){!n||!e||(e.querySelector("svg")??e.querySelector("canvas")??e).setAttribute("aria-label",n)}return{a:l,b:h,c:w,d:y,e:v,f:N,g:F,h:g}},"intl","applications/Components/stringUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
4
- import{N as r,O as a,T as l,a as c,b as s}from"./K4MVUXQW.js";import"./YNQQEKVL.js";export default $arcgis.t(([{watch:n}])=>{var h=c`.arcgis-metadata-table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.arcgis-metadata-table__empty-state{width:100%;max-inline-size:unset;transition-duration:0ms;margin-top:var(--calcite-spacing-md)}`,o="arcgis-metadata-table",t={table:o,row:`${o}__row`,data:`${o}__data`,emptyState:`${o}__empty-state`},d=class extends r{constructor(){super(...arguments),this._disabled=!1,this._hasMetadata=!1,this._missionInfo={},this._platformInfo={},this._frameInfo={}}static{this.properties={_disabled:16,_hasMetadata:16,_missionInfo:16,_platformInfo:16,_frameInfo:16,viewModel:0,messages:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[n(()=>this.viewModel.state,i=>{this._disabled=i==="not-ready"||i==="waiting"},{initial:!0}),n(()=>[this.viewModel.metadata?.missionInfo,this.viewModel.metadata?.platformInfo,this.viewModel.metadata?.frameInfo],()=>{let{metadata:i}=this.viewModel;if(this._hasMetadata=!!i,!this._hasMetadata)return;let{missionInfo:e,platformInfo:m,frameInfo:f}=i;this._missionInfo=e,this._platformInfo=m,this._frameInfo=f},{initial:!0})])}render(){let{messages:i}=this;return this._disabled||!this._hasMetadata?s`<calcite-tile class=${a(t.emptyState)} .description=${i.metadataDescription} .heading=${i.metadataNotLoaded}></calcite-tile>`:s`<calcite-block .heading=${i.metadata} expanded><calcite-accordion appearance=solid selection-mode=single><calcite-accordion-item .heading=${i.missionInfo}><div class=${a(t.table)}>${Object.keys(this._missionInfo).map(e=>s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._missionInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.platformInfo}><div class=${a(t.table)}>${Object.keys(this._platformInfo).map(e=>s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._platformInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.frameInfo}><div class=${a(t.table)}>${Object.keys(this._frameInfo).map(e=>s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._frameInfo[e]}</div></div>`)}</div></calcite-accordion-item></calcite-accordion></calcite-block>`}};l("arcgis-video-player-metadata",d);return d},"core/reactiveUtils")
3
+ v5.0.0-next.120 */
4
+ import{N as r,O as a,T as l,a as c,b as s}from"./CC7BTIBM.js";import"./RRSZENMO.js";export default $arcgis.t(([{watch:n}])=>{var h=c`.arcgis-metadata-table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.arcgis-metadata-table__empty-state{width:100%;max-inline-size:unset;transition-duration:0ms;margin-top:var(--calcite-spacing-md)}`,o="arcgis-metadata-table",t={table:o,row:`${o}__row`,data:`${o}__data`,emptyState:`${o}__empty-state`},d=class extends r{constructor(){super(...arguments),this._disabled=!1,this._hasMetadata=!1,this._missionInfo={},this._platformInfo={},this._frameInfo={}}static{this.properties={_disabled:16,_hasMetadata:16,_missionInfo:16,_platformInfo:16,_frameInfo:16,viewModel:0,messages:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[n(()=>this.viewModel.state,i=>{this._disabled=i==="not-ready"||i==="waiting"},{initial:!0}),n(()=>[this.viewModel.metadata?.missionInfo,this.viewModel.metadata?.platformInfo,this.viewModel.metadata?.frameInfo],()=>{let{metadata:i}=this.viewModel;if(this._hasMetadata=!!i,!this._hasMetadata)return;let{missionInfo:e,platformInfo:m,frameInfo:f}=i;this._missionInfo=e,this._platformInfo=m,this._frameInfo=f},{initial:!0})])}render(){let{messages:i}=this;return this._disabled||!this._hasMetadata?s`<calcite-tile class=${a(t.emptyState)} .description=${i.metadataDescription} .heading=${i.metadataNotLoaded}></calcite-tile>`:s`<calcite-block .heading=${i.metadata} expanded><calcite-accordion appearance=solid selection-mode=single><calcite-accordion-item .heading=${i.missionInfo}><div class=${a(t.table)}>${Object.keys(this._missionInfo).map(e=>s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._missionInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.platformInfo}><div class=${a(t.table)}>${Object.keys(this._platformInfo).map(e=>s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._platformInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.frameInfo}><div class=${a(t.table)}>${Object.keys(this._frameInfo).map(e=>s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._frameInfo[e]}</div></div>`)}</div></calcite-accordion-item></calcite-accordion></calcite-block>`}};l("arcgis-video-player-metadata",d);return d},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
4
- import e from"./22JMPJTG.js";import d from"./TGPANP2V.js";import{a as L}from"./IQ2JUVOZ.js";import c from"./F4K626LE.js";import a from"./5K3SXYTT.js";import{g as F}from"./HACMDBEA.js";import"./GAD2MCBF.js";import"./DX7TJKT5.js";import{b as E}from"./HSYPPEIL.js";import{M as _,N as b,O as l,Q as C,T as x,a as I,b as o,x as M}from"./K4MVUXQW.js";import"./YNQQEKVL.js";export default $arcgis.t(([B,{substitute:Z},H,{watch:P},{stripHTML:U},,,T,{b:A,c:V,d:R,e:k,f:D,j:N,q:h}])=>{var z=I`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.arcgis-feature{flex:1 1 auto}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child,.arcgis-feature__content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`,f="arcgis-feature",d={base:f,container:`${f}__size-container`,main:`${f}__main-container`,contentElement:`${f}__content-element`,lastEditedInfo:`${f}__last-edited-info`,loadingSpinnerContainer:`${f}__loading-container`},S=T(B),y=class extends b{constructor(){super(...arguments),this.messages=L(),this._rootFlowNode=null,this.flowType="feature",this.internalFlowItems=new H,this.viewModel=S(this),this.view=this.viewModel.view,this.icon="icon",this.isFeatureFromTable=this.viewModel.isFeatureFromTable,this.graphic=this.viewModel.graphic,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.title,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=F()("flowItems","state"),this.arcgisReady=M()}static{this.properties={flowType:16,popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,internalFlowItems:16,viewModel:0,view:0,flowItems:0,referenceElement:1,icon:1,isFeatureFromTable:36,graphic:0,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideContent:5,hideAttachmentsContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,showRelationshipContent:5,hideTextContent:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:35}}static{this.styles=z}get popupTemplate(){return R(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return k(this.graphic)}get fieldInfoMap(){return A(V(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}async destroy(){await this.manager.destroy()}async nextMedia(e){return this.viewModel.nextMedia(e)}async previousMedia(e){return this.viewModel.previousMedia(e)}async setActiveMedia(e,t){return this.viewModel.setActiveMedia(e,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[P(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_removeFlowItems(){this.internalFlowItems?.removeAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()}render(){let{state:e}=this.viewModel,t=o`<div class=${l(d.container)}>${e==="error"?this._renderError():e==="loading"?this._renderLoading():this._renderContentContainer()}</div>`;return o`<div class=${l(d.base)}>${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return o`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:o`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderLoading(){return o`<div class=${l(d.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.title}),r=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.description});return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${s} .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords??void 0} .attachmentTypes=${e.attachmentTypes??void 0} .graphic=${this.graphic??void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return o`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c,graphic:p}=this,u=!!e?.fieldInfos,m=(e.fieldInfos??r?.fieldInfos??[])?.filter(({fieldName:g})=>!!g&&(N(g)||D(g)||g in n)),v=r?.expressionInfos,$=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),w=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${$} class=${l(d.contentElement)} .messages=${this.messages} .graphic=${p??void 0} .isContentFieldInfos=${u} .layer=${s} .description=${w} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${m} .expressionInfos=${v??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c}=this,{formattedAttributes:p,relatedInfos:u}=this.viewModel,m={...p?.global,...p?.content?.[t]},v=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),$=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(d.contentElement)} .description=${$} .values=${i} .layer=${s} .graphic=${n??void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${r??void 0} .relatedInfos=${u} .formattedValues=${m}></arcgis-feature-media>`}_renderText(e){return o`<arcgis-feature-content .creator=${e.text} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:n}=this;return o`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class=${l(d.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,globalValues:r}=this,{displayCount:c,orderByFields:p,relationshipId:u}=e,{formattedAttributes:m,view:v}=this.viewModel,$={...m?.global,...m?.content?.[t]},w=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.title}),g=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.description});return o`<arcgis-feature-relationship class=${l(d.contentElement)} .flowItems=${this.flowItems??this.internalFlowItems} .description=${g} .layer=${s} .map=${this.map??void 0} .displayCount=${c} .graphic=${n??void 0} .heading=${w} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${p??void 0} .relationshipId=${u??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${$} .view=${v??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:n,messages:a,sourceLayer:s,values:r}=this,c=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.title}),p=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.description});return o`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class=${l(d.contentElement)} .description=${p} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${n??void 0} .heading=${c} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map??void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .view=${this.viewModel.view??void 0}></arcgis-feature-utility-network-associations>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;return e?Array.isArray(e)&&e.length?e.length?e.map(this._renderContentElement,this):null:typeof e=="string"?o`<arcgis-feature-content .creator=${e} .graphic=${t??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`:e instanceof HTMLElement?e:null:null}_renderContentContainer(){let{hideContent:e,internalFlowItems:t,headingLevel:i,state:n,messages:a}=this;if(e)return null;let s=o`<div class=${l(d.main)}>${[this._renderContent(),this._renderLastEditInfo()]}</div>`,r=a.returnToInitialFeature??"";return this.flowItems?s:o`<calcite-flow ${_(this._storeRootFlowNode)}><calcite-flow-item .loading=${n==="loading"} .headingLevel=${i} .heading=${this.hideHeading?void 0:U(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((c,p)=>o`<calcite-flow-item @calciteFlowItemBack=${u=>{u.preventDefault(),this._handleDrillInBackClick()}} .loading=${n==="loading"} .headingLevel=${i} .selected=${p===t.length-1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r} title=${r??C}></calcite-action>${c}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:n,user:a}=i,s=i.type==="edit"?a?t.lastEditedByUser:t.lastEdited:a?t.lastCreatedByUser:t.lastCreated,r=Z(s??"",{date:n,user:a});return o`<div class=${l(E(d.lastEditedInfo,d.contentElement))}>${r}</div>`}};x("arcgis-feature",y);return y},"widgets/Feature/FeatureViewModel","intl","core/Collection","core/reactiveUtils","applications/Components/stringUtils",a,c,d,e)
3
+ v5.0.0-next.120 */
4
+ import e from"./42TTZZIU.js";import d from"./PF5CM77S.js";import{a as L}from"./N5OH5WH6.js";import c from"./3CKHLKRW.js";import a from"./FNJI5EMP.js";import{g as F}from"./XRFJPDMW.js";import"./PYPGWFXB.js";import"./5WPW2246.js";import{b as E}from"./CON4URVJ.js";import{M as _,N as b,O as l,Q as C,T as x,a as I,b as o,x as M}from"./CC7BTIBM.js";import"./RRSZENMO.js";export default $arcgis.t(([B,{substitute:Z},H,{watch:P},{stripHTML:U},,,T,{b:A,c:V,d:R,e:k,f:D,j:N,q:h}])=>{var z=I`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.arcgis-feature{flex:1 1 auto}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child,.arcgis-feature__content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`,f="arcgis-feature",d={base:f,container:`${f}__size-container`,main:`${f}__main-container`,contentElement:`${f}__content-element`,lastEditedInfo:`${f}__last-edited-info`,loadingSpinnerContainer:`${f}__loading-container`},S=T(B),y=class extends b{constructor(){super(...arguments),this.messages=L(),this._rootFlowNode=null,this.flowType="feature",this.internalFlowItems=new H,this.viewModel=S(this),this.view=this.viewModel.view,this.icon="icon",this.isFeatureFromTable=this.viewModel.isFeatureFromTable,this.graphic=this.viewModel.graphic,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.title,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=F()("flowItems","state"),this.arcgisReady=M()}static{this.properties={flowType:16,popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,internalFlowItems:16,viewModel:0,view:0,flowItems:0,referenceElement:1,icon:1,isFeatureFromTable:36,graphic:0,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideContent:5,hideAttachmentsContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,showRelationshipContent:5,hideTextContent:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:35}}static{this.styles=z}get popupTemplate(){return R(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return k(this.graphic)}get fieldInfoMap(){return A(V(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}async destroy(){await this.manager.destroy()}async nextMedia(e){return this.viewModel.nextMedia(e)}async previousMedia(e){return this.viewModel.previousMedia(e)}async setActiveMedia(e,t){return this.viewModel.setActiveMedia(e,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[P(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_removeFlowItems(){this.internalFlowItems?.removeAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()}render(){let{state:e}=this.viewModel,t=o`<div class=${l(d.container)}>${e==="error"?this._renderError():e==="loading"?this._renderLoading():this._renderContentContainer()}</div>`;return o`<div class=${l(d.base)}>${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return o`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:o`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderLoading(){return o`<div class=${l(d.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.title}),r=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.description});return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${s} .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords??void 0} .attachmentTypes=${e.attachmentTypes??void 0} .graphic=${this.graphic??void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return o`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c,graphic:p}=this,u=!!e?.fieldInfos,m=(e.fieldInfos??r?.fieldInfos??[])?.filter(({fieldName:g})=>!!g&&(N(g)||D(g)||g in n)),v=r?.expressionInfos,$=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),w=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${$} class=${l(d.contentElement)} .messages=${this.messages} .graphic=${p??void 0} .isContentFieldInfos=${u} .layer=${s} .description=${w} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${m} .expressionInfos=${v??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c}=this,{formattedAttributes:p,relatedInfos:u}=this.viewModel,m={...p?.global,...p?.content?.[t]},v=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),$=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(d.contentElement)} .description=${$} .values=${i} .layer=${s} .graphic=${n??void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${r??void 0} .relatedInfos=${u} .formattedValues=${m}></arcgis-feature-media>`}_renderText(e){return o`<arcgis-feature-content .creator=${e.text} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:n}=this;return o`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class=${l(d.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,globalValues:r}=this,{displayCount:c,orderByFields:p,relationshipId:u}=e,{formattedAttributes:m,view:v}=this.viewModel,$={...m?.global,...m?.content?.[t]},w=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.title}),g=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.description});return o`<arcgis-feature-relationship class=${l(d.contentElement)} .flowItems=${this.flowItems??this.internalFlowItems} .description=${g} .layer=${s} .map=${this.map??void 0} .displayCount=${c} .graphic=${n??void 0} .heading=${w} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${p??void 0} .relationshipId=${u??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${$} .view=${v??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:n,messages:a,sourceLayer:s,values:r}=this,c=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.title}),p=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.description});return o`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class=${l(d.contentElement)} .description=${p} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${n??void 0} .heading=${c} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map??void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .view=${this.viewModel.view??void 0}></arcgis-feature-utility-network-associations>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;return e?Array.isArray(e)&&e.length?e.length?e.map(this._renderContentElement,this):null:typeof e=="string"?o`<arcgis-feature-content .creator=${e} .graphic=${t??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`:e instanceof HTMLElement?e:null:null}_renderContentContainer(){let{hideContent:e,internalFlowItems:t,headingLevel:i,state:n,messages:a}=this;if(e)return null;let s=o`<div class=${l(d.main)}>${[this._renderContent(),this._renderLastEditInfo()]}</div>`,r=a.returnToInitialFeature??"";return this.flowItems?s:o`<calcite-flow ${_(this._storeRootFlowNode)}><calcite-flow-item .loading=${n==="loading"} .headingLevel=${i} .heading=${this.hideHeading?void 0:U(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((c,p)=>o`<calcite-flow-item @calciteFlowItemBack=${u=>{u.preventDefault(),this._handleDrillInBackClick()}} .loading=${n==="loading"} .headingLevel=${i} .selected=${p===t.length-1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r} title=${r??C}></calcite-action>${c}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:n,user:a}=i,s=i.type==="edit"?a?t.lastEditedByUser:t.lastEdited:a?t.lastCreatedByUser:t.lastCreated,r=Z(s??"",{date:n,user:a});return o`<div class=${l(E(d.lastEditedInfo,d.contentElement))}>${r}</div>`}};x("arcgis-feature",y);return y},"widgets/Feature/FeatureViewModel","intl","core/Collection","core/reactiveUtils","applications/Components/stringUtils",a,c,d,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
4
- import e from"./TGPANP2V.js";import{a as g}from"./IQ2JUVOZ.js";import c from"./F4K626LE.js";import b from"./5K3SXYTT.js";import{g as m}from"./HACMDBEA.js";import"./GAD2MCBF.js";import"./DX7TJKT5.js";import{b as u}from"./HSYPPEIL.js";import{N as h,O as a,P as d,Q as i,T as v,a as r,b as n,x as l}from"./K4MVUXQW.js";import"./YNQQEKVL.js";export default $arcgis.t(([x,,,p])=>{var f=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);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{calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host([visual-scale="l"]){calcite-button{width:calc(var(--calcite-spacing-xxxl) + var(--calcite-spacing-md));height:calc(var(--calcite-spacing-xxxl) + var(--calcite-spacing-md))}}:host([visual-scale="s"]){calcite-button{width:var(--calcite-spacing-xxl);height:var(--calcite-spacing-xxl)}}.compass{border-radius:50%;box-shadow:var(--arcgis-internal-box-shadow, none)}.compass__icon-container{justify-content:center;display:flex;position:absolute;transform:translate(-50%,-50%)}.compass__icon-container:dir(rtl){transform:translate(50%,-50%)}`,s="compass",e={base:s,button:"arcgis-button",compassButton:`${s}__button`,iconContainer:`${s}__icon-container`},w=p(x),o=class extends h{constructor(){super(...arguments),this.messages=g(),this.viewModel=w(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.orientation=this.viewModel.orientation,this.state=this.viewModel.state,this.visualScale="m",this.arcgisPropertyChange=m()("state","orientation"),this.arcgisReady=l()}static{this.properties={view:0,autoDestroyDisabled:5,goToOverride:0,icon:2,label:1,messageOverrides:0,orientation:32,referenceElement:1,state:35,visualScale:1}}static{this.styles=f}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(t){this._icon=t}async destroy(){await this.manager.destroy()}async reset(){this.viewModel.reset()}_reset(){this.viewModel.reset()}render(){let{messages:t,icon:b}=this;return n`<div class=${a(u(e.base,e.button,e.compassButton))}><calcite-button .disabled=${this.state==="disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round .scale=${this.visualScale} title=${t.reset??i}><div aria-hidden=true class=${a(e.iconContainer)} title=${t.reset??i}><calcite-icon .scale=${this.visualScale} .icon=${b} style=${d(y(this.orientation))}></calcite-icon></div></calcite-button></div>`}},y=c=>({transform:`rotateZ(${c.z}deg)`});v("arcgis-compass",o);return o},"widgets/Compass/CompassViewModel",b,c,e)
3
+ v5.0.0-next.120 */
4
+ import e from"./PF5CM77S.js";import{a as g}from"./N5OH5WH6.js";import c from"./3CKHLKRW.js";import b from"./FNJI5EMP.js";import{g as m}from"./XRFJPDMW.js";import"./PYPGWFXB.js";import"./5WPW2246.js";import{b as u}from"./CON4URVJ.js";import{N as h,O as a,P as d,Q as i,T as v,a as r,b as n,x as l}from"./CC7BTIBM.js";import"./RRSZENMO.js";export default $arcgis.t(([x,,,p])=>{var f=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);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{calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host([visual-scale="l"]){calcite-button{width:calc(var(--calcite-spacing-xxxl) + var(--calcite-spacing-md));height:calc(var(--calcite-spacing-xxxl) + var(--calcite-spacing-md))}}:host([visual-scale="s"]){calcite-button{width:var(--calcite-spacing-xxl);height:var(--calcite-spacing-xxl)}}.compass{border-radius:50%;box-shadow:var(--arcgis-internal-box-shadow, none)}.compass__icon-container{justify-content:center;display:flex;position:absolute;transform:translate(-50%,-50%)}.compass__icon-container:dir(rtl){transform:translate(50%,-50%)}`,s="compass",e={base:s,button:"arcgis-button",compassButton:`${s}__button`,iconContainer:`${s}__icon-container`},w=p(x),o=class extends h{constructor(){super(...arguments),this.messages=g(),this.viewModel=w(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.orientation=this.viewModel.orientation,this.state=this.viewModel.state,this.visualScale="m",this.arcgisPropertyChange=m()("state","orientation"),this.arcgisReady=l()}static{this.properties={view:0,autoDestroyDisabled:5,goToOverride:0,icon:2,label:1,messageOverrides:0,orientation:32,referenceElement:1,state:35,visualScale:1}}static{this.styles=f}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(t){this._icon=t}async destroy(){await this.manager.destroy()}async reset(){this.viewModel.reset()}_reset(){this.viewModel.reset()}render(){let{messages:t,icon:b}=this;return n`<div class=${a(u(e.base,e.button,e.compassButton))}><calcite-button .disabled=${this.state==="disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round .scale=${this.visualScale} title=${t.reset??i}><div aria-hidden=true class=${a(e.iconContainer)} title=${t.reset??i}><calcite-icon .scale=${this.visualScale} .icon=${b} style=${d(y(this.orientation))}></calcite-icon></div></calcite-button></div>`}},y=c=>({transform:`rotateZ(${c.z}deg)`});v("arcgis-compass",o);return o},"widgets/Compass/CompassViewModel",b,c,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
4
- import{a as h}from"./A5C7DVM3.js";import{a as l}from"./ZSV2KJHG.js";import d from"./FNGSKDA7.js";import c from"./F4K626LE.js";import b from"./5K3SXYTT.js";import{g as a}from"./HACMDBEA.js";import"./GAD2MCBF.js";import"./DX7TJKT5.js";import"./HSYPPEIL.js";import{N as i,T as s,x as e}from"./K4MVUXQW.js";import"./YNQQEKVL.js";export default $arcgis.t(([g,,{a:r},o])=>{var c=o(g),t=class extends i{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.view=this.widget.view,this.autoDestroyDisabled=!1,this.catalogOptions=this.widget.catalogOptions,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.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.openedLayers=this.widget.openedLayers,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,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.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=a()("state"),this.arcgisReady=e(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={view:0,autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideFlow:5,hideStatusIndicators:5,icon:0,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:32,operationalItems:32,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:35,tableList:32,visibilityAppearance:1}}static{this.styles=h}get catalogLayerList(){return this.widget.catalogLayerList}get operationalItems(){return this.widget.operationalItems}get tableList(){return this.widget.tableList}async destroy(){await this.manager.destroy()}async triggerAction(d,n){this.widget?.triggerAction(d,n)}};s("arcgis-layer-list",t);return t},"widgets/LayerList",b,c,d)
3
+ v5.0.0-next.120 */
4
+ import{a as h}from"./4STWEMF3.js";import{a as l}from"./OZOYWNCQ.js";import d from"./2A7CGRUX.js";import c from"./3CKHLKRW.js";import b from"./FNJI5EMP.js";import{g as a}from"./XRFJPDMW.js";import"./PYPGWFXB.js";import"./5WPW2246.js";import"./CON4URVJ.js";import{N as i,T as s,x as e}from"./CC7BTIBM.js";import"./RRSZENMO.js";export default $arcgis.t(([g,,{a:r},o])=>{var c=o(g),t=class extends i{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.view=this.widget.view,this.autoDestroyDisabled=!1,this.catalogOptions=this.widget.catalogOptions,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.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.openedLayers=this.widget.openedLayers,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,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.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=a()("state"),this.arcgisReady=e(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={view:0,autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideFlow:5,hideStatusIndicators:5,icon:0,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:32,operationalItems:32,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:35,tableList:32,visibilityAppearance:1}}static{this.styles=h}get catalogLayerList(){return this.widget.catalogLayerList}get operationalItems(){return this.widget.operationalItems}get tableList(){return this.widget.tableList}async destroy(){await this.manager.destroy()}async triggerAction(d,n){this.widget?.triggerAction(d,n)}};s("arcgis-layer-list",t);return t},"widgets/LayerList",b,c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
4
- import"./N222OSPX.js";import"./JLYOT6AZ.js";import"./JPAW2Q4Y.js";import"./P4YZWDLH.js";import{Q as o}from"./TQRPBCCN.js";import"./FYGRRPGD.js";import"./OCHNU6GM.js";import"./YNQQEKVL.js";var t=["#2888B8","#EB7028","#48A375","#9370B1","#e55035","#3d9ccc","#DC7B04","#b87bb0","#3fa681","#EE6386"],c=t.map(r=>o(r));export{c as esriChartColorSet};
3
+ v5.0.0-next.120 */
4
+ import"./C6CRYWET.js";import"./O5NYFOQL.js";import"./S5TLMZVD.js";import"./7DI7SRGH.js";import{Q as o}from"./JPVXNQED.js";import"./CXHVIFNU.js";import"./5UXMFZOY.js";import"./RRSZENMO.js";var t=["#2888B8","#EB7028","#48A375","#9370B1","#e55035","#3d9ccc","#DC7B04","#b87bb0","#3fa681","#EE6386"],c=t.map(r=>o(r));export{c as esriChartColorSet};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
4
- import g from"./Z4YSOESR.js";import e from"./KTAG2KIB.js";import{a as T}from"./KUG5Y26U.js";import d from"./TGPANP2V.js";import{a as F}from"./IQ2JUVOZ.js";import"./RSGM456F.js";import c from"./F4K626LE.js";import a from"./5K3SXYTT.js";import{g as L}from"./HACMDBEA.js";import"./GAD2MCBF.js";import"./DX7TJKT5.js";import{b as w,f as $}from"./HSYPPEIL.js";import{L as m,M as f,N as A,O as b,P as B,T as E,a as z,b as u,x as _}from"./K4MVUXQW.js";import"./YNQQEKVL.js";export default $arcgis.t(([R,{stripHTML:V},{watch:h},I,,,P,,N])=>{var p="arcgis-popup",g=`${p}--is-docked`,a={base:p,baseHidden:`${p}--hidden`,main:`${p}__main-container`,shadow:`${p}--shadow`,isDocked:g,isDockedTopLeft:`${g}-top-left`,isDockedTopCenter:`${g}-top-center`,isDockedTopRight:`${g}-top-right`,isDockedBottomLeft:`${g}-bottom-left`,isDockedBottomCenter:`${g}-bottom-center`,isDockedBottomRight:`${g}-bottom-right`,isXlWidthBreakpoint:`${p}--is-xl-width-breakpoint`,isLgWidthBreakpoint:`${p}--is-lg-width-breakpoint`,isMdWidthBreakpoint:`${p}--is-md-width-breakpoint`,isSmWidthBreakpoint:`${p}--is-sm-width-breakpoint`,isXsWidthBreakpoint:`${p}--is-xs-width-breakpoint`,isXlHeightBreakpoint:`${p}--is-xl-height-breakpoint`,isLgHeightBreakpoint:`${p}--is-lg-height-breakpoint`,isMdHeightBreakpoint:`${p}--is-md-height-breakpoint`,isSmHeightBreakpoint:`${p}--is-sm-height-breakpoint`,isXsHeightBreakpoint:`${p}--is-xs-height-breakpoint`,alignTopCenter:`${p}--aligned-top-center`,alignBottomCenter:`${p}--aligned-bottom-center`,alignTopLeft:`${p}--aligned-top-left`,alignBottomLeft:`${p}--aligned-bottom-left`,alignTopRight:`${p}--aligned-top-right`,alignBottomRight:`${p}--aligned-bottom-right`,pointer:`${p}__pointer`,pointerDirection:`${p}__pointer-direction`},j=z`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.arcgis-popup{display:flex;position:absolute;flex-flow:column nowrap;z-index:1;pointer-events:none}.arcgis-popup--hidden{visibility:hidden}arcgis-features{flex:1;width:100%}.arcgis-popup--shadow{box-shadow:var(--calcite-shadow-sm)}.arcgis-popup--aligned-top-center{transform-origin:50% 100%}.arcgis-popup--aligned-bottom-center{transform-origin:50% -5%}.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-bottom-left{transform-origin:100% 50%}.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-right{transform-origin:-5% 50%}.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.arcgis-popup__main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.arcgis-popup__pointer{position:absolute;width:0;height:0}.arcgis-popup__pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-top-right .arcgis-popup__pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{transform:scale(.75,2) rotate(45deg)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-top-right .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--is-xl-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-md-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-medium-size)}.arcgis-popup--is-sm-width-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center{margin:0;width:auto}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{bottom:0}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container{top:0}.arcgis-popup--is-xl-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-sm-height-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-docked{inset:0;margin:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-top-right{align-items:flex-start}.arcgis-popup--is-docked-bottom-left,.arcgis-popup--is-docked-bottom-center,.arcgis-popup--is-docked-bottom-right{align-items:flex-end}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-bottom-left{justify-content:flex-start}.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-bottom-center{justify-content:center}.arcgis-popup--is-docked-top-right,.arcgis-popup--is-docked-bottom-right{justify-content:flex-end}.arcgis-popup--is-docked-top-left .arcgis-popup__main-container,.arcgis-popup--is-docked-top-right .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-left .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-right .arcgis-popup__main-container{max-height:80%}.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{max-height:40%}.arcgis-popup--is-docked{flex-flow:row nowrap}:dir(rtl) .arcgis-popup--is-docked-top-left,:dir(rtl) .arcgis-popup--is-docked-bottom-left{justify-content:flex-end}:dir(rtl) .arcgis-popup--is-docked-top-right,:dir(rtl) .arcgis-popup--is-docked-bottom-right{justify-content:flex-start}@media(prefers-reduced-motion){.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:none}}@media(prefers-reduced-motion){.arcgis-popup--is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;function x(C){return C&&Number.parseInt(C.replaceAll(/[^-\d.]/gu,""),10)||0}var X=P(R),H={buttonEnabled:!0,position:"auto",breakpoint:{width:544}},D=class extends A{constructor(){super(...arguments),this._featuresComponent=m(),this._dockAction=new I({id:"popup-dock-action"}),this._mainContainerNode=m(),this._pointerNode=m(),this.messages=F({}),this.viewModel=X(this),this._containerNode=m(),this.screenLocation=N(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.alignment="auto",this.autoCloseEnabled=this.viewModel.autoCloseEnabled,this.autoDestroyDisabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.dockEnabled=!1,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=this.viewModel.featureMenuOpen,this.features=this.viewModel.features,this.goToOverride=this.viewModel.goToOverride,this.heading=this.viewModel.title,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideCollapseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideHeading=!1,this.hideSpinner=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.promises=this.viewModel.promises,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.state=this.viewModel.state,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.visible=this.viewModel.visible,this.arcgisPropertyChange=L()("active","collapsed","currentAlignment","dockEnabled","featureCount","featureMenuOpen","features","promises","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","visible"),this.arcgisReady=_(),this.arcgisClose=_(),this.arcgisTriggerAction=_()}static{this.properties={screenLocation:16,positionStyle:16,_featureNavigationTop:16,actions:0,active:0,alignment:1,autoCloseEnabled:5,autoDestroyDisabled:5,collapsed:0,content:1,currentAlignment:32,currentDockPosition:32,defaultPopupTemplateEnabled:5,dockEnabled:5,dockOptions:0,featureCount:0,featureMenuOpen:5,features:0,goToOverride:0,heading:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideCollapseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideHeading:5,hideSpinner:5,highlightDisabled:5,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,messageOverrides:0,promises:0,referenceElement:1,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,state:35,updateLocationEnabled:5,view:0,visible:5}}static{this.styles=j}get trackLocation(){return this.viewModel.active&&!this.dockEnabled}get _featureNavigationTop(){let{currentAlignment:t,currentDockPosition:e}=this;return t==="bottom-left"||t==="bottom-center"||t==="bottom-right"||e==="top-left"||e==="top-center"||e==="top-right"}get currentAlignment(){return this._getCurrentAlignment()}get currentDockPosition(){return this._getCurrentDockPosition()}get dockOptions(){return this._dockOptions||H}set dockOptions(t){let e={...H},o=this.viewModel?.view?.breakpoints,n={};o&&(n.width=o.xsmall,n.height=o.xsmall);let i={...e,...t},r={...e.breakpoint,...n},{breakpoint:s}=i;typeof s=="object"?i.breakpoint={...r,...s}:s&&(i.breakpoint=r),this._dockOptions=i}get selectedDrillInFeature(){return this._featuresComponent.value?.selectedDrillInFeature??null}get selectedFeatureComponent(){return this._featuresComponent.value?.selectedFeatureComponent??null}async handleViewClick(t){return this.viewModel.handleViewClick(t)}async clear(){return this.viewModel.clear()}async destroy(){await this.manager.destroy(),this._dockAction.destroy()}async fetchFeatures(t,e){return await this.viewModel.fetchFeatures(t,e)}async next(){return this.viewModel.next()}async open(t){this.viewModel.open(t)}async previous(){return this.viewModel.previous()}async setFocus(){this._featuresComponent.value?.setFocus()}async triggerAction(t){return await this._featuresComponent.value?.triggerAction(t)}loaded(){this.manager.onLifecycle(()=>[h(()=>[this.viewModel?.view?.widthBreakpoint,this.dockEnabled],()=>this._handleDockIcon(),{initial:!0}),h(()=>[this.dockEnabled,this.messages?.undock,this.messages?.dock],()=>this._handleDockEnabled(),{initial:!0}),h(()=>this.dockOptions,t=>{let{_dockAction:e}=this,o=this._featuresComponent.value?.headerActions;o?.remove(e),t.buttonEnabled&&o?.add(e)},{initial:!0}),h(()=>[this._featuresComponent.value,this._mainContainerNode.value,this._pointerNode.value,this.alignment,this.currentAlignment,this.dockEnabled,this.dockOptions,this.screenLocation,this.viewModel?.active,this.viewModel?.location,this.viewModel?.view?.padding,this.viewModel?.view?.size],()=>this._positionContainer(),{initial:!0}),h(()=>this.viewModel?.view?.size,(t,e)=>this._updateDockEnabledForViewSize(t,e)),h(()=>this.viewModel?.view?.ready,()=>this._setDockEnabledForViewSize(this.dockOptions),{initial:!0}),h(()=>this.view?.map,t=>{this.viewModel.map=t},{initial:!0}),h(()=>this.screenLocation,(t,e)=>this._autoClose(t,e))])}_handleClose(t){t.stopPropagation(),this.arcgisClose.emit()}_autoClose(t,e){this.autoCloseEnabled&&t!=null&&e!=null&&(this.visible=!1)}_handleArcgisPropertyChange(t){t.detail.name==="collapsed"&&(this.collapsed=t.target.collapsed)}_handleArcgisTriggerAction(t){t.stopPropagation(),t.detail.action===this._dockAction&&(this.dockEnabled=!this.dockEnabled),this.arcgisTriggerAction.emit({action:t.detail.action})}_isOutsideView(t){let{popupHeight:e,popupWidth:o,screenLocation:n,side:i,view:r}=t;if(Number.isNaN(o)||Number.isNaN(e)||!r||!n)return!1;let s=r.padding;return i==="right"&&n.x+o/2>r.width-(s?.right??0)||i==="left"&&n.x-o/2<(s?.left??0)||i==="top"&&n.y-e<(s?.top??0)||i==="bottom"&&n.y+e>r.height-(s?.bottom??0)}_getPointerSize(){let{_pointerNode:t}=this,e=t.value?window.getComputedStyle(t.value):null,o=x(e?.height),n=x(e?.width);return Math.hypot(o,n)}_calculateAutoAlignment(t){if(t!=="auto")return t;let{_mainContainerNode:e,viewModel:o}=this,{view:n}=o,{screenLocation:i}=this;if(i==null||!n||!e.value)return"top-center";let r=window.getComputedStyle(e.value),s=x(r.maxHeight),d=x(r.height),c=this._getPointerSize(),{height:l,width:y}=e.value.getBoundingClientRect(),v=y+c,k=Math.max(l,s,d)+c,S=this._isOutsideView({popupHeight:k,popupWidth:v,screenLocation:i,side:"right",view:n}),O=this._isOutsideView({popupHeight:k,popupWidth:v,screenLocation:i,side:"left",view:n}),M=this._isOutsideView({popupHeight:k,popupWidth:v,screenLocation:i,side:"top",view:n}),W=this._isOutsideView({popupHeight:k,popupWidth:v,screenLocation:i,side:"bottom",view:n});return O?M?"bottom-right":"top-right":S?M?"bottom-left":"top-left":M?W?"top-center":"bottom-center":"top-center"}_callCurrentAlignment(t){return typeof t=="function"?t.call(this):t}_getCurrentAlignment(){return this.dockEnabled||!this.viewModel.active||!this._mainContainerNode.value?null:this._calculatePositionResult(this._calculateAutoAlignment(this._callCurrentAlignment(this.alignment)))}_calculatePositionResult(t){let e=["left","right"];return $(this.el)==="rtl"&&e.reverse(),t?.replace(/start/giu,e[0]).replace(/end/giu,e[1])}_callDockPosition(t){return typeof t=="function"?t.call(this):t}_getDockPosition(){return this._calculatePositionResult(this._calculateAutoDockPosition(this._callDockPosition(this.dockOptions?.position)))}_getCurrentDockPosition(){return this.dockEnabled&&this.viewModel.active?this._getDockPosition():null}_calculateAutoDockPosition(t){if(t!=="auto")return t;let e=this.viewModel?.view,o=$(this.el)==="rtl"?"top-left":"top-right";if(!e)return o;let n=e.padding,i=e.width-(n?.left??0)-(n?.right??0),{breakpoints:r}=e;return r?.xsmall&&i<=r.xsmall?"bottom-center":o}_getDockIcon(){let t=this._getDockPosition();if(this.dockEnabled)return"minimize";switch(t){case"top-left":case"bottom-left":return"dock-left";case"top-center":return"maximize";case"bottom-center":return"dock-bottom";case"top-right":case"bottom-right":default:return"dock-right"}}_handleDockIcon(){this._dockAction.icon=this._getDockIcon()}_handleDockEnabled(){this._dockAction.title=this.dockEnabled?this.messages?.undock:this.messages?.dock}_positionContainer(){this.positionStyle=this._calculatePositionStyle()}_calculateFullWidth(t){let{currentAlignment:e}=this;return e==="top-left"||e==="bottom-left"||e==="top-right"||e==="bottom-right"?t+this._getPointerSize():t}_calculateAlignmentPosition(t,e,o,n){let{currentAlignment:i}=this;if(!o)return;let r=n/2,s=o.height-e,d=o.width-t,c=this._getPointerSize(),l=c/2;if(i==="bottom-center")return{top:e+c,left:t-r};if(i==="top-left")return{bottom:s+l,right:d+l};if(i==="bottom-left")return{top:e+l,right:d+l};if(i==="top-right")return{bottom:s+l,left:t+l};if(i==="bottom-right")return{top:e+l,left:t+l};if(i==="top-center")return{bottom:s+c,left:t-r}}_calculatePositionStyle(){let{screenLocation:t}=this,{view:e}=this.viewModel;if(this.dockEnabled)return{top:`${e?.padding.top??0}px`,left:`${e?.padding.left??0}px`,bottom:`${e?.padding.bottom??0}px`,right:`${e?.padding.right??0}px`};let o=this._mainContainerNode.value?.getBoundingClientRect().width??0;if(!e||t==null||!o)return;let n=this._calculateFullWidth(o),i=this._calculateAlignmentPosition(t.x,t.y,e,n);if(i)return{top:i.top!==void 0?`${i.top}px`:"auto",left:i.left!==void 0?`${i.left}px`:"auto",bottom:i.bottom!==void 0?`${i.bottom}px`:"auto",right:i.right!==void 0?`${i.right}px`:"auto"}}_dockingThresholdCrossed(t,e,o){let[n,i]=t,[r,s]=e,{width:d=0,height:c=0}=o??{};return n<=d&&r>d||n>d&&r<=d||i<=c&&s>c||i>c&&s<=c}_updateDockEnabledForViewSize(t,e){if(!t||!e)return;let o=this.viewModel?.view?.padding,n=(o?.left??0)+(o?.right??0),i=(o?.top??0)+(o?.bottom??0),r=[],s=[];r[0]=t[0]-n,r[1]=t[1]-i,s[0]=e[0]-n,s[1]=e[1]-i;let{dockOptions:d}=this,c=d.breakpoint;typeof c=="object"&&this._dockingThresholdCrossed(r,s,c)&&this._setDockEnabledForViewSize(d)}_shouldDockAtCurrentViewSize(t){let e=t.breakpoint,o=this.viewModel?.view?.ui;if(!o)return!1;let{width:n,height:i}=o;if(Number.isNaN(n)||Number.isNaN(i)||typeof e!="object")return!1;let r=typeof e.width=="number"&&n<=(e.width??0),s=typeof e.height=="number"&&i<=(e.height??0);return r||s}_setDockEnabledForViewSize(t){this.viewModel?.view?.ready&&typeof t.breakpoint=="object"&&(this.dockEnabled=this._shouldDockAtCurrentViewSize(t))}render(){let{dockEnabled:t,currentAlignment:e,currentDockPosition:o,positionStyle:n}=this,{active:i,view:r}=this.viewModel,s=i&&t,d=i&&!t,c=r?.widthBreakpoint,l=r?.heightBreakpoint,y={[a.alignTopCenter]:e==="top-center",[a.alignBottomCenter]:e==="bottom-center",[a.alignTopLeft]:e==="top-left",[a.alignBottomLeft]:e==="bottom-left",[a.alignTopRight]:e==="top-right",[a.alignBottomRight]:e==="bottom-right",[a.isDocked]:s,[a.shadow]:d,[a.isDockedTopLeft]:o==="top-left",[a.isDockedTopCenter]:o==="top-center",[a.isDockedTopRight]:o==="top-right",[a.isDockedBottomLeft]:o==="bottom-left",[a.isDockedBottomCenter]:o==="bottom-center",[a.isDockedBottomRight]:o==="bottom-right",[a.isXlWidthBreakpoint]:c==="xlarge",[a.isLgWidthBreakpoint]:c==="large",[a.isMdWidthBreakpoint]:c==="medium",[a.isSmWidthBreakpoint]:c==="small",[a.isXsWidthBreakpoint]:c==="xsmall",[a.isXlHeightBreakpoint]:l==="xlarge",[a.isLgHeightBreakpoint]:l==="large",[a.isMdHeightBreakpoint]:l==="medium",[a.isSmHeightBreakpoint]:l==="small",[a.isXsHeightBreakpoint]:l==="xsmall"};return u`<div style=${B(this.positionStyle)} .ariaHidden=${!i} .ariaLabel=${V(this.heading??"")} class=${b(w(a.base,y,{[a.baseHidden]:!i||!n&&!t}))} role=dialog ${f(this._containerNode)}>${this._renderMainContainer()}${this._renderPointer()}</div>`}_renderPointer(){return!this.dockEnabled||!this.active?u`<div class=${b(a.pointer)} role=presentation><div class=${b(w(a.pointerDirection,a.shadow))} ${f(this._pointerNode)}></div></div>`:null}_renderMainContainer(){let t={[a.shadow]:this.dockEnabled};return u`<div class=${b(w(a.main,t))} ${f(this._mainContainerNode)}>${T(this.viewModel,u`<arcgis-features .collapsed=${this.collapsed} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${f(this._featuresComponent)}></arcgis-features>`)}</div>`}};E("arcgis-popup",D);return D},"widgets/Features/FeaturesViewModel","applications/Components/stringUtils","core/reactiveUtils","support/actions/ActionButton",a,c,d,e,g)
3
+ v5.0.0-next.120 */
4
+ import g from"./6SZQKOOS.js";import e from"./SYCVUROG.js";import{a as T}from"./KQFI7PGI.js";import d from"./PF5CM77S.js";import{a as F}from"./N5OH5WH6.js";import"./DYP27ZPK.js";import c from"./3CKHLKRW.js";import a from"./FNJI5EMP.js";import{g as L}from"./XRFJPDMW.js";import"./PYPGWFXB.js";import"./5WPW2246.js";import{b as w,f as $}from"./CON4URVJ.js";import{L as m,M as f,N as A,O as b,P as B,T as E,a as z,b as u,x as _}from"./CC7BTIBM.js";import"./RRSZENMO.js";export default $arcgis.t(([R,{stripHTML:V},{watch:h},I,,,P,,N])=>{var p="arcgis-popup",g=`${p}--is-docked`,a={base:p,baseHidden:`${p}--hidden`,main:`${p}__main-container`,shadow:`${p}--shadow`,isDocked:g,isDockedTopLeft:`${g}-top-left`,isDockedTopCenter:`${g}-top-center`,isDockedTopRight:`${g}-top-right`,isDockedBottomLeft:`${g}-bottom-left`,isDockedBottomCenter:`${g}-bottom-center`,isDockedBottomRight:`${g}-bottom-right`,isXlWidthBreakpoint:`${p}--is-xl-width-breakpoint`,isLgWidthBreakpoint:`${p}--is-lg-width-breakpoint`,isMdWidthBreakpoint:`${p}--is-md-width-breakpoint`,isSmWidthBreakpoint:`${p}--is-sm-width-breakpoint`,isXsWidthBreakpoint:`${p}--is-xs-width-breakpoint`,isXlHeightBreakpoint:`${p}--is-xl-height-breakpoint`,isLgHeightBreakpoint:`${p}--is-lg-height-breakpoint`,isMdHeightBreakpoint:`${p}--is-md-height-breakpoint`,isSmHeightBreakpoint:`${p}--is-sm-height-breakpoint`,isXsHeightBreakpoint:`${p}--is-xs-height-breakpoint`,alignTopCenter:`${p}--aligned-top-center`,alignBottomCenter:`${p}--aligned-bottom-center`,alignTopLeft:`${p}--aligned-top-left`,alignBottomLeft:`${p}--aligned-bottom-left`,alignTopRight:`${p}--aligned-top-right`,alignBottomRight:`${p}--aligned-bottom-right`,pointer:`${p}__pointer`,pointerDirection:`${p}__pointer-direction`},j=z`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.arcgis-popup{display:flex;position:absolute;flex-flow:column nowrap;z-index:1;pointer-events:none}.arcgis-popup--hidden{visibility:hidden}arcgis-features{flex:1;width:100%}.arcgis-popup--shadow{box-shadow:var(--calcite-shadow-sm)}.arcgis-popup--aligned-top-center{transform-origin:50% 100%}.arcgis-popup--aligned-bottom-center{transform-origin:50% -5%}.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-bottom-left{transform-origin:100% 50%}.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-right{transform-origin:-5% 50%}.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.arcgis-popup__main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.arcgis-popup__pointer{position:absolute;width:0;height:0}.arcgis-popup__pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-top-right .arcgis-popup__pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{transform:scale(.75,2) rotate(45deg)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-top-right .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--is-xl-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-md-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-medium-size)}.arcgis-popup--is-sm-width-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center{margin:0;width:auto}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{bottom:0}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container{top:0}.arcgis-popup--is-xl-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-sm-height-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-docked{inset:0;margin:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-top-right{align-items:flex-start}.arcgis-popup--is-docked-bottom-left,.arcgis-popup--is-docked-bottom-center,.arcgis-popup--is-docked-bottom-right{align-items:flex-end}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-bottom-left{justify-content:flex-start}.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-bottom-center{justify-content:center}.arcgis-popup--is-docked-top-right,.arcgis-popup--is-docked-bottom-right{justify-content:flex-end}.arcgis-popup--is-docked-top-left .arcgis-popup__main-container,.arcgis-popup--is-docked-top-right .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-left .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-right .arcgis-popup__main-container{max-height:80%}.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{max-height:40%}.arcgis-popup--is-docked{flex-flow:row nowrap}:dir(rtl) .arcgis-popup--is-docked-top-left,:dir(rtl) .arcgis-popup--is-docked-bottom-left{justify-content:flex-end}:dir(rtl) .arcgis-popup--is-docked-top-right,:dir(rtl) .arcgis-popup--is-docked-bottom-right{justify-content:flex-start}@media(prefers-reduced-motion){.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:none}}@media(prefers-reduced-motion){.arcgis-popup--is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;function x(C){return C&&Number.parseInt(C.replaceAll(/[^-\d.]/gu,""),10)||0}var X=P(R),H={buttonEnabled:!0,position:"auto",breakpoint:{width:544}},D=class extends A{constructor(){super(...arguments),this._featuresComponent=m(),this._dockAction=new I({id:"popup-dock-action"}),this._mainContainerNode=m(),this._pointerNode=m(),this.messages=F({}),this.viewModel=X(this),this._containerNode=m(),this.screenLocation=N(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.alignment="auto",this.autoCloseEnabled=this.viewModel.autoCloseEnabled,this.autoDestroyDisabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.dockEnabled=!1,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=this.viewModel.featureMenuOpen,this.features=this.viewModel.features,this.goToOverride=this.viewModel.goToOverride,this.heading=this.viewModel.title,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideCollapseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideHeading=!1,this.hideSpinner=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.promises=this.viewModel.promises,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.state=this.viewModel.state,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.visible=this.viewModel.visible,this.arcgisPropertyChange=L()("active","collapsed","currentAlignment","dockEnabled","featureCount","featureMenuOpen","features","promises","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","visible"),this.arcgisReady=_(),this.arcgisClose=_(),this.arcgisTriggerAction=_()}static{this.properties={screenLocation:16,positionStyle:16,_featureNavigationTop:16,actions:0,active:0,alignment:1,autoCloseEnabled:5,autoDestroyDisabled:5,collapsed:0,content:1,currentAlignment:32,currentDockPosition:32,defaultPopupTemplateEnabled:5,dockEnabled:5,dockOptions:0,featureCount:0,featureMenuOpen:5,features:0,goToOverride:0,heading:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideCollapseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideHeading:5,hideSpinner:5,highlightDisabled:5,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,messageOverrides:0,promises:0,referenceElement:1,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,state:35,updateLocationEnabled:5,view:0,visible:5}}static{this.styles=j}get trackLocation(){return this.viewModel.active&&!this.dockEnabled}get _featureNavigationTop(){let{currentAlignment:t,currentDockPosition:e}=this;return t==="bottom-left"||t==="bottom-center"||t==="bottom-right"||e==="top-left"||e==="top-center"||e==="top-right"}get currentAlignment(){return this._getCurrentAlignment()}get currentDockPosition(){return this._getCurrentDockPosition()}get dockOptions(){return this._dockOptions||H}set dockOptions(t){let e={...H},o=this.viewModel?.view?.breakpoints,n={};o&&(n.width=o.xsmall,n.height=o.xsmall);let i={...e,...t},r={...e.breakpoint,...n},{breakpoint:s}=i;typeof s=="object"?i.breakpoint={...r,...s}:s&&(i.breakpoint=r),this._dockOptions=i}get selectedDrillInFeature(){return this._featuresComponent.value?.selectedDrillInFeature??null}get selectedFeatureComponent(){return this._featuresComponent.value?.selectedFeatureComponent??null}async handleViewClick(t){return this.viewModel.handleViewClick(t)}async clear(){return this.viewModel.clear()}async destroy(){await this.manager.destroy(),this._dockAction.destroy()}async fetchFeatures(t,e){return await this.viewModel.fetchFeatures(t,e)}async next(){return this.viewModel.next()}async open(t){this.viewModel.open(t)}async previous(){return this.viewModel.previous()}async setFocus(){this._featuresComponent.value?.setFocus()}async triggerAction(t){return await this._featuresComponent.value?.triggerAction(t)}loaded(){this.manager.onLifecycle(()=>[h(()=>[this.viewModel?.view?.widthBreakpoint,this.dockEnabled],()=>this._handleDockIcon(),{initial:!0}),h(()=>[this.dockEnabled,this.messages?.undock,this.messages?.dock],()=>this._handleDockEnabled(),{initial:!0}),h(()=>this.dockOptions,t=>{let{_dockAction:e}=this,o=this._featuresComponent.value?.headerActions;o?.remove(e),t.buttonEnabled&&o?.add(e)},{initial:!0}),h(()=>[this._featuresComponent.value,this._mainContainerNode.value,this._pointerNode.value,this.alignment,this.currentAlignment,this.dockEnabled,this.dockOptions,this.screenLocation,this.viewModel?.active,this.viewModel?.location,this.viewModel?.view?.padding,this.viewModel?.view?.size],()=>this._positionContainer(),{initial:!0}),h(()=>this.viewModel?.view?.size,(t,e)=>this._updateDockEnabledForViewSize(t,e)),h(()=>this.viewModel?.view?.ready,()=>this._setDockEnabledForViewSize(this.dockOptions),{initial:!0}),h(()=>this.view?.map,t=>{this.viewModel.map=t},{initial:!0}),h(()=>this.screenLocation,(t,e)=>this._autoClose(t,e))])}_handleClose(t){t.stopPropagation(),this.arcgisClose.emit()}_autoClose(t,e){this.autoCloseEnabled&&t!=null&&e!=null&&(this.visible=!1)}_handleArcgisPropertyChange(t){t.detail.name==="collapsed"&&(this.collapsed=t.target.collapsed)}_handleArcgisTriggerAction(t){t.stopPropagation(),t.detail.action===this._dockAction&&(this.dockEnabled=!this.dockEnabled),this.arcgisTriggerAction.emit({action:t.detail.action})}_isOutsideView(t){let{popupHeight:e,popupWidth:o,screenLocation:n,side:i,view:r}=t;if(Number.isNaN(o)||Number.isNaN(e)||!r||!n)return!1;let s=r.padding;return i==="right"&&n.x+o/2>r.width-(s?.right??0)||i==="left"&&n.x-o/2<(s?.left??0)||i==="top"&&n.y-e<(s?.top??0)||i==="bottom"&&n.y+e>r.height-(s?.bottom??0)}_getPointerSize(){let{_pointerNode:t}=this,e=t.value?window.getComputedStyle(t.value):null,o=x(e?.height),n=x(e?.width);return Math.hypot(o,n)}_calculateAutoAlignment(t){if(t!=="auto")return t;let{_mainContainerNode:e,viewModel:o}=this,{view:n}=o,{screenLocation:i}=this;if(i==null||!n||!e.value)return"top-center";let r=window.getComputedStyle(e.value),s=x(r.maxHeight),d=x(r.height),c=this._getPointerSize(),{height:l,width:y}=e.value.getBoundingClientRect(),v=y+c,k=Math.max(l,s,d)+c,S=this._isOutsideView({popupHeight:k,popupWidth:v,screenLocation:i,side:"right",view:n}),O=this._isOutsideView({popupHeight:k,popupWidth:v,screenLocation:i,side:"left",view:n}),M=this._isOutsideView({popupHeight:k,popupWidth:v,screenLocation:i,side:"top",view:n}),W=this._isOutsideView({popupHeight:k,popupWidth:v,screenLocation:i,side:"bottom",view:n});return O?M?"bottom-right":"top-right":S?M?"bottom-left":"top-left":M?W?"top-center":"bottom-center":"top-center"}_callCurrentAlignment(t){return typeof t=="function"?t.call(this):t}_getCurrentAlignment(){return this.dockEnabled||!this.viewModel.active||!this._mainContainerNode.value?null:this._calculatePositionResult(this._calculateAutoAlignment(this._callCurrentAlignment(this.alignment)))}_calculatePositionResult(t){let e=["left","right"];return $(this.el)==="rtl"&&e.reverse(),t?.replace(/start/giu,e[0]).replace(/end/giu,e[1])}_callDockPosition(t){return typeof t=="function"?t.call(this):t}_getDockPosition(){return this._calculatePositionResult(this._calculateAutoDockPosition(this._callDockPosition(this.dockOptions?.position)))}_getCurrentDockPosition(){return this.dockEnabled&&this.viewModel.active?this._getDockPosition():null}_calculateAutoDockPosition(t){if(t!=="auto")return t;let e=this.viewModel?.view,o=$(this.el)==="rtl"?"top-left":"top-right";if(!e)return o;let n=e.padding,i=e.width-(n?.left??0)-(n?.right??0),{breakpoints:r}=e;return r?.xsmall&&i<=r.xsmall?"bottom-center":o}_getDockIcon(){let t=this._getDockPosition();if(this.dockEnabled)return"minimize";switch(t){case"top-left":case"bottom-left":return"dock-left";case"top-center":return"maximize";case"bottom-center":return"dock-bottom";case"top-right":case"bottom-right":default:return"dock-right"}}_handleDockIcon(){this._dockAction.icon=this._getDockIcon()}_handleDockEnabled(){this._dockAction.title=this.dockEnabled?this.messages?.undock:this.messages?.dock}_positionContainer(){this.positionStyle=this._calculatePositionStyle()}_calculateFullWidth(t){let{currentAlignment:e}=this;return e==="top-left"||e==="bottom-left"||e==="top-right"||e==="bottom-right"?t+this._getPointerSize():t}_calculateAlignmentPosition(t,e,o,n){let{currentAlignment:i}=this;if(!o)return;let r=n/2,s=o.height-e,d=o.width-t,c=this._getPointerSize(),l=c/2;if(i==="bottom-center")return{top:e+c,left:t-r};if(i==="top-left")return{bottom:s+l,right:d+l};if(i==="bottom-left")return{top:e+l,right:d+l};if(i==="top-right")return{bottom:s+l,left:t+l};if(i==="bottom-right")return{top:e+l,left:t+l};if(i==="top-center")return{bottom:s+c,left:t-r}}_calculatePositionStyle(){let{screenLocation:t}=this,{view:e}=this.viewModel;if(this.dockEnabled)return{top:`${e?.padding.top??0}px`,left:`${e?.padding.left??0}px`,bottom:`${e?.padding.bottom??0}px`,right:`${e?.padding.right??0}px`};let o=this._mainContainerNode.value?.getBoundingClientRect().width??0;if(!e||t==null||!o)return;let n=this._calculateFullWidth(o),i=this._calculateAlignmentPosition(t.x,t.y,e,n);if(i)return{top:i.top!==void 0?`${i.top}px`:"auto",left:i.left!==void 0?`${i.left}px`:"auto",bottom:i.bottom!==void 0?`${i.bottom}px`:"auto",right:i.right!==void 0?`${i.right}px`:"auto"}}_dockingThresholdCrossed(t,e,o){let[n,i]=t,[r,s]=e,{width:d=0,height:c=0}=o??{};return n<=d&&r>d||n>d&&r<=d||i<=c&&s>c||i>c&&s<=c}_updateDockEnabledForViewSize(t,e){if(!t||!e)return;let o=this.viewModel?.view?.padding,n=(o?.left??0)+(o?.right??0),i=(o?.top??0)+(o?.bottom??0),r=[],s=[];r[0]=t[0]-n,r[1]=t[1]-i,s[0]=e[0]-n,s[1]=e[1]-i;let{dockOptions:d}=this,c=d.breakpoint;typeof c=="object"&&this._dockingThresholdCrossed(r,s,c)&&this._setDockEnabledForViewSize(d)}_shouldDockAtCurrentViewSize(t){let e=t.breakpoint,o=this.viewModel?.view?.ui;if(!o)return!1;let{width:n,height:i}=o;if(Number.isNaN(n)||Number.isNaN(i)||typeof e!="object")return!1;let r=typeof e.width=="number"&&n<=(e.width??0),s=typeof e.height=="number"&&i<=(e.height??0);return r||s}_setDockEnabledForViewSize(t){this.viewModel?.view?.ready&&typeof t.breakpoint=="object"&&(this.dockEnabled=this._shouldDockAtCurrentViewSize(t))}render(){let{dockEnabled:t,currentAlignment:e,currentDockPosition:o,positionStyle:n}=this,{active:i,view:r}=this.viewModel,s=i&&t,d=i&&!t,c=r?.widthBreakpoint,l=r?.heightBreakpoint,y={[a.alignTopCenter]:e==="top-center",[a.alignBottomCenter]:e==="bottom-center",[a.alignTopLeft]:e==="top-left",[a.alignBottomLeft]:e==="bottom-left",[a.alignTopRight]:e==="top-right",[a.alignBottomRight]:e==="bottom-right",[a.isDocked]:s,[a.shadow]:d,[a.isDockedTopLeft]:o==="top-left",[a.isDockedTopCenter]:o==="top-center",[a.isDockedTopRight]:o==="top-right",[a.isDockedBottomLeft]:o==="bottom-left",[a.isDockedBottomCenter]:o==="bottom-center",[a.isDockedBottomRight]:o==="bottom-right",[a.isXlWidthBreakpoint]:c==="xlarge",[a.isLgWidthBreakpoint]:c==="large",[a.isMdWidthBreakpoint]:c==="medium",[a.isSmWidthBreakpoint]:c==="small",[a.isXsWidthBreakpoint]:c==="xsmall",[a.isXlHeightBreakpoint]:l==="xlarge",[a.isLgHeightBreakpoint]:l==="large",[a.isMdHeightBreakpoint]:l==="medium",[a.isSmHeightBreakpoint]:l==="small",[a.isXsHeightBreakpoint]:l==="xsmall"};return u`<div style=${B(this.positionStyle)} .ariaHidden=${!i} .ariaLabel=${V(this.heading??"")} class=${b(w(a.base,y,{[a.baseHidden]:!i||!n&&!t}))} role=dialog ${f(this._containerNode)}>${this._renderMainContainer()}${this._renderPointer()}</div>`}_renderPointer(){return!this.dockEnabled||!this.active?u`<div class=${b(a.pointer)} role=presentation><div class=${b(w(a.pointerDirection,a.shadow))} ${f(this._pointerNode)}></div></div>`:null}_renderMainContainer(){let t={[a.shadow]:this.dockEnabled};return u`<div class=${b(w(a.main,t))} ${f(this._mainContainerNode)}>${T(this.viewModel,u`<arcgis-features .collapsed=${this.collapsed} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${f(this._featuresComponent)}></arcgis-features>`)}</div>`}};E("arcgis-popup",D);return D},"widgets/Features/FeaturesViewModel","applications/Components/stringUtils","core/reactiveUtils","support/actions/ActionButton",a,c,d,e,g)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
4
- import{f as r}from"./HACMDBEA.js";import{U as o}from"./K4MVUXQW.js";var s=r(o);export{s as a};
3
+ v5.0.0-next.120 */
4
+ import{f as r}from"./XRFJPDMW.js";import{U as o}from"./CC7BTIBM.js";var s=r(o);export{s as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
4
- import{a as s}from"./QG7IKMRU.js";import{a as n}from"./CEFE7YWX.js";import{a as f}from"./N73TGMNU.js";import{a as g}from"./GAD2MCBF.js";import"./HSYPPEIL.js";import{N as p,T as u,a as d,b as i}from"./K4MVUXQW.js";import"./YNQQEKVL.js";export default $arcgis.t(([$])=>{var v=d`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}calcite-label{display:block}`,m=class extends p{constructor(){super(...arguments),this.scale="s",this.hideColorPicker=!1,this.hideInterval=!1}static{this.properties={options:0,scale:1,hideColorPicker:5,hideInterval:5,messages:0}}static{this.styles=v}render(){let{options:t,scale:l}=this,{color:r,interval:c}=t,a=this.messages?.discrete;return i`${n({hidden:this.hideInterval,children:i`<calcite-label .scale=${l}>${a?.intervalLabel}<calcite-select .label=${a?.intervalLabel??""} .scale=${l} @calciteSelectChange=${e=>{let b=e.target.value,h=Number.parseInt(b,10);Number.isFinite(h)&&(this.options.interval=h)}}>${f(I,e=>e,e=>i`<calcite-option .selected=${e===c} .value=${String(e)} .label=${C(e,g(this.el).t9nLocale)}></calcite-option>`)}</calcite-select></calcite-label>`})}${n({hidden:this.hideColorPicker,children:i`<arcgis-color-select .color=${r} .label=${a?.colorLabel} @arcgisColorChanged=${e=>{this.options.color=e.detail}}></arcgis-color-select>`})}`}};function C(o,t){return new Intl.DurationFormat(t,{style:"long"}).format(L(o))}function L(o){let t=Math.floor(o/1e3),l=Math.floor(t/3600),r=Math.floor(t%3600/60),c=t%60;return{hours:l,minutes:r,seconds:c}}var I=new $([s(15,"minutes","milliseconds"),s(30,"minutes","milliseconds"),s(1,"hours","milliseconds"),s(2,"hours","milliseconds"),s(3,"hours","milliseconds")]);u("arcgis-shadow-cast-discrete-config",m);return m},"core/Collection")
3
+ v5.0.0-next.120 */
4
+ import{a as s}from"./JPOJ75AX.js";import{a as n}from"./D67FZPJ5.js";import{a as f}from"./ECDE35FH.js";import{a as g}from"./PYPGWFXB.js";import"./CON4URVJ.js";import{N as p,T as u,a as d,b as i}from"./CC7BTIBM.js";import"./RRSZENMO.js";export default $arcgis.t(([$])=>{var v=d`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}calcite-label{display:block}`,m=class extends p{constructor(){super(...arguments),this.scale="s",this.hideColorPicker=!1,this.hideInterval=!1}static{this.properties={options:0,scale:1,hideColorPicker:5,hideInterval:5,messages:0}}static{this.styles=v}render(){let{options:t,scale:l}=this,{color:r,interval:c}=t,a=this.messages?.discrete;return i`${n({hidden:this.hideInterval,children:i`<calcite-label .scale=${l}>${a?.intervalLabel}<calcite-select .label=${a?.intervalLabel??""} .scale=${l} @calciteSelectChange=${e=>{let b=e.target.value,h=Number.parseInt(b,10);Number.isFinite(h)&&(this.options.interval=h)}}>${f(I,e=>e,e=>i`<calcite-option .selected=${e===c} .value=${String(e)} .label=${C(e,g(this.el).t9nLocale)}></calcite-option>`)}</calcite-select></calcite-label>`})}${n({hidden:this.hideColorPicker,children:i`<arcgis-color-select .color=${r} .label=${a?.colorLabel} @arcgisColorChanged=${e=>{this.options.color=e.detail}}></arcgis-color-select>`})}`}};function C(o,t){return new Intl.DurationFormat(t,{style:"long"}).format(L(o))}function L(o){let t=Math.floor(o/1e3),l=Math.floor(t/3600),r=Math.floor(t%3600/60),c=t%60;return{hours:l,minutes:r,seconds:c}}var I=new $([s(15,"minutes","milliseconds"),s(30,"minutes","milliseconds"),s(1,"hours","milliseconds"),s(2,"hours","milliseconds"),s(3,"hours","milliseconds")]);u("arcgis-shadow-cast-discrete-config",m);return m},"core/Collection")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
4
- import"./YNQQEKVL.js";var o={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd MMM",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Janvier",February:"F\xE9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xFBt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xE9cembre",Jan:"Jan",Feb:"F\xE9v",Mar:"Mar",Apr:"Avr","May(short)":"Mai",Jun:"Jui",Jul:"Jul",Aug:"Ao\xFB",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"D\xE9c",Sunday:"Dimanche",Monday:"Lundi",Tuesday:"Mardi",Wednesday:"Mercredi",Thursday:"Jeudi",Friday:"Vendredi",Saturday:"Samedi",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam",_dateOrd:function(e){let r="e";if(e<11||e>13)switch(e%10){case 1:r="er";break}return r},"Zoom Out":"Zoom Arri\xE8re",Play:"Joue",Stop:"Arr\xEAte",Legend:"L\xE9gende","Press ENTER to toggle":"cliquez, appuyez ou appuyez sur entr\xE9e pour basculer",Loading:"Charger",Home:"Accueil",Chart:"Graphique","Serial chart":"Graphique s\xE9rial","X/Y chart":"Graphique X/Y","Pie chart":"Camembert","Gauge chart":"Jauge graphique","Radar chart":"Carte radar","Sankey diagram":"Graphique Sankey","Flow diagram":"repr\xE9sentation sch\xE9matique","Chord diagram":"diagramme d'accord","TreeMap chart":"carte de l'arbre","Sliced chart":"graphique en tranches",Series:"S\xE9ries","Candlestick Series":"S\xE9ries chandelier","OHLC Series":"S\xE9ries OHLC","Column Series":"S\xE9ries de colonnes","Line Series":"S\xE9rie de lignes","Pie Slice Series":"Tarte tranche S\xE9ries","Funnel Series":"S\xE9ries d'entonnoir","Pyramid Series":"S\xE9ries pyramidale","X/Y Series":"S\xE9ries X/Y",Map:"Mappe","Press ENTER to zoom in":"Appuyez sur ENTER pour zoomer","Press ENTER to zoom out":"Appuyez sur ENTER pour effectuer un zoom arri\xE8re","Use arrow keys to zoom in and out":"Utilisez les touches fl\xE9ch\xE9es pour zoomer et d\xE9zoomer","Use plus and minus keys on your keyboard to zoom in and out":"Utilisez les touches plus et moins de votre clavier pour effectuer un zoom avant ou arri\xE8re",Export:"Exporter",Image:"Image",Data:"Data",Print:"Imprimer","Press ENTER to open":"Cliquez, appuyez ou appuyez sur ENTER pour ouvrir","Press ENTER to print.":"Cliquez, appuyez ou appuyez sur ENTER pour imprimer","Press ENTER to export as %1.":"Cliquez, appuyez ou appuyez sur ENTER pour exporter comme %1","(Press ESC to close this message)":"(Appuyez sur ESC pour fermer ce message)","Image Export Complete":"Exportation d'image termin\xE9e","Export operation took longer than expected. Something might have gone wrong.":"L'exportation a pris plus de temps que pr\xE9vu. Quelque chose aurait mal tourn\xE9.","Saved from":"Enregistr\xE9 de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilisez la touche TAB pour s\xE9lectionner les boutons des poign\xE9es ou les fl\xE8ches gauche et droite pour modifier la s\xE9lection.","Use left and right arrows to move selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection","Use left and right arrows to move left selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection gauche","Use left and right arrows to move right selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection droite","Use TAB select grip buttons or up and down arrows to change selection":"Utilisez les boutons de s\xE9lection TAB ou les fl\xE8ches vers le haut et le bas pour modifier la s\xE9lection.","Use up and down arrows to move selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection","Use up and down arrows to move lower selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection inf\xE9rieure","Use up and down arrows to move upper selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection sup\xE9rieure","From %1 to %2":"De %1 \xE0 %2","From %1":"De %1","To %1":"\xE0 %1","No parser available for file: %1":"Aucun analyseur disponible pour le fichier: %1","Error parsing file: %1":"Erreur d'analyse du fichier: %1","Unable to load file: %1":"Impossible de charger le fichier: %1","Invalid date":"Date invalide",Close:"",Minimize:"",Confirm:""};export{o as default};
3
+ v5.0.0-next.120 */
4
+ import"./RRSZENMO.js";var o={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd MMM",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Janvier",February:"F\xE9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xFBt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xE9cembre",Jan:"Jan",Feb:"F\xE9v",Mar:"Mar",Apr:"Avr","May(short)":"Mai",Jun:"Jui",Jul:"Jul",Aug:"Ao\xFB",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"D\xE9c",Sunday:"Dimanche",Monday:"Lundi",Tuesday:"Mardi",Wednesday:"Mercredi",Thursday:"Jeudi",Friday:"Vendredi",Saturday:"Samedi",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam",_dateOrd:function(e){let r="e";if(e<11||e>13)switch(e%10){case 1:r="er";break}return r},"Zoom Out":"Zoom Arri\xE8re",Play:"Joue",Stop:"Arr\xEAte",Legend:"L\xE9gende","Press ENTER to toggle":"cliquez, appuyez ou appuyez sur entr\xE9e pour basculer",Loading:"Charger",Home:"Accueil",Chart:"Graphique","Serial chart":"Graphique s\xE9rial","X/Y chart":"Graphique X/Y","Pie chart":"Camembert","Gauge chart":"Jauge graphique","Radar chart":"Carte radar","Sankey diagram":"Graphique Sankey","Flow diagram":"repr\xE9sentation sch\xE9matique","Chord diagram":"diagramme d'accord","TreeMap chart":"carte de l'arbre","Sliced chart":"graphique en tranches",Series:"S\xE9ries","Candlestick Series":"S\xE9ries chandelier","OHLC Series":"S\xE9ries OHLC","Column Series":"S\xE9ries de colonnes","Line Series":"S\xE9rie de lignes","Pie Slice Series":"Tarte tranche S\xE9ries","Funnel Series":"S\xE9ries d'entonnoir","Pyramid Series":"S\xE9ries pyramidale","X/Y Series":"S\xE9ries X/Y",Map:"Mappe","Press ENTER to zoom in":"Appuyez sur ENTER pour zoomer","Press ENTER to zoom out":"Appuyez sur ENTER pour effectuer un zoom arri\xE8re","Use arrow keys to zoom in and out":"Utilisez les touches fl\xE9ch\xE9es pour zoomer et d\xE9zoomer","Use plus and minus keys on your keyboard to zoom in and out":"Utilisez les touches plus et moins de votre clavier pour effectuer un zoom avant ou arri\xE8re",Export:"Exporter",Image:"Image",Data:"Data",Print:"Imprimer","Press ENTER to open":"Cliquez, appuyez ou appuyez sur ENTER pour ouvrir","Press ENTER to print.":"Cliquez, appuyez ou appuyez sur ENTER pour imprimer","Press ENTER to export as %1.":"Cliquez, appuyez ou appuyez sur ENTER pour exporter comme %1","(Press ESC to close this message)":"(Appuyez sur ESC pour fermer ce message)","Image Export Complete":"Exportation d'image termin\xE9e","Export operation took longer than expected. Something might have gone wrong.":"L'exportation a pris plus de temps que pr\xE9vu. Quelque chose aurait mal tourn\xE9.","Saved from":"Enregistr\xE9 de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilisez la touche TAB pour s\xE9lectionner les boutons des poign\xE9es ou les fl\xE8ches gauche et droite pour modifier la s\xE9lection.","Use left and right arrows to move selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection","Use left and right arrows to move left selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection gauche","Use left and right arrows to move right selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection droite","Use TAB select grip buttons or up and down arrows to change selection":"Utilisez les boutons de s\xE9lection TAB ou les fl\xE8ches vers le haut et le bas pour modifier la s\xE9lection.","Use up and down arrows to move selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection","Use up and down arrows to move lower selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection inf\xE9rieure","Use up and down arrows to move upper selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection sup\xE9rieure","From %1 to %2":"De %1 \xE0 %2","From %1":"De %1","To %1":"\xE0 %1","No parser available for file: %1":"Aucun analyseur disponible pour le fichier: %1","Error parsing file: %1":"Erreur d'analyse du fichier: %1","Unable to load file: %1":"Impossible de charger le fichier: %1","Invalid date":"Date invalide",Close:"",Minimize:"",Confirm:""};export{o as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
4
- import{E as V,F as R,M as y,O as k,h as x}from"./P4YZWDLH.js";import{N as v,Q as G,d as D,f as O,o as C,q as $,u as w}from"./TQRPBCCN.js";import{a as B}from"./FYGRRPGD.js";import{N as E,g as m,o as M}from"./OCHNU6GM.js";var c=class extends R{_beforeChanged(){super._beforeChanged(),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}_draw(){let e=this.width(),t=this.height(),i=e/Math.abs(e),n=t/Math.abs(t),s=0,r=0,l=this.get("strokeWidth",0);this.get("containStroke",!1)&&(e-=i*l,t-=n*l,s+=i*l/2,r+=n*l/2);let a=e,h=t;if(m(a)&&m(h)){let o=Math.min(a,h)/2,d=w(this.get("cornerRadiusTL",8),o),u=w(this.get("cornerRadiusTR",8),o),g=w(this.get("cornerRadiusBR",8),o),f=w(this.get("cornerRadiusBL",8),o),b=Math.min(Math.abs(a/2),Math.abs(h/2));d=x(d,0,b),u=x(u,0,b),g=x(g,0,b),f=x(f,0,b);let p=this._display;p.moveTo(s+d*i,r),p.lineTo(s+a-u*i,r),u>0&&p.arcTo(s+a,r,s+a,r+u*n,u),p.lineTo(s+a,r+h-g*n),g>0&&p.arcTo(s+a,r+h,s+a-g*i,r+h,g),p.lineTo(s+f*i,r+h),f>0&&p.arcTo(s,r+h,s,r+h-f*n,f),p.lineTo(s,r+d*n),d>0&&p.arcTo(s,r,s+d*i,r,d),p.closePath()}}};Object.defineProperty(c,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RoundedRectangle"});Object.defineProperty(c,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:R.classNames.concat([c.className])});var _=class extends y{_afterNew(){this._settings.themeTags=v(this._settings.themeTags,["button"]),super._afterNew(),this._settings.background||this.set("background",c.new(this._root,{themeTags:v(this._settings.themeTags,["background"])})),this.setPrivate("trustBounds",!0)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("icon")){let e=this._prevSettings.icon,t=this.get("icon");t!==e&&(this._disposeProperty("icon"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.icon=t)}if(this.isDirty("label")){let e=this._prevSettings.label,t=this.get("label");t!==e&&(this._disposeProperty("label"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.label=t)}}};Object.defineProperty(_,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Button"});Object.defineProperty(_,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:y.classNames.concat([_.className])});var T=class extends k{constructor(){super(...arguments),Object.defineProperty(this,"_editOnEvents",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew();let e=this.children.push(y.new(this._root,{html:'<textarea class="am5-editable-label"></textarea>',isMeasured:!1}));e.hide(),this.setPrivate("input",e);let t=this.get("background");t?t.set("themeTags",["editablelabel","background"]):t=this.set("background",c.new(this._root,{themeTags:["editablelabel","background"]}))}_beforeChanged(){if(super._beforeChanged(),this.isDirty("editOn")){this._editOnEvents&&this._editOnEvents.dispose();let e=this.get("editOn","click");e!="none"&&(this._editOnEvents=new E([this.getPrivate("input").events.on(e,t=>{}),this.events.on(e,t=>{this.set("active",!0)})]))}}_prepareChildren(){super._prepareChildren(),this._maybeInitTextarea()}_updateChildren(){if(super._updateChildren(),this.isDirty("active")){let e=this.get("active",!1);e?this._startEditing():this._stopEditing();let t=this.get("background");t&&t.set("active",e)}this._syncText(),this._syncStyle()}_maybeInitTextarea(){if(!this._isInited()){let e=this.getPrivate("input");if(e&&e.getPrivate("htmlElement")){let i=e.getPrivate("htmlElement").querySelector(".am5-editable-label");i&&(this.setPrivate("textarea",i),i.addEventListener("input",n=>{this.get("multiLine")===!1&&(i.value=i.value.replace(/\n/g," ")),this.set("text",i.value),this._syncStyle()}),i.addEventListener("blur",n=>this.set("active",!1)),O("keyboardevents")&&this._disposers.push(D(document,"keydown",n=>{$(n)=="Escape"&&this.set("active",!1)})),this._disposers.push(D(document,"keydown",n=>{$(n)=="Enter"&&this.get("multiLine")===!1&&(n.preventDefault(),this.set("active",!1))})),this.events.dispatch("inited",{type:"inited",target:this}))}}}_isInited(){return!!this.getPrivate("textarea")}_startEditing(){if(!this._isInited()){this.events.once("inited",()=>{this._startEditing()});return}this._text.set("opacity",0);let e=this.getPrivate("input"),t=this.getPrivate("textarea");t&&(this.get("text","")==""&&this.set("text"," "),e.show(0),this.setTimeout(()=>{this._syncStyle(),t.focus()},100))}_stopEditing(){if(!this._isInited()){this.events.once("inited",()=>{this._stopEditing()});return}let e=this.getPrivate("input"),t=this.getPrivate("textarea");t&&(this.set("text",t.value),e.hide(0),this._text.set("opacity",1))}_syncStyle(){let e=this.getPrivate("input"),t=this.getPrivate("textarea"),i=e.getPrivate("htmlElement");if(t&&i){let n=window.getComputedStyle(t);M(n,u=>{t.style[u]="initial"}),t.style.color=this.get("fill",G(0)).toCSS(this.get("fillOpacity",1)),t.style.backgroundColor="rgba(0, 0, 0, 0)",t.style.border="none",t.style.outline="none",t.style.padding="0",t.wrap="off",t.style.resize="none",t.style.overflow="hidden";let s=this.get("maxWidth",0)-this.get("paddingLeft",0)-this.get("paddingRight",0);s>0?t.style.maxWidth=s+"px":t.style.minWidth="",t.style.height="auto",t.style.minHeight=t.scrollHeight+"px",this.get("width")&&(t.style.width=this.width()-this.get("paddingLeft",0)-this.get("paddingRight",0)+"px",t.style.minWidth="");let r=this.get("lineHeight");r?r instanceof B?t.style.lineHeight=r.value+"":m(r)&&(t.style.lineHeight=r+""):t.style.lineHeight="1.2";let l=this.get("fontFamily");l||(l=getComputedStyle(i,"font-family").getPropertyValue("font-family")),t.style.fontFamily=l;let a=this.get("fontSize");a?m(a)?a=a+"px":a=a:a=getComputedStyle(i,"font-size").getPropertyValue("font-size"),t.style.fontSize=a;let h=this.get("fontWeight");h?h=h:h=getComputedStyle(i,"font-weight").getPropertyValue("font-weight"),t.style.fontWeight=h;let o=this.get("fontStyle");o?o=o:o=getComputedStyle(i,"font-style").getPropertyValue("font-style"),t.style.fontStyle=o,this.get("oversizedBehavior")=="wrap"?t.style.whiteSpace="pre-wrap":t.style.whiteSpace="nowrap",this._root.events.on("frameended",()=>{t.style.minWidth==""&&(t.style.minWidth=t.scrollWidth+20+"px");let u=this.get("textAlign","start");u=="center"?(t.style.textAlign="center",!i.style.transform.match(/translateX/)&&!this.get("width")&&(i.style.transform+=" translateX(-50%)")):u=="end"?(t.style.textAlign="right",!i.style.transform.match(/translateX/)&&!this.get("width")&&(i.style.transform+=" translateX(-100%)")):t.style.textAlign=u})}}_syncText(){let e=this.getPrivate("textarea"),t=this.get("text","");t==" "&&(t=""),e&&(e.value=t)}};Object.defineProperty(T,"className",{enumerable:!0,configurable:!0,writable:!0,value:"EditableLabel"});Object.defineProperty(T,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:k.classNames.concat([T.className])});var P=class extends y{constructor(){super(...arguments),Object.defineProperty(this,"thumb",{enumerable:!0,configurable:!0,writable:!0,value:this._makeThumb()}),Object.defineProperty(this,"startGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"endGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"_thumbBusy",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_startDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_endDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_thumbDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_gripDown",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_addOrientationClass(){this._settings.themeTags=v(this._settings.themeTags,["scrollbar",this._settings.orientation]),this._settings.background||(this._settings.background=c.new(this._root,{themeTags:v(this._settings.themeTags,["main","background"])}))}_makeButton(){return this.children.push(_.new(this._root,{themeTags:["resize","button",this.get("orientation")],icon:V.new(this._root,{themeTags:["icon"]})}))}_makeThumb(){return this.children.push(c.new(this._root,{themeTags:["thumb",this.get("orientation")]}))}_handleAnimation(e){e&&this._disposers.push(e.events.on("stopped",()=>{this.setPrivateRaw("isBusy",!1),this._thumbBusy=!1}))}_afterNew(){this._addOrientationClass(),super._afterNew();let e=this.startGrip,t=this.endGrip,i=this.thumb,n=this.get("background");n&&this._disposers.push(n.events.on("click",s=>{this.setPrivateRaw("isBusy",!0);let r=this._display.toLocal(s.point),l=this.width(),a=this.height(),h=this.get("orientation"),o;h=="vertical"?o=(r.y-i.height()/2)/a:o=(r.x-i.width()/2)/l;let d,u;h=="vertical"?(d=o*a,u="y"):(d=o*l,u="x");let g=this.get("animationDuration",0);g>0?(this._thumbBusy=!0,this._handleAnimation(this.thumb.animate({key:u,to:d,duration:g,easing:this.get("animationEasing")}))):(this.thumb.set(u,d),this._root.events.once("frameended",()=>{this.setPrivateRaw("isBusy",!1)}))})),this._disposers.push(i.events.on("dblclick",s=>{if(!C(s.originalEvent,this))return;let r=this.get("animationDuration",0),l=this.get("animationEasing");this.animate({key:"start",to:0,duration:r,easing:l}),this.animate({key:"end",to:1,duration:r,easing:l})})),this._disposers.push(e.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._startDown=!0,this._gripDown="start"})),this._disposers.push(t.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._endDown=!0,this._gripDown="end"})),this._disposers.push(i.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._thumbDown=!0,this._gripDown=void 0})),this._disposers.push(e.events.on("globalpointerup",()=>{this._startDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._startDown=!1})),this._disposers.push(t.events.on("globalpointerup",()=>{this._endDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._endDown=!1})),this._disposers.push(i.events.on("globalpointerup",()=>{this._thumbDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._thumbDown=!1})),this._disposers.push(e.on("x",()=>{this._updateThumb()})),this._disposers.push(t.on("x",()=>{this._updateThumb()})),this._disposers.push(e.on("y",()=>{this._updateThumb()})),this._disposers.push(t.on("y",()=>{this._updateThumb()})),this._disposers.push(i.events.on("positionchanged",()=>{this._updateGripsByThumb()})),this.get("orientation")=="vertical"?(e.set("x",0),t.set("x",0),this._disposers.push(i.adapters.add("y",s=>Math.max(Math.min(Number(s),this.height()-i.height()),0))),this._disposers.push(i.adapters.add("x",s=>this.width()/2)),this._disposers.push(e.adapters.add("x",s=>this.width()/2)),this._disposers.push(t.adapters.add("x",s=>this.width()/2)),this._disposers.push(e.adapters.add("y",s=>Math.max(Math.min(Number(s),this.height()),0))),this._disposers.push(t.adapters.add("y",s=>Math.max(Math.min(Number(s),this.height()),0)))):(e.set("y",0),t.set("y",0),this._disposers.push(i.adapters.add("x",s=>Math.max(Math.min(Number(s),this.width()-i.width()),0))),this._disposers.push(i.adapters.add("y",s=>this.height()/2)),this._disposers.push(e.adapters.add("y",s=>this.height()/2)),this._disposers.push(t.adapters.add("y",s=>this.height()/2)),this._disposers.push(e.adapters.add("x",s=>Math.max(Math.min(Number(s),this.width()),0))),this._disposers.push(t.adapters.add("x",s=>Math.max(Math.min(Number(s),this.width()),0))))}_updateChildren(){super._updateChildren(),(this.isDirty("end")||this.isDirty("start")||this._sizeDirty)&&this.updateGrips()}_changed(){if(super._changed(),this.isDirty("start")||this.isDirty("end")){let e="rangechanged";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this,start:this.get("start",0),end:this.get("end",1),grip:this._gripDown})}}_released(){let e="released";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this})}updateGrips(){let e=this.startGrip,t=this.endGrip,i=this.get("orientation"),n=this.height(),s=this.width();i=="vertical"?(e.set("y",n*this.get("start",0)),t.set("y",n*this.get("end",1))):(e.set("x",s*this.get("start",0)),t.set("x",s*this.get("end",1)));let r=this.getPrivate("positionTextFunction"),l=Math.round(this.get("start",0)*100),a=Math.round(this.get("end",0)*100),h,o;r?(h=r.call(this,this.get("start",0)),o=r.call(this,this.get("end",0))):(h=l+"%",o=a+"%"),e.set("ariaLabel",this._t("From %1",void 0,h)),e.set("ariaValueNow",""+l),e.set("ariaValueText",l+"%"),e.set("ariaValueMin","0"),e.set("ariaValueMax","100"),t.set("ariaLabel",this._t("To %1",void 0,o)),t.set("ariaValueNow",""+a),t.set("ariaValueText",a+"%"),t.set("ariaValueMin","0"),t.set("ariaValueMax","100")}_updateThumb(){let e=this.thumb,t=this.startGrip,i=this.endGrip,n=this.height(),s=this.width(),r=t.x(),l=i.x(),a=t.y(),h=i.y(),o=0,d=1;this.get("orientation")=="vertical"?m(a)&&m(h)&&(!this._thumbBusy&&!e.isDragging()&&(e.set("height",h-a),e.set("y",a)),o=a/n,d=h/n):m(r)&&m(l)&&(!this._thumbBusy&&!e.isDragging()&&(e.set("width",l-r),e.set("x",r)),o=r/s,d=l/s),this.getPrivate("isBusy")&&(this.get("start")!=o||this.get("end")!=d)&&(this.set("start",o),this.set("end",d));let u=this.getPrivate("positionTextFunction"),g=Math.round(this.get("start",0)*100),f=Math.round(this.get("end",0)*100),b,p;u?(b=u.call(this,this.get("start",0)),p=u.call(this,this.get("end",0))):(b=g+"%",p=f+"%"),e.set("ariaLabel",this._t("From %1 to %2",void 0,b,p)),e.set("ariaValueNow",""+g),e.set("ariaValueText",g+"%")}_updateGripsByThumb(){let e=this.thumb,t=this.startGrip,i=this.endGrip;if(this.get("orientation")=="vertical"){let n=e.height();t.set("y",e.y()),i.set("y",e.y()+n)}else{let n=e.width();t.set("x",e.x()),i.set("x",e.x()+n)}}};Object.defineProperty(P,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Scrollbar"});Object.defineProperty(P,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:y.classNames.concat([P.className])});export{c as a,_ as b,T as c,P as d};
3
+ v5.0.0-next.120 */
4
+ import{E as V,F as R,M as y,O as k,h as x}from"./7DI7SRGH.js";import{N as v,Q as G,d as D,f as O,o as C,q as $,u as w}from"./JPVXNQED.js";import{a as B}from"./CXHVIFNU.js";import{N as E,g as m,o as M}from"./5UXMFZOY.js";var c=class extends R{_beforeChanged(){super._beforeChanged(),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}_draw(){let e=this.width(),t=this.height(),i=e/Math.abs(e),n=t/Math.abs(t),s=0,r=0,l=this.get("strokeWidth",0);this.get("containStroke",!1)&&(e-=i*l,t-=n*l,s+=i*l/2,r+=n*l/2);let a=e,h=t;if(m(a)&&m(h)){let o=Math.min(a,h)/2,d=w(this.get("cornerRadiusTL",8),o),u=w(this.get("cornerRadiusTR",8),o),g=w(this.get("cornerRadiusBR",8),o),f=w(this.get("cornerRadiusBL",8),o),b=Math.min(Math.abs(a/2),Math.abs(h/2));d=x(d,0,b),u=x(u,0,b),g=x(g,0,b),f=x(f,0,b);let p=this._display;p.moveTo(s+d*i,r),p.lineTo(s+a-u*i,r),u>0&&p.arcTo(s+a,r,s+a,r+u*n,u),p.lineTo(s+a,r+h-g*n),g>0&&p.arcTo(s+a,r+h,s+a-g*i,r+h,g),p.lineTo(s+f*i,r+h),f>0&&p.arcTo(s,r+h,s,r+h-f*n,f),p.lineTo(s,r+d*n),d>0&&p.arcTo(s,r,s+d*i,r,d),p.closePath()}}};Object.defineProperty(c,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RoundedRectangle"});Object.defineProperty(c,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:R.classNames.concat([c.className])});var _=class extends y{_afterNew(){this._settings.themeTags=v(this._settings.themeTags,["button"]),super._afterNew(),this._settings.background||this.set("background",c.new(this._root,{themeTags:v(this._settings.themeTags,["background"])})),this.setPrivate("trustBounds",!0)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("icon")){let e=this._prevSettings.icon,t=this.get("icon");t!==e&&(this._disposeProperty("icon"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.icon=t)}if(this.isDirty("label")){let e=this._prevSettings.label,t=this.get("label");t!==e&&(this._disposeProperty("label"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.label=t)}}};Object.defineProperty(_,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Button"});Object.defineProperty(_,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:y.classNames.concat([_.className])});var T=class extends k{constructor(){super(...arguments),Object.defineProperty(this,"_editOnEvents",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew();let e=this.children.push(y.new(this._root,{html:'<textarea class="am5-editable-label"></textarea>',isMeasured:!1}));e.hide(),this.setPrivate("input",e);let t=this.get("background");t?t.set("themeTags",["editablelabel","background"]):t=this.set("background",c.new(this._root,{themeTags:["editablelabel","background"]}))}_beforeChanged(){if(super._beforeChanged(),this.isDirty("editOn")){this._editOnEvents&&this._editOnEvents.dispose();let e=this.get("editOn","click");e!="none"&&(this._editOnEvents=new E([this.getPrivate("input").events.on(e,t=>{}),this.events.on(e,t=>{this.set("active",!0)})]))}}_prepareChildren(){super._prepareChildren(),this._maybeInitTextarea()}_updateChildren(){if(super._updateChildren(),this.isDirty("active")){let e=this.get("active",!1);e?this._startEditing():this._stopEditing();let t=this.get("background");t&&t.set("active",e)}this._syncText(),this._syncStyle()}_maybeInitTextarea(){if(!this._isInited()){let e=this.getPrivate("input");if(e&&e.getPrivate("htmlElement")){let i=e.getPrivate("htmlElement").querySelector(".am5-editable-label");i&&(this.setPrivate("textarea",i),i.addEventListener("input",n=>{this.get("multiLine")===!1&&(i.value=i.value.replace(/\n/g," ")),this.set("text",i.value),this._syncStyle()}),i.addEventListener("blur",n=>this.set("active",!1)),O("keyboardevents")&&this._disposers.push(D(document,"keydown",n=>{$(n)=="Escape"&&this.set("active",!1)})),this._disposers.push(D(document,"keydown",n=>{$(n)=="Enter"&&this.get("multiLine")===!1&&(n.preventDefault(),this.set("active",!1))})),this.events.dispatch("inited",{type:"inited",target:this}))}}}_isInited(){return!!this.getPrivate("textarea")}_startEditing(){if(!this._isInited()){this.events.once("inited",()=>{this._startEditing()});return}this._text.set("opacity",0);let e=this.getPrivate("input"),t=this.getPrivate("textarea");t&&(this.get("text","")==""&&this.set("text"," "),e.show(0),this.setTimeout(()=>{this._syncStyle(),t.focus()},100))}_stopEditing(){if(!this._isInited()){this.events.once("inited",()=>{this._stopEditing()});return}let e=this.getPrivate("input"),t=this.getPrivate("textarea");t&&(this.set("text",t.value),e.hide(0),this._text.set("opacity",1))}_syncStyle(){let e=this.getPrivate("input"),t=this.getPrivate("textarea"),i=e.getPrivate("htmlElement");if(t&&i){let n=window.getComputedStyle(t);M(n,u=>{t.style[u]="initial"}),t.style.color=this.get("fill",G(0)).toCSS(this.get("fillOpacity",1)),t.style.backgroundColor="rgba(0, 0, 0, 0)",t.style.border="none",t.style.outline="none",t.style.padding="0",t.wrap="off",t.style.resize="none",t.style.overflow="hidden";let s=this.get("maxWidth",0)-this.get("paddingLeft",0)-this.get("paddingRight",0);s>0?t.style.maxWidth=s+"px":t.style.minWidth="",t.style.height="auto",t.style.minHeight=t.scrollHeight+"px",this.get("width")&&(t.style.width=this.width()-this.get("paddingLeft",0)-this.get("paddingRight",0)+"px",t.style.minWidth="");let r=this.get("lineHeight");r?r instanceof B?t.style.lineHeight=r.value+"":m(r)&&(t.style.lineHeight=r+""):t.style.lineHeight="1.2";let l=this.get("fontFamily");l||(l=getComputedStyle(i,"font-family").getPropertyValue("font-family")),t.style.fontFamily=l;let a=this.get("fontSize");a?m(a)?a=a+"px":a=a:a=getComputedStyle(i,"font-size").getPropertyValue("font-size"),t.style.fontSize=a;let h=this.get("fontWeight");h?h=h:h=getComputedStyle(i,"font-weight").getPropertyValue("font-weight"),t.style.fontWeight=h;let o=this.get("fontStyle");o?o=o:o=getComputedStyle(i,"font-style").getPropertyValue("font-style"),t.style.fontStyle=o,this.get("oversizedBehavior")=="wrap"?t.style.whiteSpace="pre-wrap":t.style.whiteSpace="nowrap",this._root.events.on("frameended",()=>{t.style.minWidth==""&&(t.style.minWidth=t.scrollWidth+20+"px");let u=this.get("textAlign","start");u=="center"?(t.style.textAlign="center",!i.style.transform.match(/translateX/)&&!this.get("width")&&(i.style.transform+=" translateX(-50%)")):u=="end"?(t.style.textAlign="right",!i.style.transform.match(/translateX/)&&!this.get("width")&&(i.style.transform+=" translateX(-100%)")):t.style.textAlign=u})}}_syncText(){let e=this.getPrivate("textarea"),t=this.get("text","");t==" "&&(t=""),e&&(e.value=t)}};Object.defineProperty(T,"className",{enumerable:!0,configurable:!0,writable:!0,value:"EditableLabel"});Object.defineProperty(T,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:k.classNames.concat([T.className])});var P=class extends y{constructor(){super(...arguments),Object.defineProperty(this,"thumb",{enumerable:!0,configurable:!0,writable:!0,value:this._makeThumb()}),Object.defineProperty(this,"startGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"endGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"_thumbBusy",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_startDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_endDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_thumbDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_gripDown",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_addOrientationClass(){this._settings.themeTags=v(this._settings.themeTags,["scrollbar",this._settings.orientation]),this._settings.background||(this._settings.background=c.new(this._root,{themeTags:v(this._settings.themeTags,["main","background"])}))}_makeButton(){return this.children.push(_.new(this._root,{themeTags:["resize","button",this.get("orientation")],icon:V.new(this._root,{themeTags:["icon"]})}))}_makeThumb(){return this.children.push(c.new(this._root,{themeTags:["thumb",this.get("orientation")]}))}_handleAnimation(e){e&&this._disposers.push(e.events.on("stopped",()=>{this.setPrivateRaw("isBusy",!1),this._thumbBusy=!1}))}_afterNew(){this._addOrientationClass(),super._afterNew();let e=this.startGrip,t=this.endGrip,i=this.thumb,n=this.get("background");n&&this._disposers.push(n.events.on("click",s=>{this.setPrivateRaw("isBusy",!0);let r=this._display.toLocal(s.point),l=this.width(),a=this.height(),h=this.get("orientation"),o;h=="vertical"?o=(r.y-i.height()/2)/a:o=(r.x-i.width()/2)/l;let d,u;h=="vertical"?(d=o*a,u="y"):(d=o*l,u="x");let g=this.get("animationDuration",0);g>0?(this._thumbBusy=!0,this._handleAnimation(this.thumb.animate({key:u,to:d,duration:g,easing:this.get("animationEasing")}))):(this.thumb.set(u,d),this._root.events.once("frameended",()=>{this.setPrivateRaw("isBusy",!1)}))})),this._disposers.push(i.events.on("dblclick",s=>{if(!C(s.originalEvent,this))return;let r=this.get("animationDuration",0),l=this.get("animationEasing");this.animate({key:"start",to:0,duration:r,easing:l}),this.animate({key:"end",to:1,duration:r,easing:l})})),this._disposers.push(e.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._startDown=!0,this._gripDown="start"})),this._disposers.push(t.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._endDown=!0,this._gripDown="end"})),this._disposers.push(i.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._thumbDown=!0,this._gripDown=void 0})),this._disposers.push(e.events.on("globalpointerup",()=>{this._startDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._startDown=!1})),this._disposers.push(t.events.on("globalpointerup",()=>{this._endDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._endDown=!1})),this._disposers.push(i.events.on("globalpointerup",()=>{this._thumbDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._thumbDown=!1})),this._disposers.push(e.on("x",()=>{this._updateThumb()})),this._disposers.push(t.on("x",()=>{this._updateThumb()})),this._disposers.push(e.on("y",()=>{this._updateThumb()})),this._disposers.push(t.on("y",()=>{this._updateThumb()})),this._disposers.push(i.events.on("positionchanged",()=>{this._updateGripsByThumb()})),this.get("orientation")=="vertical"?(e.set("x",0),t.set("x",0),this._disposers.push(i.adapters.add("y",s=>Math.max(Math.min(Number(s),this.height()-i.height()),0))),this._disposers.push(i.adapters.add("x",s=>this.width()/2)),this._disposers.push(e.adapters.add("x",s=>this.width()/2)),this._disposers.push(t.adapters.add("x",s=>this.width()/2)),this._disposers.push(e.adapters.add("y",s=>Math.max(Math.min(Number(s),this.height()),0))),this._disposers.push(t.adapters.add("y",s=>Math.max(Math.min(Number(s),this.height()),0)))):(e.set("y",0),t.set("y",0),this._disposers.push(i.adapters.add("x",s=>Math.max(Math.min(Number(s),this.width()-i.width()),0))),this._disposers.push(i.adapters.add("y",s=>this.height()/2)),this._disposers.push(e.adapters.add("y",s=>this.height()/2)),this._disposers.push(t.adapters.add("y",s=>this.height()/2)),this._disposers.push(e.adapters.add("x",s=>Math.max(Math.min(Number(s),this.width()),0))),this._disposers.push(t.adapters.add("x",s=>Math.max(Math.min(Number(s),this.width()),0))))}_updateChildren(){super._updateChildren(),(this.isDirty("end")||this.isDirty("start")||this._sizeDirty)&&this.updateGrips()}_changed(){if(super._changed(),this.isDirty("start")||this.isDirty("end")){let e="rangechanged";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this,start:this.get("start",0),end:this.get("end",1),grip:this._gripDown})}}_released(){let e="released";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this})}updateGrips(){let e=this.startGrip,t=this.endGrip,i=this.get("orientation"),n=this.height(),s=this.width();i=="vertical"?(e.set("y",n*this.get("start",0)),t.set("y",n*this.get("end",1))):(e.set("x",s*this.get("start",0)),t.set("x",s*this.get("end",1)));let r=this.getPrivate("positionTextFunction"),l=Math.round(this.get("start",0)*100),a=Math.round(this.get("end",0)*100),h,o;r?(h=r.call(this,this.get("start",0)),o=r.call(this,this.get("end",0))):(h=l+"%",o=a+"%"),e.set("ariaLabel",this._t("From %1",void 0,h)),e.set("ariaValueNow",""+l),e.set("ariaValueText",l+"%"),e.set("ariaValueMin","0"),e.set("ariaValueMax","100"),t.set("ariaLabel",this._t("To %1",void 0,o)),t.set("ariaValueNow",""+a),t.set("ariaValueText",a+"%"),t.set("ariaValueMin","0"),t.set("ariaValueMax","100")}_updateThumb(){let e=this.thumb,t=this.startGrip,i=this.endGrip,n=this.height(),s=this.width(),r=t.x(),l=i.x(),a=t.y(),h=i.y(),o=0,d=1;this.get("orientation")=="vertical"?m(a)&&m(h)&&(!this._thumbBusy&&!e.isDragging()&&(e.set("height",h-a),e.set("y",a)),o=a/n,d=h/n):m(r)&&m(l)&&(!this._thumbBusy&&!e.isDragging()&&(e.set("width",l-r),e.set("x",r)),o=r/s,d=l/s),this.getPrivate("isBusy")&&(this.get("start")!=o||this.get("end")!=d)&&(this.set("start",o),this.set("end",d));let u=this.getPrivate("positionTextFunction"),g=Math.round(this.get("start",0)*100),f=Math.round(this.get("end",0)*100),b,p;u?(b=u.call(this,this.get("start",0)),p=u.call(this,this.get("end",0))):(b=g+"%",p=f+"%"),e.set("ariaLabel",this._t("From %1 to %2",void 0,b,p)),e.set("ariaValueNow",""+g),e.set("ariaValueText",g+"%")}_updateGripsByThumb(){let e=this.thumb,t=this.startGrip,i=this.endGrip;if(this.get("orientation")=="vertical"){let n=e.height();t.set("y",e.y()),i.set("y",e.y()+n)}else{let n=e.width();t.set("x",e.x()),i.set("x",e.x()+n)}}};Object.defineProperty(P,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Scrollbar"});Object.defineProperty(P,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:y.classNames.concat([P.className])});export{c as a,_ as b,T as c,P as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
4
- import b from"./22JMPJTG.js";import a from"./DO5VJTG4.js";export default $arcgis.t(([,m,p,{isZoomScreenSize:h},{c:d},{e:l}])=>{var n=new m({icon:"magnifying-glass-plus",id:"zoom-to-feature",title:"{messages.zoom}"}),b=new m({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}"}),s=new m({icon:"magnifying-glass-plus",id:"zoom-to-clustered-features",title:"{messages.zoom}"}),y=new p({icon:"table",id:"browse-clustered-features",title:"{messages.browseClusteredFeatures}",value:!1});function O(e){if(e.icon)return e.icon;if(!("image"in e&&e.image)&&!e.className)return"question"}function Q(e){return e?{backgroundImage:`url(${e})`}:{}}function z(e){let{selectedFeature:t,location:i,view:r}=e;return r?t??i??null:null}async function E(e,t){let{location:i,selectedFeature:r,view:o,zoomFactor:a}=e;await t?.viewModel?.updateGeometry();let c=t?.graphic,g=c?.geometry?c:z(e);if(!o||!g)throw new Error("Cannot zoom to location without a target and view.");let f=o.scale/a,u=c?.geometry??e.selectedFeature?.geometry??i,w=u?.type==="point"&&await h(c??r,o);n.active=!0,n.disabled=!0;try{await e.zoomTo({target:{target:g,scale:w?f:void 0}})}catch(v){if(d(v))return;throw new Error("Could not zoom to the location of the graphic.")}finally{n.active=!1,n.disabled=!1,w&&e.location!==u&&(e.location=u)}}function C(e){return!!e&&e.isAggregate&&l(e)?.featureReduction?.type==="cluster"}async function F(e,t){let i=await e.whenLayerView(l(t)),r=i.createQuery(),o=t.getObjectId();return r.aggregateIds=o!=null?[o]:[],[i,r]}async function T(e){let{selectedFeature:t,view:i}=e;if(i?.type!=="2d")throw new Error("zoomToCluster:invalid-view: View must be 2d MapView.");if(!t||!C(t))throw new Error("zoomToCluster:invalid-selectedFeature: Selected feature must represent an aggregate/cluster graphic.");let[r,o]=await F(i,t);s.active=!0,s.disabled=!0;let{extent:a}=await r.queryExtent(o);a&&await e.zoomTo({target:a}),s.active=!1,s.disabled=!1}var Z=async(e,t)=>{if(!e)throw new Error("trigger-action:missing-arguments: Event has no action");let{disabled:i,id:r}=e;if(!r)throw new Error("trigger-action:invalid-action: action.id is missing");if(i)throw new Error("trigger-action:invalid-action: Action is disabled");if(r===n.id)return await E(t).catch(o=>{if(!d(o))throw o});if(r===s.id)return await T(t);if(r===y.id){t.browseClusterEnabled=!t.browseClusterEnabled,t.featureMenuOpen=t.browseClusterEnabled;return}if(r===b.id){t.visible=!1;let{selectedFeature:o}=t;if(!o)throw new Error("trigger-action:missing-selected-feature: Cannot remove selected feature without a selected feature.");let a=l(o);a?a.remove(o):t.view?.graphics.remove(o)}};return{a:n,b:O,c:Q,d:E,e:Z}},"intl","support/actions/ActionButton","support/actions/ActionToggle","applications/Components/actionUtils",a,b)
3
+ v5.0.0-next.120 */
4
+ import b from"./42TTZZIU.js";import a from"./LGGHYSPK.js";export default $arcgis.t(([,m,p,{isZoomScreenSize:h},{c:d},{e:l}])=>{var n=new m({icon:"magnifying-glass-plus",id:"zoom-to-feature",title:"{messages.zoom}"}),b=new m({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}"}),s=new m({icon:"magnifying-glass-plus",id:"zoom-to-clustered-features",title:"{messages.zoom}"}),y=new p({icon:"table",id:"browse-clustered-features",title:"{messages.browseClusteredFeatures}",value:!1});function O(e){if(e.icon)return e.icon;if(!("image"in e&&e.image)&&!e.className)return"question"}function Q(e){return e?{backgroundImage:`url(${e})`}:{}}function z(e){let{selectedFeature:t,location:i,view:r}=e;return r?t??i??null:null}async function E(e,t){let{location:i,selectedFeature:r,view:o,zoomFactor:a}=e;await t?.viewModel?.updateGeometry();let c=t?.graphic,g=c?.geometry?c:z(e);if(!o||!g)throw new Error("Cannot zoom to location without a target and view.");let f=o.scale/a,u=c?.geometry??e.selectedFeature?.geometry??i,w=u?.type==="point"&&await h(c??r,o);n.active=!0,n.disabled=!0;try{await e.zoomTo({target:{target:g,scale:w?f:void 0}})}catch(v){if(d(v))return;throw new Error("Could not zoom to the location of the graphic.")}finally{n.active=!1,n.disabled=!1,w&&e.location!==u&&(e.location=u)}}function C(e){return!!e&&e.isAggregate&&l(e)?.featureReduction?.type==="cluster"}async function F(e,t){let i=await e.whenLayerView(l(t)),r=i.createQuery(),o=t.getObjectId();return r.aggregateIds=o!=null?[o]:[],[i,r]}async function T(e){let{selectedFeature:t,view:i}=e;if(i?.type!=="2d")throw new Error("zoomToCluster:invalid-view: View must be 2d MapView.");if(!t||!C(t))throw new Error("zoomToCluster:invalid-selectedFeature: Selected feature must represent an aggregate/cluster graphic.");let[r,o]=await F(i,t);s.active=!0,s.disabled=!0;let{extent:a}=await r.queryExtent(o);a&&await e.zoomTo({target:a}),s.active=!1,s.disabled=!1}var Z=async(e,t)=>{if(!e)throw new Error("trigger-action:missing-arguments: Event has no action");let{disabled:i,id:r}=e;if(!r)throw new Error("trigger-action:invalid-action: action.id is missing");if(i)throw new Error("trigger-action:invalid-action: Action is disabled");if(r===n.id)return await E(t).catch(o=>{if(!d(o))throw o});if(r===s.id)return await T(t);if(r===y.id){t.browseClusterEnabled=!t.browseClusterEnabled,t.featureMenuOpen=t.browseClusterEnabled;return}if(r===b.id){t.visible=!1;let{selectedFeature:o}=t;if(!o)throw new Error("trigger-action:missing-selected-feature: Cannot remove selected feature without a selected feature.");let a=l(o);a?a.remove(o):t.view?.graphics.remove(o)}};return{a:n,b:O,c:Q,d:E,e:Z}},"intl","support/actions/ActionButton","support/actions/ActionToggle","applications/Components/actionUtils",a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.119 */
4
- import{a as f}from"./GPI5USKJ.js";import"./MG6BJWUS.js";import{a as m}from"./RSGM456F.js";import{b as h}from"./HSYPPEIL.js";import{N as d,O as a,T as g,a as o,b as i}from"./K4MVUXQW.js";import"./YNQQEKVL.js";export default $arcgis.t(([{watch:v},{substitute:_}])=>{var u=o`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.arcgis-legend--card__message{padding:.5em 1em}.arcgis-legend--card__service-caption-text{margin:0}.arcgis-legend--card__service-content{display:flex;flex:1}.arcgis-legend--card__service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.arcgis-legend--card__service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);min-width:fit-content;display:flex;flex-direction:column;flex:1}.arcgis-legend--card__service-caption-container{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-md)}`,n={message:"arcgis-legend--card__message",serviceCaptionText:"arcgis-legend--card__service-caption-text",serviceContent:"arcgis-legend--card__service-content",service:"arcgis-legend--card__service",serviceCaptionContainer:"arcgis-legend--card__service-caption-container"},p=768,c=class extends d{constructor(){super(...arguments),this.stacked=!1,this.headingLevel=3,this.layout="auto",this.type="card"}static{this.properties={stacked:16,activeLayerInfos:0,headingLevel:9,messages:0,view:0,layout:1,type:32}}static{this.styles=u}loaded(){this.manager.onLifecycle(()=>[v(()=>[this.layout,this.view.width],()=>{this.stacked=this.layout==="stack"||(!this.layout||this.layout==="auto")&&this.view.width<=p},{initial:!0})])}render(){return(this.stacked?this._renderCarousel():this._renderLayers())||i`<div class=${a(n.message)}>${this.messages.noLegend}</div>`}_renderTitle(e){return i`<div class=${a(n.serviceCaptionContainer)}>${f({class:h(n.serviceCaptionText,m.heading),level:this.headingLevel,children:e})}</div>`}_renderCarousel(){let e=[],t=this.activeLayerInfos;if(t)for(let s of t)this._renderSections(s,e);return e?.length?i`<calcite-carousel .label=${this.messages.carousel??""}>${e.map((s,r)=>i`<calcite-carousel-item .label=${_(this.messages?.pagination?.pageText??"",{index:r+1,total:e.length})}>${s}</calcite-carousel-item>`)}</calcite-carousel>`:null}_renderLayers(){let e=this.activeLayerInfos?.toArray()?.map(t=>this._renderLegendForLayer(t)).filter(Boolean);return e?.length?e:null}_renderLegendForLayer(e){if(!e.ready)return null;if(e.children.length){let t=e.children.toArray().map(this._renderLegendForLayer,this);return i`<section class=${a(n.service)}>${this._renderTitle(e.title)}<div class=${a(n.serviceContent)}>${t}</div></section>`}return this._renderLegendElementsForLayer(e)}_renderLegendElementsForLayer(e){let t=e.legendElements?.filter(Boolean);if(!t?.length)return null;let s=t.map(r=>i`<arcgis-legend-card-element .activeLayerInfo=${e} .cssEffectFilter=${e.cssEffectFilter??void 0} .stacked=${this.stacked} .headingLevel=${this.headingLevel} .layer=${e.layer} .legendElement=${r} .messages=${this.messages}></arcgis-legend-card-element>`);return i`<section class=${a(n.service)}>${this._renderTitle(e.title)}<div class=${a(n.serviceContent)}>${s}</div></section>`}_renderSections(e,t){if(!e.ready)return;if(e.children.length)for(let r of e.children)this._renderSections(r,t);let s=e.legendElements;if(s?.length)for(let r of s){let l=i`<arcgis-legend-card-element .activeLayerInfo=${e} .cssEffectFilter=${e.cssEffectFilter??void 0} .stacked=${this.stacked} .headingLevel=${this.headingLevel} .layer=${e.layer} .legendElement=${r} .messages=${this.messages}></arcgis-legend-card-element>`;l&&t.push(l)}}};g("arcgis-legend-card-view",c);return c},"core/reactiveUtils","intl")
3
+ v5.0.0-next.120 */
4
+ import{a as f}from"./R3EYMYSR.js";import"./KKDDBMMY.js";import{a as m}from"./DYP27ZPK.js";import{b as h}from"./CON4URVJ.js";import{N as d,O as a,T as g,a as o,b as i}from"./CC7BTIBM.js";import"./RRSZENMO.js";export default $arcgis.t(([{watch:v},{substitute:_}])=>{var u=o`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.arcgis-legend--card__message{padding:.5em 1em}.arcgis-legend--card__service-caption-text{margin:0}.arcgis-legend--card__service-content{display:flex;flex:1}.arcgis-legend--card__service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.arcgis-legend--card__service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);min-width:fit-content;display:flex;flex-direction:column;flex:1}.arcgis-legend--card__service-caption-container{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-md)}`,n={message:"arcgis-legend--card__message",serviceCaptionText:"arcgis-legend--card__service-caption-text",serviceContent:"arcgis-legend--card__service-content",service:"arcgis-legend--card__service",serviceCaptionContainer:"arcgis-legend--card__service-caption-container"},p=768,c=class extends d{constructor(){super(...arguments),this.stacked=!1,this.headingLevel=3,this.layout="auto",this.type="card"}static{this.properties={stacked:16,activeLayerInfos:0,headingLevel:9,messages:0,view:0,layout:1,type:32}}static{this.styles=u}loaded(){this.manager.onLifecycle(()=>[v(()=>[this.layout,this.view.width],()=>{this.stacked=this.layout==="stack"||(!this.layout||this.layout==="auto")&&this.view.width<=p},{initial:!0})])}render(){return(this.stacked?this._renderCarousel():this._renderLayers())||i`<div class=${a(n.message)}>${this.messages.noLegend}</div>`}_renderTitle(e){return i`<div class=${a(n.serviceCaptionContainer)}>${f({class:h(n.serviceCaptionText,m.heading),level:this.headingLevel,children:e})}</div>`}_renderCarousel(){let e=[],t=this.activeLayerInfos;if(t)for(let s of t)this._renderSections(s,e);return e?.length?i`<calcite-carousel .label=${this.messages.carousel??""}>${e.map((s,r)=>i`<calcite-carousel-item .label=${_(this.messages?.pagination?.pageText??"",{index:r+1,total:e.length})}>${s}</calcite-carousel-item>`)}</calcite-carousel>`:null}_renderLayers(){let e=this.activeLayerInfos?.toArray()?.map(t=>this._renderLegendForLayer(t)).filter(Boolean);return e?.length?e:null}_renderLegendForLayer(e){if(!e.ready)return null;if(e.children.length){let t=e.children.toArray().map(this._renderLegendForLayer,this);return i`<section class=${a(n.service)}>${this._renderTitle(e.title)}<div class=${a(n.serviceContent)}>${t}</div></section>`}return this._renderLegendElementsForLayer(e)}_renderLegendElementsForLayer(e){let t=e.legendElements?.filter(Boolean);if(!t?.length)return null;let s=t.map(r=>i`<arcgis-legend-card-element .activeLayerInfo=${e} .cssEffectFilter=${e.cssEffectFilter??void 0} .stacked=${this.stacked} .headingLevel=${this.headingLevel} .layer=${e.layer} .legendElement=${r} .messages=${this.messages}></arcgis-legend-card-element>`);return i`<section class=${a(n.service)}>${this._renderTitle(e.title)}<div class=${a(n.serviceContent)}>${s}</div></section>`}_renderSections(e,t){if(!e.ready)return;if(e.children.length)for(let r of e.children)this._renderSections(r,t);let s=e.legendElements;if(s?.length)for(let r of s){let l=i`<arcgis-legend-card-element .activeLayerInfo=${e} .cssEffectFilter=${e.cssEffectFilter??void 0} .stacked=${this.stacked} .headingLevel=${this.headingLevel} .layer=${e.layer} .legendElement=${r} .messages=${this.messages}></arcgis-legend-card-element>`;l&&t.push(l)}}};g("arcgis-legend-card-view",c);return c},"core/reactiveUtils","intl")