@arcgis/map-components 5.0.0-next.52 → 5.0.0-next.54

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 (418) hide show
  1. package/dist/cdn/{B5XFWZNH.js → 2DA725TD.js} +2 -2
  2. package/dist/cdn/{7OKKGQC2.js → 2RSPV4JN.js} +2 -2
  3. package/dist/cdn/{F2SHE5IE.js → 2SHXNXQN.js} +2 -2
  4. package/dist/cdn/{6HVHNTQP.js → 2TPYELGG.js} +2 -2
  5. package/dist/cdn/{STDLQJMR.js → 2UWPSVBV.js} +2 -2
  6. package/dist/cdn/{S4TSIFZA.js → 3DALWR7K.js} +2 -2
  7. package/dist/cdn/{OAGTFKIT.js → 3HTB4GW5.js} +2 -2
  8. package/dist/cdn/{KUXI6H4E.js → 3OKSJAS3.js} +2 -2
  9. package/dist/cdn/{WAO36AZ7.js → 3QCBZLAX.js} +2 -2
  10. package/dist/cdn/{7IXRSLGB.js → 3QTC5KBJ.js} +2 -2
  11. package/dist/cdn/{XONIP5IU.js → 3TOAOVZB.js} +1 -1
  12. package/dist/cdn/{B5SN3XMZ.js → 3XLHEOP3.js} +2 -2
  13. package/dist/cdn/{QAJAYG32.js → 3ZNCJ677.js} +2 -2
  14. package/dist/cdn/{WYFAALKO.js → 4ASGO25S.js} +2 -2
  15. package/dist/cdn/{JX26MGDK.js → 4NO2VIV6.js} +2 -2
  16. package/dist/cdn/{UPFDHYG3.js → 4YRAPFRP.js} +2 -2
  17. package/dist/cdn/{UMATLJNK.js → 4ZAXUJQT.js} +2 -2
  18. package/dist/cdn/{XYQBIZLR.js → 53GTNT4H.js} +2 -2
  19. package/dist/cdn/{OB2TVOFU.js → 57Q52ZYN.js} +2 -2
  20. package/dist/cdn/{SMMFTR4Z.js → 5HQIH3SR.js} +2 -2
  21. package/dist/cdn/{FCIWVZQQ.js → 5NKHOYVJ.js} +1 -1
  22. package/dist/cdn/{PUGGC5WT.js → 5X3IFKFT.js} +2 -2
  23. package/dist/cdn/{H7UEU2PO.js → 5Z2CWSMT.js} +2 -2
  24. package/dist/cdn/{7Z3ADHRL.js → 65LMP6DS.js} +2 -2
  25. package/dist/cdn/{4EZM5TNX.js → 67GT6MMY.js} +2 -2
  26. package/dist/cdn/{ZCJWUKYN.js → 6DK43WWQ.js} +2 -2
  27. package/dist/cdn/{QROPRERR.js → 6TCYVLAW.js} +2 -2
  28. package/dist/cdn/{T5NZKN7Z.js → 7I4CIQZT.js} +2 -2
  29. package/dist/cdn/{H4URE277.js → 7LZEUAHE.js} +2 -2
  30. package/dist/cdn/{RDFOOZPP.js → 7MBMZVKN.js} +2 -2
  31. package/dist/cdn/{GS6HXFIC.js → 7NAJFU27.js} +2 -2
  32. package/dist/cdn/{ADY7BFMB.js → 7OEPYAQM.js} +2 -2
  33. package/dist/cdn/{TELQ6KIM.js → 7RRMP5K5.js} +2 -2
  34. package/dist/cdn/{6COWBRQH.js → 7WBTONFJ.js} +2 -2
  35. package/dist/cdn/{26AX455T.js → AIOTW7FG.js} +2 -2
  36. package/dist/cdn/{76B2AFBX.js → AIVDNCVU.js} +2 -2
  37. package/dist/cdn/{OFEBOZ76.js → AL2H2DSX.js} +2 -2
  38. package/dist/cdn/{V74SHMMU.js → AOQ4IILN.js} +2 -2
  39. package/dist/cdn/{RPUFXURJ.js → ARW33VXT.js} +2 -2
  40. package/dist/cdn/{ZXPGLXX5.js → AWKPT2U7.js} +2 -2
  41. package/dist/cdn/{IGNM3UHL.js → BD3OULRC.js} +2 -2
  42. package/dist/cdn/{O4QVQGOA.js → BFEDRMBS.js} +2 -2
  43. package/dist/cdn/{FKYICPQG.js → BGLRCCNL.js} +2 -2
  44. package/dist/cdn/{ZBIMSCWQ.js → BIUA2WJU.js} +2 -2
  45. package/dist/cdn/{6NQUDNXB.js → BN3R2XKX.js} +2 -2
  46. package/dist/cdn/{QVRHDBDD.js → BRDAIRY6.js} +2 -2
  47. package/dist/cdn/{KYHZPCGP.js → BVFVQTLU.js} +2 -2
  48. package/dist/cdn/{GUXLF7TW.js → C4GQCGAW.js} +2 -2
  49. package/dist/cdn/{XCDIUK6Q.js → C6HM4LTD.js} +2 -2
  50. package/dist/cdn/{GMXEYGKA.js → C7S5BZZM.js} +2 -2
  51. package/dist/cdn/{NBSFXIPI.js → CTDIT5HY.js} +2 -2
  52. package/dist/cdn/{BPNJCSGU.js → DYJCOZDR.js} +2 -2
  53. package/dist/cdn/{CUOQLBNX.js → E2PCP7XT.js} +2 -2
  54. package/dist/cdn/{YCJQWWHR.js → EAMVKQ4N.js} +2 -2
  55. package/dist/cdn/{FTCISF66.js → EKGOM4J2.js} +2 -2
  56. package/dist/cdn/{GIIZKMQA.js → EOB6UBOZ.js} +2 -2
  57. package/dist/cdn/{LE5ITDA3.js → EOZ67A5E.js} +2 -2
  58. package/dist/cdn/ERDBXY2C.js +4 -0
  59. package/dist/cdn/{Z7HTGE2N.js → ESWTSM2N.js} +2 -2
  60. package/dist/cdn/{WR4SQUAO.js → EYSAUJFL.js} +2 -2
  61. package/dist/cdn/{KVW63NH5.js → EZTOIV3L.js} +2 -2
  62. package/dist/cdn/{22LWGRY5.js → F3TQPRXC.js} +2 -2
  63. package/dist/cdn/{NDPOXJ6D.js → FTPNTAEW.js} +2 -2
  64. package/dist/cdn/{44M6VICZ.js → FW2VNC4V.js} +2 -2
  65. package/dist/cdn/{AEZN3JHU.js → FYVGRAF3.js} +2 -2
  66. package/dist/cdn/{GF7VTOGE.js → G6C4XDRL.js} +2 -2
  67. package/dist/cdn/{GEMSOYZJ.js → GBJJIGVY.js} +1 -1
  68. package/dist/cdn/{ZEJDSVQF.js → GFFNKQEL.js} +2 -2
  69. package/dist/cdn/{PQOEPIFA.js → GHPJMCTV.js} +2 -2
  70. package/dist/cdn/{EGY5P6PF.js → GJ5JXA5Y.js} +2 -2
  71. package/dist/cdn/{TRNQVFV4.js → GPWMDJTR.js} +2 -2
  72. package/dist/cdn/{SJOHEV5B.js → GSOVX2BZ.js} +2 -2
  73. package/dist/cdn/{FP3FFYJP.js → GWBOGGHO.js} +2 -2
  74. package/dist/cdn/{DAZHR6MT.js → H3DTHIWF.js} +1 -1
  75. package/dist/cdn/{V3HJ5O3J.js → H7B5XMME.js} +2 -2
  76. package/dist/cdn/{WP44ZZZ6.js → HE6EXK7G.js} +2 -2
  77. package/dist/cdn/{F6W4TDRW.js → HEYBJR43.js} +2 -2
  78. package/dist/cdn/{2C5CWENE.js → HGL4WYRH.js} +2 -2
  79. package/dist/cdn/{OGVR6RLH.js → HMBOK5HJ.js} +2 -2
  80. package/dist/cdn/{J5RKS7NK.js → HPIJB6A7.js} +2 -2
  81. package/dist/cdn/HQVRMXN7.js +4 -0
  82. package/dist/cdn/{DU4HLKAX.js → HVHEYZQ7.js} +2 -2
  83. package/dist/cdn/{P5OEJ32X.js → HXHOEEUL.js} +2 -2
  84. package/dist/cdn/{7SQEYWE4.js → HYLZILQC.js} +2 -2
  85. package/dist/cdn/{CFKTVZQ4.js → I7BJLGPG.js} +2 -2
  86. package/dist/cdn/{QOHH2F55.js → IBZHPY27.js} +2 -2
  87. package/dist/cdn/{QBYZM4G6.js → ICUGR7LL.js} +2 -2
  88. package/dist/cdn/{LI52FRYF.js → IGKZEF64.js} +2 -2
  89. package/dist/cdn/INCS6IG4.js +4 -0
  90. package/dist/cdn/{P26WCXUQ.js → IOFNFQ4V.js} +2 -2
  91. package/dist/cdn/{XSI7CHOD.js → IS2JPRIH.js} +1 -1
  92. package/dist/cdn/{D376OQIV.js → ITVP7TZJ.js} +2 -2
  93. package/dist/cdn/{FHKXD2RN.js → IYJQ23TD.js} +2 -2
  94. package/dist/cdn/{VI6ODKNF.js → J36XMPWS.js} +2 -2
  95. package/dist/cdn/{WRT3P54X.js → JFTHSYH7.js} +1 -1
  96. package/dist/cdn/{Y4MDGVT6.js → JH6EJLET.js} +2 -2
  97. package/dist/cdn/{7LCL3YHK.js → JLXCBE2R.js} +2 -2
  98. package/dist/cdn/{I3QNJ4CE.js → JNQBOVTF.js} +2 -2
  99. package/dist/cdn/{LQMA4STA.js → JRK6XT3C.js} +2 -2
  100. package/dist/cdn/{I3D3VGVK.js → JSRJWP2T.js} +2 -2
  101. package/dist/cdn/{7662VMJW.js → K4VQOUAM.js} +2 -2
  102. package/dist/cdn/{YX57QA2S.js → KE2OB6NT.js} +2 -2
  103. package/dist/cdn/{RUA5644U.js → KIU2N32S.js} +2 -2
  104. package/dist/cdn/{YAHDW4JC.js → KPKOA75G.js} +1 -1
  105. package/dist/cdn/{YN7OPFYV.js → KT6YYI5S.js} +2 -2
  106. package/dist/cdn/{QSCD2ODR.js → KVP2ZZ7K.js} +2 -2
  107. package/dist/cdn/{DEDSUBBJ.js → KW3Z5QPS.js} +2 -2
  108. package/dist/cdn/{XHOLJ6I4.js → L32XVL2I.js} +2 -2
  109. package/dist/cdn/{QQ4U6YVZ.js → L3GX5HNV.js} +2 -2
  110. package/dist/cdn/{ZAOHFE6J.js → LDP63DKT.js} +2 -2
  111. package/dist/cdn/{OU4X6U6W.js → LGXOBFAJ.js} +2 -2
  112. package/dist/cdn/{YVCAFB4Q.js → LKW23DR2.js} +2 -2
  113. package/dist/cdn/{USGCX2SP.js → LKWYN55S.js} +1 -1
  114. package/dist/cdn/{3LLAZQ4C.js → M7YQYKVM.js} +2 -2
  115. package/dist/cdn/{CIM5M2CV.js → MALINKQ7.js} +2 -2
  116. package/dist/cdn/{OWAFANQP.js → MAWCDZY3.js} +2 -2
  117. package/dist/cdn/{VCENYPIP.js → MDUX5RK7.js} +2 -2
  118. package/dist/cdn/{T4S2TAMP.js → MFS7FPSX.js} +2 -2
  119. package/dist/cdn/{WBH2OK2X.js → MHTCMTJK.js} +2 -2
  120. package/dist/cdn/{L3O3ASGS.js → MIXA7W6V.js} +2 -2
  121. package/dist/cdn/{7PXDRBVZ.js → MJJ6D76D.js} +2 -2
  122. package/dist/cdn/{MXHJWZHN.js → MMMWBOXE.js} +2 -2
  123. package/dist/cdn/{U4QVJDQ6.js → MNHWAEFD.js} +2 -2
  124. package/dist/cdn/{SZUAXG7O.js → MO7D2VPY.js} +2 -2
  125. package/dist/cdn/{DPQ7J2M2.js → MRXSQ4NJ.js} +2 -2
  126. package/dist/cdn/{JXABDIHW.js → MVSO34YZ.js} +2 -2
  127. package/dist/cdn/{EGUJEHTV.js → MZR7FE2O.js} +3 -3
  128. package/dist/cdn/NAOZJLXV.js +4 -0
  129. package/dist/cdn/{EUQ722IV.js → NB3SMM7B.js} +2 -2
  130. package/dist/cdn/{2MSAMSUA.js → NDGW7BER.js} +2 -2
  131. package/dist/cdn/{MZEGCZLE.js → NGHLHIYG.js} +2 -2
  132. package/dist/cdn/{NFOWK6J6.js → NLRJNKNL.js} +2 -2
  133. package/dist/cdn/{DQCR5WSY.js → NO27PKTV.js} +2 -2
  134. package/dist/cdn/{F3HH5PPB.js → NOFOD2LP.js} +2 -2
  135. package/dist/cdn/{HMFG4VD3.js → NRWEXIF4.js} +2 -2
  136. package/dist/cdn/{V5ZX43XA.js → NUILCLXV.js} +2 -2
  137. package/dist/cdn/{PSJG7NH2.js → NVKUIBDK.js} +2 -2
  138. package/dist/cdn/{ZIR32VYG.js → OCHPZAQD.js} +2 -2
  139. package/dist/cdn/{A37EHVWO.js → OPADSGDY.js} +2 -2
  140. package/dist/cdn/{TKVAEEYV.js → OVOELNGM.js} +2 -2
  141. package/dist/cdn/OZ456AGI.js +4 -0
  142. package/dist/cdn/{67YKLKIN.js → P4KQZHHC.js} +2 -2
  143. package/dist/cdn/{I3L4VZWP.js → P4PE6BHQ.js} +2 -2
  144. package/dist/cdn/{OV3ZDVA7.js → P5RJEQEF.js} +2 -2
  145. package/dist/cdn/{FPMXPPEX.js → P6GRWXUY.js} +2 -2
  146. package/dist/cdn/{7YI7XHSR.js → PCX6BRJU.js} +2 -2
  147. package/dist/cdn/{GSBR2TED.js → PIPMXORB.js} +2 -2
  148. package/dist/cdn/{XL7SI2OV.js → PK2QHFTY.js} +2 -2
  149. package/dist/cdn/{QOTLRDY5.js → PNNVBOL5.js} +2 -2
  150. package/dist/cdn/{T2C3DC7W.js → PNQVZ5OW.js} +2 -2
  151. package/dist/cdn/{DIVNFWR2.js → PTMS33ID.js} +2 -2
  152. package/dist/cdn/{SXNBB6AP.js → PVQK4YQZ.js} +2 -2
  153. package/dist/cdn/{Y4WYFSYG.js → Q54YLBIE.js} +2 -2
  154. package/dist/cdn/{HVC425WN.js → Q7FWKXOE.js} +2 -2
  155. package/dist/cdn/{6IAOC6YO.js → QFTYYEDE.js} +2 -2
  156. package/dist/cdn/QSBQWFC6.js +4 -0
  157. package/dist/cdn/{ZCODNWNS.js → QVY5OC5S.js} +2 -2
  158. package/dist/cdn/{PUFEKPJX.js → QWMK4BQQ.js} +2 -2
  159. package/dist/cdn/{WUVTXWDV.js → QWTMX6BA.js} +2 -2
  160. package/dist/cdn/{M37V57S5.js → RB2GOVRB.js} +2 -2
  161. package/dist/cdn/{RPMFWSFR.js → RB5XG3IA.js} +2 -2
  162. package/dist/cdn/{BUW2FDJS.js → ROB34FE5.js} +2 -2
  163. package/dist/cdn/{QJTIEN3F.js → RUAGHCCC.js} +1 -1
  164. package/dist/cdn/{LXJQ2BSW.js → SA6C6TAU.js} +2 -2
  165. package/dist/cdn/{PV5NBMXT.js → SGMK3VAS.js} +2 -2
  166. package/dist/cdn/{44VBAIOF.js → SLI5N3PR.js} +2 -2
  167. package/dist/cdn/{TQW4QBHL.js → SVS55TEJ.js} +2 -2
  168. package/dist/cdn/{UY5MVQW3.js → SX7KOJ74.js} +2 -2
  169. package/dist/cdn/{IYZ62EUF.js → T2GNSKEQ.js} +2 -2
  170. package/dist/cdn/{5OJJTCDK.js → T2JAZBER.js} +2 -2
  171. package/dist/cdn/{O6YTWN3U.js → T3X3SAWQ.js} +2 -2
  172. package/dist/cdn/{QXMAKXMW.js → T573WNAV.js} +2 -2
  173. package/dist/cdn/{K3M3URRL.js → TGHPBJSB.js} +2 -2
  174. package/dist/cdn/{5PCTKFJN.js → TTDCLM2L.js} +2 -2
  175. package/dist/cdn/{WU7F3KA4.js → TU57ZKRN.js} +1 -1
  176. package/dist/cdn/{JAYWQCAM.js → TUOM2D5K.js} +2 -2
  177. package/dist/cdn/{RHZK3AHQ.js → TW4ONLVJ.js} +2 -2
  178. package/dist/cdn/{4TZMHAAY.js → TWLLB7QD.js} +2 -2
  179. package/dist/cdn/{AYHSK3D6.js → UGB7HSYH.js} +2 -2
  180. package/dist/cdn/{Q4V6KXUM.js → UHFI6AEK.js} +2 -2
  181. package/dist/cdn/UIGVDBWK.js +4 -0
  182. package/dist/cdn/{G3F7Y3CI.js → ULBHKJMY.js} +2 -2
  183. package/dist/cdn/{LODX4NXH.js → US5JRHOG.js} +2 -2
  184. package/dist/cdn/VDGJSEYQ.js +4 -0
  185. package/dist/cdn/{DOCKYZ3H.js → VJG4YS4R.js} +2 -2
  186. package/dist/cdn/{X5FDTO2L.js → VLI5WWWM.js} +2 -2
  187. package/dist/cdn/{OW4235UW.js → VNLELDEI.js} +1 -1
  188. package/dist/cdn/{RJKN7K3V.js → VRM75CUF.js} +2 -2
  189. package/dist/cdn/{R2EQ6GME.js → VVDJRIUF.js} +2 -2
  190. package/dist/cdn/{6VVIRNA6.js → VVKH5OQN.js} +2 -2
  191. package/dist/cdn/{RLHUF3Y6.js → WABUI2T6.js} +2 -2
  192. package/dist/cdn/{VDM46S66.js → WEYMFDEN.js} +2 -2
  193. package/dist/cdn/{4GRBJOGI.js → WF7UDPXL.js} +2 -2
  194. package/dist/cdn/{PU3MFTIJ.js → WWQQRMFV.js} +2 -2
  195. package/dist/cdn/{OXGRVQUW.js → WXWGHGHY.js} +1 -1
  196. package/dist/cdn/{QRJ5KNZ6.js → X44SK5IN.js} +2 -2
  197. package/dist/cdn/{OBMH5SII.js → X4CIR6NZ.js} +2 -2
  198. package/dist/cdn/{7MN2ZGIK.js → X5NHBAZD.js} +2 -2
  199. package/dist/cdn/{4HY53XWT.js → XCIXW6Y4.js} +2 -2
  200. package/dist/cdn/{R4YUI5FJ.js → XCPQY6D5.js} +2 -2
  201. package/dist/cdn/{Y5QPC5MI.js → XEVQQ2MQ.js} +2 -2
  202. package/dist/cdn/{AGVKTLQL.js → XJCJJ466.js} +2 -2
  203. package/dist/cdn/{S2HNHSKO.js → XK3W2NAW.js} +2 -2
  204. package/dist/cdn/{XJWITOLI.js → XRJMK5MH.js} +2 -2
  205. package/dist/cdn/{TJXUFRJ6.js → XYQMB6MQ.js} +2 -2
  206. package/dist/cdn/{BDZ5TL6N.js → XZ5E4GGR.js} +1 -1
  207. package/dist/cdn/{4E4M5AUV.js → Y4G6VMUR.js} +2 -2
  208. package/dist/cdn/{MTSI5V6J.js → Y5EWOBYO.js} +2 -2
  209. package/dist/cdn/{REZHVEV2.js → YBHSQLWZ.js} +2 -2
  210. package/dist/cdn/{C4P2ID7H.js → YKTCF3CD.js} +2 -2
  211. package/dist/cdn/YLLHFW4V.js +4 -0
  212. package/dist/cdn/{SH5ZMD4E.js → YMEGNU75.js} +2 -2
  213. package/dist/cdn/{3JDT7P6G.js → YR3TGQSZ.js} +2 -2
  214. package/dist/cdn/{H6QKT4CY.js → YRKSPSMV.js} +2 -2
  215. package/dist/cdn/{YN72PUVD.js → YUL6BOPA.js} +2 -2
  216. package/dist/cdn/{7JWIOEDF.js → YV7JWZSM.js} +1 -1
  217. package/dist/cdn/{2H2IBEZG.js → Z3QEJG4C.js} +1 -1
  218. package/dist/cdn/{FDO4DVEN.js → Z7KTQEBE.js} +2 -2
  219. package/dist/cdn/{VCF3YFFQ.js → ZBLTFT2S.js} +2 -2
  220. package/dist/cdn/{RFYA4M25.js → ZH7RDLDH.js} +2 -2
  221. package/dist/cdn/{D5VUWY7V.js → ZNMWEZJE.js} +2 -2
  222. package/dist/cdn/{V5SC7VHQ.js → ZO5INMSE.js} +2 -2
  223. package/dist/cdn/{62AVSSW2.js → ZRZDJOTS.js} +2 -2
  224. package/dist/cdn/{OY5Z5634.js → ZSRE74CJ.js} +2 -2
  225. package/dist/cdn/{CP6HDALL.js → ZWAAJU6O.js} +2 -2
  226. package/dist/cdn/{E3ZUOBMW.js → ZYZYLI2S.js} +2 -2
  227. package/dist/cdn/index.js +2 -2
  228. package/dist/chunks/AnalysisViewModel.js +1 -1
  229. package/dist/chunks/action-utils.js +1 -1
  230. package/dist/chunks/async-utils.js +1 -1
  231. package/dist/chunks/basemap-gallery-resources.js +1 -1
  232. package/dist/chunks/chart-utils.js +1 -1
  233. package/dist/chunks/chartCommon.js +1 -1
  234. package/dist/chunks/component-utils.js +1 -1
  235. package/dist/chunks/createCloseEvent.js +1 -1
  236. package/dist/chunks/esri-main.js +1 -1
  237. package/dist/chunks/feature-utils.js +1 -1
  238. package/dist/chunks/globalCss.js +1 -1
  239. package/dist/chunks/handle.js +1 -1
  240. package/dist/chunks/heading.js +1 -1
  241. package/dist/chunks/layer-list.js +1 -1
  242. package/dist/chunks/legacyIcon.js +1 -1
  243. package/dist/chunks/maybe.js +1 -1
  244. package/dist/chunks/measurementUtils.js +1 -1
  245. package/dist/chunks/runtime.js +1 -1
  246. package/dist/chunks/screenLocation.js +1 -1
  247. package/dist/chunks/slots.js +1 -1
  248. package/dist/chunks/svgUtils.js +1 -1
  249. package/dist/chunks/univariateUtils.js +1 -1
  250. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  251. package/dist/chunks/useHandles.js +1 -1
  252. package/dist/chunks/useT9n.js +1 -1
  253. package/dist/chunks/useView.js +1 -1
  254. package/dist/chunks/useViewModel.js +1 -1
  255. package/dist/chunks/useWidget.js +1 -1
  256. package/dist/chunks/utils.js +5 -5
  257. package/dist/chunks/utils2.js +1 -1
  258. package/dist/chunks/visible-element.js +1 -1
  259. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  260. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  261. package/dist/components/arcgis-attachments/customElement.js +1 -1
  262. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  263. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  264. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  265. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  266. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  267. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  268. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  269. package/dist/components/arcgis-color-select/customElement.js +1 -1
  270. package/dist/components/arcgis-compass/customElement.js +1 -1
  271. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  272. package/dist/components/arcgis-daylight/customElement.js +1 -1
  273. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  274. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  275. package/dist/components/arcgis-directions/customElement.js +1 -1
  276. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  277. package/dist/components/arcgis-editor/customElement.js +1 -1
  278. package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
  279. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  280. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  281. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  282. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  283. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  284. package/dist/components/arcgis-expand/customElement.js +1 -1
  285. package/dist/components/arcgis-feature/customElement.js +1 -1
  286. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  287. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  288. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  289. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  290. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  291. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  292. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  293. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  294. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  295. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  296. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  297. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  298. package/dist/components/arcgis-features/customElement.js +1 -1
  299. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  300. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  301. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  302. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  303. package/dist/components/arcgis-home/customElement.js +1 -1
  304. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  305. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  306. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  307. package/dist/components/arcgis-legend/customElement.js +1 -1
  308. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  309. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  310. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  311. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  312. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  313. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  314. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  315. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  316. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  318. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  319. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  320. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  321. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  322. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  323. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  324. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  325. package/dist/components/arcgis-locate/customElement.js +1 -1
  326. package/dist/components/arcgis-map/customElement.js +1 -1
  327. package/dist/components/arcgis-measurement/customElement.js +1 -1
  328. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  329. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  330. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  331. package/dist/components/arcgis-placement/customElement.js +1 -1
  332. package/dist/components/arcgis-popup/customElement.js +1 -1
  333. package/dist/components/arcgis-print/customElement.d.ts +24 -6
  334. package/dist/components/arcgis-print/customElement.js +29 -23
  335. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  336. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  337. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  338. package/dist/components/arcgis-print-exports-panel/customElement.d.ts +4 -2
  339. package/dist/components/arcgis-print-exports-panel/customElement.js +16 -16
  340. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  341. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  342. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  343. package/dist/components/arcgis-print-main-panel/customElement.d.ts +4 -2
  344. package/dist/components/arcgis-print-main-panel/customElement.js +6 -6
  345. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  346. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  347. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  348. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  349. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  350. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  351. package/dist/components/arcgis-print-template-selector/customElement.d.ts +0 -1
  352. package/dist/components/arcgis-print-template-selector/customElement.js +28 -32
  353. package/dist/components/arcgis-print-template-selector/index.d.ts +1 -1
  354. package/dist/components/arcgis-print-template-selector/index.js +1 -1
  355. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  356. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  357. package/dist/components/arcgis-scene/customElement.js +1 -1
  358. package/dist/components/arcgis-search/customElement.js +1 -1
  359. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  360. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  361. package/dist/components/arcgis-sketch/customElement.js +1 -1
  362. package/dist/components/arcgis-slice/customElement.js +1 -1
  363. package/dist/components/arcgis-spinner/customElement.js +1 -1
  364. package/dist/components/arcgis-swipe/customElement.js +1 -1
  365. package/dist/components/arcgis-table-list/customElement.js +1 -1
  366. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  367. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  368. package/dist/components/arcgis-track/customElement.js +1 -1
  369. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  370. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  371. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  372. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  373. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  374. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  375. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  376. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  377. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  378. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  379. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  380. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  381. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  382. package/dist/components/arcgis-version-management/customElement.js +1 -1
  383. package/dist/components/arcgis-version-management-service-item/customElement.js +22 -22
  384. package/dist/components/arcgis-version-management-version-list/customElement.js +29 -29
  385. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  386. package/dist/components/arcgis-video/customElement.js +1 -1
  387. package/dist/components/arcgis-video-player/customElement.js +1 -1
  388. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  389. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  390. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  391. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  392. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  393. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  394. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  395. package/dist/components/arcgis-weather/customElement.js +1 -1
  396. package/dist/components/arcgis-zoom/customElement.js +1 -1
  397. package/dist/docs/api.json +135 -67
  398. package/dist/docs/docs.json +113 -71
  399. package/dist/docs/vscode.html-custom-data.json +6 -1
  400. package/dist/docs/web-types.json +36 -15
  401. package/dist/index.d.ts +2 -0
  402. package/dist/index.js +1 -1
  403. package/dist/loader.js +5 -5
  404. package/dist/types/lumina.d.ts +4 -1
  405. package/dist/types/preact.d.ts +4 -1
  406. package/dist/types/preact10.d.ts +4 -1
  407. package/dist/types/react.d.ts +4 -1
  408. package/dist/types/stencil.d.ts +4 -1
  409. package/package.json +3 -3
  410. package/dist/cdn/5LMPTO6C.js +0 -4
  411. package/dist/cdn/5XNNU4B7.js +0 -4
  412. package/dist/cdn/CJTSEOLW.js +0 -4
  413. package/dist/cdn/CYUC2ONL.js +0 -4
  414. package/dist/cdn/DMI2SRRT.js +0 -4
  415. package/dist/cdn/FFQ3YMUY.js +0 -4
  416. package/dist/cdn/GBQQY6XU.js +0 -4
  417. package/dist/cdn/HFR2YLFJ.js +0 -4
  418. package/dist/cdn/YYGX6S2V.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.52 */
4
- import"./2H2IBEZG.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.54 */
4
+ import"./Z3QEJG4C.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.52 */
4
- import{a as s}from"./6VVIRNA6.js";import i from"./Y4MDGVT6.js";import{a as f}from"./Z7HTGE2N.js";import g from"./BUW2FDJS.js";import e from"./NFOWK6J6.js";import"./E3ZUOBMW.js";import"./BDZ5TL6N.js";import"./7JWIOEDF.js";import{G as n,H as c,I as h,O as b,a,b as o,s as d}from"./FCIWVZQQ.js";import"./2H2IBEZG.js";export default $arcgis.t(([p,,,g])=>{var m=a`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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%;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;--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)}`,w=g(p),u="map-components:utility-network-trace-analysis",l=class extends h{constructor(){super(...arguments),this._messages=f({blocking:!0}),this._viewModel=w(this),this._traceInputsRef=n(),this._traceResultsRef=n(),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.arcgisReady=d()}static{this.properties={activeTab:16,traceResult:16,_mode:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:1,label:3,messageOverrides:0,mode:1,referenceElement:1,state:3,view:0}}static{this.styles=m}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get _traceResultsExist(){let{traceResult:e}=this;return e!==void 0&&this._numTraceResults>0}get _numTraceResults(){let{traceResult:e}=this;return e?e.elements.length+e.globalFunctionResults.length:0}async destroy(){await this.manager.destroy()}_clearTraceResult(){this.traceResult=void 0}_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}}async _runTrace(){let e=this._traceInputsRef.value?.selectedNamedTraceConfiguration,i=this._traceInputsRef.value?.unTraceConfiguration;if(!(e?.traceType&&i)){console.error(`${u} - Trace configuration not found`);return}let t=this._traceInputsRef.value?.traceLocations;try{this.traceResult=await this._viewModel.executeTraceConfiguration({traceType:e.traceType,traceConfiguration:i,traceLocations:t??[]})}catch(r){console.error(`${u} - Error while running trace: `,String(r)),this.traceResult=void 0}}_handleTraceInputsChange(){}_handleUtilityNetworkChange(){this._viewModel.utilityNetwork=this._traceInputsRef.value?.selectedUtilityNetwork}renderResultsTab(){return s(`${this.el.id}__results-tab-item`,o`<calcite-tab .selected=${this.activeTab==="results"}>${this._viewModel.state==="executing"?o`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>`:o`<arcgis-utility-network-trace-results .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork??void 0} ${c(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`)}renderResultsFooter(){let{_mode:e}=this;if(e==="add-spatial")return null;let{_numTraceResults:i,_traceResultsExist:t}=this;return o`<calcite-button appearance=outline width=full @click=${()=>{this._switchTab("input"),this._clearTraceResult()}} .disabled=${!t} slot=footer>${t?this._messages.buttons.clearResultsCustom.replace("{number}",i.toString()):this._messages.buttons.clearResultsGeneric}</calcite-button>`}renderInputTab(){return s(`${this.el.id}__inputs-tab-item`,o`<calcite-tab .selected=${this.activeTab==="input"}><arcgis-utility-network-trace-inputs .view=${this.view||void 0} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisPropertyChange=${e=>{e.stopPropagation(),e.detail.name==="mode"&&(this._mode=e.target.mode)}} ${c(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`)}renderInputFooter(){let{_mode:e}=this;return e==="add-spatial"?null:o`<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:t}}=this,r=t==="disabled"&&i!=null&&i!=="no-utility-network"?o`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>`:void 0;return o`<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!==void 0?o`${this.renderInputTab()}${this.renderResultsTab()}`:null}</calcite-tabs>${r}${this.activeTab==="input"?this.renderInputFooter():null}${this.activeTab==="results"?this.renderResultsFooter():null}</calcite-panel></div>`}};b("arcgis-utility-network-trace-analysis",l);return l},"widgets/UtilityNetworkTraceAnalysis/UtilityNetworkTraceAnalysisViewModel",e,g,i)
3
+ v5.0.0-next.54 */
4
+ import{a as s}from"./VVKH5OQN.js";import i from"./JH6EJLET.js";import{a as f}from"./ESWTSM2N.js";import g from"./ROB34FE5.js";import e from"./NLRJNKNL.js";import"./ZYZYLI2S.js";import"./XZ5E4GGR.js";import"./YV7JWZSM.js";import{G as n,H as c,I as h,O as b,a,b as o,s as d}from"./5NKHOYVJ.js";import"./Z3QEJG4C.js";export default $arcgis.t(([p,,,g])=>{var m=a`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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%;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;--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)}`,w=g(p),u="map-components:utility-network-trace-analysis",l=class extends h{constructor(){super(...arguments),this._messages=f({blocking:!0}),this._viewModel=w(this),this._traceInputsRef=n(),this._traceResultsRef=n(),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.arcgisReady=d()}static{this.properties={activeTab:16,traceResult:16,_mode:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:1,label:3,messageOverrides:0,mode:1,referenceElement:1,state:3,view:0}}static{this.styles=m}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get _traceResultsExist(){let{traceResult:e}=this;return e!==void 0&&this._numTraceResults>0}get _numTraceResults(){let{traceResult:e}=this;return e?e.elements.length+e.globalFunctionResults.length:0}async destroy(){await this.manager.destroy()}_clearTraceResult(){this.traceResult=void 0}_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}}async _runTrace(){let e=this._traceInputsRef.value?.selectedNamedTraceConfiguration,i=this._traceInputsRef.value?.unTraceConfiguration;if(!(e?.traceType&&i)){console.error(`${u} - Trace configuration not found`);return}let t=this._traceInputsRef.value?.traceLocations;try{this.traceResult=await this._viewModel.executeTraceConfiguration({traceType:e.traceType,traceConfiguration:i,traceLocations:t??[]})}catch(r){console.error(`${u} - Error while running trace: `,String(r)),this.traceResult=void 0}}_handleTraceInputsChange(){}_handleUtilityNetworkChange(){this._viewModel.utilityNetwork=this._traceInputsRef.value?.selectedUtilityNetwork}renderResultsTab(){return s(`${this.el.id}__results-tab-item`,o`<calcite-tab .selected=${this.activeTab==="results"}>${this._viewModel.state==="executing"?o`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>`:o`<arcgis-utility-network-trace-results .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork??void 0} ${c(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`)}renderResultsFooter(){let{_mode:e}=this;if(e==="add-spatial")return null;let{_numTraceResults:i,_traceResultsExist:t}=this;return o`<calcite-button appearance=outline width=full @click=${()=>{this._switchTab("input"),this._clearTraceResult()}} .disabled=${!t} slot=footer>${t?this._messages.buttons.clearResultsCustom.replace("{number}",i.toString()):this._messages.buttons.clearResultsGeneric}</calcite-button>`}renderInputTab(){return s(`${this.el.id}__inputs-tab-item`,o`<calcite-tab .selected=${this.activeTab==="input"}><arcgis-utility-network-trace-inputs .view=${this.view||void 0} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisPropertyChange=${e=>{e.stopPropagation(),e.detail.name==="mode"&&(this._mode=e.target.mode)}} ${c(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`)}renderInputFooter(){let{_mode:e}=this;return e==="add-spatial"?null:o`<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:t}}=this,r=t==="disabled"&&i!=null&&i!=="no-utility-network"?o`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>`:void 0;return o`<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!==void 0?o`${this.renderInputTab()}${this.renderResultsTab()}`:null}</calcite-tabs>${r}${this.activeTab==="input"?this.renderInputFooter():null}${this.activeTab==="results"?this.renderResultsFooter():null}</calcite-panel></div>`}};b("arcgis-utility-network-trace-analysis",l);return l},"widgets/UtilityNetworkTraceAnalysis/UtilityNetworkTraceAnalysisViewModel",e,g,i)
@@ -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.52 */
4
- import{a as h}from"./6VVIRNA6.js";import{G as r,H as c,I as u,J as l,O as d,b as a}from"./FCIWVZQQ.js";export default $arcgis.t(([{createReactiveMap:v},{watch:m},{substitute:F}])=>{var o=class extends u{constructor(){super(...arguments),this._associationFeaturesIntersectionObserver=new IntersectionObserver(([t])=>{t?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._associationFeaturesIntersectionObserverNode=r(),this._currentFeaturePage=1,this._increaseFeaturePage=()=>{let{state:t,showAllEnabled:e,associatedFeatureCount:i,featuresPerPage:s,currentFeaturePage:n}=this;t==="ready"&&e&&i>=s*n&&this.currentFeaturePage++},this._isFeatureCountNoticeOpen=!0,this.associationViewModels=new Map,this.featuresPerPage=50,this.maxFeatureCount=1e3,this.showAllEnabled=!1,this.state="ready",this.tooltipReferenceMap=v()}static{this.properties={associatedFeatureCount:32,associationViewModels:0,currentFeaturePage:9,featuresPerPage:9,maxFeatureCount:9,messages:0,parentFeatureViewModel:0,selectedLayer:0,showAllEnabled:5,state:1,tooltipReferenceMap:0}}get associatedFeatureCount(){let t=this.associationViewModels,e=this.selectedLayer?t.get(this.selectedLayer):null;return e?e.length:0}get currentFeaturePage(){return this._currentFeaturePage}set currentFeaturePage(t){let{featuresPerPage:e,associatedFeatureCount:i}=this,s=Math.ceil(i/e)||1,n=Math.max(Math.min(t,s),1);this._currentFeaturePage=n}loaded(){this.manager.onLifecycle(()=>[m(()=>[this.state,this.showAllEnabled,this._associationFeaturesIntersectionObserverNode],()=>{this._handleAssociationFeaturesObserverChange()},{initial:!0})])}getConnectivityTooltip(t){let{messages:e}=this;if(!e)return"";switch(t){case"connectivity":case"junction-junction-connectivity":return e.associationsJunctionJunction;case"junction-edge-from-connectivity":return e.associationsJunctionEdgeFrom;case"junction-edge-midspan-connectivity":return e.associationsJunctionEdgeMidspan;case"junction-edge-to-connectivity":return e.associationsJunctionEdgeTo;default:return""}}_handleAssociationFeaturesObserverChange(){this._unobserveAssociationFeaturesObserver();let{state:t,showAllEnabled:e}=this;this._associationFeaturesIntersectionObserverNode.value&&t==="ready"&&e&&this._associationFeaturesIntersectionObserver.observe(this._associationFeaturesIntersectionObserverNode.value)}_unobserveAssociationFeaturesObserver(){this._associationFeaturesIntersectionObserverNode.value&&this._associationFeaturesIntersectionObserver.unobserve(this._associationFeaturesIntersectionObserverNode.value)}_renderConnectivityIcon(t,e){let{tooltipReferenceMap:i}=this,s;switch(t){case"junction-edge-from-connectivity":s="connection-end-left";break;case"junction-edge-to-connectivity":s="connection-end-right";break;case"junction-edge-midspan-connectivity":s="connection-middle";break;case"connectivity":case"junction-junction-connectivity":default:s="connection-to-connection"}return a`<calcite-icon .icon=${s} @pointerover=${n=>{i.set(e,n.target)}} scale=s slot=content-start></calcite-icon>`}_renderFeatureCountWarning(){let{associatedFeatureCount:t,maxFeatureCount:e,messages:i}=this,s=F(i?.associationsLimitNoticeMessage??"",{number:e}),n=t>e,g=i?.associationsLimitNoticeTitle??"";return n?a`<calcite-notice class=${l(this._isFeatureCountNoticeOpen?"notice-container":"")} closable icon=information kind=info open scale=s width=full @calciteNoticeBeforeOpen=${()=>this._isFeatureCountNoticeOpen=!0} @calciteNoticeClose=${()=>this._isFeatureCountNoticeOpen=!1}><div slot=title>${g}</div><div slot=message>${s}</div></calcite-notice>`:null}_renderFeatureObserver(){return a`<div class="feature-observer" ${c(this._associationFeaturesIntersectionObserverNode)}></div>`}_renderLoading(){return h("loading-container",a`<div class="loading-container">${this._renderLoadingIcon()}</div>`)}_renderLoadingIcon(){let t=this.messages?.loading??"";return a`<calcite-loader inline .label=${t}></calcite-loader>`}};d("arcgis-utility-network-association-list",o);return o},"applications/Components/featureUtils","core/reactiveUtils","intl")
3
+ v5.0.0-next.54 */
4
+ import{a as h}from"./VVKH5OQN.js";import{G as r,H as c,I as u,J as l,O as d,b as a}from"./5NKHOYVJ.js";export default $arcgis.t(([{createReactiveMap:v},{watch:m},{substitute:F}])=>{var o=class extends u{constructor(){super(...arguments),this._associationFeaturesIntersectionObserver=new IntersectionObserver(([t])=>{t?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._associationFeaturesIntersectionObserverNode=r(),this._currentFeaturePage=1,this._increaseFeaturePage=()=>{let{state:t,showAllEnabled:e,associatedFeatureCount:i,featuresPerPage:s,currentFeaturePage:n}=this;t==="ready"&&e&&i>=s*n&&this.currentFeaturePage++},this._isFeatureCountNoticeOpen=!0,this.associationViewModels=new Map,this.featuresPerPage=50,this.maxFeatureCount=1e3,this.showAllEnabled=!1,this.state="ready",this.tooltipReferenceMap=v()}static{this.properties={associatedFeatureCount:32,associationViewModels:0,currentFeaturePage:9,featuresPerPage:9,maxFeatureCount:9,messages:0,parentFeatureViewModel:0,selectedLayer:0,showAllEnabled:5,state:1,tooltipReferenceMap:0}}get associatedFeatureCount(){let t=this.associationViewModels,e=this.selectedLayer?t.get(this.selectedLayer):null;return e?e.length:0}get currentFeaturePage(){return this._currentFeaturePage}set currentFeaturePage(t){let{featuresPerPage:e,associatedFeatureCount:i}=this,s=Math.ceil(i/e)||1,n=Math.max(Math.min(t,s),1);this._currentFeaturePage=n}loaded(){this.manager.onLifecycle(()=>[m(()=>[this.state,this.showAllEnabled,this._associationFeaturesIntersectionObserverNode],()=>{this._handleAssociationFeaturesObserverChange()},{initial:!0})])}getConnectivityTooltip(t){let{messages:e}=this;if(!e)return"";switch(t){case"connectivity":case"junction-junction-connectivity":return e.associationsJunctionJunction;case"junction-edge-from-connectivity":return e.associationsJunctionEdgeFrom;case"junction-edge-midspan-connectivity":return e.associationsJunctionEdgeMidspan;case"junction-edge-to-connectivity":return e.associationsJunctionEdgeTo;default:return""}}_handleAssociationFeaturesObserverChange(){this._unobserveAssociationFeaturesObserver();let{state:t,showAllEnabled:e}=this;this._associationFeaturesIntersectionObserverNode.value&&t==="ready"&&e&&this._associationFeaturesIntersectionObserver.observe(this._associationFeaturesIntersectionObserverNode.value)}_unobserveAssociationFeaturesObserver(){this._associationFeaturesIntersectionObserverNode.value&&this._associationFeaturesIntersectionObserver.unobserve(this._associationFeaturesIntersectionObserverNode.value)}_renderConnectivityIcon(t,e){let{tooltipReferenceMap:i}=this,s;switch(t){case"junction-edge-from-connectivity":s="connection-end-left";break;case"junction-edge-to-connectivity":s="connection-end-right";break;case"junction-edge-midspan-connectivity":s="connection-middle";break;case"connectivity":case"junction-junction-connectivity":default:s="connection-to-connection"}return a`<calcite-icon .icon=${s} @pointerover=${n=>{i.set(e,n.target)}} scale=s slot=content-start></calcite-icon>`}_renderFeatureCountWarning(){let{associatedFeatureCount:t,maxFeatureCount:e,messages:i}=this,s=F(i?.associationsLimitNoticeMessage??"",{number:e}),n=t>e,g=i?.associationsLimitNoticeTitle??"";return n?a`<calcite-notice class=${l(this._isFeatureCountNoticeOpen?"notice-container":"")} closable icon=information kind=info open scale=s width=full @calciteNoticeBeforeOpen=${()=>this._isFeatureCountNoticeOpen=!0} @calciteNoticeClose=${()=>this._isFeatureCountNoticeOpen=!1}><div slot=title>${g}</div><div slot=message>${s}</div></calcite-notice>`:null}_renderFeatureObserver(){return a`<div class="feature-observer" ${c(this._associationFeaturesIntersectionObserverNode)}></div>`}_renderLoading(){return h("loading-container",a`<div class="loading-container">${this._renderLoadingIcon()}</div>`)}_renderLoadingIcon(){let t=this.messages?.loading??"";return a`<calcite-loader inline .label=${t}></calcite-loader>`}};d("arcgis-utility-network-association-list",o);return o},"applications/Components/featureUtils","core/reactiveUtils","intl")
@@ -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.52 */
4
- import"./2H2IBEZG.js";var r={firstDayOfWeek:1,_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:"yyyy-MM-dd",_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:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"\u044F\u043D\u0443\u0430\u0440\u0438",February:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0439",June:"\u044E\u043D\u0438",July:"\u044E\u043B\u0438",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",October:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",November:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",December:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Jan:"\u044F\u043D\u0443\u0430\u0440\u0438",Feb:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",Mar:"\u043C\u0430\u0440\u0442",Apr:"\u0430\u043F\u0440\u0438\u043B","May (short)":"\u043C\u0430\u0439",Jun:"\u044E\u043D\u0438",Jul:"\u044E\u043B\u0438",Aug:"\u0430\u0432\u0433\u0443\u0441\u0442",Sep:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",Oct:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",Nov:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",Dec:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Sunday:"\u043D\u0435\u0434\u0435\u043B\u044F",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A",Tuesday:"\u0432\u0442\u043E\u0440\u043D\u0438\u043A",Wednesday:"\u0441\u0440\u044F\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A",Friday:"\u043F\u0435\u0442\u044A\u043A",Saturday:"\u0441\u044A\u0431\u043E\u0442\u0430",Sun:"\u043D\u0434",Mon:"\u043F\u043D",Tues:"\u0432\u0442",Wed:"\u0441\u0440",Thu:"\u0447\u0442",Fri:"\u043F\u0442",Sat:"\u0441\u0431",_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":"\u041E\u0442\u0434\u0430\u043B\u0435\u0447\u0430\u0432\u0430\u043D\u0435",Play:"",Stop:"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","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:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","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":"\u041E\u0442 %1 \u0434\u043E %2","From %1":"\u041E\u0442 %1","To %1":"\u0414\u043E %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.54 */
4
+ import"./Z3QEJG4C.js";var r={firstDayOfWeek:1,_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:"yyyy-MM-dd",_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:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"\u044F\u043D\u0443\u0430\u0440\u0438",February:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0439",June:"\u044E\u043D\u0438",July:"\u044E\u043B\u0438",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",October:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",November:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",December:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Jan:"\u044F\u043D\u0443\u0430\u0440\u0438",Feb:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",Mar:"\u043C\u0430\u0440\u0442",Apr:"\u0430\u043F\u0440\u0438\u043B","May (short)":"\u043C\u0430\u0439",Jun:"\u044E\u043D\u0438",Jul:"\u044E\u043B\u0438",Aug:"\u0430\u0432\u0433\u0443\u0441\u0442",Sep:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",Oct:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",Nov:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",Dec:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Sunday:"\u043D\u0435\u0434\u0435\u043B\u044F",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A",Tuesday:"\u0432\u0442\u043E\u0440\u043D\u0438\u043A",Wednesday:"\u0441\u0440\u044F\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A",Friday:"\u043F\u0435\u0442\u044A\u043A",Saturday:"\u0441\u044A\u0431\u043E\u0442\u0430",Sun:"\u043D\u0434",Mon:"\u043F\u043D",Tues:"\u0432\u0442",Wed:"\u0441\u0440",Thu:"\u0447\u0442",Fri:"\u043F\u0442",Sat:"\u0441\u0431",_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":"\u041E\u0442\u0434\u0430\u043B\u0435\u0447\u0430\u0432\u0430\u043D\u0435",Play:"",Stop:"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","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:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","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":"\u041E\u0442 %1 \u0434\u043E %2","From %1":"\u041E\u0442 %1","To %1":"\u0414\u043E %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.52 */
4
- import{a as r,b as p,c as v}from"./ZCODNWNS.js";import{a as y}from"./RPMFWSFR.js";import b from"./BUW2FDJS.js";import{e as l}from"./E3ZUOBMW.js";import"./7JWIOEDF.js";import{G as s,H as t,I as c,J as a,O as m,a as h,b as e,s as n}from"./FCIWVZQQ.js";import"./2H2IBEZG.js";export default $arcgis.t(([{watch:f},w,{b:d}])=>{var u=h`:host{width:100%;height:100%}`,g=d(w,{omitProps:["container","navigation","scale","ui"]}),o=class extends c{constructor(){super(),this._containerRef=s(),this._direction=l(),this._mapRef=s(),this.autoDestroyDisabled=!1,this.view=g(this),this.ready=this.view.ready,this.layer=this.view.layer,this.map=this.view.map,this.arcgisViewReadyChange=n()}static{this.properties={autoDestroyDisabled:5,view:32,aria:0,ready:4,layer:0,map:0}}static{this.styles=[y,v,u]}get aria(){return this.view?.aria}set aria(i){this.view&&(this.view.aria=i)}async destroy(){await this.manager.destroy()}loaded(){let i=this;i.el.childElem=this._mapRef.value,this.view.container??=i.el.childElem,this.manager.onLifecycle(()=>[f(()=>this.layer,()=>{this.layer&&this.view&&(this.view.layer=this.layer,this.layer.loaded||this.layer.load())},{initial:!0}),f(()=>this.view.ready,()=>{this.view.ready&&this.arcgisViewReadyChange.emit()},{initial:this.view.ready})])}renderMain(){return e`<div class=${a(r.base)} ${t(this._mapRef)}></div>`}render(){return e`<section class=${a(r.containerUI)} ${t(this._containerRef)}>${p(this._direction)}</section>${this.renderMain()}`}};m("arcgis-video",o);return o},"core/reactiveUtils","views/VideoView",b)
3
+ v5.0.0-next.54 */
4
+ import{a as r,b as p,c as v}from"./QVY5OC5S.js";import{a as y}from"./RB5XG3IA.js";import b from"./ROB34FE5.js";import{e as l}from"./ZYZYLI2S.js";import"./YV7JWZSM.js";import{G as s,H as t,I as c,J as a,O as m,a as h,b as e,s as n}from"./5NKHOYVJ.js";import"./Z3QEJG4C.js";export default $arcgis.t(([{watch:f},w,{b:d}])=>{var u=h`:host{width:100%;height:100%}`,g=d(w,{omitProps:["container","navigation","scale","ui"]}),o=class extends c{constructor(){super(),this._containerRef=s(),this._direction=l(),this._mapRef=s(),this.autoDestroyDisabled=!1,this.view=g(this),this.ready=this.view.ready,this.layer=this.view.layer,this.map=this.view.map,this.arcgisViewReadyChange=n()}static{this.properties={autoDestroyDisabled:5,view:32,aria:0,ready:4,layer:0,map:0}}static{this.styles=[y,v,u]}get aria(){return this.view?.aria}set aria(i){this.view&&(this.view.aria=i)}async destroy(){await this.manager.destroy()}loaded(){let i=this;i.el.childElem=this._mapRef.value,this.view.container??=i.el.childElem,this.manager.onLifecycle(()=>[f(()=>this.layer,()=>{this.layer&&this.view&&(this.view.layer=this.layer,this.layer.loaded||this.layer.load())},{initial:!0}),f(()=>this.view.ready,()=>{this.view.ready&&this.arcgisViewReadyChange.emit()},{initial:this.view.ready})])}renderMain(){return e`<div class=${a(r.base)} ${t(this._mapRef)}></div>`}render(){return e`<section class=${a(r.containerUI)} ${t(this._containerRef)}>${p(this._direction)}</section>${this.renderMain()}`}};m("arcgis-video",o);return o},"core/reactiveUtils","views/VideoView",b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.52 */
4
- import{a as k}from"./YAHDW4JC.js";import d from"./SZUAXG7O.js";import"./WRT3P54X.js";import c from"./Y4MDGVT6.js";import{a as L}from"./Z7HTGE2N.js";import{a as U}from"./QJTIEN3F.js";import b from"./BUW2FDJS.js";import a from"./NFOWK6J6.js";import{g as N}from"./E3ZUOBMW.js";import"./BDZ5TL6N.js";import{b as T}from"./7JWIOEDF.js";import{G as S,H as C,I as P,J as v,L as x,O,a as M,b as m,s as g}from"./FCIWVZQQ.js";import"./2H2IBEZG.js";export default $arcgis.t(([{watch:b},{property:n,subclass:Q},h,{onLocaleChange:X},Z,Y,$,H,ee,te,f,I,{geographicToWebMercator:oe},ie,{project:re},ae,,,R,{a:D,c:w}])=>{var se=M`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}`,z=!1,ne={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function ce(){let t="geolocation"in navigator;return t||console.warn("geolocation-unsupported","Geolocation unsupported."),t}function le(){let t=window.isSecureContext;return t||z||(z=!0,console.warn("insecure-context","Geolocation requires a secure origin.")),t}function pe(){return ce()&&le()}function de(t){return t??=ne,new Promise((e,o)=>{setTimeout(()=>o(new h("geolocation:timeout","getting the current geolocation position timed out")),t?.timeout??15e3),navigator.geolocation.getCurrentPosition(e,o,t??void 0)})}function he(t,e){let{position:o,view:r}=t,i=ue(o)?.coords;if(!i)throw new h("geometry-service:no-coords","Geolocation has no coordinates");let a=me(i);return ge(a,r,e)}function ue(t){let e=t?.coords||{},o={accuracy:e.accuracy,altitude:e.altitude,altitudeAccuracy:e.altitudeAccuracy,heading:e.heading,latitude:e.latitude,longitude:e.longitude,speed:e.speed,toJSON(){return{}}};return t&&{coords:o,timestamp:t.timestamp,toJSON(){return{}}}}function me({longitude:t,latitude:e,altitude:o}){return new te({longitude:t,latitude:e,z:o||void 0,spatialReference:{wkid:4326}})}async function ge(t,e,o){if(!e)return await Promise.resolve(t);let r=e.spatialReference;return r.isWGS84?await Promise.resolve(t):r.isWebMercator?await Promise.resolve(oe(t)):f.isLoaded()?await Promise.resolve(f.execute(t,r)):await fe(o).then(async i=>{if(!i)throw new h("geometry-service:missing-url","Geometry service URL is missing");let a=new ae({geometries:[t],outSpatialReference:r});return(await re(i,a,o))[0]})}async function fe(t){if(I.geometryServiceUrl)return await Promise.resolve(I.geometryServiceUrl);let e=ie.getDefault();try{await e.load(t)}catch{}return e.helperServices?.geometry?.url}var ye=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,p=(t,e,o,r)=>{for(var i=r>1?void 0:r?ve(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&ye(e,o,i),i},we=2500;function K(t){let e={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:t==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:t==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:t==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return t==="background"&&(e.offsetX=0,e.offsetY=-1),e}var V={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},be=K("layer"),Ae=K("background"),Ee=new ee({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[be,Ae,V],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),c=class extends ${constructor(){super(...arguments),this._geolocationUsable=!0,this.goToLocationEnabled=!0,this.graphic=new H({symbol:Ee}),this.rotationEnabled=!0}initialize(){pe()||(this._geolocationUsable=!1),this.addHandles([b(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=void 0}_clearGraphic(){let{view:t,graphic:e}=this;t&&e&&t.graphics.remove(e)}_addGraphic(){let{view:t,graphic:e}=this;!t?.graphics||!e||t.graphics.includes(e)||t.graphics.push(e)}_handleViewTypeChange(){V.enable=this.view?.type==="2d"}_getScaleWithinConstraints(t,e){if(!e)return t;if(e.type==="2d"){let{effectiveMaxScale:o,effectiveMinScale:r}=e.constraints;return Math.min(r,Math.max(o,t))}return t}_getScale(t){let{scale:e}=this,o=typeof e=="number"?e:we;return this._getScaleWithinConstraints(o,t)}_getHeading(t,e){let o=e?.spatialReference,r=o?.isWebMercator||o?.isGeographic,i=t.coords?.heading;return!r||typeof i!="number"||Number.isNaN(i)||i<0||i>360?null:i}_addHeading(t){let{heading:e,target:o,view:r}=t;if(!(!r||e===null)){if(r.type==="3d"){o.heading=e;return}r.type==="2d"&&(o.rotation=360-e)}}async _animatePoint(t,e,o,r){let{view:i}=this;if(!this.goToLocationEnabled||!i)return;let a={target:t,scale:e};this.rotationEnabled&&this._addHeading({heading:o,target:a,view:i});let s={signal:r.signal};D(s),this.goToOverride&&i&&this.goToOverride(i,{target:a,options:s}),await i.goTo(a,s)}async updatePosition(t,e){try{let o=this.view,r=await he({position:t,view:o},{signal:e.signal}),{graphic:i}=this,{timestamp:a,coords:s}=t,{accuracy:y,altitude:u,altitudeAccuracy:J,latitude:j,longitude:q,speed:_}=s,E=this._getHeading(t,o),W={timestamp:a,accuracy:y,altitude:u,altitudeAccuracy:J,heading:E,latitude:j,longitude:q,speed:_};i&&(i.geometry=r,i.attributes=W);let B=this._getScale(o);await this._animatePoint(r,B,E,e)}catch(o){if(!w(o))throw new h("geolocation-positioning:invalid-point","Cannot position invalid point",{error:o})}return t}};p([n()],c.prototype,"_geolocationUsable",2);p([n()],c.prototype,"geolocationOptions",2);p([n()],c.prototype,"goToLocationEnabled",2);p([n()],c.prototype,"goToOverride",2);p([n({type:H})],c.prototype,"graphic",2);p([n()],c.prototype,"scale",2);p([n()],c.prototype,"rotationEnabled",2);p([n()],c.prototype,"view",2);c=p([Q("map-components.geolocation.GeolocationPositioning")],c);var Me=Object.defineProperty,Se=Object.getOwnPropertyDescriptor,d=(t,e,o,r)=>{for(var i=r>1?void 0:r?Se(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&Me(e,o,i),i},Ce=new Y({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}",className:"esri-icon-trash"});function Pe(t){return new Z({title:t.currentLocation,fieldInfos:[{fieldName:"timestamp",label:t.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:t.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:t.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:t.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:t.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:t.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:t.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:t.speed,format:{places:0,digitSeparator:!0}}],actions:[Ce.clone()],content:[{type:"fields"}]})}var l=class extends c{constructor(t){super(t),this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([X(()=>{let{graphic:t,view:e}=this;t&&e?.graphics?.includes(t)&&this._updatePopupTemplate(t)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new h("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new h("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let t=new AbortController;this._locateController=t,this.error=void 0;try{let e=await de(this.geolocationOptions);if(await this.updatePosition(e,t),this._locateController!==t)return null;let{graphic:o}=this;return o&&this._updatePopupTemplate(o),this._addGraphic(),this.currentPosition=e,this._locateController=void 0,e}catch(e){if(w(e))return null;throw t===this._locateController&&(this._locateController=void 0),this.error=e,e}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=void 0}_updatePopupTemplate(t){if(!this.popupEnabled)return;let e=Pe(this.messages),o=t!==this.graphic;this.destroyed||o||(t.popupTemplate=e)}};d([n()],l.prototype,"_locateController",2);d([n()],l.prototype,"currentPosition",2);d([n()],l.prototype,"error",2);d([n()],l.prototype,"messages",2);d([n()],l.prototype,"popupEnabled",2);d([n({readOnly:!0})],l.prototype,"state",1);l=d([Q("map-components.locate.LocateViewModel")],l);var F={base:"locate",button:"arcgis-button"},G="gps-off",xe=R(l),A=class extends P{constructor(){super(),this.locateButtonElement=S(),this.messages=L(),this.viewModel=xe(this),this.hideErrorTooltip=()=>{this.isErrorTooltipOpen=!1},this.isErrorTooltipOpen=!1,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=G,this.popupDisabled=this.viewModel.popupEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=g(),this.arcgisPropertyChange=N()("state"),this.arcgisReady=g(),this.arcgisSuccess=g(),this.listenOn(document,"click",this.hideErrorTooltip)}static{this.properties={isErrorTooltipOpen:16,view:0,autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:1,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.styles=se}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[b(()=>this.viewModel.error,e=>{this.isErrorTooltipOpen=!!e,this.arcgisError.emit({error:e})}),b(()=>this.viewModel.currentPosition,e=>{this.arcgisSuccess.emit({position:e})})])}_localizeError(e){if(e instanceof GeolocationPositionError)return e.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:e.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(e instanceof Error)return e.message}_locate(){let{viewModel:e}=this;e.state==="locating"?e.cancelLocate():e.locate().catch(()=>{})}render(){let{viewModel:e,icon:o}=this,{state:r}=e,i=r==="locating",a=i?this.messages.cancel:this.messages.title,s=r==="feature-unsupported",y=k===void 0?G:void 0,u=this._localizeError(this.viewModel?.error);return m`<div class=${v(T(F.base,F.button))}>${!s&&m`<calcite-button class=${v(U.widgetButton)} .disabled=${r==="disabled"} .loading=${i} .iconStart=${i?void 0:o??y} kind=neutral .label=${a} @click=${this._locate} title=${a??x} ${C(this.locateButtonElement)}></calcite-button>`||""}${u?m`<calcite-tooltip .open=${this.isErrorTooltipOpen} overlay-positioning=fixed .referenceElement=${this.locateButtonElement.value}>${u}</calcite-tooltip>`:null}</div>`}};O("arcgis-locate",A);return A},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton","core/Accessor","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",a,b,c,d)
3
+ v5.0.0-next.54 */
4
+ import{a as k}from"./KPKOA75G.js";import d from"./MO7D2VPY.js";import"./JFTHSYH7.js";import c from"./JH6EJLET.js";import{a as L}from"./ESWTSM2N.js";import{a as U}from"./RUAGHCCC.js";import b from"./ROB34FE5.js";import a from"./NLRJNKNL.js";import{g as N}from"./ZYZYLI2S.js";import"./XZ5E4GGR.js";import{b as T}from"./YV7JWZSM.js";import{G as S,H as C,I as P,J as v,L as x,O,a as M,b as m,s as g}from"./5NKHOYVJ.js";import"./Z3QEJG4C.js";export default $arcgis.t(([{watch:b},{property:n,subclass:Q},h,{onLocaleChange:X},Z,Y,$,H,ee,te,f,I,{geographicToWebMercator:oe},ie,{project:re},ae,,,R,{a:D,c:w}])=>{var se=M`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}`,z=!1,ne={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function ce(){let t="geolocation"in navigator;return t||console.warn("geolocation-unsupported","Geolocation unsupported."),t}function le(){let t=window.isSecureContext;return t||z||(z=!0,console.warn("insecure-context","Geolocation requires a secure origin.")),t}function pe(){return ce()&&le()}function de(t){return t??=ne,new Promise((e,o)=>{setTimeout(()=>o(new h("geolocation:timeout","getting the current geolocation position timed out")),t?.timeout??15e3),navigator.geolocation.getCurrentPosition(e,o,t??void 0)})}function he(t,e){let{position:o,view:r}=t,i=ue(o)?.coords;if(!i)throw new h("geometry-service:no-coords","Geolocation has no coordinates");let a=me(i);return ge(a,r,e)}function ue(t){let e=t?.coords||{},o={accuracy:e.accuracy,altitude:e.altitude,altitudeAccuracy:e.altitudeAccuracy,heading:e.heading,latitude:e.latitude,longitude:e.longitude,speed:e.speed,toJSON(){return{}}};return t&&{coords:o,timestamp:t.timestamp,toJSON(){return{}}}}function me({longitude:t,latitude:e,altitude:o}){return new te({longitude:t,latitude:e,z:o||void 0,spatialReference:{wkid:4326}})}async function ge(t,e,o){if(!e)return await Promise.resolve(t);let r=e.spatialReference;return r.isWGS84?await Promise.resolve(t):r.isWebMercator?await Promise.resolve(oe(t)):f.isLoaded()?await Promise.resolve(f.execute(t,r)):await fe(o).then(async i=>{if(!i)throw new h("geometry-service:missing-url","Geometry service URL is missing");let a=new ae({geometries:[t],outSpatialReference:r});return(await re(i,a,o))[0]})}async function fe(t){if(I.geometryServiceUrl)return await Promise.resolve(I.geometryServiceUrl);let e=ie.getDefault();try{await e.load(t)}catch{}return e.helperServices?.geometry?.url}var ye=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,p=(t,e,o,r)=>{for(var i=r>1?void 0:r?ve(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&ye(e,o,i),i},we=2500;function K(t){let e={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:t==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:t==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:t==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return t==="background"&&(e.offsetX=0,e.offsetY=-1),e}var V={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},be=K("layer"),Ae=K("background"),Ee=new ee({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[be,Ae,V],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),c=class extends ${constructor(){super(...arguments),this._geolocationUsable=!0,this.goToLocationEnabled=!0,this.graphic=new H({symbol:Ee}),this.rotationEnabled=!0}initialize(){pe()||(this._geolocationUsable=!1),this.addHandles([b(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=void 0}_clearGraphic(){let{view:t,graphic:e}=this;t&&e&&t.graphics.remove(e)}_addGraphic(){let{view:t,graphic:e}=this;!t?.graphics||!e||t.graphics.includes(e)||t.graphics.push(e)}_handleViewTypeChange(){V.enable=this.view?.type==="2d"}_getScaleWithinConstraints(t,e){if(!e)return t;if(e.type==="2d"){let{effectiveMaxScale:o,effectiveMinScale:r}=e.constraints;return Math.min(r,Math.max(o,t))}return t}_getScale(t){let{scale:e}=this,o=typeof e=="number"?e:we;return this._getScaleWithinConstraints(o,t)}_getHeading(t,e){let o=e?.spatialReference,r=o?.isWebMercator||o?.isGeographic,i=t.coords?.heading;return!r||typeof i!="number"||Number.isNaN(i)||i<0||i>360?null:i}_addHeading(t){let{heading:e,target:o,view:r}=t;if(!(!r||e===null)){if(r.type==="3d"){o.heading=e;return}r.type==="2d"&&(o.rotation=360-e)}}async _animatePoint(t,e,o,r){let{view:i}=this;if(!this.goToLocationEnabled||!i)return;let a={target:t,scale:e};this.rotationEnabled&&this._addHeading({heading:o,target:a,view:i});let s={signal:r.signal};D(s),this.goToOverride&&i&&this.goToOverride(i,{target:a,options:s}),await i.goTo(a,s)}async updatePosition(t,e){try{let o=this.view,r=await he({position:t,view:o},{signal:e.signal}),{graphic:i}=this,{timestamp:a,coords:s}=t,{accuracy:y,altitude:u,altitudeAccuracy:J,latitude:j,longitude:q,speed:_}=s,E=this._getHeading(t,o),W={timestamp:a,accuracy:y,altitude:u,altitudeAccuracy:J,heading:E,latitude:j,longitude:q,speed:_};i&&(i.geometry=r,i.attributes=W);let B=this._getScale(o);await this._animatePoint(r,B,E,e)}catch(o){if(!w(o))throw new h("geolocation-positioning:invalid-point","Cannot position invalid point",{error:o})}return t}};p([n()],c.prototype,"_geolocationUsable",2);p([n()],c.prototype,"geolocationOptions",2);p([n()],c.prototype,"goToLocationEnabled",2);p([n()],c.prototype,"goToOverride",2);p([n({type:H})],c.prototype,"graphic",2);p([n()],c.prototype,"scale",2);p([n()],c.prototype,"rotationEnabled",2);p([n()],c.prototype,"view",2);c=p([Q("map-components.geolocation.GeolocationPositioning")],c);var Me=Object.defineProperty,Se=Object.getOwnPropertyDescriptor,d=(t,e,o,r)=>{for(var i=r>1?void 0:r?Se(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&Me(e,o,i),i},Ce=new Y({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}",className:"esri-icon-trash"});function Pe(t){return new Z({title:t.currentLocation,fieldInfos:[{fieldName:"timestamp",label:t.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:t.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:t.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:t.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:t.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:t.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:t.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:t.speed,format:{places:0,digitSeparator:!0}}],actions:[Ce.clone()],content:[{type:"fields"}]})}var l=class extends c{constructor(t){super(t),this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([X(()=>{let{graphic:t,view:e}=this;t&&e?.graphics?.includes(t)&&this._updatePopupTemplate(t)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new h("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new h("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let t=new AbortController;this._locateController=t,this.error=void 0;try{let e=await de(this.geolocationOptions);if(await this.updatePosition(e,t),this._locateController!==t)return null;let{graphic:o}=this;return o&&this._updatePopupTemplate(o),this._addGraphic(),this.currentPosition=e,this._locateController=void 0,e}catch(e){if(w(e))return null;throw t===this._locateController&&(this._locateController=void 0),this.error=e,e}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=void 0}_updatePopupTemplate(t){if(!this.popupEnabled)return;let e=Pe(this.messages),o=t!==this.graphic;this.destroyed||o||(t.popupTemplate=e)}};d([n()],l.prototype,"_locateController",2);d([n()],l.prototype,"currentPosition",2);d([n()],l.prototype,"error",2);d([n()],l.prototype,"messages",2);d([n()],l.prototype,"popupEnabled",2);d([n({readOnly:!0})],l.prototype,"state",1);l=d([Q("map-components.locate.LocateViewModel")],l);var F={base:"locate",button:"arcgis-button"},G="gps-off",xe=R(l),A=class extends P{constructor(){super(),this.locateButtonElement=S(),this.messages=L(),this.viewModel=xe(this),this.hideErrorTooltip=()=>{this.isErrorTooltipOpen=!1},this.isErrorTooltipOpen=!1,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=G,this.popupDisabled=this.viewModel.popupEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=g(),this.arcgisPropertyChange=N()("state"),this.arcgisReady=g(),this.arcgisSuccess=g(),this.listenOn(document,"click",this.hideErrorTooltip)}static{this.properties={isErrorTooltipOpen:16,view:0,autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:1,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.styles=se}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[b(()=>this.viewModel.error,e=>{this.isErrorTooltipOpen=!!e,this.arcgisError.emit({error:e})}),b(()=>this.viewModel.currentPosition,e=>{this.arcgisSuccess.emit({position:e})})])}_localizeError(e){if(e instanceof GeolocationPositionError)return e.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:e.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(e instanceof Error)return e.message}_locate(){let{viewModel:e}=this;e.state==="locating"?e.cancelLocate():e.locate().catch(()=>{})}render(){let{viewModel:e,icon:o}=this,{state:r}=e,i=r==="locating",a=i?this.messages.cancel:this.messages.title,s=r==="feature-unsupported",y=k===void 0?G:void 0,u=this._localizeError(this.viewModel?.error);return m`<div class=${v(T(F.base,F.button))}>${!s&&m`<calcite-button class=${v(U.widgetButton)} .disabled=${r==="disabled"} .loading=${i} .iconStart=${i?void 0:o??y} kind=neutral .label=${a} @click=${this._locate} title=${a??x} ${C(this.locateButtonElement)}></calcite-button>`||""}${u?m`<calcite-tooltip .open=${this.isErrorTooltipOpen} overlay-positioning=fixed .referenceElement=${this.locateButtonElement.value}>${u}</calcite-tooltip>`:null}</div>`}};O("arcgis-locate",A);return A},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton","core/Accessor","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",a,b,c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.52 */
4
- import"./2H2IBEZG.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:"d.Hr.",_era_bc:"\xEE.Hr.",A:"a.m.",P:"p.m.",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"ianuarie",February:"februarie",March:"martie",April:"aprilie",May:"mai",June:"iunie",July:"iulie",August:"august",September:"septembrie",October:"octombrie",November:"noiembrie",December:"decembrie",Jan:"ian.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"iun.",Jul:"iul.",Aug:"aug.",Sep:"sept.",Oct:"oct.",Nov:"nov.",Dec:"dec.",Sunday:"duminic\u0103",Monday:"luni",Tuesday:"mar\u021Bi",Wednesday:"miercuri",Thursday:"joi",Friday:"vineri",Saturday:"s\xE2mb\u0103t\u0103",Sun:"dum.",Mon:"lun.",Tue:"mar.",Wed:"mie.",Thu:"joi",Fri:"vin.",Sat:"s\xE2m.",_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":"Zoom",Play:"Redare",Stop:"Oprire",Legend:"Legend\u0103","Press ENTER to toggle":"",Loading:"Se \xEEncarc\u0103",Home:"Pagina principal\u0103",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:"Imprimare",Image:"Imagine",Data:"Date",Print:"Imprimare","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":"Din %1 la %2","From %1":"Din %1","To %1":"La %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.54 */
4
+ import"./Z3QEJG4C.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:"d.Hr.",_era_bc:"\xEE.Hr.",A:"a.m.",P:"p.m.",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"ianuarie",February:"februarie",March:"martie",April:"aprilie",May:"mai",June:"iunie",July:"iulie",August:"august",September:"septembrie",October:"octombrie",November:"noiembrie",December:"decembrie",Jan:"ian.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"iun.",Jul:"iul.",Aug:"aug.",Sep:"sept.",Oct:"oct.",Nov:"nov.",Dec:"dec.",Sunday:"duminic\u0103",Monday:"luni",Tuesday:"mar\u021Bi",Wednesday:"miercuri",Thursday:"joi",Friday:"vineri",Saturday:"s\xE2mb\u0103t\u0103",Sun:"dum.",Mon:"lun.",Tue:"mar.",Wed:"mie.",Thu:"joi",Fri:"vin.",Sat:"s\xE2m.",_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":"Zoom",Play:"Redare",Stop:"Oprire",Legend:"Legend\u0103","Press ENTER to toggle":"",Loading:"Se \xEEncarc\u0103",Home:"Pagina principal\u0103",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:"Imprimare",Image:"Imagine",Data:"Date",Print:"Imprimare","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":"Din %1 la %2","From %1":"Din %1","To %1":"La %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.52 */
4
- import{a as x}from"./Z7HTGE2N.js";import"./E3ZUOBMW.js";import"./7JWIOEDF.js";import{I as v,J as g,O as T,a as $,b as d,s as y}from"./FCIWVZQQ.js";import"./2H2IBEZG.js";export default $arcgis.t(([S,G,A,P,{SimpleMarkerSymbol:_},u,I,b])=>{var F=$`.arcgis-utility-network-trace-location calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-location calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-location__add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.arcgis-utility-network-trace-location__button-container{justify-content:center;display:grid}.arcgis-utility-network-trace-location__clear-button{--calcite-button-border-color: transparent}`,f="arcgis-utility-network-trace-location",m={base:f,buttonContainer:`${f}__button-container`,clearButton:`${f}__clear-button`,addLocationButton:`${f}__add-location-button`},s="map-components:utility-network-trace-location",L=class extends v{constructor(){super(...arguments),this.messages=x({blocking:!0}),this.traceLocationType="starting-point",this.spatialTolerance=.05,this.arcgisTraceLocationChange=y(),this.arcgisTraceLocationSelectEnd=y(),this.arcgisTraceLocationSelectStart=y()}static{this.properties={view:0,traceLocationType:1,traceLocations:0,filterLayers:0,sketchViewModel:0,flagLayer:0,spatialTolerance:9,utilityNetwork:0}}static{this.styles=F}async load(){u.isLoaded()||await u.load()}_createPolyline(t,e){return new S({hasZ:!1,hasM:!0,paths:t,spatialReference:new G({wkid:e})})}_calculatePercentAlong(t,e){let a=t.spatialReference,r=this._createPolyline(t.paths,a.wkid),o=e.x-.5,i=e.x+.5,n=e.y-.5,c=e.y+.5,l=[[[o,n],[i,c]]],w=this._createPolyline(l,e.spatialReference.wkid),p=u.execute(w,a);if(!p)return console.error(`${s} - Unable to project flag geometry to source geometry spatial reference.`),.5;let h=I.execute(r,p);if(h.length>0){let C=b.execute(r,{unit:"feet"}),k;return h[0].paths[0][0][0]===r.paths[0][0][0]?k=b.execute(h[0],{unit:"feet"}):k=b.execute(h[1],{unit:"feet"}),k/C}return console.warn(`${s} - Unable to cut the source geometry with the flag geometry.`),.5}async _ensureNecessaryAttributes(t){let e=(t.layer?.type,t.layer),a=e.fieldsIndex?.get("assetgroup")??!1,r=e.fieldsIndex?.get("assetgroup")?.name??"assetgroup",o=e.fieldsIndex?.get("assettype")??!1,i=e.fieldsIndex?.get("assettype")?.name??"assettype",n=t.getGlobalId(),c=t.getObjectId(),l=a?!!t.getAttribute(r):!0,w=o?!!t.getAttribute(i):!0;if(n&&c&&l&&w)return t;let p=e.createQuery();return p.objectIds=[c],(await e.queryFeatures(p))?.features[0]||null}async _ensureNecessaryAttributesAndGenerateTraceLocation(t,e){let{view:a}=this;if(!a||t.length===0){console.log(`${s} - No view or results to process.`);return}let r=t[0].graphic,o=await this._ensureNecessaryAttributes(r);if(!o){console.error(`${s} - Unable to get necessary attributes for trace location.`);return}this._generateTraceLocation(o,e)}_createFlagSymbol(){let{traceLocationType:t}=this,e=[244,21,21,.6],a=[21,244,21,.6];return t==="stopping-point"?new _({color:e,style:"x",size:12,outline:{color:e,width:2}}):t==="barrier"?new _({color:e,style:"square",size:12,outline:{color:e,width:0}}):new _({color:a,style:"circle",size:12,outline:{color:a,width:0}})}_addFlagGraphic(t,e,a){let{flagLayer:r,view:o}=this;if(!r||!o)return console.error(`${s} - Flag layer or view is not available.`),null;let i=e.geometry?.type;if(this.traceLocations?.some(l=>l.traceLocation.globalId===t)&&i!=="polyline")return console.warn(`${s} - A flag with the same globalId already exists.`),null;let n=this._createFlagSymbol(),c=new P({geometry:a,symbol:n,attributes:e.attributes});return r.add(c),c}async _generateItemTitle(t){let{messages:e}=this,a=(t.layer?.type,t.layer);return("getFeatureTitle"in a?await a.getFeatureTitle(t):null)||t?.getObjectId()?.toString()||e.labels.unknown}async _generateFlagInfo(t,e){let{traceLocationType:a,utilityNetwork:r}=this,o=t.getGlobalId()??"",i=t.geometry?.type,n=await this._generateItemTitle(t);if(i==="point"||i==="polygon"){let c=r?.getTerminalConfiguration(t),l=c?c.terminals[0].id:1;return{traceLocation:new A({type:a,isFilterBarrier:!1,globalId:o,terminalId:l}),flagProperties:{title:n,expanded:!1,terminalConfiguration:c??void 0,selectedTerminals:c?new Set([l]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(i==="polyline"){let c=this._calculatePercentAlong(t.geometry,e);return{traceLocation:new A({type:a,isFilterBarrier:!1,globalId:o,percentAlong:c}),flagProperties:{title:n,expanded:!1},spatialProperties:{mapPoint:e,mapGraphic:t}}}return null}async _generateTraceLocation(t,e){let{traceLocations:a}=this,r=t.getGlobalId()??"",o=t.geometry?.type,i=await this._generateFlagInfo(t,e);if(!i){console.error(`${s} - Unable to generate flag info for trace location.`);return}let n=a?.filter(c=>c.spatialProperties.mapGraphic?.getGlobalId()===r)??[];if(n.length===0||o==="polyline"){if(o==="polyline"&&n.length>0&&n.some(l=>Math.abs(l.traceLocation.percentAlong-i.traceLocation.percentAlong)<=this.spatialTolerance)){console.warn(`${s} - A flag with the same globalId already exists within tolerance.`);return}let c=this._addFlagGraphic(r,t,e);if(!c){console.warn(`${s} - Unable to add flag graphic.`);return}i.spatialProperties.flagGraphic=c,a?.add(i);return}console.warn(`${s} - A flag with the same globalId already exists.`)}async _hitTest(t){let{view:e,utilityNetwork:a}=this;if(!e||!a){console.error(`${s} - View or utility network is not available for hit test.`);return}let r=t.graphic?.geometry,o=this.view?.toScreen(r);if(!o){console.warn(`${s} - No screen point available for hit test.`);return}let i=(await e.hitTest(o,{include:this.filterLayers})).results.filter(n=>n.type==="graphic"&&n?.layer&&n.graphic);if(i.length===0){console.log(`${s} - No usable hit test results found.`);return}this._ensureNecessaryAttributesAndGenerateTraceLocation(i,r)}_resetAfterSketch(){let{view:t}=this;if(!t){console.error(`${s} - View is not available to reset after sketch.`);return}this._clickHandler?.remove(),this._clickHandler=void 0,"acquireCursor"in t&&t.acquireCursor("default"),this.arcgisTraceLocationSelectEnd.emit()}_handleSketchComplete(t){let{sketchViewModel:e,view:a}=this;if(!e||!a){console.error(`${s} - SketchViewModel or view is not available on sketch complete.`);return}t.state==="complete"&&t.graphic&&(e.layer.remove(t.graphic),this._hitTest(t)),(t.state==="cancel"||t.state==="complete")&&this._resetAfterSketch()}_handleAddButtonClick(){let{view:t,sketchViewModel:e}=this;t&&e&&(this._clickHandler?.remove(),this._clickHandler=e.on("create",this._handleSketchComplete.bind(this)),"acquireCursor"in t&&t.acquireCursor("crosshair"),this.sketchViewModel?.create("point"),this.arcgisTraceLocationSelectStart.emit())}_handleClearButtonClick(){let{flagLayer:t,traceLocations:e}=this;e?.forEach(a=>{a.spatialProperties.flagGraphic&&t&&t.remove(a.spatialProperties.flagGraphic)}),e?.removeAll()}renderAddLocationBlock(){let{traceLocationType:t,messages:e,traceLocations:a}=this,r=t==="starting-point"?e.types.startingPoint:t==="barrier"?e.types.barrier:e.types.stoppingPoint,o=r.heading,i=r.description,n=r.buttonText;return d`<calcite-block .heading=${o} .label=${o} expanded .description=${i}>${a?.length?d`<calcite-button class=${g(m.clearButton)} slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${()=>this._handleClearButtonClick()}>${e.buttons.clear}</calcite-button>`:null}<arcgis-utility-network-trace-location-list .traceLocations=${a} .traceLocationType=${t}></arcgis-utility-network-trace-location-list><div class=${g(m.buttonContainer)}><calcite-button class=${g(m.addLocationButton)} icon-start=select appearance=outline .label=${n} @click=${()=>this._handleAddButtonClick()}>${n}</calcite-button></div></calcite-block>`}render(){return d`<div class=${g(m.base)}>${this.renderAddLocationBlock()}</div>`}};T("arcgis-utility-network-trace-location",L);return L},"geometry/Polyline","geometry/SpatialReference","rest/networks/support/TraceLocation","Graphic","symbols","geometry/operators/projectOperator","geometry/operators/cutOperator","geometry/operators/lengthOperator")
3
+ v5.0.0-next.54 */
4
+ import{a as x}from"./ESWTSM2N.js";import"./ZYZYLI2S.js";import"./YV7JWZSM.js";import{I as v,J as g,O as T,a as $,b as d,s as y}from"./5NKHOYVJ.js";import"./Z3QEJG4C.js";export default $arcgis.t(([S,G,A,P,{SimpleMarkerSymbol:_},u,I,b])=>{var F=$`.arcgis-utility-network-trace-location calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-location calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-location__add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.arcgis-utility-network-trace-location__button-container{justify-content:center;display:grid}.arcgis-utility-network-trace-location__clear-button{--calcite-button-border-color: transparent}`,f="arcgis-utility-network-trace-location",m={base:f,buttonContainer:`${f}__button-container`,clearButton:`${f}__clear-button`,addLocationButton:`${f}__add-location-button`},s="map-components:utility-network-trace-location",L=class extends v{constructor(){super(...arguments),this.messages=x({blocking:!0}),this.traceLocationType="starting-point",this.spatialTolerance=.05,this.arcgisTraceLocationChange=y(),this.arcgisTraceLocationSelectEnd=y(),this.arcgisTraceLocationSelectStart=y()}static{this.properties={view:0,traceLocationType:1,traceLocations:0,filterLayers:0,sketchViewModel:0,flagLayer:0,spatialTolerance:9,utilityNetwork:0}}static{this.styles=F}async load(){u.isLoaded()||await u.load()}_createPolyline(t,e){return new S({hasZ:!1,hasM:!0,paths:t,spatialReference:new G({wkid:e})})}_calculatePercentAlong(t,e){let a=t.spatialReference,r=this._createPolyline(t.paths,a.wkid),o=e.x-.5,i=e.x+.5,n=e.y-.5,c=e.y+.5,l=[[[o,n],[i,c]]],w=this._createPolyline(l,e.spatialReference.wkid),p=u.execute(w,a);if(!p)return console.error(`${s} - Unable to project flag geometry to source geometry spatial reference.`),.5;let h=I.execute(r,p);if(h.length>0){let C=b.execute(r,{unit:"feet"}),k;return h[0].paths[0][0][0]===r.paths[0][0][0]?k=b.execute(h[0],{unit:"feet"}):k=b.execute(h[1],{unit:"feet"}),k/C}return console.warn(`${s} - Unable to cut the source geometry with the flag geometry.`),.5}async _ensureNecessaryAttributes(t){let e=(t.layer?.type,t.layer),a=e.fieldsIndex?.get("assetgroup")??!1,r=e.fieldsIndex?.get("assetgroup")?.name??"assetgroup",o=e.fieldsIndex?.get("assettype")??!1,i=e.fieldsIndex?.get("assettype")?.name??"assettype",n=t.getGlobalId(),c=t.getObjectId(),l=a?!!t.getAttribute(r):!0,w=o?!!t.getAttribute(i):!0;if(n&&c&&l&&w)return t;let p=e.createQuery();return p.objectIds=[c],(await e.queryFeatures(p))?.features[0]||null}async _ensureNecessaryAttributesAndGenerateTraceLocation(t,e){let{view:a}=this;if(!a||t.length===0){console.log(`${s} - No view or results to process.`);return}let r=t[0].graphic,o=await this._ensureNecessaryAttributes(r);if(!o){console.error(`${s} - Unable to get necessary attributes for trace location.`);return}this._generateTraceLocation(o,e)}_createFlagSymbol(){let{traceLocationType:t}=this,e=[244,21,21,.6],a=[21,244,21,.6];return t==="stopping-point"?new _({color:e,style:"x",size:12,outline:{color:e,width:2}}):t==="barrier"?new _({color:e,style:"square",size:12,outline:{color:e,width:0}}):new _({color:a,style:"circle",size:12,outline:{color:a,width:0}})}_addFlagGraphic(t,e,a){let{flagLayer:r,view:o}=this;if(!r||!o)return console.error(`${s} - Flag layer or view is not available.`),null;let i=e.geometry?.type;if(this.traceLocations?.some(l=>l.traceLocation.globalId===t)&&i!=="polyline")return console.warn(`${s} - A flag with the same globalId already exists.`),null;let n=this._createFlagSymbol(),c=new P({geometry:a,symbol:n,attributes:e.attributes});return r.add(c),c}async _generateItemTitle(t){let{messages:e}=this,a=(t.layer?.type,t.layer);return("getFeatureTitle"in a?await a.getFeatureTitle(t):null)||t?.getObjectId()?.toString()||e.labels.unknown}async _generateFlagInfo(t,e){let{traceLocationType:a,utilityNetwork:r}=this,o=t.getGlobalId()??"",i=t.geometry?.type,n=await this._generateItemTitle(t);if(i==="point"||i==="polygon"){let c=r?.getTerminalConfiguration(t),l=c?c.terminals[0].id:1;return{traceLocation:new A({type:a,isFilterBarrier:!1,globalId:o,terminalId:l}),flagProperties:{title:n,expanded:!1,terminalConfiguration:c??void 0,selectedTerminals:c?new Set([l]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(i==="polyline"){let c=this._calculatePercentAlong(t.geometry,e);return{traceLocation:new A({type:a,isFilterBarrier:!1,globalId:o,percentAlong:c}),flagProperties:{title:n,expanded:!1},spatialProperties:{mapPoint:e,mapGraphic:t}}}return null}async _generateTraceLocation(t,e){let{traceLocations:a}=this,r=t.getGlobalId()??"",o=t.geometry?.type,i=await this._generateFlagInfo(t,e);if(!i){console.error(`${s} - Unable to generate flag info for trace location.`);return}let n=a?.filter(c=>c.spatialProperties.mapGraphic?.getGlobalId()===r)??[];if(n.length===0||o==="polyline"){if(o==="polyline"&&n.length>0&&n.some(l=>Math.abs(l.traceLocation.percentAlong-i.traceLocation.percentAlong)<=this.spatialTolerance)){console.warn(`${s} - A flag with the same globalId already exists within tolerance.`);return}let c=this._addFlagGraphic(r,t,e);if(!c){console.warn(`${s} - Unable to add flag graphic.`);return}i.spatialProperties.flagGraphic=c,a?.add(i);return}console.warn(`${s} - A flag with the same globalId already exists.`)}async _hitTest(t){let{view:e,utilityNetwork:a}=this;if(!e||!a){console.error(`${s} - View or utility network is not available for hit test.`);return}let r=t.graphic?.geometry,o=this.view?.toScreen(r);if(!o){console.warn(`${s} - No screen point available for hit test.`);return}let i=(await e.hitTest(o,{include:this.filterLayers})).results.filter(n=>n.type==="graphic"&&n?.layer&&n.graphic);if(i.length===0){console.log(`${s} - No usable hit test results found.`);return}this._ensureNecessaryAttributesAndGenerateTraceLocation(i,r)}_resetAfterSketch(){let{view:t}=this;if(!t){console.error(`${s} - View is not available to reset after sketch.`);return}this._clickHandler?.remove(),this._clickHandler=void 0,"acquireCursor"in t&&t.acquireCursor("default"),this.arcgisTraceLocationSelectEnd.emit()}_handleSketchComplete(t){let{sketchViewModel:e,view:a}=this;if(!e||!a){console.error(`${s} - SketchViewModel or view is not available on sketch complete.`);return}t.state==="complete"&&t.graphic&&(e.layer.remove(t.graphic),this._hitTest(t)),(t.state==="cancel"||t.state==="complete")&&this._resetAfterSketch()}_handleAddButtonClick(){let{view:t,sketchViewModel:e}=this;t&&e&&(this._clickHandler?.remove(),this._clickHandler=e.on("create",this._handleSketchComplete.bind(this)),"acquireCursor"in t&&t.acquireCursor("crosshair"),this.sketchViewModel?.create("point"),this.arcgisTraceLocationSelectStart.emit())}_handleClearButtonClick(){let{flagLayer:t,traceLocations:e}=this;e?.forEach(a=>{a.spatialProperties.flagGraphic&&t&&t.remove(a.spatialProperties.flagGraphic)}),e?.removeAll()}renderAddLocationBlock(){let{traceLocationType:t,messages:e,traceLocations:a}=this,r=t==="starting-point"?e.types.startingPoint:t==="barrier"?e.types.barrier:e.types.stoppingPoint,o=r.heading,i=r.description,n=r.buttonText;return d`<calcite-block .heading=${o} .label=${o} expanded .description=${i}>${a?.length?d`<calcite-button class=${g(m.clearButton)} slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${()=>this._handleClearButtonClick()}>${e.buttons.clear}</calcite-button>`:null}<arcgis-utility-network-trace-location-list .traceLocations=${a} .traceLocationType=${t}></arcgis-utility-network-trace-location-list><div class=${g(m.buttonContainer)}><calcite-button class=${g(m.addLocationButton)} icon-start=select appearance=outline .label=${n} @click=${()=>this._handleAddButtonClick()}>${n}</calcite-button></div></calcite-block>`}render(){return d`<div class=${g(m.base)}>${this.renderAddLocationBlock()}</div>`}};T("arcgis-utility-network-trace-location",L);return L},"geometry/Polyline","geometry/SpatialReference","rest/networks/support/TraceLocation","Graphic","symbols","geometry/operators/projectOperator","geometry/operators/cutOperator","geometry/operators/lengthOperator")
@@ -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.52 */
4
- import c from"./Y4MDGVT6.js";import{a as $}from"./Z7HTGE2N.js";import{a as p}from"./QJTIEN3F.js";import b from"./BUW2FDJS.js";import a from"./NFOWK6J6.js";import{g as k}from"./E3ZUOBMW.js";import"./BDZ5TL6N.js";import{b as l}from"./7JWIOEDF.js";import{I as x,J as i,K as g,L as s,O as y,a as f,b as o,s as w}from"./FCIWVZQQ.js";import"./2H2IBEZG.js";export default $arcgis.t(([{getBasemapThumbnailUrl:T},j,,,z])=>{var C=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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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}.basemap-toggle{box-shadow:none;background-color:var(--calcite-color-transparent)}.basemap-toggle calcite-button{flex-direction:row;justify-content:center;align-items:center;width:69px;height:69px;display:flex;position:relative;overflow:visible}.basemap-toggle__container,.basemap-toggle__image{width:64px;height:64px;position:absolute;top:0;left:0;overflow:hidden}.basemap-toggle__container{box-shadow:0 1px 2px #0000004d}.basemap-toggle__image{background-color:var(--calcite-color-foreground-1);background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%3e%3cpath%20fill='%236E6E6E'%20d='M16%2016v32h32V16H16zm17.028%2011.947l.022.106c.175.863.272%201.67-.46%202.066-.52.28-.792.764-1.014%201.155-.28.497-.414.684-.715.684-.158%200-.283-.085-.486-.24-.25-.192-.558-.426-1.03-.426-.692%200-1.255.606-1.255%201.35%200%20.475-.422%201.353-1.022%201.353-.49%200-.652-.172-.763-.37-.296-.53-.665-1.193-1.51-1.193-.85%200-1.542.735-1.542%201.635%200%20.286.06.508.11.702.044.165.083.31.083.478%200%20.244-.102.428-.23.666-.152.278-.34.62-.34%201.09%200%20.613.563%201.113%201.255%201.113.393%200%20.654-.104.865-.186.195-.078.332-.125.56-.103.103.01.21.3.21.5%200%20.323-.274.598-.59.914-.514.512-1.22%201.212-.638%202.368.22.444.758.57%201.277.69.24.057.416.095.56.132%200%200%20.254.34.318.536a.616.616%200%2000.013.23.92.92%200%2001-.17.506c-.253.382-.548.597-.862.825-.623.458-1.14.536-1.156%201.47H18V18h21.48c.03.578-.903%201.22-.903%201.22l-.98.58c-1.054.672-2.254%201.703-2.254%202.56%200%20.377.15.646.27.86.1.177.157.283.157.417%200%20.19-.126.316-.41.56-.25.215-.534.453-.663.84a1.27%201.27%200%2000-.064.4c0%20.138.03.307.063.488.028.153.09.472.042.547%200%200-.054.04-.258.04l-.174-.006c-.37%200-.75.303-.98.582-.172.206-.363.528-.298.86zM46%2046h-9.23c-.207-1.22-1.35-1.258-2.168-1.556-.288-.107-.585-.213-.858-.353-.354-.184-.35-.585-.296-.89%200%200%20.102-.303.09-.37l.003-.002c-.006-.036-.013-.067-.013-.11%200-.23.213-.34.7-.574.507-.25%201.2-.577%201.2-1.39%200-.293-.13-.488-.216-.62-.053-.08-.07-.11-.07-.132%200-.172.068-.286.332-.524.283-.253.628-.6.628-1.19v-.93c0-.092.27-.195.605-.03.165.078.41.188.715.188.672%200%201.04-.494%201.3-.853.24-.332.33-.516.565-.48.235.042.15.05.324.41.12.25.26.538.52.763.454.397.98.528%201.506.57a6.126%206.126%200%20001.996.005l.168-.027a4.14%204.14%200%2001.98-.067s.09.022.14.006c.39.044.717.177.98.458l.1.248c.003.005-.003.01%200%20.015V46z'/%3e%3cpath%20clip-rule='evenodd'%20fill='none'%20d='M16%2016h32v32H16z'/%3e%3cpath%20fill='none'%20d='M0%200h64v64H0z'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:cover}.basemap-toggle__image--loading{background-image:unset;justify-content:center;align-items:center;display:flex}.basemap-toggle__image--secondary{margin-top:5px;margin-left:5px;animation:2s ease-in-out esri-basemap-slide;box-shadow:0 1px 2px #0000004d}.basemap-thumbnail__overlay-scrim{--calcite-scrim-background: #00000080;color:var(--calcite-color-text-inverse)}.basemap-toggle__image-overlay{background-color:var(--calcite-color-transparent);justify-content:center;align-items:flex-end;width:100%;height:100%;transition:background-color .125s ease-in-out;display:flex;position:absolute}.basemap-toggle__image-overlay .basemap-toggle:hover{background-color:var(--calcite-color-background)}.basemap-toggle__title{text-align:center;background-color:var(--calcite-color-transparent-tint);flex:1 0 100%;height:auto;padding:.5em;font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-tight)}.basemap-toggle__title-wrap{text-wrap:wrap}`,r="basemap-toggle",n="basemap-thumbnail",e={base:r,secondaryBasemapImage:`${r}__image--secondary`,container:`${n} ${r}__container`,image:`${n}__image ${r}__image`,imageLoading:`${r}__image--loading`,overlay:`${n}__overlay ${r}__image-overlay`,title:`${n}__title ${r}__title`,titleWrap:`${r}__title-wrap`,overlayScrim:`${n}__overlay-scrim`},D=z(j),m=class extends x{constructor(){super(...arguments),this.messages=$(),this.viewModel=D(this),this.view=this.viewModel.view,this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=k()("activeBasemap","nextBasemap","state"),this.arcgisReady=w()}static{this.properties={view:0,activeBasemap:0,autoDestroyDisabled:5,icon:1,label:1,messageOverrides:0,nextBasemap:1,position:3,referenceElement:1,showTitle:5,state:3}}static{this.styles=C}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let c=T(t);return c?{backgroundImage:`url(${c})`}:{backgroundImage:""}}render(){let t=this.viewModel,c=t.state==="disabled"?null:t.activeBasemap,a=t.state==="disabled"?null:t.nextBasemap,B=t.state==="loading",h=t.state==="incompatible-next-basemap",d=a?.title??"",_=a&&a.loadStatus!=="loaded",u,b=this.showTitle&&d,v=h,M=b||v,E=this._getThumbnailStyles(c),S=this._getThumbnailStyles(a);return M&&(u=o`<div class=${i(e.overlay)}>${b?o`<span class=${i(l(e.title,e.titleWrap))} title=${d??s}>${d}</span>`:null}${v?o`<calcite-scrim class=${i(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??s}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),o`<div class=${i(l(e.base,p.widget))}><calcite-button appearance=transparent data-basemap-id=${(a?a.id:"")??s} .disabled=${h} kind=neutral .label=${this.label??void 0} @click=${()=>void this.toggle()} title=${this.label??void 0??s}><div class=${i(l(e.container,e.secondaryBasemapImage))}><div class=${i(e.image)} style=${g(E)}></div></div><div class=${i(e.container)}><div class=${i(l(e.image,_?e.imageLoading:null))} style=${g(S)}>${_||B?o`<calcite-scrim><span aria-hidden=true class=${i(p.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${u}</div></calcite-button></div>`}};y("arcgis-basemap-toggle",m);return m},"applications/Components/basemapUtils","widgets/BasemapToggle/BasemapToggleViewModel",a,b,c)
3
+ v5.0.0-next.54 */
4
+ import c from"./JH6EJLET.js";import{a as $}from"./ESWTSM2N.js";import{a as p}from"./RUAGHCCC.js";import b from"./ROB34FE5.js";import a from"./NLRJNKNL.js";import{g as k}from"./ZYZYLI2S.js";import"./XZ5E4GGR.js";import{b as l}from"./YV7JWZSM.js";import{I as x,J as i,K as g,L as s,O as y,a as f,b as o,s as w}from"./5NKHOYVJ.js";import"./Z3QEJG4C.js";export default $arcgis.t(([{getBasemapThumbnailUrl:T},j,,,z])=>{var C=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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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}.basemap-toggle{box-shadow:none;background-color:var(--calcite-color-transparent)}.basemap-toggle calcite-button{flex-direction:row;justify-content:center;align-items:center;width:69px;height:69px;display:flex;position:relative;overflow:visible}.basemap-toggle__container,.basemap-toggle__image{width:64px;height:64px;position:absolute;top:0;left:0;overflow:hidden}.basemap-toggle__container{box-shadow:0 1px 2px #0000004d}.basemap-toggle__image{background-color:var(--calcite-color-foreground-1);background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%3e%3cpath%20fill='%236E6E6E'%20d='M16%2016v32h32V16H16zm17.028%2011.947l.022.106c.175.863.272%201.67-.46%202.066-.52.28-.792.764-1.014%201.155-.28.497-.414.684-.715.684-.158%200-.283-.085-.486-.24-.25-.192-.558-.426-1.03-.426-.692%200-1.255.606-1.255%201.35%200%20.475-.422%201.353-1.022%201.353-.49%200-.652-.172-.763-.37-.296-.53-.665-1.193-1.51-1.193-.85%200-1.542.735-1.542%201.635%200%20.286.06.508.11.702.044.165.083.31.083.478%200%20.244-.102.428-.23.666-.152.278-.34.62-.34%201.09%200%20.613.563%201.113%201.255%201.113.393%200%20.654-.104.865-.186.195-.078.332-.125.56-.103.103.01.21.3.21.5%200%20.323-.274.598-.59.914-.514.512-1.22%201.212-.638%202.368.22.444.758.57%201.277.69.24.057.416.095.56.132%200%200%20.254.34.318.536a.616.616%200%2000.013.23.92.92%200%2001-.17.506c-.253.382-.548.597-.862.825-.623.458-1.14.536-1.156%201.47H18V18h21.48c.03.578-.903%201.22-.903%201.22l-.98.58c-1.054.672-2.254%201.703-2.254%202.56%200%20.377.15.646.27.86.1.177.157.283.157.417%200%20.19-.126.316-.41.56-.25.215-.534.453-.663.84a1.27%201.27%200%2000-.064.4c0%20.138.03.307.063.488.028.153.09.472.042.547%200%200-.054.04-.258.04l-.174-.006c-.37%200-.75.303-.98.582-.172.206-.363.528-.298.86zM46%2046h-9.23c-.207-1.22-1.35-1.258-2.168-1.556-.288-.107-.585-.213-.858-.353-.354-.184-.35-.585-.296-.89%200%200%20.102-.303.09-.37l.003-.002c-.006-.036-.013-.067-.013-.11%200-.23.213-.34.7-.574.507-.25%201.2-.577%201.2-1.39%200-.293-.13-.488-.216-.62-.053-.08-.07-.11-.07-.132%200-.172.068-.286.332-.524.283-.253.628-.6.628-1.19v-.93c0-.092.27-.195.605-.03.165.078.41.188.715.188.672%200%201.04-.494%201.3-.853.24-.332.33-.516.565-.48.235.042.15.05.324.41.12.25.26.538.52.763.454.397.98.528%201.506.57a6.126%206.126%200%20001.996.005l.168-.027a4.14%204.14%200%2001.98-.067s.09.022.14.006c.39.044.717.177.98.458l.1.248c.003.005-.003.01%200%20.015V46z'/%3e%3cpath%20clip-rule='evenodd'%20fill='none'%20d='M16%2016h32v32H16z'/%3e%3cpath%20fill='none'%20d='M0%200h64v64H0z'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:cover}.basemap-toggle__image--loading{background-image:unset;justify-content:center;align-items:center;display:flex}.basemap-toggle__image--secondary{margin-top:5px;margin-left:5px;animation:2s ease-in-out esri-basemap-slide;box-shadow:0 1px 2px #0000004d}.basemap-thumbnail__overlay-scrim{--calcite-scrim-background: #00000080;color:var(--calcite-color-text-inverse)}.basemap-toggle__image-overlay{background-color:var(--calcite-color-transparent);justify-content:center;align-items:flex-end;width:100%;height:100%;transition:background-color .125s ease-in-out;display:flex;position:absolute}.basemap-toggle__image-overlay .basemap-toggle:hover{background-color:var(--calcite-color-background)}.basemap-toggle__title{text-align:center;background-color:var(--calcite-color-transparent-tint);flex:1 0 100%;height:auto;padding:.5em;font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-tight)}.basemap-toggle__title-wrap{text-wrap:wrap}`,r="basemap-toggle",n="basemap-thumbnail",e={base:r,secondaryBasemapImage:`${r}__image--secondary`,container:`${n} ${r}__container`,image:`${n}__image ${r}__image`,imageLoading:`${r}__image--loading`,overlay:`${n}__overlay ${r}__image-overlay`,title:`${n}__title ${r}__title`,titleWrap:`${r}__title-wrap`,overlayScrim:`${n}__overlay-scrim`},D=z(j),m=class extends x{constructor(){super(...arguments),this.messages=$(),this.viewModel=D(this),this.view=this.viewModel.view,this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=k()("activeBasemap","nextBasemap","state"),this.arcgisReady=w()}static{this.properties={view:0,activeBasemap:0,autoDestroyDisabled:5,icon:1,label:1,messageOverrides:0,nextBasemap:1,position:3,referenceElement:1,showTitle:5,state:3}}static{this.styles=C}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let c=T(t);return c?{backgroundImage:`url(${c})`}:{backgroundImage:""}}render(){let t=this.viewModel,c=t.state==="disabled"?null:t.activeBasemap,a=t.state==="disabled"?null:t.nextBasemap,B=t.state==="loading",h=t.state==="incompatible-next-basemap",d=a?.title??"",_=a&&a.loadStatus!=="loaded",u,b=this.showTitle&&d,v=h,M=b||v,E=this._getThumbnailStyles(c),S=this._getThumbnailStyles(a);return M&&(u=o`<div class=${i(e.overlay)}>${b?o`<span class=${i(l(e.title,e.titleWrap))} title=${d??s}>${d}</span>`:null}${v?o`<calcite-scrim class=${i(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??s}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),o`<div class=${i(l(e.base,p.widget))}><calcite-button appearance=transparent data-basemap-id=${(a?a.id:"")??s} .disabled=${h} kind=neutral .label=${this.label??void 0} @click=${()=>void this.toggle()} title=${this.label??void 0??s}><div class=${i(l(e.container,e.secondaryBasemapImage))}><div class=${i(e.image)} style=${g(E)}></div></div><div class=${i(e.container)}><div class=${i(l(e.image,_?e.imageLoading:null))} style=${g(S)}>${_||B?o`<calcite-scrim><span aria-hidden=true class=${i(p.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${u}</div></calcite-button></div>`}};y("arcgis-basemap-toggle",m);return m},"applications/Components/basemapUtils","widgets/BasemapToggle/BasemapToggleViewModel",a,b,c)