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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (431) hide show
  1. package/dist/cdn/{XC4T5YLV.js → 22JMPJTG.js} +2 -2
  2. package/dist/cdn/{ELGM55WB.js → 25FH7Z44.js} +2 -2
  3. package/dist/cdn/{QHBZTUWK.js → 2GFHUERF.js} +2 -2
  4. package/dist/cdn/2KRIUZGP.js +4 -0
  5. package/dist/cdn/{6ELJEOKR.js → 2TQUQK3F.js} +2 -2
  6. package/dist/cdn/{SJX4XRUP.js → 2W4FFQ3I.js} +2 -2
  7. package/dist/cdn/{PS24GUJN.js → 2YT2EKNR.js} +1 -1
  8. package/dist/cdn/{OYBULXX6.js → 34AD576A.js} +2 -2
  9. package/dist/cdn/{UED4VILH.js → 35KELH27.js} +2 -2
  10. package/dist/cdn/{JTMI4NO3.js → 37AKZIFW.js} +2 -2
  11. package/dist/cdn/{QARMZUIY.js → 3K3QDMID.js} +2 -2
  12. package/dist/cdn/{JOFQ6HJ4.js → 3M5QKTDA.js} +2 -2
  13. package/dist/cdn/{ZTG5BEGM.js → 3NDCNEYT.js} +2 -2
  14. package/dist/cdn/{6RYATUTC.js → 3OOI3MCC.js} +2 -2
  15. package/dist/cdn/{I7MYCZQE.js → 3PATADTR.js} +2 -2
  16. package/dist/cdn/{DSKBCPB5.js → 3XPRIFNM.js} +2 -2
  17. package/dist/cdn/{LLR7PSY5.js → 45TEP3KS.js} +2 -2
  18. package/dist/cdn/{GFWEWDMW.js → 47XGJIJX.js} +2 -2
  19. package/dist/cdn/{N5JN4P6J.js → 4ERUNSWK.js} +2 -2
  20. package/dist/cdn/{WYEDVDPU.js → 4VED2CGH.js} +2 -2
  21. package/dist/cdn/{PNPMFV63.js → 4W5ECW63.js} +2 -2
  22. package/dist/cdn/{ONMF6LA2.js → 4WULLWL4.js} +2 -2
  23. package/dist/cdn/{L5XLGUHF.js → 4XEXAEO3.js} +1 -1
  24. package/dist/cdn/{PHRAUR5Y.js → 524MJHPX.js} +1 -1
  25. package/dist/cdn/{ZQXLTKLG.js → 534MMCFU.js} +2 -2
  26. package/dist/cdn/{SI53UM55.js → 54FUSJ2V.js} +2 -2
  27. package/dist/cdn/{2TMHFF7X.js → 5AJEPNLU.js} +2 -2
  28. package/dist/cdn/{5PBRBMTF.js → 5EIU2PGP.js} +2 -2
  29. package/dist/cdn/{WEXK2UJJ.js → 5FHMBS2P.js} +2 -2
  30. package/dist/cdn/{CMGFZ35W.js → 5FRU7JCQ.js} +2 -2
  31. package/dist/cdn/{VJGF5D2J.js → 5K3SXYTT.js} +2 -2
  32. package/dist/cdn/{DIUEHJTX.js → 5Q4GVBV3.js} +2 -2
  33. package/dist/cdn/{S3B4YGDF.js → 5TNR2KRG.js} +2 -2
  34. package/dist/cdn/{D45LFCA6.js → 5VN7U3KF.js} +2 -2
  35. package/dist/cdn/{TO32A2OW.js → 5WMABKIW.js} +2 -2
  36. package/dist/cdn/{Q5VNCT2U.js → 5WYXPAOU.js} +2 -2
  37. package/dist/cdn/{GBOEU2SP.js → 6F3BTXAH.js} +2 -2
  38. package/dist/cdn/{W27BWY6P.js → 6TSWIOKL.js} +2 -2
  39. package/dist/cdn/{AJKHBOTD.js → 6WFAXOJT.js} +2 -2
  40. package/dist/cdn/{KZJ7DYBA.js → 7APUPOQB.js} +2 -2
  41. package/dist/cdn/{3P2BVHC6.js → 7H2IBSVF.js} +2 -2
  42. package/dist/cdn/{EKG6Z7OQ.js → 7HIEILZT.js} +2 -2
  43. package/dist/cdn/{HZKADXO5.js → 7WIJO4MW.js} +2 -2
  44. package/dist/cdn/{EGVO7MZT.js → 7XDMM6RA.js} +2 -2
  45. package/dist/cdn/{XHUETWAX.js → A5C7DVM3.js} +2 -2
  46. package/dist/cdn/{MH6YS5SI.js → AAC5EOGU.js} +2 -2
  47. package/dist/cdn/{3F4LAGGP.js → AHEOW2SI.js} +2 -2
  48. package/dist/cdn/{HCCI3TC2.js → ALWLK3W4.js} +1 -1
  49. package/dist/cdn/{KYEEZ3FA.js → ANGJQKA6.js} +2 -2
  50. package/dist/cdn/{PO4HXRP7.js → B7OU3XS3.js} +2 -2
  51. package/dist/cdn/{ZI6I5M4G.js → BBK3TOQG.js} +2 -2
  52. package/dist/cdn/{FXE7NJ3O.js → C6GH5LEL.js} +2 -2
  53. package/dist/cdn/{CS33HHUX.js → CB273SC5.js} +2 -2
  54. package/dist/cdn/{K7K5YKDA.js → CEFE7YWX.js} +1 -1
  55. package/dist/cdn/{OI4TZ364.js → CIDVDUCQ.js} +2 -2
  56. package/dist/cdn/{LL5RFOAN.js → CKNNJYVF.js} +2 -2
  57. package/dist/cdn/{HXW57RBE.js → CM4PJ3Z7.js} +2 -2
  58. package/dist/cdn/{ZFGLOJKR.js → CMMOTM5C.js} +2 -2
  59. package/dist/cdn/{HGEQP2TL.js → CPBB2DO2.js} +2 -2
  60. package/dist/cdn/{CCMGFPYF.js → CTCLJA44.js} +2 -2
  61. package/dist/cdn/{CJYSSMSS.js → D2VA6BBJ.js} +2 -2
  62. package/dist/cdn/{R4FJ4RCP.js → D6I5OTDJ.js} +2 -2
  63. package/dist/cdn/{VVLZTYO4.js → DEFGQKJV.js} +2 -2
  64. package/dist/cdn/{FXAPWM5U.js → DO5VJTG4.js} +2 -2
  65. package/dist/cdn/{D6I5E3HW.js → DTG5P36I.js} +2 -2
  66. package/dist/cdn/{W4UPOFT4.js → DWACURFE.js} +1 -1
  67. package/dist/cdn/{4RAPCIFN.js → DX7TJKT5.js} +1 -1
  68. package/dist/cdn/{2Z3ZKAM3.js → DZUPWLZW.js} +2 -2
  69. package/dist/cdn/{ABY77MYY.js → E4P76OZ7.js} +2 -2
  70. package/dist/cdn/{HHSXULY6.js → E5GW2OX3.js} +2 -2
  71. package/dist/cdn/{IGPKPVMD.js → E6ROV2QN.js} +2 -2
  72. package/dist/cdn/{AV27DVRG.js → EFHHQR3N.js} +2 -2
  73. package/dist/cdn/{JRXKJXCQ.js → EHZUCTIE.js} +2 -2
  74. package/dist/cdn/{5PNTB7ZZ.js → EMCX7VCT.js} +2 -2
  75. package/dist/cdn/{7XSNFPYE.js → EXDS6CWO.js} +2 -2
  76. package/dist/cdn/{KZSJG647.js → EXZMBQ56.js} +2 -2
  77. package/dist/cdn/{X6SHTCOX.js → F2T4JQ75.js} +2 -2
  78. package/dist/cdn/{EZG2JLJ5.js → F3AHN2WJ.js} +2 -2
  79. package/dist/cdn/{G7LCUAUI.js → F3IVHPTJ.js} +2 -2
  80. package/dist/cdn/{HPR4E5IX.js → F4CWCLL7.js} +2 -2
  81. package/dist/cdn/{VWCO67WW.js → F4K626LE.js} +2 -2
  82. package/dist/cdn/{NJXH7B47.js → FIFYDOAA.js} +2 -2
  83. package/dist/cdn/{C2TKWZJ2.js → FNGSKDA7.js} +2 -2
  84. package/dist/cdn/{BUAQ34XH.js → FUZEK77Q.js} +2 -2
  85. package/dist/cdn/{LHMOWJ5W.js → FVYO2GRK.js} +2 -2
  86. package/dist/cdn/{I24JKSH6.js → FWIV7ZI7.js} +2 -2
  87. package/dist/cdn/{GH6APBHN.js → FWQGIZHR.js} +2 -2
  88. package/dist/cdn/{HLIVP7TV.js → FYGRRPGD.js} +1 -1
  89. package/dist/cdn/{VELOH75H.js → G2RFDAIZ.js} +2 -2
  90. package/dist/cdn/{JWQEVVGZ.js → GAD2MCBF.js} +2 -2
  91. package/dist/cdn/{WHYRDPN5.js → GDD2ETIS.js} +2 -2
  92. package/dist/cdn/{IA34IUVP.js → GEC3G7HH.js} +2 -2
  93. package/dist/cdn/{6QURPAVI.js → GJAEHO4I.js} +2 -2
  94. package/dist/cdn/{KLQYMKVU.js → GM4E4LGV.js} +2 -2
  95. package/dist/cdn/{GP4HSM3D.js → GPI5USKJ.js} +2 -2
  96. package/dist/cdn/{Z3SABTJL.js → GS6TRNNC.js} +2 -2
  97. package/dist/cdn/{EMX3SLBS.js → GWUXB2VC.js} +2 -2
  98. package/dist/cdn/{QJ5LXAQL.js → HACMDBEA.js} +2 -2
  99. package/dist/cdn/{PW6OKPXP.js → HDTT2TC4.js} +2 -2
  100. package/dist/cdn/{Z7SQO7BJ.js → HFKKQZNH.js} +2 -2
  101. package/dist/cdn/{5CEV4IFF.js → HLXQEGSH.js} +2 -2
  102. package/dist/cdn/HSGJQY7N.js +4 -0
  103. package/dist/cdn/{S43DULHA.js → HSYPPEIL.js} +1 -1
  104. package/dist/cdn/{6DJPOS7O.js → HUP7WJOZ.js} +2 -2
  105. package/dist/cdn/{Q3GHRH6Y.js → HY2NRCX5.js} +2 -2
  106. package/dist/cdn/{4D57333A.js → HYR7U3RN.js} +2 -2
  107. package/dist/cdn/{5TIV7XFU.js → IAOIGVBX.js} +2 -2
  108. package/dist/cdn/{FXIN5HPP.js → IDA2ZGUB.js} +2 -2
  109. package/dist/cdn/{TQSUBIQC.js → ILXKVSFA.js} +2 -2
  110. package/dist/cdn/{FTHE2RYA.js → INYQ72BC.js} +2 -2
  111. package/dist/cdn/{VHHML3NK.js → IPFCIPAW.js} +2 -2
  112. package/dist/cdn/{634X3DFC.js → IQ2JUVOZ.js} +2 -2
  113. package/dist/cdn/{6GRBFJ7K.js → IUOE57JP.js} +2 -2
  114. package/dist/cdn/{FNANODZI.js → IY3OFY5J.js} +2 -2
  115. package/dist/cdn/{F35LV6RT.js → IYL66LGK.js} +2 -2
  116. package/dist/cdn/{D4DXZS67.js → J537SD3A.js} +2 -2
  117. package/dist/cdn/{ILP4AOCV.js → J62EEE4F.js} +2 -2
  118. package/dist/cdn/{RFT3IQPM.js → JDSFOU4G.js} +2 -2
  119. package/dist/cdn/{NXB2E74U.js → JHXGNS7S.js} +2 -2
  120. package/dist/cdn/{ZYCJTXVD.js → JLYOT6AZ.js} +2 -2
  121. package/dist/cdn/{UU43MMV7.js → JMJQZTQY.js} +1 -1
  122. package/dist/cdn/{4U4QQSCV.js → JOGCXJQJ.js} +2 -2
  123. package/dist/cdn/{K5IRZO6N.js → JPAW2Q4Y.js} +2 -2
  124. package/dist/cdn/{33F2RTNH.js → JPO5IU2M.js} +2 -2
  125. package/dist/cdn/{2IQZ2FK3.js → JRMFYN2H.js} +2 -2
  126. package/dist/cdn/{7SK56MM3.js → JVHLAI2Q.js} +2 -2
  127. package/dist/cdn/{6SBRP3TG.js → K4MVUXQW.js} +1 -1
  128. package/dist/cdn/{TVHKYDGC.js → KL23YERY.js} +2 -2
  129. package/dist/cdn/{HRTDT4LN.js → KO3MXTOX.js} +2 -2
  130. package/dist/cdn/{TIKICXS2.js → KO3STOFM.js} +2 -2
  131. package/dist/cdn/{IKIGOGMT.js → KPJYMTNA.js} +2 -2
  132. package/dist/cdn/{WRTKJJGI.js → KPTZCRWN.js} +3 -3
  133. package/dist/cdn/{WINB66K4.js → KS7MPJ77.js} +2 -2
  134. package/dist/cdn/{YWKEMWHL.js → KTAG2KIB.js} +2 -2
  135. package/dist/cdn/{IDIZ4JMO.js → KUG5Y26U.js} +2 -2
  136. package/dist/cdn/{S5OXRCLT.js → L3RML377.js} +1 -1
  137. package/dist/cdn/{5MWLLJZO.js → LD3AE4C2.js} +2 -2
  138. package/dist/cdn/{XAEBSETO.js → LDCXJZS2.js} +2 -2
  139. package/dist/cdn/{NN4UPZ3P.js → LF4KLWSW.js} +2 -2
  140. package/dist/cdn/{FRDXZ7YR.js → LI4CWVYL.js} +2 -2
  141. package/dist/cdn/{GY3AHAJD.js → LMSTORJO.js} +2 -2
  142. package/dist/cdn/{NLXKGIEQ.js → LSVGFAKY.js} +2 -2
  143. package/dist/cdn/{FXMY3YWF.js → LWA5IPND.js} +2 -2
  144. package/dist/cdn/{VTCKKPYN.js → LZTQSHO2.js} +2 -2
  145. package/dist/cdn/{MMB3HMO7.js → MA4CJCJG.js} +2 -2
  146. package/dist/cdn/{YPWIJ2DW.js → MAKJC47W.js} +2 -2
  147. package/dist/cdn/{UO3XM775.js → MG6BJWUS.js} +2 -2
  148. package/dist/cdn/{ZGWDTNOR.js → N222OSPX.js} +2 -2
  149. package/dist/cdn/{EVDLZTUO.js → N73TGMNU.js} +2 -2
  150. package/dist/cdn/{UB77H4DG.js → N7VXXLWQ.js} +2 -2
  151. package/dist/cdn/{R4HFJHNR.js → NJJZFP5C.js} +2 -2
  152. package/dist/cdn/{R642AFSW.js → NK73C3HF.js} +2 -2
  153. package/dist/cdn/{VXBXF2ON.js → NLKGSZDL.js} +2 -2
  154. package/dist/cdn/{EBFLVUJY.js → NS7G3UTS.js} +2 -2
  155. package/dist/cdn/{UJ6IKQEX.js → NSB23BIE.js} +2 -2
  156. package/dist/cdn/{CPOMUAYH.js → NSXNDWLI.js} +2 -2
  157. package/dist/cdn/{2UQQEQFF.js → NXE7ULTZ.js} +2 -2
  158. package/dist/cdn/{YY5H22ZZ.js → O2PKT5YV.js} +2 -2
  159. package/dist/cdn/{DVNY7ZYH.js → OA443CX5.js} +2 -2
  160. package/dist/cdn/{TB3BB5BP.js → OCHNU6GM.js} +2 -2
  161. package/dist/cdn/{TLNCSNUT.js → OHXLQYZ3.js} +2 -2
  162. package/dist/cdn/{M4D3ERTB.js → OPEHJDD2.js} +2 -2
  163. package/dist/cdn/{HGVCSUSN.js → OZXKFCMK.js} +2 -2
  164. package/dist/cdn/{WR6SXGSW.js → P4YZWDLH.js} +2 -2
  165. package/dist/cdn/{4WKCG4CQ.js → P7STXLET.js} +1 -1
  166. package/dist/cdn/{Y7NZN64U.js → PMBNQBYQ.js} +2 -2
  167. package/dist/cdn/{Y4DV4SJT.js → PR3ZGFFJ.js} +2 -2
  168. package/dist/cdn/{TOR6Z7KC.js → PXGPV4B6.js} +2 -2
  169. package/dist/cdn/Q6O2OCZ3.js +4 -0
  170. package/dist/cdn/{QMLLIJ6R.js → Q6RV4M6D.js} +2 -2
  171. package/dist/cdn/{MX5P76FC.js → QCFTQZQK.js} +2 -2
  172. package/dist/cdn/{DPEXKYZI.js → QG7IKMRU.js} +1 -1
  173. package/dist/cdn/{YUKIVONY.js → QGIMSUZC.js} +2 -2
  174. package/dist/cdn/{UE4DJPOO.js → QJBDUCAA.js} +2 -2
  175. package/dist/cdn/{WYYLLTQD.js → QRB6W43N.js} +2 -2
  176. package/dist/cdn/{6CUDFN2I.js → QVUR2KWS.js} +2 -2
  177. package/dist/cdn/{CNEZ7JNS.js → QY4WTGXJ.js} +2 -2
  178. package/dist/cdn/{AUPO2UY6.js → R2PUQBI7.js} +2 -2
  179. package/dist/cdn/{XYXVKOTT.js → R6Z3GLV5.js} +2 -2
  180. package/dist/cdn/{74R5SKBV.js → RAUQKDWQ.js} +2 -2
  181. package/dist/cdn/{O7KJLCAY.js → RBUUJTUI.js} +2 -2
  182. package/dist/cdn/{73NVFE2Z.js → RFT5RX2O.js} +2 -2
  183. package/dist/cdn/{6N76DOKY.js → RJ66AWL5.js} +2 -2
  184. package/dist/cdn/{7HIBHM6T.js → RKFKVMQO.js} +2 -2
  185. package/dist/cdn/{S55CXZVC.js → RMGU6UB6.js} +2 -2
  186. package/dist/cdn/{JAHAUOJU.js → RRGT5LCS.js} +2 -2
  187. package/dist/cdn/{LS3KCYEJ.js → RSGM456F.js} +1 -1
  188. package/dist/cdn/{GSOYGM72.js → RV7ZZV54.js} +2 -2
  189. package/dist/cdn/{JQ5HNLXU.js → RZBHNQND.js} +2 -2
  190. package/dist/cdn/{YLRWNW7X.js → S2APRC2V.js} +2 -2
  191. package/dist/cdn/{PQXUCPUD.js → S3PJIEKG.js} +2 -2
  192. package/dist/cdn/{C5WQE2MR.js → S6VOVPRE.js} +2 -2
  193. package/dist/cdn/{L5CKYMQ2.js → SRLY6G7W.js} +1 -1
  194. package/dist/cdn/{BSC245Z6.js → STCHSRLJ.js} +2 -2
  195. package/dist/cdn/{KOIOYZI3.js → STKGIZJB.js} +2 -2
  196. package/dist/cdn/{KKHUQEG4.js → T44YZICL.js} +2 -2
  197. package/dist/cdn/{UJWPNKZY.js → T632FN4Z.js} +2 -2
  198. package/dist/cdn/{PH7HOLNC.js → TGPANP2V.js} +2 -2
  199. package/dist/cdn/{4W47VKQ6.js → TJBXUIAV.js} +2 -2
  200. package/dist/cdn/{UTVCMK4V.js → TO7A2Q7Q.js} +2 -2
  201. package/dist/cdn/{WGIKXWTU.js → TQRPBCCN.js} +2 -2
  202. package/dist/cdn/{LP4Y3PDP.js → TWL63VXE.js} +2 -2
  203. package/dist/cdn/{PU7IPEVC.js → UBUGMDGN.js} +2 -2
  204. package/dist/cdn/{YAIQWSWN.js → UIS4HMK6.js} +2 -2
  205. package/dist/cdn/{D6AAXZCM.js → ULWJWER6.js} +2 -2
  206. package/dist/cdn/{TB7QAKFC.js → UMAGGKC6.js} +2 -2
  207. package/dist/cdn/{HXRX62NT.js → UPQKEFUC.js} +2 -2
  208. package/dist/cdn/{WIUEAY5G.js → UQO352HN.js} +2 -2
  209. package/dist/cdn/{6KJGI6TF.js → URA757X4.js} +2 -2
  210. package/dist/cdn/{QVKKABG5.js → UUCSRWBU.js} +2 -2
  211. package/dist/cdn/{NCWVGO2C.js → UUMLBRF2.js} +2 -2
  212. package/dist/cdn/{5V6Z52KY.js → UZUXTTYR.js} +2 -2
  213. package/dist/cdn/{WVQOYSJ3.js → VDGVJZ5R.js} +2 -2
  214. package/dist/cdn/{JQFKS2ML.js → VJGNELKJ.js} +2 -2
  215. package/dist/cdn/{FFXWQSGQ.js → W6N2YEBN.js} +2 -2
  216. package/dist/cdn/{2B7TUO35.js → WB2YQA52.js} +2 -2
  217. package/dist/cdn/{O5I6MLQP.js → WCILO4Z4.js} +2 -2
  218. package/dist/cdn/{FBASF2NZ.js → WG3AQIMV.js} +2 -2
  219. package/dist/cdn/{22Z2A43D.js → WKY4OCAR.js} +2 -2
  220. package/dist/cdn/WL7NRPMT.js +4 -0
  221. package/dist/cdn/{4OT2UDF7.js → WRL3P5TX.js} +2 -2
  222. package/dist/cdn/{NJEPPA6M.js → X3VS5KIL.js} +2 -2
  223. package/dist/cdn/{65ETFPTS.js → XAOSPYRK.js} +2 -2
  224. package/dist/cdn/{CRICPIJ2.js → XE3HMBLR.js} +2 -2
  225. package/dist/cdn/{2NIX656N.js → XHHA2LQS.js} +2 -2
  226. package/dist/cdn/{UDOE2GMZ.js → XWUDNDCU.js} +2 -2
  227. package/dist/cdn/{XXG4FGQL.js → XXDCZCYE.js} +2 -2
  228. package/dist/cdn/{A45FDN75.js → Y4F3LPQH.js} +2 -2
  229. package/dist/cdn/{BT72OOO3.js → YGSU2XPN.js} +2 -2
  230. package/dist/cdn/{6MLKKLJF.js → YNQQEKVL.js} +1 -1
  231. package/dist/cdn/{YN2GB3BN.js → YSNASFF6.js} +2 -2
  232. package/dist/cdn/{GQDPMP6H.js → YXOLU6FZ.js} +2 -2
  233. package/dist/cdn/{OG4QSOW2.js → YYXLJEKX.js} +2 -2
  234. package/dist/cdn/{SRGKUWPP.js → Z4YSOESR.js} +2 -2
  235. package/dist/cdn/{RQWCWTBL.js → ZD34XZAB.js} +2 -2
  236. package/dist/cdn/{UK2HI4WV.js → ZSV2KJHG.js} +2 -2
  237. package/dist/cdn/{MVWNZS77.js → ZXXLVNCY.js} +2 -2
  238. package/dist/cdn/{NM6MBSXJ.js → ZYY6TNMP.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.js +1 -1
  278. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  279. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  280. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  281. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  282. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  283. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  284. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  285. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  286. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  287. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  288. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  289. package/dist/components/arcgis-color-select/customElement.js +1 -1
  290. package/dist/components/arcgis-compass/customElement.js +1 -1
  291. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  292. package/dist/components/arcgis-daylight/customElement.js +1 -1
  293. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  294. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  295. package/dist/components/arcgis-directions/customElement.js +1 -1
  296. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  297. package/dist/components/arcgis-editor/customElement.js +1 -1
  298. package/dist/components/arcgis-elevation-profile/customElement.d.ts +32 -10
  299. package/dist/components/arcgis-elevation-profile/customElement.js +3 -3
  300. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  301. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  302. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  303. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  304. package/dist/components/arcgis-expand/customElement.js +1 -1
  305. package/dist/components/arcgis-feature/customElement.js +1 -1
  306. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  307. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  308. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  309. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  310. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  311. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  312. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  313. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  314. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  315. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  316. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  317. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +2 -2
  318. package/dist/components/arcgis-features/customElement.js +1 -1
  319. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  320. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  321. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  322. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  323. package/dist/components/arcgis-home/customElement.js +1 -1
  324. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  325. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  326. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  327. package/dist/components/arcgis-legend/customElement.js +1 -1
  328. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  329. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  330. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  331. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  332. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  333. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  334. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  335. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  336. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  337. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  338. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  339. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  340. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  341. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  342. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  343. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  344. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  345. package/dist/components/arcgis-locate/customElement.js +1 -1
  346. package/dist/components/arcgis-map/customElement.js +1 -1
  347. package/dist/components/arcgis-measurement/customElement.js +1 -1
  348. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  349. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  350. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  351. package/dist/components/arcgis-popup/customElement.js +1 -1
  352. package/dist/components/arcgis-presentation/customElement.js +1 -1
  353. package/dist/components/arcgis-print/customElement.js +1 -1
  354. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  355. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  356. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  357. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  358. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  359. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  360. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  361. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  362. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  363. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  364. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  365. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  366. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  367. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  368. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  369. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  370. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  371. package/dist/components/arcgis-scene/customElement.d.ts +1 -0
  372. package/dist/components/arcgis-scene/customElement.js +1 -1
  373. package/dist/components/arcgis-search/customElement.js +1 -1
  374. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  375. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  376. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  377. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  378. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  379. package/dist/components/arcgis-sketch/customElement.js +1 -1
  380. package/dist/components/arcgis-slice/customElement.js +1 -1
  381. package/dist/components/arcgis-spinner/customElement.js +1 -1
  382. package/dist/components/arcgis-swipe/customElement.js +1 -1
  383. package/dist/components/arcgis-table-list/customElement.js +1 -1
  384. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  385. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  386. package/dist/components/arcgis-track/customElement.js +1 -1
  387. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  388. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  389. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  390. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  391. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  392. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  393. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  394. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  395. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  396. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  397. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  398. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  399. package/dist/components/arcgis-version-management/customElement.js +1 -1
  400. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  401. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  402. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  403. package/dist/components/arcgis-video/customElement.js +1 -1
  404. package/dist/components/arcgis-video-player/customElement.js +1 -1
  405. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  406. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  407. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  408. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  409. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  410. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  411. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  412. package/dist/components/arcgis-weather/customElement.js +1 -1
  413. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  414. package/dist/components/arcgis-zoom/customElement.js +1 -1
  415. package/dist/docs/api.json +21842 -21629
  416. package/dist/docs/docs.json +2114 -2069
  417. package/dist/docs/vscode.html-custom-data.json +74 -74
  418. package/dist/docs/web-types.json +76 -81
  419. package/dist/index.d.ts +74 -74
  420. package/dist/index.js +1 -1
  421. package/dist/loader.js +2 -2
  422. package/dist/types/components.d.ts +1 -0
  423. package/dist/types/lumina.d.ts +75 -75
  424. package/dist/types/preact.d.ts +75 -75
  425. package/dist/types/react.d.ts +75 -75
  426. package/dist/types/stencil.d.ts +75 -75
  427. package/package.json +4 -4
  428. package/dist/cdn/FQAYAGAH.js +0 -4
  429. package/dist/cdn/GVFGS7G2.js +0 -4
  430. package/dist/cdn/IHXAE3U5.js +0 -4
  431. package/dist/cdn/M5KX7OCE.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.117 */
4
- import a from"./L5XLGUHF.js";import{N as P,O as p,P as u,T as A,a as N,b as $}from"./6SBRP3TG.js";import"./6MLKKLJF.js";export default $arcgis.t(([{e:k,g:C,h:I}])=>{var O=N`.arcgis-legend--card__size-ramp--container{display:flex;align-items:center;justify-content:center}.arcgis-legend--card__size-ramp--vertical-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.arcgis-legend--card__size-ramp--label{margin:0 .5em;white-space:nowrap}.arcgis-legend--card__size-ramp--vertical-ramp{display:flex;flex-direction:column;align-items:center}.arcgis-legend--card__size-ramp--ramp{display:flex;flex-direction:row-reverse;align-items:center}.arcgis-legend--card__size-ramp--preview{display:flex}`,d={container:"arcgis-legend--card__size-ramp--container",verticalContainer:"arcgis-legend--card__size-ramp--vertical-container",label:"arcgis-legend--card__size-ramp--label",ramp:"arcgis-legend--card__size-ramp--ramp",verticalRamp:"arcgis-legend--card__size-ramp--vertical-ramp",preview:"arcgis-legend--card__size-ramp--preview"},X="#ddd";function Y(e){if(!e)return;if(e.type.includes("3d")){if(!("symbolLayers"in e)||!e.symbolLayers?.length)return;let i=e.symbolLayers.at(-1),s=i&&"resource"in i?i.resource?.primitive:void 0;return s==="circle"||s==="cross"||s==="kite"||s==="sphere"||s==="cube"||s==="diamond"}let a="style"in e?e.style:void 0;return a==="circle"||a==="diamond"||a==="cross"}function q(e){if(e){if(e.type.includes("3d")){if(!("symbolLayers"in e)||!e.symbolLayers?.length)return;let a=e.symbolLayers.at(-1),i=a&&"resource"in a?a.resource?.primitive:void 0;return i==="triangle"||i==="cone"||i==="tetrahedron"}return"style"in e&&e.style==="triangle"}}var j=class extends P{constructor(){super(...arguments),this.hasIndicators=!1,this.legendElement=null,this.opacity=1}static{this.properties={hasIndicators:5,legendElement:0,opacity:9,messages:0}}static{this.styles=O}render(){if(this.legendElement.theme==="spike")return $`<div style=${u({display:"flex",flex:"1",justifyContent:"center"})}><arcgis-legend-spike-ramp .legendElement=${this.legendElement} .messages=${this.messages}></arcgis-legend-spike-ramp></div>`;let{legendElement:a,hasIndicators:i,opacity:s}=this,c=a.infos,y=c.at(0),m=c.at(-1);if(!y||!m)return null;let{label:v,...x}=y,{label:f,...z}=m,t=x.preview,r=z.preview;if(!t||!r)return null;t=t.cloneNode(!0),t.style.display="flex",I(t,C(this.messages,v)),r=r.cloneNode(!0),r.style.display="flex",I(r,C(this.messages,f));let l={opacity:`${s??""}`};return $`<div class=${p(i?d.verticalContainer:d.container)}><div class=${p(d.label)}>${i?v:f}</div><div class=${p(i?d.verticalRamp:d.ramp)}><div class=${p(d.preview)} style=${u(l)}>${t}</div>${this._renderSizeRampLines(a)}<div class=${p(d.preview)} style=${u(l)}>${r}</div></div><div class=${p(d.label)}>${i?f:v}</div></div>`}_renderSizeRampLines(a){let i=a.infos,s=i.at(0),c=i.at(-1);if(!s||!c)return null;let y=s.symbol,m=this.hasIndicators,v=s.size&&typeof s.size=="number"?s.size:0,x=c.size&&typeof c.size=="number"?c.size:0,f=s.outlineSize||0,z=c.outlineSize||0,t=k(v+f),r=k(x+z),l=m?t:t+50,g=m?t/2+50:t,h=q(y),_=Y(y),o=document.createElement("canvas");o.width=l,o.height=g,o.style.width=`${o.width}px`,o.style.height=`${o.height}px`;let n=o.getContext("2d");if(m){n.beginPath();let b=0,w=0,L=l/2-r/2,M=g;n.moveTo(b,w),n.lineTo(L,M);let T=l,E=0,S=l/2+r/2,R=g;n.moveTo(T,E),n.lineTo(S,R)}else{n.beginPath();let b=0,w=g/2-r/2,L=l;n.moveTo(b,w),n.lineTo(L,0);let T=0,E=g/2+r/2,S=l,R=g;n.moveTo(T,E),n.lineTo(S,R)}return n.strokeStyle=X,n.stroke(),$`<div style=${u(m?{display:"flex",marginTop:`-${h?0:_?t/2:0}px`,marginBottom:`-${h?r:_?r/2:0}px`}:{display:"flex",marginRight:`-${h?0:_?t/2:0}px`,marginLeft:`-${h?0:_?r/2:0}px`})}>${o}</div>`}};A("arcgis-legend-card-size-ramp",j);return j},a)
3
+ v5.0.0-next.119 */
4
+ import a from"./4XEXAEO3.js";import{N as P,O as p,P as u,T as A,a as N,b as $}from"./K4MVUXQW.js";import"./YNQQEKVL.js";export default $arcgis.t(([{e:k,g:C,h:I}])=>{var O=N`.arcgis-legend--card__size-ramp--container{display:flex;align-items:center;justify-content:center}.arcgis-legend--card__size-ramp--vertical-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.arcgis-legend--card__size-ramp--label{margin:0 .5em;white-space:nowrap}.arcgis-legend--card__size-ramp--vertical-ramp{display:flex;flex-direction:column;align-items:center}.arcgis-legend--card__size-ramp--ramp{display:flex;flex-direction:row-reverse;align-items:center}.arcgis-legend--card__size-ramp--preview{display:flex}`,d={container:"arcgis-legend--card__size-ramp--container",verticalContainer:"arcgis-legend--card__size-ramp--vertical-container",label:"arcgis-legend--card__size-ramp--label",ramp:"arcgis-legend--card__size-ramp--ramp",verticalRamp:"arcgis-legend--card__size-ramp--vertical-ramp",preview:"arcgis-legend--card__size-ramp--preview"},X="#ddd";function Y(e){if(!e)return;if(e.type.includes("3d")){if(!("symbolLayers"in e)||!e.symbolLayers?.length)return;let i=e.symbolLayers.at(-1),s=i&&"resource"in i?i.resource?.primitive:void 0;return s==="circle"||s==="cross"||s==="kite"||s==="sphere"||s==="cube"||s==="diamond"}let a="style"in e?e.style:void 0;return a==="circle"||a==="diamond"||a==="cross"}function q(e){if(e){if(e.type.includes("3d")){if(!("symbolLayers"in e)||!e.symbolLayers?.length)return;let a=e.symbolLayers.at(-1),i=a&&"resource"in a?a.resource?.primitive:void 0;return i==="triangle"||i==="cone"||i==="tetrahedron"}return"style"in e&&e.style==="triangle"}}var j=class extends P{constructor(){super(...arguments),this.hasIndicators=!1,this.legendElement=null,this.opacity=1}static{this.properties={hasIndicators:5,legendElement:0,opacity:9,messages:0}}static{this.styles=O}render(){if(this.legendElement.theme==="spike")return $`<div style=${u({display:"flex",flex:"1",justifyContent:"center"})}><arcgis-legend-spike-ramp .legendElement=${this.legendElement} .messages=${this.messages}></arcgis-legend-spike-ramp></div>`;let{legendElement:a,hasIndicators:i,opacity:s}=this,c=a.infos,y=c.at(0),m=c.at(-1);if(!y||!m)return null;let{label:v,...x}=y,{label:f,...z}=m,t=x.preview,r=z.preview;if(!t||!r)return null;t=t.cloneNode(!0),t.style.display="flex",I(t,C(this.messages,v)),r=r.cloneNode(!0),r.style.display="flex",I(r,C(this.messages,f));let l={opacity:`${s??""}`};return $`<div class=${p(i?d.verticalContainer:d.container)}><div class=${p(d.label)}>${i?v:f}</div><div class=${p(i?d.verticalRamp:d.ramp)}><div class=${p(d.preview)} style=${u(l)}>${t}</div>${this._renderSizeRampLines(a)}<div class=${p(d.preview)} style=${u(l)}>${r}</div></div><div class=${p(d.label)}>${i?f:v}</div></div>`}_renderSizeRampLines(a){let i=a.infos,s=i.at(0),c=i.at(-1);if(!s||!c)return null;let y=s.symbol,m=this.hasIndicators,v=s.size&&typeof s.size=="number"?s.size:0,x=c.size&&typeof c.size=="number"?c.size:0,f=s.outlineSize||0,z=c.outlineSize||0,t=k(v+f),r=k(x+z),l=m?t:t+50,g=m?t/2+50:t,h=q(y),_=Y(y),o=document.createElement("canvas");o.width=l,o.height=g,o.style.width=`${o.width}px`,o.style.height=`${o.height}px`;let n=o.getContext("2d");if(m){n.beginPath();let b=0,w=0,L=l/2-r/2,M=g;n.moveTo(b,w),n.lineTo(L,M);let T=l,E=0,S=l/2+r/2,R=g;n.moveTo(T,E),n.lineTo(S,R)}else{n.beginPath();let b=0,w=g/2-r/2,L=l;n.moveTo(b,w),n.lineTo(L,0);let T=0,E=g/2+r/2,S=l,R=g;n.moveTo(T,E),n.lineTo(S,R)}return n.strokeStyle=X,n.stroke(),$`<div style=${u(m?{display:"flex",marginTop:`-${h?0:_?t/2:0}px`,marginBottom:`-${h?r:_?r/2:0}px`}:{display:"flex",marginRight:`-${h?0:_?t/2:0}px`,marginLeft:`-${h?0:_?r/2:0}px`})}>${o}</div>`}};A("arcgis-legend-card-size-ramp",j);return j},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.117 */
4
- import{a as O}from"./IDIZ4JMO.js";import{a as N}from"./GP4HSM3D.js";import"./UO3XM775.js";import e from"./PH7HOLNC.js";import{a as z}from"./634X3DFC.js";import"./LS3KCYEJ.js";import d from"./VWCO67WW.js";import c from"./VJGF5D2J.js";import{g as M}from"./QJ5LXAQL.js";import"./JWQEVVGZ.js";import"./4RAPCIFN.js";import{b as A}from"./S43DULHA.js";import{B as F,M as b,N as D,O as s,Q as x,T as U,a as C,b as a,x as $}from"./6SBRP3TG.js";import"./6MLKKLJF.js";export default $arcgis.t(([{watch:B},{isHTTPSProtocol:f,isDataProtocol:E},{formatDate:P,convertDateFormatToIntlOptions:V},q,R,{property:k,subclass:H},,,L])=>{var Z=C`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.arcgis-bookmarks{width:100%;overflow:hidden auto;transition:max-height .25s ease-in-out}:host([closed]) .arcgis-bookmarks{display:none}.arcgis-bookmarks__empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.arcgis-bookmarks .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.arcgis-bookmarks calcite-flow-item[loading]{min-height:150px}.arcgis-bookmarks__loader{margin-inline-end:0}.arcgis-bookmarks__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-bookmarks__bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.arcgis-bookmarks__bookmark-image-container .arcgis-bookmarks__image{max-width:64px;overflow:hidden}.arcgis-bookmarks--drag-enabled .arcgis-bookmarks__bookmark-image-container{margin-inline-start:0}.arcgis-bookmarks__no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-tight);font-weight:var(--calcite-font-weight-regular)}.arcgis-bookmarks__authoring{display:flex;flex-direction:column}.arcgis-bookmarks__authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.arcgis-bookmarks__authoring-image-container .arcgis-bookmarks__image{max-width:128px;max-height:128px}.arcgis-bookmarks__form{display:flex;height:100%}.arcgis-bookmarks__form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.arcgis-bookmarks__authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.arcgis-bookmarks__bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.arcgis-bookmarks__bookmark-content calcite-table{margin-inline-start:-.25rem}.arcgis-bookmarks__bookmark-content calcite-table,.arcgis-bookmarks__bookmark-content calcite-table-row{--calcite-table-border-color: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-table-row-background-color: transparent;pointer-events:none}`,m="arcgis-bookmarks",T=`${m}__authoring`,S=`${m}__bookmark`,c={base:m,empty:`${m}__empty`,noBookmarksHeader:`${m}__no-bookmarks-heading`,noBookmarksDescription:`${m}__no-bookmarks-description`,form:`${m}__form`,list:`${m}__list`,loader:`${m}__loader`,filterNoResults:`${m}__filter-no-results`,formContent:`${m}__form-content`,addBookmarkButton:`${m}__add-bookmark-button`,editBookmarkInput:`${m}__edit-bookmark-input`,addBookmarkInput:`${m}__add-bookmark-input`,dragEnabled:`${m}--drag-enabled`,bookmarkImage:`${m}__image`,bookmarkImageContainer:`${S}-image-container`,bookmarkContent:`${S}-content`,bookmarkContentLabel:`${S}-content-label`,authoring:T,authoringImageContainer:`${T}-image-container`,authoringRefreshThumbnailButton:`${T}-refresh-thumbnail-button`},j=Object.defineProperty,G=Object.getOwnPropertyDescriptor,u=(n,e,t,i)=>{for(var r=i>1?void 0:i?G(e,t):e,o=n.length-1,l;o>=0;o--)(l=n[o])&&(r=(i?l(e,t,r):l(r))||r);return i&&r&&j(e,t,r),r},h=class extends R{constructor(n){super(n)}get editedBookmark(){let{bookmark:n}=this;return n?this._get("editedBookmark")||n.clone():null}get customUrl(){if(this._customUrl)return this._customUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??(f(n)?n:null)}set customUrl(n){this._customUrl=n}get screenshotUrl(){if(this._screenshotUrl)return this._screenshotUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??(E(n)?n:null)}set screenshotUrl(n){this._screenshotUrl=n}get state(){return this._get("state")}set state(n){this.validationState=void 0,this.creatingBookmark=void 0,this._set("state",n)}get thumbnailState(){if(this._thumbnailState)return this._thumbnailState;let n=this.editedBookmark?.thumbnail?.url;return n?f(n)?"url":"screenshot":"none"}set thumbnailState(n){this._thumbnailState=n}};u([k()],h.prototype,"bookmark",2);u([k({readOnly:!0})],h.prototype,"editedBookmark",1);u([k()],h.prototype,"_customUrl",2);u([k()],h.prototype,"customUrl",1);u([k()],h.prototype,"_screenshotUrl",2);u([k()],h.prototype,"screenshotUrl",1);u([k()],h.prototype,"state",1);u([k()],h.prototype,"_thumbnailState",2);u([k()],h.prototype,"thumbnailState",1);u([k()],h.prototype,"validationState",2);u([k()],h.prototype,"creatingBookmark",2);h=u([H("UserState")],h);var J=L(q),I=class extends D{constructor(){super(...arguments),this._guid=F(),this._addInputNode=null,this._editInputNode=null,this._urlEditInputNode=null,this._lastDragDetail=null,this.messages=z({}),this.viewModel=J(this),this._storeEditFlowItemNode=e=>{this._editFlowItemEl=e},this._storeRootFlowItem=e=>{this._rootFlowItemEl=e},this._storeAddFlowItemNode=e=>{this._addFlowItemEl=e},this._userState=null,this._userCreatingBookmark=!1,this.editIncludeTimeExtent=!1,this.view=this.viewModel.view,this.icon="bookmark",this.closed=!1,this.defaultCreateOptions=this.viewModel.defaultCreateOptions,this.defaultEditOptions=this.viewModel.defaultEditOptions,this.bookmarks=this.viewModel.bookmarks,this.disabled=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.goToOverride=this.viewModel.goToOverride,this.showAddBookmarkButton=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showEditBookmarkButton=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideThumbnail=!1,this.hideTime=!1,this.timeDisabled=this.viewModel.capabilities.time,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisBookmarkEdit=$(),this.arcgisBookmarkSelect=$(),this.arcgisPropertyChange=M()("state"),this.arcgisReady=$(),this.arcgisClose=$()}static{this.properties={_userState:16,_userStateValue:16,_userValidationState:16,_userThumbnailState:16,_userCreatingBookmark:16,editIncludeTimeExtent:16,view:0,referenceElement:1,icon:0,closed:7,defaultCreateOptions:0,defaultEditOptions:0,bookmarks:0,disabled:5,dragEnabled:5,filterPlaceholder:1,filterText:1,headingLevel:9,goToOverride:0,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,hideFlow:5,showHeading:5,hideThumbnail:5,hideTime:5,timeDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:35}}static{this.styles=Z}async destroy(){await this.manager.destroy()}goTo(e){return this.viewModel.goTo(e)}loaded(){this.manager.onLifecycle(()=>[this.viewModel.on("bookmark-select",this.arcgisBookmarkSelect.emit),this.viewModel.on("bookmark-edit",this.arcgisBookmarkEdit.emit),B(()=>this._userState?.state,e=>this._userStateValue=e,{initial:!0}),B(()=>this._userState?.validationState,e=>this._userValidationState=e,{initial:!0}),B(()=>this._userState?.thumbnailState,e=>this._userThumbnailState=e,{initial:!0}),B(()=>this._userState?.creatingBookmark,e=>this._userCreatingBookmark=!!e,{initial:!0})])}_handleClose(){this.closed=!0,this.arcgisClose.emit()}startAddBookmark(){this._userState=new h({state:"add"}),requestAnimationFrame(()=>{this._addFlowItemEl?.setFocus()})}_clearState(){this._userState=null}_getTimeExtentStrings(e){let{hideTime:t}=this,{timeExtent:i}=e;if(!i)return{};let{start:r,end:o}=i,l=o!=null&&(r==null||r.getTime()!==o.getTime()),d=r?this._formatDate(r):"",p=r&&!t?this._formatTime(r):"";if(!l)return{startDate:d,startTime:p};let v=this._formatDate(o),g=t?"":this._formatTime(o);return{startDate:d,startTime:p,endDate:v,endTime:g}}_handleUrlEditInputChange(){let{_userState:e,_urlEditInputNode:t}=this,i=t?.value;if(!e?.editedBookmark||!i)return;e.validationState=void 0,E(e.editedBookmark.thumbnail?.url??"")&&(e.screenshotUrl=e.editedBookmark.thumbnail?.url);let r={url:i};f(r.url)&&(e.customUrl=i,e.editedBookmark.thumbnail=r)}_getBookmarkTitle(e){return(e?.name||this.messages.untitled)??""}_formatDate(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return P(e,{...V("short-date"),timeZone:i})}_formatTime(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return P(e,{...V("long-time"),timeZone:i})}_onCalciteListOrderChange(e){let{_lastDragDetail:t,bookmarks:i}=this,{toEl:r,fromEl:o,dragEl:l,newIndex:d}=e;if(!i.length)return;let p=t?.newIndex===d&&t?.dragEl===l&&t?.toEl===r&&t?.fromEl===o;if(!o||!r||p)return;this._lastDragDetail=e;let v=Array.from(o.children).filter(g=>g?.matches("calcite-list-item")).map(g=>g.value);i.sort((g,y)=>{let w=v.indexOf(g.uid),_=v.indexOf(y.uid);return w>_?1:w<_?-1:0})}_endAddBookmark(){this._clearState(),this._focusRootFlowItem()}_showEditBookmarkForm(e){e&&(this.editIncludeTimeExtent=!!e.timeExtent,this._userState=new h({bookmark:e,state:"edit"}),requestAnimationFrame(()=>{this._editFlowItemEl?.setFocus()}),this.viewModel.goTo(e))}async _createNewScreenshotUrl(){return(await this.viewModel.createBookmark()).thumbnail?.url??null}_storeCurrentUrl(){let{_userState:e}=this,t=e?.editedBookmark?.thumbnail?.url;t&&(f(t)?e.customUrl=t:E(t)&&(e.screenshotUrl=t))}async _handleThumbnailTypeSelect(e){let{_userState:t}=this;if(!t)return;let{screenshotUrl:i,customUrl:r,editedBookmark:o}=t,l=e==="screenshot"?i??await this._createNewScreenshotUrl():e==="url"&&r?r:null;this._storeCurrentUrl(),o&&l&&(o.thumbnail={url:l}),t.validationState=void 0,t.thumbnailState=e}_focusRootFlowItem(){requestAnimationFrame(()=>{this._rootFlowItemEl?.setFocus()})}_closeEditBookmarkForm(){this._clearState(),this._focusRootFlowItem()}_addBookmarkSubmitClick(e){e.preventDefault(),this._addBookmarkSubmit()}async _addBookmarkSubmit(){let{_addInputNode:e,_userState:t,viewModel:i,viewModel:{bookmarks:r}}=this;if(!t)return;let o=e?e.value.trim():null;if(!o){t.validationState="name-required";return}t.creatingBookmark=!0;let l=await i.createBookmark();l.name=o,r.add(l),this._endAddBookmark()}async _editBookmarkAndClose(e,t){let{viewModel:i,viewModel:{defaultEditOptions:r}}=this;await i.editBookmark(e,{...r,...t}),this._closeEditBookmarkForm()}_editBookmarkSubmit(e){e.preventDefault();let{_userState:t,_editInputNode:i,editIncludeTimeExtent:r,_urlEditInputNode:o}=this;if(!t?.bookmark||!t.editedBookmark)return;t.validationState=void 0,t.customUrl=void 0,t.screenshotUrl=void 0;let l=i?.value.trim();if(!l){t.validationState="name-required";return}if(t.bookmark.name=l,t.bookmark.thumbnail=t.editedBookmark.thumbnail,r||(t.bookmark.timeExtent=null),t.thumbnailState==="url"&&o){let d={url:o.value};if(!f(d.url)){t.validationState="absolute-url-required";return}t.bookmark.thumbnail=d}else t.thumbnailState==="none"&&(t.bookmark.thumbnail=null);this._editBookmarkAndClose(t.bookmark,{takeScreenshot:!1,captureTimeExtent:r})}_storeEditInput(e){this._editInputNode=e}_storeAddInput(e){this._addInputNode=e}_storeUrlEditInput(e){this._urlEditInputNode=e}_deleteBookmark(e){this._closeEditBookmarkForm(),e&&(this.viewModel.bookmarks.remove(e),e.destroy())}_goToBookmark(e){this._clearState(),this.viewModel.goTo(e)}async _updateThumbnail(){let{_userState:e,viewModel:t}=this;e&&(e.validationState=void 0,await t.editBookmark(e.editedBookmark,{takeScreenshot:!0,captureViewpoint:!1,captureRotation:!1,captureScale:!1,captureTimeExtent:!1}))}_handleCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:r}=e;t.insertBefore(i,t.children[r])}render(){return a`<div class=${s(c.base)}>${this._renderBookmarksContainer()}</div>`}_renderNoBookmarksContainer(e){let{messages:t,viewModel:{state:i}}=this;return!e.length&&i!=="loading"?a`<div class=${s(c.empty)}><calcite-icon .icon=${this.icon} scale=l></calcite-icon>${N({class:c.noBookmarksHeader,level:this.headingLevel,children:t.noBookmarksHeading})}<p class=${s(c.noBookmarksDescription)}>${t.noBookmarksDescription}</p></div>`:null}_renderEditBookmarkFlowItems(){let e=this._userStateValue==="edit",t=this._userState?.editedBookmark;return!t||!e?[]:this._renderEditingBookmark(t)}_renderBookmarkItems(e){return e?e.toArray().map(t=>this._renderBookmark(t)):[]}_renderBookmarksContainer(){let{viewModel:{state:e,bookmarks:t},dragEnabled:i,messages:r,disabled:o,filterPlaceholder:l,filterText:d,closed:p,headingLevel:v}=this,g=t.filter(_=>_!=null),y=g.length?a`<calcite-list class=${s(c.list)} display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${l} .filterProps=${["label","description","metadata"]} .filterText=${d} .group=${`bookmarks-${this._guid}`} .label=${r.componentLabel??""} selection-appearance=border selection-mode=none @calciteListDragEnd=${_=>this._handleCalciteListDragEnd(_.detail)} @calciteListFilter=${_=>this.filterText=_.currentTarget?.filterText??""} @calciteListOrderChange=${_=>this._onCalciteListOrderChange(_.detail)}>${this._renderBookmarkItems(g)}${this.showFilter?a`<div class=${s(c.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${r.noBookmarksHeading}</div>;</calcite-notice></div>`:null}</calcite-list>`:null,w=[a`<calcite-flow-item .closable=${this.showCloseButton} .closed=${p} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading?r.componentLabel:void 0} .headingLevel=${v} .loading=${e==="loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${this._handleClose} ${b(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(g)}${y}${this._renderAddBookmarkButton()}</calcite-flow-item>`,this._renderAddingBookmark(),this._renderEditBookmarkFlowItems()];return p?null:this.hideFlow?w:a`<calcite-flow>${w}</calcite-flow>`}_renderAddBookmarkButton(){let{messages:e,disabled:t,viewModel:{view:i,state:r}}=this,o=this._userCreatingBookmark;return i&&r!=="loading"&&this.showAddBookmarkButton?a`<calcite-fab appearance=outline-fill class=${s(c.addBookmarkButton)} .disabled=${t||o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark??x}></calcite-fab>`:null}_renderEditContainer(e){let{messages:t}=this,i=`${t.edit} ${this._getBookmarkTitle(e)}`;return this.showEditBookmarkButton?a`<calcite-action icon=pencil @click=${()=>this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i??x}></calcite-action>`:null}_renderBookmarkImage(e,t){return t?a`<img alt class=${s(c.bookmarkImage)} src=${e.thumbnail?.url??x}>`:null}_renderBookmarkTimeSwitch(e){let{messages:t,viewModel:{view:i}}=this,{timeExtent:r}=e;return i?.timeExtent??r?a`<calcite-label layout=inline-space-between>${t.includeTimeExtent}<calcite-switch .checked=${!!r} @calciteSwitchChange=${o=>{this.editIncludeTimeExtent=!!o.currentTarget.checked}}></calcite-switch></calcite-label>`:null}_renderEditBookmarkTimeExtent(e){return this.editIncludeTimeExtent?this._renderBookmarkTimeExtent(e):null}_renderTimeExtentDescription(e){let{startDate:t,startTime:i,endDate:r,endTime:o}=this._getTimeExtentStrings(e);if(!t)return"";let l=`${t} ${i}`,d=`${r} ${o}`;return r?`${l} - ${d}`:l}_renderBookmarkTimeExtent(e,t=!1){let{messages:i}=this,{startDate:r,startTime:o,endDate:l,endTime:d}=this._getTimeExtentStrings(e),p=t?null:a`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${l?a`<calcite-table-header .heading=${i.endDate}></calcite-table-header>`:null}</calcite-table-row>`;return r?a`<calcite-table .caption=${i.timeExtent??""} scale=s>${p}<calcite-table-row><calcite-table-cell>${r} ${o?[a`<br>`,o]:null}</calcite-table-cell>${l?a`<calcite-table-cell>${l}${d?[a`<br>`,d]:null}</calcite-table-cell>`:null}</calcite-table-row></calcite-table>`:null}_renderBookmarkActiveScrim(e,t){return this.viewModel.activeBookmark===e&&t?a`<calcite-scrim loading></calcite-scrim>`:null}_renderBookmarkActiveLoader(e,t){return this.viewModel.activeBookmark===e&&!t?a`<calcite-loader class=${s(c.loader)} inline .label=${this.messages.loading??""}></calcite-loader>`:null}_renderBookmarkImageIcon(e,t){return this.viewModel.activeBookmark!==e&&!t?a`<calcite-icon icon=bookmark scale=s></calcite-icon>`:null}_renderBookmarkThumbnail(e){let t=!this.hideThumbnail&&!!e.thumbnail?.url;return a`<div class=${s(c.bookmarkImageContainer)} slot=content-start>${this._renderBookmarkActiveScrim(e,t)}${this._renderBookmarkImage(e,t)}${this._renderBookmarkActiveLoader(e,t)}${this._renderBookmarkImageIcon(e,t)}</div>`}_renderBookmark(e){return O(e.uid,a`<calcite-list-item class=${s(A({[c.dragEnabled]:this.dragEnabled}))} .description=${this._renderTimeExtentDescription(e)} .label=${this._getBookmarkTitle(e)} .value=${e.uid} @calciteListItemSelect=${()=>this._goToBookmark(e)}>${this._renderBookmarkThumbnail(e)}${this._renderBookmarkContent(e)}${this._renderEditContainer(e)}</calcite-list-item>`)}_renderBookmarkContent(e){return a`<div class=${s(c.bookmarkContent)} slot=content><span class=${s(c.bookmarkContentLabel)}>${this._getBookmarkTitle(e)}</span>${this._renderBookmarkTimeExtent(e,!0)}</div>`}_renderEditingBookmarkName(e){let{messages:t}=this,i=this._userValidationState==="name-required";return a`<calcite-label>${t.title}<calcite-input class=${s(c.editBookmarkInput)} name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text .value=${e.name} ${b(this._storeEditInput)}></calcite-input>${i?a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderEditingBookmarkActions(){let{messages:e,_userState:t}=this,i=t?.bookmark;return[a`<calcite-button appearance=transparent kind=danger @click=${()=>this._deleteBookmark(i)} slot=footer type=button width=full>${e.delete}</calcite-button>`,a`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${e.cancel}</calcite-button>`,a`<calcite-button slot=footer type=submit width=full>${e.save}</calcite-button>`]}_renderEditingTimeExtent(e){let{capabilities:t,view:i}=this.viewModel,{timeExtent:r}=e;return t.time&&(i?.timeExtent??r)?a`<div>${this._renderBookmarkTimeSwitch(e)}${this._renderEditBookmarkTimeExtent(e)}</div>`:null}_renderEditingBookmarkImage(e){let{_userThumbnailState:t}=this,i=e.thumbnail?.url??"",r=f(i)?t==="url":E(i)?t==="screenshot":null;if(r)return this._renderBookmarkImage(e,r)}_renderEditingThumbnail(e){let{_userThumbnailState:t,hideThumbnail:i}=this;return!i&&t!=="none"?a`<div class=${s(c.authoringImageContainer)}>${this._renderEditingBookmarkImage(e)}</div>`:null}_renderUpdateThumbnailButton(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return!e&&i==="screenshot"?a`<calcite-button appearance=outline class=${s(c.authoringRefreshThumbnailButton)} icon-start=refresh kind=neutral @click=${()=>void this._updateThumbnail()} width=full>${t.updateThumbnail}</calcite-button>`:null}_renderEditingBookmarkUrlInput(e){let{messages:t,_userValidationState:i,_userThumbnailState:r}=this,o=e.thumbnail?.url??"",l=f(o)?o:void 0,d=o&&i==="absolute-url-required";return r==="url"?a`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t?`https://<${t.imageUrlPlaceholder}>`:void 0} required title=${t.imageUrlTooltip??x} type=text .value=${l} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${b(this._storeUrlEditInput)}></calcite-input>${d?a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidImageUrl}</calcite-input-message>`:null}</calcite-label>`:null}_renderThumbnailSelector(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return e?null:a`<calcite-label>${t.thumbnail}<calcite-chip-group .label=${t.thumbnail??""} selection-mode=single-persist @calciteChipGroupSelect=${r=>this._handleThumbnailTypeSelect(r.currentTarget.selectedItems[0].value)}><calcite-chip .label=${t.screenshot??""} .selected=${i==="screenshot"} value=screenshot>${t.screenshot}</calcite-chip><calcite-chip .label=${t.url??""} .selected=${i==="url"} value=url>${t.url}</calcite-chip><calcite-chip .label=${t.none??""} .selected=${i==="none"} value=none>${t.none}</calcite-chip></calcite-chip-group></calcite-label>`}_renderEditingBookmark(e){let{disabled:t,messages:i,headingLevel:r}=this;return e?a`<form class=${s(c.form)} @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${t} .heading=${i.edit??""} .headingLevel=${r} .selected=${this._userStateValue==="edit"} @calciteFlowItemBack=${o=>{o.preventDefault(),this._closeEditBookmarkForm()}} ${b(this._storeEditFlowItemNode)}><div class=${s(c.formContent)}><div class=${s(c.authoring)}>${this._renderEditingBookmarkName(e)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(e)}${this._renderEditingBookmarkUrlInput(e)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(e)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>`:null}_renderAddingBookmarkName(){let{messages:e}=this,t=this._userValidationState==="name-required";return a`<calcite-label>${e.title}<calcite-input class=${s(c.addBookmarkInput)} name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text value ${b(this._storeAddInput)}></calcite-input>${t?a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderAddingBookmarkActions(){let{messages:e}=this;return[a`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${e.cancel}</calcite-button>`,a`<calcite-button slot=footer type=submit width=full>${e.add}</calcite-button>`]}_renderAddingBookmark(){let{disabled:e,messages:t,headingLevel:i,_userStateValue:r}=this;return r==="add"?a`<form class=${s(c.form)} @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${e} .heading=${t.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${o=>{o.preventDefault(),this._endAddBookmark()}} ${b(this._storeAddFlowItemNode)}><div class=${s(c.formContent)}>${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>`:null}};U("arcgis-bookmarks",I);return I},"core/reactiveUtils","core/urlUtils","intl","widgets/Bookmarks/BookmarksViewModel","core/Accessor","core/accessorSupport/decorators",c,d,e)
3
+ v5.0.0-next.119 */
4
+ import{a as O}from"./KUG5Y26U.js";import{a as N}from"./GPI5USKJ.js";import"./MG6BJWUS.js";import e from"./TGPANP2V.js";import{a as z}from"./IQ2JUVOZ.js";import"./RSGM456F.js";import d from"./F4K626LE.js";import c from"./5K3SXYTT.js";import{g as M}from"./HACMDBEA.js";import"./GAD2MCBF.js";import"./DX7TJKT5.js";import{b as A}from"./HSYPPEIL.js";import{B as F,M as b,N as D,O as s,Q as x,T as U,a as C,b as a,x as $}from"./K4MVUXQW.js";import"./YNQQEKVL.js";export default $arcgis.t(([{watch:B},{isHTTPSProtocol:f,isDataProtocol:E},{formatDate:P,convertDateFormatToIntlOptions:V},q,R,{property:k,subclass:H},,,L])=>{var Z=C`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.arcgis-bookmarks{width:100%;overflow:hidden auto;transition:max-height .25s ease-in-out}:host([closed]) .arcgis-bookmarks{display:none}.arcgis-bookmarks__empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.arcgis-bookmarks .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.arcgis-bookmarks calcite-flow-item[loading]{min-height:150px}.arcgis-bookmarks__loader{margin-inline-end:0}.arcgis-bookmarks__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-bookmarks__bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.arcgis-bookmarks__bookmark-image-container .arcgis-bookmarks__image{max-width:64px;overflow:hidden}.arcgis-bookmarks--drag-enabled .arcgis-bookmarks__bookmark-image-container{margin-inline-start:0}.arcgis-bookmarks__no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-tight);font-weight:var(--calcite-font-weight-regular)}.arcgis-bookmarks__authoring{display:flex;flex-direction:column}.arcgis-bookmarks__authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.arcgis-bookmarks__authoring-image-container .arcgis-bookmarks__image{max-width:128px;max-height:128px}.arcgis-bookmarks__form{display:flex;height:100%}.arcgis-bookmarks__form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.arcgis-bookmarks__authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.arcgis-bookmarks__bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.arcgis-bookmarks__bookmark-content calcite-table{margin-inline-start:-.25rem}.arcgis-bookmarks__bookmark-content calcite-table,.arcgis-bookmarks__bookmark-content calcite-table-row{--calcite-table-border-color: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-table-row-background-color: transparent;pointer-events:none}`,m="arcgis-bookmarks",T=`${m}__authoring`,S=`${m}__bookmark`,c={base:m,empty:`${m}__empty`,noBookmarksHeader:`${m}__no-bookmarks-heading`,noBookmarksDescription:`${m}__no-bookmarks-description`,form:`${m}__form`,list:`${m}__list`,loader:`${m}__loader`,filterNoResults:`${m}__filter-no-results`,formContent:`${m}__form-content`,addBookmarkButton:`${m}__add-bookmark-button`,editBookmarkInput:`${m}__edit-bookmark-input`,addBookmarkInput:`${m}__add-bookmark-input`,dragEnabled:`${m}--drag-enabled`,bookmarkImage:`${m}__image`,bookmarkImageContainer:`${S}-image-container`,bookmarkContent:`${S}-content`,bookmarkContentLabel:`${S}-content-label`,authoring:T,authoringImageContainer:`${T}-image-container`,authoringRefreshThumbnailButton:`${T}-refresh-thumbnail-button`},j=Object.defineProperty,G=Object.getOwnPropertyDescriptor,u=(n,e,t,i)=>{for(var r=i>1?void 0:i?G(e,t):e,o=n.length-1,l;o>=0;o--)(l=n[o])&&(r=(i?l(e,t,r):l(r))||r);return i&&r&&j(e,t,r),r},h=class extends R{constructor(n){super(n)}get editedBookmark(){let{bookmark:n}=this;return n?this._get("editedBookmark")||n.clone():null}get customUrl(){if(this._customUrl)return this._customUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??(f(n)?n:null)}set customUrl(n){this._customUrl=n}get screenshotUrl(){if(this._screenshotUrl)return this._screenshotUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??(E(n)?n:null)}set screenshotUrl(n){this._screenshotUrl=n}get state(){return this._get("state")}set state(n){this.validationState=void 0,this.creatingBookmark=void 0,this._set("state",n)}get thumbnailState(){if(this._thumbnailState)return this._thumbnailState;let n=this.editedBookmark?.thumbnail?.url;return n?f(n)?"url":"screenshot":"none"}set thumbnailState(n){this._thumbnailState=n}};u([k()],h.prototype,"bookmark",2);u([k({readOnly:!0})],h.prototype,"editedBookmark",1);u([k()],h.prototype,"_customUrl",2);u([k()],h.prototype,"customUrl",1);u([k()],h.prototype,"_screenshotUrl",2);u([k()],h.prototype,"screenshotUrl",1);u([k()],h.prototype,"state",1);u([k()],h.prototype,"_thumbnailState",2);u([k()],h.prototype,"thumbnailState",1);u([k()],h.prototype,"validationState",2);u([k()],h.prototype,"creatingBookmark",2);h=u([H("UserState")],h);var J=L(q),I=class extends D{constructor(){super(...arguments),this._guid=F(),this._addInputNode=null,this._editInputNode=null,this._urlEditInputNode=null,this._lastDragDetail=null,this.messages=z({}),this.viewModel=J(this),this._storeEditFlowItemNode=e=>{this._editFlowItemEl=e},this._storeRootFlowItem=e=>{this._rootFlowItemEl=e},this._storeAddFlowItemNode=e=>{this._addFlowItemEl=e},this._userState=null,this._userCreatingBookmark=!1,this.editIncludeTimeExtent=!1,this.view=this.viewModel.view,this.icon="bookmark",this.closed=!1,this.defaultCreateOptions=this.viewModel.defaultCreateOptions,this.defaultEditOptions=this.viewModel.defaultEditOptions,this.bookmarks=this.viewModel.bookmarks,this.disabled=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.goToOverride=this.viewModel.goToOverride,this.showAddBookmarkButton=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showEditBookmarkButton=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideThumbnail=!1,this.hideTime=!1,this.timeDisabled=this.viewModel.capabilities.time,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisBookmarkEdit=$(),this.arcgisBookmarkSelect=$(),this.arcgisPropertyChange=M()("state"),this.arcgisReady=$(),this.arcgisClose=$()}static{this.properties={_userState:16,_userStateValue:16,_userValidationState:16,_userThumbnailState:16,_userCreatingBookmark:16,editIncludeTimeExtent:16,view:0,referenceElement:1,icon:0,closed:7,defaultCreateOptions:0,defaultEditOptions:0,bookmarks:0,disabled:5,dragEnabled:5,filterPlaceholder:1,filterText:1,headingLevel:9,goToOverride:0,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,hideFlow:5,showHeading:5,hideThumbnail:5,hideTime:5,timeDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:35}}static{this.styles=Z}async destroy(){await this.manager.destroy()}goTo(e){return this.viewModel.goTo(e)}loaded(){this.manager.onLifecycle(()=>[this.viewModel.on("bookmark-select",this.arcgisBookmarkSelect.emit),this.viewModel.on("bookmark-edit",this.arcgisBookmarkEdit.emit),B(()=>this._userState?.state,e=>this._userStateValue=e,{initial:!0}),B(()=>this._userState?.validationState,e=>this._userValidationState=e,{initial:!0}),B(()=>this._userState?.thumbnailState,e=>this._userThumbnailState=e,{initial:!0}),B(()=>this._userState?.creatingBookmark,e=>this._userCreatingBookmark=!!e,{initial:!0})])}_handleClose(){this.closed=!0,this.arcgisClose.emit()}startAddBookmark(){this._userState=new h({state:"add"}),requestAnimationFrame(()=>{this._addFlowItemEl?.setFocus()})}_clearState(){this._userState=null}_getTimeExtentStrings(e){let{hideTime:t}=this,{timeExtent:i}=e;if(!i)return{};let{start:r,end:o}=i,l=o!=null&&(r==null||r.getTime()!==o.getTime()),d=r?this._formatDate(r):"",p=r&&!t?this._formatTime(r):"";if(!l)return{startDate:d,startTime:p};let v=this._formatDate(o),g=t?"":this._formatTime(o);return{startDate:d,startTime:p,endDate:v,endTime:g}}_handleUrlEditInputChange(){let{_userState:e,_urlEditInputNode:t}=this,i=t?.value;if(!e?.editedBookmark||!i)return;e.validationState=void 0,E(e.editedBookmark.thumbnail?.url??"")&&(e.screenshotUrl=e.editedBookmark.thumbnail?.url);let r={url:i};f(r.url)&&(e.customUrl=i,e.editedBookmark.thumbnail=r)}_getBookmarkTitle(e){return(e?.name||this.messages.untitled)??""}_formatDate(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return P(e,{...V("short-date"),timeZone:i})}_formatTime(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return P(e,{...V("long-time"),timeZone:i})}_onCalciteListOrderChange(e){let{_lastDragDetail:t,bookmarks:i}=this,{toEl:r,fromEl:o,dragEl:l,newIndex:d}=e;if(!i.length)return;let p=t?.newIndex===d&&t?.dragEl===l&&t?.toEl===r&&t?.fromEl===o;if(!o||!r||p)return;this._lastDragDetail=e;let v=Array.from(o.children).filter(g=>g?.matches("calcite-list-item")).map(g=>g.value);i.sort((g,y)=>{let w=v.indexOf(g.uid),_=v.indexOf(y.uid);return w>_?1:w<_?-1:0})}_endAddBookmark(){this._clearState(),this._focusRootFlowItem()}_showEditBookmarkForm(e){e&&(this.editIncludeTimeExtent=!!e.timeExtent,this._userState=new h({bookmark:e,state:"edit"}),requestAnimationFrame(()=>{this._editFlowItemEl?.setFocus()}),this.viewModel.goTo(e))}async _createNewScreenshotUrl(){return(await this.viewModel.createBookmark()).thumbnail?.url??null}_storeCurrentUrl(){let{_userState:e}=this,t=e?.editedBookmark?.thumbnail?.url;t&&(f(t)?e.customUrl=t:E(t)&&(e.screenshotUrl=t))}async _handleThumbnailTypeSelect(e){let{_userState:t}=this;if(!t)return;let{screenshotUrl:i,customUrl:r,editedBookmark:o}=t,l=e==="screenshot"?i??await this._createNewScreenshotUrl():e==="url"&&r?r:null;this._storeCurrentUrl(),o&&l&&(o.thumbnail={url:l}),t.validationState=void 0,t.thumbnailState=e}_focusRootFlowItem(){requestAnimationFrame(()=>{this._rootFlowItemEl?.setFocus()})}_closeEditBookmarkForm(){this._clearState(),this._focusRootFlowItem()}_addBookmarkSubmitClick(e){e.preventDefault(),this._addBookmarkSubmit()}async _addBookmarkSubmit(){let{_addInputNode:e,_userState:t,viewModel:i,viewModel:{bookmarks:r}}=this;if(!t)return;let o=e?e.value.trim():null;if(!o){t.validationState="name-required";return}t.creatingBookmark=!0;let l=await i.createBookmark();l.name=o,r.add(l),this._endAddBookmark()}async _editBookmarkAndClose(e,t){let{viewModel:i,viewModel:{defaultEditOptions:r}}=this;await i.editBookmark(e,{...r,...t}),this._closeEditBookmarkForm()}_editBookmarkSubmit(e){e.preventDefault();let{_userState:t,_editInputNode:i,editIncludeTimeExtent:r,_urlEditInputNode:o}=this;if(!t?.bookmark||!t.editedBookmark)return;t.validationState=void 0,t.customUrl=void 0,t.screenshotUrl=void 0;let l=i?.value.trim();if(!l){t.validationState="name-required";return}if(t.bookmark.name=l,t.bookmark.thumbnail=t.editedBookmark.thumbnail,r||(t.bookmark.timeExtent=null),t.thumbnailState==="url"&&o){let d={url:o.value};if(!f(d.url)){t.validationState="absolute-url-required";return}t.bookmark.thumbnail=d}else t.thumbnailState==="none"&&(t.bookmark.thumbnail=null);this._editBookmarkAndClose(t.bookmark,{takeScreenshot:!1,captureTimeExtent:r})}_storeEditInput(e){this._editInputNode=e}_storeAddInput(e){this._addInputNode=e}_storeUrlEditInput(e){this._urlEditInputNode=e}_deleteBookmark(e){this._closeEditBookmarkForm(),e&&(this.viewModel.bookmarks.remove(e),e.destroy())}_goToBookmark(e){this._clearState(),this.viewModel.goTo(e)}async _updateThumbnail(){let{_userState:e,viewModel:t}=this;e&&(e.validationState=void 0,await t.editBookmark(e.editedBookmark,{takeScreenshot:!0,captureViewpoint:!1,captureRotation:!1,captureScale:!1,captureTimeExtent:!1}))}_handleCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:r}=e;t.insertBefore(i,t.children[r])}render(){return a`<div class=${s(c.base)}>${this._renderBookmarksContainer()}</div>`}_renderNoBookmarksContainer(e){let{messages:t,viewModel:{state:i}}=this;return!e.length&&i!=="loading"?a`<div class=${s(c.empty)}><calcite-icon .icon=${this.icon} scale=l></calcite-icon>${N({class:c.noBookmarksHeader,level:this.headingLevel,children:t.noBookmarksHeading})}<p class=${s(c.noBookmarksDescription)}>${t.noBookmarksDescription}</p></div>`:null}_renderEditBookmarkFlowItems(){let e=this._userStateValue==="edit",t=this._userState?.editedBookmark;return!t||!e?[]:this._renderEditingBookmark(t)}_renderBookmarkItems(e){return e?e.toArray().map(t=>this._renderBookmark(t)):[]}_renderBookmarksContainer(){let{viewModel:{state:e,bookmarks:t},dragEnabled:i,messages:r,disabled:o,filterPlaceholder:l,filterText:d,closed:p,headingLevel:v}=this,g=t.filter(_=>_!=null),y=g.length?a`<calcite-list class=${s(c.list)} display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${l} .filterProps=${["label","description","metadata"]} .filterText=${d} .group=${`bookmarks-${this._guid}`} .label=${r.componentLabel??""} selection-appearance=border selection-mode=none @calciteListDragEnd=${_=>this._handleCalciteListDragEnd(_.detail)} @calciteListFilter=${_=>this.filterText=_.currentTarget?.filterText??""} @calciteListOrderChange=${_=>this._onCalciteListOrderChange(_.detail)}>${this._renderBookmarkItems(g)}${this.showFilter?a`<div class=${s(c.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${r.noBookmarksHeading}</div>;</calcite-notice></div>`:null}</calcite-list>`:null,w=[a`<calcite-flow-item .closable=${this.showCloseButton} .closed=${p} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading?r.componentLabel:void 0} .headingLevel=${v} .loading=${e==="loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${this._handleClose} ${b(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(g)}${y}${this._renderAddBookmarkButton()}</calcite-flow-item>`,this._renderAddingBookmark(),this._renderEditBookmarkFlowItems()];return p?null:this.hideFlow?w:a`<calcite-flow>${w}</calcite-flow>`}_renderAddBookmarkButton(){let{messages:e,disabled:t,viewModel:{view:i,state:r}}=this,o=this._userCreatingBookmark;return i&&r!=="loading"&&this.showAddBookmarkButton?a`<calcite-fab appearance=outline-fill class=${s(c.addBookmarkButton)} .disabled=${t||o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark??x}></calcite-fab>`:null}_renderEditContainer(e){let{messages:t}=this,i=`${t.edit} ${this._getBookmarkTitle(e)}`;return this.showEditBookmarkButton?a`<calcite-action icon=pencil @click=${()=>this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i??x}></calcite-action>`:null}_renderBookmarkImage(e,t){return t?a`<img alt class=${s(c.bookmarkImage)} src=${e.thumbnail?.url??x}>`:null}_renderBookmarkTimeSwitch(e){let{messages:t,viewModel:{view:i}}=this,{timeExtent:r}=e;return i?.timeExtent??r?a`<calcite-label layout=inline-space-between>${t.includeTimeExtent}<calcite-switch .checked=${!!r} @calciteSwitchChange=${o=>{this.editIncludeTimeExtent=!!o.currentTarget.checked}}></calcite-switch></calcite-label>`:null}_renderEditBookmarkTimeExtent(e){return this.editIncludeTimeExtent?this._renderBookmarkTimeExtent(e):null}_renderTimeExtentDescription(e){let{startDate:t,startTime:i,endDate:r,endTime:o}=this._getTimeExtentStrings(e);if(!t)return"";let l=`${t} ${i}`,d=`${r} ${o}`;return r?`${l} - ${d}`:l}_renderBookmarkTimeExtent(e,t=!1){let{messages:i}=this,{startDate:r,startTime:o,endDate:l,endTime:d}=this._getTimeExtentStrings(e),p=t?null:a`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${l?a`<calcite-table-header .heading=${i.endDate}></calcite-table-header>`:null}</calcite-table-row>`;return r?a`<calcite-table .caption=${i.timeExtent??""} scale=s>${p}<calcite-table-row><calcite-table-cell>${r} ${o?[a`<br>`,o]:null}</calcite-table-cell>${l?a`<calcite-table-cell>${l}${d?[a`<br>`,d]:null}</calcite-table-cell>`:null}</calcite-table-row></calcite-table>`:null}_renderBookmarkActiveScrim(e,t){return this.viewModel.activeBookmark===e&&t?a`<calcite-scrim loading></calcite-scrim>`:null}_renderBookmarkActiveLoader(e,t){return this.viewModel.activeBookmark===e&&!t?a`<calcite-loader class=${s(c.loader)} inline .label=${this.messages.loading??""}></calcite-loader>`:null}_renderBookmarkImageIcon(e,t){return this.viewModel.activeBookmark!==e&&!t?a`<calcite-icon icon=bookmark scale=s></calcite-icon>`:null}_renderBookmarkThumbnail(e){let t=!this.hideThumbnail&&!!e.thumbnail?.url;return a`<div class=${s(c.bookmarkImageContainer)} slot=content-start>${this._renderBookmarkActiveScrim(e,t)}${this._renderBookmarkImage(e,t)}${this._renderBookmarkActiveLoader(e,t)}${this._renderBookmarkImageIcon(e,t)}</div>`}_renderBookmark(e){return O(e.uid,a`<calcite-list-item class=${s(A({[c.dragEnabled]:this.dragEnabled}))} .description=${this._renderTimeExtentDescription(e)} .label=${this._getBookmarkTitle(e)} .value=${e.uid} @calciteListItemSelect=${()=>this._goToBookmark(e)}>${this._renderBookmarkThumbnail(e)}${this._renderBookmarkContent(e)}${this._renderEditContainer(e)}</calcite-list-item>`)}_renderBookmarkContent(e){return a`<div class=${s(c.bookmarkContent)} slot=content><span class=${s(c.bookmarkContentLabel)}>${this._getBookmarkTitle(e)}</span>${this._renderBookmarkTimeExtent(e,!0)}</div>`}_renderEditingBookmarkName(e){let{messages:t}=this,i=this._userValidationState==="name-required";return a`<calcite-label>${t.title}<calcite-input class=${s(c.editBookmarkInput)} name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text .value=${e.name} ${b(this._storeEditInput)}></calcite-input>${i?a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderEditingBookmarkActions(){let{messages:e,_userState:t}=this,i=t?.bookmark;return[a`<calcite-button appearance=transparent kind=danger @click=${()=>this._deleteBookmark(i)} slot=footer type=button width=full>${e.delete}</calcite-button>`,a`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${e.cancel}</calcite-button>`,a`<calcite-button slot=footer type=submit width=full>${e.save}</calcite-button>`]}_renderEditingTimeExtent(e){let{capabilities:t,view:i}=this.viewModel,{timeExtent:r}=e;return t.time&&(i?.timeExtent??r)?a`<div>${this._renderBookmarkTimeSwitch(e)}${this._renderEditBookmarkTimeExtent(e)}</div>`:null}_renderEditingBookmarkImage(e){let{_userThumbnailState:t}=this,i=e.thumbnail?.url??"",r=f(i)?t==="url":E(i)?t==="screenshot":null;if(r)return this._renderBookmarkImage(e,r)}_renderEditingThumbnail(e){let{_userThumbnailState:t,hideThumbnail:i}=this;return!i&&t!=="none"?a`<div class=${s(c.authoringImageContainer)}>${this._renderEditingBookmarkImage(e)}</div>`:null}_renderUpdateThumbnailButton(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return!e&&i==="screenshot"?a`<calcite-button appearance=outline class=${s(c.authoringRefreshThumbnailButton)} icon-start=refresh kind=neutral @click=${()=>void this._updateThumbnail()} width=full>${t.updateThumbnail}</calcite-button>`:null}_renderEditingBookmarkUrlInput(e){let{messages:t,_userValidationState:i,_userThumbnailState:r}=this,o=e.thumbnail?.url??"",l=f(o)?o:void 0,d=o&&i==="absolute-url-required";return r==="url"?a`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t?`https://<${t.imageUrlPlaceholder}>`:void 0} required title=${t.imageUrlTooltip??x} type=text .value=${l} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${b(this._storeUrlEditInput)}></calcite-input>${d?a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidImageUrl}</calcite-input-message>`:null}</calcite-label>`:null}_renderThumbnailSelector(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return e?null:a`<calcite-label>${t.thumbnail}<calcite-chip-group .label=${t.thumbnail??""} selection-mode=single-persist @calciteChipGroupSelect=${r=>this._handleThumbnailTypeSelect(r.currentTarget.selectedItems[0].value)}><calcite-chip .label=${t.screenshot??""} .selected=${i==="screenshot"} value=screenshot>${t.screenshot}</calcite-chip><calcite-chip .label=${t.url??""} .selected=${i==="url"} value=url>${t.url}</calcite-chip><calcite-chip .label=${t.none??""} .selected=${i==="none"} value=none>${t.none}</calcite-chip></calcite-chip-group></calcite-label>`}_renderEditingBookmark(e){let{disabled:t,messages:i,headingLevel:r}=this;return e?a`<form class=${s(c.form)} @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${t} .heading=${i.edit??""} .headingLevel=${r} .selected=${this._userStateValue==="edit"} @calciteFlowItemBack=${o=>{o.preventDefault(),this._closeEditBookmarkForm()}} ${b(this._storeEditFlowItemNode)}><div class=${s(c.formContent)}><div class=${s(c.authoring)}>${this._renderEditingBookmarkName(e)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(e)}${this._renderEditingBookmarkUrlInput(e)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(e)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>`:null}_renderAddingBookmarkName(){let{messages:e}=this,t=this._userValidationState==="name-required";return a`<calcite-label>${e.title}<calcite-input class=${s(c.addBookmarkInput)} name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text value ${b(this._storeAddInput)}></calcite-input>${t?a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderAddingBookmarkActions(){let{messages:e}=this;return[a`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${e.cancel}</calcite-button>`,a`<calcite-button slot=footer type=submit width=full>${e.add}</calcite-button>`]}_renderAddingBookmark(){let{disabled:e,messages:t,headingLevel:i,_userStateValue:r}=this;return r==="add"?a`<form class=${s(c.form)} @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${e} .heading=${t.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${o=>{o.preventDefault(),this._endAddBookmark()}} ${b(this._storeAddFlowItemNode)}><div class=${s(c.formContent)}>${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>`:null}};U("arcgis-bookmarks",I);return I},"core/reactiveUtils","core/urlUtils","intl","widgets/Bookmarks/BookmarksViewModel","core/Accessor","core/accessorSupport/decorators",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.117 */
4
- import{a as l}from"./IDIZ4JMO.js";import e from"./PH7HOLNC.js";import{a as p}from"./634X3DFC.js";import d from"./VWCO67WW.js";import b from"./VJGF5D2J.js";import"./QJ5LXAQL.js";import"./JWQEVVGZ.js";import"./4RAPCIFN.js";import"./S43DULHA.js";import{L as s,M as a,N as g,T as u,a as f,b as t,p as c,x as n}from"./6SBRP3TG.js";import"./6MLKKLJF.js";export default $arcgis.t(([y,,,m])=>{var x=f`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content;max-height:100%;overflow:auto;arcgis-utility-network-trace-inputs::slotted{overflow-y:auto;max-height:450px}}.arcgis-utility-network-trace-analysis{flex:auto;width:300px}.arcgis-utility-network-trace-analysis calcite-tab{background-color:var(--calcite-color-foreground-1);padding-top:0;padding-bottom:0;min-height:300px;--calcite-tab-content-space-y: 0}.arcgis-utility-network-trace-analysis calcite-tab:not([selected]){flex:0}.arcgis-utility-network-trace-analysis calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-analysis calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-analysis calcite-notice{padding:var(--calcite-spacing-xs)}`,k=m(y),h=class extends g{constructor(){super(...arguments),this._messages=p({blocking:!0}),this._viewModel=k(this),this._traceInputsRef=s(),this._traceResultsRef=s(),this._highlightHandles=[],this.activeTab="input",this._mode="default",this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.state=this._viewModel.state,this.view=this._viewModel.view,this.arcgisTraceLocationSelectStart=n(),this.arcgisTraceLocationSelectEnd=n(),this.arcgisTraceResultFeaturesReady=n(),this.arcgisReady=n()}static{this.properties={activeTab:16,traceResult:16,_mode:16,allowEditingDisabled:5,autoDestroyDisabled:5,beforeTraceLocationSelectStart:0,closable:7,icon:1,label:3,messageOverrides:0,mode:1,traceResultFeatures:32,referenceElement:1,state:35,view:0}}static{this.styles=x}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get _traceResultsReady(){return!!this.traceResult&&this._numTraceResults>0&&this._traceResultsRef.value?.state==="ready"}get _numTraceResults(){let{traceResult:e}=this;return e?e.elements.length+e.globalFunctionResults.length:0}get traceResultFeatures(){return this._traceResultsRef.value?.traceResultFeatures??[]}async destroy(){await this.manager.destroy()}_clearTraceResult(){this.traceResult=void 0,this._clearHighlights()}_switchTab(e){this.activeTab=e}_getLoadError(e){let{_messages:i}=this;switch(e){case"no-user-type-extension":return i.loadErrors.noUserTypeExtension;case"no-utility-network":return i.loadErrors.noUtilityNetwork;case"no-view":return i.loadErrors.noView;case"sceneView-not-supported":return i.loadErrors.sceneViewNotSupported;default:return e}}_clearHighlights(){this._highlightHandles.forEach(e=>e.remove()),this._highlightHandles=[]}_highlightResults(){this._clearHighlights();let{traceResult:e,view:i}=this,o=this._viewModel.utilityNetwork;!o||!e?.elements||!i||o.getObjectIdsFromElements(e.elements).forEach(r=>{let d=i.allLayerViews.find(_=>{let b=_.layer;if(o.isUtilityLayer(b)){let v=Number(r.layerUrl.split("/").pop());return b.layerId===v}return!1});if(!d)return;let w=d.highlight(r.objectIds);this._highlightHandles.push(w)})}async _runTrace(){let e=this._traceInputsRef.value?.selectedNamedTraceConfiguration,i=this._traceInputsRef.value?.unTraceConfiguration;if(!(e?.traceType&&i)){c("error",this,"Trace configuration not found");return}let o=this._traceInputsRef.value?.traceLocations;try{this.traceResult=await this._viewModel.executeTraceConfiguration({traceType:e.traceType,traceConfiguration:i,traceLocations:o??[]}),this._highlightResults()}catch(r){c("error",this,`Error while running trace. ${r}`),this.traceResult=void 0}}_handleTraceLocationSelectStart(e){e.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented&&e.preventDefault()}_handleTraceLocationSelectEnd(e){e.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit()}_handleTraceResultFeaturesReady(e){e.stopPropagation(),this.arcgisTraceResultFeaturesReady.emit()}_handleTraceInputsChange(){}_handleUtilityNetworkChange(){this._viewModel.utilityNetwork=this._traceInputsRef.value?.selectedUtilityNetwork}renderResultsTab(){return l(`${this.el.id}__results-tab-item`,t`<calcite-tab .selected=${this.activeTab==="results"}>${this._viewModel.state==="executing"?t`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>`:t`<arcgis-utility-network-trace-results .referenceElement=${this.referenceElement} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork??void 0} .view=${this.view??void 0} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} ${a(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`)}renderResultsFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=outline width=full @click=${()=>{this._switchTab("input"),this._clearTraceResult()}} .disabled=${!this._traceResultsReady} slot=footer>${this._traceResultsReady?this._messages.buttons.clearResultsCustom.replace("{number}",this.traceResultFeatures.length.toString()):this._messages.buttons.clearResultsGeneric}</calcite-button>`}renderInputTab(){return l(`${this.el.id}__inputs-tab-item`,t`<calcite-tab .selected=${this.activeTab==="input"}><arcgis-utility-network-trace-inputs .view=${this.view||void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${e=>{e.stopPropagation(),e.detail.name==="mode"&&(this._mode=e.target.mode)}} ${a(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`)}renderInputFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=solid width=full @click=${()=>{this._switchTab("results"),this._runTrace()}} slot=footer>${this._messages.buttons.getResults}</calcite-button>`}render(){let{_messages:e,_viewModel:{loadError:i,state:o}}=this,r=o==="disabled"&&i!=null&&i!=="no-utility-network"?t`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>`:void 0;return t`<div class="arcgis-utility-network-trace-analysis"><calcite-panel .loading=${this.view===void 0}><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${()=>{this._switchTab("input")}} .selected=${this.activeTab==="input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${()=>{this._switchTab("results")}} .selected=${this.activeTab==="results"}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view?this.renderInputTab():null}${this.view&&this._viewModel.utilityNetwork?this.renderResultsTab():null}</calcite-tabs>${r}${this.activeTab==="input"?this.renderInputFooter():null}${this.activeTab==="results"?this.renderResultsFooter():null}</calcite-panel></div>`}};u("arcgis-utility-network-trace-analysis",h);return h},"networks/UtilityNetworkTraceAnalysis",b,d,e)
3
+ v5.0.0-next.119 */
4
+ import{a as l}from"./KUG5Y26U.js";import e from"./TGPANP2V.js";import{a as p}from"./IQ2JUVOZ.js";import d from"./F4K626LE.js";import b from"./5K3SXYTT.js";import"./HACMDBEA.js";import"./GAD2MCBF.js";import"./DX7TJKT5.js";import"./HSYPPEIL.js";import{L as s,M as a,N as g,T as u,a as f,b as t,p as c,x as n}from"./K4MVUXQW.js";import"./YNQQEKVL.js";export default $arcgis.t(([y,,,m])=>{var x=f`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content;max-height:100%;overflow:auto;arcgis-utility-network-trace-inputs::slotted{overflow-y:auto;max-height:450px}}.arcgis-utility-network-trace-analysis{flex:auto;width:300px}.arcgis-utility-network-trace-analysis calcite-tab{background-color:var(--calcite-color-foreground-1);padding-top:0;padding-bottom:0;min-height:300px;--calcite-tab-content-space-y: 0}.arcgis-utility-network-trace-analysis calcite-tab:not([selected]){flex:0}.arcgis-utility-network-trace-analysis calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-analysis calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-analysis calcite-notice{padding:var(--calcite-spacing-xs)}`,k=m(y),h=class extends g{constructor(){super(...arguments),this._messages=p({blocking:!0}),this._viewModel=k(this),this._traceInputsRef=s(),this._traceResultsRef=s(),this._highlightHandles=[],this.activeTab="input",this._mode="default",this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.state=this._viewModel.state,this.view=this._viewModel.view,this.arcgisTraceLocationSelectStart=n(),this.arcgisTraceLocationSelectEnd=n(),this.arcgisTraceResultFeaturesReady=n(),this.arcgisReady=n()}static{this.properties={activeTab:16,traceResult:16,_mode:16,allowEditingDisabled:5,autoDestroyDisabled:5,beforeTraceLocationSelectStart:0,closable:7,icon:1,label:3,messageOverrides:0,mode:1,traceResultFeatures:32,referenceElement:1,state:35,view:0}}static{this.styles=x}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get _traceResultsReady(){return!!this.traceResult&&this._numTraceResults>0&&this._traceResultsRef.value?.state==="ready"}get _numTraceResults(){let{traceResult:e}=this;return e?e.elements.length+e.globalFunctionResults.length:0}get traceResultFeatures(){return this._traceResultsRef.value?.traceResultFeatures??[]}async destroy(){await this.manager.destroy()}_clearTraceResult(){this.traceResult=void 0,this._clearHighlights()}_switchTab(e){this.activeTab=e}_getLoadError(e){let{_messages:i}=this;switch(e){case"no-user-type-extension":return i.loadErrors.noUserTypeExtension;case"no-utility-network":return i.loadErrors.noUtilityNetwork;case"no-view":return i.loadErrors.noView;case"sceneView-not-supported":return i.loadErrors.sceneViewNotSupported;default:return e}}_clearHighlights(){this._highlightHandles.forEach(e=>e.remove()),this._highlightHandles=[]}_highlightResults(){this._clearHighlights();let{traceResult:e,view:i}=this,o=this._viewModel.utilityNetwork;!o||!e?.elements||!i||o.getObjectIdsFromElements(e.elements).forEach(r=>{let d=i.allLayerViews.find(_=>{let b=_.layer;if(o.isUtilityLayer(b)){let v=Number(r.layerUrl.split("/").pop());return b.layerId===v}return!1});if(!d)return;let w=d.highlight(r.objectIds);this._highlightHandles.push(w)})}async _runTrace(){let e=this._traceInputsRef.value?.selectedNamedTraceConfiguration,i=this._traceInputsRef.value?.unTraceConfiguration;if(!(e?.traceType&&i)){c("error",this,"Trace configuration not found");return}let o=this._traceInputsRef.value?.traceLocations;try{this.traceResult=await this._viewModel.executeTraceConfiguration({traceType:e.traceType,traceConfiguration:i,traceLocations:o??[]}),this._highlightResults()}catch(r){c("error",this,`Error while running trace. ${r}`),this.traceResult=void 0}}_handleTraceLocationSelectStart(e){e.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented&&e.preventDefault()}_handleTraceLocationSelectEnd(e){e.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit()}_handleTraceResultFeaturesReady(e){e.stopPropagation(),this.arcgisTraceResultFeaturesReady.emit()}_handleTraceInputsChange(){}_handleUtilityNetworkChange(){this._viewModel.utilityNetwork=this._traceInputsRef.value?.selectedUtilityNetwork}renderResultsTab(){return l(`${this.el.id}__results-tab-item`,t`<calcite-tab .selected=${this.activeTab==="results"}>${this._viewModel.state==="executing"?t`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>`:t`<arcgis-utility-network-trace-results .referenceElement=${this.referenceElement} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork??void 0} .view=${this.view??void 0} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} ${a(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`)}renderResultsFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=outline width=full @click=${()=>{this._switchTab("input"),this._clearTraceResult()}} .disabled=${!this._traceResultsReady} slot=footer>${this._traceResultsReady?this._messages.buttons.clearResultsCustom.replace("{number}",this.traceResultFeatures.length.toString()):this._messages.buttons.clearResultsGeneric}</calcite-button>`}renderInputTab(){return l(`${this.el.id}__inputs-tab-item`,t`<calcite-tab .selected=${this.activeTab==="input"}><arcgis-utility-network-trace-inputs .view=${this.view||void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${e=>{e.stopPropagation(),e.detail.name==="mode"&&(this._mode=e.target.mode)}} ${a(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`)}renderInputFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=solid width=full @click=${()=>{this._switchTab("results"),this._runTrace()}} slot=footer>${this._messages.buttons.getResults}</calcite-button>`}render(){let{_messages:e,_viewModel:{loadError:i,state:o}}=this,r=o==="disabled"&&i!=null&&i!=="no-utility-network"?t`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>`:void 0;return t`<div class="arcgis-utility-network-trace-analysis"><calcite-panel .loading=${this.view===void 0}><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${()=>{this._switchTab("input")}} .selected=${this.activeTab==="input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${()=>{this._switchTab("results")}} .selected=${this.activeTab==="results"}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view?this.renderInputTab():null}${this.view&&this._viewModel.utilityNetwork?this.renderResultsTab():null}</calcite-tabs>${r}${this.activeTab==="input"?this.renderInputFooter():null}${this.activeTab==="results"?this.renderResultsFooter():null}</calcite-panel></div>`}};u("arcgis-utility-network-trace-analysis",h);return h},"networks/UtilityNetworkTraceAnalysis",b,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.117 */
4
- import{a as c}from"./K7K5YKDA.js";import{N as r,T as n,a,b as t}from"./6SBRP3TG.js";import"./6MLKKLJF.js";var h=a`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}calcite-label{display:block}`,l=class extends r{constructor(){super(...arguments),this.scale="s",this.hideColorPicker=!1,this.hideModeSelect=!1}static{this.properties={options:0,scale:1,hideColorPicker:5,hideModeSelect:5,messages:0}}static{this.styles=h}render(){return t`${c({hidden:this.hideModeSelect,children:this._renderModeSelect()})}${c({hidden:this.hideColorPicker,children:t`<arcgis-color-select .color=${this.options.color} .label=${this.messages?.totalDuration?.colorLabel} @arcgisColorChanged=${e=>{this.options.color=e.detail}}></arcgis-color-select>`})}`}_renderModeSelect(){let{options:e,scale:s}=this,{mode:i}=e,o=this.messages?.totalDuration;return t`<calcite-label .scale=${s}>${o?.modeLabel}<calcite-segmented-control .scale=${s} width=full @calciteSegmentedControlChange=${d=>{e.mode=d.currentTarget.value}}><calcite-segmented-control-item value=hourly .checked=${i==="hourly"}>${o?.hourlyLabel}</calcite-segmented-control-item><calcite-segmented-control-item value=continuous .checked=${i==="continuous"}>${o?.continuousLabel}</calcite-segmented-control-item></calcite-segmented-control></calcite-label>`}};n("arcgis-shadow-cast-total-duration-config",l);export{l as ArcgisShadowCastTotalDurationConfig};
3
+ v5.0.0-next.119 */
4
+ import{a as c}from"./CEFE7YWX.js";import{N as r,T as n,a,b as t}from"./K4MVUXQW.js";import"./YNQQEKVL.js";var h=a`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}calcite-label{display:block}`,l=class extends r{constructor(){super(...arguments),this.scale="s",this.hideColorPicker=!1,this.hideModeSelect=!1}static{this.properties={options:0,scale:1,hideColorPicker:5,hideModeSelect:5,messages:0}}static{this.styles=h}render(){return t`${c({hidden:this.hideModeSelect,children:this._renderModeSelect()})}${c({hidden:this.hideColorPicker,children:t`<arcgis-color-select .color=${this.options.color} .label=${this.messages?.totalDuration?.colorLabel} @arcgisColorChanged=${e=>{this.options.color=e.detail}}></arcgis-color-select>`})}`}_renderModeSelect(){let{options:e,scale:s}=this,{mode:i}=e,o=this.messages?.totalDuration;return t`<calcite-label .scale=${s}>${o?.modeLabel}<calcite-segmented-control .scale=${s} width=full @calciteSegmentedControlChange=${d=>{e.mode=d.currentTarget.value}}><calcite-segmented-control-item value=hourly .checked=${i==="hourly"}>${o?.hourlyLabel}</calcite-segmented-control-item><calcite-segmented-control-item value=continuous .checked=${i==="continuous"}>${o?.continuousLabel}</calcite-segmented-control-item></calcite-segmented-control></calcite-label>`}};n("arcgis-shadow-cast-total-duration-config",l);export{l as ArcgisShadowCastTotalDurationConfig};
@@ -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.117 */
4
- import"./6MLKKLJF.js";var r={_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 - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u66A6",_era_bc:"\u7D00\u5143\u524D",A:"\u5348\u524D",P:"\u5348\u5F8C",AM:"\u5348\u524D",PM:"\u5348\u5F8C","A.M.":"\u5348\u524D","P.M.":"\u5348\u5F8C",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u65E5\u66DC\u65E5",Monday:"\u6708\u66DC\u65E5",Tuesday:"\u706B\u66DC\u65E5",Wednesday:"\u6C34\u66DC\u65E5",Thursday:"\u6728\u66DC\u65E5",Friday:"\u91D1\u66DC\u65E5",Saturday:"\u571F\u66DC\u65E5",Sun:"\u65E5",Mon:"\u6708",Tue:"\u706B",Wed:"\u6C34",Thu:"\u6728",Fri:"\u91D1",Sat:"\u571F",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u30BA\u30FC\u30E0",Play:"\u518D\u751F",Stop:"\u505C\u6B62",Legend:"\u51E1\u4F8B","Press ENTER to toggle":"",Loading:"\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059",Home:"\u30DB\u30FC\u30E0",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u5370\u5237",Image:"\u30A4\u30E1\u30FC\u30B8",Data:"\u30C7\u30FC\u30BF",Print:"\u5370\u5237","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u59CB\u70B9 %1 \u7D42\u70B9 %2","From %1":"\u59CB\u70B9 %1","To %1":"\u7D42\u70B9 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.119 */
4
+ import"./YNQQEKVL.js";var r={_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 - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u66A6",_era_bc:"\u7D00\u5143\u524D",A:"\u5348\u524D",P:"\u5348\u5F8C",AM:"\u5348\u524D",PM:"\u5348\u5F8C","A.M.":"\u5348\u524D","P.M.":"\u5348\u5F8C",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u65E5\u66DC\u65E5",Monday:"\u6708\u66DC\u65E5",Tuesday:"\u706B\u66DC\u65E5",Wednesday:"\u6C34\u66DC\u65E5",Thursday:"\u6728\u66DC\u65E5",Friday:"\u91D1\u66DC\u65E5",Saturday:"\u571F\u66DC\u65E5",Sun:"\u65E5",Mon:"\u6708",Tue:"\u706B",Wed:"\u6C34",Thu:"\u6728",Fri:"\u91D1",Sat:"\u571F",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u30BA\u30FC\u30E0",Play:"\u518D\u751F",Stop:"\u505C\u6B62",Legend:"\u51E1\u4F8B","Press ENTER to toggle":"",Loading:"\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059",Home:"\u30DB\u30FC\u30E0",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u5370\u5237",Image:"\u30A4\u30E1\u30FC\u30B8",Data:"\u30C7\u30FC\u30BF",Print:"\u5370\u5237","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u59CB\u70B9 %1 \u7D42\u70B9 %2","From %1":"\u59CB\u70B9 %1","To %1":"\u7D42\u70B9 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,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.117 */
4
- import{a as x}from"./GP4HSM3D.js";import"./UO3XM775.js";import{a}from"./S5OXRCLT.js";import e from"./PH7HOLNC.js";import{a as v}from"./634X3DFC.js";import{a as l}from"./LS3KCYEJ.js";import d from"./VWCO67WW.js";import c from"./VJGF5D2J.js";import{g as _}from"./QJ5LXAQL.js";import"./JWQEVVGZ.js";import"./4RAPCIFN.js";import{b as w}from"./S43DULHA.js";import{N as f,O as n,P as u,Q as p,T as b,a as m,b as o,x as h}from"./6SBRP3TG.js";import"./6MLKKLJF.js";export default $arcgis.t(([{when:M},B,,,y])=>{var R=m`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex;width:var(--arcgis-internal-panel-width, 300px)}:host(:focus-within){z-index:1;outline-offset:var(--calcite-spacing-base);outline:var(--calcite-spacing-base) solid var(--calcite-color-brand)}.basemap-gallery{position:relative;overflow-y:auto;container-type:inline-size;width:100%;min-height:32px;transition:max-height .25s ease-in-out}.basemap-gallery .basemap-gallery__loader:before,.basemap-gallery .basemap-gallery__loader:after{opacity:1;content:"";height:var(--calcite-spacing-px);transition:opacity .5s ease-in-out;position:absolute;top:0}.basemap-gallery .basemap-gallery__loader:before{z-index:0;background-color:var(--calcite-color-foreground-1);width:100%}.basemap-gallery .basemap-gallery__loader:after{z-index:0;background-color:var(--calcite-color-foreground-3);width:20%;animation:1.5s linear infinite looping-progresss-bar-ani}.esri-disabled arcgis-basemap-gallery-item{opacity:var(--calcite-opacity-light);pointer-events:none;animation:none}.basemap-gallery__empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.basemap-gallery__loader{width:100%;height:var(--calcite-spacing-base);animation:.5s ease-in-out esri-fade-in;position:absolute;top:0;left:0;right:0}.basemap-gallery__item-container{flex-flow:column;gap:3px;margin:0;padding-block:3px;padding-inline:3px;list-style:none;transition:opacity .25s ease-in-out;display:flex;position:relative}calcite-popover>.basemap-gallery{width:280px;max-height:80vh}.ui-corner calcite-panel>.basemap-gallery.widget.widget--panel{width:unset}.view-width-greater-than-large calcite-popover>.basemap-gallery,.view-width-greater-than-large .ui-corner>.basemap-gallery{width:450px}@container (width<=200px) or (width>=350px){.basemap-gallery .basemap-gallery__item-container{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:var(--calcite-spacing-md) var(--calcite-spacing-lg);padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg);display:grid}}`,C=y(B),d={small:200,default:280,wide:435},g=class extends f{constructor(){super(...arguments),this.messages=v({}),this.viewModel=C(this),this._width=0,this.view=this.viewModel.view,this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.source=this.viewModel.source,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("activeBasemap","state"),this.arcgisReady=h()}static{this.properties={_width:16,view:0,activeBasemap:1,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,messageOverrides:0,referenceElement:1,source:0,state:35}}static{this.styles=R}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[M(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),(()=>{let i=new ResizeObserver(t=>{for(let r of t)this._width=r.contentRect.width}),e=this.el;return e&&i.observe(e),{remove(){i?.disconnect()}}})()])}_getRoundRobinIndex(i,e){return(i+e)%e}_handleKeyDown(i){let{key:e}=i;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(e))return;i.preventDefault();let{items:t,activeBasemapIndex:r}=this.viewModel,s=e==="ArrowUp"||e==="ArrowLeft"?this._getRoundRobinIndex(Math.max(r-1,-1),t.length):this._getRoundRobinIndex(r+1,t.length),c=t.at(s);c?.state==="ready"&&(this.viewModel.activeBasemap=c.basemap)}render(){let i=this.source.state==="loading",e=this.disabled||this.state==="disabled",t=this.viewModel.items,r={[a.sourceLoading]:i,[l.disabled]:e},s=this._width;r[a.layoutGrid]=s>=d.wide||s<=d.small,r[a.narrowItems]=s<d.default;let c=i?o`<div class=${n(a.loader)}></div>`:null,k=i?null:t.length>0?o`<div aria-disabled=${this.disabled??p} aria-label=${this.label??p} class=${n(a.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${t.map((z,$)=>o`<arcgis-basemap-gallery-item .disabled=${e} .item=${z} .itemIndex=${$} .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-basemap-gallery-item>`)}</div>`:o`<div class=${n(l.empty)}>${x({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return o`<div class=${n(w(a.base,l.widget,l.panel,r))} style=${u({"--esri-basemap-gallery-small":`${d.small}px`})}>${[c,k]}</div>`}};b("arcgis-basemap-gallery",g);return g},"core/reactiveUtils","widgets/BasemapGallery/BasemapGalleryViewModel",c,d,e)
3
+ v5.0.0-next.119 */
4
+ import{a as x}from"./GPI5USKJ.js";import"./MG6BJWUS.js";import{a}from"./L3RML377.js";import e from"./TGPANP2V.js";import{a as v}from"./IQ2JUVOZ.js";import{a as l}from"./RSGM456F.js";import d from"./F4K626LE.js";import c from"./5K3SXYTT.js";import{g as _}from"./HACMDBEA.js";import"./GAD2MCBF.js";import"./DX7TJKT5.js";import{b as w}from"./HSYPPEIL.js";import{N as f,O as n,P as u,Q as p,T as b,a as m,b as o,x as h}from"./K4MVUXQW.js";import"./YNQQEKVL.js";export default $arcgis.t(([{when:M},B,,,y])=>{var R=m`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex;width:var(--arcgis-internal-panel-width, 300px)}:host(:focus-within){z-index:1;outline-offset:var(--calcite-spacing-base);outline:var(--calcite-spacing-base) solid var(--calcite-color-brand)}.basemap-gallery{position:relative;overflow-y:auto;container-type:inline-size;width:100%;min-height:32px;transition:max-height .25s ease-in-out}.basemap-gallery .basemap-gallery__loader:before,.basemap-gallery .basemap-gallery__loader:after{opacity:1;content:"";height:var(--calcite-spacing-px);transition:opacity .5s ease-in-out;position:absolute;top:0}.basemap-gallery .basemap-gallery__loader:before{z-index:0;background-color:var(--calcite-color-foreground-1);width:100%}.basemap-gallery .basemap-gallery__loader:after{z-index:0;background-color:var(--calcite-color-foreground-3);width:20%;animation:1.5s linear infinite looping-progresss-bar-ani}.esri-disabled arcgis-basemap-gallery-item{opacity:var(--calcite-opacity-light);pointer-events:none;animation:none}.basemap-gallery__empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.basemap-gallery__loader{width:100%;height:var(--calcite-spacing-base);animation:.5s ease-in-out esri-fade-in;position:absolute;top:0;left:0;right:0}.basemap-gallery__item-container{flex-flow:column;gap:3px;margin:0;padding-block:3px;padding-inline:3px;list-style:none;transition:opacity .25s ease-in-out;display:flex;position:relative}calcite-popover>.basemap-gallery{width:280px;max-height:80vh}.ui-corner calcite-panel>.basemap-gallery.widget.widget--panel{width:unset}.view-width-greater-than-large calcite-popover>.basemap-gallery,.view-width-greater-than-large .ui-corner>.basemap-gallery{width:450px}@container (width<=200px) or (width>=350px){.basemap-gallery .basemap-gallery__item-container{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:var(--calcite-spacing-md) var(--calcite-spacing-lg);padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg);display:grid}}`,C=y(B),d={small:200,default:280,wide:435},g=class extends f{constructor(){super(...arguments),this.messages=v({}),this.viewModel=C(this),this._width=0,this.view=this.viewModel.view,this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.source=this.viewModel.source,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("activeBasemap","state"),this.arcgisReady=h()}static{this.properties={_width:16,view:0,activeBasemap:1,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,messageOverrides:0,referenceElement:1,source:0,state:35}}static{this.styles=R}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[M(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),(()=>{let i=new ResizeObserver(t=>{for(let r of t)this._width=r.contentRect.width}),e=this.el;return e&&i.observe(e),{remove(){i?.disconnect()}}})()])}_getRoundRobinIndex(i,e){return(i+e)%e}_handleKeyDown(i){let{key:e}=i;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(e))return;i.preventDefault();let{items:t,activeBasemapIndex:r}=this.viewModel,s=e==="ArrowUp"||e==="ArrowLeft"?this._getRoundRobinIndex(Math.max(r-1,-1),t.length):this._getRoundRobinIndex(r+1,t.length),c=t.at(s);c?.state==="ready"&&(this.viewModel.activeBasemap=c.basemap)}render(){let i=this.source.state==="loading",e=this.disabled||this.state==="disabled",t=this.viewModel.items,r={[a.sourceLoading]:i,[l.disabled]:e},s=this._width;r[a.layoutGrid]=s>=d.wide||s<=d.small,r[a.narrowItems]=s<d.default;let c=i?o`<div class=${n(a.loader)}></div>`:null,k=i?null:t.length>0?o`<div aria-disabled=${this.disabled??p} aria-label=${this.label??p} class=${n(a.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${t.map((z,$)=>o`<arcgis-basemap-gallery-item .disabled=${e} .item=${z} .itemIndex=${$} .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-basemap-gallery-item>`)}</div>`:o`<div class=${n(l.empty)}>${x({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return o`<div class=${n(w(a.base,l.widget,l.panel,r))} style=${u({"--esri-basemap-gallery-small":`${d.small}px`})}>${[c,k]}</div>`}};b("arcgis-basemap-gallery",g);return g},"core/reactiveUtils","widgets/BasemapGallery/BasemapGalleryViewModel",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.117 */
4
- import"./6MLKKLJF.js";var a={_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 - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"n. e.",_era_bc:"p. n. e.",A:"prijepodne",P:"popodne",AM:"AM",PM:"PM","A.M.":"prijepodne","P.M.":"popodne",January:"januar",February:"februar",March:"mart",April:"april",May:"maj",June:"juni",July:"juli",August:"august",September:"septembar",October:"oktobar",November:"novembar",December:"decembar",Jan:"jan",Feb:"feb",Mar:"mar",Apr:"apr","May(short)":"maj",Jun:"jun",Jul:"jul",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"nedjelja",Monday:"ponedjeljak",Tuesday:"utorak",Wednesday:"srijeda",Thursday:"\u010Detvrtak",Friday:"petak",Saturday:"subota",Sun:"ned",Mon:"pon",Tue:"uto",Wed:"sri",Thu:"\u010Det",Fri:"pet",Sat:"sub",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Pove\u0107aj",Play:"Reproduciraj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Po\u010Detna",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Ispis",Image:"Slika",Data:"Podaci",Print:"Ispis","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
3
+ v5.0.0-next.119 */
4
+ import"./YNQQEKVL.js";var a={_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 - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"n. e.",_era_bc:"p. n. e.",A:"prijepodne",P:"popodne",AM:"AM",PM:"PM","A.M.":"prijepodne","P.M.":"popodne",January:"januar",February:"februar",March:"mart",April:"april",May:"maj",June:"juni",July:"juli",August:"august",September:"septembar",October:"oktobar",November:"novembar",December:"decembar",Jan:"jan",Feb:"feb",Mar:"mar",Apr:"apr","May(short)":"maj",Jun:"jun",Jul:"jul",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"nedjelja",Monday:"ponedjeljak",Tuesday:"utorak",Wednesday:"srijeda",Thursday:"\u010Detvrtak",Friday:"petak",Saturday:"subota",Sun:"ned",Mon:"pon",Tue:"uto",Wed:"sri",Thu:"\u010Det",Fri:"pet",Sat:"sub",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Pove\u0107aj",Play:"Reproduciraj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Po\u010Detna",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Ispis",Image:"Slika",Data:"Podaci",Print:"Ispis","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a 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.117 */
3
+ v5.0.0-next.119 */
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.117 */
3
+ v5.0.0-next.119 */
4
4
  var t=["metric","imperial"],s=["inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],a=["square-inches","square-feet","square-yards","square-miles","square-nautical-miles","square-us-feet","square-millimeters","square-centimeters","square-decimeters","square-meters","square-kilometers","acres","ares","hectares"],i=["liters","cubic-millimeters","cubic-centimeters","cubic-decimeters","cubic-meters","cubic-kilometers","cubic-inches","cubic-us-feet","cubic-feet","cubic-yards","cubic-miles"],c=[...t,...s],u=[...t,...a],l=[...t,...i];function m(e,r=!0){return r?e==null?{state:"unavailable"}:{state:"available",value:e}:{state:"invalid"}}function n(e,r){switch(r.type){case"length":return e.formatLength(r);case"area":return e.formatArea(r);case"volume":return e.formatVolume(r);default:return""}}function f(e){return e==="imperial"||e==="metric"}export{s as a,c as b,u as c,l as d,m as e,n as f,f as 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.117 */
4
- import"./6MLKKLJF.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"hh:mm:ss a",_date_second_full:"hh:mm:ss a",_date_minute:"hh:mm a",_date_minute_full:"hh:mm a - MMM dd, yyyy",_date_hour:"hh:mm a",_date_hour_short:"hhaaa",_date_hour_full:"hh:mm a - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(a){let e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},Play:"",Stop:"","Zoom Out":"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Chord diagram":"","Flow diagram":"","TreeMap chart":"",Series:"","Candlestick Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
3
+ v5.0.0-next.119 */
4
+ import"./YNQQEKVL.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"hh:mm:ss a",_date_second_full:"hh:mm:ss a",_date_minute:"hh:mm a",_date_minute_full:"hh:mm a - MMM dd, yyyy",_date_hour:"hh:mm a",_date_hour_short:"hhaaa",_date_hour_full:"hh:mm a - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(a){let e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},Play:"",Stop:"","Zoom Out":"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Chord diagram":"","Flow diagram":"","TreeMap chart":"",Series:"","Candlestick Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};