@esri/solutions-components 1.0.0-next.20250529.1 → 1.0.0-next.20250530.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 (406) hide show
  1. package/dist/cdn/{LPCTO7JL.js → 223GEOHY.js} +2 -2
  2. package/dist/cdn/{NMW6Q45K.js → 24TZCC7K.js} +2 -2
  3. package/dist/cdn/2AEJNC2Y.js +4 -0
  4. package/dist/cdn/{V5KXBFEN.js → 2B4ODL4I.js} +1 -1
  5. package/dist/cdn/{6BG4LKDW.js → 2BATVN26.js} +2 -2
  6. package/dist/cdn/{JNZWDT5I.js → 2C2446YO.js} +2 -2
  7. package/dist/cdn/{MKZNNMPC.js → 2ED5S63G.js} +2 -2
  8. package/dist/cdn/{QQ53NCYV.js → 2JM5ZUYC.js} +2 -2
  9. package/dist/cdn/2N6IKQAJ.js +4 -0
  10. package/dist/cdn/{NZ6MHZKX.js → 2T7OWYJF.js} +1 -1
  11. package/dist/cdn/{HXCZBWLK.js → 2TFAMRO4.js} +2 -2
  12. package/dist/cdn/{FRI7HIM7.js → 2ZIEEWZM.js} +2 -2
  13. package/dist/cdn/{KKJXYILX.js → 3EVL4T45.js} +2 -2
  14. package/dist/cdn/{E2WTZA5A.js → 3GNSS25V.js} +2 -2
  15. package/dist/cdn/{6FVEXKJS.js → 3J33WXHY.js} +2 -2
  16. package/dist/cdn/{VJBYZT6W.js → 3VKOIUB3.js} +2 -2
  17. package/dist/cdn/{E45HF3Y4.js → 3YMTKEK5.js} +1 -1
  18. package/dist/cdn/{CH6BDUYO.js → 45VAALBN.js} +2 -2
  19. package/dist/cdn/{EFN3IWLQ.js → 46KNGUML.js} +2 -2
  20. package/dist/cdn/{IJJ6XUUA.js → 472AWOX3.js} +1 -1
  21. package/dist/cdn/{WOWKKDEA.js → 4J4NUK33.js} +2 -2
  22. package/dist/cdn/{BGG35RUD.js → 4NUVQZAI.js} +1 -1
  23. package/dist/cdn/{3WUBH6ZI.js → 4TE3RTYX.js} +2 -2
  24. package/dist/cdn/{DW2GOOJO.js → 55EBYUZN.js} +2 -2
  25. package/dist/cdn/{US5FGYHG.js → 5A7G5CA4.js} +2 -2
  26. package/dist/cdn/{DE4JUMCH.js → 5DFDVK6H.js} +2 -2
  27. package/dist/cdn/{WJHLFCHB.js → 5LMXTWC2.js} +2 -2
  28. package/dist/cdn/{E4MUA2ED.js → 5S33W4IV.js} +2 -2
  29. package/dist/cdn/{I6CL4W66.js → 5T6A2NT3.js} +2 -2
  30. package/dist/cdn/{5LOR6WOH.js → 64FZOXAN.js} +2 -2
  31. package/dist/cdn/{CINMF5MV.js → 6BYYEA3R.js} +2 -2
  32. package/dist/cdn/{WAD3QU5V.js → 6DT74H27.js} +2 -2
  33. package/dist/cdn/{ZOFGHLQB.js → 6FUII4JI.js} +2 -2
  34. package/dist/cdn/{CLTGVNIT.js → 6KYFPVWD.js} +1 -1
  35. package/dist/cdn/{BDLLR4WH.js → 6M5LLBFV.js} +2 -2
  36. package/dist/cdn/{DOZSTXHI.js → 6XR6SHED.js} +2 -2
  37. package/dist/cdn/6Z5XKLIH.js +4 -0
  38. package/dist/cdn/{5FNUZG6X.js → 6ZIUZPW6.js} +2 -2
  39. package/dist/cdn/{57OJYSCR.js → 73DTRGE3.js} +2 -2
  40. package/dist/cdn/{5YLKLSMJ.js → 77VHGJGG.js} +1 -1
  41. package/dist/cdn/{5BWSNQ4C.js → 7BQXCVHW.js} +2 -2
  42. package/dist/cdn/{UP4YI4TT.js → 7CR6HYTL.js} +2 -2
  43. package/dist/cdn/{5ZJ5HMBU.js → 7D7PABFH.js} +2 -2
  44. package/dist/cdn/{DUZUSI6P.js → 7LTABIRE.js} +2 -2
  45. package/dist/cdn/{RNNWBWHE.js → 7NWNTAMW.js} +2 -2
  46. package/dist/cdn/{5UMSFFPF.js → 7P23QXUP.js} +2 -2
  47. package/dist/cdn/{4ZHIBJJZ.js → 7PDUKDDV.js} +2 -2
  48. package/dist/cdn/{JC4DSHFM.js → 7TZWE6K3.js} +2 -2
  49. package/dist/cdn/{3GOXEHUM.js → A5KMT3LM.js} +2 -2
  50. package/dist/cdn/{2WOG7EWC.js → AAQNZMHM.js} +2 -2
  51. package/dist/cdn/{7Z62O7FH.js → AFD4RBBU.js} +2 -2
  52. package/dist/cdn/{XE5DWVXG.js → AOPVDS2B.js} +2 -2
  53. package/dist/cdn/{XIXMB2G5.js → AX3FGYBT.js} +2 -2
  54. package/dist/cdn/{E6AZUM5D.js → BD737FGF.js} +2 -2
  55. package/dist/cdn/{IAHGXPQT.js → BEBIPBJB.js} +1 -1
  56. package/dist/cdn/{RAL76SQT.js → BGVLMLWE.js} +2 -2
  57. package/dist/cdn/{2H6MMKLC.js → BMXZA6UO.js} +2 -2
  58. package/dist/cdn/{LFFZU6FW.js → BOKYBROP.js} +2 -2
  59. package/dist/cdn/{TWKAESRO.js → BV76MPA5.js} +1 -1
  60. package/dist/cdn/{XRHJGG6M.js → BVIFPMNY.js} +2 -2
  61. package/dist/cdn/{AO367CCB.js → C34H6SGK.js} +1 -1
  62. package/dist/cdn/{BFH5SRQZ.js → C3P3IFUU.js} +2 -2
  63. package/dist/cdn/{QUYSAWNZ.js → C556IKNJ.js} +1 -1
  64. package/dist/cdn/{P6V7CQGP.js → CBQHTAYP.js} +2 -2
  65. package/dist/cdn/{EF6B6NVS.js → CCBFE5GN.js} +3 -3
  66. package/dist/cdn/{2M3XDJVT.js → CCKIOTSJ.js} +1 -1
  67. package/dist/cdn/{XWZRUTOX.js → CH5PRHPR.js} +2 -2
  68. package/dist/cdn/{FR4X4TDZ.js → CMOLOAHQ.js} +2 -2
  69. package/dist/cdn/{ATXF6EM5.js → CPBYDRAF.js} +2 -2
  70. package/dist/cdn/{CAIDATL7.js → CQFA3WBO.js} +2 -2
  71. package/dist/cdn/{FWU3TXCH.js → CTUHVTSA.js} +2 -2
  72. package/dist/cdn/{SAYEB7BP.js → CXJ53YNZ.js} +2 -2
  73. package/dist/cdn/CZCNKDL6.js +4 -0
  74. package/dist/cdn/{OHVQU6ZJ.js → D6EOKX53.js} +2 -2
  75. package/dist/cdn/{TS32X4ID.js → DA5DY7HY.js} +1 -1
  76. package/dist/cdn/{BAEITQ2C.js → DIYKH756.js} +2 -2
  77. package/dist/cdn/{D4E4KVMH.js → DP5KDHDS.js} +1 -1
  78. package/dist/cdn/{UYHG2K2R.js → DRGQGDS6.js} +2 -2
  79. package/dist/cdn/{PZHEASS4.js → DTXY6OOO.js} +2 -2
  80. package/dist/cdn/{5BPG7NP4.js → DV3SVW2J.js} +2 -2
  81. package/dist/cdn/DVMPKT5N.js +4 -0
  82. package/dist/cdn/{WIVHCBPP.js → DZSY5JZN.js} +2 -2
  83. package/dist/cdn/{BDSZY6HF.js → EDTDPGLP.js} +2 -2
  84. package/dist/cdn/{NVSZ6TEP.js → EJS4EUMP.js} +2 -2
  85. package/dist/cdn/{XEKWJEF6.js → EK4MS2HQ.js} +2 -2
  86. package/dist/cdn/{QMAHKDVR.js → EL4X5ULJ.js} +2 -2
  87. package/dist/cdn/{TXF5RICI.js → EMCOKOZ5.js} +2 -2
  88. package/dist/cdn/{2RGHQMD7.js → ES6XKTKK.js} +1 -1
  89. package/dist/cdn/{T44MUET5.js → EUKMNMGH.js} +2 -2
  90. package/dist/cdn/{RFC7Q3JW.js → EXXZSWW2.js} +2 -2
  91. package/dist/cdn/{ZLKFLJAK.js → F3IRPQCO.js} +2 -2
  92. package/dist/cdn/{OLAVIJIT.js → F45IOLFK.js} +2 -2
  93. package/dist/cdn/{CYMZ5TR6.js → F56VXVXX.js} +2 -2
  94. package/dist/cdn/{X7VDVXPT.js → F7SKZ7TX.js} +2 -2
  95. package/dist/cdn/{LB4MHZTX.js → FAND47WD.js} +2 -2
  96. package/dist/cdn/{5JSGC5AY.js → FDZTWT7F.js} +2 -2
  97. package/dist/cdn/{CJZSQT35.js → FHVWZYRK.js} +2 -2
  98. package/dist/cdn/{ABWWFNZH.js → FNI2QU5Z.js} +2 -2
  99. package/dist/cdn/{AD3MI4SK.js → FPPXUL5B.js} +2 -2
  100. package/dist/cdn/{EFQVEZGK.js → FZXH5UDA.js} +2 -2
  101. package/dist/cdn/{NTIAFN5V.js → GDZS5JMN.js} +2 -2
  102. package/dist/cdn/{UPDKM5C4.js → GE3L6RLR.js} +2 -2
  103. package/dist/cdn/GH3PRS32.js +18 -0
  104. package/dist/cdn/{JNLPWAOW.js → GJKEPLSZ.js} +1 -1
  105. package/dist/cdn/{4YOYUXOM.js → GJWN4WP3.js} +2 -2
  106. package/dist/cdn/{S6OH6PAD.js → GMHH44W3.js} +2 -2
  107. package/dist/cdn/{I4GUWHGI.js → GUTIVTWX.js} +2 -2
  108. package/dist/cdn/{GWPISXDC.js → GV3IWFPF.js} +1 -1
  109. package/dist/cdn/{Q2GQGU3O.js → GWV77TVF.js} +2 -2
  110. package/dist/cdn/{44BN27VD.js → GXKAH7DD.js} +2 -2
  111. package/dist/cdn/{EUCKEPMP.js → GZU2CPZN.js} +1 -1
  112. package/dist/cdn/{UD6TTT2A.js → H3O4ORNM.js} +2 -2
  113. package/dist/cdn/{ZGN6IAVH.js → H77B36RA.js} +2 -2
  114. package/dist/cdn/{MLEBNSOQ.js → HAQYF5US.js} +2 -2
  115. package/dist/cdn/{F67L3FFT.js → HCVBMJG5.js} +2 -2
  116. package/dist/cdn/{RIOHLLW6.js → HITNOOU3.js} +2 -2
  117. package/dist/cdn/{DRS4Z435.js → HMGYITJ2.js} +2 -2
  118. package/dist/cdn/{EZZ43ZR6.js → HQ4JF5OI.js} +2 -2
  119. package/dist/cdn/{NBFO57MD.js → HQW4WYSH.js} +2 -2
  120. package/dist/cdn/{JQOJYSOZ.js → HTW2BPA3.js} +2 -2
  121. package/dist/cdn/{3TNNRRLR.js → HYIN2EAD.js} +2 -2
  122. package/dist/cdn/{T3ZRKXLY.js → I5QBLE4N.js} +2 -2
  123. package/dist/cdn/{KAYEVXTW.js → I5SZYEIS.js} +2 -2
  124. package/dist/cdn/{3OJVS3LV.js → I5VSPGGJ.js} +2 -2
  125. package/dist/cdn/{DB2PWS76.js → I5YXI6G2.js} +2 -2
  126. package/dist/cdn/{RZS7265A.js → IDBD7LSX.js} +1 -1
  127. package/dist/cdn/{AQ4EWNIS.js → IDRORHF7.js} +2 -2
  128. package/dist/cdn/{4L3V2YYV.js → ILUBVWJF.js} +1 -1
  129. package/dist/cdn/{HCV2XISF.js → IRHPLBFA.js} +2 -2
  130. package/dist/cdn/{2SNUWJEH.js → J3RU5GJE.js} +2 -2
  131. package/dist/cdn/{R3HTIQI4.js → JAG5YFJB.js} +2 -2
  132. package/dist/cdn/{YQ56TKXB.js → JFKJRB56.js} +2 -2
  133. package/dist/cdn/{MXKTM3JR.js → JI5ZRG7H.js} +2 -2
  134. package/dist/cdn/{OQKQMGDN.js → JKNNOYXC.js} +2 -2
  135. package/dist/cdn/{TANB4M2J.js → JM6ORLVQ.js} +2 -2
  136. package/dist/cdn/{N2Q43IJ2.js → JN5YR3C5.js} +2 -2
  137. package/dist/cdn/{XJNGHFQY.js → JQEVQ7FX.js} +2 -2
  138. package/dist/cdn/JSIYTPMP.js +18 -0
  139. package/dist/cdn/{MQSTZCGJ.js → JTDXHRQI.js} +2 -2
  140. package/dist/cdn/{5MAI7MEC.js → K7LCWOS7.js} +2 -2
  141. package/dist/cdn/{EAVTHFWC.js → KCN6JCXH.js} +2 -2
  142. package/dist/cdn/{ZHJOJK4D.js → KK5SXYNF.js} +2 -2
  143. package/dist/cdn/{WWXALFP5.js → KLKHZZWM.js} +2 -2
  144. package/dist/cdn/{TD5MSEEV.js → KQCFHFAG.js} +2 -2
  145. package/dist/cdn/{Y3VKMBT2.js → KXIA4444.js} +2 -2
  146. package/dist/cdn/L2QQ7XWU.js +4 -0
  147. package/dist/cdn/L4KM5BWJ.js +18 -0
  148. package/dist/cdn/{2VW6H67C.js → LATOYW5P.js} +1 -1
  149. package/dist/cdn/{FBJW6XEX.js → LSMRI35A.js} +2 -2
  150. package/dist/cdn/{AXBMCFIY.js → LWP7WX74.js} +1 -1
  151. package/dist/cdn/{SJSKBJDQ.js → M6XUGB2Z.js} +2 -2
  152. package/dist/cdn/{4HJRJ7KX.js → MCM7XWTF.js} +2 -2
  153. package/dist/cdn/{OJE3CXRA.js → MDHH56JU.js} +2 -2
  154. package/dist/cdn/{GRGAE7XV.js → MHOAA6P3.js} +2 -2
  155. package/dist/cdn/{TKSTFENU.js → MKROWF52.js} +3 -3
  156. package/dist/cdn/{GX7WAJDW.js → MLZ4RTHG.js} +2 -2
  157. package/dist/cdn/{226TJMEY.js → MNA6JCMZ.js} +2 -2
  158. package/dist/cdn/{T5M4F7YY.js → MVQ6IP26.js} +2 -2
  159. package/dist/cdn/{OK6HLZPD.js → MWA7BHLK.js} +2 -2
  160. package/dist/cdn/{F3APXHAE.js → MYGSYGYU.js} +2 -2
  161. package/dist/cdn/{DJW5RED2.js → N33BUUYD.js} +2 -2
  162. package/dist/cdn/N3A5PMYA.js +4 -0
  163. package/dist/cdn/{LGXVU5RZ.js → NBHU4HTV.js} +2 -2
  164. package/dist/cdn/{DIPTKS7N.js → NEMP2EEG.js} +2 -2
  165. package/dist/cdn/{6VV6QBNS.js → NIXMWDPM.js} +1 -1
  166. package/dist/cdn/{JGLLOYRV.js → NLJSCFKM.js} +2 -2
  167. package/dist/cdn/{RMQSJKXT.js → NNQEWRZP.js} +2 -2
  168. package/dist/cdn/{ITFUMWIC.js → NNRPVDMT.js} +2 -2
  169. package/dist/cdn/{UTTBCGBU.js → NS4YKFI7.js} +1 -1
  170. package/dist/cdn/{DCZ6I6AY.js → NTASDALK.js} +2 -2
  171. package/dist/cdn/{5OFRMSV6.js → NTHWDWQ4.js} +2 -2
  172. package/dist/cdn/{EMR2T3VS.js → NUFMCKHA.js} +2 -2
  173. package/dist/cdn/{ERDDFJBU.js → O2HIRP5H.js} +2 -2
  174. package/dist/cdn/{L5VFVPQH.js → O5IG7QMW.js} +2 -2
  175. package/dist/cdn/{N2ME4PMY.js → O5STABPN.js} +3 -3
  176. package/dist/cdn/{FUKHM2ED.js → OF5XRF7X.js} +2 -2
  177. package/dist/cdn/{RWQERXH4.js → ON477UD5.js} +2 -2
  178. package/dist/cdn/{YEH3K6PV.js → OONRY2LS.js} +2 -2
  179. package/dist/cdn/{JAHBNPDG.js → OPHPZAWR.js} +2 -2
  180. package/dist/cdn/{5GRAGQQP.js → OPPO4362.js} +2 -2
  181. package/dist/cdn/{XNMPWNJU.js → ORPALJYI.js} +2 -2
  182. package/dist/cdn/OSW5BFUP.js +18 -0
  183. package/dist/cdn/{7C4LS7IK.js → OVK3TD4M.js} +2 -2
  184. package/dist/cdn/{RSHSVMPO.js → OWDWZHMV.js} +2 -2
  185. package/dist/cdn/{WP6BQVIA.js → P4QZUNYY.js} +2 -2
  186. package/dist/cdn/{HCK5TCOJ.js → P5R5UYXR.js} +2 -2
  187. package/dist/cdn/{BIGEZCHV.js → P6B7MWVF.js} +2 -2
  188. package/dist/cdn/{WHS2SJGC.js → PDWNCQED.js} +2 -2
  189. package/dist/cdn/{INGNQIJ3.js → PHA5TYOC.js} +1 -1
  190. package/dist/cdn/{V6P4UD6W.js → PND2W5YW.js} +2 -2
  191. package/dist/cdn/PRILEYGG.js +4 -0
  192. package/dist/cdn/{UA2S4SRX.js → QCU33RPV.js} +1 -1
  193. package/dist/cdn/{A3TE2CYP.js → QEWSNHU7.js} +2 -2
  194. package/dist/cdn/{7YM72QZ3.js → QF5QELVM.js} +2 -2
  195. package/dist/cdn/{JUFXEC5B.js → QMT7LNSC.js} +2 -2
  196. package/dist/cdn/QSCPIFBP.js +19 -0
  197. package/dist/cdn/{NO53EZBW.js → QU3EEVJP.js} +2 -2
  198. package/dist/cdn/{NNKQPDXS.js → QUVQBXCE.js} +1 -1
  199. package/dist/cdn/{Q5577CJV.js → R7OODGTN.js} +2 -2
  200. package/dist/cdn/{5OKFWPQF.js → RC47QK6Z.js} +2 -2
  201. package/dist/cdn/{N3WHAHAE.js → RCFE6H7G.js} +2 -2
  202. package/dist/cdn/{FLGIBCK5.js → RHQK4LTS.js} +2 -2
  203. package/dist/cdn/{FKBPJVRW.js → RRKWVYF6.js} +2 -2
  204. package/dist/cdn/{7PPW7OOE.js → RSMTUN7I.js} +2 -2
  205. package/dist/cdn/{LVYTI5YO.js → RTFLMETG.js} +1 -1
  206. package/dist/cdn/{AQLKL2NA.js → RVQUWOMM.js} +1 -1
  207. package/dist/cdn/RWFMDK27.js +18 -0
  208. package/dist/cdn/{422X4AIN.js → RX6Y3JHB.js} +2 -2
  209. package/dist/cdn/{LH2RWSHL.js → RY37AQKX.js} +2 -2
  210. package/dist/cdn/{XMAMECK7.js → SAQTFWRS.js} +2 -2
  211. package/dist/cdn/{NB2KN2PS.js → SGGIVA63.js} +1 -1
  212. package/dist/cdn/{6SEI3MD4.js → SGUBT5JB.js} +2 -2
  213. package/dist/cdn/{TATQRKRO.js → SLLAIEW4.js} +2 -2
  214. package/dist/cdn/{KZXLFT6A.js → T2TH26PQ.js} +2 -2
  215. package/dist/cdn/{TKOIJYF4.js → T4BAASGD.js} +2 -2
  216. package/dist/cdn/{KBDBSCXP.js → TIPFSDZA.js} +2 -2
  217. package/dist/cdn/{4KEBF4LC.js → TP3QX5HT.js} +2 -2
  218. package/dist/cdn/{PCME4I7V.js → TQM2UAMN.js} +2 -2
  219. package/dist/cdn/{KHZT65GM.js → TTJLCKXQ.js} +2 -2
  220. package/dist/cdn/{DLLKABZH.js → TWSV65O2.js} +2 -2
  221. package/dist/cdn/{RPDZRAZN.js → U5GNKKAT.js} +2 -2
  222. package/dist/cdn/UCRJGUPR.js +18 -0
  223. package/dist/cdn/{KMFOS5KM.js → UE3MOFNO.js} +2 -2
  224. package/dist/cdn/{3DGCRE6C.js → UFW2PO2K.js} +2 -2
  225. package/dist/cdn/{UZ2HGN74.js → UQ6BMBWB.js} +2 -2
  226. package/dist/cdn/{C4JYYMYJ.js → USUJ3LC6.js} +2 -2
  227. package/dist/cdn/UWFHS56N.js +18 -0
  228. package/dist/cdn/{XE4V3N2H.js → UWYX3KLQ.js} +2 -2
  229. package/dist/cdn/{STM2LDCR.js → UY5WXQ65.js} +1 -1
  230. package/dist/cdn/{73CALEXO.js → UZ7Z2JVT.js} +1 -1
  231. package/dist/cdn/{6D3RDJX7.js → UZC6O522.js} +2 -2
  232. package/dist/cdn/{22TLYMB5.js → V2CTNIEN.js} +2 -2
  233. package/dist/cdn/{44KIKBNN.js → V3NJ7RMG.js} +1 -1
  234. package/dist/cdn/{EMX7A46W.js → VE4I5REF.js} +1 -1
  235. package/dist/cdn/{FZAQQCT2.js → VF44ZDU6.js} +2 -2
  236. package/dist/cdn/{JGO5DBSA.js → VFHITJHF.js} +2 -2
  237. package/dist/cdn/{WGOOZUKO.js → VGOCUCWJ.js} +2 -2
  238. package/dist/cdn/{ATBQXDJR.js → VHCT5ETZ.js} +1 -1
  239. package/dist/cdn/{KWPSUDAQ.js → VIJEHZLK.js} +2 -2
  240. package/dist/cdn/{BQW56YYM.js → VKCASX3G.js} +2 -2
  241. package/dist/cdn/{CUWBKPW3.js → VLHN4DFG.js} +2 -2
  242. package/dist/cdn/{LKCOVVSL.js → VMWRKCHU.js} +2 -2
  243. package/dist/cdn/{GOFL3CLI.js → VN7EOIEM.js} +2 -2
  244. package/dist/cdn/{YFXB4ISW.js → VPRU3HQD.js} +2 -2
  245. package/dist/cdn/{EMSROVVK.js → VVQFUKSX.js} +2 -2
  246. package/dist/cdn/{YBYPMK5B.js → VZJ4LWYJ.js} +2 -2
  247. package/dist/cdn/{4FINQGFN.js → W6GET7ZB.js} +2 -2
  248. package/dist/cdn/{OZ6MXTPT.js → W6QIPNCT.js} +2 -2
  249. package/dist/cdn/{NMOQUXR6.js → WAQJ4IC3.js} +2 -2
  250. package/dist/cdn/{64GGJXW2.js → WBJLCNZG.js} +2 -2
  251. package/dist/cdn/{5YPIARSS.js → WO34BPRA.js} +2 -2
  252. package/dist/cdn/{VWNZ5PHO.js → WQSGEAXH.js} +2 -2
  253. package/dist/cdn/{HOSQ2AT7.js → WS4WNRNQ.js} +2 -2
  254. package/dist/cdn/{OVZZDA7E.js → WSDY2CHI.js} +1 -1
  255. package/dist/cdn/{OK3FOLOF.js → WSUH3PG3.js} +2 -2
  256. package/dist/cdn/{IUKZJEZR.js → X6MD346Y.js} +2 -2
  257. package/dist/cdn/{WBEQ7VK3.js → XCCD5RBC.js} +2 -2
  258. package/dist/cdn/{UXS2JZES.js → XHQDXY4H.js} +2 -2
  259. package/dist/cdn/{FTLPMKAC.js → XLMYFJTK.js} +2 -2
  260. package/dist/cdn/{32U4CX5C.js → XVDOUKNJ.js} +1 -1
  261. package/dist/cdn/{WIJOUEJP.js → XZBB2UEX.js} +1 -1
  262. package/dist/cdn/{5QPQAJMG.js → XZEDAG2T.js} +2 -2
  263. package/dist/cdn/{P2ZWJVGZ.js → Y52LUZET.js} +6 -6
  264. package/dist/cdn/{VHODC5K7.js → YB3XRPJ5.js} +2 -2
  265. package/dist/cdn/{QQD353LD.js → YF65GC7S.js} +2 -2
  266. package/dist/cdn/{KLDZGQR7.js → YMHHSIXK.js} +2 -2
  267. package/dist/cdn/{E6ANX74E.js → YO2OX52L.js} +2 -2
  268. package/dist/cdn/{EGBONIMT.js → YR5E3HFV.js} +2 -2
  269. package/dist/cdn/{G5HPM6N2.js → YUAPYYIK.js} +2 -2
  270. package/dist/cdn/{XXLWKLVG.js → YUQ2VNA6.js} +2 -2
  271. package/dist/cdn/{VKBPB4XL.js → YY23O533.js} +1 -1
  272. package/dist/cdn/{N47B2PFI.js → Z3QNUQDB.js} +2 -2
  273. package/dist/cdn/{6QYC63ET.js → Z42LHLHR.js} +1 -1
  274. package/dist/cdn/{CQEENTBO.js → ZFWMGQUB.js} +2 -2
  275. package/dist/cdn/{PSTKPUKW.js → ZKX2RDI2.js} +2 -2
  276. package/dist/cdn/{KU56AQD3.js → ZXPEMYN2.js} +2 -2
  277. package/dist/cdn/assets/solution-deploying-panel/t9n/messages.en.json +1 -1
  278. package/dist/cdn/assets/solution-deploying-panel/t9n/messages.json +1 -1
  279. package/dist/cdn/index.js +2 -2
  280. package/dist/chunks/Auth.js +1 -1
  281. package/dist/chunks/cardFetchingUtils.js +1 -1
  282. package/dist/chunks/common.js +1 -1
  283. package/dist/chunks/deployAppContexts.js +1 -1
  284. package/dist/chunks/downloadUtils.js +140 -138
  285. package/dist/chunks/index.js +1 -1
  286. package/dist/chunks/interfaces.js +1 -1
  287. package/dist/chunks/loadModules.js +1 -1
  288. package/dist/chunks/mapViewUtils.js +1 -1
  289. package/dist/chunks/pciUtils.js +1 -1
  290. package/dist/chunks/popupUtils.js +1 -1
  291. package/dist/chunks/publicNotificationStore.js +1 -1
  292. package/dist/chunks/queryUtils.js +1 -1
  293. package/dist/chunks/runtime.js +1 -1
  294. package/dist/chunks/solution-store.js +1 -1
  295. package/dist/chunks/templates.js +1 -1
  296. package/dist/chunks/useT9n.js +1 -1
  297. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  298. package/dist/components/basemap-gallery/customElement.js +1 -1
  299. package/dist/components/buffer-tools/customElement.js +1 -1
  300. package/dist/components/card-manager/customElement.d.ts +1 -1
  301. package/dist/components/card-manager/customElement.js +1 -1
  302. package/dist/components/consent-manager/customElement.js +1 -1
  303. package/dist/components/create-feature/customElement.d.ts +12 -5
  304. package/dist/components/create-feature/customElement.js +44 -50
  305. package/dist/components/create-related-feature/customElement.js +3 -3
  306. package/dist/components/crowdsource-manager/customElement.js +1 -1
  307. package/dist/components/crowdsource-reporter/customElement.d.ts +0 -6
  308. package/dist/components/crowdsource-reporter/customElement.js +98 -87
  309. package/dist/components/deduct-calculator/customElement.js +1 -1
  310. package/dist/components/delete-button/customElement.d.ts +1 -1
  311. package/dist/components/delete-button/customElement.js +1 -1
  312. package/dist/components/delete-dialog/customElement.js +1 -1
  313. package/dist/components/edit-card/customElement.js +1 -1
  314. package/dist/components/feature-details/customElement.d.ts +2 -0
  315. package/dist/components/feature-details/customElement.js +7 -5
  316. package/dist/components/feature-list/customElement.d.ts +2 -0
  317. package/dist/components/feature-list/customElement.js +20 -20
  318. package/dist/components/field-selection/customElement.js +1 -1
  319. package/dist/components/floor-filter/customElement.js +1 -1
  320. package/dist/components/info-card/customElement.js +3 -3
  321. package/dist/components/json-editor/customElement.js +1 -1
  322. package/dist/components/layer-list/customElement.js +1 -1
  323. package/dist/components/layer-table/customElement.js +1 -1
  324. package/dist/components/map-card/customElement.js +1 -1
  325. package/dist/components/map-draw-tools/customElement.js +1 -1
  326. package/dist/components/map-fullscreen/customElement.js +1 -1
  327. package/dist/components/map-layer-picker/customElement.d.ts +0 -5
  328. package/dist/components/map-layer-picker/customElement.js +14 -16
  329. package/dist/components/map-legend/customElement.js +1 -1
  330. package/dist/components/map-picker/customElement.d.ts +1 -1
  331. package/dist/components/map-picker/customElement.js +5 -8
  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 +1 -1
  338. package/dist/components/refine-selection/customElement.js +1 -1
  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 +1 -0
  348. package/dist/components/solution-deploy-panel/customElement.js +5 -5
  349. package/dist/components/solution-deployed-card/customElement.js +1 -1
  350. package/dist/components/solution-deploying-panel/customElement.d.ts +7 -0
  351. package/dist/components/solution-deploying-panel/customElement.js +48 -15
  352. package/dist/components/solution-deploying-panel/index.d.ts +7 -0
  353. package/dist/components/solution-deploying-panel/index.js +7 -0
  354. package/dist/components/solution-details-card/customElement.js +1 -1
  355. package/dist/components/solution-details-panel/customElement.js +1 -1
  356. package/dist/components/solution-item/customElement.js +1 -1
  357. package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
  358. package/dist/components/solution-item-accordion/customElement.js +4 -4
  359. package/dist/components/solution-item-details/customElement.js +1 -1
  360. package/dist/components/solution-item-icon/customElement.js +1 -1
  361. package/dist/components/solution-item-sharing/customElement.js +1 -1
  362. package/dist/components/solution-items-diagram/customElement.js +1 -1
  363. package/dist/components/solution-organization-variables/customElement.js +1 -1
  364. package/dist/components/solution-resource-item/customElement.js +1 -1
  365. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  366. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  367. package/dist/components/solution-template-data/customElement.js +1 -1
  368. package/dist/components/solution-variables/customElement.js +1 -1
  369. package/dist/components/solutions-all-panel/customElement.js +1 -1
  370. package/dist/components/solutions-all-shell/customElement.js +1 -1
  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.js +1 -1
  375. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  376. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  377. package/dist/components/spatial-ref/customElement.js +1 -1
  378. package/dist/components/store-manager/customElement.js +1 -1
  379. package/dist/docs/api.json +127 -66
  380. package/dist/docs/docs.json +149 -60
  381. package/dist/docs/vscode.html-custom-data.json +14 -14
  382. package/dist/docs/web-types.json +63 -36
  383. package/dist/index.d.ts +2 -0
  384. package/dist/index.js +1 -1
  385. package/dist/loader.js +6 -6
  386. package/dist/types/lumina.d.ts +7 -5
  387. package/dist/types/preact.d.ts +7 -5
  388. package/dist/types/react.d.ts +7 -5
  389. package/dist/types/stencil.d.ts +7 -5
  390. package/package.json +1 -1
  391. package/dist/cdn/4NCQ3IS4.js +0 -18
  392. package/dist/cdn/5Z3SFZPV.js +0 -19
  393. package/dist/cdn/627NUP22.js +0 -4
  394. package/dist/cdn/6K3XKNF7.js +0 -18
  395. package/dist/cdn/FLEZVTRW.js +0 -4
  396. package/dist/cdn/KNHIVMQR.js +0 -4
  397. package/dist/cdn/QY3WDSZE.js +0 -4
  398. package/dist/cdn/RE3SUTYT.js +0 -18
  399. package/dist/cdn/RHY65LV5.js +0 -18
  400. package/dist/cdn/RJS3KPCL.js +0 -18
  401. package/dist/cdn/U2HFGKIV.js +0 -18
  402. package/dist/cdn/VJLQ32GX.js +0 -4
  403. package/dist/cdn/WRJ2IISI.js +0 -18
  404. package/dist/cdn/X4XTLJM6.js +0 -4
  405. package/dist/cdn/X6K34YQK.js +0 -4
  406. package/dist/cdn/XLPJWPRX.js +0 -4
@@ -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.20250529.1 */
4
- import{a as k}from"./E6AZUM5D.js";import"./6VV6QBNS.js";import{g as s}from"./CLTGVNIT.js";import{a as g,b as m}from"./Q5577CJV.js";import{b as y}from"./2M3XDJVT.js";import{a as w}from"./4KEBF4LC.js";import{D as n,E as o,I as p,c,d as l,o as a,q as d}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var _=c`@layer{/** @license
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as k}from"./BD737FGF.js";import"./NIXMWDPM.js";import{g as s}from"./6KYFPVWD.js";import{a as g,b as m}from"./R7OODGTN.js";import{b as y}from"./CCKIOTSJ.js";import{a as w}from"./TP3QX5HT.js";import{D as n,E as o,I as p,c,d as l,o as a,q as d}from"./RTFLMETG.js";import"./GZU2CPZN.js";var _=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.20250529.1 */
4
- import{a}from"./STM2LDCR.js";import{a as d}from"./JNLPWAOW.js";import{m as b,n as m}from"./RSHSVMPO.js";import"./TS32X4ID.js";import{a as l}from"./4L3V2YYV.js";import{a as i}from"./XWZRUTOX.js";import"./RZS7265A.js";import"./5OFRMSV6.js";import"./GWPISXDC.js";import"./DRS4Z435.js";import"./6SEI3MD4.js";import"./SAYEB7BP.js";import"./SJSKBJDQ.js";import"./RNNWBWHE.js";import"./ATXF6EM5.js";import"./UZ2HGN74.js";import"./3OJVS3LV.js";import"./TWKAESRO.js";import"./3TNNRRLR.js";import"./ATBQXDJR.js";import"./EGBONIMT.js";import"./XEKWJEF6.js";import"./4YOYUXOM.js";import"./AO367CCB.js";import"./422X4AIN.js";import"./ITFUMWIC.js";import"./NB2KN2PS.js";import"./QUYSAWNZ.js";import"./EUCKEPMP.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/preview/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
3
+ v1.0.0-next.20250530.1 */
4
+ import{a}from"./UY5WXQ65.js";import{a as d}from"./GJKEPLSZ.js";import{m as b,n as m}from"./OWDWZHMV.js";import"./DA5DY7HY.js";import{a as l}from"./ILUBVWJF.js";import{a as i}from"./CH5PRHPR.js";import"./IDBD7LSX.js";import"./NTHWDWQ4.js";import"./GV3IWFPF.js";import"./HMGYITJ2.js";import"./SGUBT5JB.js";import"./CXJ53YNZ.js";import"./M6XUGB2Z.js";import"./7NWNTAMW.js";import"./CPBYDRAF.js";import"./UQ6BMBWB.js";import"./I5VSPGGJ.js";import"./BV76MPA5.js";import"./HYIN2EAD.js";import"./VHCT5ETZ.js";import"./YR5E3HFV.js";import"./EK4MS2HQ.js";import"./GJWN4WP3.js";import"./C34H6SGK.js";import"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/preview/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ 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.20250529.1 */
4
- import{a as g,b as E,c as p,d as I,e as f,f as r,i as y,j as S,l as k}from"./BQW56YYM.js";import"./EZZ43ZR6.js";import"./JUFXEC5B.js";import"./INGNQIJ3.js";import"./OVZZDA7E.js";import{a as _,c as i,d as v,e as U,f as b,j as w}from"./DE4JUMCH.js";import"./EUCKEPMP.js";var A=`
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as g,b as E,c as p,d as I,e as f,f as r,i as y,j as S,l as k}from"./VKCASX3G.js";import"./HQ4JF5OI.js";import"./QMT7LNSC.js";import"./PHA5TYOC.js";import"./WSDY2CHI.js";import{a as _,c as i,d as v,e as U,f as b,j as w}from"./5DFDVK6H.js";import"./GZU2CPZN.js";var A=`
5
5
  .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-top: 10px !important;
7
7
  margin-left: 55px !important;
@@ -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.20250529.1 */
4
- import{a,b}from"./422X4AIN.js";import"./ITFUMWIC.js";import"./NB2KN2PS.js";import"./QUYSAWNZ.js";import"./EUCKEPMP.js";export{a as SiteEditorTypes,b as getSiteSchema};
3
+ v1.0.0-next.20250530.1 */
4
+ import{a,b}from"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";export{a as SiteEditorTypes,b as getSiteSchema};
@@ -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.20250529.1 */
4
- import{a as h}from"./UTTBCGBU.js";import{b as m}from"./TKOIJYF4.js";import{a as U}from"./EMX7A46W.js";import{c as t,e as l,f as d}from"./MKZNNMPC.js";import{a as N}from"./AQLKL2NA.js";import{c as A}from"./GWPISXDC.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as h}from"./NS4YKFI7.js";import{b as m}from"./T4BAASGD.js";import{a as U}from"./VE4I5REF.js";import{c as t,e as l,f as d}from"./2ED5S63G.js";import{a as N}from"./RVQUWOMM.js";import{c as A}from"./GV3IWFPF.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
@@ -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.20250530.1 */
4
+ import{a,b}from"./EK4MS2HQ.js";import"./GJWN4WP3.js";import"./C34H6SGK.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
@@ -0,0 +1,18 @@
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.20250530.1 */
4
+ import{a as h}from"./TP3QX5HT.js";import{D as d,I as p,c as a,d as l,g as c,o as n}from"./RTFLMETG.js";import"./GZU2CPZN.js";var y=a`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color: var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}`,r=class extends d{constructor(){super(...arguments),this.linkType="item",this.listSelectionMode="none",this.templateInfos=[],this.typeKeywords=[],this._sortedTemplateInfos=[],this._translations=h({name:"solution-item-accordion",blocking:!0}),this._sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"],this.solutionItemHover=n(),this.solutionItemSelect=n(),this.solutionTypeHover=n()}static{this.properties={linkType:1,listSelectionMode:1,templateInfos:0,typeKeywords:0,_sortedTemplateInfos:16,_translations:16}}static{this.styles=y}willUpdate(e){e.has("templateInfos")&&(this.hasUpdated||this.templateInfos?.length>0)&&this.templateInfosWatchHandler()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async collapseAll(){this.el?.shadowRoot?.querySelectorAll("calcite-accordion-item")?.forEach(e=>{e.expanded=!1})}async deselectAll(){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(e=>{e.selected&&(e.selected=!1,(e.parentElement?.parentElement).expanded=!1)})}async selectItem(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id===e&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async load(){this._sortedTemplateInfos=this._sortTemplates()}render(){return this._getAccordion()}_deselectOthers(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id!==e&&(t.selected=!1)})}_getAccordion(){let e=[],t=this._sortedTemplateInfos.reduce((i,o)=>{let s=this._getTypeForDisplay(o.type,o.typeKeywords);return e.indexOf(s)<0&&(e.push(s),i.push(this._getAccordionItem(o))),i},[]);return l`<calcite-accordion class="border-override" selection-mode=single>${t}</calcite-accordion>`}_getAccordionItem(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter(o=>this._getTypeForDisplay(o.type,o.typeKeywords)===t);return l`<calcite-accordion-item .description=${`${t} (${i.length})`} @mouseenter=${()=>this.solutionTypeHover.emit({itemType:t,entering:!0})} @mouseleave=${()=>this.solutionTypeHover.emit({itemType:t,entering:!1})}><solution-item-icon class="padding-start-1 display-flex align-center" slot=actions-start .type=${e.type} .typeKeywords=${e.typeKeywords}></solution-item-icon>${this._getList(i)}</calcite-accordion-item>`}_getList(e){let t=this._sortTemplatesByTitle(e);return l`<calcite-list label selection-appearance=border .selectionMode=${this.listSelectionMode}>${t.map(i=>this._getListItem(i))}</calcite-list>`}_getListItem(e){let t=this.typeKeywords.includes("Deployed")&&e.url,i=this.linkType==="action";return l`<calcite-list-item id=${e.id??c} @mouseenter=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!0})} @mouseleave=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!1})} @calciteListItemSelect=${()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0}),t&&!i&&window.open(e.url,"_blank")}} .value=${e.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${t&&!i?"underline":""}`}>${e.title}</div><div class="solution-list-item-description">${e.snippet}</div></div>${t&&i?l`<div slot=actions-end><calcite-action icon=launch .id=${`${e.id}-launch`} @click=${()=>window.open(e.url,"_blank")} text></calcite-action><calcite-tooltip overlay-positioning=fixed .referenceElement=${`${e.id}-launch`}><span>${this._translations?.openDetails}</span></calcite-tooltip></div>`:null}</calcite-list-item>`}_sortTemplatesByTitle(e){return e.sort((t,i)=>t.title<i.title?-1:t.title>i.title?1:0)}_sortTemplates(){return this.templateInfos.sort((e,t)=>{let i=this._getTypeForSort(e),o=this._getTypeForSort(t),s=this._sortOrder.indexOf(i),m=this._sortOrder.indexOf(o);return s-m})}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if(e==="Feature Service"){let o=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=o&&s?"Table (hosted, view)":s?"Table (hosted)":o?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return e==="Web Mapping Application"&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i=e==="Geoprocessing Service"?"Tool":i,i=e==="Feed"?"Feed (hosted)":i,i=e==="Real Time Analytic"?"Real Time Analytic (hosted)":i,i=e==="Big Data Analytic"?"Big Data Analytic (hosted)":i,i=e==="Vector Tile Service"?"Tile Layer":i,i}};p("solution-item-accordion",r);export{r as SolutionItemAccordion};
@@ -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.20250529.1 */
3
+ v1.0.0-next.20250530.1 */
4
4
  var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250529.1 */
4
- import{a as O}from"./KHZT65GM.js";import{a as D}from"./EZZ43ZR6.js";import{h as N,i as b}from"./INGNQIJ3.js";var k=D({data:{},relationshipRampExpandStates:{},compact:!1}),P=k.state,K=k;function W(e,t,o){return n=>{let c=n?.layer?.type;if(c==="feature"||c==="group"){let i=j(t,n,o).then(r=>r);i&&e.push(i);let a=r=>{let s=j(t,r,o).then(l=>l);s&&e.push(s)};n.children.forEach(r=>{a(r),r?.children?.length>0&&r.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(l=>{a(l)})})})}}}async function j(e,t,o){try{let n=t?.layer?.type==="group",c=t?.layer?.layers?.some(h=>h.visible),i=t?.layer?.layers?.every(h=>!h?.legendEnabled);await o.whenOnce(()=>e?.state==="ready"),!n||n&&c?n&&i?await o.whenOnce(()=>t?.layer?.loaded):await o.whenOnce(()=>t?.ready):await o.whenOnce(()=>t?.legendElements);let a=t?.legendElements?.[0],r=new Map,s=t.layer,l=await e?.view?.whenLayerView(s),f=s.renderer?.field??"";a!==void 0&&a?.infos?.forEach(h=>{if(h.type==="symbol-table"){let y=[];h.infos.forEach(g=>{let E={count:null,selected:!1,legendElementInfo:g};y.push(E)});let d={count:null,selected:!1,legendElementInfo:h,nestedInfos:y};r.set(h.title,d)}else{let y={count:null,selected:!1,legendElementInfo:h};r.set(h.label??s.id,y)}});let u=[];return l?Promise.resolve({activeLayerInfo:t,title:l.layer.title,categories:r,field:f,queryExpressions:u,totalCount:null,fLayerView:l,legendElement:a}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function re(e,t){let o={},n=[];e.activeLayerInfos.forEach(W(n,e,t));try{return(await Promise.all(n)).forEach(i=>{let a=i?.activeLayerInfo?.layer?.id;o[a]=i}),Promise.resolve(o)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ne(e){return Array.from(e,t=>t[1])}function oe(e,t,o,n,c){if(n)return n?.nestedInfos?.[c];let i="label"in o?o?.label:t?.id;return e?.categories?.get(i)}function ce(e){return P?.data?.[e?.id]}async function ae(e,t,o,n,c){let{queryExpressions:i,fLayerView:a}=e;X(e,t,o,c);let r=i.every(u=>u&&u.includes("<>"))?" AND ":" OR ",s=i.join(r),l=a?.filter?.timeExtent??a?.featureEffect?.filter?.timeExtent??null,{type:f}=n;if(f==="filter")a.filter=await b({where:s,timeExtent:l});else if(n.effect){let{includedEffect:u,excludedEffect:h}=n.effect,p=await O(h,a,"excludedEffect"),y=await O(u,a,"includedEffect");a.featureEffect=await N({filter:await b({where:s,timeExtent:l}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function V(e,t){let o=t?t?.layer?.renderer?.authoringInfo:null,n=o?o.fields:null,c=[];if(!n)return"";if(Object.hasOwn(e,"value"))return n.forEach(i=>{if(e.value===i)return;let a=`(${e.value} > ${i} OR (${i} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;c.push(a)}),c.join(" AND ");{let i=[];n.forEach(r=>{i.push(`${r} = 0`)});let a=[];if(n.length>2){n.forEach(l=>{n.forEach(f=>{if(l===f)return;let u=[];n.forEach(h=>{l===h||f===h||u.push(`${l} = ${f} AND (${l} > ${h} OR ${l} >= ${h})`)}),a.push(`(${u.join(" AND ")})`)})});let r=[];return n.forEach(l=>{r.push(`${l} IS NULL`)}),`(${i.join(" AND ")}) OR (${a.join(" OR ")}) OR (${r.join(" AND ")})`}else{let r=[];n.forEach(l=>{n.forEach(f=>{l!==f&&(r.push(`${l} = ${f}`),r.push(`(${i.join(" AND ")})`))})});let s=[];return n.forEach(l=>{n.forEach(f=>{l!==f&&s.push(`(${l} = 0 AND ${f} IS NULL) OR (${l} IS NULL AND ${f} IS NULL)`)})}),`(${r.join(" OR ")}) OR (${s.join(" OR ")})`}}}function X(e,t,o,n){let{field:c,legendElement:i,categories:a,fLayerView:r}=e,s=e?.queryExpressions;n&&Array.from(e.categories).map(g=>g[1]).forEach(g=>{g.nestedInfos?.every(m=>!m.selected)&&g.nestedInfos?.forEach(m=>{let $=c?`${c} = '${m.legendElementInfo.value}'`:null,w=$?s.indexOf($):-1;$&&w!==-1&&s.splice(w,1)})});let l=i?.infos,f=L(r),u=f?V(t,r):R(t,c,o,i,l??[],""),h=a?n?a.get(n.title)?.nestedInfos?.[o]:a.get(t.label??r?.layer?.id):null;h&&(h.selected=!h?.selected);let p=l&&l.length===1,y=s.indexOf(u);if(f){let d=s.indexOf(u);s.length===0||d===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]?s[0]="1=0":s&&s.length===1||s.length===1&&u!==s[0]&&s[0]==="1=0"?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"?s[0]=null:s.splice(d,1),s.join(" OR ")}else s.length===0||y===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]&&!p?s[0]="1=0":s&&s.length===1&&!p||s.length===1&&u!==s[0]&&s[0]==="1=0"&&!p?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"&&!p?s[0]=null:s.splice(y,1);if(n){let d=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{(c?`${c} = '${$.legendElementInfo.value}'`:null)&&d.push(`${c} = '${$.legendElementInfo.value}'`)})}),d.forEach(E=>{s.includes(E)||s.push(E)})}}function R(e,t,o,n,c,i){let{value:a}=e;if(n?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value))return i?`((${t}/${i}) > ${c?.[0].value[1]}) OR ((${t}/${i}) < ${c?.[c.length-2].value[0]}) OR ${i} = 0 OR ${i} IS NULL`:`${t} > ${c?.[0].value[1]} OR ${t} < ${c?.[c.length-2].value[0]} OR ${t} IS NULL`;if(c?.length===1)return"1=0";{let r=[];c?.forEach(l=>{if(l?.value){let{value:f}=l,u=f.indexOf("'")!==-1?f.split("'").join("''"):null,h=u?`${t} <> '${u}'`:isNaN(f)||typeof f=="string"&&!f.trim()?`${t} <> '${f}'`:`${t} <> ${f} AND ${t} <> '${f}'`;r.push(h)}});let s=r.join(" AND ");return t&&s?`${s} OR ${t} IS NULL`:""}}else{let r=a.indexOf("'")!==-1?a.split("'").join("''"):null,s=Array.isArray(e.value),l=c&&c.length-1===o,f=!Object.hasOwn(c?.[c.length-1],"value"),u=c&&c.length-2===o;return s?i?l||f&&u?`(${t}/${i}) >= ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:`(${t}/${i}) > ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:l||f&&u?`${t} >= ${a[0]} AND ${t} <= ${a[1]}`:`${t} > ${a[0]} AND ${t} <= ${a[1]}`:c?.length===1&&t?isNaN(a)||!a.trim().length?`${t} <> '${a}'`:`${t} <> ${a} OR ${t} <> '${a}'`:r?`${t} = '${r}'`:isNaN(a)||!a.trim().length?`${t} = '${a}'`:`${t} = ${a} OR ${t} = '${a}'`}else return""}function ie(e){return Array.isArray(e)?e.every(t=>!t.selected):e&&Array.from(e.categories.entries()).every(t=>!t[1].selected)&&e.queryExpressions[0]!=="1=0"}function L(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function ue(e,t,o){let c=e.layer?.renderer?.field,i=t?.type,a=e?.layerView,r=a?.layer?.renderer?.classBreakInfos,s=a?.layer?.renderer?.uniqueValueInfos&&c,l=i==="size-ramp",f=i==="color-ramp",u=i==="opacity-ramp",h=i==="heatmap-ramp",p=a&&r&&r.length>1,y=a?.layer?.renderer?.authoringInfo?.type,d=y==="class-breaks-color",g=y==="class-breaks-size",E=t?.infos?.length===1&&!c,m=y==="relationship"&&t?.type!=="size-ramp"&&t?.type!=="symbol-table",$=e?.layer?.type==="feature",w=$&&c&&!f&&!l&&p,A=!!($&&c&&!f&&!l&&!p),S=!!(A||L(a)&&!l||d&&c||g&&c||E&&!c&&c!==null||m||s),U=e?.layer?.featureReduction&&e?.legendElements?.[o]?.type==="size-ramp",q=t?.type==="symbol-table"&&t?.infos?.length===1,Q=!e?.legendElements.every(x=>x.type!=="color-ramp"),B=!e?.legendElements.every(x=>x.type!=="size-ramp"),z=q&&Q,I=q&&B,G=t?.infos?.every(x=>typeof x.value=="number"),Z=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=y==="dot-density",J=T(e?.layer,c);return $&&!U&&!u&&!h&&!z&&!I&&!G&&!Z&&!H&&J?r?w||S:A||S:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(t=>{t.selected=!1}),e}function he(e,t){e.categories.get(t)?.nestedInfos?.forEach(r=>{let s=`${e.field} = '${r.legendElementInfo.value}'`,l=e.queryExpressions.indexOf(s);l!==-1&&e.queryExpressions.splice(l,1),r.selected=!1});let n=[],c=Array.from(e.categories).map(r=>r[1]);c.forEach(r=>{r.nestedInfos?.every(l=>!l.selected)&&r.nestedInfos?.forEach(l=>{n.push(`${e.field} = '${l.legendElementInfo.value}'`)})}),n.forEach(r=>{e.queryExpressions.includes(r)||e.queryExpressions.push(r)});let i=e.queryExpressions.join(" OR ");return c.every(r=>r.nestedInfos?.every(s=>!s.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function ye(e,t,o){let n=e.fLayerView.createQuery();if(o)if(o.nestedInfos.every(i=>!i.selected)){let i=o.nestedInfos.map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let i=o.nestedInfos.filter(a=>a.selected).map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let c=e.queryExpressions.join(" OR ");n.where=c}try{let{extent:c}=await e.fLayerView.layer.queryExtent(n);await t.goTo(c)}catch{}}function pe(e){return e.map(o=>o?.count).reduce((o,n)=>o+n)}function de(e){return e.map(t=>t?.nestedInfos?.map(o=>o.count).reduce((o,n)=>o+n)).reduce((t,o)=>t+o)}async function v(e,t,o,n,c,i,a,r){if(!t||!T(t?.layer,o))return;let l=t?.layer?.type==="feature"?t.createQuery():null,f=L(t)?V(n,t):n.type?R(a,o,r,n,n.infos):R(n,o,c,i,i.infos);l&&f&&(l.where=f==="1=0"?"1=1":f,e&&(l.geometry=e));try{let u=l?await t.queryFeatureCount(l):null;return Promise.resolve({[n.label??t?.layer?.id]:u})}catch(u){console.error("FAILURE AT 'getInfoCount': ",u)}return await Promise.resolve(null)}async function ge(e,t){let o={...t},{activeLayerInfos:n}=e,c=e?.view?.extent,i={},a={};n.forEach(async r=>{let s=r.legendElements[0],l=r.layer,f=t[r?.layer?.id]?.fLayerView,u=l.renderer?.field,h=[];a[r.layer.id]=[],s?.infos?.forEach((y,d)=>{if(s.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach((m,$)=>{let w=v(c,f,u,y,d,s,m,$);E.push(w)}),a[r.layer.id].push(E)}else h.push(v(c,f,u,y,d,s)),a[r.layer.id]=h});let p=y=>{let d=[],g=y.legendElements[0],E=y.layer,m=t[y?.layer?.id]?.fLayerView,$=E.renderer?.field;g?.infos?.forEach((w,A)=>d.push(v(c,m,$,w,A,g))),a[y.layer.id]=d};r.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(d=>{p(d),d?.children?.length>0&&d.children.forEach(g=>{p(g)})})})});for(let r in a){let s=i[r];s||(s=i[r]={});let l=await Promise.all(a[r]);if(l.every(f=>Array.isArray(f))){let f=await Promise.all(l.map(async u=>(await Promise.all(u)).map(y=>y&&Object.values(y)[0])));s[r]=f,i[r]={...s[r]}}else{let f={};l.forEach(u=>{if(!u)return;let h=Object.keys(u)[0];f[h]=u[h]}),r&&(s[r]=f),i[r]={...s[r]}}}return n.forEach(r=>{let s=t[r.layer.id],l=r.layer.id;s?.categories?.forEach((h,p)=>{let d=Array.from(s?.categories).findIndex(g=>g[0]===p);if(h?.nestedInfos)h?.nestedInfos.forEach((g,E)=>{let m=i?.[r?.layer?.id]?.[d]?.[E];g.count=isNaN(m)?null:m});else{let g=i?.[l]?.[p];h.count=isNaN(g)?null:g}});let u=h=>{let p=h.layer.id;t[p]?.categories?.forEach((d,g)=>{let E=i?.[p]?.[g];d.count=E})};r?.children?.forEach(h=>{u(h),h?.children?.length>0&&h.children.forEach(p=>{u(p),p?.children?.length>0&&p.children.forEach(y=>{u(y)})})})}),await Promise.resolve(o)}function Ee(e,t){return e?.nestedInfos?.[t]}function $e(e){return Array.from(e).map(o=>o[1]).every(o=>!!o?.nestedInfos)}function me(e){return!!e?.legendElements?.[0]?.infos?.every?.(t=>t?.type==="symbol-table")}function we(e,t){if(typeof t?.title=="string")return e?.categories?.get(t?.title)}function xe(e){let t="calcite-mode-",o=`${t}light`,n=`${t}dark`;return e.classList.contains(n)?n:o}function Oe(e){if(e.layerId&&e.intLegendLayerData){let t=e.layerId,o=e.intLegendLayerData,n={...P.data,[t]:o};K.set("data",n)}}function Ae(e,t){let{type:o}=e;o==="filter"?Y(t):o==="effect"&&_(e,t)}function Y(e){e?.allLayerViews?.filter(t=>t?.layer?.type==="feature")?.forEach(t=>{let o=t,n=C(o);o.filter=n,o.set("featureEffect",null)})}function _(e,t){t?.allLayerViews?.filter(o=>o?.layer?.type==="feature").forEach(async o=>{let n=o;if(e?.effect&&n){let{includedEffect:c,excludedEffect:i}=e.effect,a=await O(i,n,"excludedEffect"),r=await O(c,n,"includedEffect"),s=C(n);n.featureEffect=await N({filter:s,includedEffect:r,excludedEffect:a}),n.set("filter",null)}})}function C(e){return e?.filter||e?.featureEffect?.filter}function T(e,t){let o=e?.fields,n=o&&o.map(c=>c.name);return t?n&&n.includes(t):!0}function Ne(e){let t=[];return e.forEach(o=>F(o,t)),t}function F(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(o=>{F(o,t)})}export{P as a,K as b,j as c,re as d,ne as e,oe as f,ce as g,ae as h,ie as i,le as j,ue as k,fe as l,he as m,ye as n,pe as o,de as p,ge as q,Ee as r,$e as s,me as t,we as u,xe as v,Oe as w,Ae as x,Ne as y};
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as O}from"./TTJLCKXQ.js";import{a as D}from"./HQ4JF5OI.js";import{h as N,i as b}from"./PHA5TYOC.js";var k=D({data:{},relationshipRampExpandStates:{},compact:!1}),P=k.state,K=k;function W(e,t,o){return n=>{let c=n?.layer?.type;if(c==="feature"||c==="group"){let i=j(t,n,o).then(r=>r);i&&e.push(i);let a=r=>{let s=j(t,r,o).then(l=>l);s&&e.push(s)};n.children.forEach(r=>{a(r),r?.children?.length>0&&r.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(l=>{a(l)})})})}}}async function j(e,t,o){try{let n=t?.layer?.type==="group",c=t?.layer?.layers?.some(h=>h.visible),i=t?.layer?.layers?.every(h=>!h?.legendEnabled);await o.whenOnce(()=>e?.state==="ready"),!n||n&&c?n&&i?await o.whenOnce(()=>t?.layer?.loaded):await o.whenOnce(()=>t?.ready):await o.whenOnce(()=>t?.legendElements);let a=t?.legendElements?.[0],r=new Map,s=t.layer,l=await e?.view?.whenLayerView(s),f=s.renderer?.field??"";a!==void 0&&a?.infos?.forEach(h=>{if(h.type==="symbol-table"){let y=[];h.infos.forEach(g=>{let E={count:null,selected:!1,legendElementInfo:g};y.push(E)});let d={count:null,selected:!1,legendElementInfo:h,nestedInfos:y};r.set(h.title,d)}else{let y={count:null,selected:!1,legendElementInfo:h};r.set(h.label??s.id,y)}});let u=[];return l?Promise.resolve({activeLayerInfo:t,title:l.layer.title,categories:r,field:f,queryExpressions:u,totalCount:null,fLayerView:l,legendElement:a}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function re(e,t){let o={},n=[];e.activeLayerInfos.forEach(W(n,e,t));try{return(await Promise.all(n)).forEach(i=>{let a=i?.activeLayerInfo?.layer?.id;o[a]=i}),Promise.resolve(o)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ne(e){return Array.from(e,t=>t[1])}function oe(e,t,o,n,c){if(n)return n?.nestedInfos?.[c];let i="label"in o?o?.label:t?.id;return e?.categories?.get(i)}function ce(e){return P?.data?.[e?.id]}async function ae(e,t,o,n,c){let{queryExpressions:i,fLayerView:a}=e;X(e,t,o,c);let r=i.every(u=>u&&u.includes("<>"))?" AND ":" OR ",s=i.join(r),l=a?.filter?.timeExtent??a?.featureEffect?.filter?.timeExtent??null,{type:f}=n;if(f==="filter")a.filter=await b({where:s,timeExtent:l});else if(n.effect){let{includedEffect:u,excludedEffect:h}=n.effect,p=await O(h,a,"excludedEffect"),y=await O(u,a,"includedEffect");a.featureEffect=await N({filter:await b({where:s,timeExtent:l}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function V(e,t){let o=t?t?.layer?.renderer?.authoringInfo:null,n=o?o.fields:null,c=[];if(!n)return"";if(Object.hasOwn(e,"value"))return n.forEach(i=>{if(e.value===i)return;let a=`(${e.value} > ${i} OR (${i} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;c.push(a)}),c.join(" AND ");{let i=[];n.forEach(r=>{i.push(`${r} = 0`)});let a=[];if(n.length>2){n.forEach(l=>{n.forEach(f=>{if(l===f)return;let u=[];n.forEach(h=>{l===h||f===h||u.push(`${l} = ${f} AND (${l} > ${h} OR ${l} >= ${h})`)}),a.push(`(${u.join(" AND ")})`)})});let r=[];return n.forEach(l=>{r.push(`${l} IS NULL`)}),`(${i.join(" AND ")}) OR (${a.join(" OR ")}) OR (${r.join(" AND ")})`}else{let r=[];n.forEach(l=>{n.forEach(f=>{l!==f&&(r.push(`${l} = ${f}`),r.push(`(${i.join(" AND ")})`))})});let s=[];return n.forEach(l=>{n.forEach(f=>{l!==f&&s.push(`(${l} = 0 AND ${f} IS NULL) OR (${l} IS NULL AND ${f} IS NULL)`)})}),`(${r.join(" OR ")}) OR (${s.join(" OR ")})`}}}function X(e,t,o,n){let{field:c,legendElement:i,categories:a,fLayerView:r}=e,s=e?.queryExpressions;n&&Array.from(e.categories).map(g=>g[1]).forEach(g=>{g.nestedInfos?.every(m=>!m.selected)&&g.nestedInfos?.forEach(m=>{let $=c?`${c} = '${m.legendElementInfo.value}'`:null,w=$?s.indexOf($):-1;$&&w!==-1&&s.splice(w,1)})});let l=i?.infos,f=L(r),u=f?V(t,r):R(t,c,o,i,l??[],""),h=a?n?a.get(n.title)?.nestedInfos?.[o]:a.get(t.label??r?.layer?.id):null;h&&(h.selected=!h?.selected);let p=l&&l.length===1,y=s.indexOf(u);if(f){let d=s.indexOf(u);s.length===0||d===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]?s[0]="1=0":s&&s.length===1||s.length===1&&u!==s[0]&&s[0]==="1=0"?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"?s[0]=null:s.splice(d,1),s.join(" OR ")}else s.length===0||y===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]&&!p?s[0]="1=0":s&&s.length===1&&!p||s.length===1&&u!==s[0]&&s[0]==="1=0"&&!p?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"&&!p?s[0]=null:s.splice(y,1);if(n){let d=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{(c?`${c} = '${$.legendElementInfo.value}'`:null)&&d.push(`${c} = '${$.legendElementInfo.value}'`)})}),d.forEach(E=>{s.includes(E)||s.push(E)})}}function R(e,t,o,n,c,i){let{value:a}=e;if(n?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value))return i?`((${t}/${i}) > ${c?.[0].value[1]}) OR ((${t}/${i}) < ${c?.[c.length-2].value[0]}) OR ${i} = 0 OR ${i} IS NULL`:`${t} > ${c?.[0].value[1]} OR ${t} < ${c?.[c.length-2].value[0]} OR ${t} IS NULL`;if(c?.length===1)return"1=0";{let r=[];c?.forEach(l=>{if(l?.value){let{value:f}=l,u=f.indexOf("'")!==-1?f.split("'").join("''"):null,h=u?`${t} <> '${u}'`:isNaN(f)||typeof f=="string"&&!f.trim()?`${t} <> '${f}'`:`${t} <> ${f} AND ${t} <> '${f}'`;r.push(h)}});let s=r.join(" AND ");return t&&s?`${s} OR ${t} IS NULL`:""}}else{let r=a.indexOf("'")!==-1?a.split("'").join("''"):null,s=Array.isArray(e.value),l=c&&c.length-1===o,f=!Object.hasOwn(c?.[c.length-1],"value"),u=c&&c.length-2===o;return s?i?l||f&&u?`(${t}/${i}) >= ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:`(${t}/${i}) > ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:l||f&&u?`${t} >= ${a[0]} AND ${t} <= ${a[1]}`:`${t} > ${a[0]} AND ${t} <= ${a[1]}`:c?.length===1&&t?isNaN(a)||!a.trim().length?`${t} <> '${a}'`:`${t} <> ${a} OR ${t} <> '${a}'`:r?`${t} = '${r}'`:isNaN(a)||!a.trim().length?`${t} = '${a}'`:`${t} = ${a} OR ${t} = '${a}'`}else return""}function ie(e){return Array.isArray(e)?e.every(t=>!t.selected):e&&Array.from(e.categories.entries()).every(t=>!t[1].selected)&&e.queryExpressions[0]!=="1=0"}function L(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function ue(e,t,o){let c=e.layer?.renderer?.field,i=t?.type,a=e?.layerView,r=a?.layer?.renderer?.classBreakInfos,s=a?.layer?.renderer?.uniqueValueInfos&&c,l=i==="size-ramp",f=i==="color-ramp",u=i==="opacity-ramp",h=i==="heatmap-ramp",p=a&&r&&r.length>1,y=a?.layer?.renderer?.authoringInfo?.type,d=y==="class-breaks-color",g=y==="class-breaks-size",E=t?.infos?.length===1&&!c,m=y==="relationship"&&t?.type!=="size-ramp"&&t?.type!=="symbol-table",$=e?.layer?.type==="feature",w=$&&c&&!f&&!l&&p,A=!!($&&c&&!f&&!l&&!p),S=!!(A||L(a)&&!l||d&&c||g&&c||E&&!c&&c!==null||m||s),U=e?.layer?.featureReduction&&e?.legendElements?.[o]?.type==="size-ramp",q=t?.type==="symbol-table"&&t?.infos?.length===1,Q=!e?.legendElements.every(x=>x.type!=="color-ramp"),B=!e?.legendElements.every(x=>x.type!=="size-ramp"),z=q&&Q,I=q&&B,G=t?.infos?.every(x=>typeof x.value=="number"),Z=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=y==="dot-density",J=T(e?.layer,c);return $&&!U&&!u&&!h&&!z&&!I&&!G&&!Z&&!H&&J?r?w||S:A||S:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(t=>{t.selected=!1}),e}function he(e,t){e.categories.get(t)?.nestedInfos?.forEach(r=>{let s=`${e.field} = '${r.legendElementInfo.value}'`,l=e.queryExpressions.indexOf(s);l!==-1&&e.queryExpressions.splice(l,1),r.selected=!1});let n=[],c=Array.from(e.categories).map(r=>r[1]);c.forEach(r=>{r.nestedInfos?.every(l=>!l.selected)&&r.nestedInfos?.forEach(l=>{n.push(`${e.field} = '${l.legendElementInfo.value}'`)})}),n.forEach(r=>{e.queryExpressions.includes(r)||e.queryExpressions.push(r)});let i=e.queryExpressions.join(" OR ");return c.every(r=>r.nestedInfos?.every(s=>!s.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function ye(e,t,o){let n=e.fLayerView.createQuery();if(o)if(o.nestedInfos.every(i=>!i.selected)){let i=o.nestedInfos.map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let i=o.nestedInfos.filter(a=>a.selected).map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let c=e.queryExpressions.join(" OR ");n.where=c}try{let{extent:c}=await e.fLayerView.layer.queryExtent(n);await t.goTo(c)}catch{}}function pe(e){return e.map(o=>o?.count).reduce((o,n)=>o+n)}function de(e){return e.map(t=>t?.nestedInfos?.map(o=>o.count).reduce((o,n)=>o+n)).reduce((t,o)=>t+o)}async function v(e,t,o,n,c,i,a,r){if(!t||!T(t?.layer,o))return;let l=t?.layer?.type==="feature"?t.createQuery():null,f=L(t)?V(n,t):n.type?R(a,o,r,n,n.infos):R(n,o,c,i,i.infos);l&&f&&(l.where=f==="1=0"?"1=1":f,e&&(l.geometry=e));try{let u=l?await t.queryFeatureCount(l):null;return Promise.resolve({[n.label??t?.layer?.id]:u})}catch(u){console.error("FAILURE AT 'getInfoCount': ",u)}return await Promise.resolve(null)}async function ge(e,t){let o={...t},{activeLayerInfos:n}=e,c=e?.view?.extent,i={},a={};n.forEach(async r=>{let s=r.legendElements[0],l=r.layer,f=t[r?.layer?.id]?.fLayerView,u=l.renderer?.field,h=[];a[r.layer.id]=[],s?.infos?.forEach((y,d)=>{if(s.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach((m,$)=>{let w=v(c,f,u,y,d,s,m,$);E.push(w)}),a[r.layer.id].push(E)}else h.push(v(c,f,u,y,d,s)),a[r.layer.id]=h});let p=y=>{let d=[],g=y.legendElements[0],E=y.layer,m=t[y?.layer?.id]?.fLayerView,$=E.renderer?.field;g?.infos?.forEach((w,A)=>d.push(v(c,m,$,w,A,g))),a[y.layer.id]=d};r.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(d=>{p(d),d?.children?.length>0&&d.children.forEach(g=>{p(g)})})})});for(let r in a){let s=i[r];s||(s=i[r]={});let l=await Promise.all(a[r]);if(l.every(f=>Array.isArray(f))){let f=await Promise.all(l.map(async u=>(await Promise.all(u)).map(y=>y&&Object.values(y)[0])));s[r]=f,i[r]={...s[r]}}else{let f={};l.forEach(u=>{if(!u)return;let h=Object.keys(u)[0];f[h]=u[h]}),r&&(s[r]=f),i[r]={...s[r]}}}return n.forEach(r=>{let s=t[r.layer.id],l=r.layer.id;s?.categories?.forEach((h,p)=>{let d=Array.from(s?.categories).findIndex(g=>g[0]===p);if(h?.nestedInfos)h?.nestedInfos.forEach((g,E)=>{let m=i?.[r?.layer?.id]?.[d]?.[E];g.count=isNaN(m)?null:m});else{let g=i?.[l]?.[p];h.count=isNaN(g)?null:g}});let u=h=>{let p=h.layer.id;t[p]?.categories?.forEach((d,g)=>{let E=i?.[p]?.[g];d.count=E})};r?.children?.forEach(h=>{u(h),h?.children?.length>0&&h.children.forEach(p=>{u(p),p?.children?.length>0&&p.children.forEach(y=>{u(y)})})})}),await Promise.resolve(o)}function Ee(e,t){return e?.nestedInfos?.[t]}function $e(e){return Array.from(e).map(o=>o[1]).every(o=>!!o?.nestedInfos)}function me(e){return!!e?.legendElements?.[0]?.infos?.every?.(t=>t?.type==="symbol-table")}function we(e,t){if(typeof t?.title=="string")return e?.categories?.get(t?.title)}function xe(e){let t="calcite-mode-",o=`${t}light`,n=`${t}dark`;return e.classList.contains(n)?n:o}function Oe(e){if(e.layerId&&e.intLegendLayerData){let t=e.layerId,o=e.intLegendLayerData,n={...P.data,[t]:o};K.set("data",n)}}function Ae(e,t){let{type:o}=e;o==="filter"?Y(t):o==="effect"&&_(e,t)}function Y(e){e?.allLayerViews?.filter(t=>t?.layer?.type==="feature")?.forEach(t=>{let o=t,n=C(o);o.filter=n,o.set("featureEffect",null)})}function _(e,t){t?.allLayerViews?.filter(o=>o?.layer?.type==="feature").forEach(async o=>{let n=o;if(e?.effect&&n){let{includedEffect:c,excludedEffect:i}=e.effect,a=await O(i,n,"excludedEffect"),r=await O(c,n,"includedEffect"),s=C(n);n.featureEffect=await N({filter:s,includedEffect:r,excludedEffect:a}),n.set("filter",null)}})}function C(e){return e?.filter||e?.featureEffect?.filter}function T(e,t){let o=e?.fields,n=o&&o.map(c=>c.name);return t?n&&n.includes(t):!0}function Ne(e){let t=[];return e.forEach(o=>F(o,t)),t}function F(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(o=>{F(o,t)})}export{P as a,K as b,j as c,re as d,ne as e,oe as f,ce as g,ae as h,ie as i,le as j,ue as k,fe as l,he as m,ye as n,pe as o,de as p,ge as q,Ee as r,$e as s,me as t,we as u,xe as v,Oe as w,Ae as x,Ne as y};
@@ -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.20250529.1 */
3
+ v1.0.0-next.20250530.1 */
4
4
  function r(o){return o.reduce((n,e)=>{var i;let t=e.capabilities.includes("updateitemcontrol"),a=(i=e.userMembership)===null||i===void 0?void 0:i.memberType;return(!e.isViewOnly||e.isViewOnly&&["owner","admin"].includes(a))&&n.push({value:e.id,label:e.title,icon:t?"unlock":"view-mixed"}),n},[])}export{r 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.20250529.1 */
4
- import{a as e}from"./ITFUMWIC.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as e}from"./NNRPVDMT.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});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.20250529.1 */
4
- import{a as o}from"./I6CL4W66.js";import{a as r}from"./CYMZ5TR6.js";import"./44KIKBNN.js";import"./LGXVU5RZ.js";import"./4L3V2YYV.js";import{a as s}from"./XWZRUTOX.js";import"./RZS7265A.js";import"./5OFRMSV6.js";import"./GWPISXDC.js";import"./DRS4Z435.js";import"./6SEI3MD4.js";import"./SAYEB7BP.js";import"./SJSKBJDQ.js";import"./RNNWBWHE.js";import"./ATXF6EM5.js";import"./UZ2HGN74.js";import"./3OJVS3LV.js";import"./TWKAESRO.js";import"./3TNNRRLR.js";import"./ATBQXDJR.js";import"./EGBONIMT.js";import"./XEKWJEF6.js";import"./4YOYUXOM.js";import"./AO367CCB.js";import"./422X4AIN.js";import"./ITFUMWIC.js";import"./NB2KN2PS.js";import"./QUYSAWNZ.js";import"./EUCKEPMP.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:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{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.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{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.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p as buildUiSchema};
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as o}from"./5T6A2NT3.js";import{a as r}from"./F56VXVXX.js";import"./V3NJ7RMG.js";import"./NBHU4HTV.js";import"./ILUBVWJF.js";import{a as s}from"./CH5PRHPR.js";import"./IDBD7LSX.js";import"./NTHWDWQ4.js";import"./GV3IWFPF.js";import"./HMGYITJ2.js";import"./SGUBT5JB.js";import"./CXJ53YNZ.js";import"./M6XUGB2Z.js";import"./7NWNTAMW.js";import"./CPBYDRAF.js";import"./UQ6BMBWB.js";import"./I5VSPGGJ.js";import"./BV76MPA5.js";import"./HYIN2EAD.js";import"./VHCT5ETZ.js";import"./YR5E3HFV.js";import"./EK4MS2HQ.js";import"./GJWN4WP3.js";import"./C34H6SGK.js";import"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.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:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{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.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{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.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p 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.20250529.1 */
4
- import{a as l}from"./4KEBF4LC.js";import{D as n,I as o,c as r,d as a,o as s}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var c=r`/** @license
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as l}from"./TP3QX5HT.js";import{D as n,I as o,c as r,d as a,o as s}from"./RTFLMETG.js";import"./GZU2CPZN.js";var c=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -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.20250529.1 */
4
- import{a as n}from"./FWU3TXCH.js";import{b as I,c as b,d as v}from"./DCZ6I6AY.js";import{a as i}from"./BIGEZCHV.js";import"./6VV6QBNS.js";import"./BFH5SRQZ.js";import"./5UMSFFPF.js";import"./WIJOUEJP.js";import"./RSHSVMPO.js";import{e as a}from"./TS32X4ID.js";import"./4L3V2YYV.js";import"./CLTGVNIT.js";import{a as f,b as _}from"./Q5577CJV.js";import{a as g}from"./4KEBF4LC.js";import{D as d,E as p,I as m,c,d as o,g as r,q as u}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var y=c`@layer{/** @license
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as n}from"./CTUHVTSA.js";import{b as I,c as b,d as v}from"./NTASDALK.js";import{a as i}from"./P6B7MWVF.js";import"./NIXMWDPM.js";import"./C3P3IFUU.js";import"./7P23QXUP.js";import"./XZBB2UEX.js";import"./OWDWZHMV.js";import{e as a}from"./DA5DY7HY.js";import"./ILUBVWJF.js";import"./6KYFPVWD.js";import{a as f,b as _}from"./R7OODGTN.js";import{a as g}from"./TP3QX5HT.js";import{D as d,E as p,I as m,c,d as o,g as r,q as u}from"./RTFLMETG.js";import"./GZU2CPZN.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,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.20250529.1 */
4
- import{b as g}from"./2M3XDJVT.js";import{a as b}from"./4KEBF4LC.js";import{D as u,E as p,I as w,c as h,d as l,o as r,q as m}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var y=h`@layer{/**
3
+ v1.0.0-next.20250530.1 */
4
+ import{b as g}from"./CCKIOTSJ.js";import{a as b}from"./TP3QX5HT.js";import{D as u,E as p,I as w,c as h,d as l,o as r,q as m}from"./RTFLMETG.js";import"./GZU2CPZN.js";var y=h`@layer{/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -16,4 +16,4 @@ import{b as g}from"./2M3XDJVT.js";import{a as b}from"./4KEBF4LC.js";import{D as
16
16
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
17
  * See the License for the specific language governing permissions and
18
18
  * limitations under the License.
19
- */:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar,.display-none{display:none!important}.esri-editor__panel-content{padding-block:10px!important}.notice-msg{padding:10px;width:calc(100% - 20px)}}`,c=class extends u{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSnapping=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=b({name:"create-related-feature",blocking:!0}),this._addingAttachment=!1,this._isSubmitBtnClicked=!1,this.success=r(),this.fail=r(),this.isActionPending=r(),this.formReady=r()}static{this.properties={customizeSubmit:5,enableSnapping:5,mapView:0,selectedFeature:0,showGuidingMsg:5,table:0,_editorLoading:16,_translations:16}}static{this.styles=y}static{this.shadowRootOptions=m}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){await this.mapView?.when(async()=>{await this.init()})}async _editorLoadingWatchHandler(e){e&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async load(){await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){let[e,t]=await g(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=e,this.reactiveUtils=t}render(){let e=this._editorLoading?"":"display-none";return l`${this.showGuidingMsg&&l`<calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.provideDetailsMsg}</div></calcite-notice>`||""}<calcite-loader class=${p(e)} label scale=s></calcite-loader>`}loaded(){this.init()}disconnectedCallback(){super.disconnectedCallback(),this._editor&&this._editor.destroy()}async createEditorWidget(){if(this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar"),this.Editor&&(this._editor=new this.Editor({view:this.mapView,visibleElements:{flow:!0,settingsMenu:this.enableSnapping,sketch:!1,snappingControls:this.enableSnapping},container:this._container}),this.el.appendChild(this._container),this.reactiveUtils)){let e=this.reactiveUtils.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,i=>{i==="ready"&&(this._editorLoading=!0)});this._editor.viewModel.addHandles(e);let t=this.reactiveUtils.watch(()=>this._editor?.viewModel.state,i=>{i==="adding-attachment"||i==="editing-attachment"?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)});this._editor.viewModel.addHandles(t);let o=this.reactiveUtils.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,i=>{i==="ready"&&this.formReady.emit()});this._editor.viewModel.addHandles(o)}}async startCreate(){let e=this.selectedFeature?.layer,t=this.table;if(e?.relationships&&t?.relationships&&this._editor?.viewModel.featureFormViewModel&&this.selectedFeature&&t.templates){let o=e.relationships[0],i=t.relationships.find(a=>e.layerId===a.relatedTableId),s=Number(this.selectedFeature.getObjectId());if(!Number.isNaN(s)&&i){let a=(await e.queryFeatures({objectIds:[s],outFields:[e.objectIdField,o.keyField]})).features[0],n=t.templates[0],d={attributeOverrides:this.makeAttributesForRelatedFeature(a,o,i),layer:t,template:n};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(d),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}makeAttributesForRelatedFeature(e,t,o){let i=t.keyField,s;e.attributes.hasOwnProperty(i)?s=e.getAttribute(i):e.attributes.hasOwnProperty(i.toLowerCase())?s=e.getAttribute(i.toLowerCase()):e.attributes.hasOwnProperty(i.toUpperCase())&&(s=e.getAttribute(i.toUpperCase()));let a=o.keyField,n=this.table?.fields.find(d=>d.name.toLocaleLowerCase()===a.toLocaleLowerCase());if(n)return a=n.name,{[a]:s}}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(e.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};w("create-related-feature",c);export{c as CreateRelatedFeature};
19
+ */:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar,.display-none{display:none!important}.esri-editor__panel-content{padding-block:10px!important}.notice-msg{padding:10px;width:calc(100% - 20px)}}`,c=class extends u{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSnapping=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=b({name:"create-related-feature",blocking:!0}),this._addingAttachment=!1,this._isSubmitBtnClicked=!1,this.success=r(),this.fail=r(),this.isActionPending=r(),this.formReady=r()}static{this.properties={customizeSubmit:5,enableSnapping:5,mapView:0,selectedFeature:0,showGuidingMsg:5,table:0,_editorLoading:16,_translations:16}}static{this.styles=y}static{this.shadowRootOptions=m}willUpdate(t){t.has("mapView")&&this.mapViewWatchHandler(),t.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){await this.mapView?.when(async()=>{await this.init()})}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async load(){await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){let[t,e]=await g(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=e}render(){let t=this._editorLoading?"":"display-none";return l`${this.showGuidingMsg&&l`<calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.provideDetailsMsg}</div></calcite-notice>`||""}<calcite-loader class=${p(t)} label scale=s></calcite-loader>`}loaded(){this.init()}disconnectedCallback(){super.disconnectedCallback(),this._editor&&this._editor.destroy()}async createEditorWidget(){if(this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar"),this.Editor&&(this._editor=new this.Editor({view:this.mapView,visibleElements:{flow:!0,settingsMenu:this.enableSnapping,sketch:!1,snappingControls:this.enableSnapping},container:this._container}),this.el.appendChild(this._container),this.reactiveUtils)){let t=this.reactiveUtils.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,i=>{i==="ready"&&(this._editorLoading=!0)});this._editor.viewModel.addHandles(t);let e=this.reactiveUtils.watch(()=>this._editor?.viewModel.state,i=>{i==="adding-attachment"||i==="editing-attachment"?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)});this._editor.viewModel.addHandles(e);let o=this.reactiveUtils.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,i=>{i==="ready"&&this.formReady.emit()});this._editor.viewModel.addHandles(o)}}async startCreate(){let t=this.selectedFeature?.layer,e=this.table;if(t?.relationships&&e?.relationships&&this.selectedFeature&&e.templates){let o=t.relationships[0],i=e.relationships.find(a=>t.layerId===a.relatedTableId),s=Number(this.selectedFeature.getObjectId());if(!Number.isNaN(s)&&i){let a=(await t.queryFeatures({objectIds:[s],outFields:[t.objectIdField,o.keyField]})).features[0],n=e.templates[0],d={attributeOverrides:this.makeAttributesForRelatedFeature(a,o,i),layer:e,template:n};await this._editor?.startCreateFeaturesWorkflowAtFeatureCreation(d),await this.hideEditorsElements(),this._editor?.viewModel?.featureFormViewModel?.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(t=>{let e=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");e?.querySelector("header")?.setAttribute("style","display: none"),e?.querySelector("footer")?.setAttribute("style","display: none")}))}makeAttributesForRelatedFeature(t,e,o){let i=e.keyField,s;t.attributes.hasOwnProperty(i)?s=t.getAttribute(i):t.attributes.hasOwnProperty(i.toLowerCase())?s=t.getAttribute(i.toLowerCase()):t.attributes.hasOwnProperty(i.toUpperCase())&&(s=t.getAttribute(i.toUpperCase()));let a=o.keyField,n=this.table?.fields.find(d=>d.name.toLocaleLowerCase()===a.toLocaleLowerCase());if(n)return a=n.name,{[a]:s}}async submitted(t){if(t.invalid.length){this._isSubmitBtnClicked=!1;return}if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(e=>{if(e.error)throw e.error}))}catch(e){this.fail.emit(e);return}this.success.emit()}}async timeout(t){return new Promise(e=>setTimeout(e,t))}};w("create-related-feature",c);export{c as CreateRelatedFeature};
@@ -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.20250529.1 */
4
- import{a as i}from"./BIGEZCHV.js";import"./6VV6QBNS.js";import"./BFH5SRQZ.js";import"./5UMSFFPF.js";import"./WIJOUEJP.js";import"./RSHSVMPO.js";import"./TS32X4ID.js";import"./4L3V2YYV.js";import"./CLTGVNIT.js";import{a as m}from"./4KEBF4LC.js";import{D as p,E as a,I as u,c as r,d as h,g as c,q as d}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var g=r`@layer{/** @license
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as i}from"./P6B7MWVF.js";import"./NIXMWDPM.js";import"./C3P3IFUU.js";import"./7P23QXUP.js";import"./XZBB2UEX.js";import"./OWDWZHMV.js";import"./DA5DY7HY.js";import"./ILUBVWJF.js";import"./6KYFPVWD.js";import{a as m}from"./TP3QX5HT.js";import{D as p,E as a,I as u,c as r,d as h,g as c,q as d}from"./RTFLMETG.js";import"./GZU2CPZN.js";var g=r`@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.20250529.1 */
4
- import{e as o}from"./JUFXEC5B.js";import"./INGNQIJ3.js";import"./OVZZDA7E.js";import{a as n,c as t,d as r,e as i}from"./DE4JUMCH.js";import"./EUCKEPMP.js";var c=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}",l=c,h={content:"instant-apps-keyboard-shortcuts__content"},d=class{constructor(s){n(this,s),this.messages=void 0,this.view=void 0}render(){let s=this?.view?.type==="2d"||!this?.view?this._getMapViewCommands():this._getSceneViewCommands(),a=this._isMacLike()?"Option":"Alt";return t(r,{key:"84f9106dc025e1e2f72b3877c07f4f518f114451"},t("calcite-block",{key:"25201b23d1d74d25678b324db2d9ba8a19b65fe1",open:!0,class:h.content,heading:this?.messages?.generalShortcuts?.label},t("table",{key:"3eda56857013107bb19470f47b12c7a2296c6c51"},this.renderTableHeader(),t("tr",{key:"432311f662920cdc42f15f5d70b3ef9b93844cd0"},t("td",{key:"389c393270a40a0e9c7e0976d67a29154aa7b082"},`${a} + M`),t("td",{key:"e375dc8f8d69e75e20db9387d41dc2bd80862e06"},this?.messages?.generalShortcuts?.title))),t("calcite-label",{key:"5e770d6232fba18fb9a8bf64eadd713a417ec465"},this?.messages?.generalShortcuts?.title),t("table",{key:"6a16dbd6d987507dc024da5248ee3a4c5591fc7f"},this.renderTableHeader(),s.map(e=>t("tr",null,t("td",null,e.alias),t("td",null,e.title))))))}componentDidLoad(){o(this)}renderTableHeader(){return this?.messages?t("tr",null,t("th",null,this?.messages?.generalShortcuts.shortcut),t("th",null,this?.messages?.generalShortcuts.action)):null}_getMapViewCommands(){let s=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,a=this?.messages?[{alias:this?.messages.mapShortcuts.arrowKeys,title:this?.messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this?.messages.mapShortcuts.N,show:s},{alias:"A",title:this?.messages.mapShortcuts.A,show:s},{alias:"D",title:this?.messages.mapShortcuts.D,show:s},{alias:"+",title:this?.messages.mapShortcuts.plus,show:!0},{alias:"-",title:this?.messages.mapShortcuts.minus,show:!0}]:[];return this?.messages?a?.filter(e=>e.show):[]}_getSceneViewCommands(){let s=this.view?.type==="3d"&&this.view.viewingMode==="global",a=this?.messages?[{alias:this?.messages.mapShortcuts.arrowKeys,title:this?.messages.mapShortcuts.nudge,show:!!s},{alias:"P",title:this?.messages.sceneShortcuts.P,show:!0},{alias:"N",title:this?.messages.sceneShortcuts.N,show:!0},{alias:"W",title:this?.messages.sceneShortcuts.W,show:!0},{alias:"A",title:this?.messages.sceneShortcuts.A,show:!0},{alias:"D",title:this?.messages.sceneShortcuts.D,show:!0},{alias:"S",title:this?.messages.sceneShortcuts.S,show:!0},{alias:"J",title:this?.messages.sceneShortcuts.globalCommands.J,show:!!s},{alias:"U",title:this?.messages.sceneShortcuts.globalCommands.U,show:!!s}]:[];return this?.messages?a?.filter(e=>e.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}get el(){return i(this)}};d.style=l;export{d as instant_apps_keyboard_shortcuts};
3
+ v1.0.0-next.20250530.1 */
4
+ import{e as o}from"./QMT7LNSC.js";import"./PHA5TYOC.js";import"./WSDY2CHI.js";import{a as n,c as t,d as r,e as i}from"./5DFDVK6H.js";import"./GZU2CPZN.js";var c=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}",l=c,h={content:"instant-apps-keyboard-shortcuts__content"},d=class{constructor(s){n(this,s),this.messages=void 0,this.view=void 0}render(){let s=this?.view?.type==="2d"||!this?.view?this._getMapViewCommands():this._getSceneViewCommands(),a=this._isMacLike()?"Option":"Alt";return t(r,{key:"84f9106dc025e1e2f72b3877c07f4f518f114451"},t("calcite-block",{key:"25201b23d1d74d25678b324db2d9ba8a19b65fe1",open:!0,class:h.content,heading:this?.messages?.generalShortcuts?.label},t("table",{key:"3eda56857013107bb19470f47b12c7a2296c6c51"},this.renderTableHeader(),t("tr",{key:"432311f662920cdc42f15f5d70b3ef9b93844cd0"},t("td",{key:"389c393270a40a0e9c7e0976d67a29154aa7b082"},`${a} + M`),t("td",{key:"e375dc8f8d69e75e20db9387d41dc2bd80862e06"},this?.messages?.generalShortcuts?.title))),t("calcite-label",{key:"5e770d6232fba18fb9a8bf64eadd713a417ec465"},this?.messages?.generalShortcuts?.title),t("table",{key:"6a16dbd6d987507dc024da5248ee3a4c5591fc7f"},this.renderTableHeader(),s.map(e=>t("tr",null,t("td",null,e.alias),t("td",null,e.title))))))}componentDidLoad(){o(this)}renderTableHeader(){return this?.messages?t("tr",null,t("th",null,this?.messages?.generalShortcuts.shortcut),t("th",null,this?.messages?.generalShortcuts.action)):null}_getMapViewCommands(){let s=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,a=this?.messages?[{alias:this?.messages.mapShortcuts.arrowKeys,title:this?.messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this?.messages.mapShortcuts.N,show:s},{alias:"A",title:this?.messages.mapShortcuts.A,show:s},{alias:"D",title:this?.messages.mapShortcuts.D,show:s},{alias:"+",title:this?.messages.mapShortcuts.plus,show:!0},{alias:"-",title:this?.messages.mapShortcuts.minus,show:!0}]:[];return this?.messages?a?.filter(e=>e.show):[]}_getSceneViewCommands(){let s=this.view?.type==="3d"&&this.view.viewingMode==="global",a=this?.messages?[{alias:this?.messages.mapShortcuts.arrowKeys,title:this?.messages.mapShortcuts.nudge,show:!!s},{alias:"P",title:this?.messages.sceneShortcuts.P,show:!0},{alias:"N",title:this?.messages.sceneShortcuts.N,show:!0},{alias:"W",title:this?.messages.sceneShortcuts.W,show:!0},{alias:"A",title:this?.messages.sceneShortcuts.A,show:!0},{alias:"D",title:this?.messages.sceneShortcuts.D,show:!0},{alias:"S",title:this?.messages.sceneShortcuts.S,show:!0},{alias:"J",title:this?.messages.sceneShortcuts.globalCommands.J,show:!!s},{alias:"U",title:this?.messages.sceneShortcuts.globalCommands.U,show:!!s}]:[];return this?.messages?a?.filter(e=>e.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}get el(){return i(this)}};d.style=l;export{d as instant_apps_keyboard_shortcuts};
@@ -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.20250529.1 */
4
- import{d as g}from"./64GGJXW2.js";import"./CLTGVNIT.js";import{b as m}from"./E45HF3Y4.js";import{a as d,b as p}from"./Q5577CJV.js";import{a as u}from"./4KEBF4LC.js";import{D as c,I as h,c as n,d as i,o as a,q as l}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var f=n`@layer{/** @license
3
+ v1.0.0-next.20250530.1 */
4
+ import{d as g}from"./WBJLCNZG.js";import"./6KYFPVWD.js";import{b as m}from"./3YMTKEK5.js";import{a as d,b as p}from"./R7OODGTN.js";import{a as u}from"./TP3QX5HT.js";import{D as c,I as h,c as n,d as i,o as a,q as l}from"./RTFLMETG.js";import"./GZU2CPZN.js";var f=n`@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.20250529.1 */
4
- import{a as h}from"./OK3FOLOF.js";import{a as Y}from"./A3TE2CYP.js";import{a as R}from"./EMX7A46W.js";import{a as V,d as W,e as H,f as B,g as J,h as G}from"./VJBYZT6W.js";import{c as y,f as E,l as b,m as I}from"./WIVHCBPP.js";import"./5UMSFFPF.js";import"./MKZNNMPC.js";import"./STM2LDCR.js";import{a as M,c as U,e as C}from"./UA2S4SRX.js";import"./AQLKL2NA.js";import{a as N,d as F}from"./44KIKBNN.js";import{a as g}from"./LGXVU5RZ.js";import{d as j}from"./7YM72QZ3.js";import"./JNLPWAOW.js";import{a as p,b as A,c as L,e as u}from"./WIJOUEJP.js";import"./V5KXBFEN.js";import"./CAIDATL7.js";import"./5FNUZG6X.js";import{h as $}from"./RSHSVMPO.js";import"./TS32X4ID.js";import"./NZ6MHZKX.js";import{a as l}from"./4L3V2YYV.js";import{b as T}from"./NB2KN2PS.js";import"./EUCKEPMP.js";function X(e,t=!1){let{id:r,properties:i}=e,s=i?.slug;return s?M(t?C(s,r):s):r}var d;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(d||(d={}));var f;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(f||(f={}));function z(e,t){var r;let i=e._slug;delete e._slug;let s=p(e);return s.orgUrlKey=e.orgUrlKey?e.orgUrlKey:t.urlKey,s.extent=(r=e.location)===null||r===void 0?void 0:r.extent,i?s.slug=U(i,s.orgUrlKey):s.slug="",s}var le=1,ue=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],ye=e=>[{orgId:e}],de={item:ue,event:ye};function Q(e){if(l(e,"schemaVersion")===le)return e;{let t=p(e);return t=fe(t),t}}function fe(e){if(l(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},r=l(e,"groups")||[],i=[];Array.isArray(r)&&r.length?i=r:typeof r=="string"&&(i=[r]),i.length&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>Object.assign(Object.assign({},n),{[o[0]]:Object.assign(Object.assign({},o[1]),{filters:[{predicates:[{group:i}]}]})}),{}));let s=l(e,"orgId");return s&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>{let a=o[0],c=o[1];return Object.assign(Object.assign({},n),{[a]:Object.assign(Object.assign({},c),{filters:[...c.filters,{operation:"AND",predicates:de[a](s)}]})})},{})),t}}function Z(e,t){let r=Object.assign(Object.assign({},t),e),i=Object.keys(t);return Object.keys(r).reduce((n,o)=>(i.includes(o)||n.push(o),n),[]).forEach(n=>{delete r[n]}),r}function q(e,t){let r;return t.authentication&&(r=t.authentication.token),{self:j(e.id,t),siteRelative:E(e.type,X(e),e.typeKeywords),siteRelativeEntityType:E(e.type),workspaceRelative:Y(e.type,e.id),thumbnail:y(e,t,r)}}var w="Hub Project",ee={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:T.notStarted,tags:[],typeKeywords:[w],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:N},te={item:{type:w,title:"",description:"",snippet:"",tags:[],typeKeywords:[w],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:T.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function re(e,t){return q(e,t)}function v(e,t,r){var i,s;let n;return r.authentication&&(n=r.authentication.token),t=H(e.item,t),t.thumbnailUrl=y(e.item,r,n),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(i=e.data.view)===null||i===void 0?void 0:i.featuredImageUrl}),t.catalog=Q(t.catalog||{}),t.features=Z(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},F),t.links=re(e.item,r),t}function _(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},t,r){let{value:i,valueType:s,dynamicMetric:n}=e,o=R(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:m,statistic:x,serviceUrl:oe,fieldType:ne,sourceLink:D,sourceTitle:O,allowExpressionSet:k,expressionSet:P,legacyWhere:S}=n||{},{entityInfo:ae,metricName:ce}=r||{},pe={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:m,statistic:x,where:S||ge(k?P:[])}:{type:"static-value",value:i,valueType:s},name:ce||t,entityInfo:ae||{id:void 0,name:void 0,type:void 0},id:t};delete o.itemId;let me=Object.assign(Object.assign({},o),{displayType:o.displayType||"stat-card",visibility:o.visibility||f.hidden,metricId:t,fieldType:ne,itemId:c,expressionSet:P,allowExpressionSet:k,statistic:x,sourceLink:e.type==="dynamic"&&D?D:o.sourceLink,sourceTitle:e.type==="dynamic"&&O?O:o.sourceTitle,allowLink:e.type==="dynamic"?o.allowDynamicLink:o.allowLink,type:e.type});return{metric:pe,displayConfig:me}}function ge(e=[]){let t=e.map(r=>{let{field:i,values:s,relationship:n}=r,o=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!s||!s.length||!i||!i.name)return!1;let a;switch(i.type){case"esriFieldTypeString":a=n===d.LIKE?`${i.name} like '%${s[0]}%'`:`(${i.name} IN (${s.map(c=>`'${o(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof s[0]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00'`),typeof s[1]=="string"&&(a=`${i.name} <= timestamp '${o(s[1])} 23:59:59'`),typeof s[0]=="string"&&typeof s[1]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00' AND ${i.name} <= timestamp '${o(s[1])} 23:59:59'`);break;default:u(s[0])||(a=`(${i.name}) >= ${s[0]}`),u(s[1])||(a=`(${i.name}) <= ${s[1]}`),!u(s[0])&&!u(s[1])&&(a=`(${i.name}) >= ${s[0]} AND (${i.name}) <= ${s[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(t)}function K(e,t){let r=e.filter(i=>!i.startsWith("status|"));return r.push(`status|${t}`),r}function se(e,t,r){let i=p(e),s=t.id,n=g(i,"metrics",[]),o=n.findIndex(m=>m.id===s),a=g(i,"view.metricDisplays",[]),c=a.findIndex(m=>m.metricId===s);return o>-1?n[o]=t:n.push(t),c>-1?a[c]=r:a.push(r),i.view.metricDisplays=a,i.metrics=n,i}async function Tt(e,t){let r=Object.assign(Object.assign({},ee),e);r.slug||(r.slug=V(r.name,r.orgUrlKey)),await h(r,t),r.typeKeywords=K(r.typeKeywords,r.status),r.typeKeywords=b(r.typeKeywords,r.isDiscussable);let i=new I(_()),s=i.entityToStore(r,p(te));s=await J(s,t);let n=i.storeToEntity(s,{});return n=v(s,n,t),n}function Et(e,t){var r;let i=e._metric;delete e._groups,delete e._thumbnail,(r=e.view)===null||r===void 0||delete r.featuredImage,delete e._metric,delete e._groups;let s=z(e,t);if(i&&Object.keys(i).length){let n=i.metricId||A(L(`${i.cardTitle}_`)),{metric:o,displayConfig:a}=ie(i,n,{metricName:i.cardTitle});s=se(s,o,a)}return s}async function ht(e,t){await h(e,t),e.typeKeywords=K(e.typeKeywords,e.status),e.typeKeywords=b(e.typeKeywords,e.isDiscussable);let r=await B(e.id,t),i=new I(_()),s=i.entityToStore(e,r),n=await G(s,t),o=i.storeToEntity(n,e);return o=v(r,o,t),o}async function bt(e,t){let r=Object.assign(Object.assign({},t),{id:e});await $(r)}export{Tt as createProject,bt as deleteProject,Et as editorToProject,ht as updateProject};
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as h}from"./WSUH3PG3.js";import{a as Y}from"./QEWSNHU7.js";import{a as R}from"./VE4I5REF.js";import{a as V,d as W,e as H,f as B,g as J,h as G}from"./3VKOIUB3.js";import{c as y,f as E,l as b,m as I}from"./DZSY5JZN.js";import"./7P23QXUP.js";import"./2ED5S63G.js";import"./UY5WXQ65.js";import{a as M,c as U,e as C}from"./QCU33RPV.js";import"./RVQUWOMM.js";import{a as N,d as F}from"./V3NJ7RMG.js";import{a as g}from"./NBHU4HTV.js";import{d as j}from"./QF5QELVM.js";import"./GJKEPLSZ.js";import{a as p,b as A,c as L,e as u}from"./XZBB2UEX.js";import"./2B4ODL4I.js";import"./CQFA3WBO.js";import"./6ZIUZPW6.js";import{h as $}from"./OWDWZHMV.js";import"./DA5DY7HY.js";import"./2T7OWYJF.js";import{a as l}from"./ILUBVWJF.js";import{b as T}from"./SGGIVA63.js";import"./GZU2CPZN.js";function X(e,t=!1){let{id:r,properties:i}=e,s=i?.slug;return s?M(t?C(s,r):s):r}var d;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(d||(d={}));var f;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(f||(f={}));function z(e,t){var r;let i=e._slug;delete e._slug;let s=p(e);return s.orgUrlKey=e.orgUrlKey?e.orgUrlKey:t.urlKey,s.extent=(r=e.location)===null||r===void 0?void 0:r.extent,i?s.slug=U(i,s.orgUrlKey):s.slug="",s}var le=1,ue=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],ye=e=>[{orgId:e}],de={item:ue,event:ye};function Q(e){if(l(e,"schemaVersion")===le)return e;{let t=p(e);return t=fe(t),t}}function fe(e){if(l(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},r=l(e,"groups")||[],i=[];Array.isArray(r)&&r.length?i=r:typeof r=="string"&&(i=[r]),i.length&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>Object.assign(Object.assign({},n),{[o[0]]:Object.assign(Object.assign({},o[1]),{filters:[{predicates:[{group:i}]}]})}),{}));let s=l(e,"orgId");return s&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>{let a=o[0],c=o[1];return Object.assign(Object.assign({},n),{[a]:Object.assign(Object.assign({},c),{filters:[...c.filters,{operation:"AND",predicates:de[a](s)}]})})},{})),t}}function Z(e,t){let r=Object.assign(Object.assign({},t),e),i=Object.keys(t);return Object.keys(r).reduce((n,o)=>(i.includes(o)||n.push(o),n),[]).forEach(n=>{delete r[n]}),r}function q(e,t){let r;return t.authentication&&(r=t.authentication.token),{self:j(e.id,t),siteRelative:E(e.type,X(e),e.typeKeywords),siteRelativeEntityType:E(e.type),workspaceRelative:Y(e.type,e.id),thumbnail:y(e,t,r)}}var w="Hub Project",ee={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:T.notStarted,tags:[],typeKeywords:[w],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:N},te={item:{type:w,title:"",description:"",snippet:"",tags:[],typeKeywords:[w],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:T.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function re(e,t){return q(e,t)}function v(e,t,r){var i,s;let n;return r.authentication&&(n=r.authentication.token),t=H(e.item,t),t.thumbnailUrl=y(e.item,r,n),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(i=e.data.view)===null||i===void 0?void 0:i.featuredImageUrl}),t.catalog=Q(t.catalog||{}),t.features=Z(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},F),t.links=re(e.item,r),t}function _(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},t,r){let{value:i,valueType:s,dynamicMetric:n}=e,o=R(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:m,statistic:x,serviceUrl:oe,fieldType:ne,sourceLink:D,sourceTitle:O,allowExpressionSet:k,expressionSet:P,legacyWhere:S}=n||{},{entityInfo:ae,metricName:ce}=r||{},pe={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:m,statistic:x,where:S||ge(k?P:[])}:{type:"static-value",value:i,valueType:s},name:ce||t,entityInfo:ae||{id:void 0,name:void 0,type:void 0},id:t};delete o.itemId;let me=Object.assign(Object.assign({},o),{displayType:o.displayType||"stat-card",visibility:o.visibility||f.hidden,metricId:t,fieldType:ne,itemId:c,expressionSet:P,allowExpressionSet:k,statistic:x,sourceLink:e.type==="dynamic"&&D?D:o.sourceLink,sourceTitle:e.type==="dynamic"&&O?O:o.sourceTitle,allowLink:e.type==="dynamic"?o.allowDynamicLink:o.allowLink,type:e.type});return{metric:pe,displayConfig:me}}function ge(e=[]){let t=e.map(r=>{let{field:i,values:s,relationship:n}=r,o=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!s||!s.length||!i||!i.name)return!1;let a;switch(i.type){case"esriFieldTypeString":a=n===d.LIKE?`${i.name} like '%${s[0]}%'`:`(${i.name} IN (${s.map(c=>`'${o(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof s[0]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00'`),typeof s[1]=="string"&&(a=`${i.name} <= timestamp '${o(s[1])} 23:59:59'`),typeof s[0]=="string"&&typeof s[1]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00' AND ${i.name} <= timestamp '${o(s[1])} 23:59:59'`);break;default:u(s[0])||(a=`(${i.name}) >= ${s[0]}`),u(s[1])||(a=`(${i.name}) <= ${s[1]}`),!u(s[0])&&!u(s[1])&&(a=`(${i.name}) >= ${s[0]} AND (${i.name}) <= ${s[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(t)}function K(e,t){let r=e.filter(i=>!i.startsWith("status|"));return r.push(`status|${t}`),r}function se(e,t,r){let i=p(e),s=t.id,n=g(i,"metrics",[]),o=n.findIndex(m=>m.id===s),a=g(i,"view.metricDisplays",[]),c=a.findIndex(m=>m.metricId===s);return o>-1?n[o]=t:n.push(t),c>-1?a[c]=r:a.push(r),i.view.metricDisplays=a,i.metrics=n,i}async function Tt(e,t){let r=Object.assign(Object.assign({},ee),e);r.slug||(r.slug=V(r.name,r.orgUrlKey)),await h(r,t),r.typeKeywords=K(r.typeKeywords,r.status),r.typeKeywords=b(r.typeKeywords,r.isDiscussable);let i=new I(_()),s=i.entityToStore(r,p(te));s=await J(s,t);let n=i.storeToEntity(s,{});return n=v(s,n,t),n}function Et(e,t){var r;let i=e._metric;delete e._groups,delete e._thumbnail,(r=e.view)===null||r===void 0||delete r.featuredImage,delete e._metric,delete e._groups;let s=z(e,t);if(i&&Object.keys(i).length){let n=i.metricId||A(L(`${i.cardTitle}_`)),{metric:o,displayConfig:a}=ie(i,n,{metricName:i.cardTitle});s=se(s,o,a)}return s}async function ht(e,t){await h(e,t),e.typeKeywords=K(e.typeKeywords,e.status),e.typeKeywords=b(e.typeKeywords,e.isDiscussable);let r=await B(e.id,t),i=new I(_()),s=i.entityToStore(e,r),n=await G(s,t),o=i.storeToEntity(n,e);return o=v(r,o,t),o}async function bt(e,t){let r=Object.assign(Object.assign({},t),{id:e});await $(r)}export{Tt as createProject,bt as deleteProject,Et as editorToProject,ht as updateProject};
@@ -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.20250529.1 */
4
- import{a as l,b as a}from"./Q5577CJV.js";import{b}from"./2M3XDJVT.js";import{a as f}from"./4KEBF4LC.js";import{D as w,E as o,I as u,c as _,d as h,g as c}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var $=_`/** @license
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as l,b as a}from"./R7OODGTN.js";import{b}from"./CCKIOTSJ.js";import{a as f}from"./TP3QX5HT.js";import{D as w,E as o,I as u,c as _,d as h,g as c}from"./RTFLMETG.js";import"./GZU2CPZN.js";var $=_`/** @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.20250529.1 */
4
- import{a as u,e as h}from"./DCZ6I6AY.js";import{a}from"./BIGEZCHV.js";import"./6VV6QBNS.js";import"./BFH5SRQZ.js";import"./5UMSFFPF.js";import"./WIJOUEJP.js";import"./RSHSVMPO.js";import"./TS32X4ID.js";import"./4L3V2YYV.js";import"./CLTGVNIT.js";import{D as i,I as l,o,q as n}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as u,e as h}from"./NTASDALK.js";import{a}from"./P6B7MWVF.js";import"./NIXMWDPM.js";import"./C3P3IFUU.js";import"./7P23QXUP.js";import"./XZBB2UEX.js";import"./OWDWZHMV.js";import"./DA5DY7HY.js";import"./ILUBVWJF.js";import"./6KYFPVWD.js";import{D as i,I as l,o,q as n}from"./RTFLMETG.js";import"./GZU2CPZN.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
@@ -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.20250530.1 */
4
+ import{a}from"./FDZTWT7F.js";import"./RVQUWOMM.js";import"./RC47QK6Z.js";import"./NBHU4HTV.js";import"./2T7OWYJF.js";import"./ILUBVWJF.js";import"./GV3IWFPF.js";import"./GZU2CPZN.js";export{a 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.20250529.1 */
4
- import{a as e}from"./4L3V2YYV.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
3
+ v1.0.0-next.20250530.1 */
4
+ import{a as e}from"./ILUBVWJF.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i 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.20250529.1 */
4
- import{e as s}from"./JUFXEC5B.js";import"./INGNQIJ3.js";import"./OVZZDA7E.js";import{a as c,c as e,d as l,e as r,f as d}from"./DE4JUMCH.js";import"./EUCKEPMP.js";var m=".sc-instant-apps-measurement-h .sc-instant-apps-measurement.sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}.sc-instant-apps-measurement-h .active-tool.sc-instant-apps-measurement{--calcite-color-foreground-1:#c7eaff}",u=m,h={content:"instant-apps-measurement__content"},f=class{constructor(t){c(this,t),this.measureActive=d(this,"measureActive",7),this.messages=void 0,this.view=void 0,this.areaUnit=void 0,this.linearUnit=void 0,this.coordinateFormat=void 0,this.activeToolType=void 0,this.closable=!1}async componentWillLoad(){s(this)}componentDidLoad(){}render(){return e(l,{key:"68d619bbb5d2b0808ad57a1891ca07ae35391194"},e("calcite-panel",{key:"5fe4f0d6ee4c8344cb5fadedd3c09a81a100f342",heading:this?.messages?.label,closable:this.closable},e("div",{key:"6f220edb8795f0563ea4f4e76f0908c2fca4a263",slot:"content-top"},this.renderActionPad()),e("div",{key:"5b11d036b55b5a98df11d8c575b995c2b7f4a322"},this.renderMeasureToolPanel())))}renderMeasureToolPanel(){let{view:t,coordinateFormat:i,areaUnit:a,linearUnit:n,activeToolType:o}=this;return e("calcite-panel",{class:h.content},e("instant-apps-measurement-tool",{ref:p=>{this.measureTool=p},view:t,measureConfiguration:{coordinateFormat:i,areaUnit:a,linearUnit:n,activeToolType:o},activeTool:this.activeToolType}))}renderActionPad(){let{messages:t,activeToolType:i}=this;return e("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal",position:"end"},e("calcite-action",{class:i==="distance"?"active-tool":"",text:t?.line,icon:"measure",scale:"m","data-value":"distance",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.line)),e("calcite-action",{class:i==="area"?"active-tool":"",text:t?.area,scale:"m",icon:"measure-area","data-value":"area",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.area)),e("calcite-action",{class:i==="point"?"active-tool":"",text:t?.point,scale:"m",icon:"pin-plus","data-value":"point",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.point)),e("calcite-action",{text:t?.clear,scale:"m",icon:"trash","data-value":"clear",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.clear)))}_handleToolClick(t){if(!this?.measureTool)return;let i=t?.target;if(!(i instanceof HTMLElement))return;let a=i?.dataset.value;if(a!=="distance"&&a!=="area"&&a!=="point"&&a!=="clear")return;a&&(this.measureTool.activeTool=a);let n=document.getElementsByClassName("active-tool");for(let o=0;o<n?.length;o++)n[o]?.classList?.remove("active-tool");i?.classList.add("active-tool"),this.measureActive.emit(!(a===void 0||a==="clear"))}get el(){return r(this)}};f.style=u;export{f as instant_apps_measurement};
3
+ v1.0.0-next.20250530.1 */
4
+ import{e as s}from"./QMT7LNSC.js";import"./PHA5TYOC.js";import"./WSDY2CHI.js";import{a as c,c as e,d as l,e as r,f as d}from"./5DFDVK6H.js";import"./GZU2CPZN.js";var m=".sc-instant-apps-measurement-h .sc-instant-apps-measurement.sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}.sc-instant-apps-measurement-h .active-tool.sc-instant-apps-measurement{--calcite-color-foreground-1:#c7eaff}",u=m,h={content:"instant-apps-measurement__content"},f=class{constructor(t){c(this,t),this.measureActive=d(this,"measureActive",7),this.messages=void 0,this.view=void 0,this.areaUnit=void 0,this.linearUnit=void 0,this.coordinateFormat=void 0,this.activeToolType=void 0,this.closable=!1}async componentWillLoad(){s(this)}componentDidLoad(){}render(){return e(l,{key:"68d619bbb5d2b0808ad57a1891ca07ae35391194"},e("calcite-panel",{key:"5fe4f0d6ee4c8344cb5fadedd3c09a81a100f342",heading:this?.messages?.label,closable:this.closable},e("div",{key:"6f220edb8795f0563ea4f4e76f0908c2fca4a263",slot:"content-top"},this.renderActionPad()),e("div",{key:"5b11d036b55b5a98df11d8c575b995c2b7f4a322"},this.renderMeasureToolPanel())))}renderMeasureToolPanel(){let{view:t,coordinateFormat:i,areaUnit:a,linearUnit:n,activeToolType:o}=this;return e("calcite-panel",{class:h.content},e("instant-apps-measurement-tool",{ref:p=>{this.measureTool=p},view:t,measureConfiguration:{coordinateFormat:i,areaUnit:a,linearUnit:n,activeToolType:o},activeTool:this.activeToolType}))}renderActionPad(){let{messages:t,activeToolType:i}=this;return e("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal",position:"end"},e("calcite-action",{class:i==="distance"?"active-tool":"",text:t?.line,icon:"measure",scale:"m","data-value":"distance",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.line)),e("calcite-action",{class:i==="area"?"active-tool":"",text:t?.area,scale:"m",icon:"measure-area","data-value":"area",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.area)),e("calcite-action",{class:i==="point"?"active-tool":"",text:t?.point,scale:"m",icon:"pin-plus","data-value":"point",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.point)),e("calcite-action",{text:t?.clear,scale:"m",icon:"trash","data-value":"clear",onClick:this._handleToolClick.bind(this)},e("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},t?.clear)))}_handleToolClick(t){if(!this?.measureTool)return;let i=t?.target;if(!(i instanceof HTMLElement))return;let a=i?.dataset.value;if(a!=="distance"&&a!=="area"&&a!=="point"&&a!=="clear")return;a&&(this.measureTool.activeTool=a);let n=document.getElementsByClassName("active-tool");for(let o=0;o<n?.length;o++)n[o]?.classList?.remove("active-tool");i?.classList.add("active-tool"),this.measureActive.emit(!(a===void 0||a==="clear"))}get el(){return r(this)}};f.style=u;export{f as instant_apps_measurement};
@@ -1,6 +1,6 @@
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.20250529.1 */
3
+ v1.0.0-next.20250530.1 */
4
4
  var y={allRenderFn:!1,element:!0,event:!0,hasRenderFn:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},we="app",Re=Object.defineProperty,xe=(e,t)=>{for(var o in t)Re(e,o,{get:t[o],enumerable:!0})},Se="http://www.w3.org/2000/svg",Te="http://www.w3.org/1999/xhtml",_e=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},q=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),X="http://www.w3.org/1999/xlink",w=typeof window<"u"?window:{};w.HTMLElement;var N={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,n)=>e.addEventListener(t,o,n),rel:(e,t,o,n)=>e.removeEventListener(t,o,n),ce:(e,t)=>new CustomEvent(e,t)},ke=e=>Promise.resolve(e),j=!1,G=[],ie=[],Ee=(e,t)=>o=>{e.push(o),j||(j=!0,t&&N.$flags$&4?K(D):N.raf(D))},J=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){I(o)}e.length=0},D=()=>{J(G),J(ie),(j=G.length>0)&&N.raf(D)},K=e=>ke().then(e),Ce=Ee(ie,!0),Le=e=>e!=null&&e!==void 0,$e=e=>(e=typeof e,e==="object"||e==="function"),Ae=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Oe={};xe(Oe,{err:()=>ce,map:()=>Fe,ok:()=>U,unwrap:()=>Me,unwrapErr:()=>Pe});var U=e=>({isOk:!0,isErr:!1,value:e}),ce=e=>({isOk:!1,isErr:!0,value:e});function Fe(e,t){if(e.isOk){let o=t(e.value);return o instanceof Promise?o.then(n=>U(n)):U(o)}if(e.isErr){let o=e.value;return ce(o)}throw"should never get here"}var Me=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},de=e=>{let t=ee(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&fe(t,e.tagName).forEach(n=>{n.nodeType===1&&n.tagName==="SLOT-FB"&&(De(n,Q(n),!1).length?n.hidden=!0:n.hidden=!1)});let o=0;for(o=0;o<t.length;o++){let n=t[o];n.nodeType===1&&ee(n,"childNodes").length&&de(n)}},je=e=>{let t=[];for(let o=0;o<e.length;o++){let n=e[o]["s-nr"]||void 0;n&&n.isConnected&&t.push(n)}return t};function fe(e,t,o){let n=0,s=[],l;for(;n<e.length;n++)l=e[n],l["s-sr"]&&(!t||l["s-hn"]===t)&&o===void 0&&s.push(l),s=[...s,...fe(l.childNodes,t,o)];return s}var De=(e,t,o=!0)=>{let n=[];(o&&e["s-sr"]||!e["s-sr"])&&n.push(e);let s=e;for(;s=s.nextSibling;)Q(s)===t&&(o||!s["s-sr"])&&n.push(s);return n},Z=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Q=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Ue(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;let t=o=>function(n){let s=[],l=this["s-sn"];n?.flatten&&console.error(`
5
5
  Flattening is not supported for Stencil non-shadow slots.
6
6
  You can use \`.childNodes\` to nested slot fallback content.