@esri/solutions-components 1.0.0-next.20250521.1 → 1.0.0-next.20250527.1

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 (423) hide show
  1. package/dist/{components/solutions-all-shell/assets → assets/config}/appConfig.json.d.ts +2 -2
  2. package/dist/cdn/{GJSNSMV5.js → 235HMCGP.js} +2 -2
  3. package/dist/cdn/{PZXLUUWJ.js → 27MRQWJF.js} +2 -2
  4. package/dist/cdn/{BZPPRNYK.js → 2B3Q4HD7.js} +2 -2
  5. package/dist/cdn/{DEXEV3CF.js → 2CBB2HLP.js} +2 -2
  6. package/dist/cdn/{7SPIT3JA.js → 2G5DQFP5.js} +2 -2
  7. package/dist/cdn/{MHYB5WW2.js → 2I7ZIAPF.js} +2 -2
  8. package/dist/cdn/{5D4SFQMX.js → 2JENJJ5Q.js} +2 -2
  9. package/dist/cdn/{DRFVJJFB.js → 2SCRBCST.js} +2 -2
  10. package/dist/cdn/{5SI2WE3S.js → 2SPBK2JC.js} +2 -2
  11. package/dist/cdn/2UBHX74M.js +18 -0
  12. package/dist/cdn/{OUGZWNO6.js → 2W7UVH23.js} +1 -1
  13. package/dist/cdn/{F3UYT636.js → 2WWZLR6Z.js} +2 -2
  14. package/dist/cdn/{VOD7YR56.js → 34ECDRMG.js} +2 -2
  15. package/dist/cdn/{NMDVSB55.js → 3BGUPUE3.js} +1 -1
  16. package/dist/cdn/{SZ6XDDRS.js → 3GWL7ZZR.js} +2 -2
  17. package/dist/cdn/{LAKS4FFK.js → 3KJASSVN.js} +2 -2
  18. package/dist/cdn/{VOJ7ETXL.js → 3Y2Q5QFM.js} +2 -2
  19. package/dist/cdn/44KWOYXI.js +4 -0
  20. package/dist/cdn/{HGEH7RJP.js → 462NEOXQ.js} +2 -2
  21. package/dist/cdn/{TMKXDITO.js → 47E56IWZ.js} +2 -2
  22. package/dist/cdn/{Y7AFN6OI.js → 4C3SN7HO.js} +2 -2
  23. package/dist/cdn/{XI2LPQ33.js → 4CXASUGF.js} +2 -2
  24. package/dist/cdn/4RKFDO7V.js +4 -0
  25. package/dist/cdn/{2PCAQBP3.js → 563I6KBO.js} +2 -2
  26. package/dist/cdn/{OT7ZKWCQ.js → 5646UVWD.js} +2 -2
  27. package/dist/cdn/{AAX2HQKV.js → 5ELHQQNT.js} +1 -1
  28. package/dist/cdn/{BXNKGYEI.js → 5M5CVIKP.js} +2 -2
  29. package/dist/cdn/{6Z2DWNPT.js → 5MIMVQY5.js} +1 -1
  30. package/dist/cdn/{CZDA3M6G.js → 5TBGB7YZ.js} +2 -2
  31. package/dist/cdn/{SYQ76GDV.js → 5TVQZ22P.js} +2 -2
  32. package/dist/cdn/{5VKMQKEK.js → 5YQ6I5EF.js} +1 -1
  33. package/dist/cdn/{ILY2OKMX.js → 65YPUCQG.js} +2 -2
  34. package/dist/cdn/{MUWBCKCV.js → 6F7EVZA2.js} +2 -2
  35. package/dist/cdn/{VSAXW4LJ.js → 6LY4PJLC.js} +2 -2
  36. package/dist/cdn/{TJDY5JFR.js → 6NFR7DWF.js} +2 -2
  37. package/dist/cdn/{KMDWJ4IU.js → 6Q6EWBBX.js} +2 -2
  38. package/dist/cdn/{LYRXJGDC.js → 6XL744QT.js} +2 -2
  39. package/dist/cdn/{ND6EAOAK.js → 72MDJVHR.js} +1 -1
  40. package/dist/cdn/{EF5JUDMP.js → 7APZ4O46.js} +2 -2
  41. package/dist/cdn/{XLIFIZT4.js → 7L34ACJ2.js} +1 -1
  42. package/dist/cdn/{VUZSRYII.js → 7T46C2WO.js} +2 -2
  43. package/dist/cdn/{7XECJH7Y.js → A42EXUKX.js} +1 -1
  44. package/dist/cdn/{NFAFQG7O.js → AAG5K33X.js} +2 -2
  45. package/dist/cdn/{A62HEPRS.js → ABK3KAVX.js} +2 -2
  46. package/dist/cdn/{B73J3DHK.js → AFMCTYMF.js} +2 -2
  47. package/dist/cdn/{TETTY42T.js → AIWKSKOS.js} +2 -2
  48. package/dist/cdn/{FDHX3KKE.js → AKIVXNOI.js} +2 -2
  49. package/dist/cdn/{2WHMOJKI.js → ASS7W7EF.js} +2 -2
  50. package/dist/cdn/{SWLJRRGU.js → AUJ4ZHP4.js} +2 -2
  51. package/dist/cdn/{ZMAGZDYI.js → AW2RDITX.js} +2 -2
  52. package/dist/cdn/{57TFREKC.js → AZ3OMUAO.js} +1 -1
  53. package/dist/cdn/{MBYLGI4U.js → BFX54VT3.js} +1 -1
  54. package/dist/cdn/{YLZ235UH.js → BGTACCYE.js} +2 -2
  55. package/dist/cdn/{B42KRM6Z.js → BKXP4PYE.js} +2 -2
  56. package/dist/cdn/{DNJH5UNS.js → BNMMRZMR.js} +1 -1
  57. package/dist/cdn/{3ZWTRRJN.js → BRGMMR6T.js} +1 -1
  58. package/dist/cdn/{ANGBSTZ3.js → BRZEMXNZ.js} +2 -2
  59. package/dist/cdn/BTH73JNS.js +4 -0
  60. package/dist/cdn/{TQT42IK7.js → BYBUA3SD.js} +1 -1
  61. package/dist/cdn/{BPTAOEJG.js → C2E5NBKB.js} +2 -2
  62. package/dist/cdn/{ELCX7XI2.js → CBUD7IB5.js} +2 -2
  63. package/dist/cdn/{57KCCA45.js → CCZ4QXEQ.js} +2 -2
  64. package/dist/cdn/{SB2ETAD7.js → CFSLUNQ7.js} +2 -2
  65. package/dist/cdn/{QCNZF3NJ.js → CNIE4S7A.js} +2 -2
  66. package/dist/cdn/{GJWFJRKH.js → D73WKPMQ.js} +2 -2
  67. package/dist/cdn/{24525IFF.js → DCEBLW5N.js} +2 -2
  68. package/dist/cdn/{YPZY5T64.js → DCOPVWLY.js} +2 -2
  69. package/dist/cdn/{F5UQ42HE.js → DF5QXKGH.js} +2 -2
  70. package/dist/cdn/{7WQVJT5F.js → DGNNFON4.js} +2 -2
  71. package/dist/cdn/{BFH5SO2L.js → DMPGY2CP.js} +1 -1
  72. package/dist/cdn/{4SKIALSW.js → DS7T3C76.js} +2 -2
  73. package/dist/cdn/{HDBFFEBB.js → DSUJM7KE.js} +2 -2
  74. package/dist/cdn/{WY3BALDA.js → DUW2CBFP.js} +2 -2
  75. package/dist/cdn/{3MEA5DUO.js → DZR5OU2Z.js} +2 -2
  76. package/dist/cdn/{AJMDPQVN.js → E2K4YXFY.js} +2 -2
  77. package/dist/cdn/{EVND7CLX.js → E7Z2VNGZ.js} +2 -2
  78. package/dist/cdn/{KF632BTH.js → EEZVGG7J.js} +2 -2
  79. package/dist/cdn/{DW5MNUDP.js → EIJGEZ3R.js} +1 -1
  80. package/dist/cdn/{JZPIPYHU.js → EJNMBFZU.js} +2 -2
  81. package/dist/cdn/{YZ45SJNV.js → EQYKWRWC.js} +2 -2
  82. package/dist/cdn/{2IN6EBD2.js → ERRVLDZR.js} +2 -2
  83. package/dist/cdn/{K47GFZZC.js → EUEDSIGE.js} +2 -2
  84. package/dist/cdn/{3BFU2N33.js → EY5KJVGY.js} +2 -2
  85. package/dist/cdn/F3SICAQV.js +8 -0
  86. package/dist/cdn/FDO6F6OD.js +18 -0
  87. package/dist/cdn/FHG3CDRP.js +4 -0
  88. package/dist/cdn/{NPHHJYBH.js → FHPVFDBQ.js} +2 -2
  89. package/dist/cdn/{EPSCUZ73.js → FM4LJPL6.js} +2 -2
  90. package/dist/cdn/{76ALAXVV.js → FNS5B3MH.js} +2 -2
  91. package/dist/cdn/{ZTVEA5RF.js → FTU72FJP.js} +1 -1
  92. package/dist/cdn/FTZVWKBM.js +18 -0
  93. package/dist/cdn/{L64TRNGF.js → G7O5ZQAS.js} +2 -2
  94. package/dist/cdn/{BJ2EZS3Z.js → GGUXZIFJ.js} +2 -2
  95. package/dist/cdn/{THVVAYVQ.js → GOHGYRVC.js} +2 -2
  96. package/dist/cdn/{7CKL36AK.js → GVYKKXOF.js} +1 -1
  97. package/dist/cdn/{WCEJDYKE.js → GX7IKAB3.js} +2 -2
  98. package/dist/cdn/{3OQDT2PX.js → GXDIQYY2.js} +2 -2
  99. package/dist/cdn/{EV7HBUTQ.js → GZOFO77D.js} +2 -2
  100. package/dist/cdn/{Z2Z7VXON.js → H2NMQTHO.js} +2 -2
  101. package/dist/cdn/{XRQCOVSZ.js → HEU5ADOI.js} +2 -2
  102. package/dist/cdn/{WXAL7UR7.js → HHBX6OJB.js} +2 -2
  103. package/dist/cdn/{G4WDN3WM.js → HK7LGCJZ.js} +2 -2
  104. package/dist/cdn/{6FO4Q3E6.js → HL27PBID.js} +2 -2
  105. package/dist/cdn/{ETE327MH.js → HM3CN2LF.js} +1 -1
  106. package/dist/cdn/HOBO4ZBX.js +18 -0
  107. package/dist/cdn/{XPISGP4X.js → HPUHAFAJ.js} +2 -2
  108. package/dist/cdn/{AEA2NSI4.js → HZY6CHAU.js} +2 -2
  109. package/dist/cdn/IHWO6477.js +4 -0
  110. package/dist/cdn/{HYXJ3R6E.js → IPINIAHE.js} +2 -2
  111. package/dist/cdn/IPPAEITK.js +18 -0
  112. package/dist/cdn/{ZG5TZZOJ.js → IS6FZQDO.js} +2 -2
  113. package/dist/cdn/{TX5LUCPB.js → IYDQFMAO.js} +2 -2
  114. package/dist/cdn/{UVSVC3WI.js → IYWM6PGT.js} +2 -2
  115. package/dist/cdn/{2N36AAZW.js → J2OGB6WD.js} +2 -2
  116. package/dist/cdn/{KZLVAEI2.js → J7HFP2SN.js} +2 -2
  117. package/dist/cdn/JCYSJLP3.js +4 -0
  118. package/dist/cdn/{YVCCBY5A.js → JF6NRNBV.js} +2 -2
  119. package/dist/cdn/{UVB3QATU.js → JGMZYU54.js} +2 -2
  120. package/dist/cdn/{JUWEYEWN.js → JJ7NWRPI.js} +2 -2
  121. package/dist/cdn/{3ZX46XLT.js → JO3IHRR7.js} +2 -2
  122. package/dist/cdn/{TG55KKIP.js → JPPXUPM6.js} +2 -2
  123. package/dist/cdn/{H3LE6IXK.js → JWXQ3ZOM.js} +2 -2
  124. package/dist/cdn/{LA6C6JAO.js → JY5VS7K2.js} +2 -2
  125. package/dist/cdn/{3QSJRZNT.js → K32Q3OHF.js} +2 -2
  126. package/dist/cdn/{ZG3PPQ55.js → K3OXWSA7.js} +2 -2
  127. package/dist/cdn/{OFNMFDPR.js → K3UY4EFA.js} +1 -1
  128. package/dist/cdn/{JUK6YN7M.js → K54ZYQZT.js} +2 -2
  129. package/dist/cdn/{MCVVXWUA.js → K77Y37K5.js} +2 -2
  130. package/dist/cdn/{J77NMDV5.js → KGLXLAY3.js} +1 -1
  131. package/dist/cdn/{BWYEDUZX.js → KMEQX57W.js} +2 -2
  132. package/dist/cdn/{RBNUMIQJ.js → KZ6GOXIR.js} +2 -2
  133. package/dist/cdn/{UKJQTCNY.js → L4A3TP42.js} +2 -2
  134. package/dist/cdn/{CE3PZUP3.js → L7V6N63X.js} +1 -1
  135. package/dist/cdn/LG5JARXR.js +4 -0
  136. package/dist/cdn/{CFSCFQIJ.js → LIOV5Z2T.js} +2 -2
  137. package/dist/cdn/{NNCVEOOC.js → LJ3WFFB2.js} +2 -2
  138. package/dist/cdn/{WGNTLBNS.js → LSGWT4PB.js} +2 -2
  139. package/dist/cdn/LU62UIKJ.js +4 -0
  140. package/dist/cdn/{HXJN6FVT.js → LUS4XGFV.js} +2 -2
  141. package/dist/cdn/{CKIF7ITD.js → LWII4SFH.js} +2 -2
  142. package/dist/cdn/{V2N5MGKX.js → LWT5ZPS5.js} +2 -2
  143. package/dist/cdn/M2JNL3YZ.js +5 -0
  144. package/dist/cdn/{POK67CCI.js → M3NHYVE5.js} +2 -2
  145. package/dist/cdn/M4SLCXFR.js +4 -0
  146. package/dist/cdn/{QHW6LKVE.js → M5PZM6MR.js} +2 -2
  147. package/dist/cdn/{2TGWW2EE.js → M6OYWH72.js} +2 -2
  148. package/dist/cdn/{TV6MVRLN.js → MCYHMQTR.js} +2 -2
  149. package/dist/cdn/{XFVJUICD.js → MKILC4CS.js} +2 -2
  150. package/dist/cdn/{MSJNBWKG.js → MMSYI6GH.js} +1 -1
  151. package/dist/cdn/{POZF7VFZ.js → MNIQAXS4.js} +1 -1
  152. package/dist/cdn/{GPUC2YAZ.js → MO6ELGZS.js} +1 -1
  153. package/dist/cdn/{PF6ZRQJ2.js → MWYXGDMB.js} +2 -2
  154. package/dist/cdn/{SHGCXAGA.js → NAICN42V.js} +2 -2
  155. package/dist/cdn/{NNWPGIM6.js → NF5LHYAO.js} +2 -2
  156. package/dist/cdn/{XM7J7FRK.js → NG43RYFN.js} +2 -2
  157. package/dist/cdn/{R7URESQA.js → NP3DZUOG.js} +2 -2
  158. package/dist/cdn/{UHGVCTXE.js → NSTT2IOP.js} +2 -2
  159. package/dist/cdn/{ASDGPISP.js → NUYU2UBS.js} +2 -2
  160. package/dist/cdn/{W7FRKETT.js → O4DKV6WM.js} +2 -2
  161. package/dist/cdn/{EQREHHBY.js → OBISJL4B.js} +2 -2
  162. package/dist/cdn/{U3MG73BI.js → OBQ5ECDX.js} +2 -2
  163. package/dist/cdn/{V6FMWC6D.js → OGAB72G7.js} +2 -2
  164. package/dist/cdn/OIDBNRLF.js +18 -0
  165. package/dist/cdn/{O5AVB7EE.js → OM7V7IHH.js} +2 -2
  166. package/dist/cdn/{FOESISXO.js → OOWZZIWB.js} +2 -2
  167. package/dist/cdn/{UXHI6HKV.js → OUIN7APR.js} +2 -2
  168. package/dist/cdn/{KU62FCLR.js → OVEGZJHW.js} +2 -2
  169. package/dist/cdn/{53ZP5E2V.js → OX5DEXZX.js} +2 -2
  170. package/dist/cdn/{CQDNZU4P.js → P67BXX6L.js} +2 -2
  171. package/dist/cdn/{U6ZZFZ5O.js → P6FYDYAK.js} +2 -2
  172. package/dist/cdn/{KOI3XUTI.js → P7U5QF6I.js} +2 -2
  173. package/dist/cdn/{23YJ5GOE.js → PALTMKJB.js} +2 -2
  174. package/dist/cdn/{NWN7Y7AR.js → PDHB7K5V.js} +2 -2
  175. package/dist/cdn/{FJEXAORI.js → PETX35OI.js} +2 -2
  176. package/dist/cdn/{NSEF4U3D.js → PNF3ZUSB.js} +2 -2
  177. package/dist/cdn/{2ECBDDEM.js → PRQU6X7H.js} +2 -2
  178. package/dist/cdn/{T2AD4OLC.js → PU3J4MZ3.js} +2 -2
  179. package/dist/cdn/PVJCHRCH.js +4 -0
  180. package/dist/cdn/{KFA5XB23.js → Q5X2S4MD.js} +1 -1
  181. package/dist/cdn/{NPBGB25Y.js → Q5ZQOFB2.js} +2 -2
  182. package/dist/cdn/{LRH5JW4Y.js → QDZSCCYH.js} +2 -2
  183. package/dist/cdn/{3QD6OQGN.js → QMAKEUC2.js} +2 -2
  184. package/dist/cdn/{YJEMF2Z6.js → QML66ZJW.js} +2 -2
  185. package/dist/cdn/{ZNZZHZ2Q.js → QTDIQRHK.js} +2 -2
  186. package/dist/cdn/{ON5Q5T5J.js → R4O6DVY6.js} +2 -2
  187. package/dist/cdn/{M3BZTOYS.js → R7E7P3BW.js} +2 -2
  188. package/dist/cdn/{AZ5AUWSV.js → R7FDRHLT.js} +2 -2
  189. package/dist/cdn/RMITVNXV.js +4 -0
  190. package/dist/cdn/{KH2BTRXI.js → ROI7GMNK.js} +1 -1
  191. package/dist/cdn/{JA2BLSMQ.js → RP7K3LJT.js} +2 -2
  192. package/dist/cdn/{HTVK2NSG.js → RQN5FKM7.js} +2 -2
  193. package/dist/cdn/{FFUCQ7IU.js → RS4LILZG.js} +2 -2
  194. package/dist/cdn/{DK32RK5U.js → RSJCSZWF.js} +1 -1
  195. package/dist/cdn/{KETFCI2P.js → RTKXKSUC.js} +2 -2
  196. package/dist/cdn/{UENHZJI6.js → RTT5SBQJ.js} +2 -2
  197. package/dist/cdn/{MV3DKW2Y.js → RUC3STWU.js} +2 -2
  198. package/dist/cdn/{2Z7AL4WY.js → S2O7NNWL.js} +2 -2
  199. package/dist/cdn/{GRBGQ3CY.js → S2W3JVOQ.js} +2 -2
  200. package/dist/cdn/{IGELH7BW.js → S3CJI2RF.js} +1 -1
  201. package/dist/cdn/{WYW6UPKP.js → SF6257JR.js} +1 -1
  202. package/dist/cdn/{6YGV5ZHN.js → SKHIZ4QA.js} +2 -2
  203. package/dist/cdn/{YP5ARNCZ.js → SMEMKVDF.js} +2 -2
  204. package/dist/cdn/{E2ACXLVV.js → SP7LJ3CU.js} +2 -2
  205. package/dist/cdn/{QP5IG75V.js → SQOKNHQQ.js} +2 -2
  206. package/dist/cdn/{Z3Z7UPMU.js → SQVXPJDM.js} +1 -1
  207. package/dist/cdn/{TLBQLRUA.js → STTUGNU7.js} +2 -2
  208. package/dist/cdn/{ODMUEFOT.js → SZGXZADB.js} +2 -2
  209. package/dist/cdn/{HRNJ6PPS.js → T5YBVEAU.js} +2 -2
  210. package/dist/cdn/{7BW7YOBF.js → TKPHO475.js} +2 -2
  211. package/dist/cdn/{CW6CCZ73.js → TM2VJ6VT.js} +2 -2
  212. package/dist/cdn/{KQ3XW3HT.js → TOWUBB5U.js} +2 -2
  213. package/dist/cdn/{25ZSQ4Y4.js → TPK7LVDB.js} +2 -2
  214. package/dist/cdn/{HAIBENUV.js → TVNGRZHA.js} +2 -2
  215. package/dist/cdn/{NG5O4EF2.js → TVWOFQVC.js} +2 -2
  216. package/dist/cdn/{NLAAOG7K.js → U2FJYTYH.js} +2 -2
  217. package/dist/cdn/{M4EOHQP3.js → U2VKBVBV.js} +2 -2
  218. package/dist/cdn/{QW25OYIP.js → U2ZT36OX.js} +2 -2
  219. package/dist/cdn/{JNJU5SA4.js → U6CTX64Y.js} +2 -2
  220. package/dist/cdn/UBBZOJAY.js +4 -0
  221. package/dist/cdn/{OQ2OHE4S.js → UFTXRN5O.js} +2 -2
  222. package/dist/cdn/{LREJHPPN.js → UFUUQSDI.js} +2 -2
  223. package/dist/cdn/{SWD5EGIW.js → UGDH6OHK.js} +1 -1
  224. package/dist/cdn/{DIR7QOWJ.js → UKSNIHPE.js} +2 -2
  225. package/dist/cdn/{6XL3O76R.js → UOCFZXCI.js} +2 -2
  226. package/dist/cdn/{NARZWJOL.js → UQQ7WIIG.js} +1 -1
  227. package/dist/cdn/{4W3OTNVQ.js → UQQLSZLW.js} +2 -2
  228. package/dist/cdn/{PSTNEQMA.js → UWTU3QFZ.js} +2 -2
  229. package/dist/cdn/{JYB6HV7M.js → UWZF6TGQ.js} +2 -2
  230. package/dist/cdn/{BRBPMYFG.js → V5TS3XKZ.js} +2 -2
  231. package/dist/cdn/{TLP53ZXS.js → VA5AX3JY.js} +2 -2
  232. package/dist/cdn/{45JWP6I3.js → VC55K7FD.js} +2 -2
  233. package/dist/cdn/{CGBW4C56.js → VEYCZIDH.js} +2 -2
  234. package/dist/cdn/{NZFOFQFK.js → VFC3KWOY.js} +2 -2
  235. package/dist/cdn/{73ZW6AZO.js → VHAKVCYG.js} +2 -2
  236. package/dist/cdn/{ZRDVHXEL.js → VHGLIJMI.js} +2 -2
  237. package/dist/cdn/{QJNE3P25.js → VJ5NWA7C.js} +2 -2
  238. package/dist/cdn/{4FV35CZ2.js → VLP6DDYE.js} +4 -4
  239. package/dist/cdn/{ME35VNVL.js → VLURIFFB.js} +2 -2
  240. package/dist/cdn/{4I5HWIEN.js → VNHRV4W2.js} +2 -2
  241. package/dist/cdn/{MW5Q3YCW.js → VVZJNJ36.js} +2 -2
  242. package/dist/cdn/{JY42QHUW.js → VWINHHXS.js} +2 -2
  243. package/dist/cdn/VYN2OV3J.js +4 -0
  244. package/dist/cdn/{W47KT5GG.js → W74YB7LO.js} +2 -2
  245. package/dist/cdn/{BEGVEBJJ.js → WK6KWLP7.js} +2 -2
  246. package/dist/cdn/{ANZR4N6V.js → WKWVZYU2.js} +2 -2
  247. package/dist/cdn/{HRTSR2SE.js → WMVWR4TI.js} +1 -1
  248. package/dist/cdn/{EMXWEQBM.js → WRLGEWRN.js} +1 -1
  249. package/dist/cdn/{VD6PGA3P.js → WSTFKNIK.js} +2 -2
  250. package/dist/cdn/{PFAB7BY6.js → WW6QSBNO.js} +2 -2
  251. package/dist/cdn/{2OTIFQIN.js → X34MWL2J.js} +2 -2
  252. package/dist/cdn/X3KFABXY.js +4 -0
  253. package/dist/cdn/{UZCXGQDN.js → X3OZJPGV.js} +2 -2
  254. package/dist/cdn/{RFHVHPG4.js → XAIHFHBP.js} +2 -2
  255. package/dist/cdn/{3YDR5TNM.js → XBMRPDNE.js} +2 -2
  256. package/dist/cdn/{VDWURYIO.js → XCH4UNRZ.js} +2 -2
  257. package/dist/cdn/{34ISDA3J.js → XGKEI55O.js} +2 -2
  258. package/dist/cdn/{FQH25K2H.js → XOEQRL52.js} +2 -2
  259. package/dist/cdn/{7DG3DSPE.js → Y2H34EQP.js} +2 -2
  260. package/dist/cdn/{ZUSH4SCO.js → Y2TULO3A.js} +2 -2
  261. package/dist/cdn/{R6U7AID6.js → Y2VUFZUV.js} +1 -1
  262. package/dist/cdn/{DIELHCE6.js → Y3FQP4NF.js} +2 -2
  263. package/dist/cdn/{ODRDYVBD.js → YSOIAQKF.js} +2 -2
  264. package/dist/cdn/{T6VGLWYO.js → YVIZHCBF.js} +2 -2
  265. package/dist/cdn/{YNVH5WOM.js → YYROVQF2.js} +1 -1
  266. package/dist/cdn/{EYCGOAQV.js → YZ4LCVJ7.js} +2 -2
  267. package/dist/cdn/{4NZAMBEG.js → Z2KZ6VY2.js} +2 -2
  268. package/dist/cdn/{EC5BCFOV.js → ZADW6QWU.js} +2 -2
  269. package/dist/cdn/{GGFHUOLW.js → ZFEYSYS5.js} +2 -2
  270. package/dist/cdn/{FHZLYB2S.js → ZFS6FBQX.js} +2 -2
  271. package/dist/cdn/{LGJZ53IQ.js → ZGTCOKGY.js} +2 -2
  272. package/dist/cdn/{ZVNQTPA6.js → ZJID6JNT.js} +3 -3
  273. package/dist/cdn/{UTA3GVUF.js → ZMPNHGIE.js} +2 -2
  274. package/dist/cdn/{L5RFIDWK.js → ZRRRCRK3.js} +2 -2
  275. package/dist/cdn/ZTFR55FL.js +18 -0
  276. package/dist/cdn/{IHYLQW3P.js → ZUNKV2EF.js} +1 -1
  277. package/dist/cdn/{7VOV57VQ.js → ZXQJLGRP.js} +4 -4
  278. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +1 -1
  279. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +1 -1
  280. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
  281. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
  282. package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.en.json +1 -1
  283. package/dist/cdn/assets/solutions-deployed-shell/t9n/messages.json +1 -1
  284. package/dist/cdn/index.js +2 -2
  285. package/dist/chunks/Auth.js +249 -0
  286. package/dist/chunks/cardFetchingUtils.js +476 -0
  287. package/dist/chunks/common.js +1 -1
  288. package/dist/chunks/deployAppContexts.js +1 -1
  289. package/dist/chunks/downloadUtils.js +1 -1
  290. package/dist/chunks/index.js +405 -313
  291. package/dist/chunks/interfaces.js +21 -17
  292. package/dist/chunks/loadModules.js +1 -1
  293. package/dist/chunks/mapViewUtils.js +1 -1
  294. package/dist/chunks/pciUtils.js +1 -1
  295. package/dist/chunks/popupUtils.js +1 -1
  296. package/dist/chunks/publicNotificationStore.js +1 -1
  297. package/dist/chunks/queryUtils.js +1 -1
  298. package/dist/chunks/runtime.js +1 -1
  299. package/dist/chunks/solution-store.js +1 -1
  300. package/dist/chunks/templates.js +1 -1
  301. package/dist/chunks/useT9n.js +1 -1
  302. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  303. package/dist/components/basemap-gallery/customElement.js +1 -1
  304. package/dist/components/buffer-tools/customElement.js +1 -1
  305. package/dist/components/card-manager/customElement.js +1 -1
  306. package/dist/components/consent-manager/customElement.js +3 -3
  307. package/dist/components/create-feature/customElement.js +1 -1
  308. package/dist/components/create-related-feature/customElement.js +1 -1
  309. package/dist/components/crowdsource-manager/customElement.js +10 -10
  310. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  311. package/dist/components/deduct-calculator/customElement.js +1 -1
  312. package/dist/components/delete-button/customElement.js +1 -1
  313. package/dist/components/delete-dialog/customElement.js +1 -1
  314. package/dist/components/edit-card/customElement.js +1 -1
  315. package/dist/components/feature-details/customElement.js +1 -1
  316. package/dist/components/feature-list/customElement.js +1 -1
  317. package/dist/components/field-selection/customElement.js +1 -1
  318. package/dist/components/floor-filter/customElement.js +1 -1
  319. package/dist/components/info-card/customElement.js +1 -1
  320. package/dist/components/json-editor/customElement.js +1 -1
  321. package/dist/components/layer-list/customElement.js +1 -1
  322. package/dist/components/layer-table/customElement.d.ts +0 -6
  323. package/dist/components/layer-table/customElement.js +47 -57
  324. package/dist/components/layer-table/index.d.ts +0 -2
  325. package/dist/components/layer-table/index.js +0 -2
  326. package/dist/components/map-card/customElement.js +1 -1
  327. package/dist/components/map-draw-tools/customElement.js +2 -2
  328. package/dist/components/map-fullscreen/customElement.js +1 -1
  329. package/dist/components/map-layer-picker/customElement.js +1 -1
  330. package/dist/components/map-legend/customElement.js +1 -1
  331. package/dist/components/map-picker/customElement.js +1 -1
  332. package/dist/components/map-search/customElement.js +1 -1
  333. package/dist/components/map-select-tools/customElement.js +1 -1
  334. package/dist/components/map-tools/customElement.js +1 -1
  335. package/dist/components/pci-calculator/customElement.js +1 -1
  336. package/dist/components/pdf-download/customElement.js +1 -1
  337. package/dist/components/public-notification/customElement.js +14 -14
  338. package/dist/components/refine-selection/customElement.js +2 -2
  339. package/dist/components/selection-tool/customElement.js +1 -1
  340. package/dist/components/solution-article-card/customElement.js +1 -1
  341. package/dist/components/solution-configuration/customElement.js +1 -1
  342. package/dist/components/solution-configure-panel/customElement.js +1 -1
  343. package/dist/components/solution-configure-titles/customElement.js +1 -1
  344. package/dist/components/solution-contents/customElement.js +1 -1
  345. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  346. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  347. package/dist/components/solution-deploy-panel/customElement.d.ts +12 -0
  348. package/dist/components/solution-deploy-panel/customElement.js +44 -16
  349. package/dist/components/solution-deploy-panel/index.d.ts +10 -0
  350. package/dist/components/solution-deploy-panel/index.js +10 -0
  351. package/dist/components/solution-deployed-card/customElement.js +1 -1
  352. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  353. package/dist/components/solution-details-card/customElement.js +1 -1
  354. package/dist/components/solution-details-panel/customElement.js +1 -1
  355. package/dist/components/solution-item/customElement.js +1 -1
  356. package/dist/components/solution-item-accordion/customElement.js +1 -1
  357. package/dist/components/solution-item-details/customElement.js +1 -1
  358. package/dist/components/solution-item-icon/customElement.js +1 -1
  359. package/dist/components/solution-item-sharing/customElement.js +1 -1
  360. package/dist/components/solution-items-diagram/customElement.js +1 -1
  361. package/dist/components/solution-organization-variables/customElement.js +1 -1
  362. package/dist/components/solution-resource-item/customElement.js +1 -1
  363. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  364. package/dist/components/solution-spatial-ref/customElement.js +2 -2
  365. package/dist/components/solution-template-data/customElement.js +1 -1
  366. package/dist/components/solution-variables/customElement.js +1 -1
  367. package/dist/components/solutions-all-panel/customElement.d.ts +2 -3
  368. package/dist/components/solutions-all-panel/customElement.js +84 -521
  369. package/dist/components/solutions-all-shell/customElement.d.ts +1 -0
  370. package/dist/components/solutions-all-shell/customElement.js +29 -24
  371. package/dist/components/solutions-article-panel/customElement.js +1 -1
  372. package/dist/components/solutions-articles/customElement.js +1 -1
  373. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  374. package/dist/components/solutions-deployed-panel/customElement.d.ts +54 -0
  375. package/dist/components/solutions-deployed-panel/customElement.js +66 -17
  376. package/dist/components/solutions-deployed-panel/index.d.ts +2 -0
  377. package/dist/components/solutions-deployed-panel/index.js +2 -0
  378. package/dist/components/solutions-deployed-shell/customElement.d.ts +19 -0
  379. package/dist/components/solutions-deployed-shell/customElement.js +111 -17
  380. package/dist/components/solutions-deployed-shell/index.d.ts +10 -0
  381. package/dist/components/solutions-deployed-shell/index.js +10 -0
  382. package/dist/components/solutions-filter-panel/customElement.js +2 -2
  383. package/dist/components/spatial-ref/customElement.js +1 -1
  384. package/dist/components/store-manager/customElement.js +1 -1
  385. package/dist/docs/api.json +662 -97
  386. package/dist/docs/docs.json +504 -38
  387. package/dist/docs/vscode.html-custom-data.json +105 -12
  388. package/dist/docs/web-types.json +207 -31
  389. package/dist/index.d.ts +31 -2
  390. package/dist/index.js +1 -1
  391. package/dist/loader.js +5 -5
  392. package/dist/types/lumina.d.ts +7 -4
  393. package/dist/types/preact.d.ts +7 -4
  394. package/dist/types/react.d.ts +7 -4
  395. package/dist/types/stencil.d.ts +7 -4
  396. package/dist/utils/CardsFetcher.d.ts +5 -22
  397. package/dist/utils/cardFetchingUtils.d.ts +24 -0
  398. package/dist/utils/cardsHelpers.d.ts +2 -47
  399. package/dist/utils/helpers.d.ts +1 -21
  400. package/dist/utils/interfaces.d.ts +94 -1
  401. package/package.json +148 -147
  402. package/dist/cdn/3QIZTD4O.js +0 -4
  403. package/dist/cdn/7RN23NYN.js +0 -18
  404. package/dist/cdn/BEOKELUC.js +0 -4
  405. package/dist/cdn/BJFZKZXY.js +0 -4
  406. package/dist/cdn/G36LLGTJ.js +0 -4
  407. package/dist/cdn/H7LNTTBF.js +0 -4
  408. package/dist/cdn/HJNIOQBX.js +0 -4
  409. package/dist/cdn/HNLKT2BY.js +0 -4
  410. package/dist/cdn/HR7NBZ23.js +0 -18
  411. package/dist/cdn/I5FXIJHX.js +0 -4
  412. package/dist/cdn/IY54OHHB.js +0 -18
  413. package/dist/cdn/KONO75BP.js +0 -4
  414. package/dist/cdn/L4DGTHZ5.js +0 -5
  415. package/dist/cdn/LGMP6U2I.js +0 -4
  416. package/dist/cdn/MXFGKNUJ.js +0 -4
  417. package/dist/cdn/RKPAK25A.js +0 -18
  418. package/dist/cdn/U7SYT67J.js +0 -4
  419. package/dist/cdn/VDRSRH6X.js +0 -18
  420. package/dist/cdn/WU3WC633.js +0 -18
  421. package/dist/cdn/Y7RZLFOV.js +0 -4
  422. package/dist/cdn/ZVQ7AOB6.js +0 -18
  423. package/dist/cdn/assets/solutions-all-shell/appConfig.json +0 -1
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import"./GPUC2YAZ.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.0.0-next.20250527.1 */
4
+ import"./MO6ELGZS.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as i}from"./KOI3XUTI.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
3
+ v1.0.0-next.20250527.1 */
4
+ import{a as i}from"./P7U5QF6I.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as V}from"./73ZW6AZO.js";import{a as s}from"./DW5MNUDP.js";import{a as k}from"./DNJH5UNS.js";import{b as x}from"./NARZWJOL.js";import{d as H,e as X,g as z,h as Q}from"./U7SYT67J.js";import{a as h,c as N,f as P,g as T,h as B,i as C,j as J,l as R,m as w}from"./SYQ76GDV.js";import{a as U,b as M,d as I}from"./ZUSH4SCO.js";import"./G4WDN3WM.js";import"./IGELH7BW.js";import"./OFNMFDPR.js";import{a as S,b as c,c as u,d as L,e as E,f as K}from"./Y7AFN6OI.js";import"./Z3Z7UPMU.js";import{d as G}from"./U3MG73BI.js";import"./ND6EAOAK.js";import{a as m}from"./POZF7VFZ.js";import"./KH2BTRXI.js";import"./JYB6HV7M.js";import"./HAIBENUV.js";import{f as O,h as j}from"./UKJQTCNY.js";import"./ETE327MH.js";import"./CE3PZUP3.js";import{a as d}from"./TQT42IK7.js";import"./R6U7AID6.js";import"./GPUC2YAZ.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var pe=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function $(e){return pe.test(e)}var ce=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},me=async(e,t,o)=>{let r=m(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},ue=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},Y=async(e,t)=>{let o=await ce(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await ue(e.id,t):await me(e.id,e.schedule,t)},W=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=H();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function Z(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=X(e.item,t);let i=N(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:V("content",t.id),thumbnail:i,contentEditUrl:B(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=$(t.url)?fe(e.item,r,o):ge(e.item,r,o),r.server){t.serverQueryCapability=u(c.QUERY,r.server),t.serverExtractCapability=u(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function fe(e,t,o){let r=q(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=u(c.QUERY,t.server),a.serverExtractCapability=u(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function ge(e,t,o){let r=q(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function q(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function ee(e,t,o){let a=new w(v()).storeToEntity(e,{});return Z(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],oe=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function re(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function ae(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(){return oe.map(e=>({type:"dynamic",format:e}))}function ne(e,t){let o=[],r={createReplica:()=>{o=re(t)},paging:()=>{o=se()},fgdb:()=>{o=ie()},exportImage:()=>{o=ae(t)}};return r[e]&&r[e](),o}function de(e){let t=E(e),o=ne(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,p)=>{i.push({key:`additionalResource::${p}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(g=>!a.formats.find(f=>f.key===g.key)),p=a.formats.filter(g=>i.find(f=>f.key===g.key));return{flowType:t,formats:[...p,...l]}}return{flowType:t,formats:i}}var ye={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function ht(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,m(ye));return a=await z(a,t),r.storeToEntity(a,{})}async function St(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),p=S(e)&&n!=="createReplica";if(K(e)&&n&&l&&!p){let y=m(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let f=await Q(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(u(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),le={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:le}),F.server=_}else F.server=y}return W(t,e.access)&&(b(e._forceUpdate,[!0])&&await J(o.id,t),delete e._forceUpdate,await Y(e,t)),ee(f,t,F)}async function Pt(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function Tt(e,t){var o;let r=m(e);delete r.downloadFormats;let a=m(r);if(E(a)&&e.downloadFormats){let n=de(a),l=e.downloadFormats.map(p=>{let{label:g}=p;return k(p,["label"])});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=(o=e.location)===null||o===void 0?void 0:o.extent,a}export{ht as createContent,Pt as deleteContent,Tt as editorToContent,St as updateContent};
3
+ v1.0.0-next.20250527.1 */
4
+ import{a as V}from"./VHAKVCYG.js";import{a as s}from"./EIJGEZ3R.js";import{a as k}from"./BNMMRZMR.js";import{b as x}from"./UQQ7WIIG.js";import{d as H,e as X,g as z,h as Q}from"./PVJCHRCH.js";import{a as h,c as N,f as P,g as T,h as B,i as C,j as J,l as R,m as w}from"./5TVQZ22P.js";import{a as U,b as M,d as I}from"./Y2TULO3A.js";import"./HK7LGCJZ.js";import"./S3CJI2RF.js";import"./K3UY4EFA.js";import{a as S,b as c,c as u,d as L,e as E,f as K}from"./4C3SN7HO.js";import"./SQVXPJDM.js";import{d as G}from"./OBQ5ECDX.js";import"./72MDJVHR.js";import{a as m}from"./MNIQAXS4.js";import"./ROI7GMNK.js";import"./UWZF6TGQ.js";import"./TVNGRZHA.js";import{f as O,h as j}from"./L4A3TP42.js";import"./HM3CN2LF.js";import"./L7V6N63X.js";import{a as d}from"./BYBUA3SD.js";import"./Y2VUFZUV.js";import"./MO6ELGZS.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var pe=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function $(e){return pe.test(e)}var ce=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},me=async(e,t,o)=>{let r=m(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},ue=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},Y=async(e,t)=>{let o=await ce(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await ue(e.id,t):await me(e.id,e.schedule,t)},W=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=H();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function Z(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=X(e.item,t);let i=N(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:V("content",t.id),thumbnail:i,contentEditUrl:B(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=$(t.url)?fe(e.item,r,o):ge(e.item,r,o),r.server){t.serverQueryCapability=u(c.QUERY,r.server),t.serverExtractCapability=u(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function fe(e,t,o){let r=q(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=u(c.QUERY,t.server),a.serverExtractCapability=u(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function ge(e,t,o){let r=q(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function q(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function ee(e,t,o){let a=new w(v()).storeToEntity(e,{});return Z(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],oe=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function re(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function ae(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(){return oe.map(e=>({type:"dynamic",format:e}))}function ne(e,t){let o=[],r={createReplica:()=>{o=re(t)},paging:()=>{o=se()},fgdb:()=>{o=ie()},exportImage:()=>{o=ae(t)}};return r[e]&&r[e](),o}function de(e){let t=E(e),o=ne(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,p)=>{i.push({key:`additionalResource::${p}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(g=>!a.formats.find(f=>f.key===g.key)),p=a.formats.filter(g=>i.find(f=>f.key===g.key));return{flowType:t,formats:[...p,...l]}}return{flowType:t,formats:i}}var ye={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function ht(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,m(ye));return a=await z(a,t),r.storeToEntity(a,{})}async function St(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),p=S(e)&&n!=="createReplica";if(K(e)&&n&&l&&!p){let y=m(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let f=await Q(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(u(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),le={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:le}),F.server=_}else F.server=y}return W(t,e.access)&&(b(e._forceUpdate,[!0])&&await J(o.id,t),delete e._forceUpdate,await Y(e,t)),ee(f,t,F)}async function Pt(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function Tt(e,t){var o;let r=m(e);delete r.downloadFormats;let a=m(r);if(E(a)&&e.downloadFormats){let n=de(a),l=e.downloadFormats.map(p=>{let{label:g}=p;return k(p,["label"])});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=(o=e.location)===null||o===void 0?void 0:o.extent,a}export{ht as createContent,Pt as deleteContent,Tt as editorToContent,St as updateContent};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
3
+ v1.0.0-next.20250527.1 */
4
4
  function u(r,t={}){return(...e)=>r(...e).catch(n=>t)}export{u as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
3
+ v1.0.0-next.20250527.1 */
4
4
  var e=["hub:channel","hub:channel:create","hub:channel:delete","hub:channel:edit","hub:channel:view","hub:channel:owner","hub:channel:manage","hub:channel:read","hub:channel:write","hub:channel:readWrite","hub:channel:moderate"],n="hub:channel:none",h={channelRoot:"hub:channel",channelCreate:"hub:channel:create",channelDelete:"hub:channel:delete",channelEdit:"hub:channel:edit",channelView:"hub:channel:view",channelOwner:"hub:channel:owner",channelManage:"hub:channel:manage",channelRead:"hub:channel:read",channelWrite:"hub:channel:write",channelReadWrite:"hub:channel:readWrite",channelModerate:"hub:channel:moderate"};export{e as a,n as b,h as c};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a,b}from"./JZPIPYHU.js";import"./BZPPRNYK.js";import"./R6U7AID6.js";import"./EMXWEQBM.js";import"./GPUC2YAZ.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.0.0-next.20250527.1 */
4
+ import{a,b}from"./EJNMBFZU.js";import"./2B3Q4HD7.js";import"./Y2VUFZUV.js";import"./WRLGEWRN.js";import"./MO6ELGZS.js";export{a as PageEditorTypes,b as PageSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a}from"./MBYLGI4U.js";import{a as i}from"./UTA3GVUF.js";import"./NMDVSB55.js";import"./KOI3XUTI.js";import{a as l,b as r}from"./ELCX7XI2.js";import"./JYB6HV7M.js";import"./HAIBENUV.js";import"./ETE327MH.js";import"./CE3PZUP3.js";import"./TQT42IK7.js";import{a as t}from"./XRQCOVSZ.js";import"./DK32RK5U.js";import"./UVB3QATU.js";import"./WYW6UPKP.js";import"./ASDGPISP.js";import"./JZPIPYHU.js";import"./EQREHHBY.js";import"./3MEA5DUO.js";import"./TV6MVRLN.js";import"./25ZSQ4Y4.js";import"./NG5O4EF2.js";import"./ON5Q5T5J.js";import"./KFA5XB23.js";import"./TMKXDITO.js";import"./7CKL36AK.js";import"./3ZX46XLT.js";import"./SHGCXAGA.js";import"./EV7HBUTQ.js";import"./IHYLQW3P.js";import"./ME35VNVL.js";import"./BZPPRNYK.js";import"./R6U7AID6.js";import"./EMXWEQBM.js";import"./GPUC2YAZ.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
3
+ v1.0.0-next.20250527.1 */
4
+ import{a}from"./BFX54VT3.js";import{a as i}from"./ZMPNHGIE.js";import"./3BGUPUE3.js";import"./P7U5QF6I.js";import{a as l,b as r}from"./CBUD7IB5.js";import"./UWZF6TGQ.js";import"./TVNGRZHA.js";import"./HM3CN2LF.js";import"./L7V6N63X.js";import"./BYBUA3SD.js";import{a as t}from"./HEU5ADOI.js";import"./RSJCSZWF.js";import"./JGMZYU54.js";import"./SF6257JR.js";import"./NUYU2UBS.js";import"./EJNMBFZU.js";import"./OBISJL4B.js";import"./DZR5OU2Z.js";import"./MCYHMQTR.js";import"./TPK7LVDB.js";import"./TVWOFQVC.js";import"./R4O6DVY6.js";import"./Q5X2S4MD.js";import"./47E56IWZ.js";import"./GVYKKXOF.js";import"./JO3IHRR7.js";import"./NAICN42V.js";import"./GZOFO77D.js";import"./ZUNKV2EF.js";import"./VLURIFFB.js";import"./2B3Q4HD7.js";import"./Y2VUFZUV.js";import"./WRLGEWRN.js";import"./MO6ELGZS.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as E,b as B,c as Ae,d as re,f as xe,g as ze,h as ve,i as Pe,k as Te,q as le,u as $e,v as K,w as fe,x as Fe,y as Ue}from"./KU62FCLR.js";import"./PSTNEQMA.js";import"./FQH25K2H.js";import{C as Ce,E as ke,c as Re,z as Se}from"./YNVH5WOM.js";import{a as Me,c as g,e as Ee,h as ce}from"./A62HEPRS.js";import"./GPUC2YAZ.js";var Ne=96;function N(a){return a?a/72*Ne:0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,n){(function(c,s){s(n)})(Ve,function(c){var s="http://www.w3.org/",l="".concat(s,"2000/svg"),o="".concat(s,"1999/xlink"),u=[],_=function(e,t){var i={};return Object.keys(e).forEach(function(r){i[r]=e[r]}),t&&Object.keys(t).forEach(function(r){i[r]=t[r]}),i},b=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},L=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},k=function(e,t,i){if(t.vnodeSelector!==""){for(var r=i;r<e.length;r++)if(b(e[r],t))return r}return-1},R=function(e,t,i,r){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,S=p?p.key===void 0?p.bind:p.key:void 0;if(!S){for(var h=0;h<e.length;h++)if(h!==t){var f=e[h];if(b(f,d))throw{error:new Error("".concat(i.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(r==="added"?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:i,childNode:d}}}}},P=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},x=[],z=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},$=function(){z=!1,x.forEach(A),x.length=0},D=function(e){x.push(e),z||(z=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback($,{timeout:16}):setTimeout($,16))},J=function(e){var t=e.domNode;if(e.properties){var i=e.properties.exitAnimation;if(i){t.style.pointerEvents="none";var r=function(){t.parentNode&&(t.parentNode.removeChild(t),D(e))};i(t,r,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),D(e))},X=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(e){return!X.includes(e)}var M=function(e,t,i){if(t)for(var r=i.eventHandlerInterceptor,d=Object.keys(t).filter(U),p=d.length,S=0;S<p;S++){var h=d[S],f=t[h];if(h==="className")throw new Error('Property "className" is not supported, use "class".');if(h==="class")de(e,f,!0);else if(h==="classes")for(var v=Object.keys(f),C=v.length,w=0;w<C;w++){var y=v[w];f[y]&&e.classList.add(y)}else if(h==="styles")for(var F=Object.keys(f),T=F.length,w=0;w<T;w++){var I=F[w],Z=f[I];Z&&(L(Z),i.styleApplyer(e,I,Z))}else if(h==="on"&&f)for(var te=0,ae=Object.entries(t.on);te<ae.length;te++){var ne=ae[te],G=ne[0],H=ne[1],O=typeof H=="function"?H:H.listener;r&&(O=r(G,O,e,t)),O&&e.addEventListener(G,O,typeof H=="function"?void 0:H.options)}else if(h!=="key"&&f!==null&&f!==void 0){var se=typeof f;se==="function"?(h.lastIndexOf("on",0)===0&&r&&(f=r(h,f,e,t)),e[h]=f):i.namespace===l?h==="href"?e.setAttributeNS(o,h,f):e.setAttribute(h,f):se==="string"&&h!=="value"&&h!=="innerHTML"?e.setAttribute(h,f):e[h]=f}}},W=function(e,t,i){if(t)for(var r=0,d=t;r<d.length;r++){var p=d[r];q(p,e,void 0,i)}},Y=function(e,t,i){W(e,t.children,i),t.text&&(e.textContent=t.text),M(e,t.properties,i),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,i,t.vnodeSelector,t.properties,t.children])},q=function(e,t,i,r){var d,p,S=0,h=e.vnodeSelector,f=t.ownerDocument;if(h==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),i!==void 0?t.insertBefore(p,i):t.appendChild(p));else{for(var v=0;v<=h.length;++v){var C=h.charAt(v);if(v===h.length||C==="."||C==="#"){var w=h.charAt(S-1),y=h.slice(S,v);w==="."?p.classList.add(y):w==="#"?p.id=y:(y==="svg"&&(r=_(r,{namespace:l})),r.namespace!==void 0?p=e.domNode=f.createElementNS(r.namespace,y):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(y,{is:e.properties.is}):f.createElement(y)),y==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),i!==void 0?t.insertBefore(p,i):p.parentNode!==t&&t.appendChild(p)),S=v+1}}Y(p,e,r)}},ie,de=function(e,t,i){t&&t.split(" ").forEach(function(r){r&&e.classList.toggle(r,i)})},We=function(e,t,i,r){if(i){for(var d=!1,p=Object.keys(i).filter(U),S=p.length,h=0;h<S;h++){var f=p[h],v=i[f],C=t[f];if(f==="class")C!==v&&(de(e,C,!1),de(e,v,!0));else if(f==="classes")for(var w=e.classList,y=Object.keys(v),F=y.length,T=0;T<F;T++){var I=y[T],Z=!!v[I],te=!!C[I];Z!==te&&(d=!0,Z?w.add(I):w.remove(I))}else if(f==="styles")for(var ae=Object.keys(v),ne=ae.length,T=0;T<ne;T++){var G=ae[T],H=v[G],O=C[G];H!==O&&(d=!0,H?(L(H),r.styleApplyer(e,G,H)):r.styleApplyer(e,G,""))}else if(!v&&typeof C=="string"&&(v=""),f==="value"){var se=e[f];se!==v&&v!==C&&(e[f]=v),v!==C&&(d=!0)}else if(v!==C){var Le=typeof v;(Le!=="function"||!r.eventHandlerInterceptor)&&(r.namespace===l?f==="href"?e.setAttributeNS(o,f,v):e.setAttribute(f,v):Le==="string"&&f!=="innerHTML"?f==="role"&&v===""?e.removeAttribute(f):e.setAttribute(f,v):e[f]!==v&&(e[f]=v),d=!0)}}return d}},qe=function(e,t,i,r,d){if(i===r)return!1;i=i||u,r=r||u;for(var p=i.length,S=r.length,h=0,f=0,v,C=!1;f<S;){var w=h<p?i[h]:void 0,y=r[f];if(w!==void 0&&b(w,y))C=ie(w,y,d)||C,h++;else{var F=k(i,y,h+1);if(F>=0){for(v=h;v<F;v++)J(i[v]),R(i,v,e,"removed");C=ie(i[F],y,d)||C,h=F+1}else q(y,t,h<p?i[h].domNode:void 0,d),P(y),R(r,f,e,"added")}f++}if(p>h)for(v=h;v<p;v++)J(i[v]),R(i,v,e,"removed");return C};ie=function(e,t,i){var r=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var S=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(S,r),t.domNode=S,d=!0,d}t.domNode=r}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(i=_(i,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?r.removeChild(r.firstChild):r.textContent=t.text),t.domNode=r,p=qe(t,r,e.children,t.children,i)||p,p=We(r,e.properties,t.properties,i)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,i,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(i){if(e.vnodeSelector!==i.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var r=e;e=i,ie(r,i,t)},domNode:e.domNode}},Ge={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,i){t.charAt(0)==="-"?e.style.setProperty(t,i):e.style[t]=i}},Q=function(e){return _(Ge,e)},ee={create:function(e,t){return t=Q(t),q(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,i){return i=Q(i),q(t,e,void 0,i),V(t,i)},insertBefore:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),V(t,i)},merge:function(e,t,i){return i=Q(i),t.domNode=e,Y(e,t,i),V(t,i)},replace:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),e.parentNode.removeChild(e),V(t,i)}},Ke=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,i){for(var r=0,d=t.length;r<d;r++){var p=t[r];Array.isArray(p)?_e(e,p,i):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ke(p)),i.push(p))}};function Je(e,t,i){if(Array.isArray(t))i=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||i&&(typeof i=="string"||i.vnodeSelector))throw new Error("h called with invalid arguments");var r,d;return i&&i.length===1&&typeof i[0]=="string"?r=i[0]:i&&(d=[],_e(e,i,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:r===""?void 0:r,domNode:null}}var Xe=function(e,t){for(var i=[];e&&e!==t;)i.push(e),e=e.parentNode;return i},pe;Array.prototype.find?pe=function(e,t){return e.find(t)}:pe=function(e,t){return e.filter(t)[0]};var Ye=function(e,t){var i=e;return t.forEach(function(r){i=i&&i.children?pe(i.children,function(d){return d.domNode===r}):void 0}),i},Qe=function(e,t,i){return function(d,p,S,h){return r};function r(d){var p,S;i("domEvent",d);var h=t(),f=Xe(d.currentTarget,h.domNode);f.reverse();var v=Ye(h.getLastRender(),f);e.scheduleRender();var C;if(v){var w=(S=(p=v.properties["on".concat(d.type)])!==null&&p!==void 0?p:v.properties.on[d.type].listener)!==null&&S!==void 0?S:v.properties.on[d.type];C=w.apply(v.properties.bind||this,arguments)}return i("domEventProcessed",d),C}},Ze=function(e){var t,i=Q(e),r=i.performanceLogger,d=!0,p,S=!1,h=[],f=[],v=function(w,y,F){var T,I=function(){return T};i.eventHandlerInterceptor=Qe(t,I,r),T=w(y,F(),i),h.push(T),f.push(F)},C=function(){if(p=void 0,!!d){d=!1,r("renderStart",void 0);for(var w=0;w<h.length;w++){var y=f[w]();r("rendered",void 0),h[w].update(y),r("patched",void 0)}r("renderDone",void 0),d=!0}};return t={renderNow:C,scheduleRender:function(){!p&&!S&&(p=requestAnimationFrame(C))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),S=!0},resume:function(){S=!1,d=!0,t.scheduleRender()},append:function(w,y){v(ee.append,w,y)},insertBefore:function(w,y){v(ee.insertBefore,w,y)},merge:function(w,y){v(ee.merge,w,y)},replace:function(w,y){v(ee.replace,w,y)},detach:function(w){for(var y=0;y<f.length;y++)if(f[y]===w)return f.splice(y,1),h.splice(y,1)[0];throw new Error("renderFunction was not found")}},t},Oe=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(i,r){if(e)for(var d=0;d<i.length;d++)e[d]!==i[d]&&(t=void 0);return t||(t=r(),e=i),t}}},je=function(e,t,i){var r=[],d=[];return{results:d,map:function(p){for(var S=p.map(e),h=d.slice(),f=0,v=0;v<p.length;v++){var C=p[v],w=S[v];if(w===r[f])d[v]=h[f],i(C,h[f],v),f++;else{for(var y=!1,F=1;F<r.length+1;F++){var T=(f+F)%r.length;if(r[T]===w){d[v]=h[T],i(p[v],h[T],v),f=T+1,y=!0;break}}y||(d[v]=t(C,v))}}d.length=p.length,r=S}}};c.createCache=Oe,c.createMapping=je,c.createProjector=Ze,c.dom=ee,c.h=Je})})(me,me.exports);var et=me.exports.createProjector(),Be=10,ye=20,oe=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function tt(a="vertical"){let n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?g("svg",{height:"4",width:"10"},g("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):g("svg",{height:"10",width:"10"},g("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function at(a,n="vertical"){let c=document.createElement("div");return c.style.height=`${ye}px`,c.className=we.univariateAboveAndBelowSymbol,a!=null&&(c.style.opacity=a.toString()),et.append(c,tt.bind(null,n)),c}function Ie(a,n,c="vertical",s){a.infos.forEach((l,o)=>{if(s&&o===2)l.preview=at(n,c);else{let{size:u}=l,_=N(u)+(c==="horizontal"?be:oe),b=l.preview.tagName.toLowerCase()==="div",L=b?l.preview:document.createElement("div");L&&(L.className=we.univariateAboveAndBelowSymbol),c==="horizontal"?L&&(L.style.width=`${_}px`):L&&(L.style.height=`${_}px`),b||L&&L.appendChild(l.preview),l.preview=L}})}function De(a,n="classic"){let c=a.infos,s=c[0].size,l=c[c.length-1].size;return n==="classic"?(N(s)+oe)/2:(N(s)-N(l))/2}function ge(a,n,c){if(!a)return null;let s=a.infos.map(o=>o.color),l=n.renderColorRampPreviewHTML(c.type==="full"?s:c.type==="above"?s.slice(0,3):s.slice(2,5),{width:c.width,height:c.height,align:c.rampAlignment,effectList:c.effectList});return l.className=we.colorRamp,c.opacity!=null&&(l.style.opacity=c.opacity.toString()),l}function it(a,n,c,s="vertical"){let l=0,o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u;for(let L=_;L<=b;L++)if(c&&L===u)l+=s==="horizontal"?Be:ye;else{let k=o[L].size,R=N(k)+(s==="horizontal"?be:oe);l+=R}return Math.round(l)}function he(a,n,c,s="vertical"){let l=it(a,n,c,s),o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u,L=n==="full"?o[_].size+o[b].size:n==="above"?o[_].size:o[b].size,k=c?s==="vertical"?ye:Be:0,R=s==="vertical"?oe*(n==="full"?2:1):be*(n==="full"?2:1);return Math.round(l-(N(L)/2+k/2+R/2))}function nt(a,n,c="vertical"){let s=a.infos,l=s.find(({type:u})=>u==="size-ramp"),o=s.find(({type:u})=>u==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,n,c,!0)),o&&(o={...o},o.infos=[...o.infos]),c==="horizontal"&&(l?.infos.reverse(),o?.infos.reverse()),{sizeRampElement:l,colorRampElement:o}}function st(a,n="vertical"){let c=a.infos,s=c.find(({type:o})=>o==="size-ramp"),l=c.find(({type:o})=>o==="color-ramp");return s&&(s={...s},s.infos=[...s.infos],Ie(s,null,n,!1)),l&&(l={...l},l.infos=[...l.infos]),n==="horizontal"&&(s?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:s,colorRampElement:l}}function rt(a,n){return!0}var lt=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ct=lt,m={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},ot=24,He={display:"flex",alignItems:"flex-start"},ue={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},dt=class{constructor(a){Me(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Fe(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{ce(this.el)}).observe(this.el,{attributes:!0});let[n,c]=await Promise.all([Ce(),Se()]),s=await ke();this.reactiveUtils=c,this.intl=n,this.symbolUtils=s}async componentDidLoad(){await this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let s=n?.allLayers?.map(async b=>await b.load()),o=(await Promise.allSettled(s)).map(b=>b?.status==="fulfilled"&&b?.value?b.value:null).filter(b=>!!b),u=[];o.forEach(b=>{this.legendvm?.view&&u.push(this.legendvm.view.whenLayerView(b))}),await Promise.allSettled(u);let _=await re(this.legendvm,this.reactiveUtils);B.set("data",{...E.data,..._}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),n=B.get("compact")?` ${m.compact}`:"";return this.isLoading?g("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):g("div",{key:"interactive-legend-classic-container",class:`${K(this.el)}${n}`},a?.length>0?a:g("div",{class:m.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(n=>this.renderLegendForLayer(n)).filter(n=>!!n)}renderLegendForLayer(a,n){if(!a.ready)return null;if(!!a.children.length){let o=a.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return g("instant-apps-interactive-legend-group-legend-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:n},g("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},o))}let s=a.legendElements;if(s&&!s.length)return null;let l=s.map((o,u)=>this.renderLegendForElement(o,a.layer,a.effectList,a,u)).filter(o=>!!o);return l.length?g("instant-apps-interactive-legend-layer-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!n},g("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:m.layer},l)):null}renderLegendForElement(a,n,c,s,l,o,u){let _=a.type==="color-ramp",b=a.type==="opacity-ramp",L=a.type==="size-ramp",k=null,R=Te(s,a,l),P=a?.type==="relationship-ramp";if(a.type==="symbol-table"||L){let A=a.infos.map(($,D)=>this.renderLegendForElementInfo($,n,c,L,a,s,l,D,R,u)).filter($=>!!$);A.length&&(k=g("div",{class:m.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;k=this.renderLegendForRamp(A,n.opacity)}else if(P)k=g("instant-apps-interactive-legend-relationship",{class:K(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:s,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;k=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;k=this.renderUnivariateAboveAndBelowRamp(A,n.opacity,c)}else if(a.type==="univariate-color-size-ramp"){let A=a;k=this.renderUnivariateColorSizeRamp(A,n.opacity,c)}if(!k)return null;let x=a.title,z=null;if(typeof x=="string")z=x;else if(x){let A=x,$=this.getTitle(this.messages,A,_||b);this.isRendererTitle(_||b)?"title"in x&&(z=`${x.title} (${$})`):z=$}return g("instant-apps-interactive-legend-legend-element",{class:K(this.el),activeLayerInfo:s,isSizeRamp:L,isChild:!!o,isColorRamp:_,isRelationshipRamp:P,isInteractive:R,zoomTo:this.zoomTo,legendElement:a,titleText:z,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},g("div",{slot:"content"},k))}renderPieChartRamp(a){return g("div",{innerHTML:`${a.preview?.outerHTML}`})}renderUnivariateAboveAndBelowRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=nt(a,n);if(!s)return null;let o=he(s,"above",!0),u=he(s,"below",!0),_=12,b=ge(l,this.symbolUtils,{width:_,height:o,rampAlignment:"vertical",opacity:n,type:"above",effectList:c}),L=ge(l,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:n,type:"below",effectList:c}),k=De(s),R=s.infos.map(U=>U.label),P=R.map((U,M)=>M===0?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):M===2?g("div",null):null),x=R.length-1,z=Math.floor(R.length/2),A=R.map((U,M)=>M===z||M===x?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):null),$={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${k}px`},J={height:`${o}px`},X={height:`${u}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map((U,M)=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:$,innerHTML:U?.preview?.outerHTML??""}),!b&&M%2===0?g("div",{class:m.layerInfo},R[M]):null))),b?g("div",{style:D,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:J},P))),g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},L)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=st(a);if(!s)return null;let o=De(s),u=12,_=he(s,"full",!1),b=ge(l,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:n,type:"full",effectList:c}),L=s.infos.length-1,k=s.infos.map((z,A)=>A===0||A===L?g("div",{class:z.label?l?m.univariateAboveAndBelowLabel:m.rampLabel:""},z.label):null),R={display:"table-cell",verticalAlign:"middle"},P={marginTop:`${o}px`},x={height:`${_}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map(z=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:R,innerHTML:z?.preview?.outerHTML??""})))),g("div",{style:P,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:x},k)))))}renderLegendForRamp(a,n){let c=a.infos,s=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",o=a.type==="stretch-ramp",u=a.preview,_=s?m.opacityRamp:"";u&&(u.classList.add(m.colorRamp),_&&u.classList.add(_)),n!=null&&u&&(u.style.opacity=n.toString());let b=c.map(R=>{let P;if(l){let x=this.messages[R.label];P=typeof x=="string"?x:R.label}else o?P="value"in R?this.getStretchStopLabel(R):R.label:P=R.label;return g("div",{class:R.label?m.rampLabel:""},P)}),L={width:`${ot}px`},k={height:u?.style?.height};return g("div",{class:m.layerRow},g("div",{class:m.symbolContainer,style:{...L}},g("div",{ref:R=>{R?.firstChild&&R?.firstChild?.remove(),R?.appendChild(u)},class:m.rampContainer})),g("div",{class:m.layerInfo},g("div",{class:m.rampLabelsContainer,style:{...k}},b)))}getStretchStopLabel(a){let n=this.messages[a.label];return a.label?`${n}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,n,c,s,l,o,u,_,b,L){if("infos"in a)return this.renderLegendForElement(a,n,c,o,u,!0,a);let k=null,R=!rt();if("preview"in a){let{outerHTML:W}=a.preview;k=g("div",{class:m.symbol,innerHTML:W})}else"src"in a&&(k=this.renderImage(a,n,R));if(!k)return null;let P="",x=s?` ${m.sizeRamp}`:"",z,A=ze(n),$=$e(A,L);if(E.data){let W=xe(A,n,a,$,_),Y=$?$?.nestedInfos:A,q=Pe(Y);z=A?.categories?.size===1?!W?.selected:q||W?.selected}let D="label"in a?a.label:null,J=$&&!("value"in a)?!1:b,X=B.get("compact"),U=this.getTitle(this.messages,D,!1)||"",M=$?l.title:D??n?.id;return J?g("button",{onClick:this.applyFilter(a,n,_,L),class:`${m.layerRow} ${m.interactiveLayerRow}${z?` ${m.infoSelected}`:""}`,title:X?`${U}`:void 0,"aria-pressed":z?"true":"false"},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},this.getTitle(this.messages,D,!1)||""),this.featureCount&&!X?g("instant-apps-interactive-legend-count",{class:K(this.el),categoryId:M,activeLayerInfo:o,legendvm:this.legendvm,messages:this.messages,selected:!!z,legendElement:l,infoIndex:_}):null):g("div",{class:m.layerRow},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},U))}renderImage(a,n,c){let{label:s,src:l,opacity:o}=a,u=c?` ${m.imageryLayerStretchedImage}`:"",_=c?"":` ${m.symbol}`,b={opacity:`${o??n.opacity}`};return g("img",{alt:this.getTitle(this.messages,s,!1),src:l,width:a.width,height:a.height,class:`$${u}${_}`,style:b})}getTitle(a,n,c){if(!n)return;if(typeof n=="string"||typeof n=="number")return n;if("value"in n||"unit"in n){let o=typeof a?.dotValue=="string"?a.dotValue:"";return this.intl.substitute(o,n)}if("colorName"in n||"bandName"in n){let{colorName:o,bandName:u}=n,_=a[o],b=typeof a[u]=="string"?a[u]:u;return`${_}: ${b}`}if("showCount"in n)return n.showCount?a.clusterCountTitle:null;let s=null;if(c){let o=n;s=o.ratioPercentTotal?"showRatioPercentTotal":o.ratioPercent?"showRatioPercent":o.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null}else if(this.isRendererTitle(c)){let o=n;s=o.normField?"showNormField":o.normByPct?"showNormPct":o.field?"showField":null}let l=s==="showField"?"{field}":typeof s=="string"?a[s]:"";return s?this.intl?.substitute(l,{field:n.field,normField:n.normField}):""}isRendererTitle(a){return!a}async setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(s=>s?.type==="feature"),n=[];for(let s of a)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(s));let c=[];try{c=await Promise.all(n)}catch(s){console.error(s)}for(let s of c){let l=`fLayerViewScale-${s.layer.id}`;!this.handles?.has(l)&&s&&this.handles?.add(s.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(s.layer).catch(o=>{console.error(o)})}),l)}a?.forEach(s=>{let l=`fLayer-${s?.id}`;this.handles?.has(l)||this.handles?.add(this.reactiveUtils?.watch(()=>s?.visible,()=>{this.createDataForLayer(s).catch(o=>{console.error(o)})}),l)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",s=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>s.children,"change",()=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).catch(l=>{console.error(l)})}))}).catch(l=>{console.error(l)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})}))}async createDataForLayer(a){let c=B.get("data")?.[a?.id],l=Ue(this.legendvm?.activeLayerInfos)?.find(o=>o?.layer?.id===a?.id);if(!c&&l){let o=await Ae(this.legendvm,l,this.reactiveUtils);if(fe({intLegendLayerData:o,layerId:a?.id}),this.featureCount){let u=await le(this.legendvm,E.data);B.set("data",{...E.data,...u})}}}applyFilter(a,n,c,s){return async()=>{let l={...E.data?.[n?.id]};s?await ve(l,a,c,this.filterMode,s):await ve(l,a,c,this.filterMode),fe({intLegendLayerData:l,layerId:n?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};dt.style=ct;export{dt as instant_apps_interactive_legend_classic};
3
+ v1.0.0-next.20250527.1 */
4
+ import{a as E,b as B,c as Ae,d as re,f as xe,g as ze,h as ve,i as Pe,k as Te,q as le,u as $e,v as K,w as fe,x as Fe,y as Ue}from"./OVEGZJHW.js";import"./UWTU3QFZ.js";import"./XOEQRL52.js";import{C as Ce,E as ke,c as Re,z as Se}from"./YYROVQF2.js";import{a as Me,c as g,e as Ee,h as ce}from"./ABK3KAVX.js";import"./MO6ELGZS.js";var Ne=96;function N(a){return a?a/72*Ne:0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,n){(function(c,s){s(n)})(Ve,function(c){var s="http://www.w3.org/",l="".concat(s,"2000/svg"),o="".concat(s,"1999/xlink"),u=[],_=function(e,t){var i={};return Object.keys(e).forEach(function(r){i[r]=e[r]}),t&&Object.keys(t).forEach(function(r){i[r]=t[r]}),i},b=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},L=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},k=function(e,t,i){if(t.vnodeSelector!==""){for(var r=i;r<e.length;r++)if(b(e[r],t))return r}return-1},R=function(e,t,i,r){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,S=p?p.key===void 0?p.bind:p.key:void 0;if(!S){for(var h=0;h<e.length;h++)if(h!==t){var f=e[h];if(b(f,d))throw{error:new Error("".concat(i.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(r==="added"?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:i,childNode:d}}}}},P=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},x=[],z=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},$=function(){z=!1,x.forEach(A),x.length=0},D=function(e){x.push(e),z||(z=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback($,{timeout:16}):setTimeout($,16))},J=function(e){var t=e.domNode;if(e.properties){var i=e.properties.exitAnimation;if(i){t.style.pointerEvents="none";var r=function(){t.parentNode&&(t.parentNode.removeChild(t),D(e))};i(t,r,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),D(e))},X=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(e){return!X.includes(e)}var M=function(e,t,i){if(t)for(var r=i.eventHandlerInterceptor,d=Object.keys(t).filter(U),p=d.length,S=0;S<p;S++){var h=d[S],f=t[h];if(h==="className")throw new Error('Property "className" is not supported, use "class".');if(h==="class")de(e,f,!0);else if(h==="classes")for(var v=Object.keys(f),C=v.length,w=0;w<C;w++){var y=v[w];f[y]&&e.classList.add(y)}else if(h==="styles")for(var F=Object.keys(f),T=F.length,w=0;w<T;w++){var I=F[w],Z=f[I];Z&&(L(Z),i.styleApplyer(e,I,Z))}else if(h==="on"&&f)for(var te=0,ae=Object.entries(t.on);te<ae.length;te++){var ne=ae[te],G=ne[0],H=ne[1],O=typeof H=="function"?H:H.listener;r&&(O=r(G,O,e,t)),O&&e.addEventListener(G,O,typeof H=="function"?void 0:H.options)}else if(h!=="key"&&f!==null&&f!==void 0){var se=typeof f;se==="function"?(h.lastIndexOf("on",0)===0&&r&&(f=r(h,f,e,t)),e[h]=f):i.namespace===l?h==="href"?e.setAttributeNS(o,h,f):e.setAttribute(h,f):se==="string"&&h!=="value"&&h!=="innerHTML"?e.setAttribute(h,f):e[h]=f}}},W=function(e,t,i){if(t)for(var r=0,d=t;r<d.length;r++){var p=d[r];q(p,e,void 0,i)}},Y=function(e,t,i){W(e,t.children,i),t.text&&(e.textContent=t.text),M(e,t.properties,i),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,i,t.vnodeSelector,t.properties,t.children])},q=function(e,t,i,r){var d,p,S=0,h=e.vnodeSelector,f=t.ownerDocument;if(h==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),i!==void 0?t.insertBefore(p,i):t.appendChild(p));else{for(var v=0;v<=h.length;++v){var C=h.charAt(v);if(v===h.length||C==="."||C==="#"){var w=h.charAt(S-1),y=h.slice(S,v);w==="."?p.classList.add(y):w==="#"?p.id=y:(y==="svg"&&(r=_(r,{namespace:l})),r.namespace!==void 0?p=e.domNode=f.createElementNS(r.namespace,y):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(y,{is:e.properties.is}):f.createElement(y)),y==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),i!==void 0?t.insertBefore(p,i):p.parentNode!==t&&t.appendChild(p)),S=v+1}}Y(p,e,r)}},ie,de=function(e,t,i){t&&t.split(" ").forEach(function(r){r&&e.classList.toggle(r,i)})},We=function(e,t,i,r){if(i){for(var d=!1,p=Object.keys(i).filter(U),S=p.length,h=0;h<S;h++){var f=p[h],v=i[f],C=t[f];if(f==="class")C!==v&&(de(e,C,!1),de(e,v,!0));else if(f==="classes")for(var w=e.classList,y=Object.keys(v),F=y.length,T=0;T<F;T++){var I=y[T],Z=!!v[I],te=!!C[I];Z!==te&&(d=!0,Z?w.add(I):w.remove(I))}else if(f==="styles")for(var ae=Object.keys(v),ne=ae.length,T=0;T<ne;T++){var G=ae[T],H=v[G],O=C[G];H!==O&&(d=!0,H?(L(H),r.styleApplyer(e,G,H)):r.styleApplyer(e,G,""))}else if(!v&&typeof C=="string"&&(v=""),f==="value"){var se=e[f];se!==v&&v!==C&&(e[f]=v),v!==C&&(d=!0)}else if(v!==C){var Le=typeof v;(Le!=="function"||!r.eventHandlerInterceptor)&&(r.namespace===l?f==="href"?e.setAttributeNS(o,f,v):e.setAttribute(f,v):Le==="string"&&f!=="innerHTML"?f==="role"&&v===""?e.removeAttribute(f):e.setAttribute(f,v):e[f]!==v&&(e[f]=v),d=!0)}}return d}},qe=function(e,t,i,r,d){if(i===r)return!1;i=i||u,r=r||u;for(var p=i.length,S=r.length,h=0,f=0,v,C=!1;f<S;){var w=h<p?i[h]:void 0,y=r[f];if(w!==void 0&&b(w,y))C=ie(w,y,d)||C,h++;else{var F=k(i,y,h+1);if(F>=0){for(v=h;v<F;v++)J(i[v]),R(i,v,e,"removed");C=ie(i[F],y,d)||C,h=F+1}else q(y,t,h<p?i[h].domNode:void 0,d),P(y),R(r,f,e,"added")}f++}if(p>h)for(v=h;v<p;v++)J(i[v]),R(i,v,e,"removed");return C};ie=function(e,t,i){var r=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var S=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(S,r),t.domNode=S,d=!0,d}t.domNode=r}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(i=_(i,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?r.removeChild(r.firstChild):r.textContent=t.text),t.domNode=r,p=qe(t,r,e.children,t.children,i)||p,p=We(r,e.properties,t.properties,i)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,i,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(i){if(e.vnodeSelector!==i.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var r=e;e=i,ie(r,i,t)},domNode:e.domNode}},Ge={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,i){t.charAt(0)==="-"?e.style.setProperty(t,i):e.style[t]=i}},Q=function(e){return _(Ge,e)},ee={create:function(e,t){return t=Q(t),q(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,i){return i=Q(i),q(t,e,void 0,i),V(t,i)},insertBefore:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),V(t,i)},merge:function(e,t,i){return i=Q(i),t.domNode=e,Y(e,t,i),V(t,i)},replace:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),e.parentNode.removeChild(e),V(t,i)}},Ke=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,i){for(var r=0,d=t.length;r<d;r++){var p=t[r];Array.isArray(p)?_e(e,p,i):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ke(p)),i.push(p))}};function Je(e,t,i){if(Array.isArray(t))i=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||i&&(typeof i=="string"||i.vnodeSelector))throw new Error("h called with invalid arguments");var r,d;return i&&i.length===1&&typeof i[0]=="string"?r=i[0]:i&&(d=[],_e(e,i,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:r===""?void 0:r,domNode:null}}var Xe=function(e,t){for(var i=[];e&&e!==t;)i.push(e),e=e.parentNode;return i},pe;Array.prototype.find?pe=function(e,t){return e.find(t)}:pe=function(e,t){return e.filter(t)[0]};var Ye=function(e,t){var i=e;return t.forEach(function(r){i=i&&i.children?pe(i.children,function(d){return d.domNode===r}):void 0}),i},Qe=function(e,t,i){return function(d,p,S,h){return r};function r(d){var p,S;i("domEvent",d);var h=t(),f=Xe(d.currentTarget,h.domNode);f.reverse();var v=Ye(h.getLastRender(),f);e.scheduleRender();var C;if(v){var w=(S=(p=v.properties["on".concat(d.type)])!==null&&p!==void 0?p:v.properties.on[d.type].listener)!==null&&S!==void 0?S:v.properties.on[d.type];C=w.apply(v.properties.bind||this,arguments)}return i("domEventProcessed",d),C}},Ze=function(e){var t,i=Q(e),r=i.performanceLogger,d=!0,p,S=!1,h=[],f=[],v=function(w,y,F){var T,I=function(){return T};i.eventHandlerInterceptor=Qe(t,I,r),T=w(y,F(),i),h.push(T),f.push(F)},C=function(){if(p=void 0,!!d){d=!1,r("renderStart",void 0);for(var w=0;w<h.length;w++){var y=f[w]();r("rendered",void 0),h[w].update(y),r("patched",void 0)}r("renderDone",void 0),d=!0}};return t={renderNow:C,scheduleRender:function(){!p&&!S&&(p=requestAnimationFrame(C))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),S=!0},resume:function(){S=!1,d=!0,t.scheduleRender()},append:function(w,y){v(ee.append,w,y)},insertBefore:function(w,y){v(ee.insertBefore,w,y)},merge:function(w,y){v(ee.merge,w,y)},replace:function(w,y){v(ee.replace,w,y)},detach:function(w){for(var y=0;y<f.length;y++)if(f[y]===w)return f.splice(y,1),h.splice(y,1)[0];throw new Error("renderFunction was not found")}},t},Oe=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(i,r){if(e)for(var d=0;d<i.length;d++)e[d]!==i[d]&&(t=void 0);return t||(t=r(),e=i),t}}},je=function(e,t,i){var r=[],d=[];return{results:d,map:function(p){for(var S=p.map(e),h=d.slice(),f=0,v=0;v<p.length;v++){var C=p[v],w=S[v];if(w===r[f])d[v]=h[f],i(C,h[f],v),f++;else{for(var y=!1,F=1;F<r.length+1;F++){var T=(f+F)%r.length;if(r[T]===w){d[v]=h[T],i(p[v],h[T],v),f=T+1,y=!0;break}}y||(d[v]=t(C,v))}}d.length=p.length,r=S}}};c.createCache=Oe,c.createMapping=je,c.createProjector=Ze,c.dom=ee,c.h=Je})})(me,me.exports);var et=me.exports.createProjector(),Be=10,ye=20,oe=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function tt(a="vertical"){let n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?g("svg",{height:"4",width:"10"},g("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):g("svg",{height:"10",width:"10"},g("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function at(a,n="vertical"){let c=document.createElement("div");return c.style.height=`${ye}px`,c.className=we.univariateAboveAndBelowSymbol,a!=null&&(c.style.opacity=a.toString()),et.append(c,tt.bind(null,n)),c}function Ie(a,n,c="vertical",s){a.infos.forEach((l,o)=>{if(s&&o===2)l.preview=at(n,c);else{let{size:u}=l,_=N(u)+(c==="horizontal"?be:oe),b=l.preview.tagName.toLowerCase()==="div",L=b?l.preview:document.createElement("div");L&&(L.className=we.univariateAboveAndBelowSymbol),c==="horizontal"?L&&(L.style.width=`${_}px`):L&&(L.style.height=`${_}px`),b||L&&L.appendChild(l.preview),l.preview=L}})}function De(a,n="classic"){let c=a.infos,s=c[0].size,l=c[c.length-1].size;return n==="classic"?(N(s)+oe)/2:(N(s)-N(l))/2}function ge(a,n,c){if(!a)return null;let s=a.infos.map(o=>o.color),l=n.renderColorRampPreviewHTML(c.type==="full"?s:c.type==="above"?s.slice(0,3):s.slice(2,5),{width:c.width,height:c.height,align:c.rampAlignment,effectList:c.effectList});return l.className=we.colorRamp,c.opacity!=null&&(l.style.opacity=c.opacity.toString()),l}function it(a,n,c,s="vertical"){let l=0,o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u;for(let L=_;L<=b;L++)if(c&&L===u)l+=s==="horizontal"?Be:ye;else{let k=o[L].size,R=N(k)+(s==="horizontal"?be:oe);l+=R}return Math.round(l)}function he(a,n,c,s="vertical"){let l=it(a,n,c,s),o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u,L=n==="full"?o[_].size+o[b].size:n==="above"?o[_].size:o[b].size,k=c?s==="vertical"?ye:Be:0,R=s==="vertical"?oe*(n==="full"?2:1):be*(n==="full"?2:1);return Math.round(l-(N(L)/2+k/2+R/2))}function nt(a,n,c="vertical"){let s=a.infos,l=s.find(({type:u})=>u==="size-ramp"),o=s.find(({type:u})=>u==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,n,c,!0)),o&&(o={...o},o.infos=[...o.infos]),c==="horizontal"&&(l?.infos.reverse(),o?.infos.reverse()),{sizeRampElement:l,colorRampElement:o}}function st(a,n="vertical"){let c=a.infos,s=c.find(({type:o})=>o==="size-ramp"),l=c.find(({type:o})=>o==="color-ramp");return s&&(s={...s},s.infos=[...s.infos],Ie(s,null,n,!1)),l&&(l={...l},l.infos=[...l.infos]),n==="horizontal"&&(s?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:s,colorRampElement:l}}function rt(a,n){return!0}var lt=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ct=lt,m={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},ot=24,He={display:"flex",alignItems:"flex-start"},ue={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},dt=class{constructor(a){Me(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Fe(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{ce(this.el)}).observe(this.el,{attributes:!0});let[n,c]=await Promise.all([Ce(),Se()]),s=await ke();this.reactiveUtils=c,this.intl=n,this.symbolUtils=s}async componentDidLoad(){await this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let s=n?.allLayers?.map(async b=>await b.load()),o=(await Promise.allSettled(s)).map(b=>b?.status==="fulfilled"&&b?.value?b.value:null).filter(b=>!!b),u=[];o.forEach(b=>{this.legendvm?.view&&u.push(this.legendvm.view.whenLayerView(b))}),await Promise.allSettled(u);let _=await re(this.legendvm,this.reactiveUtils);B.set("data",{...E.data,..._}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),n=B.get("compact")?` ${m.compact}`:"";return this.isLoading?g("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):g("div",{key:"interactive-legend-classic-container",class:`${K(this.el)}${n}`},a?.length>0?a:g("div",{class:m.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(n=>this.renderLegendForLayer(n)).filter(n=>!!n)}renderLegendForLayer(a,n){if(!a.ready)return null;if(!!a.children.length){let o=a.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return g("instant-apps-interactive-legend-group-legend-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:n},g("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},o))}let s=a.legendElements;if(s&&!s.length)return null;let l=s.map((o,u)=>this.renderLegendForElement(o,a.layer,a.effectList,a,u)).filter(o=>!!o);return l.length?g("instant-apps-interactive-legend-layer-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!n},g("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:m.layer},l)):null}renderLegendForElement(a,n,c,s,l,o,u){let _=a.type==="color-ramp",b=a.type==="opacity-ramp",L=a.type==="size-ramp",k=null,R=Te(s,a,l),P=a?.type==="relationship-ramp";if(a.type==="symbol-table"||L){let A=a.infos.map(($,D)=>this.renderLegendForElementInfo($,n,c,L,a,s,l,D,R,u)).filter($=>!!$);A.length&&(k=g("div",{class:m.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;k=this.renderLegendForRamp(A,n.opacity)}else if(P)k=g("instant-apps-interactive-legend-relationship",{class:K(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:s,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;k=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;k=this.renderUnivariateAboveAndBelowRamp(A,n.opacity,c)}else if(a.type==="univariate-color-size-ramp"){let A=a;k=this.renderUnivariateColorSizeRamp(A,n.opacity,c)}if(!k)return null;let x=a.title,z=null;if(typeof x=="string")z=x;else if(x){let A=x,$=this.getTitle(this.messages,A,_||b);this.isRendererTitle(_||b)?"title"in x&&(z=`${x.title} (${$})`):z=$}return g("instant-apps-interactive-legend-legend-element",{class:K(this.el),activeLayerInfo:s,isSizeRamp:L,isChild:!!o,isColorRamp:_,isRelationshipRamp:P,isInteractive:R,zoomTo:this.zoomTo,legendElement:a,titleText:z,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},g("div",{slot:"content"},k))}renderPieChartRamp(a){return g("div",{innerHTML:`${a.preview?.outerHTML}`})}renderUnivariateAboveAndBelowRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=nt(a,n);if(!s)return null;let o=he(s,"above",!0),u=he(s,"below",!0),_=12,b=ge(l,this.symbolUtils,{width:_,height:o,rampAlignment:"vertical",opacity:n,type:"above",effectList:c}),L=ge(l,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:n,type:"below",effectList:c}),k=De(s),R=s.infos.map(U=>U.label),P=R.map((U,M)=>M===0?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):M===2?g("div",null):null),x=R.length-1,z=Math.floor(R.length/2),A=R.map((U,M)=>M===z||M===x?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):null),$={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${k}px`},J={height:`${o}px`},X={height:`${u}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map((U,M)=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:$,innerHTML:U?.preview?.outerHTML??""}),!b&&M%2===0?g("div",{class:m.layerInfo},R[M]):null))),b?g("div",{style:D,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:J},P))),g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},L)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=st(a);if(!s)return null;let o=De(s),u=12,_=he(s,"full",!1),b=ge(l,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:n,type:"full",effectList:c}),L=s.infos.length-1,k=s.infos.map((z,A)=>A===0||A===L?g("div",{class:z.label?l?m.univariateAboveAndBelowLabel:m.rampLabel:""},z.label):null),R={display:"table-cell",verticalAlign:"middle"},P={marginTop:`${o}px`},x={height:`${_}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map(z=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:R,innerHTML:z?.preview?.outerHTML??""})))),g("div",{style:P,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:x},k)))))}renderLegendForRamp(a,n){let c=a.infos,s=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",o=a.type==="stretch-ramp",u=a.preview,_=s?m.opacityRamp:"";u&&(u.classList.add(m.colorRamp),_&&u.classList.add(_)),n!=null&&u&&(u.style.opacity=n.toString());let b=c.map(R=>{let P;if(l){let x=this.messages[R.label];P=typeof x=="string"?x:R.label}else o?P="value"in R?this.getStretchStopLabel(R):R.label:P=R.label;return g("div",{class:R.label?m.rampLabel:""},P)}),L={width:`${ot}px`},k={height:u?.style?.height};return g("div",{class:m.layerRow},g("div",{class:m.symbolContainer,style:{...L}},g("div",{ref:R=>{R?.firstChild&&R?.firstChild?.remove(),R?.appendChild(u)},class:m.rampContainer})),g("div",{class:m.layerInfo},g("div",{class:m.rampLabelsContainer,style:{...k}},b)))}getStretchStopLabel(a){let n=this.messages[a.label];return a.label?`${n}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,n,c,s,l,o,u,_,b,L){if("infos"in a)return this.renderLegendForElement(a,n,c,o,u,!0,a);let k=null,R=!rt();if("preview"in a){let{outerHTML:W}=a.preview;k=g("div",{class:m.symbol,innerHTML:W})}else"src"in a&&(k=this.renderImage(a,n,R));if(!k)return null;let P="",x=s?` ${m.sizeRamp}`:"",z,A=ze(n),$=$e(A,L);if(E.data){let W=xe(A,n,a,$,_),Y=$?$?.nestedInfos:A,q=Pe(Y);z=A?.categories?.size===1?!W?.selected:q||W?.selected}let D="label"in a?a.label:null,J=$&&!("value"in a)?!1:b,X=B.get("compact"),U=this.getTitle(this.messages,D,!1)||"",M=$?l.title:D??n?.id;return J?g("button",{onClick:this.applyFilter(a,n,_,L),class:`${m.layerRow} ${m.interactiveLayerRow}${z?` ${m.infoSelected}`:""}`,title:X?`${U}`:void 0,"aria-pressed":z?"true":"false"},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},this.getTitle(this.messages,D,!1)||""),this.featureCount&&!X?g("instant-apps-interactive-legend-count",{class:K(this.el),categoryId:M,activeLayerInfo:o,legendvm:this.legendvm,messages:this.messages,selected:!!z,legendElement:l,infoIndex:_}):null):g("div",{class:m.layerRow},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},U))}renderImage(a,n,c){let{label:s,src:l,opacity:o}=a,u=c?` ${m.imageryLayerStretchedImage}`:"",_=c?"":` ${m.symbol}`,b={opacity:`${o??n.opacity}`};return g("img",{alt:this.getTitle(this.messages,s,!1),src:l,width:a.width,height:a.height,class:`$${u}${_}`,style:b})}getTitle(a,n,c){if(!n)return;if(typeof n=="string"||typeof n=="number")return n;if("value"in n||"unit"in n){let o=typeof a?.dotValue=="string"?a.dotValue:"";return this.intl.substitute(o,n)}if("colorName"in n||"bandName"in n){let{colorName:o,bandName:u}=n,_=a[o],b=typeof a[u]=="string"?a[u]:u;return`${_}: ${b}`}if("showCount"in n)return n.showCount?a.clusterCountTitle:null;let s=null;if(c){let o=n;s=o.ratioPercentTotal?"showRatioPercentTotal":o.ratioPercent?"showRatioPercent":o.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null}else if(this.isRendererTitle(c)){let o=n;s=o.normField?"showNormField":o.normByPct?"showNormPct":o.field?"showField":null}let l=s==="showField"?"{field}":typeof s=="string"?a[s]:"";return s?this.intl?.substitute(l,{field:n.field,normField:n.normField}):""}isRendererTitle(a){return!a}async setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(s=>s?.type==="feature"),n=[];for(let s of a)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(s));let c=[];try{c=await Promise.all(n)}catch(s){console.error(s)}for(let s of c){let l=`fLayerViewScale-${s.layer.id}`;!this.handles?.has(l)&&s&&this.handles?.add(s.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(s.layer).catch(o=>{console.error(o)})}),l)}a?.forEach(s=>{let l=`fLayer-${s?.id}`;this.handles?.has(l)||this.handles?.add(this.reactiveUtils?.watch(()=>s?.visible,()=>{this.createDataForLayer(s).catch(o=>{console.error(o)})}),l)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",s=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>s.children,"change",()=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).catch(l=>{console.error(l)})}))}).catch(l=>{console.error(l)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})}))}async createDataForLayer(a){let c=B.get("data")?.[a?.id],l=Ue(this.legendvm?.activeLayerInfos)?.find(o=>o?.layer?.id===a?.id);if(!c&&l){let o=await Ae(this.legendvm,l,this.reactiveUtils);if(fe({intLegendLayerData:o,layerId:a?.id}),this.featureCount){let u=await le(this.legendvm,E.data);B.set("data",{...E.data,...u})}}}applyFilter(a,n,c,s){return async()=>{let l={...E.data?.[n?.id]};s?await ve(l,a,c,this.filterMode,s):await ve(l,a,c,this.filterMode),fe({intLegendLayerData:l,layerId:n?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};dt.style=ct;export{dt as instant_apps_interactive_legend_classic};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import"./BFH5SO2L.js";import{b as m}from"./F5UQ42HE.js";import{a as p}from"./EYCGOAQV.js";import{D as c,I as h,c as r,d}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var f=r`/** @license
3
+ v1.0.0-next.20250527.1 */
4
+ import"./DMPGY2CP.js";import{b as m}from"./DF5QXKGH.js";import{a as p}from"./YZ4LCVJ7.js";import{D as c,I as h,c as r,d}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var f=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
3
+ v1.0.0-next.20250527.1 */
4
4
  var t="cannotDiscuss";export{t as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as b}from"./3ZWTRRJN.js";import{a}from"./TG55KKIP.js";import"./I5FXIJHX.js";import"./7VOV57VQ.js";import"./ZUSH4SCO.js";import"./POZF7VFZ.js";import"./UKJQTCNY.js";import"./ETE327MH.js";import"./TQT42IK7.js";import{h as l,i as h}from"./ODMUEFOT.js";import{a as m}from"./EYCGOAQV.js";import{D as p,I as u,c as d,d as r,o as n,q as f}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var g=d`@layer{/** @license
3
+ v1.0.0-next.20250527.1 */
4
+ import{a as b}from"./BRGMMR6T.js";import{a}from"./JPPXUPM6.js";import"./F3SICAQV.js";import"./ZXQJLGRP.js";import"./Y2TULO3A.js";import"./MNIQAXS4.js";import"./L4A3TP42.js";import"./HM3CN2LF.js";import"./BYBUA3SD.js";import{h as l,i as h}from"./SZGXZADB.js";import{a as m}from"./YZ4LCVJ7.js";import{D as p,I as u,c as d,d as r,o as n,q as f}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var g=d`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- var e=(E=>(E.GRID="GRID",E.HORIZONTAL="HORIZONTAL",E.VERTICAL="VERTICAL",E))(e||{}),a=(E=>(E[E.Add=0]="Add",E[E.Update=1]="Update",E[E.Remove=2]="Remove",E[E.None=3]="None",E[E.Obsolete=4]="Obsolete",E))(a||{}),s=(E=>(E[E.LIST=0]="LIST",E[E.SELECT=1]="SELECT",E[E.EXPORT=2]="EXPORT",E[E.REFINE=3]="REFINE",E))(s||{}),i=(E=>(E.ADD="ADD",E.REMOVE="REMOVE",E))(i||{}),T=(E=>(E.SEARCH="SEARCH",E.SELECT="SELECT",E.SKETCH="SKETCH",E.REFINE="REFINE",E))(T||{}),n=(E=>(E.CSV="CSV",E.PDF="PDF",E))(n||{}),t=(E=>(E.SKETCH="SKETCH",E.REFINE="REFINE",E))(t||{}),r="{{params.wkid||",S="}}",A=(E=>(E.AEC="Architecture, Engineering, and Construction (AEC)",E.AIRPORTPORTRAIL="Airports, Ports, and Rails",E.BUSINESS="Business",E.CONSERVATION="Conservation",E.DEFENSE="Defense",E.FACILITIES="Facilities",E.PIPELINE="Pipeline",E.PUBLICSAFETY="Public Safety",E.RENEWABLES="Renewables",E.STATEANDLOCALGOVERNMENT="State and Local Government",E.TELECOMMUNICATIONS="Telecommunications",E.UTILITIES="Utilities",E))(A||{}),o=(E=>(E.AIRPORT="Airports",E.AGRICULTURE="Agriculture",E.ASSESSMENTANDTAXATION="Assessment and Taxation",E.DISTRICTENERGY="District Energy",E.ELECTIONS="Elections",E.ELECTRIC="Electric",E.EMERGENCYMANAGEMENT="Emergency Management",E.ENVIRONMENTANDNATURALRESOURCES="Environment and Natural Resources",E.FIRESERVICE="Fire Service",E.FISHANDWILDLIFE="Fish and Wildlife",E.GAS="Gas",E.HEALTHANDHUMANSERVICES="Health and Human Services",E.LAWENFORCEMENT="Law Enforcement",E.NATURALRESOURCES="Natural Resources",E.PARKS="Parks",E.PLANNINGANDDEVELOPMENT="Planning and Development",E.PROTECTEDAREAS="Protected Areas",E.PUBLICWORKS="Public Works",E.SEWER="Sewer",E.STORMWATER="Stormwater",E.TELECOMMUNICATIONS="Telecommunications",E.TRANSPORTATION="Transportation",E.WATER="Water Distribution",E))(o||{}),I=(E=>(E.HUBPREMIUM="solutions:hubPremium",E.NOTEBOOK="solutions:notebook",E.TRACKING="solutions:locationtracking:tracking",E.TRACKINGADMIN="solutions:locationtracking:admin",E.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",E.VELOCITY="solutions:velocity",E.WORKFLOW="solutions:workflowManager",E))(I||{}),N=(E=>(E.VELOCITYBIGDATA="portal:publisher:publishBigDataAnalytics",E.VELOCITYFEEDS="portal:publisher:publishFeeds",E.VELOCITYREALTIME="portal:publisher:publishRealTimeAnalytics",E))(N||{});export{e as a,a as b,s as c,i as d,T as e,n as f,t as g,r as h,S as i,A as j,o as k,I as l,N as m};
3
+ v1.0.0-next.20250527.1 */
4
+ var e=(E=>(E.GRID="GRID",E.HORIZONTAL="HORIZONTAL",E.VERTICAL="VERTICAL",E))(e||{}),a=(E=>(E[E.Add=0]="Add",E[E.Update=1]="Update",E[E.Remove=2]="Remove",E[E.None=3]="None",E[E.Obsolete=4]="Obsolete",E))(a||{}),s=(E=>(E[E.LIST=0]="LIST",E[E.SELECT=1]="SELECT",E[E.EXPORT=2]="EXPORT",E[E.REFINE=3]="REFINE",E))(s||{}),t=(E=>(E.ADD="ADD",E.REMOVE="REMOVE",E))(t||{}),o=(E=>(E.SEARCH="SEARCH",E.SELECT="SELECT",E.SKETCH="SKETCH",E.REFINE="REFINE",E))(o||{}),i=(E=>(E.CSV="CSV",E.PDF="PDF",E))(i||{}),n=(E=>(E.SKETCH="SKETCH",E.REFINE="REFINE",E))(n||{}),N="{{params.wkid||",S="}}",T=(E=>(E.AEC="Architecture, Engineering, and Construction (AEC)",E.AIRPORTPORTRAIL="Airports, Ports, and Rails",E.BUSINESS="Business",E.CONSERVATION="Conservation",E.DEFENSE="Defense",E.FACILITIES="Facilities",E.PIPELINE="Pipeline",E.PUBLICSAFETY="Public Safety",E.RENEWABLES="Renewables",E.STATEANDLOCALGOVERNMENT="State and Local Government",E.TELECOMMUNICATIONS="Telecommunications",E.UTILITIES="Utilities",E))(T||{}),R=(E=>(E.AIRPORT="Airports",E.AGRICULTURE="Agriculture",E.ASSESSMENTANDTAXATION="Assessment and Taxation",E.DISTRICTENERGY="District Energy",E.ELECTIONS="Elections",E.ELECTRIC="Electric",E.EMERGENCYMANAGEMENT="Emergency Management",E.ENVIRONMENTANDNATURALRESOURCES="Environment and Natural Resources",E.FIRESERVICE="Fire Service",E.FISHANDWILDLIFE="Fish and Wildlife",E.GAS="Gas",E.HEALTHANDHUMANSERVICES="Health and Human Services",E.LAWENFORCEMENT="Law Enforcement",E.NATURALRESOURCES="Natural Resources",E.PARKS="Parks",E.PLANNINGANDDEVELOPMENT="Planning and Development",E.PROTECTEDAREAS="Protected Areas",E.PUBLICWORKS="Public Works",E.SEWER="Sewer",E.STORMWATER="Stormwater",E.TELECOMMUNICATIONS="Telecommunications",E.TRANSPORTATION="Transportation",E.WATER="Water Distribution",E))(R||{}),I=(E=>(E.HUBPREMIUM="solutions:hubPremium",E.NOTEBOOK="solutions:notebook",E.TRACKING="solutions:locationtracking:tracking",E.TRACKINGADMIN="solutions:locationtracking:admin",E.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",E.VELOCITY="solutions:velocity",E.WORKFLOW="solutions:workflowManager",E))(I||{}),r=(E=>(E.VELOCITYBIGDATA="portal:publisher:publishBigDataAnalytics",E.VELOCITYFEEDS="portal:publisher:publishFeeds",E.VELOCITYREALTIME="portal:publisher:publishRealTimeAnalytics",E))(r||{}),l='((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))',C="(typekeywords:Solution,Template)",O="(typekeywords:Solution,Display Only)";export{e as a,a as b,s as c,t as d,o as e,i as f,n as g,N as h,S as i,T as j,R as k,I as l,r as m,l as n,C as o,O as p};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as c,b as n,c as y}from"./OUGZWNO6.js";import{a,b as s}from"./F5UQ42HE.js";import{D as m,I as d,c as u,d as t,o as p}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var h=u`/** @license
3
+ v1.0.0-next.20250527.1 */
4
+ import{a as c,b as n,c as y}from"./2W7UVH23.js";import{a,b as s}from"./DF5QXKGH.js";import{D as m,I as d,c as u,d as t,o as p}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var h=u`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{s as i}from"./YNVH5WOM.js";import{a as l,c as s,d as c,e as r}from"./A62HEPRS.js";import"./GPUC2YAZ.js";var d=":host{display:block}",h=d,f="floating",C="instant-apps-control-panel",m="border-bottom: 1px solid var(--calcite-color-border-3)",p="components",_=`[slot="${p}"]`,x=class{constructor(t){l(this,t),this.components=[],this.view=void 0}async componentWillLoad(){this._handleComponents()}componentWillUpdate(){this._handleComponents()}render(){return s(c,{key:"da3ae85d12780699ce3a9172b89f9900122d5065"},s("slot",{key:"a3bf08049e83ce0c59e58214302d9409c6208e3c",name:p}))}_handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(e,o)=>{let n=e.content;e.isExpand&&(n=await this._getExpand(e),e.expandIcon&&(n.expandIcon=e.expandIcon),e.collapseTooltip&&(n.collapseTooltip=e.collapseTooltip),e.expandTooltip&&(n.expandTooltip=e.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),o!==this.components.length-1&&(n.container.style=m)}}async _getExpand(t){let{view:e}=this,{content:o,focusTrapDisabled:n}=t,a=t?.expanded??!1;return await i({content:o,view:e,expanded:a,mode:f,group:C,focusTrapDisabled:!!n})}_getComponentsNode(){let t=_;return this.el.querySelector(t)}_resetUI(t){if(t.children.length>0){let{firstChild:o}=t;for(;o;)t.removeChild(o)}}get el(){return r(this)}};x.style=h;export{x as instant_apps_control_panel};
3
+ v1.0.0-next.20250527.1 */
4
+ import{s as i}from"./YYROVQF2.js";import{a as l,c as s,d as c,e as r}from"./ABK3KAVX.js";import"./MO6ELGZS.js";var d=":host{display:block}",h=d,f="floating",C="instant-apps-control-panel",m="border-bottom: 1px solid var(--calcite-color-border-3)",p="components",_=`[slot="${p}"]`,x=class{constructor(t){l(this,t),this.components=[],this.view=void 0}async componentWillLoad(){this._handleComponents()}componentWillUpdate(){this._handleComponents()}render(){return s(c,{key:"da3ae85d12780699ce3a9172b89f9900122d5065"},s("slot",{key:"a3bf08049e83ce0c59e58214302d9409c6208e3c",name:p}))}_handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(e,o)=>{let n=e.content;e.isExpand&&(n=await this._getExpand(e),e.expandIcon&&(n.expandIcon=e.expandIcon),e.collapseTooltip&&(n.collapseTooltip=e.collapseTooltip),e.expandTooltip&&(n.expandTooltip=e.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),o!==this.components.length-1&&(n.container.style=m)}}async _getExpand(t){let{view:e}=this,{content:o,focusTrapDisabled:n}=t,a=t?.expanded??!1;return await i({content:o,view:e,expanded:a,mode:f,group:C,focusTrapDisabled:!!n})}_getComponentsNode(){let t=_;return this.el.querySelector(t)}_resetUI(t){if(t.children.length>0){let{firstChild:o}=t;for(;o;)t.removeChild(o)}}get el(){return r(this)}};x.style=h;export{x as instant_apps_control_panel};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as d}from"./JUK6YN7M.js";import"./I5FXIJHX.js";import{a as T,d as I}from"./4FV35CZ2.js";import"./7VOV57VQ.js";import"./ZUSH4SCO.js";import"./POZF7VFZ.js";import"./UKJQTCNY.js";import"./ETE327MH.js";import"./TQT42IK7.js";import"./ZTVEA5RF.js";import{g as L,j as E}from"./OQ2OHE4S.js";import{c as l,e as r,f as c}from"./ODMUEFOT.js";import"./XLIFIZT4.js";import{a as g,b as _}from"./F5UQ42HE.js";import{b as k}from"./MSJNBWKG.js";import{a as x}from"./EYCGOAQV.js";import{D as w,E as h,I as v,J as $,c as f,d as o,g as p,o as y,q as S}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var C=f`@layer{/** @license
3
+ v1.0.0-next.20250527.1 */
4
+ import{a as d}from"./K54ZYQZT.js";import"./F3SICAQV.js";import{a as T,d as I}from"./VLP6DDYE.js";import"./ZXQJLGRP.js";import"./Y2TULO3A.js";import"./MNIQAXS4.js";import"./L4A3TP42.js";import"./HM3CN2LF.js";import"./BYBUA3SD.js";import"./FTU72FJP.js";import{g as L,j as E}from"./UFTXRN5O.js";import{c as l,e as r,f as c}from"./SZGXZADB.js";import"./7L34ACJ2.js";import{a as g,b as _}from"./DF5QXKGH.js";import{b as k}from"./MMSYI6GH.js";import{a as x}from"./YZ4LCVJ7.js";import{D as w,E as h,I as v,J as $,c as f,d as o,g as p,o as y,q as S}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var C=f`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{b as l,c as o}from"./U7SYT67J.js";import{c as g}from"./OFNMFDPR.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
3
+ v1.0.0-next.20250527.1 */
4
+ import{b as l,c as o}from"./PVJCHRCH.js";import{c as g}from"./K3UY4EFA.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as e}from"./BZPPRNYK.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
3
+ v1.0.0-next.20250527.1 */
4
+ import{a as e}from"./2B3Q4HD7.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{b as c}from"./ETE327MH.js";import{a as y}from"./TQT42IK7.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
3
+ v1.0.0-next.20250527.1 */
4
+ import{b as c}from"./HM3CN2LF.js";import{a as y}from"./BYBUA3SD.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B 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/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as e}from"./BZPPRNYK.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
3
+ v1.0.0-next.20250527.1 */
4
+ import{a as e}from"./2B3Q4HD7.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import"./GPUC2YAZ.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.0.0-next.20250527.1 */
4
+ import"./MO6ELGZS.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as n}from"./T6VGLWYO.js";import{b as I,c as b,d as v}from"./4I5HWIEN.js";import{a as i}from"./TG55KKIP.js";import"./I5FXIJHX.js";import"./7VOV57VQ.js";import"./ZUSH4SCO.js";import"./POZF7VFZ.js";import"./UKJQTCNY.js";import{e as a}from"./ETE327MH.js";import"./TQT42IK7.js";import"./ODMUEFOT.js";import{a as f,b as _}from"./F5UQ42HE.js";import{a as g}from"./EYCGOAQV.js";import{D as d,E as p,I as m,c,d as o,g as r,q as u}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var y=c`@layer{/** @license
3
+ v1.0.0-next.20250527.1 */
4
+ import{a as n}from"./YVIZHCBF.js";import{b as I,c as b,d as v}from"./VNHRV4W2.js";import{a as i}from"./JPPXUPM6.js";import"./F3SICAQV.js";import"./ZXQJLGRP.js";import"./Y2TULO3A.js";import"./MNIQAXS4.js";import"./L4A3TP42.js";import{e as a}from"./HM3CN2LF.js";import"./BYBUA3SD.js";import"./SZGXZADB.js";import{a as f,b as _}from"./DF5QXKGH.js";import{a as g}from"./YZ4LCVJ7.js";import{D as d,E as p,I as m,c,d as o,g as r,q as u}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var y=c`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import"./GPUC2YAZ.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.0.0-next.20250527.1 */
4
+ import"./MO6ELGZS.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as d}from"./EYCGOAQV.js";import{D as a,I as o,c as l,d as e,g as n,o as t}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var r=l`/** @license
3
+ v1.0.0-next.20250527.1 */
4
+ import{a as d}from"./YZ4LCVJ7.js";import{D as a,I as o,c as l,d as e,g as n,o as t}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var r=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250527.1 */
4
+ import{a,b}from"./R4O6DVY6.js";import"./Q5X2S4MD.js";import"./47E56IWZ.js";import"./GVYKKXOF.js";import"./WRLGEWRN.js";import"./MO6ELGZS.js";export{a as EventEditorTypes,b as buildSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{e as l}from"./ODMUEFOT.js";import{e as c}from"./XLIFIZT4.js";async function h(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((n,r)=>((r.type==="feature"||r?.type==="subtype-group")&&(n[r.id]={name:r.title,supportsUpdate:void 0}),n),{})}),d(e,t,a)}async function b(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((n,r)=>(n[r.id]={name:r.title,supportsUpdate:void 0},n),{})}),d(e,t,a)}async function d(a,e,t){if(a){let n={},r=Object.keys(e);for(let s=0;s<r.length;s++)try{let i=r[s],o=await u(t,i);await o.load(),await o.when(),n[i]={name:e[i].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(i){console.log(i);continue}return n}else return e}async function g(a,e){let t=await u(a,e);return t?await a.whenLayerView(t):void 0}async function u(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(n=>n.id===e)}),t.length>0?t[0]:void 0}async function I(a){let e=a.map.allLayers.filter(n=>n.type==="feature").toArray().map(n=>n),t=[];return await a.when(()=>{t=e.map(n=>a.whenLayerView(n))}),await Promise.allSettled(t),e}async function T(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(n=>n.load())}),await Promise.allSettled(t),e}async function O(a,e,t,n=!1,r=0){return n&&(await p(a,e,t,!1,void 0,r),await new Promise(s=>setTimeout(s,1e3))),e.highlight(a)}async function j(a){let e=y(a);return Object.keys(e).reduce((t,n)=>{let r=e[n];return t.push(r.layerView.highlight(r.ids)),t},[])}function y(a){return a.reduce((e,t)=>{let n=t.layerView,r=n?.layer.id;return r&&Object.keys(e).indexOf(r)>-1?e[r].ids=[...new Set([...t.selectedIds,...e[r].ids])]:r&&(e[r]={layerView:n,ids:t.selectedIds}),t.workflowType===l.REFINE&&Object.keys(t.refineInfos).forEach(s=>{let i=t.refineInfos[s];Object.keys(e).indexOf(s)>-1&&(e[s].ids=[...new Set([...i.addIds,...e[s].ids])],e[s].ids=e[s].ids.filter(o=>i.removeIds.indexOf(o)<0))}),e},{})}async function f(a,e,t){let n={objectIds:a};e.featureEffect={...t,filter:n},setTimeout(()=>{e.featureEffect=void 0},1300)}async function p(a,e,t,n=!0,r,s=0){let i=await c(a,e.layer),o={target:i.extent};i.count===1&&e.layer.geometryType==="point"&&s&&(o.scale=s),await t.goTo(o),n&&await f(a,e,r)}export{h as a,b,g as c,u as d,I as e,T as f,O as g,j as h,y as i,p as j};
3
+ v1.0.0-next.20250527.1 */
4
+ import{e as l}from"./SZGXZADB.js";import{e as c}from"./7L34ACJ2.js";async function h(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((n,r)=>((r.type==="feature"||r?.type==="subtype-group")&&(n[r.id]={name:r.title,supportsUpdate:void 0}),n),{})}),d(e,t,a)}async function b(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((n,r)=>(n[r.id]={name:r.title,supportsUpdate:void 0},n),{})}),d(e,t,a)}async function d(a,e,t){if(a){let n={},r=Object.keys(e);for(let s=0;s<r.length;s++)try{let i=r[s],o=await u(t,i);await o.load(),await o.when(),n[i]={name:e[i].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(i){console.log(i);continue}return n}else return e}async function g(a,e){let t=await u(a,e);return t?await a.whenLayerView(t):void 0}async function u(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(n=>n.id===e)}),t.length>0?t[0]:void 0}async function I(a){let e=a.map.allLayers.filter(n=>n.type==="feature").toArray().map(n=>n),t=[];return await a.when(()=>{t=e.map(n=>a.whenLayerView(n))}),await Promise.allSettled(t),e}async function T(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(n=>n.load())}),await Promise.allSettled(t),e}async function O(a,e,t,n=!1,r=0){return n&&(await p(a,e,t,!1,void 0,r),await new Promise(s=>setTimeout(s,1e3))),e.highlight(a)}async function j(a){let e=y(a);return Object.keys(e).reduce((t,n)=>{let r=e[n];return t.push(r.layerView.highlight(r.ids)),t},[])}function y(a){return a.reduce((e,t)=>{let n=t.layerView,r=n?.layer.id;return r&&Object.keys(e).indexOf(r)>-1?e[r].ids=[...new Set([...t.selectedIds,...e[r].ids])]:r&&(e[r]={layerView:n,ids:t.selectedIds}),t.workflowType===l.REFINE&&Object.keys(t.refineInfos).forEach(s=>{let i=t.refineInfos[s];Object.keys(e).indexOf(s)>-1&&(e[s].ids=[...new Set([...i.addIds,...e[s].ids])],e[s].ids=e[s].ids.filter(o=>i.removeIds.indexOf(o)<0))}),e},{})}async function f(a,e,t){let n={objectIds:a};e.featureEffect={...t,filter:n},setTimeout(()=>{e.featureEffect=void 0},1300)}async function p(a,e,t,n=!0,r,s=0){let i=await c(a,e.layer),o={target:i.extent};i.count===1&&e.layer.geometryType==="point"&&s&&(o.scale=s),await t.goTo(o),n&&await f(a,e,r)}export{h as a,b,g as c,u as d,I as e,T as f,O as g,j as h,y as i,p as j};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as o}from"./BXNKGYEI.js";import{a as r}from"./UTA3GVUF.js";import"./NMDVSB55.js";import"./KOI3XUTI.js";import"./TQT42IK7.js";import{a as s}from"./XRQCOVSZ.js";import"./DK32RK5U.js";import"./UVB3QATU.js";import"./WYW6UPKP.js";import"./ASDGPISP.js";import"./JZPIPYHU.js";import"./EQREHHBY.js";import"./3MEA5DUO.js";import"./TV6MVRLN.js";import"./25ZSQ4Y4.js";import"./NG5O4EF2.js";import"./ON5Q5T5J.js";import"./KFA5XB23.js";import"./TMKXDITO.js";import"./7CKL36AK.js";import"./3ZX46XLT.js";import"./SHGCXAGA.js";import"./EV7HBUTQ.js";import"./IHYLQW3P.js";import"./ME35VNVL.js";import"./BZPPRNYK.js";import"./R6U7AID6.js";import"./EMXWEQBM.js";import"./GPUC2YAZ.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
3
+ v1.0.0-next.20250527.1 */
4
+ import{a as o}from"./5M5CVIKP.js";import{a as r}from"./ZMPNHGIE.js";import"./3BGUPUE3.js";import"./P7U5QF6I.js";import"./BYBUA3SD.js";import{a as s}from"./HEU5ADOI.js";import"./RSJCSZWF.js";import"./JGMZYU54.js";import"./SF6257JR.js";import"./NUYU2UBS.js";import"./EJNMBFZU.js";import"./OBISJL4B.js";import"./DZR5OU2Z.js";import"./MCYHMQTR.js";import"./TPK7LVDB.js";import"./TVWOFQVC.js";import"./R4O6DVY6.js";import"./Q5X2S4MD.js";import"./47E56IWZ.js";import"./GVYKKXOF.js";import"./JO3IHRR7.js";import"./NAICN42V.js";import"./GZOFO77D.js";import"./ZUNKV2EF.js";import"./VLURIFFB.js";import"./2B3Q4HD7.js";import"./Y2VUFZUV.js";import"./WRLGEWRN.js";import"./MO6ELGZS.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
3
+ v1.0.0-next.20250527.1 */
4
4
  var i=n=>{var l;return((l=n.links)===null||l===void 0?void 0:l.thumbnail)||n.thumbnailUrl};export{i as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a as u,b as m}from"./F5UQ42HE.js";import{b as g}from"./MSJNBWKG.js";import{D as d,I as p,c as o,d as l}from"./AAX2HQKV.js";import"./GPUC2YAZ.js";var f=o`/** @license
3
+ v1.0.0-next.20250527.1 */
4
+ import{a as u,b as m}from"./DF5QXKGH.js";import{b as g}from"./MMSYI6GH.js";import{D as d,I as p,c as o,d as l}from"./5ELHQQNT.js";import"./MO6ELGZS.js";var f=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
4
- import{a,b}from"./ASDGPISP.js";import"./BZPPRNYK.js";import"./R6U7AID6.js";import"./EMXWEQBM.js";import"./GPUC2YAZ.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
3
+ v1.0.0-next.20250527.1 */
4
+ import{a,b}from"./NUYU2UBS.js";import"./2B3Q4HD7.js";import"./Y2VUFZUV.js";import"./WRLGEWRN.js";import"./MO6ELGZS.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250521.1 */
3
+ v1.0.0-next.20250527.1 */
4
4
  function s(n,r){return Object.keys(n).reduce(function(i,t){return i[t]=r(n[t],t,n),i},{})}function o(n,r,e){if(e=e||"",Array.isArray(n))return n.map(u);return n&&c(n)&&!a(n)&&!x(n)&&!p(n)?Object.assign({},n,s(n,u)):r(n,e);function u(i,t){let f=""+(e?e+"."+t:t);return o(i,r,f)}}function a(n){return n instanceof Date}function p(n){return typeof n=="function"}function c(n){return typeof n=="object"}function x(n){return n instanceof RegExp}export{o as a,c as b};