@arcgis/map-components 5.0.0-next.34 → 5.0.0-next.35

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 (394) hide show
  1. package/dist/cdn/{FIHFZS53.js → 224X3SAZ.js} +2 -2
  2. package/dist/cdn/{RTR476NM.js → 22FWFJSW.js} +2 -2
  3. package/dist/cdn/{67YH6KEL.js → 23ZGEGTJ.js} +2 -2
  4. package/dist/cdn/{P54UX33Z.js → 263U4AAO.js} +2 -2
  5. package/dist/cdn/{WHGAVCVQ.js → 2F2K4X6U.js} +2 -2
  6. package/dist/cdn/{XECZMFDS.js → 2ML55H4Y.js} +2 -2
  7. package/dist/cdn/{YVVZWBNI.js → 2MZTN4GZ.js} +2 -2
  8. package/dist/cdn/{MINC7WRH.js → 2NJ7SNSF.js} +2 -2
  9. package/dist/cdn/{CVO3ZQMC.js → 2REH2SRN.js} +2 -2
  10. package/dist/cdn/{NQTDLEK3.js → 2ZRRWIDQ.js} +2 -2
  11. package/dist/cdn/{JKHUKWNU.js → 34PX5RXG.js} +2 -2
  12. package/dist/cdn/{3DKDY5A3.js → 3NBREEJO.js} +2 -2
  13. package/dist/cdn/{SFGFOD6A.js → 3TO5FKAG.js} +2 -2
  14. package/dist/cdn/{ZEYV7EBF.js → 3WTZNLXL.js} +2 -2
  15. package/dist/cdn/{AGC46XXA.js → 43ALRTOT.js} +2 -2
  16. package/dist/cdn/{WRJXPTFH.js → 443VLXJU.js} +2 -2
  17. package/dist/cdn/{LQIBCP7I.js → 44KQKSBE.js} +2 -2
  18. package/dist/cdn/{MNZ46E7G.js → 45ZVS7AI.js} +2 -2
  19. package/dist/cdn/{P4J7QPCH.js → 4LKXH4VM.js} +2 -2
  20. package/dist/cdn/{7B7Q4BNY.js → 4PEZ4FRJ.js} +2 -2
  21. package/dist/cdn/{EKSYJQIT.js → 4SFA7EFU.js} +2 -2
  22. package/dist/cdn/{GOCEFJL7.js → 4ZCQWMLP.js} +2 -2
  23. package/dist/cdn/{LE7HEMA4.js → 53GKDMR3.js} +2 -2
  24. package/dist/cdn/{NPML2W4Z.js → 543DEVTA.js} +2 -2
  25. package/dist/cdn/{4MDE7YER.js → 545RONET.js} +2 -2
  26. package/dist/cdn/{3KNSBK55.js → 54AZNCLM.js} +2 -2
  27. package/dist/cdn/{5PUCJBXT.js → 54RPVCND.js} +2 -2
  28. package/dist/cdn/{JGCV7QA7.js → 56Z3OQNJ.js} +2 -2
  29. package/dist/cdn/{4RG2FO4C.js → 5BM4Y5TU.js} +2 -2
  30. package/dist/cdn/{HWGAHO5L.js → 5EBLDKX2.js} +2 -2
  31. package/dist/cdn/{PPUX27ID.js → 5GLZHIOI.js} +2 -2
  32. package/dist/cdn/{ISHL6SWE.js → 5JC54MR3.js} +2 -2
  33. package/dist/cdn/{63Y2JZDA.js → 5JFFWKKI.js} +2 -2
  34. package/dist/cdn/{WTM5RONP.js → 5K5ZMFCQ.js} +2 -2
  35. package/dist/cdn/{DWLKAEQL.js → 5VXGXT72.js} +2 -2
  36. package/dist/cdn/5YJGV2R4.js +4 -0
  37. package/dist/cdn/{G5XNPKER.js → 5YRAMF5K.js} +2 -2
  38. package/dist/cdn/{KPL2ZSZG.js → 63FS7QVJ.js} +2 -2
  39. package/dist/cdn/{ZLWCSUKZ.js → 64RG6DKB.js} +2 -2
  40. package/dist/cdn/{EZBXJ42N.js → 6A2VCXEK.js} +2 -2
  41. package/dist/cdn/{ONMB4IY2.js → 6G524JYP.js} +2 -2
  42. package/dist/cdn/{OJFHO6W3.js → 6ISXPN7W.js} +2 -2
  43. package/dist/cdn/{A36DX5US.js → 6LSEE7B7.js} +2 -2
  44. package/dist/cdn/{ACJZ2FDS.js → 6PAV3H7H.js} +2 -2
  45. package/dist/cdn/{GYIKFQTG.js → 6PFJZM2W.js} +2 -2
  46. package/dist/cdn/{AF6GNIJZ.js → 6YRD3JH2.js} +2 -2
  47. package/dist/cdn/{BSWGIMHR.js → 75CBICXV.js} +1 -1
  48. package/dist/cdn/{3JAJ6TK2.js → 762WAMRW.js} +2 -2
  49. package/dist/cdn/{JWQYBLQX.js → 7EJMJJUR.js} +2 -2
  50. package/dist/cdn/{ERLMOZPT.js → 7GBQ53WK.js} +2 -2
  51. package/dist/cdn/{W5S6JHE3.js → 7IVKOZAV.js} +2 -2
  52. package/dist/cdn/{JSP7MMCV.js → 7NXTAHEK.js} +2 -2
  53. package/dist/cdn/{FUAHEB5T.js → 7YJRFST3.js} +1 -1
  54. package/dist/cdn/{TTGPTSFG.js → A2VBJEKV.js} +2 -2
  55. package/dist/cdn/{OLLD6L7J.js → AB2UOG3O.js} +2 -2
  56. package/dist/cdn/{MGPU4KKV.js → ABE66HJK.js} +2 -2
  57. package/dist/cdn/{D3BPUBLP.js → AEOUOJIC.js} +1 -1
  58. package/dist/cdn/{CUQ3ZXV5.js → ALMKHLQP.js} +2 -2
  59. package/dist/cdn/{WLPAJJTY.js → AQZZFULE.js} +1 -1
  60. package/dist/cdn/{FG3X2XLL.js → AVAAMOCP.js} +2 -2
  61. package/dist/cdn/{LYS47EUS.js → AXHHPPY5.js} +2 -2
  62. package/dist/cdn/{PMTT2HH6.js → AXXKYYKZ.js} +2 -2
  63. package/dist/cdn/{VJJIPCK3.js → B6JPREHA.js} +2 -2
  64. package/dist/cdn/{KR4NMFBS.js → BB44SHP3.js} +2 -2
  65. package/dist/cdn/{IYA4E5RX.js → BEM6AIJ5.js} +2 -2
  66. package/dist/cdn/{AADZCYS3.js → BR75DTZM.js} +2 -2
  67. package/dist/cdn/{V5GMWCTF.js → BXIJ6Y23.js} +1 -1
  68. package/dist/cdn/{AWSO5VYT.js → CFRULRGC.js} +2 -2
  69. package/dist/cdn/{H2BXQL6R.js → CNJ6KRCJ.js} +2 -2
  70. package/dist/cdn/{WDV4UO2C.js → COJWOXUI.js} +2 -2
  71. package/dist/cdn/{VPIFHIMR.js → CTRHER4R.js} +2 -2
  72. package/dist/cdn/{VKLP2SWQ.js → D3F72YAY.js} +2 -2
  73. package/dist/cdn/{NUZNIOHW.js → D5HNOBJH.js} +2 -2
  74. package/dist/cdn/{IVMVZZG6.js → D6XOHSHH.js} +2 -2
  75. package/dist/cdn/{5VBEXTJN.js → DBF66NYQ.js} +2 -2
  76. package/dist/cdn/{P7MOQTL5.js → DCSNQICV.js} +2 -2
  77. package/dist/cdn/{KDY45YRH.js → DCWWVVMM.js} +2 -2
  78. package/dist/cdn/{ISTYHTDF.js → DMDOQPVQ.js} +2 -2
  79. package/dist/cdn/{2SDDPZ4T.js → DMNR6JBU.js} +2 -2
  80. package/dist/cdn/{M7TCFYX6.js → DR6VT244.js} +2 -2
  81. package/dist/cdn/{JJYEPP2I.js → DRIX6INP.js} +2 -2
  82. package/dist/cdn/{Y75VKAGD.js → E3DVB47G.js} +2 -2
  83. package/dist/cdn/{BMWWXVAS.js → E3R6REBD.js} +2 -2
  84. package/dist/cdn/{VVGVKN3P.js → EDNPDD2G.js} +2 -2
  85. package/dist/cdn/{RBU2YJFH.js → EG5RX2QV.js} +2 -2
  86. package/dist/cdn/{4DUCYOWE.js → EHNFJ2WK.js} +2 -2
  87. package/dist/cdn/{F4OWN5O6.js → EJ6BRSS3.js} +2 -2
  88. package/dist/cdn/{XYCYTG42.js → EL5TFDTF.js} +1 -1
  89. package/dist/cdn/{KULWAH2C.js → EMRSUSFQ.js} +2 -2
  90. package/dist/cdn/{OSWAWXPB.js → EWSFR5DD.js} +2 -2
  91. package/dist/cdn/{J72SYVZF.js → EZBHHUWP.js} +2 -2
  92. package/dist/cdn/{SQ4PJZSP.js → F2Z422XX.js} +2 -2
  93. package/dist/cdn/{HQ2AI7WK.js → FFC7OGSF.js} +2 -2
  94. package/dist/cdn/{ZLFUSBID.js → FMQZU7VT.js} +2 -2
  95. package/dist/cdn/{COJEWJVQ.js → FMVSJOD6.js} +2 -2
  96. package/dist/cdn/{4QOFZQPA.js → FN5TDCVF.js} +2 -2
  97. package/dist/cdn/{7S2ZTMKZ.js → FRMGV36M.js} +2 -2
  98. package/dist/cdn/{O3AFVVMY.js → FVIA35SY.js} +2 -2
  99. package/dist/cdn/{5YN5SKCG.js → FXIH42ZE.js} +2 -2
  100. package/dist/cdn/{6X4UNFA7.js → G36UH75X.js} +2 -2
  101. package/dist/cdn/{PND3CUPL.js → G5NQ2EYT.js} +2 -2
  102. package/dist/cdn/{D2XVEG7F.js → GGTFELQC.js} +2 -2
  103. package/dist/cdn/{AFKNRDPK.js → HFMGDDYV.js} +2 -2
  104. package/dist/cdn/{ZQKOROBY.js → I26JMKTF.js} +2 -2
  105. package/dist/cdn/{S7T6NPAJ.js → I6NHLFZC.js} +2 -2
  106. package/dist/cdn/{KZE5MZN4.js → IAL27HEE.js} +2 -2
  107. package/dist/cdn/{QBCHK24A.js → ICIWQKCZ.js} +2 -2
  108. package/dist/cdn/{5JUDGT45.js → IFORKMFB.js} +2 -2
  109. package/dist/cdn/{TJDSTA76.js → IYUKHMVB.js} +2 -2
  110. package/dist/cdn/{OGLZLXK6.js → J4L6FN7N.js} +2 -2
  111. package/dist/cdn/{YZCMETTU.js → J7CBRHF3.js} +1 -1
  112. package/dist/cdn/{BF32HW7I.js → JOER24XS.js} +2 -2
  113. package/dist/cdn/{4M3DTWKL.js → JQRXUJSX.js} +1 -1
  114. package/dist/cdn/{SAOQSJZ6.js → JRPPPCTD.js} +2 -2
  115. package/dist/cdn/{NXNEBE6I.js → JUCIVK2C.js} +2 -2
  116. package/dist/cdn/{47YFE74A.js → JVHV4IYE.js} +2 -2
  117. package/dist/cdn/{EBKU5C2G.js → K56L7KLU.js} +2 -2
  118. package/dist/cdn/{NT75QBVA.js → KLZKBVIU.js} +2 -2
  119. package/dist/cdn/{FLGPXMVL.js → KM3LWTRC.js} +2 -2
  120. package/dist/cdn/{WN3DHV54.js → KME7NPJK.js} +2 -2
  121. package/dist/cdn/{BK2AG5CL.js → KRFMFKPZ.js} +2 -2
  122. package/dist/cdn/{TWCA6WQX.js → KWDY6C5P.js} +2 -2
  123. package/dist/cdn/{RMBKZXJQ.js → L5TR3ISI.js} +2 -2
  124. package/dist/cdn/{CGP3PHQM.js → L65I7LRN.js} +2 -2
  125. package/dist/cdn/{2FARWPNR.js → L7ECOUCJ.js} +2 -2
  126. package/dist/cdn/{HMMNMQOO.js → LAAP3BRO.js} +1 -1
  127. package/dist/cdn/{LTTQKAER.js → LDVXBXVB.js} +2 -2
  128. package/dist/cdn/{BOGJY5TB.js → LT44YFB3.js} +2 -2
  129. package/dist/cdn/{3457Z5KN.js → LTHBGX26.js} +1 -1
  130. package/dist/cdn/{YK6ZIHVN.js → LWKAI63E.js} +2 -2
  131. package/dist/cdn/{WSVJQPF4.js → M37OTBC5.js} +2 -2
  132. package/dist/cdn/{QMOTOQID.js → M4BAKHIL.js} +2 -2
  133. package/dist/cdn/{QRJJOYQ5.js → M5LMYWQC.js} +2 -2
  134. package/dist/cdn/{3IBZJEUI.js → MD4MQWAZ.js} +2 -2
  135. package/dist/cdn/{HLWGCLF7.js → MNZO2BXW.js} +2 -2
  136. package/dist/cdn/{X6JP6HWG.js → MS4H2ZNG.js} +1 -1
  137. package/dist/cdn/{VCQGTD24.js → MXOXRFRN.js} +2 -2
  138. package/dist/cdn/{3GCBXEM3.js → MYHIA2LW.js} +2 -2
  139. package/dist/cdn/{TA642UC4.js → NGRYMS33.js} +2 -2
  140. package/dist/cdn/{HVFFPAVX.js → NHNFRZDQ.js} +2 -2
  141. package/dist/cdn/{DHN2M3ZD.js → NOQKBJX5.js} +2 -2
  142. package/dist/cdn/{YDCSSLXW.js → NRTCLTUA.js} +2 -2
  143. package/dist/cdn/{NFE3M6ZX.js → NXIYJUC5.js} +2 -2
  144. package/dist/cdn/{I24BPIVH.js → NY2ROMUK.js} +2 -2
  145. package/dist/cdn/{Z6NYKKLE.js → O3VWHVBO.js} +2 -2
  146. package/dist/cdn/{5I2XDFCR.js → OA2KWN6G.js} +2 -2
  147. package/dist/cdn/{PA3NYT5E.js → OA74E4I3.js} +2 -2
  148. package/dist/cdn/{KXOUXLI2.js → OAR25NIZ.js} +2 -2
  149. package/dist/cdn/{WYJ2LSJI.js → OD6LZQLN.js} +2 -2
  150. package/dist/cdn/{736CFRW2.js → OJGL2JIU.js} +2 -2
  151. package/dist/cdn/{X4GIRU45.js → OMFGAJHJ.js} +2 -2
  152. package/dist/cdn/{ZJORKVVV.js → ONFARU7F.js} +1 -1
  153. package/dist/cdn/{ZHK6AEAR.js → OSHBXR2D.js} +2 -2
  154. package/dist/cdn/{IKHHMPDM.js → OX3HKB5I.js} +2 -2
  155. package/dist/cdn/{3RUYGSUK.js → P25VOKM6.js} +2 -2
  156. package/dist/cdn/{BPVCHI7N.js → PA4HRSTZ.js} +2 -2
  157. package/dist/cdn/{DXL5K22B.js → PEBUQEDM.js} +2 -2
  158. package/dist/cdn/{X2K3TMXK.js → PJJN5ROW.js} +2 -2
  159. package/dist/cdn/{DMQ2D3ED.js → PN5PBFAQ.js} +2 -2
  160. package/dist/cdn/{OVP7QEYQ.js → PQHPJVPH.js} +1 -1
  161. package/dist/cdn/{Y52Y2XWU.js → PRWX4UWO.js} +2 -2
  162. package/dist/cdn/{BRB6DKBM.js → PTOJPQ2T.js} +2 -2
  163. package/dist/cdn/{7LQRNBSK.js → Q2Z3TB7I.js} +2 -2
  164. package/dist/cdn/{NWY6EWE6.js → QCUUWZMP.js} +2 -2
  165. package/dist/cdn/{GB6NIWHH.js → QEQSIFKV.js} +2 -2
  166. package/dist/cdn/{GB7SMXNT.js → QFTWVR6L.js} +2 -2
  167. package/dist/cdn/{GUO2PYFC.js → QK4CFIQR.js} +2 -2
  168. package/dist/cdn/{3JJSZEFG.js → QKXDCADK.js} +2 -2
  169. package/dist/cdn/{5CJ3GL27.js → QOHDMAS7.js} +2 -2
  170. package/dist/cdn/{SUBU3DIB.js → R6GB4OLF.js} +2 -2
  171. package/dist/cdn/{JROQTQK7.js → R6HCQHD5.js} +2 -2
  172. package/dist/cdn/{QWXRXSUE.js → RBAZJ74K.js} +2 -2
  173. package/dist/cdn/{LVTU7XNT.js → RBQPEGAP.js} +2 -2
  174. package/dist/cdn/{Q4QRPLOR.js → RM2MOREY.js} +2 -2
  175. package/dist/cdn/{RYRNGPNT.js → RSNRSZIA.js} +2 -2
  176. package/dist/cdn/{RQCKJKGC.js → RY5TWSDX.js} +1 -1
  177. package/dist/cdn/{WGSI5K6Y.js → S4BI6GVO.js} +2 -2
  178. package/dist/cdn/{2D5ILTQJ.js → S5FZKHWF.js} +2 -2
  179. package/dist/cdn/{O5D76G3J.js → S5UW7FUT.js} +1 -1
  180. package/dist/cdn/{HPWTOIWC.js → SQFZPOSN.js} +2 -2
  181. package/dist/cdn/{FACF24YR.js → T3AJYWX6.js} +2 -2
  182. package/dist/cdn/{QRZLVXV7.js → T65V4IVX.js} +2 -2
  183. package/dist/cdn/{W3BOJTC2.js → TFAOBI26.js} +2 -2
  184. package/dist/cdn/{OSDQLYEI.js → TGZVNHIA.js} +2 -2
  185. package/dist/cdn/{TMR6TELJ.js → TYTL4AUF.js} +2 -2
  186. package/dist/cdn/{BQSDF4NS.js → TZR43QZT.js} +2 -2
  187. package/dist/cdn/{BV7TFUO6.js → U6BKK7ES.js} +2 -2
  188. package/dist/cdn/{35TJXNR2.js → U6DAFFSJ.js} +2 -2
  189. package/dist/cdn/{RNOCW5TP.js → U77CJERQ.js} +2 -2
  190. package/dist/cdn/{QPBWIMFD.js → UCJBWQ3I.js} +2 -2
  191. package/dist/cdn/{PW2PBM6L.js → UVSONQCM.js} +2 -2
  192. package/dist/cdn/{F2VWKLFJ.js → UYLAGUQB.js} +2 -2
  193. package/dist/cdn/{2DMU5QSW.js → VEL5HAZW.js} +2 -2
  194. package/dist/cdn/{FPKSZAXZ.js → VFQT35OV.js} +2 -2
  195. package/dist/cdn/{CYCCGMZR.js → VHHOMETN.js} +2 -2
  196. package/dist/cdn/{4CKLFI6V.js → VX5F6HDA.js} +2 -2
  197. package/dist/cdn/{EQVC7B6L.js → VZK2EM2U.js} +2 -2
  198. package/dist/cdn/{QIBBQR36.js → W4Z2KOS5.js} +2 -2
  199. package/dist/cdn/{ZCIIBC6Z.js → WG52LNMF.js} +2 -2
  200. package/dist/cdn/{6MDSIEL5.js → WGLOEGZA.js} +3 -3
  201. package/dist/cdn/{X3UBMMJV.js → WHFA2MWO.js} +2 -2
  202. package/dist/cdn/{QEXRVLWY.js → WO4GVL4Q.js} +2 -2
  203. package/dist/cdn/{TTWHLJCQ.js → WOMF5TYE.js} +2 -2
  204. package/dist/cdn/{YWRDXJ53.js → WWKYOWLH.js} +2 -2
  205. package/dist/cdn/{TVJNU6CM.js → WZGJNWVQ.js} +2 -2
  206. package/dist/cdn/{42DVQ2YN.js → WZYSENNW.js} +2 -2
  207. package/dist/cdn/{ZV4PZHFD.js → X4APY3QO.js} +2 -2
  208. package/dist/cdn/{KPGSALKT.js → XGYBHRZZ.js} +2 -2
  209. package/dist/cdn/{GXHNGRNT.js → XI4AR7X2.js} +2 -2
  210. package/dist/cdn/Y7IYHRCV.js +4 -0
  211. package/dist/cdn/{L7OHRNHG.js → YDKOT22A.js} +2 -2
  212. package/dist/cdn/{HHV664F5.js → YL274O23.js} +2 -2
  213. package/dist/cdn/{QLSXPW7I.js → YLS7SLBG.js} +2 -2
  214. package/dist/cdn/YNAFOPMY.js +4 -0
  215. package/dist/cdn/{NQN7ESIE.js → YOWBZDFU.js} +2 -2
  216. package/dist/cdn/{LUB7UTTU.js → YSXJTFT6.js} +2 -2
  217. package/dist/cdn/{5BSNLFTS.js → YTZOYRRL.js} +2 -2
  218. package/dist/cdn/{MFY7PVYK.js → Z7L64P7N.js} +2 -2
  219. package/dist/cdn/{2P3HJGIM.js → ZC75XSUD.js} +2 -2
  220. package/dist/cdn/{AN2WVK5W.js → ZDI45V74.js} +2 -2
  221. package/dist/cdn/{KK5NPF7T.js → ZDWKFXZT.js} +2 -2
  222. package/dist/cdn/{4AUQ7NUM.js → ZEMMR7KB.js} +2 -2
  223. package/dist/cdn/{SQDYAP3J.js → ZSIXH6LL.js} +2 -2
  224. package/dist/cdn/{UKO3LGYQ.js → ZSYPONCO.js} +2 -2
  225. package/dist/cdn/index.js +2 -2
  226. package/dist/chunks/AnalysisViewModel.js +1 -1
  227. package/dist/chunks/action-utils.js +1 -1
  228. package/dist/chunks/async-utils.js +1 -1
  229. package/dist/chunks/basemap-gallery-resources.js +1 -1
  230. package/dist/chunks/chart-utils.js +1 -1
  231. package/dist/chunks/chartCommon.js +1 -1
  232. package/dist/chunks/component-utils.js +1 -1
  233. package/dist/chunks/createCloseEvent.js +1 -1
  234. package/dist/chunks/esri-main.js +1 -1
  235. package/dist/chunks/feature-utils.js +1 -1
  236. package/dist/chunks/globalCss.js +1 -1
  237. package/dist/chunks/handle.js +1 -1
  238. package/dist/chunks/heading.js +1 -1
  239. package/dist/chunks/layer-list.js +1 -1
  240. package/dist/chunks/legacyIcon.js +1 -1
  241. package/dist/chunks/maybe.js +1 -1
  242. package/dist/chunks/measurementUtils.js +1 -1
  243. package/dist/chunks/runtime.js +1 -1
  244. package/dist/chunks/screenLocation.js +1 -1
  245. package/dist/chunks/slots.js +1 -1
  246. package/dist/chunks/svgUtils.js +1 -1
  247. package/dist/chunks/univariateUtils.js +1 -1
  248. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  249. package/dist/chunks/useHandles.js +1 -1
  250. package/dist/chunks/useT9n.js +1 -1
  251. package/dist/chunks/useView.js +1 -1
  252. package/dist/chunks/useViewModel.js +1 -1
  253. package/dist/chunks/useWidget.js +1 -1
  254. package/dist/chunks/utils.js +1 -1
  255. package/dist/chunks/utils2.js +1 -1
  256. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  257. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  258. package/dist/components/arcgis-attachments/customElement.js +1 -1
  259. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  260. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  261. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  262. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  263. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  264. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  265. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  266. package/dist/components/arcgis-compass/customElement.js +1 -1
  267. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  268. package/dist/components/arcgis-daylight/customElement.js +1 -1
  269. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  270. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  271. package/dist/components/arcgis-directions/customElement.js +1 -1
  272. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  273. package/dist/components/arcgis-editor/customElement.js +1 -1
  274. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  275. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  276. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  277. package/dist/components/arcgis-elevation-profile-next/customElement.js +1 -1
  278. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  279. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  280. package/dist/components/arcgis-expand/customElement.js +1 -1
  281. package/dist/components/arcgis-feature/customElement.js +1 -1
  282. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  283. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  284. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  285. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  286. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  287. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  288. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  289. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  290. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  291. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  292. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  293. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  294. package/dist/components/arcgis-features/customElement.js +1 -1
  295. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  296. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  297. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  298. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  299. package/dist/components/arcgis-home/customElement.js +1 -1
  300. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  301. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  302. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  303. package/dist/components/arcgis-legend/customElement.js +1 -1
  304. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  305. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  306. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  307. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  308. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  309. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  310. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  311. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  312. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  313. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  314. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  315. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  316. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  318. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  319. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  320. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  321. package/dist/components/arcgis-locate/customElement.js +1 -1
  322. package/dist/components/arcgis-map/customElement.js +1 -1
  323. package/dist/components/arcgis-measurement/customElement.js +1 -1
  324. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  325. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  326. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  327. package/dist/components/arcgis-placement/customElement.js +1 -1
  328. package/dist/components/arcgis-popup/customElement.js +1 -1
  329. package/dist/components/arcgis-print/customElement.js +1 -1
  330. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  331. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  332. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  333. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  334. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  335. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  336. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  337. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  338. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  339. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  340. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  341. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  342. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  343. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  344. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  345. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  346. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  347. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  348. package/dist/components/arcgis-scene/customElement.js +1 -1
  349. package/dist/components/arcgis-search/customElement.js +1 -1
  350. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  351. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  352. package/dist/components/arcgis-sketch/customElement.js +1 -1
  353. package/dist/components/arcgis-slice/customElement.js +1 -1
  354. package/dist/components/arcgis-spinner/customElement.js +1 -1
  355. package/dist/components/arcgis-swipe/customElement.js +1 -1
  356. package/dist/components/arcgis-table-list/customElement.js +1 -1
  357. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  358. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  359. package/dist/components/arcgis-track/customElement.js +1 -1
  360. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  361. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  362. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  363. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  364. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  365. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  366. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  367. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  368. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  369. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  370. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  371. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  372. package/dist/components/arcgis-version-management/customElement.js +1 -1
  373. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  374. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  375. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  376. package/dist/components/arcgis-video/customElement.js +1 -1
  377. package/dist/components/arcgis-video-player/customElement.js +1 -1
  378. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  379. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  380. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  381. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  382. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  383. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  384. package/dist/components/arcgis-weather/customElement.js +1 -1
  385. package/dist/components/arcgis-zoom/customElement.js +1 -1
  386. package/dist/docs/api.json +2 -2
  387. package/dist/docs/docs.json +2 -2
  388. package/dist/docs/web-types.json +1 -1
  389. package/dist/index.js +1 -1
  390. package/dist/loader.js +1 -1
  391. package/package.json +3 -3
  392. package/dist/cdn/2I3KOL2A.js +0 -4
  393. package/dist/cdn/V6APIMPL.js +0 -4
  394. package/dist/cdn/YOG4HDCO.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.34 */
4
- import{c as f,g}from"./WLPAJJTY.js";import{h as O,j as w,k as N,l as u,m,n as $,o as b,q as y,r as _,t as k}from"./V5GMWCTF.js";var A=t=>(...s)=>{let o=m(),e=new t(...s),r=e.exports;u(o.at(-1));let n=e.component.manager;n.W(e,r),e.watchExports(n.W.bind(n,e)),$(e);let a=[e.component,...o].reverse();return y(a,i=>i===void 0?void 0:U(e,i,r),r)},U=(t,{host:s,key:o,isReactive:e},r)=>{let n=s,a=n[o]!==t.exports,i=n[o]!==r,c=r!==t.exports;if(a&&!i&&c&&(n[o]=t.exports),s===t.component){if(e){let l=t.component.manager;i&&l.W(t,n[o]),t.onUpdate(h=>{if(h.has(o)){let P=n[o];P!==t.exports&&l.W(t,P)}})}t.O=e?void 0:o}let d=t.component.constructor.elementProperties.get(o)?.readOnly;t.watchExports(()=>{n[o]!==t.exports&&(d?b(()=>{n[o]=t.exports}):n[o]=t.exports)})};var D="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),F=new Set(D),v="en",K={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},W=async(t,s,o="")=>{let e=`${s}/${o}`,r=`${e}${t}.json`;return E[r]??(E[r]=S(t,e)),await E[r]},E={},S=async(t,s)=>{let o=`${s}${t}.json`;try{let e=await fetch(o);if(e.ok)return await e.json()}catch(e){return console.error(e),{}}return t===v?{}:await S(v,s)},x=t=>{let s=g(t,"lang",globalThis.navigator?.language||v);return{lang:s,t9nLocale:V(s)}},V=t=>{let[s,o]=t.split("-"),e=s.toLowerCase(),r=e;return o&&(r=`${e}-${o.toUpperCase()}`),r=K[r]??r,F.has(r)?r:o?V(e):v},j=(t,s,o,e)=>{let r,n=()=>I(t,s(),e).then(a=>{(r?.lang!==a.lang||r.t9nLocale!==a.t9nLocale||r.t9nStrings!==a.t9nStrings)&&o(a),r=a}).catch(console.error);return queueMicrotask(n),f(t,["lang"],n)},I=async(t,s,o=t.localName.split("-").slice(1).join("-"))=>{let{lang:e,t9nLocale:r}=x(t),n=`${s}/${o}/t9n`,i=o===null?{}:await W(r,n,"messages.");return{lang:e,t9nLocale:r,t9nStrings:i}};var L=t=>z(void 0,t),mt=t=>s=>z(s,t),C=class extends k{constructor(s,o){super(s);let e=this.exports;try{w(this.component);let r=o(this.component,this),n=this.exports!==e;if(O(r)){n||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i),console.error(i)});this.onLoad(async()=>await a)}else(!n||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r),console.error(r)}}catchUpLifecycle(){}},z=A(C);var ft=t=>(...s)=>{let o=m(),e=new t(...s);return u(o.at(-1)),e},gt=t=>L((s,o)=>{let e=globalThis.matchMedia(t),r=()=>{o.exports=e.matches};r(),o.onLifecycle(()=>(e.addEventListener("change",r),()=>e.removeEventListener("change",r)))}),M="ltr",vt=()=>L((t,s)=>{s.exports=M,s.onLifecycle(()=>{let o=()=>{let e=g(t.el,"dir",M);s.exports=e==="rtl"?"rtl":"ltr"};return o(),f(t.el,["dir"],o)})}),bt=t=>(s={})=>L((o,e)=>{let r=x(o.el),n={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=o;e.onLifecycle(()=>j(o.el,()=>t("./assets"),({t9nLocale:c,t9nStrings:p,lang:d})=>{let l={...p,_lang:d,_t9nLocale:c,_loading:!1};e.exports=l;let h=p.componentLabel;typeof h=="string"&&"label"in o&&o.label==null&&(o.label??=h),i(a.messageOverrides)},s.name));let i=c=>{let p=e.exports,d=p._original??p,l=T(d,c);c&&(l._original=d),e.exports=l};return"messageOverrides"in a&&e.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),s.blocking?(e.setProvisionalExports(n,!1),e.ready):n}),T=(t,s)=>{if(!s)return t;let o={...t};return Object.entries(s).forEach(([e,r])=>{typeof r=="object"?o[e]=T(t[e],r):o[e]=r??t[e]}),o},yt=t=>q,R="arcgisPropertyChange",q=(...t)=>{let s=N(),o=_(R,void 0,s),e=!0;return s.manager.onUpdated(r=>{if(e||!s.el.isConnected){e=!1;return}for(let n of t)r.has(n)&&o.emit({name:n})}),o};export{A as a,mt as b,ft as c,gt as d,vt as e,bt as f,yt as g};
3
+ v5.0.0-next.35 */
4
+ import{c as f,g}from"./AQZZFULE.js";import{h as O,j as w,k as N,l as u,m,n as $,o as b,q as y,r as _,t as k}from"./BXIJ6Y23.js";var A=t=>(...s)=>{let o=m(),e=new t(...s),r=e.exports;u(o.at(-1));let n=e.component.manager;n.W(e,r),e.watchExports(n.W.bind(n,e)),$(e);let a=[e.component,...o].reverse();return y(a,i=>i===void 0?void 0:U(e,i,r),r)},U=(t,{host:s,key:o,isReactive:e},r)=>{let n=s,a=n[o]!==t.exports,i=n[o]!==r,c=r!==t.exports;if(a&&!i&&c&&(n[o]=t.exports),s===t.component){if(e){let l=t.component.manager;i&&l.W(t,n[o]),t.onUpdate(h=>{if(h.has(o)){let P=n[o];P!==t.exports&&l.W(t,P)}})}t.O=e?void 0:o}let d=t.component.constructor.elementProperties.get(o)?.readOnly;t.watchExports(()=>{n[o]!==t.exports&&(d?b(()=>{n[o]=t.exports}):n[o]=t.exports)})};var D="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),F=new Set(D),v="en",K={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},W=async(t,s,o="")=>{let e=`${s}/${o}`,r=`${e}${t}.json`;return E[r]??(E[r]=S(t,e)),await E[r]},E={},S=async(t,s)=>{let o=`${s}${t}.json`;try{let e=await fetch(o);if(e.ok)return await e.json()}catch(e){return console.error(e),{}}return t===v?{}:await S(v,s)},x=t=>{let s=g(t,"lang",globalThis.navigator?.language||v);return{lang:s,t9nLocale:V(s)}},V=t=>{let[s,o]=t.split("-"),e=s.toLowerCase(),r=e;return o&&(r=`${e}-${o.toUpperCase()}`),r=K[r]??r,F.has(r)?r:o?V(e):v},j=(t,s,o,e)=>{let r,n=()=>I(t,s(),e).then(a=>{(r?.lang!==a.lang||r.t9nLocale!==a.t9nLocale||r.t9nStrings!==a.t9nStrings)&&o(a),r=a}).catch(console.error);return queueMicrotask(n),f(t,["lang"],n)},I=async(t,s,o=t.localName.split("-").slice(1).join("-"))=>{let{lang:e,t9nLocale:r}=x(t),n=`${s}/${o}/t9n`,i=o===null?{}:await W(r,n,"messages.");return{lang:e,t9nLocale:r,t9nStrings:i}};var L=t=>z(void 0,t),mt=t=>s=>z(s,t),C=class extends k{constructor(s,o){super(s);let e=this.exports;try{w(this.component);let r=o(this.component,this),n=this.exports!==e;if(O(r)){n||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i),console.error(i)});this.onLoad(async()=>await a)}else(!n||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r),console.error(r)}}catchUpLifecycle(){}},z=A(C);var ft=t=>(...s)=>{let o=m(),e=new t(...s);return u(o.at(-1)),e},gt=t=>L((s,o)=>{let e=globalThis.matchMedia(t),r=()=>{o.exports=e.matches};r(),o.onLifecycle(()=>(e.addEventListener("change",r),()=>e.removeEventListener("change",r)))}),M="ltr",vt=()=>L((t,s)=>{s.exports=M,s.onLifecycle(()=>{let o=()=>{let e=g(t.el,"dir",M);s.exports=e==="rtl"?"rtl":"ltr"};return o(),f(t.el,["dir"],o)})}),bt=t=>(s={})=>L((o,e)=>{let r=x(o.el),n={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=o;e.onLifecycle(()=>j(o.el,()=>t("./assets"),({t9nLocale:c,t9nStrings:p,lang:d})=>{let l={...p,_lang:d,_t9nLocale:c,_loading:!1};e.exports=l;let h=p.componentLabel;typeof h=="string"&&"label"in o&&o.label==null&&(o.label??=h),i(a.messageOverrides)},s.name));let i=c=>{let p=e.exports,d=p._original??p,l=T(d,c);c&&(l._original=d),e.exports=l};return"messageOverrides"in a&&e.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),s.blocking?(e.setProvisionalExports(n,!1),e.ready):n}),T=(t,s)=>{if(!s)return t;let o={...t};return Object.entries(s).forEach(([e,r])=>{typeof r=="object"?o[e]=T(t[e],r):o[e]=r??t[e]}),o},yt=t=>q,R="arcgisPropertyChange",q=(...t)=>{let s=N(),o=_(R,void 0,s),e=!0;return s.manager.onUpdated(r=>{if(e||!s.el.isConnected){e=!1;return}for(let n of t)r.has(n)&&o.emit({name:n})}),o};export{A as a,mt as b,ft as c,gt as d,vt as e,bt as f,yt as g};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.34 */
4
- import{a as x}from"./3JAJ6TK2.js";import"./Z6NYKKLE.js";import{a as r}from"./OVP7QEYQ.js";import d from"./AFKNRDPK.js";import{a as v}from"./VJJIPCK3.js";import{a as l}from"./D3BPUBLP.js";import c from"./WGSI5K6Y.js";import a from"./A36DX5US.js";import{g as _}from"./LE7HEMA4.js";import"./YZCMETTU.js";import{b}from"./WLPAJJTY.js";import{J as f,K as n,L as u,M as p,P as w,a as m,b as o,s as h}from"./V5GMWCTF.js";import"./4M3DTWKL.js";export default $arcgis.t(([{when:M},B,,,y])=>{var R=m`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media (prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media (prefers-reduced-motion: reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--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{display:flex;width:var(--arcgis-internal-panel-width, 300px)}:host(:focus-within){z-index:1;outline-offset:var(--calcite-spacing-base);outline:var(--calcite-spacing-base) solid var(--calcite-color-brand)}.basemap-gallery{position:relative;overflow-y:auto;container-type:inline-size;width:100%;min-height:32px;transition:max-height .25s ease-in-out}.basemap-gallery .basemap-gallery__loader:before,.basemap-gallery .basemap-gallery__loader:after{opacity:1;content:"";height:var(--calcite-spacing-px);transition:opacity .5s ease-in-out;position:absolute;top:0}.basemap-gallery .basemap-gallery__loader:before{z-index:0;background-color:var(--calcite-color-foreground-1);width:100%}.basemap-gallery .basemap-gallery__loader:after{z-index:0;background-color:var(--calcite-color-foreground-3);width:20%;animation:1.5s linear infinite looping-progresss-bar-ani}.esri-disabled arcgis-basemap-gallery-item{opacity:var(--calcite-opacity-light);pointer-events:none;animation:none}.basemap-gallery__empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.basemap-gallery__loader{width:100%;height:var(--calcite-spacing-base);animation:.5s ease-in-out esri-fade-in;position:absolute;top:0;left:0;right:0}.basemap-gallery__item-container{flex-flow:column;gap:3px;margin:0;padding-block:3px;padding-inline:3px;list-style:none;transition:opacity .25s ease-in-out;display:flex;position:relative}calcite-popover>.basemap-gallery{width:280px;max-height:80vh}.ui-corner calcite-panel>.basemap-gallery.widget.widget--panel{width:unset}.view-width-greater-than-large calcite-popover>.basemap-gallery,.view-width-greater-than-large .ui-corner>.basemap-gallery{width:450px}@container (width<=200px) or (width>=350px){.basemap-gallery .basemap-gallery__item-container{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:var(--calcite-spacing-md) var(--calcite-spacing-lg);padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg);display:grid}}`,C=y(B),d={small:200,default:280,wide:435},g=class extends f{constructor(){super(...arguments),this.messages=v({}),this.viewModel=C(this),this._width=0,this.view=this.viewModel.view,this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.source=this.viewModel.source,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("activeBasemap","state"),this.arcgisReady=h()}static{this.properties={_width:16,view:0,activeBasemap:1,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,messageOverrides:0,position:1,referenceElement:1,source:0,state:3}}static{this.styles=R}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[M(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),(()=>{let i=new ResizeObserver(t=>{for(let a of t)this._width=a.contentRect.width}),e=this.el;return e&&i.observe(e),{remove(){i?.disconnect()}}})()])}_getRoundRobinIndex(i,e){return(i+e)%e}_handleKeyDown(i){let{key:e}=i;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(e))return;i.preventDefault();let{items:t,activeBasemapIndex:a}=this.viewModel,s=e==="ArrowUp"||e==="ArrowLeft"?this._getRoundRobinIndex(Math.max(a-1,-1),t.length):this._getRoundRobinIndex(a+1,t.length),c=t.at(s);c?.state==="ready"&&(this.viewModel.activeBasemap=c.basemap)}render(){let i=this.source.state==="loading",e=this.disabled||this.state==="disabled",t=this.viewModel.items,a={[r.sourceLoading]:i,[l.disabled]:e},s=this._width;a[r.layoutGrid]=s>=d.wide||s<=d.small,a[r.narrowItems]=s<d.default;let c=i?o`<div class=${n(r.loader)}></div>`:null,k=i?null:t.length>0?o`<div aria-disabled=${this.disabled??p} aria-label=${this.label??p} class=${n(r.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${t.map((z,$)=>o`<arcgis-basemap-gallery-item .disabled=${e} .item=${z} .itemIndex=${$} .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-basemap-gallery-item>`)}</div>`:o`<div class=${n(l.empty)}>${x({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return o`<div class=${n(b(r.base,l.widget,l.panel,a))} style=${u({"--esri-basemap-gallery-small":`${d.small}px`})}>${[c,k]}</div>`}};w("arcgis-basemap-gallery",g);return g},"core/reactiveUtils","widgets/BasemapGallery/BasemapGalleryViewModel",a,c,d)
3
+ v5.0.0-next.35 */
4
+ import{a as x}from"./762WAMRW.js";import"./O3VWHVBO.js";import{a as r}from"./PQHPJVPH.js";import d from"./HFMGDDYV.js";import{a as v}from"./B6JPREHA.js";import{a as l}from"./AEOUOJIC.js";import c from"./S4BI6GVO.js";import a from"./6LSEE7B7.js";import{g as _}from"./53GKDMR3.js";import"./J7CBRHF3.js";import{b}from"./AQZZFULE.js";import{J as f,K as n,L as u,M as p,P as w,a as m,b as o,s as h}from"./BXIJ6Y23.js";import"./JQRXUJSX.js";export default $arcgis.t(([{when:M},B,,,y])=>{var R=m`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media (prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media (prefers-reduced-motion: reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--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{display:flex;width:var(--arcgis-internal-panel-width, 300px)}:host(:focus-within){z-index:1;outline-offset:var(--calcite-spacing-base);outline:var(--calcite-spacing-base) solid var(--calcite-color-brand)}.basemap-gallery{position:relative;overflow-y:auto;container-type:inline-size;width:100%;min-height:32px;transition:max-height .25s ease-in-out}.basemap-gallery .basemap-gallery__loader:before,.basemap-gallery .basemap-gallery__loader:after{opacity:1;content:"";height:var(--calcite-spacing-px);transition:opacity .5s ease-in-out;position:absolute;top:0}.basemap-gallery .basemap-gallery__loader:before{z-index:0;background-color:var(--calcite-color-foreground-1);width:100%}.basemap-gallery .basemap-gallery__loader:after{z-index:0;background-color:var(--calcite-color-foreground-3);width:20%;animation:1.5s linear infinite looping-progresss-bar-ani}.esri-disabled arcgis-basemap-gallery-item{opacity:var(--calcite-opacity-light);pointer-events:none;animation:none}.basemap-gallery__empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.basemap-gallery__loader{width:100%;height:var(--calcite-spacing-base);animation:.5s ease-in-out esri-fade-in;position:absolute;top:0;left:0;right:0}.basemap-gallery__item-container{flex-flow:column;gap:3px;margin:0;padding-block:3px;padding-inline:3px;list-style:none;transition:opacity .25s ease-in-out;display:flex;position:relative}calcite-popover>.basemap-gallery{width:280px;max-height:80vh}.ui-corner calcite-panel>.basemap-gallery.widget.widget--panel{width:unset}.view-width-greater-than-large calcite-popover>.basemap-gallery,.view-width-greater-than-large .ui-corner>.basemap-gallery{width:450px}@container (width<=200px) or (width>=350px){.basemap-gallery .basemap-gallery__item-container{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:var(--calcite-spacing-md) var(--calcite-spacing-lg);padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg);display:grid}}`,C=y(B),d={small:200,default:280,wide:435},g=class extends f{constructor(){super(...arguments),this.messages=v({}),this.viewModel=C(this),this._width=0,this.view=this.viewModel.view,this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.source=this.viewModel.source,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("activeBasemap","state"),this.arcgisReady=h()}static{this.properties={_width:16,view:0,activeBasemap:1,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,messageOverrides:0,position:1,referenceElement:1,source:0,state:3}}static{this.styles=R}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[M(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),(()=>{let i=new ResizeObserver(t=>{for(let a of t)this._width=a.contentRect.width}),e=this.el;return e&&i.observe(e),{remove(){i?.disconnect()}}})()])}_getRoundRobinIndex(i,e){return(i+e)%e}_handleKeyDown(i){let{key:e}=i;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(e))return;i.preventDefault();let{items:t,activeBasemapIndex:a}=this.viewModel,s=e==="ArrowUp"||e==="ArrowLeft"?this._getRoundRobinIndex(Math.max(a-1,-1),t.length):this._getRoundRobinIndex(a+1,t.length),c=t.at(s);c?.state==="ready"&&(this.viewModel.activeBasemap=c.basemap)}render(){let i=this.source.state==="loading",e=this.disabled||this.state==="disabled",t=this.viewModel.items,a={[r.sourceLoading]:i,[l.disabled]:e},s=this._width;a[r.layoutGrid]=s>=d.wide||s<=d.small,a[r.narrowItems]=s<d.default;let c=i?o`<div class=${n(r.loader)}></div>`:null,k=i?null:t.length>0?o`<div aria-disabled=${this.disabled??p} aria-label=${this.label??p} class=${n(r.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${t.map((z,$)=>o`<arcgis-basemap-gallery-item .disabled=${e} .item=${z} .itemIndex=${$} .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-basemap-gallery-item>`)}</div>`:o`<div class=${n(l.empty)}>${x({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return o`<div class=${n(b(r.base,l.widget,l.panel,a))} style=${u({"--esri-basemap-gallery-small":`${d.small}px`})}>${[c,k]}</div>`}};w("arcgis-basemap-gallery",g);return g},"core/reactiveUtils","widgets/BasemapGallery/BasemapGalleryViewModel",a,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.34 */
4
- import"./4M3DTWKL.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u66A6",_era_bc:"\u7D00\u5143\u524D",A:"\u5348\u524D",P:"\u5348\u5F8C",AM:"\u5348\u524D",PM:"\u5348\u5F8C","A.M.":"\u5348\u524D","P.M.":"\u5348\u5F8C",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u65E5\u66DC\u65E5",Monday:"\u6708\u66DC\u65E5",Tuesday:"\u706B\u66DC\u65E5",Wednesday:"\u6C34\u66DC\u65E5",Thursday:"\u6728\u66DC\u65E5",Friday:"\u91D1\u66DC\u65E5",Saturday:"\u571F\u66DC\u65E5",Sun:"\u65E5",Mon:"\u6708",Tue:"\u706B",Wed:"\u6C34",Thu:"\u6728",Fri:"\u91D1",Sat:"\u571F",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u30BA\u30FC\u30E0",Play:"\u518D\u751F",Stop:"\u505C\u6B62",Legend:"\u51E1\u4F8B","Press ENTER to toggle":"",Loading:"\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059",Home:"\u30DB\u30FC\u30E0",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u5370\u5237",Image:"\u30A4\u30E1\u30FC\u30B8",Data:"\u30C7\u30FC\u30BF",Print:"\u5370\u5237","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u59CB\u70B9 %1 \u7D42\u70B9 %2","From %1":"\u59CB\u70B9 %1","To %1":"\u7D42\u70B9 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.35 */
4
+ import"./JQRXUJSX.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u66A6",_era_bc:"\u7D00\u5143\u524D",A:"\u5348\u524D",P:"\u5348\u5F8C",AM:"\u5348\u524D",PM:"\u5348\u5F8C","A.M.":"\u5348\u524D","P.M.":"\u5348\u5F8C",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u65E5\u66DC\u65E5",Monday:"\u6708\u66DC\u65E5",Tuesday:"\u706B\u66DC\u65E5",Wednesday:"\u6C34\u66DC\u65E5",Thursday:"\u6728\u66DC\u65E5",Friday:"\u91D1\u66DC\u65E5",Saturday:"\u571F\u66DC\u65E5",Sun:"\u65E5",Mon:"\u6708",Tue:"\u706B",Wed:"\u6C34",Thu:"\u6728",Fri:"\u91D1",Sat:"\u571F",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u30BA\u30FC\u30E0",Play:"\u518D\u751F",Stop:"\u505C\u6B62",Legend:"\u51E1\u4F8B","Press ENTER to toggle":"",Loading:"\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059",Home:"\u30DB\u30FC\u30E0",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u5370\u5237",Image:"\u30A4\u30E1\u30FC\u30B8",Data:"\u30C7\u30FC\u30BF",Print:"\u5370\u5237","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u59CB\u70B9 %1 \u7D42\u70B9 %2","From %1":"\u59CB\u70B9 %1","To %1":"\u7D42\u70B9 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.34 */
4
- import{a as f}from"./BSWGIMHR.js";import a from"./O5D76G3J.js";import{a as M}from"./SFGFOD6A.js";import{b as E}from"./WLPAJJTY.js";import{H as Q,I as j,J as k,K as h,N as R,P as B,a as D,b as o}from"./V5GMWCTF.js";import"./4M3DTWKL.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.35 */
4
+ import{a as f}from"./75CBICXV.js";import a from"./S5UW7FUT.js";import{a as M}from"./3TO5FKAG.js";import{b as E}from"./AQZZFULE.js";import{H as Q,I as j,J as k,K as h,N as R,P as B,a as D,b as o}from"./BXIJ6Y23.js";import"./JQRXUJSX.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.34 */
4
- import{a as h}from"./SFGFOD6A.js";import{H as r,I as c,J as u,K as l,P as d,b as a}from"./V5GMWCTF.js";export default $arcgis.t(([{createReactiveMap:v},{watch:m},{substitute:F}])=>{var o=class extends u{constructor(){super(...arguments),this._associationFeaturesIntersectionObserver=new IntersectionObserver(([t])=>{t?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._associationFeaturesIntersectionObserverNode=r(),this._currentFeaturePage=1,this._increaseFeaturePage=()=>{let{state:t,showAllEnabled:e,associatedFeatureCount:i,featuresPerPage:s,currentFeaturePage:n}=this;t==="ready"&&e&&i>=s*n&&this.currentFeaturePage++},this._isFeatureCountNoticeOpen=!0,this.associationViewModels=new Map,this.featuresPerPage=50,this.maxFeatureCount=1e3,this.showAllEnabled=!1,this.state="ready",this.tooltipReferenceMap=v()}static{this.properties={associatedFeatureCount:32,associationViewModels:0,currentFeaturePage:9,featuresPerPage:9,maxFeatureCount:9,messages:0,parentFeatureViewModel:0,selectedLayer:0,showAllEnabled:5,state:1,tooltipReferenceMap:0}}get associatedFeatureCount(){let t=this.associationViewModels,e=this.selectedLayer?t.get(this.selectedLayer):null;return e?e.length:0}get currentFeaturePage(){return this._currentFeaturePage}set currentFeaturePage(t){let{featuresPerPage:e,associatedFeatureCount:i}=this,s=Math.ceil(i/e)||1,n=Math.max(Math.min(t,s),1);this._currentFeaturePage=n}loaded(){this.manager.onLifecycle(()=>[m(()=>[this.state,this.showAllEnabled,this._associationFeaturesIntersectionObserverNode],()=>{this._handleAssociationFeaturesObserverChange()},{initial:!0})])}getConnectivityTooltip(t){let{messages:e}=this;if(!e)return"";switch(t){case"connectivity":case"junction-junction-connectivity":return e.associationsJunctionJunction;case"junction-edge-from-connectivity":return e.associationsJunctionEdgeFrom;case"junction-edge-midspan-connectivity":return e.associationsJunctionEdgeMidspan;case"junction-edge-to-connectivity":return e.associationsJunctionEdgeTo;default:return""}}_handleAssociationFeaturesObserverChange(){this._unobserveAssociationFeaturesObserver();let{state:t,showAllEnabled:e}=this;this._associationFeaturesIntersectionObserverNode.value&&t==="ready"&&e&&this._associationFeaturesIntersectionObserver.observe(this._associationFeaturesIntersectionObserverNode.value)}_unobserveAssociationFeaturesObserver(){this._associationFeaturesIntersectionObserverNode.value&&this._associationFeaturesIntersectionObserver.unobserve(this._associationFeaturesIntersectionObserverNode.value)}_renderConnectivityIcon(t,e){let{tooltipReferenceMap:i}=this,s;switch(t){case"junction-edge-from-connectivity":s="connection-end-left";break;case"junction-edge-to-connectivity":s="connection-end-right";break;case"junction-edge-midspan-connectivity":s="connection-middle";break;case"connectivity":case"junction-junction-connectivity":default:s="connection-to-connection"}return a`<calcite-icon .icon=${s} @pointerover=${n=>{i.set(e,n.target)}} scale=s slot=content-start></calcite-icon>`}_renderFeatureCountWarning(){let{associatedFeatureCount:t,maxFeatureCount:e,messages:i}=this,s=F(i?.associationsLimitNoticeMessage??"",{number:e}),n=t>e,g=i?.associationsLimitNoticeTitle??"";return n?a`<calcite-notice class=${l(this._isFeatureCountNoticeOpen?"notice-container":"")} closable icon=information kind=info open scale=s width=full @calciteNoticeBeforeOpen=${()=>this._isFeatureCountNoticeOpen=!0} @calciteNoticeClose=${()=>this._isFeatureCountNoticeOpen=!1}><div slot=title>${g}</div><div slot=message>${s}</div></calcite-notice>`:null}_renderFeatureObserver(){return a`<div class="feature-observer" ${c(this._associationFeaturesIntersectionObserverNode)}></div>`}_renderLoading(){return h("loading-container",a`<div class="loading-container">${this._renderLoadingIcon()}</div>`)}_renderLoadingIcon(){let t=this.messages?.loading??"";return a`<calcite-loader inline .label=${t}></calcite-loader>`}};d("arcgis-utility-network-association-list",o);return o},"applications/Components/featureUtils","core/reactiveUtils","intl")
3
+ v5.0.0-next.35 */
4
+ import{a as h}from"./3TO5FKAG.js";import{H as r,I as c,J as u,K as l,P as d,b as a}from"./BXIJ6Y23.js";export default $arcgis.t(([{createReactiveMap:v},{watch:m},{substitute:F}])=>{var o=class extends u{constructor(){super(...arguments),this._associationFeaturesIntersectionObserver=new IntersectionObserver(([t])=>{t?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._associationFeaturesIntersectionObserverNode=r(),this._currentFeaturePage=1,this._increaseFeaturePage=()=>{let{state:t,showAllEnabled:e,associatedFeatureCount:i,featuresPerPage:s,currentFeaturePage:n}=this;t==="ready"&&e&&i>=s*n&&this.currentFeaturePage++},this._isFeatureCountNoticeOpen=!0,this.associationViewModels=new Map,this.featuresPerPage=50,this.maxFeatureCount=1e3,this.showAllEnabled=!1,this.state="ready",this.tooltipReferenceMap=v()}static{this.properties={associatedFeatureCount:32,associationViewModels:0,currentFeaturePage:9,featuresPerPage:9,maxFeatureCount:9,messages:0,parentFeatureViewModel:0,selectedLayer:0,showAllEnabled:5,state:1,tooltipReferenceMap:0}}get associatedFeatureCount(){let t=this.associationViewModels,e=this.selectedLayer?t.get(this.selectedLayer):null;return e?e.length:0}get currentFeaturePage(){return this._currentFeaturePage}set currentFeaturePage(t){let{featuresPerPage:e,associatedFeatureCount:i}=this,s=Math.ceil(i/e)||1,n=Math.max(Math.min(t,s),1);this._currentFeaturePage=n}loaded(){this.manager.onLifecycle(()=>[m(()=>[this.state,this.showAllEnabled,this._associationFeaturesIntersectionObserverNode],()=>{this._handleAssociationFeaturesObserverChange()},{initial:!0})])}getConnectivityTooltip(t){let{messages:e}=this;if(!e)return"";switch(t){case"connectivity":case"junction-junction-connectivity":return e.associationsJunctionJunction;case"junction-edge-from-connectivity":return e.associationsJunctionEdgeFrom;case"junction-edge-midspan-connectivity":return e.associationsJunctionEdgeMidspan;case"junction-edge-to-connectivity":return e.associationsJunctionEdgeTo;default:return""}}_handleAssociationFeaturesObserverChange(){this._unobserveAssociationFeaturesObserver();let{state:t,showAllEnabled:e}=this;this._associationFeaturesIntersectionObserverNode.value&&t==="ready"&&e&&this._associationFeaturesIntersectionObserver.observe(this._associationFeaturesIntersectionObserverNode.value)}_unobserveAssociationFeaturesObserver(){this._associationFeaturesIntersectionObserverNode.value&&this._associationFeaturesIntersectionObserver.unobserve(this._associationFeaturesIntersectionObserverNode.value)}_renderConnectivityIcon(t,e){let{tooltipReferenceMap:i}=this,s;switch(t){case"junction-edge-from-connectivity":s="connection-end-left";break;case"junction-edge-to-connectivity":s="connection-end-right";break;case"junction-edge-midspan-connectivity":s="connection-middle";break;case"connectivity":case"junction-junction-connectivity":default:s="connection-to-connection"}return a`<calcite-icon .icon=${s} @pointerover=${n=>{i.set(e,n.target)}} scale=s slot=content-start></calcite-icon>`}_renderFeatureCountWarning(){let{associatedFeatureCount:t,maxFeatureCount:e,messages:i}=this,s=F(i?.associationsLimitNoticeMessage??"",{number:e}),n=t>e,g=i?.associationsLimitNoticeTitle??"";return n?a`<calcite-notice class=${l(this._isFeatureCountNoticeOpen?"notice-container":"")} closable icon=information kind=info open scale=s width=full @calciteNoticeBeforeOpen=${()=>this._isFeatureCountNoticeOpen=!0} @calciteNoticeClose=${()=>this._isFeatureCountNoticeOpen=!1}><div slot=title>${g}</div><div slot=message>${s}</div></calcite-notice>`:null}_renderFeatureObserver(){return a`<div class="feature-observer" ${c(this._associationFeaturesIntersectionObserverNode)}></div>`}_renderLoading(){return h("loading-container",a`<div class="loading-container">${this._renderLoadingIcon()}</div>`)}_renderLoadingIcon(){let t=this.messages?.loading??"";return a`<calcite-loader inline .label=${t}></calcite-loader>`}};d("arcgis-utility-network-association-list",o);return o},"applications/Components/featureUtils","core/reactiveUtils","intl")
@@ -1,7 +1,7 @@
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.34 */
4
- import{a as U}from"./3457Z5KN.js";import b from"./GOCEFJL7.js";import"./RQCKJKGC.js";import{a as ge}from"./3JAJ6TK2.js";import"./Z6NYKKLE.js";import{a as oe}from"./VJJIPCK3.js";import{a as K}from"./D3BPUBLP.js";import a from"./A36DX5US.js";import"./LE7HEMA4.js";import"./YZCMETTU.js";import"./WLPAJJTY.js";import{H as F,I as G,J as se,K as ne,L as Y,M as $,P as ae,a as re,b as h,s as B}from"./V5GMWCTF.js";import"./4M3DTWKL.js";export default $arcgis.t(([Pe,ze,I,{formatDate:W},{createTrackingTarget:Oe,runTracked:ue,signal:Ue},{watch:pe,whenOnce:Me},{a:le},{e:ce,f:de,g:he}])=>{var Ee=re`.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}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:350px}.wrapper{display:flex;flex-direction:column;overflow:hidden;gap:var(--calcite-spacing-md);justify-content:space-between;padding:var(--esri-widget-padding);position:relative;calcite-label{--calcite-label-margin-bottom: 0}&.loading>*:not(calcite-scrim){opacity:0}}.unsupported{padding:0 var(--calcite-spacing-lg);animation:esri-fade-in .25s ease-in-out}.slider{padding-block-end:var(--label-wrap-padding, 0)}.time-configuration{--date-play-button-offset: 11px;--slider-play-button-offset: 8px;display:grid;gap:var(--calcite-spacing-md);grid-template-columns:1fr min-content;.slider-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--slider-play-button-offset))}}.timezone-input-container{grid-column:1;min-width:0;+span{grid-column:2}}.date-picker-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--date-play-button-offset))}}calcite-button{place-self:center}}`;Intl.DateTimeFormat().resolvedOptions().timeZone;var me={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8};function N(i,e,t){return i===0?0:i*me[e]/me[t]}function M(i){return i instanceof Date&&!Number.isNaN(i.getTime())}function P(i,e,t="hours"){let r=new Date(i.getTime()),s=N(e,t,"milliseconds");return r.setTime(r.getTime()+s),r}function T(i,e){let t=N(e,"hours","milliseconds"),r=new Date(i.getTime()+t),s=r.toISOString().slice(0,10),n=r.getUTCHours()*60+r.getUTCMinutes();return{localDate:s,minutesSinceMidnight:n}}var j=Math.PI,u=Math.sin,k=Math.cos,Ae=Math.asin,Le=Math.acos,w=j/180,Se=1e3*60*60*24,De=2440588,Te=2451545;function Ne(i){return i.valueOf()/Se-.5+De}function E(i){return new Date((i+.5-De)*Se)}function He(i){return Ne(i)-Te}var _e=w*23.4397;function Ie(i,e){return Ae(u(e)*k(_e)+k(e)*u(_e)*u(i))}function je(i){return w*(357.5291+.98560028*i)}function Re(i){return w*(1.9148*u(i)+.02*u(2*i)+3e-4*u(3*i))}function Ze(i,e){var t=w*102.9372;return i+e+t+j}var D={};D.PolarException={NORMAL:0,MIDNIGHT_SUN:1,POLAR_NIGHT:2};var q=[[-.83,"sunrise","sunset"]],ke=9e-4;function Be(i,e){return Math.round(i-ke-e/(2*j))}function fe(i,e,t){return ke+(i+e)/(2*j)+t}function be(i,e,t){return Te+i+.0053*u(e)-.0069*u(2*t)}function Fe(i,e,t){return Le((u(i)-u(e)*u(t))/(k(e)*k(t)))}D.getTimes=function(i,e,t){var r=w*-t,s=w*e,n=He(i),a=Be(n,r),l=fe(0,r,a),o=je(l),d=Re(o),c=Ze(o,d),g=Ie(c,0),p=be(l,o,c);function x(Z){var O=Fe(Z,s,g),Ce=fe(O,r,a);return be(Ce,o,c)}function y(Z){var O=(u(Z)-u(s)*u(g))/(k(s)*k(g));return O<-1?D.PolarException.MIDNIGHT_SUN:O>1?D.PolarException.POLAR_NIGHT:D.PolarException.NORMAL}var f={solarNoon:E(p),nadir:E(p-.5),polarException:D.PolarException.NORMAL},v,_,z,R,te;for(v=0,_=q.length;v<_;v+=1)z=q[v],R=x(z[0]*w),te=p-(R-p),f[z[1]]=E(te),f[z[2]]=E(R);return f.polarException=y(q[0][0]*w),f};var Ge={spring:{dayOfMonth:20,month:2},summer:{dayOfMonth:21,month:5},fall:{dayOfMonth:23,month:8},winter:{dayOfMonth:21,month:11}},J=["spring","summer","fall","winter"];function C(i,e,t){let r=ee(e,t),{dayOfMonth:s,month:n}=Ge[r],a=new Date(i.getTime());return a.setMonth(n,s),a}function Ye(i,e){let t=Ke(i);return ee(t,e)}function Ke(i){let e=i.getTime(),t=C(i,"spring","northern").getTime(),r=C(i,"summer","northern").getTime(),s=C(i,"fall","northern").getTime(),n=C(i,"winter","northern").getTime();return e>=t&&e<r?"spring":e>=r&&e<s?"summer":e>=s&&e<n?"fall":"winter"}function ee(i,e){return e==="northern"?i:qe(i)}function ve(i){return i>=0?"northern":"southern"}function qe(i){let e=J.indexOf(i);return J[(e+2)%4]}var H=1440,Ve=864e5;function We(i,e,t,r){let s=D.getTimes(i,e,t),n=s.sunrise,a=s.sunset,l=P(i,r),o=P(n,r),d=P(a,r);if(l.getUTCDate()!==o.getUTCDate()||l.getUTCDate()!==d.getUTCDate()){let c=l.getTime()-o.getTime()>0?1:-1;n.setUTCDate(n.getUTCDate()+c),a.setUTCDate(a.getUTCDate()+c)}return{sunrise:n,sunset:a}}function m(i){return i?.type==="sun"}function ie(i,e){return(i%e+e)%e}var $e={hour:"numeric",minute:"numeric",timeZone:"UTC"},Je={hour:"numeric",timeZone:"UTC"};function Qe(i){let e=Math.round(N(i,"minutes","hours"));return new Date(N(e,"hours","milliseconds"))}function Xe(i){return new Date(i*6e4)}function ei(i){let e=Qe(i),t=W(e,$e);if(t.includes(" ")){t=W(e,Je),t=t.replace(":00","");let r="\u2060";t=t.split(" ").map(s=>Array.from(s).join(r)).join(" ")}return t}function ii(i){let e=Xe(i),t=W(e,$e);return i!==0&&t==="00:00"&&(t="24:00"),t}var ti=(i,e)=>{switch(e){case"tick":return ei(i);case"max":case"min":case"value":return ii(i)}},ri=H-1,si=ri/4;function ni(i){return h`<calcite-slider class="slider" .disabled=${i.disabled} fill-placement=none label-ticks label-handles .labelFormatter=${ti} min=0 .max=${H-1} @calciteSliderInput=${e=>{let t=Array.isArray(e.target.value)?e.target.value[0]:e.target.value;t!=null&&i.onTimeChanged(t)}} .scale=${i.scale} .step=${i.steps} snap style=${Y({gridArea:"slider"})} .ticks=${si} .value=${ie(i.value??0,H)} ${G(i.ref)}></calcite-slider>`}function ai(i,e){return i/15}function li(i,e){let t=i?.[0];if(t==null)return null;e||(e={hours:0,minutes:0,seconds:0}),e.hours=ai(t);let r=e.hours%1;e.hours-=r,e.minutes=r*60;let s=e.minutes%1;return e.minutes-=s,e.seconds=Math.round(s*60),e}function oi(i){let e=li([i.longitude,i.latitude]);return e==null?0:Math.round(e.hours+e.minutes/60+e.seconds/3600)}var ci=100,di=1e3,b=12e5,A=72e5;function we(i,e){return ie(i+e,24)}function hi({mode:i,lighting:e,getPlaySpeed:t,onProgress:r,beforeProgress:s}){let n=-1;function a(l=Date.now()){let o=e.date,d=Date.now()-(l??0);if(i==="day"){l=Date.now();let c=t()/ci*d;if(c>0){let g=new Date(o.getTime()+c),p=e.displayUTCOffset??0,x=we(g.getUTCHours(),p),y=we(o.getUTCHours(),p);x<y&&(g=new Date(o.getTime()+c-Ve));let f=e.clone();s?.(),e.date=g,r?.(f,e)}}else if(d>di){l=Date.now();let c=(o.getUTCMonth()+1)%12,g=new Date(o.getTime());g.setUTCMonth(c);let p=e.clone();s?.(),e.date=g,r?.(p,e)}n=requestAnimationFrame(()=>a(l))}return a(),U(()=>cancelAnimationFrame(n))}var L=b/4;function gi(i,e,t,r){let{day:s,night:n=s,twilight:a=s}=r,l=s*L,o=n*L,d=a*L;if(i==null||e==null||Number.isNaN(i.getTime())&&Number.isNaN(e.getTime()))return l;let c=t.getTime(),g=i.getTime(),p=e.getTime(),x=g-A/2,y=g+A/2,f=p-A/3*2,v=p+A/3,_=l;return c>=x&&c<=y?c-x<=b?_=o-(c-x)/b*(o-d):y-c<=b/2?_=l-(y-c)/b*2*(l-d):_=d:c>=f&&c<=v?c-f<=b/2?_=l-(c-f)/b*2*(l-d):v-c<=b?_=o-(v-c)/b*(o-d):_=d:(c<g||c>p)&&(_=o),_}function S(i){return i.hidden?null:i.children}function xe(i){let{children:e,hideHeader:t,headingLevel:r=2,label:s,title:n}=i;return h`<div aria-label=${s??$} class=${ne({...typeof i.class=="string"?{[i.class]:!0}:i.class,[K.widget]:!0,[K.panel]:!0})} role=presentation>${S({hidden:t||!n,children:ge({level:r,children:n})})}${e}</div>`}var Q=class{#i;#r;#s=Oe(()=>{this.#t()});constructor(e){this.#r=e;let t;ue(this.#s,()=>{t=e()}),this.#i=Ue(t)}#t(){let e=this.#i.value;ue(this.#s,()=>{this.#i.value=this.#r(e)})}mutate(e){this.#i.value=e}get value(){return this.#i.value}};function V(i){return new Q(i)}var ui={day:1,night:6,twilight:2/3},X=class extends se{constructor(){super(...arguments),this.messages=oe({blocking:!0}),this.#r="none",this.#s=null,this.#l=F(),this.#n=F(),this.#d=200,this.#h=200,this.#e={},this._offset=V(e=>m(this._lighting)?this._lighting.displayUTCOffset??e:e),this._timesliderPosition=V(e=>{if(m(this._lighting)){let t=this._lighting.displayUTCOffset??0,r=this._lighting.date;if(M(r)){let{minutesSinceMidnight:s}=T(r,t);return s}else return e}return e}),this._localDate=V(e=>{if(m(this._lighting)){let t=this._lighting.displayUTCOffset??0,r=this._lighting.date;if(M(r)){let{localDate:s}=T(r,t);return s}else return e}return e}),this.view=le(this),this.autoDestroyDisabled=!1,this.dateOrSeason="date",this.headingLevel=2,this.hideDatePicker=!1,this.hideHeader=!1,this.hidePlayButtons=!1,this.hideShadowsToggle=!1,this.hideSunLightingToggle=!1,this.hideTimezone=!1,this.icon="brightness",this.playSpeedMultiplier=1,this.timeSliderSteps=5,this.arcgisReady=B(),this.arcgisUserDateTimeChange=B(),this.#c=!1}static{this.properties={view:0,_playingState:16,_sunlightingDisabled:16,autoDestroyDisabled:5,currentSeason:1,dateOrSeason:3,dayPlaying:5,_directShadowsDisabled:16,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:3,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,utcOffset:9,timeSliderPosition:9,localDate:1,yearPlaying:5}}static{this.styles=Ee}get _view(){return this.view?.type==="3d"?this.view:void 0}#i;#r;#s;#t;#l;#n;#d;#h;#o(){if(this.#t)return;let e=de(()=>{if(this.#t?.remove(),m(this._lighting)){let t=this.utcOffset??0,r=this.timeSliderPosition??0,s=this.localDate,n=r-t*60,a=P(s,n,"minutes");this._lighting.date=a,this._lighting.displayUTCOffset=t}},{timeout:this.#d});this.#t=U(()=>{he(e),this.#t=void 0})}#u({scale:e,disabled:t}){let{messages:r}=this;return h`<calcite-label .scale=${e} class="date-picker-container">${r.date}${pi({disabled:t,scale:e,date:this.localDateAsString,onDateChange:s=>{let n=s.currentTarget.value,a=Array.isArray(n)?n[0]:n;this._stopPlaying(),this.localDate=a,this._emitUserDateTimeChangeEvent()}})}</calcite-label>${S({hidden:this.hidePlayButtons,children:ye({playing:this.yearPlaying,disabled:t,label:r.playYear,onClick:()=>{this._playingState==="year"?this._playingState="none":this._playingState="year"},scale:e})})}`}#p({scale:e,disabled:t}){let{messages:r}=this;return h`<calcite-label .scale=${e} class="date-picker-container">${r.season}${mi({scale:e,selectedSeason:this.currentSeason,disabled:t,messages:r,onSeasonChange:s=>{this._stopPlaying(),this.currentSeason=s.currentTarget.value}})}</calcite-label>`}#e;get#g(){return Array.isArray(this.#n?.value?.value)?this.#n?.value?.value[0]:this.#n?.value?.value}get localDateAsString(){return this._localDate.value??""}get _playingState(){return this.#r}set _playingState(e){this.#r=e,this.#a?.remove(),e==="none"?this.#i?.remove():(this._play(e),this._emitUserDateTimeChangeEvent())}get _lighting(){return this._view?.environment?.lighting}get _sunlightingDisabled(){return!m(this._lighting)}set _sunlightingDisabled(e){this.#e.sunlightingDisabled=e;let t=this._view?.environment;if(t==null)return;let r=t.lighting,s=this.#s;this.#s=r;let n={directShadowsEnabled:r.directShadowsEnabled};m(r)&&(n.cameraTrackingEnabled=r.cameraTrackingEnabled);let a=e?"virtual":"sun",l;s!=null&&s.type===a?l=s:l=e?new ze:new Pe,l.set(n),t.lighting=l,e||(this._stopPlaying(),this.#l.value&&(this.#l.value.open=!1))}get currentSeason(){let e=this._view?.camera?.position?.latitude??0,t=ve(e);return Ye(this.localDate,t)}set currentSeason(e){this._stopPlaying();let t=this._view?.camera?.position?.latitude??0,r=ve(t),s=ee(e,r);this.localDate=C(this.localDate,s,"northern"),this._emitUserDateTimeChangeEvent()}get dayPlaying(){return this._playingState==="day"}set dayPlaying(e){this._playingState=e?"day":"none"}get _directShadowsDisabled(){return!this._lighting?.directShadowsEnabled}set _directShadowsDisabled(e){this.#e.directShadowsDisabled=e,this._lighting&&(this._lighting.directShadowsEnabled=!e)}get utcOffset(){return this._offset.value}set utcOffset(e){this._offset.mutate(e),this.#o()}get timeSliderPosition(){return this._timesliderPosition.value}set timeSliderPosition(e){this._timesliderPosition.mutate(ie(e??0,H)),this.#o()}get localDate(){return this._localDate.value!=null?new Date(this._localDate.value):new Date}set localDate(e){let t=new Date(e);if(M(t)){t.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate());let r=t.toISOString().slice(0,10);this._localDate.mutate(r),this.#o()}}get yearPlaying(){return this._playingState==="year"}set yearPlaying(e){this._playingState=e?"year":"none"}async destroy(){await this.manager.destroy()}async load(){this.#e.utcOffset=this.utcOffset,this.#e.timeSliderPosition=this.timeSliderPosition,this.#e.localDate=this.localDateAsString,this.manager.onLifecycle(()=>[pe(()=>{let e=null;if(m(this._lighting)){let t=this._lighting.displayUTCOffset??0,r=this._lighting.date;if(M(r)){let{minutesSinceMidnight:s}=T(r,t);e=s}}return e},e=>{let t=this.#g;e!=null&&t!==e&&this._emitUserDateTimeChangeEvent()},{sync:!0}),pe(()=>{let e=this._view?.camera?.position;return e?oi(e):void 0},e=>{let t=this._lighting;m(t)&&t.cameraTrackingEnabled&&(t.displayUTCOffset=e)},{sync:!0,initial:!0}),I.onLocaleChange(()=>{this.requestUpdate()})]),this.manager.onDisconnected(()=>{this.#i?.remove(),this.#t?.remove(),this.#a?.remove()})}willUpdate(e){if(super.willUpdate(e),!!this.#c&&m(this._lighting)&&e.has("utcOffset")){let t=this.utcOffset??0,r=this._lighting.displayUTCOffset??0,s=this.timeSliderPosition??0,n=this.localDate,a=s-r*60,l=P(n,a,"minutes"),{minutesSinceMidnight:o,localDate:d}=T(l,t);this._timesliderPosition.mutate(o),this._localDate.mutate(d)}}updated(e){super.updated(e),this._adjustTimeSliderLabels()}#c;async loaded(){let e=new AbortController;this.manager.onDisconnected(()=>({remove:()=>{e.abort()}})),await ce(Me(()=>this._view?.ready,{signal:e.signal}).then(()=>{this.utcOffset=this.#e.utcOffset??this.utcOffset,this.timeSliderPosition=this.#e.timeSliderPosition??this.timeSliderPosition,this.localDate=this.#e.localDate??this.localDate,this.#e.directShadowsDisabled!=null&&(this._directShadowsDisabled=this.#e.directShadowsDisabled),this.#e.sunlightingDisabled!=null&&(this._sunlightingDisabled=this.#e.sunlightingDisabled),this.#e={}})),this.#c=!0}_adjustTimeSliderLabels(){let e=this.#n.value;e&&bi(e,I.getLocale())}_emitUserDateTimeChangeEvent(){this.isConnected&&this.arcgisUserDateTimeChange.emit()}_stopPlaying(){this._playingState="none"}#a;#m(e){if(this.#a)return;let t=setTimeout(()=>{let r=e.displayUTCOffset??0,s=e.date,{minutesSinceMidnight:n}=T(s,r);this._timesliderPosition.mutate(n),this.#a?.remove()},this.#h);this.#a=U(()=>{clearTimeout(t),this.#a=void 0;let r=this._lighting;if(m(r)){let s=r.displayUTCOffset??0,n=r.date,{minutesSinceMidnight:a}=T(n,s);this._timesliderPosition.mutate(a)}})}_play(e){this.#i?.remove();let t=this._view;if(t==null||this._sunlightingDisabled)return;let r=t.environment.lighting;if(!m(r))return;let s=0;this.#i=hi({mode:e,lighting:r,beforeProgress:()=>{s=this.#g??0},onProgress:(n,a)=>{this._timesliderPosition.mutate(s),this.#m(a)},getPlaySpeed:()=>{let n=this._view,a=this._view?.environment.lighting;if(n!=null&&m(a)){let l=n.camera.position.latitude??0,o=n.camera.position.longitude??0,{sunrise:d,sunset:c}=We(a.date,l,o,a.displayUTCOffset??0);return gi(d,c,a.date,ui)*this.playSpeedMultiplier}else return L*this.playSpeedMultiplier}})}render(){let{messages:e,dateOrSeason:t}=this,r=this._sunlightingDisabled,s="m";if(this._view?.type!=="3d")return xe({class:"wrapper",label:e.componentLabel,title:e.title,hideHeader:this.hideHeader,headingLevel:this.headingLevel,children:h`<div class="unsupported"><p>${e.unsupported}</p></div>`});let n=(this.utcOffset??0)*60,a=this.view?.ready===!0,l=Array.isArray(this.timeSliderSteps)?this.timeSliderSteps.at(0):this.timeSliderSteps;return xe({class:{wrapper:!0,loading:!a},label:e.componentLabel,title:e.title,hideHeader:this.hideHeader,headingLevel:this.headingLevel,children:h`${a?void 0:h`<calcite-scrim loading></calcite-scrim>`}<div class="time-configuration" style=${Y({columnGap:this.hidePlayButtons?"0":void 0})}><calcite-label class="slider-container" .scale=${s}>${e.timeSliderLabel}${ni({ref:this.#n,disabled:this._sunlightingDisabled,scale:s,value:this.timeSliderPosition??0,steps:l,onTimeChanged:o=>{this._stopPlaying(),this._emitUserDateTimeChangeEvent(),this.timeSliderPosition=o}})}</calcite-label>${S({hidden:this.hidePlayButtons,children:ye({disabled:this._sunlightingDisabled,playing:this.dayPlaying,label:e.playDay,onClick:()=>{this._playingState==="day"?this._stopPlaying():this._playingState="day"},scale:s})})}${S({hidden:this.hideTimezone,children:h`<calcite-label .scale=${s} class="timezone-input-container">${e.timezone}<calcite-input-time-zone mode=offset overlay-positioning=fixed .scale=${s} .disabled=${this._sunlightingDisabled} .value=${`${n}`} .referenceDate=${this.localDateAsString} @calciteInputTimeZoneChange=${o=>{let d=+o.target.value;this.utcOffset=d/60,this._stopPlaying()}} ${G(this.#l)}></calcite-input-time-zone></calcite-label><span></span>`})}${S({hidden:this.hideDatePicker,children:t==="date"?this.#u({scale:s,disabled:r}):this.#p({scale:s,disabled:r})})}</div>${S({hidden:this.hideSunLightingToggle,children:_i({scale:s,messages:e.sunLightingToggle,sunlightingEnabled:!this._sunlightingDisabled,onSunLightingToggle:o=>{this._sunlightingDisabled=!o}})})}${S({hidden:this.hideShadowsToggle,children:fi({scale:s,messages:e.shadowsToggle,onShadowCheckboxChange:o=>{this._directShadowsDisabled=!o},shadowEnabled:!this._directShadowsDisabled})})}`})}};function ye({disabled:i,playing:e,onClick:t,label:r,scale:s="m"}){return h`<calcite-button appearance=solid .scale=${s} .disabled=${i} .iconStart=${e?"pause-f":"play-f"} .label=${r} @click=${t} round title=${r??$} type=button></calcite-button>`}function pi({disabled:i,date:e,onDateChange:t,scale:r}){return h`<calcite-input-date-picker data-testid=daylight-date-picker .disabled=${i} overlay-positioning=fixed placement=bottom .value=${e} .scale=${r} @calciteInputDatePickerChange=${t}></calcite-input-date-picker>`}function mi({messages:i,disabled:e,scale:t,selectedSeason:r,onSeasonChange:s}){return h`<calcite-select .disabled=${e} .label=${i.season} .scale=${t} .value=${r} @calciteSelectChange=${n=>{s(n)}}>${J.map(n=>h`<calcite-option .selected=${r===n} .value=${n}>${i[n]}</calcite-option>`)}</calcite-select>`}function _i({messages:i,sunlightingEnabled:e,onSunLightingToggle:t,scale:r}){return h`<calcite-label layout=inline .scale=${r} title=${i?.tooltip??$}><calcite-checkbox .scale=${r} .checked=${e} @calciteCheckboxChange=${s=>t(s.target.checked)}></calcite-checkbox>${i?.label}</calcite-label>`}function fi({messages:i,shadowEnabled:e,onShadowCheckboxChange:t,scale:r}){return h`<calcite-label layout=inline .scale=${r} title=${i?.tooltip??$}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${s=>t(s.target.checked)}></calcite-checkbox>${i.label}</calcite-label>`}function bi(i,e){let t=wi(e),r=t?.language??"",s=t?.region??"",n=["ar","bg","el","en","ko"].includes(r)||r==="zh"&&["HK","TW"].includes(s);if(i.style.setProperty("--label-wrap-padding",n?"5px":"0"),i.style.setProperty("--label-wrapping",n?"normal":"nowrap"),!i.hasAttribute("data-slider-label-stylesheet-attatched")&&i.shadowRoot){let a=i.shadowRoot.adoptedStyleSheets,l=new CSSStyleSheet;l.replaceSync(`
3
+ v5.0.0-next.35 */
4
+ import{a as U}from"./LTHBGX26.js";import b from"./4ZCQWMLP.js";import"./RY5TWSDX.js";import{a as ge}from"./762WAMRW.js";import"./O3VWHVBO.js";import{a as oe}from"./B6JPREHA.js";import{a as K}from"./AEOUOJIC.js";import a from"./6LSEE7B7.js";import"./53GKDMR3.js";import"./J7CBRHF3.js";import"./AQZZFULE.js";import{H as F,I as G,J as se,K as ne,L as Y,M as $,P as ae,a as re,b as h,s as B}from"./BXIJ6Y23.js";import"./JQRXUJSX.js";export default $arcgis.t(([Pe,ze,I,{formatDate:W},{createTrackingTarget:Oe,runTracked:ue,signal:Ue},{watch:pe,whenOnce:Me},{a:le},{e:ce,f:de,g:he}])=>{var Ee=re`.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}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:350px}.wrapper{display:flex;flex-direction:column;overflow:hidden;gap:var(--calcite-spacing-md);justify-content:space-between;padding:var(--esri-widget-padding);position:relative;calcite-label{--calcite-label-margin-bottom: 0}&.loading>*:not(calcite-scrim){opacity:0}}.unsupported{padding:0 var(--calcite-spacing-lg);animation:esri-fade-in .25s ease-in-out}.slider{padding-block-end:var(--label-wrap-padding, 0)}.time-configuration{--date-play-button-offset: 11px;--slider-play-button-offset: 8px;display:grid;gap:var(--calcite-spacing-md);grid-template-columns:1fr min-content;.slider-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--slider-play-button-offset))}}.timezone-input-container{grid-column:1;min-width:0;+span{grid-column:2}}.date-picker-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--date-play-button-offset))}}calcite-button{place-self:center}}`;Intl.DateTimeFormat().resolvedOptions().timeZone;var me={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8};function N(i,e,t){return i===0?0:i*me[e]/me[t]}function M(i){return i instanceof Date&&!Number.isNaN(i.getTime())}function P(i,e,t="hours"){let r=new Date(i.getTime()),s=N(e,t,"milliseconds");return r.setTime(r.getTime()+s),r}function T(i,e){let t=N(e,"hours","milliseconds"),r=new Date(i.getTime()+t),s=r.toISOString().slice(0,10),n=r.getUTCHours()*60+r.getUTCMinutes();return{localDate:s,minutesSinceMidnight:n}}var j=Math.PI,u=Math.sin,k=Math.cos,Ae=Math.asin,Le=Math.acos,w=j/180,Se=1e3*60*60*24,De=2440588,Te=2451545;function Ne(i){return i.valueOf()/Se-.5+De}function E(i){return new Date((i+.5-De)*Se)}function He(i){return Ne(i)-Te}var _e=w*23.4397;function Ie(i,e){return Ae(u(e)*k(_e)+k(e)*u(_e)*u(i))}function je(i){return w*(357.5291+.98560028*i)}function Re(i){return w*(1.9148*u(i)+.02*u(2*i)+3e-4*u(3*i))}function Ze(i,e){var t=w*102.9372;return i+e+t+j}var D={};D.PolarException={NORMAL:0,MIDNIGHT_SUN:1,POLAR_NIGHT:2};var q=[[-.83,"sunrise","sunset"]],ke=9e-4;function Be(i,e){return Math.round(i-ke-e/(2*j))}function fe(i,e,t){return ke+(i+e)/(2*j)+t}function be(i,e,t){return Te+i+.0053*u(e)-.0069*u(2*t)}function Fe(i,e,t){return Le((u(i)-u(e)*u(t))/(k(e)*k(t)))}D.getTimes=function(i,e,t){var r=w*-t,s=w*e,n=He(i),a=Be(n,r),l=fe(0,r,a),o=je(l),d=Re(o),c=Ze(o,d),g=Ie(c,0),p=be(l,o,c);function x(Z){var O=Fe(Z,s,g),Ce=fe(O,r,a);return be(Ce,o,c)}function y(Z){var O=(u(Z)-u(s)*u(g))/(k(s)*k(g));return O<-1?D.PolarException.MIDNIGHT_SUN:O>1?D.PolarException.POLAR_NIGHT:D.PolarException.NORMAL}var f={solarNoon:E(p),nadir:E(p-.5),polarException:D.PolarException.NORMAL},v,_,z,R,te;for(v=0,_=q.length;v<_;v+=1)z=q[v],R=x(z[0]*w),te=p-(R-p),f[z[1]]=E(te),f[z[2]]=E(R);return f.polarException=y(q[0][0]*w),f};var Ge={spring:{dayOfMonth:20,month:2},summer:{dayOfMonth:21,month:5},fall:{dayOfMonth:23,month:8},winter:{dayOfMonth:21,month:11}},J=["spring","summer","fall","winter"];function C(i,e,t){let r=ee(e,t),{dayOfMonth:s,month:n}=Ge[r],a=new Date(i.getTime());return a.setMonth(n,s),a}function Ye(i,e){let t=Ke(i);return ee(t,e)}function Ke(i){let e=i.getTime(),t=C(i,"spring","northern").getTime(),r=C(i,"summer","northern").getTime(),s=C(i,"fall","northern").getTime(),n=C(i,"winter","northern").getTime();return e>=t&&e<r?"spring":e>=r&&e<s?"summer":e>=s&&e<n?"fall":"winter"}function ee(i,e){return e==="northern"?i:qe(i)}function ve(i){return i>=0?"northern":"southern"}function qe(i){let e=J.indexOf(i);return J[(e+2)%4]}var H=1440,Ve=864e5;function We(i,e,t,r){let s=D.getTimes(i,e,t),n=s.sunrise,a=s.sunset,l=P(i,r),o=P(n,r),d=P(a,r);if(l.getUTCDate()!==o.getUTCDate()||l.getUTCDate()!==d.getUTCDate()){let c=l.getTime()-o.getTime()>0?1:-1;n.setUTCDate(n.getUTCDate()+c),a.setUTCDate(a.getUTCDate()+c)}return{sunrise:n,sunset:a}}function m(i){return i?.type==="sun"}function ie(i,e){return(i%e+e)%e}var $e={hour:"numeric",minute:"numeric",timeZone:"UTC"},Je={hour:"numeric",timeZone:"UTC"};function Qe(i){let e=Math.round(N(i,"minutes","hours"));return new Date(N(e,"hours","milliseconds"))}function Xe(i){return new Date(i*6e4)}function ei(i){let e=Qe(i),t=W(e,$e);if(t.includes(" ")){t=W(e,Je),t=t.replace(":00","");let r="\u2060";t=t.split(" ").map(s=>Array.from(s).join(r)).join(" ")}return t}function ii(i){let e=Xe(i),t=W(e,$e);return i!==0&&t==="00:00"&&(t="24:00"),t}var ti=(i,e)=>{switch(e){case"tick":return ei(i);case"max":case"min":case"value":return ii(i)}},ri=H-1,si=ri/4;function ni(i){return h`<calcite-slider class="slider" .disabled=${i.disabled} fill-placement=none label-ticks label-handles .labelFormatter=${ti} min=0 .max=${H-1} @calciteSliderInput=${e=>{let t=Array.isArray(e.target.value)?e.target.value[0]:e.target.value;t!=null&&i.onTimeChanged(t)}} .scale=${i.scale} .step=${i.steps} snap style=${Y({gridArea:"slider"})} .ticks=${si} .value=${ie(i.value??0,H)} ${G(i.ref)}></calcite-slider>`}function ai(i,e){return i/15}function li(i,e){let t=i?.[0];if(t==null)return null;e||(e={hours:0,minutes:0,seconds:0}),e.hours=ai(t);let r=e.hours%1;e.hours-=r,e.minutes=r*60;let s=e.minutes%1;return e.minutes-=s,e.seconds=Math.round(s*60),e}function oi(i){let e=li([i.longitude,i.latitude]);return e==null?0:Math.round(e.hours+e.minutes/60+e.seconds/3600)}var ci=100,di=1e3,b=12e5,A=72e5;function we(i,e){return ie(i+e,24)}function hi({mode:i,lighting:e,getPlaySpeed:t,onProgress:r,beforeProgress:s}){let n=-1;function a(l=Date.now()){let o=e.date,d=Date.now()-(l??0);if(i==="day"){l=Date.now();let c=t()/ci*d;if(c>0){let g=new Date(o.getTime()+c),p=e.displayUTCOffset??0,x=we(g.getUTCHours(),p),y=we(o.getUTCHours(),p);x<y&&(g=new Date(o.getTime()+c-Ve));let f=e.clone();s?.(),e.date=g,r?.(f,e)}}else if(d>di){l=Date.now();let c=(o.getUTCMonth()+1)%12,g=new Date(o.getTime());g.setUTCMonth(c);let p=e.clone();s?.(),e.date=g,r?.(p,e)}n=requestAnimationFrame(()=>a(l))}return a(),U(()=>cancelAnimationFrame(n))}var L=b/4;function gi(i,e,t,r){let{day:s,night:n=s,twilight:a=s}=r,l=s*L,o=n*L,d=a*L;if(i==null||e==null||Number.isNaN(i.getTime())&&Number.isNaN(e.getTime()))return l;let c=t.getTime(),g=i.getTime(),p=e.getTime(),x=g-A/2,y=g+A/2,f=p-A/3*2,v=p+A/3,_=l;return c>=x&&c<=y?c-x<=b?_=o-(c-x)/b*(o-d):y-c<=b/2?_=l-(y-c)/b*2*(l-d):_=d:c>=f&&c<=v?c-f<=b/2?_=l-(c-f)/b*2*(l-d):v-c<=b?_=o-(v-c)/b*(o-d):_=d:(c<g||c>p)&&(_=o),_}function S(i){return i.hidden?null:i.children}function xe(i){let{children:e,hideHeader:t,headingLevel:r=2,label:s,title:n}=i;return h`<div aria-label=${s??$} class=${ne({...typeof i.class=="string"?{[i.class]:!0}:i.class,[K.widget]:!0,[K.panel]:!0})} role=presentation>${S({hidden:t||!n,children:ge({level:r,children:n})})}${e}</div>`}var Q=class{#i;#r;#s=Oe(()=>{this.#t()});constructor(e){this.#r=e;let t;ue(this.#s,()=>{t=e()}),this.#i=Ue(t)}#t(){let e=this.#i.value;ue(this.#s,()=>{this.#i.value=this.#r(e)})}mutate(e){this.#i.value=e}get value(){return this.#i.value}};function V(i){return new Q(i)}var ui={day:1,night:6,twilight:2/3},X=class extends se{constructor(){super(...arguments),this.messages=oe({blocking:!0}),this.#r="none",this.#s=null,this.#l=F(),this.#n=F(),this.#d=200,this.#h=200,this.#e={},this._offset=V(e=>m(this._lighting)?this._lighting.displayUTCOffset??e:e),this._timesliderPosition=V(e=>{if(m(this._lighting)){let t=this._lighting.displayUTCOffset??0,r=this._lighting.date;if(M(r)){let{minutesSinceMidnight:s}=T(r,t);return s}else return e}return e}),this._localDate=V(e=>{if(m(this._lighting)){let t=this._lighting.displayUTCOffset??0,r=this._lighting.date;if(M(r)){let{localDate:s}=T(r,t);return s}else return e}return e}),this.view=le(this),this.autoDestroyDisabled=!1,this.dateOrSeason="date",this.headingLevel=2,this.hideDatePicker=!1,this.hideHeader=!1,this.hidePlayButtons=!1,this.hideShadowsToggle=!1,this.hideSunLightingToggle=!1,this.hideTimezone=!1,this.icon="brightness",this.playSpeedMultiplier=1,this.timeSliderSteps=5,this.arcgisReady=B(),this.arcgisUserDateTimeChange=B(),this.#c=!1}static{this.properties={view:0,_playingState:16,_sunlightingDisabled:16,autoDestroyDisabled:5,currentSeason:1,dateOrSeason:3,dayPlaying:5,_directShadowsDisabled:16,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:3,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,utcOffset:9,timeSliderPosition:9,localDate:1,yearPlaying:5}}static{this.styles=Ee}get _view(){return this.view?.type==="3d"?this.view:void 0}#i;#r;#s;#t;#l;#n;#d;#h;#o(){if(this.#t)return;let e=de(()=>{if(this.#t?.remove(),m(this._lighting)){let t=this.utcOffset??0,r=this.timeSliderPosition??0,s=this.localDate,n=r-t*60,a=P(s,n,"minutes");this._lighting.date=a,this._lighting.displayUTCOffset=t}},{timeout:this.#d});this.#t=U(()=>{he(e),this.#t=void 0})}#u({scale:e,disabled:t}){let{messages:r}=this;return h`<calcite-label .scale=${e} class="date-picker-container">${r.date}${pi({disabled:t,scale:e,date:this.localDateAsString,onDateChange:s=>{let n=s.currentTarget.value,a=Array.isArray(n)?n[0]:n;this._stopPlaying(),this.localDate=a,this._emitUserDateTimeChangeEvent()}})}</calcite-label>${S({hidden:this.hidePlayButtons,children:ye({playing:this.yearPlaying,disabled:t,label:r.playYear,onClick:()=>{this._playingState==="year"?this._playingState="none":this._playingState="year"},scale:e})})}`}#p({scale:e,disabled:t}){let{messages:r}=this;return h`<calcite-label .scale=${e} class="date-picker-container">${r.season}${mi({scale:e,selectedSeason:this.currentSeason,disabled:t,messages:r,onSeasonChange:s=>{this._stopPlaying(),this.currentSeason=s.currentTarget.value}})}</calcite-label>`}#e;get#g(){return Array.isArray(this.#n?.value?.value)?this.#n?.value?.value[0]:this.#n?.value?.value}get localDateAsString(){return this._localDate.value??""}get _playingState(){return this.#r}set _playingState(e){this.#r=e,this.#a?.remove(),e==="none"?this.#i?.remove():(this._play(e),this._emitUserDateTimeChangeEvent())}get _lighting(){return this._view?.environment?.lighting}get _sunlightingDisabled(){return!m(this._lighting)}set _sunlightingDisabled(e){this.#e.sunlightingDisabled=e;let t=this._view?.environment;if(t==null)return;let r=t.lighting,s=this.#s;this.#s=r;let n={directShadowsEnabled:r.directShadowsEnabled};m(r)&&(n.cameraTrackingEnabled=r.cameraTrackingEnabled);let a=e?"virtual":"sun",l;s!=null&&s.type===a?l=s:l=e?new ze:new Pe,l.set(n),t.lighting=l,e||(this._stopPlaying(),this.#l.value&&(this.#l.value.open=!1))}get currentSeason(){let e=this._view?.camera?.position?.latitude??0,t=ve(e);return Ye(this.localDate,t)}set currentSeason(e){this._stopPlaying();let t=this._view?.camera?.position?.latitude??0,r=ve(t),s=ee(e,r);this.localDate=C(this.localDate,s,"northern"),this._emitUserDateTimeChangeEvent()}get dayPlaying(){return this._playingState==="day"}set dayPlaying(e){this._playingState=e?"day":"none"}get _directShadowsDisabled(){return!this._lighting?.directShadowsEnabled}set _directShadowsDisabled(e){this.#e.directShadowsDisabled=e,this._lighting&&(this._lighting.directShadowsEnabled=!e)}get utcOffset(){return this._offset.value}set utcOffset(e){this._offset.mutate(e),this.#o()}get timeSliderPosition(){return this._timesliderPosition.value}set timeSliderPosition(e){this._timesliderPosition.mutate(ie(e??0,H)),this.#o()}get localDate(){return this._localDate.value!=null?new Date(this._localDate.value):new Date}set localDate(e){let t=new Date(e);if(M(t)){t.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate());let r=t.toISOString().slice(0,10);this._localDate.mutate(r),this.#o()}}get yearPlaying(){return this._playingState==="year"}set yearPlaying(e){this._playingState=e?"year":"none"}async destroy(){await this.manager.destroy()}async load(){this.#e.utcOffset=this.utcOffset,this.#e.timeSliderPosition=this.timeSliderPosition,this.#e.localDate=this.localDateAsString,this.manager.onLifecycle(()=>[pe(()=>{let e=null;if(m(this._lighting)){let t=this._lighting.displayUTCOffset??0,r=this._lighting.date;if(M(r)){let{minutesSinceMidnight:s}=T(r,t);e=s}}return e},e=>{let t=this.#g;e!=null&&t!==e&&this._emitUserDateTimeChangeEvent()},{sync:!0}),pe(()=>{let e=this._view?.camera?.position;return e?oi(e):void 0},e=>{let t=this._lighting;m(t)&&t.cameraTrackingEnabled&&(t.displayUTCOffset=e)},{sync:!0,initial:!0}),I.onLocaleChange(()=>{this.requestUpdate()})]),this.manager.onDisconnected(()=>{this.#i?.remove(),this.#t?.remove(),this.#a?.remove()})}willUpdate(e){if(super.willUpdate(e),!!this.#c&&m(this._lighting)&&e.has("utcOffset")){let t=this.utcOffset??0,r=this._lighting.displayUTCOffset??0,s=this.timeSliderPosition??0,n=this.localDate,a=s-r*60,l=P(n,a,"minutes"),{minutesSinceMidnight:o,localDate:d}=T(l,t);this._timesliderPosition.mutate(o),this._localDate.mutate(d)}}updated(e){super.updated(e),this._adjustTimeSliderLabels()}#c;async loaded(){let e=new AbortController;this.manager.onDisconnected(()=>({remove:()=>{e.abort()}})),await ce(Me(()=>this._view?.ready,{signal:e.signal}).then(()=>{this.utcOffset=this.#e.utcOffset??this.utcOffset,this.timeSliderPosition=this.#e.timeSliderPosition??this.timeSliderPosition,this.localDate=this.#e.localDate??this.localDate,this.#e.directShadowsDisabled!=null&&(this._directShadowsDisabled=this.#e.directShadowsDisabled),this.#e.sunlightingDisabled!=null&&(this._sunlightingDisabled=this.#e.sunlightingDisabled),this.#e={}})),this.#c=!0}_adjustTimeSliderLabels(){let e=this.#n.value;e&&bi(e,I.getLocale())}_emitUserDateTimeChangeEvent(){this.isConnected&&this.arcgisUserDateTimeChange.emit()}_stopPlaying(){this._playingState="none"}#a;#m(e){if(this.#a)return;let t=setTimeout(()=>{let r=e.displayUTCOffset??0,s=e.date,{minutesSinceMidnight:n}=T(s,r);this._timesliderPosition.mutate(n),this.#a?.remove()},this.#h);this.#a=U(()=>{clearTimeout(t),this.#a=void 0;let r=this._lighting;if(m(r)){let s=r.displayUTCOffset??0,n=r.date,{minutesSinceMidnight:a}=T(n,s);this._timesliderPosition.mutate(a)}})}_play(e){this.#i?.remove();let t=this._view;if(t==null||this._sunlightingDisabled)return;let r=t.environment.lighting;if(!m(r))return;let s=0;this.#i=hi({mode:e,lighting:r,beforeProgress:()=>{s=this.#g??0},onProgress:(n,a)=>{this._timesliderPosition.mutate(s),this.#m(a)},getPlaySpeed:()=>{let n=this._view,a=this._view?.environment.lighting;if(n!=null&&m(a)){let l=n.camera.position.latitude??0,o=n.camera.position.longitude??0,{sunrise:d,sunset:c}=We(a.date,l,o,a.displayUTCOffset??0);return gi(d,c,a.date,ui)*this.playSpeedMultiplier}else return L*this.playSpeedMultiplier}})}render(){let{messages:e,dateOrSeason:t}=this,r=this._sunlightingDisabled,s="m";if(this._view?.type!=="3d")return xe({class:"wrapper",label:e.componentLabel,title:e.title,hideHeader:this.hideHeader,headingLevel:this.headingLevel,children:h`<div class="unsupported"><p>${e.unsupported}</p></div>`});let n=(this.utcOffset??0)*60,a=this.view?.ready===!0,l=Array.isArray(this.timeSliderSteps)?this.timeSliderSteps.at(0):this.timeSliderSteps;return xe({class:{wrapper:!0,loading:!a},label:e.componentLabel,title:e.title,hideHeader:this.hideHeader,headingLevel:this.headingLevel,children:h`${a?void 0:h`<calcite-scrim loading></calcite-scrim>`}<div class="time-configuration" style=${Y({columnGap:this.hidePlayButtons?"0":void 0})}><calcite-label class="slider-container" .scale=${s}>${e.timeSliderLabel}${ni({ref:this.#n,disabled:this._sunlightingDisabled,scale:s,value:this.timeSliderPosition??0,steps:l,onTimeChanged:o=>{this._stopPlaying(),this._emitUserDateTimeChangeEvent(),this.timeSliderPosition=o}})}</calcite-label>${S({hidden:this.hidePlayButtons,children:ye({disabled:this._sunlightingDisabled,playing:this.dayPlaying,label:e.playDay,onClick:()=>{this._playingState==="day"?this._stopPlaying():this._playingState="day"},scale:s})})}${S({hidden:this.hideTimezone,children:h`<calcite-label .scale=${s} class="timezone-input-container">${e.timezone}<calcite-input-time-zone mode=offset overlay-positioning=fixed .scale=${s} .disabled=${this._sunlightingDisabled} .value=${`${n}`} .referenceDate=${this.localDateAsString} @calciteInputTimeZoneChange=${o=>{let d=+o.target.value;this.utcOffset=d/60,this._stopPlaying()}} ${G(this.#l)}></calcite-input-time-zone></calcite-label><span></span>`})}${S({hidden:this.hideDatePicker,children:t==="date"?this.#u({scale:s,disabled:r}):this.#p({scale:s,disabled:r})})}</div>${S({hidden:this.hideSunLightingToggle,children:_i({scale:s,messages:e.sunLightingToggle,sunlightingEnabled:!this._sunlightingDisabled,onSunLightingToggle:o=>{this._sunlightingDisabled=!o}})})}${S({hidden:this.hideShadowsToggle,children:fi({scale:s,messages:e.shadowsToggle,onShadowCheckboxChange:o=>{this._directShadowsDisabled=!o},shadowEnabled:!this._directShadowsDisabled})})}`})}};function ye({disabled:i,playing:e,onClick:t,label:r,scale:s="m"}){return h`<calcite-button appearance=solid .scale=${s} .disabled=${i} .iconStart=${e?"pause-f":"play-f"} .label=${r} @click=${t} round title=${r??$} type=button></calcite-button>`}function pi({disabled:i,date:e,onDateChange:t,scale:r}){return h`<calcite-input-date-picker data-testid=daylight-date-picker .disabled=${i} overlay-positioning=fixed placement=bottom .value=${e} .scale=${r} @calciteInputDatePickerChange=${t}></calcite-input-date-picker>`}function mi({messages:i,disabled:e,scale:t,selectedSeason:r,onSeasonChange:s}){return h`<calcite-select .disabled=${e} .label=${i.season} .scale=${t} .value=${r} @calciteSelectChange=${n=>{s(n)}}>${J.map(n=>h`<calcite-option .selected=${r===n} .value=${n}>${i[n]}</calcite-option>`)}</calcite-select>`}function _i({messages:i,sunlightingEnabled:e,onSunLightingToggle:t,scale:r}){return h`<calcite-label layout=inline .scale=${r} title=${i?.tooltip??$}><calcite-checkbox .scale=${r} .checked=${e} @calciteCheckboxChange=${s=>t(s.target.checked)}></calcite-checkbox>${i?.label}</calcite-label>`}function fi({messages:i,shadowEnabled:e,onShadowCheckboxChange:t,scale:r}){return h`<calcite-label layout=inline .scale=${r} title=${i?.tooltip??$}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${s=>t(s.target.checked)}></calcite-checkbox>${i.label}</calcite-label>`}function bi(i,e){let t=wi(e),r=t?.language??"",s=t?.region??"",n=["ar","bg","el","en","ko"].includes(r)||r==="zh"&&["HK","TW"].includes(s);if(i.style.setProperty("--label-wrap-padding",n?"5px":"0"),i.style.setProperty("--label-wrapping",n?"normal":"nowrap"),!i.hasAttribute("data-slider-label-stylesheet-attatched")&&i.shadowRoot){let a=i.shadowRoot.adoptedStyleSheets,l=new CSSStyleSheet;l.replaceSync(`
5
5
  .tick__label {
6
6
  text-align: center;
7
7
  white-space: var(--label-wrapping, normal);
@@ -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.34 */
4
- import e from"./O5D76G3J.js";import d from"./AFKNRDPK.js";import{a as F}from"./VJJIPCK3.js";import c from"./WGSI5K6Y.js";import a from"./A36DX5US.js";import{g as L}from"./LE7HEMA4.js";import"./YZCMETTU.js";import{b as E}from"./WLPAJJTY.js";import{I as M,J as x,K as l,M as _,P as b,a as y,b as o,s as I}from"./V5GMWCTF.js";import"./4M3DTWKL.js";export default $arcgis.t(([H,{substitute:B},Z,{watch:P},{stripHTML:U},,,T,{b:A,c:V,d:R,e:k,f:D,j:N,q:h}])=>{var z=y`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.arcgis-feature{flex:1 1 auto}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child,.arcgis-feature__content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`,f="arcgis-feature",d={base:f,container:`${f}__size-container`,main:`${f}__main-container`,contentElement:`${f}__content-element`,lastEditedInfo:`${f}__last-edited-info`,loadingSpinnerContainer:`${f}__loading-container`},S=T(H),C=class extends x{constructor(){super(...arguments),this.messages=F(),this._rootFlowNode=null,this.flowType="feature",this.internalFlowItems=new Z,this.viewModel=S(this),this.view=this.viewModel.view,this.icon="icon",this.isFeatureFromTable=this.viewModel.isFeatureFromTable,this.graphic=this.viewModel.graphic,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.title,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=L()("flowItems","state"),this.arcgisReady=I()}static{this.properties={flowType:16,popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,internalFlowItems:16,viewModel:0,view:0,flowItems:0,referenceElement:1,position:3,icon:1,isFeatureFromTable:4,graphic:0,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideTitle:5,hideContent:5,hideAttachmentsContent:5,hideContentAttachments:5,hideCustomContent:5,hideExpressionContent:5,hideContentExpression:5,hideFieldsContent:5,hideContentFields:5,hideMediaContent:5,hideContentMedia:5,showRelationshipContent:5,hideTextContent:5,hideContentText:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,hideLastEditInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:3}}static{this.styles=z}get popupTemplate(){return R(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return k(this.graphic)}get fieldInfoMap(){return A(V(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}get hideTitle(){return this.hideHeading}set hideTitle(e){this.hideHeading=e}get hideContentAttachments(){return this.hideAttachmentsContent}set hideContentAttachments(e){this.hideAttachmentsContent=e}get hideContentExpression(){return this.hideExpressionContent}set hideContentExpression(e){this.hideExpressionContent=e}get hideContentFields(){return this.hideFieldsContent}set hideContentFields(e){this.hideFieldsContent=e}get hideContentMedia(){return this.hideMediaContent}set hideContentMedia(e){this.hideMediaContent=e}get hideContentText(){return this.hideTextContent}set hideContentText(e){this.hideTextContent=e}get hideLastEditInfo(){return this.hideLastEditedInfo}set hideLastEditInfo(e){this.hideLastEditedInfo=e}async destroy(){await this.manager.destroy()}async nextMedia(e){return this.viewModel.nextMedia(e)}async previousMedia(e){return this.viewModel.previousMedia(e)}async setActiveMedia(e,t){return this.viewModel.setActiveMedia(e,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[P(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_removeFlowItems(){this.internalFlowItems?.removeAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()}render(){let{state:e}=this.viewModel,t=o`<div class=${l(d.container)}>${e==="error"?this._renderError():e==="loading"?this._renderLoading():this._renderContentContainer()}</div>`;return o`<div class=${l(d.base)}>${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return o`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:o`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderLoading(){return o`<div class=${l(d.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.title}),r=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.description});return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${s} .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords??void 0} .attachmentTypes=${e.attachmentTypes??void 0} .graphic=${this.graphic??void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return o`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c,graphic:p}=this,u=!!e?.fieldInfos,m=(e.fieldInfos??r?.fieldInfos??[])?.filter(({fieldName:g})=>!!g&&(N(g)||D(g)||g in n)),v=r?.expressionInfos,$=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),w=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${$} class=${l(d.contentElement)} .messages=${this.messages} .graphic=${p??void 0} .isContentFieldInfos=${u} .layer=${s} .description=${w} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${m} .expressionInfos=${v??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c}=this,{formattedAttributes:p,relatedInfos:u}=this.viewModel,m={...p?.global,...p?.content?.[t]},v=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),$=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(d.contentElement)} .description=${$} .values=${i} .layer=${s} .graphic=${n??void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${r??void 0} .relatedInfos=${u} .formattedValues=${m}></arcgis-feature-media>`}_renderText(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.text});return o`<arcgis-feature-content .creator=${s} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:n}=this;return o`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class=${l(d.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,globalValues:r}=this,{displayCount:c,orderByFields:p,relationshipId:u}=e,{formattedAttributes:m,view:v}=this.viewModel,$={...m?.global,...m?.content?.[t]},w=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.title}),g=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.description});return o`<arcgis-feature-relationship class=${l(d.contentElement)} .flowItems=${this.flowItems??this.internalFlowItems} .description=${g} .layer=${s} .map=${this.map??void 0} .displayCount=${c} .graphic=${n??void 0} .heading=${w} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${p??void 0} .relationshipId=${u??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${$} .view=${v??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:n,messages:a,sourceLayer:s,values:r}=this,c=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.title}),p=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.description});return o`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class=${l(d.contentElement)} .description=${p} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${n??void 0} .heading=${c} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map??void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .view=${this.viewModel.view??void 0}></arcgis-feature-utility-network-associations>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;return e?Array.isArray(e)&&e.length?e.length?e.map(this._renderContentElement,this):null:typeof e=="string"?o`<arcgis-feature-content .creator=${e} .graphic=${t??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`:e instanceof HTMLElement?e:null:null}_renderContentContainer(){let{hideContent:e,internalFlowItems:t,headingLevel:i,state:n,messages:a}=this;if(e)return null;let s=o`<div class=${l(d.main)}>${[this._renderContent(),this._renderLastEditInfo()]}</div>`,r=a.returnToInitialFeature??"";return this.flowItems?s:o`<calcite-flow ${M(this._storeRootFlowNode)}><calcite-flow-item .loading=${n==="loading"} .headingLevel=${i} .heading=${this.hideHeading?void 0:U(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((c,p)=>o`<calcite-flow-item @calciteFlowItemBack=${u=>{u.preventDefault(),this._handleDrillInBackClick()}} .loading=${n==="loading"} .headingLevel=${i} .selected=${p===t.length-1}><calcite-action appearance=transparent icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r} title=${r??_}></calcite-action>${c}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:n,user:a}=i,s=i.type==="edit"?a?t.lastEditedByUser:t.lastEdited:a?t.lastCreatedByUser:t.lastCreated,r=B(s??"",{date:n,user:a});return o`<div class=${l(E(d.lastEditedInfo,d.contentElement))}>${r}</div>`}};b("arcgis-feature",C);return C},"widgets/Feature/FeatureViewModel","intl","core/Collection","core/reactiveUtils","applications/Components/stringUtils",a,c,d,e)
3
+ v5.0.0-next.35 */
4
+ import e from"./S5UW7FUT.js";import d from"./HFMGDDYV.js";import{a as F}from"./B6JPREHA.js";import c from"./S4BI6GVO.js";import a from"./6LSEE7B7.js";import{g as L}from"./53GKDMR3.js";import"./J7CBRHF3.js";import{b as E}from"./AQZZFULE.js";import{I as M,J as x,K as l,M as _,P as b,a as y,b as o,s as I}from"./BXIJ6Y23.js";import"./JQRXUJSX.js";export default $arcgis.t(([H,{substitute:B},Z,{watch:P},{stripHTML:U},,,T,{b:A,c:V,d:R,e:k,f:D,j:N,q:h}])=>{var z=y`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.arcgis-feature{flex:1 1 auto}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child,.arcgis-feature__content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`,f="arcgis-feature",d={base:f,container:`${f}__size-container`,main:`${f}__main-container`,contentElement:`${f}__content-element`,lastEditedInfo:`${f}__last-edited-info`,loadingSpinnerContainer:`${f}__loading-container`},S=T(H),C=class extends x{constructor(){super(...arguments),this.messages=F(),this._rootFlowNode=null,this.flowType="feature",this.internalFlowItems=new Z,this.viewModel=S(this),this.view=this.viewModel.view,this.icon="icon",this.isFeatureFromTable=this.viewModel.isFeatureFromTable,this.graphic=this.viewModel.graphic,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.title,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=L()("flowItems","state"),this.arcgisReady=I()}static{this.properties={flowType:16,popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,internalFlowItems:16,viewModel:0,view:0,flowItems:0,referenceElement:1,position:3,icon:1,isFeatureFromTable:4,graphic:0,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideTitle:5,hideContent:5,hideAttachmentsContent:5,hideContentAttachments:5,hideCustomContent:5,hideExpressionContent:5,hideContentExpression:5,hideFieldsContent:5,hideContentFields:5,hideMediaContent:5,hideContentMedia:5,showRelationshipContent:5,hideTextContent:5,hideContentText:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,hideLastEditInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:3}}static{this.styles=z}get popupTemplate(){return R(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return k(this.graphic)}get fieldInfoMap(){return A(V(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}get hideTitle(){return this.hideHeading}set hideTitle(e){this.hideHeading=e}get hideContentAttachments(){return this.hideAttachmentsContent}set hideContentAttachments(e){this.hideAttachmentsContent=e}get hideContentExpression(){return this.hideExpressionContent}set hideContentExpression(e){this.hideExpressionContent=e}get hideContentFields(){return this.hideFieldsContent}set hideContentFields(e){this.hideFieldsContent=e}get hideContentMedia(){return this.hideMediaContent}set hideContentMedia(e){this.hideMediaContent=e}get hideContentText(){return this.hideTextContent}set hideContentText(e){this.hideTextContent=e}get hideLastEditInfo(){return this.hideLastEditedInfo}set hideLastEditInfo(e){this.hideLastEditedInfo=e}async destroy(){await this.manager.destroy()}async nextMedia(e){return this.viewModel.nextMedia(e)}async previousMedia(e){return this.viewModel.previousMedia(e)}async setActiveMedia(e,t){return this.viewModel.setActiveMedia(e,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[P(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_removeFlowItems(){this.internalFlowItems?.removeAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()}render(){let{state:e}=this.viewModel,t=o`<div class=${l(d.container)}>${e==="error"?this._renderError():e==="loading"?this._renderLoading():this._renderContentContainer()}</div>`;return o`<div class=${l(d.base)}>${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return o`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:o`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderLoading(){return o`<div class=${l(d.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.title}),r=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.description});return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${s} .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords??void 0} .attachmentTypes=${e.attachmentTypes??void 0} .graphic=${this.graphic??void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return o`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c,graphic:p}=this,u=!!e?.fieldInfos,m=(e.fieldInfos??r?.fieldInfos??[])?.filter(({fieldName:g})=>!!g&&(N(g)||D(g)||g in n)),v=r?.expressionInfos,$=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),w=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${$} class=${l(d.contentElement)} .messages=${this.messages} .graphic=${p??void 0} .isContentFieldInfos=${u} .layer=${s} .description=${w} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${m} .expressionInfos=${v??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c}=this,{formattedAttributes:p,relatedInfos:u}=this.viewModel,m={...p?.global,...p?.content?.[t]},v=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),$=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(d.contentElement)} .description=${$} .values=${i} .layer=${s} .graphic=${n??void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${r??void 0} .relatedInfos=${u} .formattedValues=${m}></arcgis-feature-media>`}_renderText(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.text});return o`<arcgis-feature-content .creator=${s} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:n}=this;return o`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class=${l(d.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,globalValues:r}=this,{displayCount:c,orderByFields:p,relationshipId:u}=e,{formattedAttributes:m,view:v}=this.viewModel,$={...m?.global,...m?.content?.[t]},w=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.title}),g=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.description});return o`<arcgis-feature-relationship class=${l(d.contentElement)} .flowItems=${this.flowItems??this.internalFlowItems} .description=${g} .layer=${s} .map=${this.map??void 0} .displayCount=${c} .graphic=${n??void 0} .heading=${w} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${p??void 0} .relationshipId=${u??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${$} .view=${v??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:n,messages:a,sourceLayer:s,values:r}=this,c=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.title}),p=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.description});return o`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class=${l(d.contentElement)} .description=${p} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${n??void 0} .heading=${c} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map??void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .view=${this.viewModel.view??void 0}></arcgis-feature-utility-network-associations>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;return e?Array.isArray(e)&&e.length?e.length?e.map(this._renderContentElement,this):null:typeof e=="string"?o`<arcgis-feature-content .creator=${e} .graphic=${t??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`:e instanceof HTMLElement?e:null:null}_renderContentContainer(){let{hideContent:e,internalFlowItems:t,headingLevel:i,state:n,messages:a}=this;if(e)return null;let s=o`<div class=${l(d.main)}>${[this._renderContent(),this._renderLastEditInfo()]}</div>`,r=a.returnToInitialFeature??"";return this.flowItems?s:o`<calcite-flow ${M(this._storeRootFlowNode)}><calcite-flow-item .loading=${n==="loading"} .headingLevel=${i} .heading=${this.hideHeading?void 0:U(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((c,p)=>o`<calcite-flow-item @calciteFlowItemBack=${u=>{u.preventDefault(),this._handleDrillInBackClick()}} .loading=${n==="loading"} .headingLevel=${i} .selected=${p===t.length-1}><calcite-action appearance=transparent icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r} title=${r??_}></calcite-action>${c}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:n,user:a}=i,s=i.type==="edit"?a?t.lastEditedByUser:t.lastEdited:a?t.lastCreatedByUser:t.lastCreated,r=B(s??"",{date:n,user:a});return o`<div class=${l(E(d.lastEditedInfo,d.contentElement))}>${r}</div>`}};b("arcgis-feature",C);return C},"widgets/Feature/FeatureViewModel","intl","core/Collection","core/reactiveUtils","applications/Components/stringUtils",a,c,d,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.34 */
4
- import{b as c}from"./WLPAJJTY.js";import{J as l,K as t,P as r,a as o,b as e}from"./V5GMWCTF.js";import"./4M3DTWKL.js";var m=o`.arcgis-print__export-section--centered{text-align:center}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`,i="arcgis-print",s={exportSection:`${i}__export-section`,panelContainer:`${i}__panel-container`,exportedFilesEmpty:`${i}__exported-files-empty`,exportedFilesTitle:`${i}__export-title`,exportSectionCentered:`${i}__export-section--centered`},n=class extends l{static{this.properties={saveAsButtonCallback:0,viewModel:0,messages:0,allowedFormatsForSaving:1}}static{this.styles=m}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>this.requestUpdate())])}render(){let a=this.viewModel.exportedLinks,p={[s.exportSectionCentered]:!a.length};return e`<section class=${t(c(s.exportSection,p))} role=tabpanel><div class=${t(s.panelContainer)}>${a.length===0?e`<div class=${t(s.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${t(s.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>`:e`<calcite-list .filterEnabled=${a.length>10} .label=${this.messages.exportedLinksList} selection-mode=none>${a.map(d=>e`<arcgis-print-exported-link .exportedLink=${d} .viewModel=${this.viewModel} .messages=${this.messages} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exported-link>`)}</calcite-list>`}</div></section>`}};r("arcgis-print-exports-panel",n);export{n as PrintExportsPanel};
3
+ v5.0.0-next.35 */
4
+ import{b as c}from"./AQZZFULE.js";import{J as l,K as t,P as r,a as o,b as e}from"./BXIJ6Y23.js";import"./JQRXUJSX.js";var m=o`.arcgis-print__export-section--centered{text-align:center}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`,i="arcgis-print",s={exportSection:`${i}__export-section`,panelContainer:`${i}__panel-container`,exportedFilesEmpty:`${i}__exported-files-empty`,exportedFilesTitle:`${i}__export-title`,exportSectionCentered:`${i}__export-section--centered`},n=class extends l{static{this.properties={saveAsButtonCallback:0,viewModel:0,messages:0,allowedFormatsForSaving:1}}static{this.styles=m}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>this.requestUpdate())])}render(){let a=this.viewModel.exportedLinks,p={[s.exportSectionCentered]:!a.length};return e`<section class=${t(c(s.exportSection,p))} role=tabpanel><div class=${t(s.panelContainer)}>${a.length===0?e`<div class=${t(s.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${t(s.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>`:e`<calcite-list .filterEnabled=${a.length>10} .label=${this.messages.exportedLinksList} selection-mode=none>${a.map(d=>e`<arcgis-print-exported-link .exportedLink=${d} .viewModel=${this.viewModel} .messages=${this.messages} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exported-link>`)}</calcite-list>`}</div></section>`}};r("arcgis-print-exports-panel",n);export{n as PrintExportsPanel};
@@ -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.34 */
4
- import d from"./EQVC7B6L.js";import c from"./WGSI5K6Y.js";import b from"./A36DX5US.js";import{g as a}from"./LE7HEMA4.js";import"./YZCMETTU.js";import"./WLPAJJTY.js";import{J as r,P as o,a as i,s as t}from"./V5GMWCTF.js";import"./4M3DTWKL.js";export default $arcgis.t(([s,,,n])=>{var c=i`.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}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--esri-widget-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{min-width:300px}`,d=n(s),e=class extends r{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.state=this.viewModel.state,this.arcgisPropertyChange=a()("activeTool","state"),this.arcgisReady=t()}static{this.properties={view:0,activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.styles=c}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};o("arcgis-measurement",e);return e},"widgets/Measurement",b,c,d)
3
+ v5.0.0-next.35 */
4
+ import d from"./VZK2EM2U.js";import c from"./S4BI6GVO.js";import b from"./6LSEE7B7.js";import{g as a}from"./53GKDMR3.js";import"./J7CBRHF3.js";import"./AQZZFULE.js";import{J as r,P as o,a as i,s as t}from"./BXIJ6Y23.js";import"./JQRXUJSX.js";export default $arcgis.t(([s,,,n])=>{var c=i`.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}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--esri-widget-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{min-width:300px}`,d=n(s),e=class extends r{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.state=this.viewModel.state,this.arcgisPropertyChange=a()("activeTool","state"),this.arcgisReady=t()}static{this.properties={view:0,activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.styles=c}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};o("arcgis-measurement",e);return e},"widgets/Measurement",b,c,d)