@arcgis/map-components 5.0.0-next.87 → 5.0.0-next.88

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 (434) hide show
  1. package/dist/cdn/{GLSQZF74.js → 33U56VQS.js} +2 -2
  2. package/dist/cdn/{4ANSUD6M.js → 3KCGFYOF.js} +3 -3
  3. package/dist/cdn/{PGROL3JO.js → 3RIT2CCS.js} +2 -2
  4. package/dist/cdn/{GRO47A6Y.js → 3XEJQGGY.js} +2 -2
  5. package/dist/cdn/{CLK32UFP.js → 3XSTUOQG.js} +2 -2
  6. package/dist/cdn/{GMC3CZH2.js → 42PTQTRP.js} +1 -1
  7. package/dist/cdn/{SJMO5YZZ.js → 43M423T3.js} +2 -2
  8. package/dist/cdn/{TALNCAUT.js → 4BQT5ECZ.js} +2 -2
  9. package/dist/cdn/{XHNOM3RN.js → 4EVW2PPB.js} +2 -2
  10. package/dist/cdn/{YBHJBGKH.js → 4LZ7C6MJ.js} +2 -2
  11. package/dist/cdn/{HEN5F7B5.js → 4RPBOIOA.js} +2 -2
  12. package/dist/cdn/{JLKYQEKG.js → 54VTR2MD.js} +2 -2
  13. package/dist/cdn/{BAOCMSNV.js → 556J5RDA.js} +2 -2
  14. package/dist/cdn/{VY663NNF.js → 55A3UPR3.js} +2 -2
  15. package/dist/cdn/{JWOWCBTW.js → 575XURXJ.js} +2 -2
  16. package/dist/cdn/{5XJ55CYT.js → 5ATXDBBM.js} +2 -2
  17. package/dist/cdn/{2JOXV5ZY.js → 5BCJ4S65.js} +2 -2
  18. package/dist/cdn/{6EHJ7AZK.js → 5DID5LPZ.js} +2 -2
  19. package/dist/cdn/{5BVHH6JR.js → 5HJ3P5W2.js} +2 -2
  20. package/dist/cdn/{ISEXM6TN.js → 5JXY3U47.js} +2 -2
  21. package/dist/cdn/{MG5S7GLE.js → 5N7OQCKI.js} +2 -2
  22. package/dist/cdn/{VTAW5YR3.js → 5UN7XJFJ.js} +2 -2
  23. package/dist/cdn/{VMPVUIXY.js → 5WDHY3AX.js} +2 -2
  24. package/dist/cdn/{OF6IVIRL.js → 5XRO4FE6.js} +2 -2
  25. package/dist/cdn/{E5T2UM62.js → 64ECERCF.js} +2 -2
  26. package/dist/cdn/{V37MDH4Q.js → 65LCKOET.js} +2 -2
  27. package/dist/cdn/{6NBWLAFO.js → 66ATYXAM.js} +2 -2
  28. package/dist/cdn/{KVXULRVT.js → 6DKSCEZJ.js} +2 -2
  29. package/dist/cdn/{THQN76C6.js → 6HT45IOA.js} +2 -2
  30. package/dist/cdn/{T5TAKE4M.js → 6JJJ6LQT.js} +2 -2
  31. package/dist/cdn/{4YN5P354.js → 6SBLQLAH.js} +1 -1
  32. package/dist/cdn/{YN24UDDB.js → 6XOYJ2FK.js} +2 -2
  33. package/dist/cdn/{VK3DAWLX.js → 6YVM46KT.js} +2 -2
  34. package/dist/cdn/{E2VEVV67.js → 7CTOUJCK.js} +2 -2
  35. package/dist/cdn/{EEMW2Q5R.js → 7L3F75T7.js} +2 -2
  36. package/dist/cdn/{AGFX2ADJ.js → 7LDZG3V4.js} +2 -2
  37. package/dist/cdn/{VI4M4ZEU.js → 7MN5ISIX.js} +2 -2
  38. package/dist/cdn/{NUJN4JQ2.js → 7U4DV6CC.js} +2 -2
  39. package/dist/cdn/{OEJBZFQ2.js → AE5HTKXU.js} +2 -2
  40. package/dist/cdn/{O5QNN3RZ.js → AYJZKJ6S.js} +2 -2
  41. package/dist/cdn/{BQKKZAX3.js → AYM5K4VI.js} +2 -2
  42. package/dist/cdn/{PTJRBC6U.js → AZ4GDV4K.js} +2 -2
  43. package/dist/cdn/{CTEPX6UF.js → B26NMC2I.js} +2 -2
  44. package/dist/cdn/{VLU5VGSC.js → B632DN7E.js} +2 -2
  45. package/dist/cdn/{6PUPEHFL.js → BC5AVLFS.js} +2 -2
  46. package/dist/cdn/{SUXWUTYL.js → BDOEXQHY.js} +1 -1
  47. package/dist/cdn/{EG6JUOF4.js → BFSSALOQ.js} +2 -2
  48. package/dist/cdn/{SEKJQRIP.js → BKKLVCHZ.js} +2 -2
  49. package/dist/cdn/{O3SKGUYY.js → BM4P4RFZ.js} +2 -2
  50. package/dist/cdn/{SAIA6E7W.js → BPCW3T6K.js} +2 -2
  51. package/dist/cdn/{PCZETSRX.js → BPHA4HP3.js} +2 -2
  52. package/dist/cdn/{W2KUWKVL.js → C6TDHDZF.js} +2 -2
  53. package/dist/cdn/{YJ4YKAZX.js → CB5LV6VG.js} +2 -2
  54. package/dist/cdn/{LJGVQHAZ.js → CCHBPP6J.js} +2 -2
  55. package/dist/cdn/{KLUWEXIC.js → CEVIF7D3.js} +2 -2
  56. package/dist/cdn/{6T4RZV4E.js → CQNPYPSS.js} +2 -2
  57. package/dist/cdn/{2PQLZPMI.js → DFJFADBE.js} +2 -2
  58. package/dist/cdn/{73C2MEPQ.js → DKQX6JWR.js} +2 -2
  59. package/dist/cdn/{YGVV4KDL.js → DYO2VLJH.js} +2 -2
  60. package/dist/cdn/{N6ZGENEI.js → E2KFX3P4.js} +2 -2
  61. package/dist/cdn/{CS6X52WM.js → E75S2TLK.js} +2 -2
  62. package/dist/cdn/{CZH7PM6Z.js → ECWD5H4S.js} +2 -2
  63. package/dist/cdn/{B5J3PFNL.js → EHXW2J2P.js} +2 -2
  64. package/dist/cdn/{YXWFTRNT.js → ELEZAC3K.js} +1 -1
  65. package/dist/cdn/{NU44AZFZ.js → ELTDN6M2.js} +2 -2
  66. package/dist/cdn/{JHB4BWDH.js → EP4FNRB2.js} +2 -2
  67. package/dist/cdn/{PP3MVOR6.js → EQF562TI.js} +2 -2
  68. package/dist/cdn/{N26ELVVV.js → EQMAMY5L.js} +2 -2
  69. package/dist/cdn/{DJQPNZMX.js → ETVO5RNL.js} +2 -2
  70. package/dist/cdn/{JKKFLWMT.js → EYHKPKKG.js} +2 -2
  71. package/dist/cdn/{6CROFQRG.js → EZTJVFHA.js} +2 -2
  72. package/dist/cdn/{JZ2OZJ3M.js → EZZGMQDB.js} +1 -1
  73. package/dist/cdn/{4ONWIDHW.js → F3UPR45E.js} +2 -2
  74. package/dist/cdn/{ETDLLCQG.js → F6TAMYPM.js} +2 -2
  75. package/dist/cdn/{O7EROEVZ.js → FHK4AXZJ.js} +2 -2
  76. package/dist/cdn/{YSRMPSZ6.js → FHMZ7YBE.js} +1 -1
  77. package/dist/cdn/{7OO2P5HM.js → FJHXWU24.js} +2 -2
  78. package/dist/cdn/FKLRF4SD.js +4 -0
  79. package/dist/cdn/{PKLUZV6X.js → FM5VPHDT.js} +2 -2
  80. package/dist/cdn/{ERUOLKXI.js → FP6T4CXN.js} +2 -2
  81. package/dist/cdn/{R6TEEJEA.js → FPC4IS6K.js} +2 -2
  82. package/dist/cdn/{S6A3X4JS.js → FTQOPR7J.js} +2 -2
  83. package/dist/cdn/{DWFZRP2J.js → FXWGL56I.js} +2 -2
  84. package/dist/cdn/{TTUDCXQX.js → G535EA24.js} +2 -2
  85. package/dist/cdn/{QRMHXFEH.js → G5ALXNA4.js} +2 -2
  86. package/dist/cdn/{GNMQMWSC.js → GAXO7P35.js} +2 -2
  87. package/dist/cdn/{EVL2OVXG.js → GCONJWTN.js} +2 -2
  88. package/dist/cdn/{FGCJRZXK.js → GCYSTK3R.js} +2 -2
  89. package/dist/cdn/{X6UH54F2.js → GITNRBUR.js} +1 -1
  90. package/dist/cdn/{GMQMLGTX.js → GLRZUVNS.js} +2 -2
  91. package/dist/cdn/{6YLVHWY3.js → GSWVS2QG.js} +2 -2
  92. package/dist/cdn/{7NHBVX2Q.js → GVDBEPLK.js} +2 -2
  93. package/dist/cdn/{ODAVINVD.js → GWDVFPUL.js} +2 -2
  94. package/dist/cdn/{KRAB4N64.js → HCKQQPCE.js} +2 -2
  95. package/dist/cdn/{W3IW6PSI.js → HD3D5TKU.js} +2 -2
  96. package/dist/cdn/{YYYYSZVU.js → HJRNNVRG.js} +2 -2
  97. package/dist/cdn/{HFNJ2LC6.js → HTWZ7HU7.js} +2 -2
  98. package/dist/cdn/{HWJ3NQYK.js → I2KJOBY3.js} +2 -2
  99. package/dist/cdn/{CWA2F4ZC.js → I6DXWHS6.js} +2 -2
  100. package/dist/cdn/{WJKRVPI7.js → ICSY4YGK.js} +2 -2
  101. package/dist/cdn/{A4AJQUWP.js → IDN3SUZZ.js} +2 -2
  102. package/dist/cdn/{XY5WUUSW.js → IEGUZAO6.js} +2 -2
  103. package/dist/cdn/{PJBL3SDE.js → IGKQONCH.js} +2 -2
  104. package/dist/cdn/{ZOABTXJK.js → IGKSHE54.js} +2 -2
  105. package/dist/cdn/{Y6ALGYMS.js → IJ776NFT.js} +2 -2
  106. package/dist/cdn/{VRHMVYVT.js → IL7F5GUO.js} +2 -2
  107. package/dist/cdn/{IAPLVUAX.js → IOJESX3W.js} +2 -2
  108. package/dist/cdn/{T2JJGCYP.js → IQYHSSOC.js} +2 -2
  109. package/dist/cdn/{OHAVKDG4.js → IRZYGPGH.js} +2 -2
  110. package/dist/cdn/{VXCY4UNU.js → ISCSRMEA.js} +2 -2
  111. package/dist/cdn/{NDHQAJQF.js → IUWLNETM.js} +2 -2
  112. package/dist/cdn/{KC2XKP4I.js → IX4COFHC.js} +2 -2
  113. package/dist/cdn/{BGAYEFNL.js → JEUKUTRG.js} +2 -2
  114. package/dist/cdn/{JCIBKEX3.js → JGZCD6J5.js} +2 -2
  115. package/dist/cdn/{64TX3GS3.js → JLDICFVQ.js} +1 -1
  116. package/dist/cdn/JPWB6IJ4.js +4 -0
  117. package/dist/cdn/{3HBVRWQH.js → JRUH7VPC.js} +2 -2
  118. package/dist/cdn/{X4V2UEQT.js → JSKAVLMU.js} +1 -1
  119. package/dist/cdn/{DF5NCLDH.js → JXOLZRAZ.js} +2 -2
  120. package/dist/cdn/{TCWMXQMF.js → K2PKVAOO.js} +2 -2
  121. package/dist/cdn/{REHJ2RCS.js → K4CTFCER.js} +2 -2
  122. package/dist/cdn/{HVAU52EH.js → KBP4NHNZ.js} +2 -2
  123. package/dist/cdn/{ZCBYGIET.js → KD54STS2.js} +2 -2
  124. package/dist/cdn/{XI3AK2QV.js → KHOTLWHU.js} +2 -2
  125. package/dist/cdn/{IMCCBQ5M.js → KKFLQSUF.js} +2 -2
  126. package/dist/cdn/{7QYV5UI3.js → KPWEP4ST.js} +2 -2
  127. package/dist/cdn/{5JQ5HF3R.js → KUOJP7AM.js} +2 -2
  128. package/dist/cdn/{QWJSFZ5P.js → KXVK324S.js} +2 -2
  129. package/dist/cdn/{KSAPQRQ7.js → LDY3IDV5.js} +2 -2
  130. package/dist/cdn/{6AHAHMGF.js → LUHGJSVS.js} +2 -2
  131. package/dist/cdn/{UAVOFUTQ.js → LW6VWGFA.js} +2 -2
  132. package/dist/cdn/{RB54UWSP.js → LXQ6D2OM.js} +2 -2
  133. package/dist/cdn/{KUW5QSD4.js → M6G27QGJ.js} +2 -2
  134. package/dist/cdn/{KPRBFB4D.js → M7HAKBNG.js} +1 -1
  135. package/dist/cdn/{WB7BOB6K.js → MOFOQYI6.js} +2 -2
  136. package/dist/cdn/{GSLSEBGH.js → MOJQBTXO.js} +2 -2
  137. package/dist/cdn/{URCSLSTI.js → MX6TFUVB.js} +2 -2
  138. package/dist/cdn/MYLRNHOI.js +4 -0
  139. package/dist/cdn/{JCQLD5KP.js → MYZJ4B3X.js} +2 -2
  140. package/dist/cdn/{LXOAIMPX.js → N4I4AQSF.js} +2 -2
  141. package/dist/cdn/{XIQDJQHL.js → N5JDA6RO.js} +2 -2
  142. package/dist/cdn/{6SMRV3NU.js → NEWDJW72.js} +2 -2
  143. package/dist/cdn/{XO2ODZUU.js → NJDAVYT5.js} +2 -2
  144. package/dist/cdn/{A5D75BO5.js → NLTPCXTJ.js} +2 -2
  145. package/dist/cdn/{GQMMGC32.js → O3YLXAV5.js} +2 -2
  146. package/dist/cdn/{UJPQQWRU.js → OCS7HHXA.js} +2 -2
  147. package/dist/cdn/{54WB3M62.js → OD7AY4RV.js} +2 -2
  148. package/dist/cdn/OGGC4AM4.js +4 -0
  149. package/dist/cdn/{53NBSHBR.js → OTWFGIT7.js} +2 -2
  150. package/dist/cdn/{AOLBJF6X.js → OZLYB4TP.js} +1 -1
  151. package/dist/cdn/{VJH2EHZX.js → P3D3WNG5.js} +2 -2
  152. package/dist/cdn/{RIGFCMSX.js → PD55OY6T.js} +2 -2
  153. package/dist/cdn/{ZN3AKVFU.js → PECMEII2.js} +2 -2
  154. package/dist/cdn/{CUVII5Q2.js → PI7YFJLF.js} +2 -2
  155. package/dist/cdn/PL7LQXM6.js +4 -0
  156. package/dist/cdn/{27X354V2.js → PMPFZQZ4.js} +2 -2
  157. package/dist/cdn/{SLZ43ZOK.js → PNO4V6D2.js} +1 -1
  158. package/dist/cdn/{A7Q3LLPS.js → PSFTPITT.js} +2 -2
  159. package/dist/cdn/PTSOO3YF.js +4 -0
  160. package/dist/cdn/{4XHWTM3W.js → PXRRELJB.js} +2 -2
  161. package/dist/cdn/{IDCRYNQY.js → PXUV5RVY.js} +1 -1
  162. package/dist/cdn/{EVB77BY6.js → QGLAPPTH.js} +2 -2
  163. package/dist/cdn/{WOO4IELV.js → QTW6TNVM.js} +2 -2
  164. package/dist/cdn/{2OFK2RN2.js → QXO6QYMC.js} +2 -2
  165. package/dist/cdn/{CZPABUXZ.js → RGRJ3PET.js} +2 -2
  166. package/dist/cdn/{5DMOLSHU.js → RJRY26TE.js} +2 -2
  167. package/dist/cdn/{N4DDLF5S.js → RL73PTQK.js} +2 -2
  168. package/dist/cdn/{EZDJROR3.js → ROPAE45C.js} +2 -2
  169. package/dist/cdn/{2JG2YOPZ.js → RTIH46PS.js} +2 -2
  170. package/dist/cdn/{CBIC3FEL.js → RTZOWR3Q.js} +2 -2
  171. package/dist/cdn/{R2X3OA5N.js → RZIPPJS7.js} +2 -2
  172. package/dist/cdn/{VWUH7QLK.js → SBBIV7U2.js} +2 -2
  173. package/dist/cdn/{EYR26AJY.js → SHQ3Z7XV.js} +2 -2
  174. package/dist/cdn/{4EP6RKPV.js → SP5EWH4V.js} +2 -2
  175. package/dist/cdn/{SIV53MWS.js → SPI2RLCX.js} +2 -2
  176. package/dist/cdn/{HG6K4Z5J.js → SPMVGPBU.js} +2 -2
  177. package/dist/cdn/{IHKFFYF7.js → STLZYEL3.js} +2 -2
  178. package/dist/cdn/{FQRQXXNP.js → SUYHQ65U.js} +2 -2
  179. package/dist/cdn/{3WSAZIWS.js → T4MCJSSA.js} +2 -2
  180. package/dist/cdn/{J4Q6ANAB.js → TBYD4BCE.js} +2 -2
  181. package/dist/cdn/{XYUFKWTN.js → TE5VQND7.js} +2 -2
  182. package/dist/cdn/{4WCP5CJU.js → THI2WKL3.js} +2 -2
  183. package/dist/cdn/{OH3OU7SS.js → TLQ4NIWM.js} +2 -2
  184. package/dist/cdn/{TKTGZFAY.js → TXG6EY3V.js} +2 -2
  185. package/dist/cdn/{TRJISMJB.js → U4FGQJLN.js} +2 -2
  186. package/dist/cdn/{UEWT6OM3.js → U4PRAPXO.js} +2 -2
  187. package/dist/cdn/{EDVUDYVR.js → UBZTTBZT.js} +2 -2
  188. package/dist/cdn/{4RQXUDXM.js → ULHDZMS6.js} +2 -2
  189. package/dist/cdn/{JT27EM2N.js → UM5HLJ6Z.js} +2 -2
  190. package/dist/cdn/{VY5FYXAM.js → US7SMXOG.js} +2 -2
  191. package/dist/cdn/{IL74MXOT.js → UT22WDTQ.js} +2 -2
  192. package/dist/cdn/{YFLCAWWN.js → UY6YZZUT.js} +1 -1
  193. package/dist/cdn/{QNCL6QXE.js → UZHUQ53J.js} +2 -2
  194. package/dist/cdn/{PHJOPJ5Q.js → VALGVGJM.js} +2 -2
  195. package/dist/cdn/{WW6L7RRU.js → VJFBEQCQ.js} +2 -2
  196. package/dist/cdn/{YWTAMHBC.js → VK44D2KI.js} +2 -2
  197. package/dist/cdn/{G4W65QOS.js → VO2TPKXK.js} +2 -2
  198. package/dist/cdn/{WG6LF7I3.js → VR4UQHRY.js} +2 -2
  199. package/dist/cdn/{TJ4ZUOAI.js → VXUXRY6P.js} +2 -2
  200. package/dist/cdn/{NOZXGSQS.js → W6KFW342.js} +2 -2
  201. package/dist/cdn/{VUYUYUBE.js → WATQZAKL.js} +2 -2
  202. package/dist/cdn/{YRAZ5HSW.js → WBRNNYLL.js} +2 -2
  203. package/dist/cdn/{MOITPDFD.js → WECQ6NLP.js} +1 -1
  204. package/dist/cdn/{YPIGZG7C.js → WJTSM5ZF.js} +2 -2
  205. package/dist/cdn/{3AKCOVFY.js → WNJXLGYR.js} +2 -2
  206. package/dist/cdn/{BGLGKNNG.js → WONQREZM.js} +2 -2
  207. package/dist/cdn/{G7NQOQIB.js → WPZ5IKBV.js} +2 -2
  208. package/dist/cdn/{D6UVCRII.js → WTMURXIQ.js} +2 -2
  209. package/dist/cdn/{6XRDIUFD.js → WVREW6IV.js} +2 -2
  210. package/dist/cdn/{4B6JJCYJ.js → WYR64GFD.js} +2 -2
  211. package/dist/cdn/{SQNYM4UJ.js → X2TJPRBY.js} +2 -2
  212. package/dist/cdn/{2EMHQOVL.js → X3AHIIDO.js} +2 -2
  213. package/dist/cdn/{EOA5PL7V.js → X7KTRZUU.js} +2 -2
  214. package/dist/cdn/{ML5EOAHS.js → XA7C3CGS.js} +2 -2
  215. package/dist/cdn/{Z2LIHOG2.js → XENVHHOG.js} +2 -2
  216. package/dist/cdn/{KEQKB7D5.js → XGQJUHFI.js} +2 -2
  217. package/dist/cdn/{WHVF5KSV.js → XTRPLABL.js} +2 -2
  218. package/dist/cdn/{2BYNODEC.js → Y3IVXZW5.js} +2 -2
  219. package/dist/cdn/{JBCIP434.js → Y5IUDFIK.js} +2 -2
  220. package/dist/cdn/{CS6DPYWM.js → YAR5SH5K.js} +2 -2
  221. package/dist/cdn/{YSK5DCPZ.js → YDKZLC6D.js} +2 -2
  222. package/dist/cdn/{VZIG2ZB6.js → YNAQEYTN.js} +2 -2
  223. package/dist/cdn/{L2ND35CU.js → YPQEU3RT.js} +2 -2
  224. package/dist/cdn/{D7KYZMAG.js → Z34SKHQF.js} +2 -2
  225. package/dist/cdn/{NPBFMVNZ.js → Z56MBXMX.js} +2 -2
  226. package/dist/cdn/{777WT7E2.js → ZAIWXLDV.js} +2 -2
  227. package/dist/cdn/{PVDACCAE.js → ZLTRCGZO.js} +1 -1
  228. package/dist/cdn/{DALNQUIE.js → ZNQPEFHM.js} +2 -2
  229. package/dist/cdn/{J5LCPKDW.js → ZREKLY6E.js} +2 -2
  230. package/dist/cdn/ZS2SLQ4Z.js +4 -0
  231. package/dist/cdn/ZUSTUVOR.js +4 -0
  232. package/dist/cdn/{Q7ISZX3P.js → ZWNCBWN2.js} +2 -2
  233. package/dist/cdn/{6HUQBD4F.js → ZZNUHDUX.js} +2 -2
  234. package/dist/cdn/assets/shadow-cast/t9n/messages.en.json +1 -1
  235. package/dist/cdn/index.js +2 -2
  236. package/dist/chunks/AnalysisViewModel.js +2 -2
  237. package/dist/chunks/action-utils.js +1 -1
  238. package/dist/chunks/async-utils.js +1 -1
  239. package/dist/chunks/basemap-gallery-resources.js +1 -1
  240. package/dist/chunks/chart-utils.js +1 -1
  241. package/dist/chunks/chartCommon.js +1 -1
  242. package/dist/chunks/component-utils.js +1 -1
  243. package/dist/chunks/constants.js +1 -1
  244. package/dist/chunks/createCloseEvent.js +1 -1
  245. package/dist/chunks/esri-main.js +1 -1
  246. package/dist/chunks/feature-utils.js +21 -23
  247. package/dist/chunks/globalCss.js +1 -1
  248. package/dist/chunks/handle.js +1 -1
  249. package/dist/chunks/heading.js +1 -1
  250. package/dist/chunks/layer-list.js +1 -1
  251. package/dist/chunks/legacyIcon.js +1 -1
  252. package/dist/chunks/maybe.js +1 -1
  253. package/dist/chunks/measurementUtils.js +1 -1
  254. package/dist/chunks/runtime.js +1 -1
  255. package/dist/chunks/screenLocation.js +1 -1
  256. package/dist/chunks/slots.js +2 -2
  257. package/dist/chunks/svgUtils.js +1 -1
  258. package/dist/chunks/time-utils.js +1 -1
  259. package/dist/chunks/univariateUtils.js +1 -1
  260. package/dist/chunks/useArcgisViewReadyError.js +2 -2
  261. package/dist/chunks/useHandles.js +1 -1
  262. package/dist/chunks/useT9n.js +1 -1
  263. package/dist/chunks/useView.js +1 -1
  264. package/dist/chunks/useViewModel.js +1 -1
  265. package/dist/chunks/useWidget.js +1 -1
  266. package/dist/chunks/utils.js +1 -1
  267. package/dist/chunks/utils2.js +1 -1
  268. package/dist/chunks/visible-element.js +1 -1
  269. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  270. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  271. package/dist/components/arcgis-attachments/customElement.js +1 -1
  272. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  273. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  274. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  275. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  276. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  277. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  278. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  279. package/dist/components/arcgis-color-select/customElement.js +1 -1
  280. package/dist/components/arcgis-compass/customElement.js +1 -1
  281. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  282. package/dist/components/arcgis-daylight/customElement.js +1 -1
  283. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  284. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  285. package/dist/components/arcgis-directions/customElement.js +1 -1
  286. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  287. package/dist/components/arcgis-editor/customElement.js +1 -1
  288. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  289. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  290. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  291. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  292. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  293. package/dist/components/arcgis-expand/customElement.js +1 -1
  294. package/dist/components/arcgis-feature/customElement.js +1 -1
  295. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  296. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  297. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  298. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  299. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  300. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  301. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  302. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  303. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  304. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  305. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  306. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  307. package/dist/components/arcgis-features/customElement.js +1 -1
  308. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  309. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  310. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  311. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  312. package/dist/components/arcgis-home/customElement.js +1 -1
  313. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  314. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  315. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  316. package/dist/components/arcgis-legend/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  318. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  319. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  320. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  321. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  322. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  323. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  324. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  325. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  326. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  327. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  328. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  329. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  330. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  331. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  332. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  333. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  334. package/dist/components/arcgis-locate/customElement.js +1 -1
  335. package/dist/components/arcgis-map/customElement.js +1 -1
  336. package/dist/components/arcgis-measurement/customElement.js +1 -1
  337. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  338. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  339. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  340. package/dist/components/arcgis-placement/customElement.js +1 -1
  341. package/dist/components/arcgis-popup/customElement.js +1 -1
  342. package/dist/components/arcgis-presentation/customElement.js +1 -1
  343. package/dist/components/arcgis-print/customElement.js +1 -1
  344. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  345. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  346. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  347. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  348. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  349. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  350. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  351. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  352. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  353. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  354. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  355. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  356. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  357. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  358. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  359. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  360. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  361. package/dist/components/arcgis-scene/customElement.js +1 -1
  362. package/dist/components/arcgis-search/customElement.js +12 -6
  363. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  364. package/dist/components/arcgis-shadow-cast/ShadowCastViewModel.d.ts +21 -16
  365. package/dist/components/arcgis-shadow-cast/customElement.d.ts +40 -40
  366. package/dist/components/arcgis-shadow-cast/customElement.js +126 -100
  367. package/dist/components/arcgis-shadow-cast/index.d.ts +2 -2
  368. package/dist/components/arcgis-shadow-cast/index.js +2 -2
  369. package/dist/components/arcgis-shadow-cast/interfaces.d.ts +16 -16
  370. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  371. package/dist/components/{arcgis-shadow-cast-threshold-config → arcgis-shadow-cast-min-duration-config}/customElement.d.ts +4 -4
  372. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +44 -0
  373. package/dist/components/{arcgis-shadow-cast-duration-config → arcgis-shadow-cast-total-duration-config}/customElement.d.ts +1 -1
  374. package/dist/components/{arcgis-shadow-cast-duration-config → arcgis-shadow-cast-total-duration-config}/customElement.js +11 -11
  375. package/dist/components/arcgis-sketch/customElement.js +1 -1
  376. package/dist/components/arcgis-slice/customElement.js +1 -1
  377. package/dist/components/arcgis-spinner/customElement.js +1 -1
  378. package/dist/components/arcgis-swipe/customElement.js +1 -1
  379. package/dist/components/arcgis-table-list/customElement.js +1 -1
  380. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  381. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  382. package/dist/components/arcgis-track/customElement.js +1 -1
  383. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  384. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  385. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  386. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  387. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  388. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  389. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  390. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  391. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  392. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  393. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  394. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  395. package/dist/components/arcgis-version-management/customElement.js +1 -1
  396. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  397. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  398. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  399. package/dist/components/arcgis-video/customElement.js +1 -1
  400. package/dist/components/arcgis-video-player/customElement.js +1 -1
  401. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  402. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  403. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  404. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  405. package/dist/components/arcgis-video-player-settings/customElement.js +2 -2
  406. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  407. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  408. package/dist/components/arcgis-weather/customElement.js +1 -1
  409. package/dist/components/arcgis-zoom/customElement.js +1 -1
  410. package/dist/docs/api.json +234 -234
  411. package/dist/docs/docs.json +170 -170
  412. package/dist/docs/vscode.html-custom-data.json +57 -57
  413. package/dist/docs/web-types.json +122 -122
  414. package/dist/index.js +1 -1
  415. package/dist/loader.js +4 -4
  416. package/dist/types/lumina.d.ts +1 -1
  417. package/dist/types/preact.d.ts +1 -1
  418. package/dist/types/preact10.d.ts +1 -1
  419. package/dist/types/react.d.ts +1 -1
  420. package/dist/types/stencil.d.ts +1 -1
  421. package/package.json +3 -3
  422. package/dist/cdn/EYMRYSLI.js +0 -4
  423. package/dist/cdn/KBSSYHN6.js +0 -4
  424. package/dist/cdn/KKHZIJJ5.js +0 -4
  425. package/dist/cdn/QRKHATVY.js +0 -4
  426. package/dist/cdn/SU6NHQT5.js +0 -4
  427. package/dist/cdn/U6IL3HKG.js +0 -4
  428. package/dist/cdn/VV6LED4I.js +0 -4
  429. package/dist/cdn/XG3PHZ6U.js +0 -4
  430. package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +0 -44
  431. /package/dist/components/{arcgis-shadow-cast-threshold-config → arcgis-shadow-cast-min-duration-config}/index.d.ts +0 -0
  432. /package/dist/components/{arcgis-shadow-cast-threshold-config → arcgis-shadow-cast-min-duration-config}/index.js +0 -0
  433. /package/dist/components/{arcgis-shadow-cast-duration-config → arcgis-shadow-cast-total-duration-config}/index.d.ts +0 -0
  434. /package/dist/components/{arcgis-shadow-cast-duration-config → arcgis-shadow-cast-total-duration-config}/index.js +0 -0
@@ -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.87 */
4
- import d from"./JBCIP434.js";import c from"./N26ELVVV.js";import b from"./HG6K4Z5J.js";import{g as s}from"./JHB4BWDH.js";import"./JT27EM2N.js";import"./YXWFTRNT.js";import"./X6UH54F2.js";import"./SU6NHQT5.js";import{I as o,O as a,a as i,s as r}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";export default $arcgis.t(([l,,{a:e},n])=>{var c=i`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--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}:host{min-width:300px}.esri-utility-network-trace{flex:auto;width:300px}.esri-utility-network-trace calcite-icon{box-sizing:initial}.esri-utility-network-trace calcite-tab{background-color:var(--calcite-color-foreground-2);padding-top:0;padding-bottom:0}.esri-utility-network-trace calcite-tab:not([selected]){flex:0}.esri-utility-network-trace.esri-component.esri-widget--panel{min-height:120px;width:300px}.esri-utility-network-trace__add-button-container{justify-content:center;margin:18px 0 var(--calcite-spacing-md);display:grid}.esri-utility-network-trace__block-container{margin-top:0;height:95%}.esri-utility-network-trace__block-content{border-bottom:none;margin:0}.esri-utility-network-trace__clear-results-block{position:absolute;bottom:0;left:0;margin:0;border-top:3px solid #6e6e6e26;background-color:#f3f3f3}.esri-utility-network-trace__divider{color:inherit;border-color:var(--calcite-color-border-input);border-bottom-style:solid;border-bottom-width:1px;flex:none;margin:0 0 var(--calcite-spacing-md)}.esri-utility-network-trace__double-pad-top{padding-top:10px}.esri-utility-network-trace__feature-content{height:300px}.esri-utility-network-trace__flow{height:100%}.esri-utility-network-trace__list-container{background-color:var(--calcite-color-foreground-1);padding:3px}.esri-utility-network-trace__notice-container{padding:var(--calcite-spacing-xs)}.esri-utility-network-trace__number-input{width:150px}.esri-utility-network-trace__pad-bottom{padding-bottom:5px}.esri-utility-network-trace__pad-top{padding-top:5px}.esri-utility-network-trace__reset-prompt{background-color:var(--calcite-color-background);color:var(--calcite-color-text-2);border-top:3px solid var(--calcite-color-border-input);flex-flow:column;max-height:85%;padding:var(--calcite-spacing-md) 15px;animation:.1s ease-in-out esri-fade-in-up;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 1px 2px #0000004d}.esri-utility-network-trace__results-container{height:100%}.esri-utility-network-trace__tabs{min-height:250px;position:relative}`,d=n(l),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.autoDestroyDisabled=!1,this.defaultGraphicColor=this.widget.defaultGraphicColor,this.disabled=this.widget.disabled,this.enableResultArea=this.widget.enableResultArea,this.flags=this.widget.flags,this.icon=this.widget.icon,this.inputSettings=this.widget.inputSettings,this.label=this.widget.label,this.resultAreaProperties=this.widget.resultAreaProperties,this.selectOnCompleteDisabled=this.widget.selectOnComplete,this.selectedTraces=this.widget.selectedTraces,this.showGraphicsOnCompleteDisabled=this.widget.showGraphicsOnComplete,this.showSelectionAttributesDisabled=this.widget.showSelectionAttributes,this.state=this.viewModel.state,this.traceResults=this.widget.traceResults,this.arcgisAddFlag=e(()=>this.widget,"add-flag"),this.arcgisAddFlagComplete=e(()=>this.widget,"add-flag-complete"),this.arcgisAddFlagError=e(()=>this.widget,"add-flag-error"),this.arcgisAddResultArea=e(()=>this.widget,"add-result-area"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=r(),this.arcgisRemoveResultArea=e(()=>this.widget,"remove-result-area")}static{this.properties={view:0,autoDestroyDisabled:5,defaultGraphicColor:0,disabled:7,enableResultArea:5,flags:0,icon:1,inputSettings:0,label:1,position:1,referenceElement:1,resultAreaProperties:0,selectOnCompleteDisabled:5,selectedTraces:0,showGraphicsOnCompleteDisabled:5,showSelectionAttributesDisabled:5,state:3,traceResults:32}}static{this.styles=c}async checkCanTrace(){await this.widget?.checkCanTrace()}async confirmReset(){this.widget?.confirmReset()}async destroy(){await this.manager.destroy()}};a("arcgis-utility-network-trace",t);return t},"widgets/UtilityNetworkTrace",b,c,d)
3
+ v5.0.0-next.88 */
4
+ import d from"./Y5IUDFIK.js";import c from"./EQMAMY5L.js";import b from"./SPMVGPBU.js";import{g as s}from"./EP4FNRB2.js";import"./UM5HLJ6Z.js";import"./ELEZAC3K.js";import"./GITNRBUR.js";import"./MYLRNHOI.js";import{I as o,O as a,a as i,s as r}from"./M7HAKBNG.js";import"./FHMZ7YBE.js";export default $arcgis.t(([l,,{a:e},n])=>{var c=i`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--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}:host{min-width:300px}.esri-utility-network-trace{flex:auto;width:300px}.esri-utility-network-trace calcite-icon{box-sizing:initial}.esri-utility-network-trace calcite-tab{background-color:var(--calcite-color-foreground-2);padding-top:0;padding-bottom:0}.esri-utility-network-trace calcite-tab:not([selected]){flex:0}.esri-utility-network-trace.esri-component.esri-widget--panel{min-height:120px;width:300px}.esri-utility-network-trace__add-button-container{justify-content:center;margin:18px 0 var(--calcite-spacing-md);display:grid}.esri-utility-network-trace__block-container{margin-top:0;height:95%}.esri-utility-network-trace__block-content{border-bottom:none;margin:0}.esri-utility-network-trace__clear-results-block{position:absolute;bottom:0;left:0;margin:0;border-top:3px solid #6e6e6e26;background-color:#f3f3f3}.esri-utility-network-trace__divider{color:inherit;border-color:var(--calcite-color-border-input);border-bottom-style:solid;border-bottom-width:1px;flex:none;margin:0 0 var(--calcite-spacing-md)}.esri-utility-network-trace__double-pad-top{padding-top:10px}.esri-utility-network-trace__feature-content{height:300px}.esri-utility-network-trace__flow{height:100%}.esri-utility-network-trace__list-container{background-color:var(--calcite-color-foreground-1);padding:3px}.esri-utility-network-trace__notice-container{padding:var(--calcite-spacing-xs)}.esri-utility-network-trace__number-input{width:150px}.esri-utility-network-trace__pad-bottom{padding-bottom:5px}.esri-utility-network-trace__pad-top{padding-top:5px}.esri-utility-network-trace__reset-prompt{background-color:var(--calcite-color-background);color:var(--calcite-color-text-2);border-top:3px solid var(--calcite-color-border-input);flex-flow:column;max-height:85%;padding:var(--calcite-spacing-md) 15px;animation:.1s ease-in-out esri-fade-in-up;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 1px 2px #0000004d}.esri-utility-network-trace__results-container{height:100%}.esri-utility-network-trace__tabs{min-height:250px;position:relative}`,d=n(l),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.autoDestroyDisabled=!1,this.defaultGraphicColor=this.widget.defaultGraphicColor,this.disabled=this.widget.disabled,this.enableResultArea=this.widget.enableResultArea,this.flags=this.widget.flags,this.icon=this.widget.icon,this.inputSettings=this.widget.inputSettings,this.label=this.widget.label,this.resultAreaProperties=this.widget.resultAreaProperties,this.selectOnCompleteDisabled=this.widget.selectOnComplete,this.selectedTraces=this.widget.selectedTraces,this.showGraphicsOnCompleteDisabled=this.widget.showGraphicsOnComplete,this.showSelectionAttributesDisabled=this.widget.showSelectionAttributes,this.state=this.viewModel.state,this.traceResults=this.widget.traceResults,this.arcgisAddFlag=e(()=>this.widget,"add-flag"),this.arcgisAddFlagComplete=e(()=>this.widget,"add-flag-complete"),this.arcgisAddFlagError=e(()=>this.widget,"add-flag-error"),this.arcgisAddResultArea=e(()=>this.widget,"add-result-area"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=r(),this.arcgisRemoveResultArea=e(()=>this.widget,"remove-result-area")}static{this.properties={view:0,autoDestroyDisabled:5,defaultGraphicColor:0,disabled:7,enableResultArea:5,flags:0,icon:1,inputSettings:0,label:1,position:1,referenceElement:1,resultAreaProperties:0,selectOnCompleteDisabled:5,selectedTraces:0,showGraphicsOnCompleteDisabled:5,showSelectionAttributesDisabled:5,state:3,traceResults:32}}static{this.styles=c}async checkCanTrace(){await this.widget?.checkCanTrace()}async confirmReset(){this.widget?.confirmReset()}async destroy(){await this.manager.destroy()}};a("arcgis-utility-network-trace",t);return t},"widgets/UtilityNetworkTrace",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.87 */
4
- import{I as s,J as n,O as a,a as i,b as e}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";var c=i`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,o="arcgis-print",l={advancedOptionsContainer:`${o}__advanced-options-container`},t=class extends s{static{this.properties={viewModel:0,messages:0}}static{this.styles=c}loaded(){this.manager.onLifecycle(()=>[])}render(){return e`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${n(l.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderAttributionSection()}${this._renderCustomTextElementSection()}</div>`}_renderScaleSection(){return e`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderDpiSection(){return e`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return e`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderAttributionSection(){return e`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.attributionEnabled} @calciteCheckboxChange=${r=>this.viewModel.templateOptions.attributionEnabled=r.target.checked}></calcite-checkbox>${this.messages.attribution}</calcite-label></div>`}_renderCustomTextElementSection(){return e`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}};a("arcgis-print-map-only-advanced-options",t);export{t as PrintMapOnlyAdvancedOptions};
3
+ v5.0.0-next.88 */
4
+ import{I as s,J as n,O as a,a as i,b as e}from"./M7HAKBNG.js";import"./FHMZ7YBE.js";var c=i`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,o="arcgis-print",l={advancedOptionsContainer:`${o}__advanced-options-container`},t=class extends s{static{this.properties={viewModel:0,messages:0}}static{this.styles=c}loaded(){this.manager.onLifecycle(()=>[])}render(){return e`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${n(l.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderAttributionSection()}${this._renderCustomTextElementSection()}</div>`}_renderScaleSection(){return e`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderDpiSection(){return e`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return e`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderAttributionSection(){return e`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.attributionEnabled} @calciteCheckboxChange=${r=>this.viewModel.templateOptions.attributionEnabled=r.target.checked}></calcite-checkbox>${this.messages.attribution}</calcite-label></div>`}_renderCustomTextElementSection(){return e`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}};a("arcgis-print-map-only-advanced-options",t);export{t as PrintMapOnlyAdvancedOptions};
@@ -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.87 */
4
- import{a as P}from"./YSRMPSZ6.js";var w={};P(w,{PLACEHOLDER:()=>te,PLACEHOLDER2:()=>se,assert:()=>W,getType:()=>T,isArray:()=>ee,isDate:()=>N,isNaN:()=>E,isNumber:()=>a,isObject:()=>$,isString:()=>F,numberToString:()=>Z,repeat:()=>j,toDate:()=>X,toNumber:()=>R});function E(s){return Number(s)!==s}function T(s){return{}.toString.call(s)}function W(s,e="Assertion failed"){if(!s)throw new Error(e)}function R(s){if(s!=null&&!a(s)){let e=Number(s);if(E(e)&&F(s)&&s!=""&&s.match(/[0-9]+/)){let t=s.replace(/[^0-9.\-]+/g,"");return s===t?e:R(t)}return e}return s}function X(s){if(N(s))return new Date(s);if(a(s))return new Date(s);{let e=Number(s);return a(e)?new Date(e):new Date(s)}}function Z(s){if(E(s))return"NaN";if(s===1/0)return"Infinity";if(s===-1/0)return"-Infinity";if(s===0&&1/s===-1/0)return"-0";let e=s<0;s=Math.abs(s);let t=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+s),i=t[1],r=t[2]||"",n;if(t[3]===void 0)n=r===""?i:i+"."+r;else{let o=+t[3];if(s<1){let u=o-1;n="0."+j("0",u)+i+r}else{let u=o-r.length;u===0?n=i+r:u<0?n=i+r.slice(0,u)+"."+r.slice(u):n=i+r+j("0",u)}}return e?"-"+n:n}function j(s,e){return new Array(e+1).join(s)}function N(s){return T(s)==="[object Date]"}function F(s){return typeof s=="string"}function a(s){return typeof s=="number"&&Number(s)==s}function $(s){return typeof s=="object"&&s!==null}function ee(s){return Array.isArray(s)}var te="__\xA7\xA7\xA7__",se="__\xA7\xA7\xA7\xA7__";var f={};P(f,{add:()=>pe,any:()=>k,copy:()=>ge,each:()=>l,eachContinue:()=>ne,eachReverse:()=>re,find:()=>we,findIndex:()=>x,findIndexReverse:()=>H,findMap:()=>xe,findReverse:()=>ve,first:()=>le,getFirstSortedIndex:()=>Oe,getSortedIndex:()=>A,has:()=>be,indexOf:()=>D,insert:()=>M,insertIndex:()=>B,keepIf:()=>Pe,last:()=>ue,map:()=>ie,move:()=>ae,pushAll:()=>ce,pushOne:()=>de,remove:()=>v,removeFirst:()=>_,removeIndex:()=>z,replace:()=>fe,setIndex:()=>he,shiftLeft:()=>oe,shuffle:()=>ye,slice:()=>me,toArray:()=>_e});function D(s,e){let t=s.length;for(let i=0;i<t;++i)if(s[i]===e)return i;return-1}function k(s,e){let t=s.length;for(let i=0;i<t;++i)if(e(s[i]))return!0;return!1}function ie(s,e){let t=s.length,i=new Array(t);for(let r=0;r<t;++r)i[r]=e(s[r],r);return i}function l(s,e){let t=s.length;for(let i=0;i<t;++i)e(s[i],i)}function re(s,e){let t=s.length;for(;t>0;)--t,e(s[t],t)}function ne(s,e){let t=s.length;for(let i=0;i<t&&e(s[i],i);++i);}function oe(s,e){let t=s.length;for(let i=e;i<t;++i)s[i-e]=s[i];s.length=t-e}function ue(s){let e=s.length;return e?s[e-1]:void 0}function le(s){return s[0]}function M(s,e,t){t=Math.max(0,Math.min(t,s.length)),s.splice(t,0,e)}function he(s,e,t){v(s,e),M(s,e,t)}function ce(s,e){let t=e.length;for(let i=0;i<t;++i)s.push(e[i])}function v(s,e){let t=!1,i=0;for(;;){if(i=s.indexOf(e,i),i===-1)return t;t=!0,s.splice(i,1)}}function _(s,e){let t=s.indexOf(e);return t!==-1?(s.splice(t,1),!0):!1}function ae(s,e,t){let i=D(s,e);i!==-1&&z(s,i),t==null?s.push(e):B(s,t,e)}function pe(s,e,t){a(t)?t===0?s.unshift(e):s.splice(t,0,e):s.push(e)}function de(s,e){s.indexOf(e)===-1&&s.push(e)}function fe(s,e,t){let i=s.indexOf(e);i!==-1&&s.splice(i,1),a(t)?s.splice(t,0,e):s.push(e)}function _e(s){return Array.isArray(s)?s:[s]}function be(s,e){return D(s,e)!==-1}function ge(s){let e=s.length,t=new Array(e);for(let i=0;i<e;++i)t[i]=s[i];return t}function me(s,e,t=s.length){let i=new Array(t-e);for(let r=e;r<t;++r)i[r-e]=s[r];return i}function B(s,e,t){s.splice(e,0,t)}function z(s,e){s.splice(e,1)}function x(s,e){let t=s.length;for(let i=0;i<t;++i)if(e(s[i],i))return i;return-1}function H(s,e){let t=s.length;for(;t>0;)if(--t,e(s[t],t))return t;return-1}function we(s,e){let t=x(s,e);if(t!==-1)return s[t]}function ve(s,e){let t=H(s,e);if(t!==-1)return s[t]}function xe(s,e){let t=s.length;for(let i=0;i<t;++i){let r=e(s[i],i);if(r!==void 0)return r}}function ye(s){let e=s.length,t,i;for(;e!==0;)i=Math.floor(Math.random()*e),e-=1,t=s[e],s[e]=s[i],s[i]=t}function A(s,e){let t=0,i=s.length,r=!1;for(;t<i;){let n=t+i>>1,o=e(s[n]);o<0?t=n+1:o===0?(r=!0,t=n+1):i=n}return{found:r,index:r?t-1:t}}function Oe(s,e){let t=0,i=s.length,r=!1;for(;t<i;){let n=t+i>>1,o=e(s[n]);o<0?t=n+1:(o===0&&(r=!0),i=n)}return{found:r,index:t}}function Pe(s,e){let t=s.length;for(;t>0;)--t,e(s[t])||s.splice(t,1)}var V={};P(V,{copy:()=>je,each:()=>h,eachContinue:()=>Ee,eachOrdered:()=>$e,hasKey:()=>Y,keys:()=>b,keysOrdered:()=>K,softCopyProperties:()=>De});function b(s){return Object.keys(s)}function K(s,e){return b(s).sort(e)}function je(s){return Object.assign({},s)}function h(s,e){b(s).forEach(t=>{e(t,s[t])})}function Ee(s,e){for(let t in s)if(Y(s,t)&&!e(t,s[t]))break}function $e(s,e,t){l(K(s,t),i=>{e(i,s[i])})}function Y(s,e){return{}.hasOwnProperty.call(s,e)}function De(s,e){return h(s,(t,i)=>{i!=null&&e[t]==null&&(e[t]=i)}),e}var g=class{constructor(){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},c=class{constructor(e){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dispose",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1,this._dispose=e}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},q=class extends g{constructor(){super(...arguments),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]})}_dispose(){l(this._disposers,e=>{e.dispose()})}},p=class extends g{constructor(e){super(),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposers=e}_dispose(){l(this._disposers,e=>{e.dispose()})}get disposers(){return this._disposers}},G=class extends g{constructor(){super(...arguments),Object.defineProperty(this,"_disposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_dispose(){this._disposer!=null&&(this._disposer.dispose(),this._disposer=void 0)}get(){return this._value}set(e,t){this._disposer!=null&&this._disposer.dispose(),this._disposer=t,this._value=e}reset(){this.set(void 0,void 0)}},J=class extends c{constructor(){super(...arguments),Object.defineProperty(this,"_counter",{enumerable:!0,configurable:!0,writable:!0,value:0})}increment(){return++this._counter,new c(()=>{--this._counter,this._counter===0&&this.dispose()})}};var y=class{constructor(){Object.defineProperty(this,"_listeners",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_killed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_iterating",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_enabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}isDisposed(){return this._disposed}dispose(){if(!this._disposed){this._disposed=!0;let e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{l(e,t=>{t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}}hasListeners(){return this._listeners.length!==0}hasListenersByType(e){return k(this._listeners,t=>(t.type===null||t.type===e)&&!t.killed)}enable(){this._enabled=!0}disable(){this._enabled=!1}enableType(e){delete this._disabled[e]}disableType(e,t=1/0){this._disabled[e]=t}_removeListener(e){if(this._iterating===0){let t=this._listeners.indexOf(e);if(t===-1)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}_removeExistingListener(e,t,i,r){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(n=>{n.once===e&&n.type===t&&(i===void 0||n.callback===i)&&n.context===r&&n.disposer.dispose()})}isEnabled(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&this._disabled[e]===void 0}removeType(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(t=>{t.type===e&&t.disposer.dispose()})}has(e,t,i){return x(this._listeners,n=>n.once!==!0&&n.type===e&&(t===void 0||n.callback===t)&&n.context===i)!==-1}_shouldDispatch(e){if(this._disposed)throw new Error("EventDispatcher is disposed");let t=this._disabled[e];return a(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}_eachListener(e){++this._iterating;try{l(this._listeners,e)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(l(this._killed,t=>{this._removeListener(t)}),this._killed.length=0)}}dispatch(e,t){this._shouldDispatch(e)&&this._eachListener(i=>{!i.killed&&(i.type===null||i.type===e)&&(i._debounceDelay?(i._debounceTimeout&&window.clearTimeout(i._debounceTimeout),i._debounceTimeout=window.setTimeout(()=>{i._debounceTimeout=void 0,i.killed||i.dispatch(e,t)},i._debounceDelay)):i.dispatch(e,t))})}_on(e,t,i,r,n,o,u){if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,i,r);let d={type:t,callback:i,context:r,shouldClone:n,dispatch:o,killed:!1,once:e,disposer:new c(()=>{d.killed=!0,d._debounceTimeout&&window.clearTimeout(d._debounceTimeout),this._removeListener(d)}),_debounceDelay:u};return this._listeners.push(d),d}onAll(e,t,i=!0){return this._on(!1,null,e,t,i,(r,n)=>e.call(t,n)).disposer}on(e,t,i,r=!0){return this._on(!1,e,t,i,r,(n,o)=>t.call(i,o)).disposer}onDebounced(e,t,i,r,n=!0){return this._on(!1,e,t,r,n,(o,u)=>t.call(r,u),i).disposer}once(e,t,i,r=!0){let n=this._on(!0,e,t,i,r,(o,u)=>{n.disposer.dispose(),t.call(i,u)});return n.disposer}off(e,t,i){this._removeExistingListener(!1,e,t,i)}copyFrom(e){if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");let t=[];return l(e._listeners,i=>{!i.killed&&i.shouldClone&&(i.type===null?t.push(this.onAll(i.callback,i.context)):i.once?t.push(this.once(i.type,i.callback,i.context)):t.push(this.on(i.type,i.callback,i.context)))}),new p(t)}};function L(s){h(s,(e,t)=>{$(t)&&typeof t.dispose=="function"&&(t.enableDispose=!0,t.dispose())})}var S=class{constructor(e,t,i){Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._name=e,this._template=t,this._settings=i}_dispose(){L(this._settings)}get(e,t){let i=this._settings[e];return i!==void 0?i:t}set(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}remove(e){delete this._settings[e],this._template._stateChanged(this._name)}setAll(e){b(e).forEach(t=>{this._settings[t]=e[t]}),this._template._stateChanged(this._name)}_apply(e,t){h(this._settings,(i,r)=>{!t[i]&&!e._userSettings[i]&&(t[i]=!0,e.setRaw(i,r))})}},I=class{constructor(e){Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_states",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._template=e}_dispose(){h(this._states,(e,t)=>{t._dispose()})}lookup(e){return this._states[e]}create(e,t){let i=this._states[e];if(i)return i.setAll(t),i;{let r=new S(e,this._template,t);return this._states[e]=r,this._template._stateChanged(e),r}}remove(e){delete this._states[e],this._template._stateChanged(e)}_apply(e,t){h(this._states,(i,r)=>{let n=t.states[i];n==null&&(n=t.states[i]={});let o=e.states.create(i,{});r._apply(o,n)})}},C=class{constructor(){Object.defineProperty(this,"_callbacks",{enumerable:!0,configurable:!0,writable:!0,value:{}})}add(e,t){let i=this._callbacks[e];return i===void 0&&(i=this._callbacks[e]=[]),i.push(t),new c(()=>{_(i,t),i.length===0&&delete this._callbacks[e]})}remove(e){this._callbacks[e]!==void 0&&delete this._callbacks[e]}_apply(e){let t=[];return h(this._callbacks,(i,r)=>{l(r,n=>{t.push(e.adapters.add(i,n))})}),new p(t)}},O=class s{constructor(e,t){if(Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_privateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_settingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_privateSettingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_entities",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"states",{enumerable:!0,configurable:!0,writable:!0,value:new I(this)}),Object.defineProperty(this,"adapters",{enumerable:!0,configurable:!0,writable:!0,value:new C}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new y}),Object.defineProperty(this,"setup",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}static new(e){return new s(e,!0)}_dispose(){L(this._settings),L(this._privateSettings)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}_checkDisposed(){if(this._disposed)throw new Error("Template is disposed")}get entities(){return this._entities}get(e,t){this._checkDisposed();let i=this._settings[e];return i!==void 0?i:t}setRaw(e,t){this._checkDisposed(),this._settings[e]=t}set(e,t){this._checkDisposed(),this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEach(i=>{i._setTemplateProperty(this,e,t)}))}remove(e){this._checkDisposed(),e in this._settings&&(delete this._settings[e],this._entities.forEach(t=>{t._removeTemplateProperty(e)}))}removeAll(){this._checkDisposed(),h(this._settings,(e,t)=>{this.remove(e)})}getPrivate(e,t){this._checkDisposed();let i=this._privateSettings[e];return i!==void 0?i:t}setPrivateRaw(e,t){return this._checkDisposed(),this._privateSettings[e]=t,t}setPrivate(e,t){return this._checkDisposed(),this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach(i=>{i._setTemplatePrivateProperty(this,e,t)})),t}removePrivate(e){this._checkDisposed(),e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach(t=>{t._removeTemplatePrivateProperty(e)}))}setAll(e){this._checkDisposed(),h(e,(t,i)=>{this.set(t,i)})}on(e,t){this._checkDisposed();let i=this._settingEvents[e];return i===void 0&&(i=this._settingEvents[e]=[]),i.push(t),new c(()=>{_(i,t),i.length===0&&delete this._settingEvents[e]})}onPrivate(e,t){this._checkDisposed();let i=this._privateSettingEvents[e];return i===void 0&&(i=this._privateSettingEvents[e]=[]),i.push(t),new c(()=>{_(i,t),i.length===0&&delete this._privateSettingEvents[e]})}_apply(e,t){this._checkDisposed();let i=[];return h(this._settingEvents,(r,n)=>{l(n,o=>{i.push(e.on(r,o))})}),h(this._privateSettingEvents,(r,n)=>{l(n,o=>{i.push(e.onPrivate(r,o))})}),this.states._apply(e,t),i.push(this.adapters._apply(e)),i.push(e.events.copyFrom(this.events)),new p(i)}_setObjectTemplate(e){this._checkDisposed(),this._entities.push(e)}_removeObjectTemplate(e){v(this._entities,e)}_stateChanged(e){this._checkDisposed(),this._entities.forEach(t=>{t._applyStateByKey(e)})}};function m(s,e){return s===e?0:s<e?-1:1}function Q(s,e,t){let i=s.length,r=e.length,n=Math.min(i,r);for(let o=0;o<n;++o){let u=t(s[o],e[o]);if(u!==0)return u}return m(i,r)}function Re(s,e){return s===e?0:s<e?-1:1}var U=class{constructor(e,t){if(Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rules",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}static new(e){let t=new this(e,!0);return t.setupDefaultRules(),t}setupDefaultRules(){}_lookupRules(e){return this._rules[e]}ruleRaw(e,t=[]){let i=this._rules[e];i||(i=this._rules[e]=[]),t.sort(m);let{index:r,found:n}=A(i,o=>{let u=m(o.tags.length,t.length);return u===0?Q(o.tags,t,m):u});if(n)return i[r].template;{let o=O.new({});return i.splice(r,0,{tags:t,template:o}),o}}rule(e,t=[]){return this.ruleRaw(e,t)}};export{E as a,R as b,X as c,Z as d,N as e,F as f,a as g,$ as h,ee as i,te as j,se as k,w as l,D as m,ie as n,l as o,re as p,ne as q,v as r,_ as s,ae as t,de as u,ge as v,B as w,z as x,we as y,ve as z,A,Oe as B,Pe as C,f as D,b as E,K as F,je as G,h as H,Ee as I,V as J,g as K,c as L,q as M,p as N,G as O,J as P,y as Q,m as R,Q as S,Re as T,O as U,U as V};
3
+ v5.0.0-next.88 */
4
+ import{a as P}from"./FHMZ7YBE.js";var w={};P(w,{PLACEHOLDER:()=>te,PLACEHOLDER2:()=>se,assert:()=>W,getType:()=>T,isArray:()=>ee,isDate:()=>N,isNaN:()=>E,isNumber:()=>a,isObject:()=>$,isString:()=>F,numberToString:()=>Z,repeat:()=>j,toDate:()=>X,toNumber:()=>R});function E(s){return Number(s)!==s}function T(s){return{}.toString.call(s)}function W(s,e="Assertion failed"){if(!s)throw new Error(e)}function R(s){if(s!=null&&!a(s)){let e=Number(s);if(E(e)&&F(s)&&s!=""&&s.match(/[0-9]+/)){let t=s.replace(/[^0-9.\-]+/g,"");return s===t?e:R(t)}return e}return s}function X(s){if(N(s))return new Date(s);if(a(s))return new Date(s);{let e=Number(s);return a(e)?new Date(e):new Date(s)}}function Z(s){if(E(s))return"NaN";if(s===1/0)return"Infinity";if(s===-1/0)return"-Infinity";if(s===0&&1/s===-1/0)return"-0";let e=s<0;s=Math.abs(s);let t=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+s),i=t[1],r=t[2]||"",n;if(t[3]===void 0)n=r===""?i:i+"."+r;else{let o=+t[3];if(s<1){let u=o-1;n="0."+j("0",u)+i+r}else{let u=o-r.length;u===0?n=i+r:u<0?n=i+r.slice(0,u)+"."+r.slice(u):n=i+r+j("0",u)}}return e?"-"+n:n}function j(s,e){return new Array(e+1).join(s)}function N(s){return T(s)==="[object Date]"}function F(s){return typeof s=="string"}function a(s){return typeof s=="number"&&Number(s)==s}function $(s){return typeof s=="object"&&s!==null}function ee(s){return Array.isArray(s)}var te="__\xA7\xA7\xA7__",se="__\xA7\xA7\xA7\xA7__";var f={};P(f,{add:()=>pe,any:()=>k,copy:()=>ge,each:()=>l,eachContinue:()=>ne,eachReverse:()=>re,find:()=>we,findIndex:()=>x,findIndexReverse:()=>H,findMap:()=>xe,findReverse:()=>ve,first:()=>le,getFirstSortedIndex:()=>Oe,getSortedIndex:()=>A,has:()=>be,indexOf:()=>D,insert:()=>M,insertIndex:()=>B,keepIf:()=>Pe,last:()=>ue,map:()=>ie,move:()=>ae,pushAll:()=>ce,pushOne:()=>de,remove:()=>v,removeFirst:()=>_,removeIndex:()=>z,replace:()=>fe,setIndex:()=>he,shiftLeft:()=>oe,shuffle:()=>ye,slice:()=>me,toArray:()=>_e});function D(s,e){let t=s.length;for(let i=0;i<t;++i)if(s[i]===e)return i;return-1}function k(s,e){let t=s.length;for(let i=0;i<t;++i)if(e(s[i]))return!0;return!1}function ie(s,e){let t=s.length,i=new Array(t);for(let r=0;r<t;++r)i[r]=e(s[r],r);return i}function l(s,e){let t=s.length;for(let i=0;i<t;++i)e(s[i],i)}function re(s,e){let t=s.length;for(;t>0;)--t,e(s[t],t)}function ne(s,e){let t=s.length;for(let i=0;i<t&&e(s[i],i);++i);}function oe(s,e){let t=s.length;for(let i=e;i<t;++i)s[i-e]=s[i];s.length=t-e}function ue(s){let e=s.length;return e?s[e-1]:void 0}function le(s){return s[0]}function M(s,e,t){t=Math.max(0,Math.min(t,s.length)),s.splice(t,0,e)}function he(s,e,t){v(s,e),M(s,e,t)}function ce(s,e){let t=e.length;for(let i=0;i<t;++i)s.push(e[i])}function v(s,e){let t=!1,i=0;for(;;){if(i=s.indexOf(e,i),i===-1)return t;t=!0,s.splice(i,1)}}function _(s,e){let t=s.indexOf(e);return t!==-1?(s.splice(t,1),!0):!1}function ae(s,e,t){let i=D(s,e);i!==-1&&z(s,i),t==null?s.push(e):B(s,t,e)}function pe(s,e,t){a(t)?t===0?s.unshift(e):s.splice(t,0,e):s.push(e)}function de(s,e){s.indexOf(e)===-1&&s.push(e)}function fe(s,e,t){let i=s.indexOf(e);i!==-1&&s.splice(i,1),a(t)?s.splice(t,0,e):s.push(e)}function _e(s){return Array.isArray(s)?s:[s]}function be(s,e){return D(s,e)!==-1}function ge(s){let e=s.length,t=new Array(e);for(let i=0;i<e;++i)t[i]=s[i];return t}function me(s,e,t=s.length){let i=new Array(t-e);for(let r=e;r<t;++r)i[r-e]=s[r];return i}function B(s,e,t){s.splice(e,0,t)}function z(s,e){s.splice(e,1)}function x(s,e){let t=s.length;for(let i=0;i<t;++i)if(e(s[i],i))return i;return-1}function H(s,e){let t=s.length;for(;t>0;)if(--t,e(s[t],t))return t;return-1}function we(s,e){let t=x(s,e);if(t!==-1)return s[t]}function ve(s,e){let t=H(s,e);if(t!==-1)return s[t]}function xe(s,e){let t=s.length;for(let i=0;i<t;++i){let r=e(s[i],i);if(r!==void 0)return r}}function ye(s){let e=s.length,t,i;for(;e!==0;)i=Math.floor(Math.random()*e),e-=1,t=s[e],s[e]=s[i],s[i]=t}function A(s,e){let t=0,i=s.length,r=!1;for(;t<i;){let n=t+i>>1,o=e(s[n]);o<0?t=n+1:o===0?(r=!0,t=n+1):i=n}return{found:r,index:r?t-1:t}}function Oe(s,e){let t=0,i=s.length,r=!1;for(;t<i;){let n=t+i>>1,o=e(s[n]);o<0?t=n+1:(o===0&&(r=!0),i=n)}return{found:r,index:t}}function Pe(s,e){let t=s.length;for(;t>0;)--t,e(s[t])||s.splice(t,1)}var V={};P(V,{copy:()=>je,each:()=>h,eachContinue:()=>Ee,eachOrdered:()=>$e,hasKey:()=>Y,keys:()=>b,keysOrdered:()=>K,softCopyProperties:()=>De});function b(s){return Object.keys(s)}function K(s,e){return b(s).sort(e)}function je(s){return Object.assign({},s)}function h(s,e){b(s).forEach(t=>{e(t,s[t])})}function Ee(s,e){for(let t in s)if(Y(s,t)&&!e(t,s[t]))break}function $e(s,e,t){l(K(s,t),i=>{e(i,s[i])})}function Y(s,e){return{}.hasOwnProperty.call(s,e)}function De(s,e){return h(s,(t,i)=>{i!=null&&e[t]==null&&(e[t]=i)}),e}var g=class{constructor(){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},c=class{constructor(e){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dispose",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1,this._dispose=e}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},q=class extends g{constructor(){super(...arguments),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]})}_dispose(){l(this._disposers,e=>{e.dispose()})}},p=class extends g{constructor(e){super(),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposers=e}_dispose(){l(this._disposers,e=>{e.dispose()})}get disposers(){return this._disposers}},G=class extends g{constructor(){super(...arguments),Object.defineProperty(this,"_disposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_dispose(){this._disposer!=null&&(this._disposer.dispose(),this._disposer=void 0)}get(){return this._value}set(e,t){this._disposer!=null&&this._disposer.dispose(),this._disposer=t,this._value=e}reset(){this.set(void 0,void 0)}},J=class extends c{constructor(){super(...arguments),Object.defineProperty(this,"_counter",{enumerable:!0,configurable:!0,writable:!0,value:0})}increment(){return++this._counter,new c(()=>{--this._counter,this._counter===0&&this.dispose()})}};var y=class{constructor(){Object.defineProperty(this,"_listeners",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_killed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_iterating",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_enabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}isDisposed(){return this._disposed}dispose(){if(!this._disposed){this._disposed=!0;let e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{l(e,t=>{t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}}hasListeners(){return this._listeners.length!==0}hasListenersByType(e){return k(this._listeners,t=>(t.type===null||t.type===e)&&!t.killed)}enable(){this._enabled=!0}disable(){this._enabled=!1}enableType(e){delete this._disabled[e]}disableType(e,t=1/0){this._disabled[e]=t}_removeListener(e){if(this._iterating===0){let t=this._listeners.indexOf(e);if(t===-1)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}_removeExistingListener(e,t,i,r){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(n=>{n.once===e&&n.type===t&&(i===void 0||n.callback===i)&&n.context===r&&n.disposer.dispose()})}isEnabled(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&this._disabled[e]===void 0}removeType(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(t=>{t.type===e&&t.disposer.dispose()})}has(e,t,i){return x(this._listeners,n=>n.once!==!0&&n.type===e&&(t===void 0||n.callback===t)&&n.context===i)!==-1}_shouldDispatch(e){if(this._disposed)throw new Error("EventDispatcher is disposed");let t=this._disabled[e];return a(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}_eachListener(e){++this._iterating;try{l(this._listeners,e)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(l(this._killed,t=>{this._removeListener(t)}),this._killed.length=0)}}dispatch(e,t){this._shouldDispatch(e)&&this._eachListener(i=>{!i.killed&&(i.type===null||i.type===e)&&(i._debounceDelay?(i._debounceTimeout&&window.clearTimeout(i._debounceTimeout),i._debounceTimeout=window.setTimeout(()=>{i._debounceTimeout=void 0,i.killed||i.dispatch(e,t)},i._debounceDelay)):i.dispatch(e,t))})}_on(e,t,i,r,n,o,u){if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,i,r);let d={type:t,callback:i,context:r,shouldClone:n,dispatch:o,killed:!1,once:e,disposer:new c(()=>{d.killed=!0,d._debounceTimeout&&window.clearTimeout(d._debounceTimeout),this._removeListener(d)}),_debounceDelay:u};return this._listeners.push(d),d}onAll(e,t,i=!0){return this._on(!1,null,e,t,i,(r,n)=>e.call(t,n)).disposer}on(e,t,i,r=!0){return this._on(!1,e,t,i,r,(n,o)=>t.call(i,o)).disposer}onDebounced(e,t,i,r,n=!0){return this._on(!1,e,t,r,n,(o,u)=>t.call(r,u),i).disposer}once(e,t,i,r=!0){let n=this._on(!0,e,t,i,r,(o,u)=>{n.disposer.dispose(),t.call(i,u)});return n.disposer}off(e,t,i){this._removeExistingListener(!1,e,t,i)}copyFrom(e){if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");let t=[];return l(e._listeners,i=>{!i.killed&&i.shouldClone&&(i.type===null?t.push(this.onAll(i.callback,i.context)):i.once?t.push(this.once(i.type,i.callback,i.context)):t.push(this.on(i.type,i.callback,i.context)))}),new p(t)}};function L(s){h(s,(e,t)=>{$(t)&&typeof t.dispose=="function"&&(t.enableDispose=!0,t.dispose())})}var S=class{constructor(e,t,i){Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._name=e,this._template=t,this._settings=i}_dispose(){L(this._settings)}get(e,t){let i=this._settings[e];return i!==void 0?i:t}set(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}remove(e){delete this._settings[e],this._template._stateChanged(this._name)}setAll(e){b(e).forEach(t=>{this._settings[t]=e[t]}),this._template._stateChanged(this._name)}_apply(e,t){h(this._settings,(i,r)=>{!t[i]&&!e._userSettings[i]&&(t[i]=!0,e.setRaw(i,r))})}},I=class{constructor(e){Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_states",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._template=e}_dispose(){h(this._states,(e,t)=>{t._dispose()})}lookup(e){return this._states[e]}create(e,t){let i=this._states[e];if(i)return i.setAll(t),i;{let r=new S(e,this._template,t);return this._states[e]=r,this._template._stateChanged(e),r}}remove(e){delete this._states[e],this._template._stateChanged(e)}_apply(e,t){h(this._states,(i,r)=>{let n=t.states[i];n==null&&(n=t.states[i]={});let o=e.states.create(i,{});r._apply(o,n)})}},C=class{constructor(){Object.defineProperty(this,"_callbacks",{enumerable:!0,configurable:!0,writable:!0,value:{}})}add(e,t){let i=this._callbacks[e];return i===void 0&&(i=this._callbacks[e]=[]),i.push(t),new c(()=>{_(i,t),i.length===0&&delete this._callbacks[e]})}remove(e){this._callbacks[e]!==void 0&&delete this._callbacks[e]}_apply(e){let t=[];return h(this._callbacks,(i,r)=>{l(r,n=>{t.push(e.adapters.add(i,n))})}),new p(t)}},O=class s{constructor(e,t){if(Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_privateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_settingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_privateSettingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_entities",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"states",{enumerable:!0,configurable:!0,writable:!0,value:new I(this)}),Object.defineProperty(this,"adapters",{enumerable:!0,configurable:!0,writable:!0,value:new C}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new y}),Object.defineProperty(this,"setup",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}static new(e){return new s(e,!0)}_dispose(){L(this._settings),L(this._privateSettings)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}_checkDisposed(){if(this._disposed)throw new Error("Template is disposed")}get entities(){return this._entities}get(e,t){this._checkDisposed();let i=this._settings[e];return i!==void 0?i:t}setRaw(e,t){this._checkDisposed(),this._settings[e]=t}set(e,t){this._checkDisposed(),this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEach(i=>{i._setTemplateProperty(this,e,t)}))}remove(e){this._checkDisposed(),e in this._settings&&(delete this._settings[e],this._entities.forEach(t=>{t._removeTemplateProperty(e)}))}removeAll(){this._checkDisposed(),h(this._settings,(e,t)=>{this.remove(e)})}getPrivate(e,t){this._checkDisposed();let i=this._privateSettings[e];return i!==void 0?i:t}setPrivateRaw(e,t){return this._checkDisposed(),this._privateSettings[e]=t,t}setPrivate(e,t){return this._checkDisposed(),this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach(i=>{i._setTemplatePrivateProperty(this,e,t)})),t}removePrivate(e){this._checkDisposed(),e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach(t=>{t._removeTemplatePrivateProperty(e)}))}setAll(e){this._checkDisposed(),h(e,(t,i)=>{this.set(t,i)})}on(e,t){this._checkDisposed();let i=this._settingEvents[e];return i===void 0&&(i=this._settingEvents[e]=[]),i.push(t),new c(()=>{_(i,t),i.length===0&&delete this._settingEvents[e]})}onPrivate(e,t){this._checkDisposed();let i=this._privateSettingEvents[e];return i===void 0&&(i=this._privateSettingEvents[e]=[]),i.push(t),new c(()=>{_(i,t),i.length===0&&delete this._privateSettingEvents[e]})}_apply(e,t){this._checkDisposed();let i=[];return h(this._settingEvents,(r,n)=>{l(n,o=>{i.push(e.on(r,o))})}),h(this._privateSettingEvents,(r,n)=>{l(n,o=>{i.push(e.onPrivate(r,o))})}),this.states._apply(e,t),i.push(this.adapters._apply(e)),i.push(e.events.copyFrom(this.events)),new p(i)}_setObjectTemplate(e){this._checkDisposed(),this._entities.push(e)}_removeObjectTemplate(e){v(this._entities,e)}_stateChanged(e){this._checkDisposed(),this._entities.forEach(t=>{t._applyStateByKey(e)})}};function m(s,e){return s===e?0:s<e?-1:1}function Q(s,e,t){let i=s.length,r=e.length,n=Math.min(i,r);for(let o=0;o<n;++o){let u=t(s[o],e[o]);if(u!==0)return u}return m(i,r)}function Re(s,e){return s===e?0:s<e?-1:1}var U=class{constructor(e,t){if(Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rules",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}static new(e){let t=new this(e,!0);return t.setupDefaultRules(),t}setupDefaultRules(){}_lookupRules(e){return this._rules[e]}ruleRaw(e,t=[]){let i=this._rules[e];i||(i=this._rules[e]=[]),t.sort(m);let{index:r,found:n}=A(i,o=>{let u=m(o.tags.length,t.length);return u===0?Q(o.tags,t,m):u});if(n)return i[r].template;{let o=O.new({});return i.splice(r,0,{tags:t,template:o}),o}}rule(e,t=[]){return this.ruleRaw(e,t)}};export{E as a,R as b,X as c,Z as d,N as e,F as f,a as g,$ as h,ee as i,te as j,se as k,w as l,D as m,ie as n,l as o,re as p,ne as q,v as r,_ as s,ae as t,de as u,ge as v,B as w,z as x,we as y,ve as z,A,Oe as B,Pe as C,f as D,b as E,K as F,je as G,h as H,Ee as I,V as J,g as K,c as L,q as M,p as N,G as O,J as P,y as Q,m as R,Q as S,Re as T,O as U,U as V};
@@ -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.87 */
4
- import{c as u}from"./JHB4BWDH.js";import{t as h}from"./KPRBFB4D.js";var i=class o{constructor(){this._groups=new Map}destroy(){this.removeAll()}add(r,s){if(Array.isArray(r)){let e=this._getOrCreateGroup(s);for(let t of r)this._isHandle(t)&&e.push(t)}else this._isHandle(r)&&this._getOrCreateGroup(s).push(r);return this}forEach(r,s){if(typeof r=="function")this._groups.forEach(e=>e.forEach(r));else{let e=this._getGroup(r);e&&s&&e.forEach(s)}}has(r){return this._groups.has(this._ensureGroupKey(r))}remove(r){if(typeof r!="string"&&Array.isArray(r)){for(let s of r)this.remove(s);return this}return this.has(r)?(this._removeAllFromGroup(this._getGroup(r)),this._groups.delete(this._ensureGroupKey(r)),this):this}removeAll(){return this._groups.forEach(r=>this._removeAllFromGroup(r)),this._groups.clear(),this}_isHandle(r){return r&&(!!r.remove||r instanceof o)}_getOrCreateGroup(r){if(this.has(r))return this._getGroup(r);let s=[];return this._groups.set(this._ensureGroupKey(r),s),s}_getGroup(r){return this._groups.get(this._ensureGroupKey(r))}_ensureGroupKey(r){return r||"_default_"}_removeAllFromGroup(r){for(let s of r)s instanceof o?s.removeAll():s.remove()}},n=class extends h{constructor(r){super(),this.destroyed=!1,r==="disconnect"?this.onDisconnected(()=>this.removeAllHandles()):this.onDestroy(()=>this.destroy())}addHandles(r,s){if(this.destroyed){let e=Array.isArray(r)?r:[r];for(let t of e)t.remove();return}this._handles??=new i,this._handles.add(r,s)}removeHandles(r){this._handles?.remove(r)}removeAllHandles(){this._handles?.removeAll()}destroy(){this.destroyed=!0,this.removeAllHandles()}hasHandles(r){return this._handles?.has(r)??!1}},l=u(n);export{l as a};
3
+ v5.0.0-next.88 */
4
+ import{c as u}from"./EP4FNRB2.js";import{t as h}from"./M7HAKBNG.js";var i=class o{constructor(){this._groups=new Map}destroy(){this.removeAll()}add(r,s){if(Array.isArray(r)){let e=this._getOrCreateGroup(s);for(let t of r)this._isHandle(t)&&e.push(t)}else this._isHandle(r)&&this._getOrCreateGroup(s).push(r);return this}forEach(r,s){if(typeof r=="function")this._groups.forEach(e=>e.forEach(r));else{let e=this._getGroup(r);e&&s&&e.forEach(s)}}has(r){return this._groups.has(this._ensureGroupKey(r))}remove(r){if(typeof r!="string"&&Array.isArray(r)){for(let s of r)this.remove(s);return this}return this.has(r)?(this._removeAllFromGroup(this._getGroup(r)),this._groups.delete(this._ensureGroupKey(r)),this):this}removeAll(){return this._groups.forEach(r=>this._removeAllFromGroup(r)),this._groups.clear(),this}_isHandle(r){return r&&(!!r.remove||r instanceof o)}_getOrCreateGroup(r){if(this.has(r))return this._getGroup(r);let s=[];return this._groups.set(this._ensureGroupKey(r),s),s}_getGroup(r){return this._groups.get(this._ensureGroupKey(r))}_ensureGroupKey(r){return r||"_default_"}_removeAllFromGroup(r){for(let s of r)s instanceof o?s.removeAll():s.remove()}},n=class extends h{constructor(r){super(),this.destroyed=!1,r==="disconnect"?this.onDisconnected(()=>this.removeAllHandles()):this.onDestroy(()=>this.destroy())}addHandles(r,s){if(this.destroyed){let e=Array.isArray(r)?r:[r];for(let t of e)t.remove();return}this._handles??=new i,this._handles.add(r,s)}removeHandles(r){this._handles?.remove(r)}removeAllHandles(){this._handles?.removeAll()}destroy(){this.destroyed=!0,this.removeAllHandles()}hasHandles(r){return this._handles?.has(r)??!1}},l=u(n);export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.87 */
4
- import{a as f}from"./X4V2UEQT.js";import a from"./VZIG2ZB6.js";import{a as M}from"./EOA5PL7V.js";import{b as E}from"./X6UH54F2.js";import"./SU6NHQT5.js";import{G as Q,H as j,I as k,J as h,M as R,O as B,a as D,b as o}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";export default $arcgis.t(([{templateHasKey:H,stripHTML:K},{isRelatableFeatureSupportedLayer:U,findRelatedLayer:X},{substitute:Y,formatNumber:T},{watch:F,on:ee},Z,W,{ignoreAbortErrors:N},te,{h:V}])=>{var re=D`:host{position:relative;flex:1 1 auto}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}`,ie=_=>{let e=[];if(_.formTemplate){let{description:t,title:r}=_.formTemplate;_.fields?.forEach(i=>{let s=r&&H(r,i.name),a=t&&H(t,i.name);(s||a)&&e.push(i.name)})}return e},O=100,se="arcgis-feature",c=`${se}-relationship`,u={base:c,listContainer:`${c}__list`,listItem:`${c}__list-item`,listItemHidden:`${c}__list-item--hidden`,listContainerQuerying:`${c}__list--querying`,featureObserver:`${c}__feature-observer`,stickySpinnerContainer:`${c}__sticky-loading-container`,loadingSpinnerContainer:`${c}__loading-container`},x=class extends k{constructor(){super(...arguments),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await N(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=f(this._queryController,O),this._queryFeatureCountDebounced=f(this._queryFeatureCountController,O),this._queryPageDebounced=f(this._queryPageController,O),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{e&&this.flowItems?.push(e)},this._relatedFeatureIntersectionObserverNode=Q(),this.relatedFeatures=new Z,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new Z,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,allItemsDescription:32,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=re}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=V(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&U(e.parent)?e.parent:e;return X(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return Y(e?.numberRecords??"",{number:T(r?i:t)})}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[F(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),F(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),F(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced(),{initial:!0}),F(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),ee(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:l,relationshipKey:g,supportsCacheHint:v}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&g!=null){let{default:$}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:A}=await $({layer:t,sqlWhere:`${n} = '${g}'`,field:t.subtypeField??void 0,signal:r?.signal}),q=A.map(({count:y,value:m})=>{let C=t.subtypes?.find(L=>L.code===m)?.name;return m!=null&&C?{count:y,value:m,name:C}:void 0}).filter(y=>y!=null);this.allCategories=q}return}let{historicMoment:b,gdbVersion:w}=e,I=new W({cacheHint:v,gdbVersion:w,historicMoment:b,relationshipId:l,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),p=await e.queryRelatedFeaturesCount(I,{signal:r?.signal});this.allCategories=void 0,this.featureCount=p[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:l,relatedLayerKeyFields:g,relationshipId:v,showAllEnabled:b,supportsCacheHint:w}=this,{canQuery:I,objectId:p}=this;if(!I||!a||!l||p==null)return[];let $=b?((i-1)*s+r)%r:0,A=b?s:t,q=l.objectIdField,y="subtypeField"in l?l.subtypeField:void 0,m=[...n.map(d=>d.field),...ie(l),...g,q,y].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:L,gdbVersion:z}=a,G=new W({orderByFields:C,start:$,num:A,outFields:m,cacheHint:w,historicMoment:L,gdbVersion:z,relationshipId:v,returnGeometry:!1,objectIds:[p],where:this._getRelationshipWhereClause(l)}),P=(await a.queryRelatedFeatures(G,{signal:e?.signal}))[p]?.features||[];return l.type==="subtype-group"&&y?P.forEach(d=>{let J=d.attributes[y],S=l.findSublayerForSubtypeCode?.(J);d.sourceLayer=S,d.layer=S}):P.forEach(d=>{d.sourceLayer=l,d.layer=l}),P}_selectCategory(e){let{flowItems:t}=this;t&&this._addRelationshipFlowItem({showAllEnabled:!0,activeCategory:e})}_selectRecord(e){let{flowItems:t}=this;t&&this._addFlowItem(R(M(e,o`<arcgis-feature .flowItems=${t} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)))}_addRelationshipFlowItem({showAllEnabled:e=!1,activeCategory:t}){this._addFlowItem(R(M(t,o`<arcgis-feature-relationship .messages=${this.messages} .activeCategory=${t} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} .heading=${this.heading} hide-description .showAllEnabled=${e} hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view}></arcgis-feature-relationship>`)))}_showAllRecords(){let{flowItems:e}=this;e&&this._addRelationshipFlowItem({showAllEnabled:!0})}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode.value&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode.value)}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode.value&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode.value)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(l=>this._matchesFeature(l,n))||t.add(new te({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(l=>this._matchesFeature(n,l))||t.remove(n)})}render(){let{state:e}=this;return o`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?o`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return o`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return o`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return o`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=T(t);return o`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,{formattedAttributes:i,state:s,title:a}=e,n={...i?.global,...r},l=(t&&n?.[t])??"",g=s==="loading";return o`<calcite-list-item class=${h(E(u.listItem,{[u.listItemHidden]:g}))} .description=${K(l.toString())} .label=${K(a)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?o`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return o`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return o`<div class=${h(u.featureObserver)} ${j(this._relatedFeatureIntersectionObserverNode)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return o`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return o`<div class=${h(E(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return o`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};B("arcgis-feature-relationship",x);return x},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)
3
+ v5.0.0-next.88 */
4
+ import{a as f}from"./JSKAVLMU.js";import a from"./YNAQEYTN.js";import{a as M}from"./X7KTRZUU.js";import{b as E}from"./GITNRBUR.js";import"./MYLRNHOI.js";import{G as Q,H as j,I as k,J as h,M as R,O as B,a as D,b as o}from"./M7HAKBNG.js";import"./FHMZ7YBE.js";export default $arcgis.t(([{templateHasKey:H,stripHTML:K},{isRelatableFeatureSupportedLayer:U,findRelatedLayer:X},{substitute:Y,formatNumber:T},{watch:F,on:ee},Z,W,{ignoreAbortErrors:N},te,{h:V}])=>{var re=D`:host{position:relative;flex:1 1 auto}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}`,ie=_=>{let e=[];if(_.formTemplate){let{description:t,title:r}=_.formTemplate;_.fields?.forEach(i=>{let s=r&&H(r,i.name),a=t&&H(t,i.name);(s||a)&&e.push(i.name)})}return e},O=100,se="arcgis-feature",c=`${se}-relationship`,u={base:c,listContainer:`${c}__list`,listItem:`${c}__list-item`,listItemHidden:`${c}__list-item--hidden`,listContainerQuerying:`${c}__list--querying`,featureObserver:`${c}__feature-observer`,stickySpinnerContainer:`${c}__sticky-loading-container`,loadingSpinnerContainer:`${c}__loading-container`},x=class extends k{constructor(){super(...arguments),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await N(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=f(this._queryController,O),this._queryFeatureCountDebounced=f(this._queryFeatureCountController,O),this._queryPageDebounced=f(this._queryPageController,O),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{e&&this.flowItems?.push(e)},this._relatedFeatureIntersectionObserverNode=Q(),this.relatedFeatures=new Z,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new Z,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,allItemsDescription:32,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=re}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=V(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&U(e.parent)?e.parent:e;return X(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return Y(e?.numberRecords??"",{number:T(r?i:t)})}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[F(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),F(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),F(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced(),{initial:!0}),F(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),ee(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:l,relationshipKey:g,supportsCacheHint:v}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&g!=null){let{default:$}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:A}=await $({layer:t,sqlWhere:`${n} = '${g}'`,field:t.subtypeField??void 0,signal:r?.signal}),q=A.map(({count:y,value:m})=>{let C=t.subtypes?.find(L=>L.code===m)?.name;return m!=null&&C?{count:y,value:m,name:C}:void 0}).filter(y=>y!=null);this.allCategories=q}return}let{historicMoment:b,gdbVersion:w}=e,I=new W({cacheHint:v,gdbVersion:w,historicMoment:b,relationshipId:l,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),p=await e.queryRelatedFeaturesCount(I,{signal:r?.signal});this.allCategories=void 0,this.featureCount=p[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:l,relatedLayerKeyFields:g,relationshipId:v,showAllEnabled:b,supportsCacheHint:w}=this,{canQuery:I,objectId:p}=this;if(!I||!a||!l||p==null)return[];let $=b?((i-1)*s+r)%r:0,A=b?s:t,q=l.objectIdField,y="subtypeField"in l?l.subtypeField:void 0,m=[...n.map(d=>d.field),...ie(l),...g,q,y].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:L,gdbVersion:z}=a,G=new W({orderByFields:C,start:$,num:A,outFields:m,cacheHint:w,historicMoment:L,gdbVersion:z,relationshipId:v,returnGeometry:!1,objectIds:[p],where:this._getRelationshipWhereClause(l)}),P=(await a.queryRelatedFeatures(G,{signal:e?.signal}))[p]?.features||[];return l.type==="subtype-group"&&y?P.forEach(d=>{let J=d.attributes[y],S=l.findSublayerForSubtypeCode?.(J);d.sourceLayer=S,d.layer=S}):P.forEach(d=>{d.sourceLayer=l,d.layer=l}),P}_selectCategory(e){let{flowItems:t}=this;t&&this._addRelationshipFlowItem({showAllEnabled:!0,activeCategory:e})}_selectRecord(e){let{flowItems:t}=this;t&&this._addFlowItem(R(M(e,o`<arcgis-feature .flowItems=${t} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)))}_addRelationshipFlowItem({showAllEnabled:e=!1,activeCategory:t}){this._addFlowItem(R(M(t,o`<arcgis-feature-relationship .messages=${this.messages} .activeCategory=${t} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} .heading=${this.heading} hide-description .showAllEnabled=${e} hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view}></arcgis-feature-relationship>`)))}_showAllRecords(){let{flowItems:e}=this;e&&this._addRelationshipFlowItem({showAllEnabled:!0})}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode.value&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode.value)}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode.value&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode.value)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(l=>this._matchesFeature(l,n))||t.add(new te({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(l=>this._matchesFeature(n,l))||t.remove(n)})}render(){let{state:e}=this;return o`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?o`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return o`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return o`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return o`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=T(t);return o`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,{formattedAttributes:i,state:s,title:a}=e,n={...i?.global,...r},l=(t&&n?.[t])??"",g=s==="loading";return o`<calcite-list-item class=${h(E(u.listItem,{[u.listItemHidden]:g}))} .description=${K(l.toString())} .label=${K(a)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?o`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return o`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return o`<div class=${h(u.featureObserver)} ${j(this._relatedFeatureIntersectionObserverNode)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return o`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return o`<div class=${h(E(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return o`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};B("arcgis-feature-relationship",x);return x},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.87 */
4
- import"./YSRMPSZ6.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u5143",_era_bc:"\u897F\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u9031\u65E5",Mon:"\u9031\u4E00",Tue:"\u9031\u4E8C",Wed:"\u9031\u4E09",Thu:"\u9031\u56DB",Fri:"\u9031\u4E94",Sat:"\u9031\u516D",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7E2E\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u6B62",Legend:"\u5716\u4F8B","Press ENTER to toggle":"",Loading:"\u6B63\u5728\u8F09\u5165",Home:"\u9996\u9801",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:"\u5217\u5370",Image:"\u5F71\u50CF",Data:"\u8CC7\u6599",Print:"\u5217\u5370","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":"\u5F9E %1 \u81F3 %2","From %1":"\u5F9E %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
3
+ v5.0.0-next.88 */
4
+ import"./FHMZ7YBE.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u5143",_era_bc:"\u897F\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u9031\u65E5",Mon:"\u9031\u4E00",Tue:"\u9031\u4E8C",Wed:"\u9031\u4E09",Thu:"\u9031\u56DB",Fri:"\u9031\u4E94",Sat:"\u9031\u516D",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7E2E\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u6B62",Legend:"\u5716\u4F8B","Press ENTER to toggle":"",Loading:"\u6B63\u5728\u8F09\u5165",Home:"\u9996\u9801",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:"\u5217\u5370",Image:"\u5F71\u50CF",Data:"\u8CC7\u6599",Print:"\u5217\u5370","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":"\u5F9E %1 \u81F3 %2","From %1":"\u5F9E %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
@@ -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.87 */
4
- import b from"./VZIG2ZB6.js";import a from"./5DMOLSHU.js";export default $arcgis.t(([,m,p,{isZoomScreenSize:h},{c:d},{e:l}])=>{var n=new m({icon:"magnifying-glass-plus",id:"zoom-to-feature",title:"{messages.zoom}"}),b=new m({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}"}),s=new m({icon:"magnifying-glass-plus",id:"zoom-to-clustered-features",title:"{messages.zoom}"}),y=new p({icon:"table",id:"browse-clustered-features",title:"{messages.browseClusteredFeatures}",value:!1});function O(e){if(e.icon)return e.icon;if(!("image"in e&&e.image)&&!e.className)return"question"}function Q(e){return e?{backgroundImage:`url(${e})`}:{}}function z(e){let{selectedFeature:t,location:i,view:r}=e;return r?t??i??null:null}async function E(e,t){let{location:i,selectedFeature:r,view:o,zoomFactor:a}=e;await t?.viewModel?.updateGeometry();let c=t?.graphic,g=c?.geometry?c:z(e);if(!o||!g)throw new Error("Cannot zoom to location without a target and view.");let f=o.scale/a,u=c?.geometry??e.selectedFeature?.geometry??i,w=u?.type==="point"&&await h(c??r,o);n.active=!0,n.disabled=!0;try{await e.zoomTo({target:{target:g,scale:w?f:void 0}})}catch(v){if(d(v))return;throw new Error("Could not zoom to the location of the graphic.")}finally{n.active=!1,n.disabled=!1,w&&e.location!==u&&(e.location=u)}}function C(e){return!!e&&e.isAggregate&&l(e)?.featureReduction?.type==="cluster"}async function F(e,t){let i=await e.whenLayerView(l(t)),r=i.createQuery(),o=t.getObjectId();return r.aggregateIds=o!=null?[o]:[],[i,r]}async function T(e){let{selectedFeature:t,view:i}=e;if(i?.type!=="2d")throw new Error("zoomToCluster:invalid-view: View must be 2d MapView.");if(!t||!C(t))throw new Error("zoomToCluster:invalid-selectedFeature: Selected feature must represent an aggregate/cluster graphic.");let[r,o]=await F(i,t);s.active=!0,s.disabled=!0;let{extent:a}=await r.queryExtent(o);a&&await e.zoomTo({target:a}),s.active=!1,s.disabled=!1}var Z=async(e,t)=>{if(!e)throw new Error("trigger-action:missing-arguments: Event has no action");let{disabled:i,id:r}=e;if(!r)throw new Error("trigger-action:invalid-action: action.id is missing");if(i)throw new Error("trigger-action:invalid-action: Action is disabled");if(r===n.id)return await E(t).catch(o=>{if(!d(o))throw o});if(r===s.id)return await T(t);if(r===y.id){t.browseClusterEnabled=!t.browseClusterEnabled,t.featureMenuOpen=t.browseClusterEnabled;return}if(r===b.id){t.visible=!1;let{selectedFeature:o}=t;if(!o)throw new Error("trigger-action:missing-selected-feature: Cannot remove selected feature without a selected feature.");let a=l(o);a?a.remove(o):t.view?.graphics.remove(o)}};return{a:n,b:O,c:Q,d:E,e:Z}},"intl","support/actions/ActionButton","support/actions/ActionToggle","applications/Components/actionUtils",a,b)
3
+ v5.0.0-next.88 */
4
+ import b from"./YNAQEYTN.js";import a from"./RJRY26TE.js";export default $arcgis.t(([,m,p,{isZoomScreenSize:h},{c:d},{e:l}])=>{var n=new m({icon:"magnifying-glass-plus",id:"zoom-to-feature",title:"{messages.zoom}"}),b=new m({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}"}),s=new m({icon:"magnifying-glass-plus",id:"zoom-to-clustered-features",title:"{messages.zoom}"}),y=new p({icon:"table",id:"browse-clustered-features",title:"{messages.browseClusteredFeatures}",value:!1});function O(e){if(e.icon)return e.icon;if(!("image"in e&&e.image)&&!e.className)return"question"}function Q(e){return e?{backgroundImage:`url(${e})`}:{}}function z(e){let{selectedFeature:t,location:i,view:r}=e;return r?t??i??null:null}async function E(e,t){let{location:i,selectedFeature:r,view:o,zoomFactor:a}=e;await t?.viewModel?.updateGeometry();let c=t?.graphic,g=c?.geometry?c:z(e);if(!o||!g)throw new Error("Cannot zoom to location without a target and view.");let f=o.scale/a,u=c?.geometry??e.selectedFeature?.geometry??i,w=u?.type==="point"&&await h(c??r,o);n.active=!0,n.disabled=!0;try{await e.zoomTo({target:{target:g,scale:w?f:void 0}})}catch(v){if(d(v))return;throw new Error("Could not zoom to the location of the graphic.")}finally{n.active=!1,n.disabled=!1,w&&e.location!==u&&(e.location=u)}}function C(e){return!!e&&e.isAggregate&&l(e)?.featureReduction?.type==="cluster"}async function F(e,t){let i=await e.whenLayerView(l(t)),r=i.createQuery(),o=t.getObjectId();return r.aggregateIds=o!=null?[o]:[],[i,r]}async function T(e){let{selectedFeature:t,view:i}=e;if(i?.type!=="2d")throw new Error("zoomToCluster:invalid-view: View must be 2d MapView.");if(!t||!C(t))throw new Error("zoomToCluster:invalid-selectedFeature: Selected feature must represent an aggregate/cluster graphic.");let[r,o]=await F(i,t);s.active=!0,s.disabled=!0;let{extent:a}=await r.queryExtent(o);a&&await e.zoomTo({target:a}),s.active=!1,s.disabled=!1}var Z=async(e,t)=>{if(!e)throw new Error("trigger-action:missing-arguments: Event has no action");let{disabled:i,id:r}=e;if(!r)throw new Error("trigger-action:invalid-action: action.id is missing");if(i)throw new Error("trigger-action:invalid-action: Action is disabled");if(r===n.id)return await E(t).catch(o=>{if(!d(o))throw o});if(r===s.id)return await T(t);if(r===y.id){t.browseClusterEnabled=!t.browseClusterEnabled,t.featureMenuOpen=t.browseClusterEnabled;return}if(r===b.id){t.visible=!1;let{selectedFeature:o}=t;if(!o)throw new Error("trigger-action:missing-selected-feature: Cannot remove selected feature without a selected feature.");let a=l(o);a?a.remove(o):t.view?.graphics.remove(o)}};return{a:n,b:O,c:Q,d:E,e:Z}},"intl","support/actions/ActionButton","support/actions/ActionToggle","applications/Components/actionUtils",a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.87 */
4
- import a from"./PVDACCAE.js";import{I as g,J as i,K as o,O as p,a as n,b as t}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";export default $arcgis.t(([{c:m,h:d}])=>{var b=n`.arcgis-legend__layer-row{display:flex}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--symbols{min-width:10px;text-align:center}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-sm);margin-left:auto}.arcgis-legend__color-ramp{width:24px}.arcgis-legend__opacity-ramp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowMTgwMTE3NDA3MjA2ODExODcxRkM3N0RBQzA4QkVDRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEOTY4RkNFNjM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEOTY4RkNFNTM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SLS5VAAAAKElEQVR42mI8c+YMAwwYGxvD2UwMOADpEoz///+Hc86ePUsLOwACDABC1ghwV8TLOQAAAABJRU5ErkJggg==)}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:var(--calcite-font-size-sm);white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}.arcgis-legend-layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}`,l={layerRow:"arcgis-legend__layer-row",layerInfo:"arcgis-legend__layer-cell arcgis-legend__layer-cell--info",symbolContainer:"arcgis-legend__layer-cell arcgis-legend__layer-cell--symbols",rampContainer:"arcgis-legend__ramps",colorRamp:"arcgis-legend__color-ramp",opacityRamp:"arcgis-legend__opacity-ramp",rampLabelsContainer:"arcgis-legend__ramp-labels",rampLabel:"arcgis-legend__ramp-label"},c=class extends g{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={_preview:16,legendElement:0,opacity:9,messages:0}}static{this.styles=b}get _preview(){let e=this.legendElement.preview;if(!e)return null;let a=this.legendElement.type==="opacity-ramp",r=a?l.opacityRamp:"";e.className=`${l.colorRamp} ${r}`,this.opacity!=null&&(e.style.opacity=this.opacity.toString());let s=a?this.messages.previewOpacityRampAriaLabel:this.messages.previewColorRampAriaLabel;return d(e,s),e}render(){let{legendElement:e,_preview:a}=this;if(!a)return null;let r={height:a.style.height};return t`<div class=${i(l.layerRow)}><div class=${i(l.symbolContainer)}><div class=${i(l.rampContainer)}>${a}</div></div><div class=${i(l.layerInfo)}><div class=${i(l.rampLabelsContainer)} style=${o(r)}>${e.infos.map(s=>this._renderRampLabel(s,e.type))}</div></div></div>`}_renderRampLabel(e,a){return t`<div class=${i(e.label?l.rampLabel:void 0)}>${m(e,a,this.messages)}</div>`}};p("arcgis-legend-classic-color-ramp",c);return c},a)
3
+ v5.0.0-next.88 */
4
+ import a from"./ZLTRCGZO.js";import{I as g,J as i,K as o,O as p,a as n,b as t}from"./M7HAKBNG.js";import"./FHMZ7YBE.js";export default $arcgis.t(([{c:m,h:d}])=>{var b=n`.arcgis-legend__layer-row{display:flex}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--symbols{min-width:10px;text-align:center}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-sm);margin-left:auto}.arcgis-legend__color-ramp{width:24px}.arcgis-legend__opacity-ramp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowMTgwMTE3NDA3MjA2ODExODcxRkM3N0RBQzA4QkVDRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEOTY4RkNFNjM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEOTY4RkNFNTM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SLS5VAAAAKElEQVR42mI8c+YMAwwYGxvD2UwMOADpEoz///+Hc86ePUsLOwACDABC1ghwV8TLOQAAAABJRU5ErkJggg==)}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:var(--calcite-font-size-sm);white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}.arcgis-legend-layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}`,l={layerRow:"arcgis-legend__layer-row",layerInfo:"arcgis-legend__layer-cell arcgis-legend__layer-cell--info",symbolContainer:"arcgis-legend__layer-cell arcgis-legend__layer-cell--symbols",rampContainer:"arcgis-legend__ramps",colorRamp:"arcgis-legend__color-ramp",opacityRamp:"arcgis-legend__opacity-ramp",rampLabelsContainer:"arcgis-legend__ramp-labels",rampLabel:"arcgis-legend__ramp-label"},c=class extends g{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={_preview:16,legendElement:0,opacity:9,messages:0}}static{this.styles=b}get _preview(){let e=this.legendElement.preview;if(!e)return null;let a=this.legendElement.type==="opacity-ramp",r=a?l.opacityRamp:"";e.className=`${l.colorRamp} ${r}`,this.opacity!=null&&(e.style.opacity=this.opacity.toString());let s=a?this.messages.previewOpacityRampAriaLabel:this.messages.previewColorRampAriaLabel;return d(e,s),e}render(){let{legendElement:e,_preview:a}=this;if(!a)return null;let r={height:a.style.height};return t`<div class=${i(l.layerRow)}><div class=${i(l.symbolContainer)}><div class=${i(l.rampContainer)}>${a}</div></div><div class=${i(l.layerInfo)}><div class=${i(l.rampLabelsContainer)} style=${o(r)}>${e.infos.map(s=>this._renderRampLabel(s,e.type))}</div></div></div>`}_renderRampLabel(e,a){return t`<div class=${i(e.label?l.rampLabel:void 0)}>${m(e,a,this.messages)}</div>`}};p("arcgis-legend-classic-color-ramp",c);return c},a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.87 */
4
- import a from"./PVDACCAE.js";import{I as R,J as r,K as k,O as x,a as $,b}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";export default $arcgis.t(([{e:_,g:y,h:L}])=>{var X=$`.arcgis-spike-ramp__container{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm-plus);margin-left:var(--calcite-spacing-sm)}.arcgis-spike-ramp__preview-container{display:flex;position:relative;gap:var(--calcite-spacing-sm-plus);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);padding:0 var(--calcite-spacing-xl)}.arcgis-spike-ramp__preview{display:flex;gap:var(--calcite-spacing-sm-plus);align-items:end}.arcgis-spike-ramp__symbol-preview{display:flex}.arcgis-spike-ramp__lines{display:flex;position:absolute;bottom:0}.arcgis-spike-ramp__labels-container{display:flex;position:relative;top:-5px;flex:1;min-width:120px}.arcgis-spike-ramp__label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;word-break:break-all;font-size:var(--calcite-font-size-sm)}.arcgis-spike-ramp__label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}`,p={spikeRampContainer:"arcgis-spike-ramp__container",spikeRampPreviewContainer:"arcgis-spike-ramp__preview-container",spikeRampPreview:"arcgis-spike-ramp__preview",spikeRampSymbolPreview:"arcgis-spike-ramp__symbol-preview",spikeRampLines:"arcgis-spike-ramp__lines",spikeRampLabelsContainer:"arcgis-spike-ramp__labels-container",spikeRampLabel:"arcgis-spike-ramp__label"},Y="#ddd",e=window.devicePixelRatio;function u(v){return v.infos.filter((m,t)=>t%2===0)}function S(v){return!!(v&&typeof v=="object")}var f=class extends R{constructor(){super(...arguments),this.legendElement=null}static{this.properties={legendElement:0,messages:0}}static{this.styles=X}render(){return this.legendElement.infos.length!==5?null:b`<div class=${r(p.spikeRampContainer)}><div class=${r(p.spikeRampPreviewContainer)}>${this._renderSpikeRampLines()}${this._renderSpikeRampPreview()}</div>${this._renderSpikeRampLabels()}</div>`}_renderSpikeRampPreview(){let m=this.legendElement,[t,l,d]=u(m).map(({preview:c,label:n})=>{if(!c)return null;let s=c.cloneNode(!0);return s.classList.add(p.spikeRampSymbolPreview),L(s,y(this.messages,n)),s});return!t||!l||!d?null:b`<div class=${r(p.spikeRampPreview)}><div>${d}</div><div>${l}</div><div>${t}</div></div>`}_renderSpikeRampLines(){let m=this.legendElement,[{width:t,height:l},{width:d},{width:c,height:n}]=u(m).map(({size:w})=>S(w)?{width:_(w.width),height:_(w.height)}:{width:0,height:0}),s=10,g=8,o=t+d+c+s*3,h=l,a=document.createElement("canvas");a.width=(o+s)*e,a.height=h*e,a.style.width=`${a.width/e}px`,a.style.height=`${a.height/e}px`;let i=a.getContext("2d");i.beginPath();let P=o-(t/2+s),C=0,E=o+g;i.moveTo(P*e,C*e),i.lineTo(E*e,0*e);let T=(o-g)/2,z=(l-n)/2,M=o+g,j=(l-n)/2;i.moveTo(T*e,z*e),i.lineTo(M*e,j*e);let A=c/2,W=h-n,H=o+g,I=h-n;return i.moveTo(A*e,W*e),i.lineTo(H*e,I*e),i.strokeStyle=Y,i.lineWidth=.5*e,i.stroke(),b`<div class=${r(p.spikeRampLines)}>${a}</div>`}_renderSpikeRampLabels(){let m=this.legendElement,[{label:t,height:l},{label:d},{label:c,height:n}]=u(m).map(({label:a,size:i})=>({label:a,height:S(i)?_(i.height):0})),s=l-n,g={position:"absolute",top:"0"},o={position:"absolute",top:`${s/2}px`},h={position:"absolute",top:`${s}px`};return b`<div class=${r(p.spikeRampLabelsContainer)}><div class=${r(p.spikeRampLabel)} style=${k(g)}>${t}</div><div class=${r(p.spikeRampLabel)} style=${k(o)}>${d}</div><div class=${r(p.spikeRampLabel)} style=${k(h)}>${c}</div></div>`}};x("arcgis-legend-spike-ramp",f);return f},a)
3
+ v5.0.0-next.88 */
4
+ import a from"./ZLTRCGZO.js";import{I as R,J as r,K as k,O as x,a as $,b}from"./M7HAKBNG.js";import"./FHMZ7YBE.js";export default $arcgis.t(([{e:_,g:y,h:L}])=>{var X=$`.arcgis-spike-ramp__container{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm-plus);margin-left:var(--calcite-spacing-sm)}.arcgis-spike-ramp__preview-container{display:flex;position:relative;gap:var(--calcite-spacing-sm-plus);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);padding:0 var(--calcite-spacing-xl)}.arcgis-spike-ramp__preview{display:flex;gap:var(--calcite-spacing-sm-plus);align-items:end}.arcgis-spike-ramp__symbol-preview{display:flex}.arcgis-spike-ramp__lines{display:flex;position:absolute;bottom:0}.arcgis-spike-ramp__labels-container{display:flex;position:relative;top:-5px;flex:1;min-width:120px}.arcgis-spike-ramp__label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;word-break:break-all;font-size:var(--calcite-font-size-sm)}.arcgis-spike-ramp__label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}`,p={spikeRampContainer:"arcgis-spike-ramp__container",spikeRampPreviewContainer:"arcgis-spike-ramp__preview-container",spikeRampPreview:"arcgis-spike-ramp__preview",spikeRampSymbolPreview:"arcgis-spike-ramp__symbol-preview",spikeRampLines:"arcgis-spike-ramp__lines",spikeRampLabelsContainer:"arcgis-spike-ramp__labels-container",spikeRampLabel:"arcgis-spike-ramp__label"},Y="#ddd",e=window.devicePixelRatio;function u(v){return v.infos.filter((m,t)=>t%2===0)}function S(v){return!!(v&&typeof v=="object")}var f=class extends R{constructor(){super(...arguments),this.legendElement=null}static{this.properties={legendElement:0,messages:0}}static{this.styles=X}render(){return this.legendElement.infos.length!==5?null:b`<div class=${r(p.spikeRampContainer)}><div class=${r(p.spikeRampPreviewContainer)}>${this._renderSpikeRampLines()}${this._renderSpikeRampPreview()}</div>${this._renderSpikeRampLabels()}</div>`}_renderSpikeRampPreview(){let m=this.legendElement,[t,l,d]=u(m).map(({preview:c,label:n})=>{if(!c)return null;let s=c.cloneNode(!0);return s.classList.add(p.spikeRampSymbolPreview),L(s,y(this.messages,n)),s});return!t||!l||!d?null:b`<div class=${r(p.spikeRampPreview)}><div>${d}</div><div>${l}</div><div>${t}</div></div>`}_renderSpikeRampLines(){let m=this.legendElement,[{width:t,height:l},{width:d},{width:c,height:n}]=u(m).map(({size:w})=>S(w)?{width:_(w.width),height:_(w.height)}:{width:0,height:0}),s=10,g=8,o=t+d+c+s*3,h=l,a=document.createElement("canvas");a.width=(o+s)*e,a.height=h*e,a.style.width=`${a.width/e}px`,a.style.height=`${a.height/e}px`;let i=a.getContext("2d");i.beginPath();let P=o-(t/2+s),C=0,E=o+g;i.moveTo(P*e,C*e),i.lineTo(E*e,0*e);let T=(o-g)/2,z=(l-n)/2,M=o+g,j=(l-n)/2;i.moveTo(T*e,z*e),i.lineTo(M*e,j*e);let A=c/2,W=h-n,H=o+g,I=h-n;return i.moveTo(A*e,W*e),i.lineTo(H*e,I*e),i.strokeStyle=Y,i.lineWidth=.5*e,i.stroke(),b`<div class=${r(p.spikeRampLines)}>${a}</div>`}_renderSpikeRampLabels(){let m=this.legendElement,[{label:t,height:l},{label:d},{label:c,height:n}]=u(m).map(({label:a,size:i})=>({label:a,height:S(i)?_(i.height):0})),s=l-n,g={position:"absolute",top:"0"},o={position:"absolute",top:`${s/2}px`},h={position:"absolute",top:`${s}px`};return b`<div class=${r(p.spikeRampLabelsContainer)}><div class=${r(p.spikeRampLabel)} style=${k(g)}>${t}</div><div class=${r(p.spikeRampLabel)} style=${k(o)}>${d}</div><div class=${r(p.spikeRampLabel)} style=${k(h)}>${c}</div></div>`}};x("arcgis-legend-spike-ramp",f);return f},a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.87 */
4
- import{a as c,b as m}from"./URCSLSTI.js";import{a as l}from"./4YN5P354.js";import{b as o}from"./X6UH54F2.js";import{J as t,L as n}from"./KPRBFB4D.js";function x({level:a,class:s,id:e,children:f,excludeGlobalCss:h}){let i=$(a),u=`h${i}`,r=c(u);return m`<${r} .ariaLevel=${String(i)} class=${t(o(h?s:l.heading,s))} id=${e??n} role=heading>${f}</${r}>`}function p(a,s,e){return Math.min(Math.max(a,s),e)}function $(a){return p(Math.ceil(a),1,6)}export{x as a};
3
+ v5.0.0-next.88 */
4
+ import{a as c,b as m}from"./MX6TFUVB.js";import{a as l}from"./6SBLQLAH.js";import{b as o}from"./GITNRBUR.js";import{J as t,L as n}from"./M7HAKBNG.js";function x({level:a,class:s,id:e,children:f,excludeGlobalCss:h}){let i=$(a),u=`h${i}`,r=c(u);return m`<${r} .ariaLevel=${String(i)} class=${t(o(h?s:l.heading,s))} id=${e??n} role=heading>${f}</${r}>`}function p(a,s,e){return Math.min(Math.max(a,s),e)}function $(a){return p(Math.ceil(a),1,6)}export{x as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.87 */
4
- import{a as h}from"./6HUQBD4F.js";import{a as b}from"./JKKFLWMT.js";import{g as y}from"./JHB4BWDH.js";import"./JT27EM2N.js";import"./X6UH54F2.js";import{a as c,b as f,c as _}from"./SU6NHQT5.js";import{I as k,J as u,O as m,a as w,b as r,s as d}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";export default $arcgis.t(([{queryAllJSON:L},n,v,U,E,M,g,I])=>{var A=w`:host{width:100%}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;height:300px;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}.arcgis-utility-network-trace-inputs .subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`,T="arcgis-utility-network-trace-inputs",S={base:T,addSpatialMode:`${T}__add-spatial-mode`},N=`utility-network-trace-inputs-sketch-${Date.now()}`,l=`utility-network-trace-inputs-flags-${Date.now()}`,p=class extends k{constructor(){super(...arguments),this._messages=b({blocking:!0}),this._startingPoints=new n,this._barriers=new n,this._stoppingPoints=new n,this._subnetworkTraceTypes=new Set(["subnetwork","subnetwork-controller","upstream","downstream","isolation"]),this._removeDuplicateSubnetworkNames=(e,t,i)=>t===0||e.getAttribute("SUBNETWORKNAME")!==i[t-1].getAttribute("SUBNETWORKNAME"),this.compatibleSubnetworkNames=[],this.traceConfigurations=[],this._state="ready",this.mode="default",this.arcgisTraceInputsChange=d(),this.arcgisUtilityNetworkChange=d(),this.arcgisTraceLocationSelectStart=d(),this.arcgisPropertyChange=y()("mode")}static{this.properties={compatibleSubnetworkNames:16,selectedSubnetworkName:16,subnetworksTable:16,traceConfigurations:16,utilityNetworks:16,_unTraceConfiguration:16,_state:16,_activeTraceLocationType:16,view:0,selectedUtilityNetwork:0,selectedNamedTraceConfiguration:0,unTraceConfiguration:32,referenceElement:1,mode:1,traceLocations:32}}static{this.styles=A}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get selectedSubnetworkName(){return this._unTraceConfiguration?.subnetworkName??void 0}set selectedSubnetworkName(e){this._unTraceConfiguration&&(this._unTraceConfiguration.subnetworkName=e)}get unTraceConfiguration(){return this._unTraceConfiguration}get traceLocations(){let e=[],t=i=>{i.flagProperties.terminalConfiguration&&i.flagProperties.selectedTerminals?i.flagProperties.selectedTerminals.forEach(a=>{e.push(new E({type:i.traceLocation.type,isFilterBarrier:i.traceLocation.isFilterBarrier,globalId:i.traceLocation.globalId,percentAlong:i.traceLocation.percentAlong,terminalId:a}))}):e.push(i.traceLocation)};return this._startingPoints.forEach(i=>t(i)),this._barriers.forEach(i=>t(i)),this._stoppingPoints.forEach(i=>t(i)),e}load(){this._setupUtilityNetwork(),this._setupSketchViewModel()}willUpdate(e){let{utilityNetworks:t,selectedUtilityNetwork:i}=this;(e.has("utilityNetworks")||!t||t.length===0||!i||!t?.includes(i))&&this._handleUtilityNetworksChange(),e.has("selectedUtilityNetwork")&&(this.arcgisUtilityNetworkChange.emit(),this._handleSelectedUtilityNetworkChange()),e.has("selectedNamedTraceConfiguration")&&(this.arcgisTraceInputsChange.emit(),this._handleTraceConfigChange()),e.has("selectedSubnetworkName")&&this.arcgisTraceInputsChange.emit()}_clearTraceLocations(){this._getGraphicLayer(l)?.removeAll(),this._startingPoints.removeAll(),this._barriers.removeAll(),this._stoppingPoints.removeAll()}_addUniqueLayer(e,t){if(!t||!e?.map)return;let{map:i}=e;i.layers.find(a=>a===t)||i.add(t),i.reorder(t,i.layers.length-1)}_createGraphicLayer(e){let{map:t}=this.view;if(!t?.findLayerById(e)){let i=new v({id:e,listMode:"hide",title:e});this._addUniqueLayer(this.view,i)}}_getGraphicLayer(e){let{map:t}=this.view;if(t){let i=t.findLayerById(e);if(i?.type==="graphics")return t.reorder(i,t.layers.length-1),i}return null}_setSnappingOption(){let{_sketchViewModel:e,_unLayers:t}=this;if(e&&t&&t.length>0){let i=new n;t.forEach(a=>{a.type==="subtype-group"?a.sublayers.forEach(o=>{i.add(new g({layer:o,enabled:!0}))}):i.add(new g({layer:a,enabled:!0}))}),e.snappingOptions={enabled:!0,featureEnabled:!0,featureSources:i}}}_initializeSketchViewModel(){let{view:e,_unLayers:t}=this,i=this._getGraphicLayer(N),a=new n;return t?.forEach(o=>a.add(new g({layer:o,enabled:!0}))),new I({layer:i,view:e})}_setupSketchViewModel(){this._createGraphicLayer(N),this._createGraphicLayer(l),this._sketchViewModel=this._initializeSketchViewModel()}_clearSubnetworks(){this.selectedSubnetworkName=void 0,this.subnetworksTable=void 0,this.compatibleSubnetworkNames=[]}async _loadSubnetworksTable(){this.subnetworksTable||(this.subnetworksTable=await this.selectedUtilityNetwork?.loadSubnetworksTable())}async _querySubnetworks(){let{subnetworksTable:e}=this;if(!e)return;let t=e.createQuery();t.gdbVersion=this.selectedUtilityNetwork?.gdbVersion,t.where=this._getSubnetworkQueryWhereClause(),t.outFields=["SUBNETWORKNAME"],t.orderByFields=["SUBNETWORKNAME"];let i=M.fromJSON(await L(e,t));this.compatibleSubnetworkNames=i.features.filter(this._removeDuplicateSubnetworkNames).map(a=>a.getAttribute("SUBNETWORKNAME"))}_getSubnetworkQueryWhereClause(){let e=this._unTraceConfiguration,t=`DOMAINNETWORKNAME = '${e.domainNetworkName}'`,i=`TIERNAME = '${e.tierName}'`;return[t,i].join(" AND ")}async _handleSubnetworkTraceConfigChange(e){await this._loadSubnetworksTable(),await this._querySubnetworks();let{compatibleSubnetworkNames:t}=this;e.subnetworkName&&!t.some(i=>i===e.subnetworkName)&&(this.selectedSubnetworkName=t.at(0))}_selectTraceConfigurationByGuid(e){let t=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find(i=>i.globalId===e);if(!t){c("error",this,"`traceConfig` not found in `selectedUtilityNetwork.sharedNamedTraceConfigurations`");return}this.selectedNamedTraceConfiguration=t}_handleTraceConfigChange(){let{selectedNamedTraceConfiguration:e}=this;if(!(e?.traceConfiguration instanceof U)){c("error",this,f("selectedNamedTraceConfiguration.traceConfiguration")),this._unTraceConfiguration=void 0;return}switch(this._unTraceConfiguration=e.traceConfiguration.clone(),e.traceType){case"subnetwork":this._state="loading",this._handleSubnetworkTraceConfigChange(this._unTraceConfiguration).finally(()=>this._state="ready");break}}async _handleSelectedUtilityNetworkChange(){await this.selectedUtilityNetwork?.load(),this._clearSubnetworks(),this._setupTraceConfigurations(),this._filterUnLayers(),this._clearTraceLocations()}_setupTraceConfigurations(){this._unTraceConfiguration=void 0,this.traceConfigurations=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(e=>e.traceType!=="path"&&e.traceType!=="circuit")||[],this.selectedNamedTraceConfiguration=this.traceConfigurations.at(0)}_filterUnLayers(){let{selectedUtilityNetwork:e}=this;this._unLayers=new n(this._allLayers.filter(t=>e?.isUtilityLayer(t))),this._setSnappingOption()}_handleUtilityNetworksChange(){let{utilityNetworks:e}=this;if(!e||e.length===0){this._state="error",c("error",this,_("utilityNetworks"));return}(!this.selectedUtilityNetwork||!e.includes(this.selectedUtilityNetwork))&&(this.selectedUtilityNetwork=e.at(0))}async _setupUtilityNetwork(){if(this.view?.map){let e=this.view.map;await e.load(),this.utilityNetworks=e.utilityNetworks||void 0}else this._state="disabled",c("error",this,"The property `view.map` is required to load utility networks but is missing.")}_handleTraceLocationSelectStart(e){if(e.stopPropagation(),this.arcgisTraceLocationSelectStart.emit().defaultPrevented){e.preventDefault();return}this._activeTraceLocationType=e?.target?.traceLocationType,this.mode="add-spatial"}_handleTraceLocationSelectEnd(){this._activeTraceLocationType=void 0,this.mode="default"}_handleFlowItemBack(){this.mode="default",this._activeTraceLocationType=void 0,this._sketchViewModel?.cancel()}renderError(e,t=!1,i){return r`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`}renderLoader(){return r`<calcite-loader label=loading></calcite-loader>`}renderTraceSelection(){let{_messages:e,traceConfigurations:t}=this,i=e.labels.traceConfiguration;if(t.length===0)return this.renderError(e.errors.noTraceConfigurationError,!0);let a=h(t,o=>o.globalId,o=>r`<calcite-option .value=${o.globalId}>${o.title}</calcite-option>`);return r`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId||void 0} @calciteSelectChange=${o=>{this._selectTraceConfigurationByGuid(o.target.value)}}>${a}</calcite-select></calcite-block>`}renderUtilityNetworkSelection(){let{_messages:e}=this,t=e.labels.utilityNetwork,i=h(this.utilityNetworks,a=>a.id,a=>r`<calcite-option .value=${a.id}>${a.title}</calcite-option>`).toArray();return r`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${a=>{this.selectedUtilityNetwork?.id!==a.target.value&&(this.selectedUtilityNetwork=this.utilityNetworks?.find(o=>o.id===a.target.value))}}>${i}</calcite-select></calcite-block>`}renderDefaultMode(){let{_messages:e,_state:t,mode:i}=this;return r`<calcite-flow-item .selected=${i==="default"}>${t==="disabled"?this.renderError(e.errors.noMapError):this.renderContent()}</calcite-flow-item>`}renderAddSpatialMode(){let{_messages:e,_activeTraceLocationType:t}=this,i=t==="starting-point"?e.labels.addSpatial.startingPoint:t==="barrier"?e.labels.addSpatial.barrier:e.labels.addSpatial.stoppingPoint;return r`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${()=>this._handleFlowItemBack()}><div class=${u(S.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`}renderStartingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`}renderStoppingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`}renderBarrierSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`}renderSubnetworkSelectList(){let{compatibleSubnetworkNames:e,selectedSubnetworkName:t,_messages:i}=this,a=i.labels.subnetworkName,o=e.map(s=>r`<calcite-option .value=${s}>${s}</calcite-option>`);return r`<calcite-block .heading=${a} .label=${a} expanded><calcite-select .label=${a} .value=${t} @calciteSelectChange=${s=>this.selectedSubnetworkName=s.target.value}>${o}</calcite-select></calcite-block>`}renderSubnetworkSelection(){let{compatibleSubnetworkNames:e,_messages:t,selectedNamedTraceConfiguration:i,_unTraceConfiguration:a}=this;return i?.traceType==="subnetwork"&&a?.subnetworkName?this._state==="loading"?r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>`:e.length?this.renderSubnetworkSelectList():this.renderError(t.errors.noCompatibleSubnetworks,!1,"exclamation-mark-triangle"):null}renderSubnetworkInfo(){let{_messages:e,selectedNamedTraceConfiguration:t,_unTraceConfiguration:i}=this;return i&&t?.traceType&&this._subnetworkTraceTypes.has(t.traceType)?r`<calcite-block class="subnetwork-info-block" expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>`:null}renderContent(){let{_messages:e,utilityNetworks:t,_unTraceConfiguration:i}=this;if(!t||t.length===0)return this.renderError(e.errors.noUtilityNetworkError);let a=r`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`,o=this.selectedNamedTraceConfiguration?.traceType,s=!(i?.subnetworkName&&o==="subnetwork"),$=o==="path"||o==="circuit",C=r`${s?this.renderStartingPointSelection():null}${$?this.renderStoppingPointSelection():null}${this.renderBarrierSelection()}`;return r`<calcite-block-group .label=${e.labels.traceInputs}>${t.length>1?this.renderUtilityNetworkSelection():null}${this.selectedUtilityNetwork?.loaded?a:this.renderLoader()}${i?C:null}</calcite-block-group>`}render(){let{mode:e}=this;return r`<div class=${u(S.base)}><calcite-flow>${this.renderDefaultMode()}${e==="add-spatial"?this.renderAddSpatialMode():null}</calcite-flow></div>`}};m("arcgis-utility-network-trace-inputs",p);return p},"applications/Components/featureUtils","core/Collection","layers/GraphicsLayer","networks/support/UNTraceConfiguration","rest/networks/support/TraceLocation","rest/support/FeatureSet","views/interactive/snapping/FeatureSnappingLayerSource","widgets/Sketch/SketchViewModel")
3
+ v5.0.0-next.88 */
4
+ import{a as h}from"./ZZNUHDUX.js";import{a as b}from"./EYHKPKKG.js";import{g as y}from"./EP4FNRB2.js";import"./UM5HLJ6Z.js";import"./GITNRBUR.js";import{a as c,b as f,c as _}from"./MYLRNHOI.js";import{I as k,J as u,O as m,a as w,b as r,s as d}from"./M7HAKBNG.js";import"./FHMZ7YBE.js";export default $arcgis.t(([{queryAllJSON:L},n,v,U,E,M,g,I])=>{var A=w`:host{width:100%}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;height:300px;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}.arcgis-utility-network-trace-inputs .subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`,T="arcgis-utility-network-trace-inputs",S={base:T,addSpatialMode:`${T}__add-spatial-mode`},N=`utility-network-trace-inputs-sketch-${Date.now()}`,l=`utility-network-trace-inputs-flags-${Date.now()}`,p=class extends k{constructor(){super(...arguments),this._messages=b({blocking:!0}),this._startingPoints=new n,this._barriers=new n,this._stoppingPoints=new n,this._subnetworkTraceTypes=new Set(["subnetwork","subnetwork-controller","upstream","downstream","isolation"]),this._removeDuplicateSubnetworkNames=(e,t,i)=>t===0||e.getAttribute("SUBNETWORKNAME")!==i[t-1].getAttribute("SUBNETWORKNAME"),this.compatibleSubnetworkNames=[],this.traceConfigurations=[],this._state="ready",this.mode="default",this.arcgisTraceInputsChange=d(),this.arcgisUtilityNetworkChange=d(),this.arcgisTraceLocationSelectStart=d(),this.arcgisPropertyChange=y()("mode")}static{this.properties={compatibleSubnetworkNames:16,selectedSubnetworkName:16,subnetworksTable:16,traceConfigurations:16,utilityNetworks:16,_unTraceConfiguration:16,_state:16,_activeTraceLocationType:16,view:0,selectedUtilityNetwork:0,selectedNamedTraceConfiguration:0,unTraceConfiguration:32,referenceElement:1,mode:1,traceLocations:32}}static{this.styles=A}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get selectedSubnetworkName(){return this._unTraceConfiguration?.subnetworkName??void 0}set selectedSubnetworkName(e){this._unTraceConfiguration&&(this._unTraceConfiguration.subnetworkName=e)}get unTraceConfiguration(){return this._unTraceConfiguration}get traceLocations(){let e=[],t=i=>{i.flagProperties.terminalConfiguration&&i.flagProperties.selectedTerminals?i.flagProperties.selectedTerminals.forEach(a=>{e.push(new E({type:i.traceLocation.type,isFilterBarrier:i.traceLocation.isFilterBarrier,globalId:i.traceLocation.globalId,percentAlong:i.traceLocation.percentAlong,terminalId:a}))}):e.push(i.traceLocation)};return this._startingPoints.forEach(i=>t(i)),this._barriers.forEach(i=>t(i)),this._stoppingPoints.forEach(i=>t(i)),e}load(){this._setupUtilityNetwork(),this._setupSketchViewModel()}willUpdate(e){let{utilityNetworks:t,selectedUtilityNetwork:i}=this;(e.has("utilityNetworks")||!t||t.length===0||!i||!t?.includes(i))&&this._handleUtilityNetworksChange(),e.has("selectedUtilityNetwork")&&(this.arcgisUtilityNetworkChange.emit(),this._handleSelectedUtilityNetworkChange()),e.has("selectedNamedTraceConfiguration")&&(this.arcgisTraceInputsChange.emit(),this._handleTraceConfigChange()),e.has("selectedSubnetworkName")&&this.arcgisTraceInputsChange.emit()}_clearTraceLocations(){this._getGraphicLayer(l)?.removeAll(),this._startingPoints.removeAll(),this._barriers.removeAll(),this._stoppingPoints.removeAll()}_addUniqueLayer(e,t){if(!t||!e?.map)return;let{map:i}=e;i.layers.find(a=>a===t)||i.add(t),i.reorder(t,i.layers.length-1)}_createGraphicLayer(e){let{map:t}=this.view;if(!t?.findLayerById(e)){let i=new v({id:e,listMode:"hide",title:e});this._addUniqueLayer(this.view,i)}}_getGraphicLayer(e){let{map:t}=this.view;if(t){let i=t.findLayerById(e);if(i?.type==="graphics")return t.reorder(i,t.layers.length-1),i}return null}_setSnappingOption(){let{_sketchViewModel:e,_unLayers:t}=this;if(e&&t&&t.length>0){let i=new n;t.forEach(a=>{a.type==="subtype-group"?a.sublayers.forEach(o=>{i.add(new g({layer:o,enabled:!0}))}):i.add(new g({layer:a,enabled:!0}))}),e.snappingOptions={enabled:!0,featureEnabled:!0,featureSources:i}}}_initializeSketchViewModel(){let{view:e,_unLayers:t}=this,i=this._getGraphicLayer(N),a=new n;return t?.forEach(o=>a.add(new g({layer:o,enabled:!0}))),new I({layer:i,view:e})}_setupSketchViewModel(){this._createGraphicLayer(N),this._createGraphicLayer(l),this._sketchViewModel=this._initializeSketchViewModel()}_clearSubnetworks(){this.selectedSubnetworkName=void 0,this.subnetworksTable=void 0,this.compatibleSubnetworkNames=[]}async _loadSubnetworksTable(){this.subnetworksTable||(this.subnetworksTable=await this.selectedUtilityNetwork?.loadSubnetworksTable())}async _querySubnetworks(){let{subnetworksTable:e}=this;if(!e)return;let t=e.createQuery();t.gdbVersion=this.selectedUtilityNetwork?.gdbVersion,t.where=this._getSubnetworkQueryWhereClause(),t.outFields=["SUBNETWORKNAME"],t.orderByFields=["SUBNETWORKNAME"];let i=M.fromJSON(await L(e,t));this.compatibleSubnetworkNames=i.features.filter(this._removeDuplicateSubnetworkNames).map(a=>a.getAttribute("SUBNETWORKNAME"))}_getSubnetworkQueryWhereClause(){let e=this._unTraceConfiguration,t=`DOMAINNETWORKNAME = '${e.domainNetworkName}'`,i=`TIERNAME = '${e.tierName}'`;return[t,i].join(" AND ")}async _handleSubnetworkTraceConfigChange(e){await this._loadSubnetworksTable(),await this._querySubnetworks();let{compatibleSubnetworkNames:t}=this;e.subnetworkName&&!t.some(i=>i===e.subnetworkName)&&(this.selectedSubnetworkName=t.at(0))}_selectTraceConfigurationByGuid(e){let t=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find(i=>i.globalId===e);if(!t){c("error",this,"`traceConfig` not found in `selectedUtilityNetwork.sharedNamedTraceConfigurations`");return}this.selectedNamedTraceConfiguration=t}_handleTraceConfigChange(){let{selectedNamedTraceConfiguration:e}=this;if(!(e?.traceConfiguration instanceof U)){c("error",this,f("selectedNamedTraceConfiguration.traceConfiguration")),this._unTraceConfiguration=void 0;return}switch(this._unTraceConfiguration=e.traceConfiguration.clone(),e.traceType){case"subnetwork":this._state="loading",this._handleSubnetworkTraceConfigChange(this._unTraceConfiguration).finally(()=>this._state="ready");break}}async _handleSelectedUtilityNetworkChange(){await this.selectedUtilityNetwork?.load(),this._clearSubnetworks(),this._setupTraceConfigurations(),this._filterUnLayers(),this._clearTraceLocations()}_setupTraceConfigurations(){this._unTraceConfiguration=void 0,this.traceConfigurations=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(e=>e.traceType!=="path"&&e.traceType!=="circuit")||[],this.selectedNamedTraceConfiguration=this.traceConfigurations.at(0)}_filterUnLayers(){let{selectedUtilityNetwork:e}=this;this._unLayers=new n(this._allLayers.filter(t=>e?.isUtilityLayer(t))),this._setSnappingOption()}_handleUtilityNetworksChange(){let{utilityNetworks:e}=this;if(!e||e.length===0){this._state="error",c("error",this,_("utilityNetworks"));return}(!this.selectedUtilityNetwork||!e.includes(this.selectedUtilityNetwork))&&(this.selectedUtilityNetwork=e.at(0))}async _setupUtilityNetwork(){if(this.view?.map){let e=this.view.map;await e.load(),this.utilityNetworks=e.utilityNetworks||void 0}else this._state="disabled",c("error",this,"The property `view.map` is required to load utility networks but is missing.")}_handleTraceLocationSelectStart(e){if(e.stopPropagation(),this.arcgisTraceLocationSelectStart.emit().defaultPrevented){e.preventDefault();return}this._activeTraceLocationType=e?.target?.traceLocationType,this.mode="add-spatial"}_handleTraceLocationSelectEnd(){this._activeTraceLocationType=void 0,this.mode="default"}_handleFlowItemBack(){this.mode="default",this._activeTraceLocationType=void 0,this._sketchViewModel?.cancel()}renderError(e,t=!1,i){return r`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`}renderLoader(){return r`<calcite-loader label=loading></calcite-loader>`}renderTraceSelection(){let{_messages:e,traceConfigurations:t}=this,i=e.labels.traceConfiguration;if(t.length===0)return this.renderError(e.errors.noTraceConfigurationError,!0);let a=h(t,o=>o.globalId,o=>r`<calcite-option .value=${o.globalId}>${o.title}</calcite-option>`);return r`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedNamedTraceConfiguration?.globalId||void 0} @calciteSelectChange=${o=>{this._selectTraceConfigurationByGuid(o.target.value)}}>${a}</calcite-select></calcite-block>`}renderUtilityNetworkSelection(){let{_messages:e}=this,t=e.labels.utilityNetwork,i=h(this.utilityNetworks,a=>a.id,a=>r`<calcite-option .value=${a.id}>${a.title}</calcite-option>`).toArray();return r`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${a=>{this.selectedUtilityNetwork?.id!==a.target.value&&(this.selectedUtilityNetwork=this.utilityNetworks?.find(o=>o.id===a.target.value))}}>${i}</calcite-select></calcite-block>`}renderDefaultMode(){let{_messages:e,_state:t,mode:i}=this;return r`<calcite-flow-item .selected=${i==="default"}>${t==="disabled"?this.renderError(e.errors.noMapError):this.renderContent()}</calcite-flow-item>`}renderAddSpatialMode(){let{_messages:e,_activeTraceLocationType:t}=this,i=t==="starting-point"?e.labels.addSpatial.startingPoint:t==="barrier"?e.labels.addSpatial.barrier:e.labels.addSpatial.stoppingPoint;return r`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${()=>this._handleFlowItemBack()}><div class=${u(S.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`}renderStartingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`}renderStoppingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`}renderBarrierSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`}renderSubnetworkSelectList(){let{compatibleSubnetworkNames:e,selectedSubnetworkName:t,_messages:i}=this,a=i.labels.subnetworkName,o=e.map(s=>r`<calcite-option .value=${s}>${s}</calcite-option>`);return r`<calcite-block .heading=${a} .label=${a} expanded><calcite-select .label=${a} .value=${t} @calciteSelectChange=${s=>this.selectedSubnetworkName=s.target.value}>${o}</calcite-select></calcite-block>`}renderSubnetworkSelection(){let{compatibleSubnetworkNames:e,_messages:t,selectedNamedTraceConfiguration:i,_unTraceConfiguration:a}=this;return i?.traceType==="subnetwork"&&a?.subnetworkName?this._state==="loading"?r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>`:e.length?this.renderSubnetworkSelectList():this.renderError(t.errors.noCompatibleSubnetworks,!1,"exclamation-mark-triangle"):null}renderSubnetworkInfo(){let{_messages:e,selectedNamedTraceConfiguration:t,_unTraceConfiguration:i}=this;return i&&t?.traceType&&this._subnetworkTraceTypes.has(t.traceType)?r`<calcite-block class="subnetwork-info-block" expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>`:null}renderContent(){let{_messages:e,utilityNetworks:t,_unTraceConfiguration:i}=this;if(!t||t.length===0)return this.renderError(e.errors.noUtilityNetworkError);let a=r`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`,o=this.selectedNamedTraceConfiguration?.traceType,s=!(i?.subnetworkName&&o==="subnetwork"),$=o==="path"||o==="circuit",C=r`${s?this.renderStartingPointSelection():null}${$?this.renderStoppingPointSelection():null}${this.renderBarrierSelection()}`;return r`<calcite-block-group .label=${e.labels.traceInputs}>${t.length>1?this.renderUtilityNetworkSelection():null}${this.selectedUtilityNetwork?.loaded?a:this.renderLoader()}${i?C:null}</calcite-block-group>`}render(){let{mode:e}=this;return r`<div class=${u(S.base)}><calcite-flow>${this.renderDefaultMode()}${e==="add-spatial"?this.renderAddSpatialMode():null}</calcite-flow></div>`}};m("arcgis-utility-network-trace-inputs",p);return p},"applications/Components/featureUtils","core/Collection","layers/GraphicsLayer","networks/support/UNTraceConfiguration","rest/networks/support/TraceLocation","rest/support/FeatureSet","views/interactive/snapping/FeatureSnappingLayerSource","widgets/Sketch/SketchViewModel")
@@ -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.87 */
4
- import b from"./VZIG2ZB6.js";import a from"./5DMOLSHU.js";import{a as T}from"./JZ2OZJ3M.js";import"./SU6NHQT5.js";import{I as C,J as k,O as M,a as A,b as m}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";export default $arcgis.t(([{watch:K,when:Q},X,Y,Z,{compileExpression:ee},{a:x,d:j},{q:J}])=>{var te=typeof global=="object"&&global&&global.Object===Object&&global,ie=typeof self=="object"&&self&&self.Object===Object&&self,U=te||ie||Function("return this")(),b=U.Symbol,q=Object.prototype,ne=q.hasOwnProperty,ae=q.toString,y=b?b.toStringTag:void 0;function re(e){var t=ne.call(e,y),n=e[y];try{e[y]=void 0;var i=!0}catch{}var a=ae.call(e);return i&&(t?e[y]=n:delete e[y]),a}var se=Object.prototype,oe=se.toString;function le(e){return oe.call(e)}var ce="[object Null]",ue="[object Undefined]",N=b?b.toStringTag:void 0;function fe(e){return e==null?e===void 0?ue:ce:N&&N in Object(e)?re(e):le(e)}function pe(e){return e!=null&&typeof e=="object"}var de="[object Symbol]";function he(e){return typeof e=="symbol"||pe(e)&&fe(e)==de}var me=/\s/;function ve(e){for(var t=e.length;t--&&me.test(e.charAt(t)););return t}var ge=/^\s+/;function ye(e){return e&&e.slice(0,ve(e)+1).replace(ge,"")}function $(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var R=NaN,_e=/^[-+]0x[0-9a-f]+$/i,Te=/^0b[01]+$/i,xe=/^0o[0-7]+$/i,be=parseInt;function W(e){if(typeof e=="number")return e;if(he(e))return R;if($(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=$(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ye(e);var n=Te.test(e);return n||xe.test(e)?be(e.slice(2),n?2:8):_e.test(e)?R:+e}var I=function(){return U.Date.now()},$e="Expected a function",we=Math.max,ke=Math.min;function je(e,t,n){var i,a,o,l,r,c,f=0,v=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError($e);t=W(t)||0,$(n)&&(v=!!n.leading,p="maxWait"in n,o=p?we(W(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function u(s){var d=i,g=a;return i=a=void 0,f=s,l=e.apply(g,d),l}function z(s){return f=s,r=setTimeout(_,t),v?u(s):l}function B(s){var d=s-c,g=s-f,L=t-d;return p?ke(L,o-g):L}function S(s){var d=s-c,g=s-f;return c===void 0||d>=t||d<0||p&&g>=o}function _(){var s=I();if(S(s))return E(s);r=setTimeout(_,B(s))}function E(s){return r=void 0,h&&i?u(s):(i=a=void 0,l)}function G(){r!==void 0&&clearTimeout(r),f=0,i=c=a=r=void 0}function H(){return r===void 0?l:E(I())}function w(){var s=I(),d=S(s);if(i=arguments,a=this,c=s,d){if(r===void 0)return z(c);if(p)return clearTimeout(r),r=setTimeout(_,t),u(c)}return r===void 0&&(r=setTimeout(_,t)),l}return w.cancel=G,w.flush=H,w}var Ie="Expected a function";function F(e,t,n){var i=!0,a=!0;if(typeof e!="function")throw new TypeError(Ie);return $(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),je(e,t,{leading:i,maxWait:t,trailing:a})}var Oe=A`.arcgis-feature-expression__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}`,V=1,D="arcgis-feature",P={base:`${D}-expression`,loadingSpinnerContainer:`${D}__loading-container`},O=class extends C{constructor(){super(...arguments),this._compileThrottled=F(this._startCompile,V),this._evaluateThrottled=F(this._startEvaluate,V),this.headingLevel=2}static{this.properties={_compileTask:16,_evaluateTask:16,values:0,fieldInfoMap:0,expressionInfo:0,graphic:0,headingLevel:9,interceptor:0,location:0,messages:0,spatialReference:0,map:0,view:0}}static{this.styles=Oe}loaded(){this.manager.onLifecycle(()=>[K(()=>[this.expressionInfo,this.graphic],()=>this._compileThrottled(),{initial:!0}),Q(()=>{if(!this._compileTask?.finished)return null;let t=this._compileTask.value,n=t?.dependencies,{view:i}=this;return[t,this.spatialReference,this.map,i,n?.has("view-scale")&&i&&"scale"in i?i.scale:null,n?.has("view-time-extent")?i?.timeExtent?.start:null,n?.has("view-time-extent")?i?.timeExtent?.end:null]},([t])=>this._evaluateThrottled(t)),{remove:()=>this._cancelThrottles()}])}_cancelThrottles(){this._compileThrottled.cancel(),this._evaluateThrottled.cancel()}_startCompile(){this._evaluateTask=T(this._evaluateTask),this._compileTask=T(this._compileTask),this._compileTask=j(async t=>{let{expressionInfo:n,graphic:i}=this,a=n?.expression;if(!a||!i)return null;let o=await ee({expression:a,graphic:i});return x(t),o})}_startEvaluate(t){this._evaluateTask=T(this._evaluateTask),this._evaluateTask=j(async n=>{let{graphic:i}=this;if(!t||!i)return null;let{interceptor:a,spatialReference:o,map:l,location:r,view:c}=this,f=await t.evaluate({graphic:i,interceptor:a,location:r,map:l,options:{signal:n},spatialReference:o,view:c});x(n);let v=f&&"castAsJsonAsync"in f&&typeof f.castAsJsonAsync=="function"?f:null;if(!v)return null;let p=await v.castAsJsonAsync(n);x(n);let h=p?.type,u=h==="media"?X.fromJSON(p):h==="text"?Z.fromJSON(p):h==="fields"?Y.fromJSON(p):null;return!u||u.type==="media"&&!u.mediaInfos||u.type==="fields"&&!u.fieldInfos||u.type==="text"&&!u.text?null:u})}render(){let t=!this._compileTask?.finished||!this._evaluateTask?.finished;return m`<div class=${k(P.base)}>${t?this._renderLoading():this._evaluateTask?.value?this._renderContent():null}</div>`}_renderContent(){let{values:t,fieldInfoMap:n}=this,i=this._evaluateTask?.value,a=i?.type;if(!a)return null;if(a==="text"){let o=J({values:t,fieldInfoMap:n??new Map,globalValues:t??{},layer:void 0,text:i.text});return m`<arcgis-feature-content .creator=${o} .graphic=${this.graphic}></arcgis-feature-content>`}else if(a==="media"){let{title:o,description:l,mediaInfos:r}=i;if(!r?.length)return null;let c={...t,...i.attributes};return m`<arcgis-feature-media .heading=${o??""} .values=${c} .formattedValues=${c} .description=${l??""} .mediaInfos=${r} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`}else if(a==="fields"){let{title:o,description:l,fieldInfos:r}=i;return r?.length?m`<arcgis-feature-fields .fieldInfos=${r} .heading=${o??""} .description=${l??""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>`:null}return null}_renderLoading(){return m`<div class=${k(P.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}};M("arcgis-feature-expression",O);return O},"core/reactiveUtils","popup/content/MediaContent","popup/content/FieldsContent","popup/content/TextContent","applications/Components/arcadeFeatureUtils",a,b)
3
+ v5.0.0-next.88 */
4
+ import b from"./YNAQEYTN.js";import a from"./RJRY26TE.js";import{a as T}from"./EZZGMQDB.js";import"./MYLRNHOI.js";import{I as C,J as k,O as M,a as A,b as m}from"./M7HAKBNG.js";import"./FHMZ7YBE.js";export default $arcgis.t(([{watch:K,when:Q},X,Y,Z,{compileExpression:ee},{a:x,d:j},{q:J}])=>{var te=typeof global=="object"&&global&&global.Object===Object&&global,ie=typeof self=="object"&&self&&self.Object===Object&&self,U=te||ie||Function("return this")(),b=U.Symbol,q=Object.prototype,ne=q.hasOwnProperty,ae=q.toString,y=b?b.toStringTag:void 0;function re(e){var t=ne.call(e,y),n=e[y];try{e[y]=void 0;var i=!0}catch{}var a=ae.call(e);return i&&(t?e[y]=n:delete e[y]),a}var se=Object.prototype,oe=se.toString;function le(e){return oe.call(e)}var ce="[object Null]",ue="[object Undefined]",N=b?b.toStringTag:void 0;function fe(e){return e==null?e===void 0?ue:ce:N&&N in Object(e)?re(e):le(e)}function pe(e){return e!=null&&typeof e=="object"}var de="[object Symbol]";function he(e){return typeof e=="symbol"||pe(e)&&fe(e)==de}var me=/\s/;function ve(e){for(var t=e.length;t--&&me.test(e.charAt(t)););return t}var ge=/^\s+/;function ye(e){return e&&e.slice(0,ve(e)+1).replace(ge,"")}function $(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var R=NaN,_e=/^[-+]0x[0-9a-f]+$/i,Te=/^0b[01]+$/i,xe=/^0o[0-7]+$/i,be=parseInt;function W(e){if(typeof e=="number")return e;if(he(e))return R;if($(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=$(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ye(e);var n=Te.test(e);return n||xe.test(e)?be(e.slice(2),n?2:8):_e.test(e)?R:+e}var I=function(){return U.Date.now()},$e="Expected a function",we=Math.max,ke=Math.min;function je(e,t,n){var i,a,o,l,r,c,f=0,v=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError($e);t=W(t)||0,$(n)&&(v=!!n.leading,p="maxWait"in n,o=p?we(W(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function u(s){var d=i,g=a;return i=a=void 0,f=s,l=e.apply(g,d),l}function z(s){return f=s,r=setTimeout(_,t),v?u(s):l}function B(s){var d=s-c,g=s-f,L=t-d;return p?ke(L,o-g):L}function S(s){var d=s-c,g=s-f;return c===void 0||d>=t||d<0||p&&g>=o}function _(){var s=I();if(S(s))return E(s);r=setTimeout(_,B(s))}function E(s){return r=void 0,h&&i?u(s):(i=a=void 0,l)}function G(){r!==void 0&&clearTimeout(r),f=0,i=c=a=r=void 0}function H(){return r===void 0?l:E(I())}function w(){var s=I(),d=S(s);if(i=arguments,a=this,c=s,d){if(r===void 0)return z(c);if(p)return clearTimeout(r),r=setTimeout(_,t),u(c)}return r===void 0&&(r=setTimeout(_,t)),l}return w.cancel=G,w.flush=H,w}var Ie="Expected a function";function F(e,t,n){var i=!0,a=!0;if(typeof e!="function")throw new TypeError(Ie);return $(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),je(e,t,{leading:i,maxWait:t,trailing:a})}var Oe=A`.arcgis-feature-expression__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}`,V=1,D="arcgis-feature",P={base:`${D}-expression`,loadingSpinnerContainer:`${D}__loading-container`},O=class extends C{constructor(){super(...arguments),this._compileThrottled=F(this._startCompile,V),this._evaluateThrottled=F(this._startEvaluate,V),this.headingLevel=2}static{this.properties={_compileTask:16,_evaluateTask:16,values:0,fieldInfoMap:0,expressionInfo:0,graphic:0,headingLevel:9,interceptor:0,location:0,messages:0,spatialReference:0,map:0,view:0}}static{this.styles=Oe}loaded(){this.manager.onLifecycle(()=>[K(()=>[this.expressionInfo,this.graphic],()=>this._compileThrottled(),{initial:!0}),Q(()=>{if(!this._compileTask?.finished)return null;let t=this._compileTask.value,n=t?.dependencies,{view:i}=this;return[t,this.spatialReference,this.map,i,n?.has("view-scale")&&i&&"scale"in i?i.scale:null,n?.has("view-time-extent")?i?.timeExtent?.start:null,n?.has("view-time-extent")?i?.timeExtent?.end:null]},([t])=>this._evaluateThrottled(t)),{remove:()=>this._cancelThrottles()}])}_cancelThrottles(){this._compileThrottled.cancel(),this._evaluateThrottled.cancel()}_startCompile(){this._evaluateTask=T(this._evaluateTask),this._compileTask=T(this._compileTask),this._compileTask=j(async t=>{let{expressionInfo:n,graphic:i}=this,a=n?.expression;if(!a||!i)return null;let o=await ee({expression:a,graphic:i});return x(t),o})}_startEvaluate(t){this._evaluateTask=T(this._evaluateTask),this._evaluateTask=j(async n=>{let{graphic:i}=this;if(!t||!i)return null;let{interceptor:a,spatialReference:o,map:l,location:r,view:c}=this,f=await t.evaluate({graphic:i,interceptor:a,location:r,map:l,options:{signal:n},spatialReference:o,view:c});x(n);let v=f&&"castAsJsonAsync"in f&&typeof f.castAsJsonAsync=="function"?f:null;if(!v)return null;let p=await v.castAsJsonAsync(n);x(n);let h=p?.type,u=h==="media"?X.fromJSON(p):h==="text"?Z.fromJSON(p):h==="fields"?Y.fromJSON(p):null;return!u||u.type==="media"&&!u.mediaInfos||u.type==="fields"&&!u.fieldInfos||u.type==="text"&&!u.text?null:u})}render(){let t=!this._compileTask?.finished||!this._evaluateTask?.finished;return m`<div class=${k(P.base)}>${t?this._renderLoading():this._evaluateTask?.value?this._renderContent():null}</div>`}_renderContent(){let{values:t,fieldInfoMap:n}=this,i=this._evaluateTask?.value,a=i?.type;if(!a)return null;if(a==="text"){let o=J({values:t,fieldInfoMap:n??new Map,globalValues:t??{},layer:void 0,text:i.text});return m`<arcgis-feature-content .creator=${o} .graphic=${this.graphic}></arcgis-feature-content>`}else if(a==="media"){let{title:o,description:l,mediaInfos:r}=i;if(!r?.length)return null;let c={...t,...i.attributes};return m`<arcgis-feature-media .heading=${o??""} .values=${c} .formattedValues=${c} .description=${l??""} .mediaInfos=${r} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`}else if(a==="fields"){let{title:o,description:l,fieldInfos:r}=i;return r?.length?m`<arcgis-feature-fields .fieldInfos=${r} .heading=${o??""} .description=${l??""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>`:null}return null}_renderLoading(){return m`<div class=${k(P.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}};M("arcgis-feature-expression",O);return O},"core/reactiveUtils","popup/content/MediaContent","popup/content/FieldsContent","popup/content/TextContent","applications/Components/arcadeFeatureUtils",a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.87 */
4
- import e from"./GLSQZF74.js";import{a as d}from"./JKKFLWMT.js";import b from"./N26ELVVV.js";import a from"./HG6K4Z5J.js";import{g as v}from"./JHB4BWDH.js";import"./JT27EM2N.js";import"./YXWFTRNT.js";import{b as g}from"./X6UH54F2.js";import"./SU6NHQT5.js";import{I as r,J as l,L as n,O as h,a as s,b as i,s as c}from"./KPRBFB4D.js";import"./YSRMPSZ6.js";export default $arcgis.t(([w,,{a:m},p])=>{var f=s`.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)}`,x="home",u={base:x,button:"arcgis-button"},y=p(w),a=class extends r{constructor(){super(...arguments),this.messages=d(),this.viewModel=y(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=m(()=>this.viewModel,"go"),this.arcgisPropertyChange=v()("state"),this.arcgisReady=c()}static{this.properties={view:0,autoDestroyDisabled:5,goToOverride:0,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.styles=f}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){this.viewModel.go()}_go(){let{viewModel:e}=this;e.state==="going-home"?e.cancelGo():e.go()}render(){let{messages:e,icon:b}=this,t=this.viewModel?.state,o=t==="going-home";return i`<div class=${l(g(u.base,u.button))}><calcite-button .disabled=${t==="disabled"} .iconStart=${o?void 0:b??void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${o?"s":"m"} title=${(t==="going-home"?e.cancel:e.title)??n}>${o?i`<calcite-loader inline label></calcite-loader>`:null}</calcite-button></div>`}};h("arcgis-home",a);return a},"widgets/Home/HomeViewModel",a,b,e)
3
+ v5.0.0-next.88 */
4
+ import e from"./33U56VQS.js";import{a as d}from"./EYHKPKKG.js";import b from"./EQMAMY5L.js";import a from"./SPMVGPBU.js";import{g as v}from"./EP4FNRB2.js";import"./UM5HLJ6Z.js";import"./ELEZAC3K.js";import{b as g}from"./GITNRBUR.js";import"./MYLRNHOI.js";import{I as r,J as l,L as n,O as h,a as s,b as i,s as c}from"./M7HAKBNG.js";import"./FHMZ7YBE.js";export default $arcgis.t(([w,,{a:m},p])=>{var f=s`.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)}`,x="home",u={base:x,button:"arcgis-button"},y=p(w),a=class extends r{constructor(){super(...arguments),this.messages=d(),this.viewModel=y(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=m(()=>this.viewModel,"go"),this.arcgisPropertyChange=v()("state"),this.arcgisReady=c()}static{this.properties={view:0,autoDestroyDisabled:5,goToOverride:0,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.styles=f}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){this.viewModel.go()}_go(){let{viewModel:e}=this;e.state==="going-home"?e.cancelGo():e.go()}render(){let{messages:e,icon:b}=this,t=this.viewModel?.state,o=t==="going-home";return i`<div class=${l(g(u.base,u.button))}><calcite-button .disabled=${t==="disabled"} .iconStart=${o?void 0:b??void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${o?"s":"m"} title=${(t==="going-home"?e.cancel:e.title)??n}>${o?i`<calcite-loader inline label></calcite-loader>`:null}</calcite-button></div>`}};h("arcgis-home",a);return a},"widgets/Home/HomeViewModel",a,b,e)