@esri/solutions-components 1.0.0-next.20250529.1 → 1.0.0-next.20250530

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 (404) hide show
  1. package/dist/cdn/{PZHEASS4.js → 23QD6NT3.js} +2 -2
  2. package/dist/cdn/{5QPQAJMG.js → 2BKGC3GR.js} +2 -2
  3. package/dist/cdn/{S6OH6PAD.js → 2EOEAV5E.js} +2 -2
  4. package/dist/cdn/2NWAL23W.js +4 -0
  5. package/dist/cdn/{ZOFGHLQB.js → 2VNIKRUP.js} +2 -2
  6. package/dist/cdn/{UZ2HGN74.js → 2WTCHQJH.js} +2 -2
  7. package/dist/cdn/{WWXALFP5.js → 2XITJCRB.js} +2 -2
  8. package/dist/cdn/{V6P4UD6W.js → 2Z3TWB2K.js} +2 -2
  9. package/dist/cdn/{C4JYYMYJ.js → 36LI3UQA.js} +2 -2
  10. package/dist/cdn/{DRS4Z435.js → 3CHLZWTV.js} +2 -2
  11. package/dist/cdn/{HCK5TCOJ.js → 43ULSAMW.js} +2 -2
  12. package/dist/cdn/{NNKQPDXS.js → 474ZEOFB.js} +1 -1
  13. package/dist/cdn/{FR4X4TDZ.js → 4AKAPNSY.js} +2 -2
  14. package/dist/cdn/{WHS2SJGC.js → 4FC3X2PR.js} +2 -2
  15. package/dist/cdn/{4ZHIBJJZ.js → 4M4MXT54.js} +2 -2
  16. package/dist/cdn/{RJS3KPCL.js → 4MBXYMTN.js} +2 -2
  17. package/dist/cdn/{AXBMCFIY.js → 4UN2BYLH.js} +1 -1
  18. package/dist/cdn/{P2ZWJVGZ.js → 4WQSWJOC.js} +6 -6
  19. package/dist/cdn/{GX7WAJDW.js → 57KRALMV.js} +2 -2
  20. package/dist/cdn/{BIGEZCHV.js → 5AXS3KFI.js} +2 -2
  21. package/dist/cdn/{ATXF6EM5.js → 5HIKUFVB.js} +2 -2
  22. package/dist/cdn/{OK3FOLOF.js → 5LO4GJR2.js} +2 -2
  23. package/dist/cdn/{TKOIJYF4.js → 5S2LGZK4.js} +2 -2
  24. package/dist/cdn/5S33JONB.js +18 -0
  25. package/dist/cdn/{CH6BDUYO.js → 5TJLMZD4.js} +2 -2
  26. package/dist/cdn/{2RGHQMD7.js → 5TRKAS2N.js} +1 -1
  27. package/dist/cdn/{CLTGVNIT.js → 5Y5ORVLB.js} +1 -1
  28. package/dist/cdn/{EGBONIMT.js → 5ZNOFKZT.js} +2 -2
  29. package/dist/cdn/{F3APXHAE.js → 623GWCXD.js} +2 -2
  30. package/dist/cdn/{5ZJ5HMBU.js → 624IUPMH.js} +2 -2
  31. package/dist/cdn/{NVSZ6TEP.js → 65WW5KKH.js} +2 -2
  32. package/dist/cdn/{MQSTZCGJ.js → 66KXCMW2.js} +2 -2
  33. package/dist/cdn/{L5VFVPQH.js → 6B752FN2.js} +2 -2
  34. package/dist/cdn/{HXCZBWLK.js → 6DWD2XLO.js} +2 -2
  35. package/dist/cdn/{RNNWBWHE.js → 6EHPMLHH.js} +2 -2
  36. package/dist/cdn/{DOZSTXHI.js → 6OHWZOS5.js} +2 -2
  37. package/dist/cdn/{HCV2XISF.js → 6PMWYOH6.js} +2 -2
  38. package/dist/cdn/{FZAQQCT2.js → 6TLILFC7.js} +2 -2
  39. package/dist/cdn/{6QYC63ET.js → 6WM4LAYI.js} +1 -1
  40. package/dist/cdn/{GRGAE7XV.js → 6Y2HFRCC.js} +2 -2
  41. package/dist/cdn/{I6CL4W66.js → 73MN3UQT.js} +2 -2
  42. package/dist/cdn/{QMAHKDVR.js → 76ZVHQZN.js} +2 -2
  43. package/dist/cdn/{T44MUET5.js → 77XUB3YE.js} +2 -2
  44. package/dist/cdn/7DEB6EKJ.js +4 -0
  45. package/dist/cdn/{EF6B6NVS.js → 7HKKUGXJ.js} +3 -3
  46. package/dist/cdn/{V5KXBFEN.js → 7ICYEZEV.js} +1 -1
  47. package/dist/cdn/{32U4CX5C.js → 7MSPLAAS.js} +1 -1
  48. package/dist/cdn/{EFQVEZGK.js → 7RRAT3I3.js} +2 -2
  49. package/dist/cdn/{226TJMEY.js → A3472HMO.js} +2 -2
  50. package/dist/cdn/{AO367CCB.js → A7QSMG5S.js} +1 -1
  51. package/dist/cdn/{Q2GQGU3O.js → AAZLISVR.js} +2 -2
  52. package/dist/cdn/{ZGN6IAVH.js → ACD5DGKO.js} +2 -2
  53. package/dist/cdn/{FUKHM2ED.js → ADKZI66G.js} +2 -2
  54. package/dist/cdn/{LGXVU5RZ.js → AOWCHDDD.js} +2 -2
  55. package/dist/cdn/{OHVQU6ZJ.js → ASAQWYLX.js} +2 -2
  56. package/dist/cdn/{DW2GOOJO.js → ASMSD26H.js} +2 -2
  57. package/dist/cdn/{5JSGC5AY.js → AWWFUP7R.js} +2 -2
  58. package/dist/cdn/{4FINQGFN.js → B5VH5463.js} +2 -2
  59. package/dist/cdn/{TANB4M2J.js → B6D7BVKN.js} +2 -2
  60. package/dist/cdn/{FTLPMKAC.js → B6UMTBML.js} +2 -2
  61. package/dist/cdn/{5BPG7NP4.js → B7LQMG3R.js} +2 -2
  62. package/dist/cdn/{DCZ6I6AY.js → BHDI3U4H.js} +2 -2
  63. package/dist/cdn/{2M3XDJVT.js → BJMWCYCG.js} +1 -1
  64. package/dist/cdn/{XRHJGG6M.js → BLRHWO52.js} +2 -2
  65. package/dist/cdn/{FLGIBCK5.js → BTLOBHUI.js} +2 -2
  66. package/dist/cdn/BWUWGBTF.js +4 -0
  67. package/dist/cdn/{3DGCRE6C.js → C5O32W6W.js} +2 -2
  68. package/dist/cdn/{AD3MI4SK.js → C6W5EVRT.js} +2 -2
  69. package/dist/cdn/{UP4YI4TT.js → C7F3GRAL.js} +2 -2
  70. package/dist/cdn/{PCME4I7V.js → CDW32ZV2.js} +2 -2
  71. package/dist/cdn/{KMFOS5KM.js → CIR5U4D6.js} +2 -2
  72. package/dist/cdn/{OQKQMGDN.js → CNE6Q3HD.js} +2 -2
  73. package/dist/cdn/{YEH3K6PV.js → COHNJZCA.js} +2 -2
  74. package/dist/cdn/{UD6TTT2A.js → CRVOSDOH.js} +2 -2
  75. package/dist/cdn/{QQ53NCYV.js → CVHD4WPU.js} +2 -2
  76. package/dist/cdn/{JGLLOYRV.js → CVY3C2IL.js} +2 -2
  77. package/dist/cdn/{KZXLFT6A.js → D3CEKY4I.js} +2 -2
  78. package/dist/cdn/{RIOHLLW6.js → D64CJOFO.js} +2 -2
  79. package/dist/cdn/{5GRAGQQP.js → DFVGHMS4.js} +2 -2
  80. package/dist/cdn/DI3ZJNYG.js +4 -0
  81. package/dist/cdn/{DUZUSI6P.js → DKFDVAPB.js} +2 -2
  82. package/dist/cdn/{WP6BQVIA.js → DMOHDVMJ.js} +2 -2
  83. package/dist/cdn/{7C4LS7IK.js → DPCZKJNP.js} +2 -2
  84. package/dist/cdn/{5YPIARSS.js → DPQI6KC3.js} +2 -2
  85. package/dist/cdn/{N47B2PFI.js → DTFCT5IZ.js} +2 -2
  86. package/dist/cdn/{BDSZY6HF.js → DXVTCY4M.js} +2 -2
  87. package/dist/cdn/{VKBPB4XL.js → EDGMFTA5.js} +1 -1
  88. package/dist/cdn/{KAYEVXTW.js → FBFPEXXQ.js} +2 -2
  89. package/dist/cdn/{5LOR6WOH.js → FINGXX6A.js} +2 -2
  90. package/dist/cdn/{VWNZ5PHO.js → FIZQWFHG.js} +2 -2
  91. package/dist/cdn/{QUYSAWNZ.js → FJZZPZAP.js} +1 -1
  92. package/dist/cdn/{TATQRKRO.js → FLMBYBSQ.js} +2 -2
  93. package/dist/cdn/{RAL76SQT.js → FMBJIOBG.js} +2 -2
  94. package/dist/cdn/{2VW6H67C.js → FOARVMCU.js} +1 -1
  95. package/dist/cdn/{N3WHAHAE.js → FT36ADUC.js} +2 -2
  96. package/dist/cdn/{RSHSVMPO.js → FVYY2V6T.js} +2 -2
  97. package/dist/cdn/{3GOXEHUM.js → FX4JCXT3.js} +2 -2
  98. package/dist/cdn/{KWPSUDAQ.js → G2RF3XGL.js} +2 -2
  99. package/dist/cdn/{SJSKBJDQ.js → G6J2G3OU.js} +2 -2
  100. package/dist/cdn/{YQ56TKXB.js → G6RPSMZU.js} +2 -2
  101. package/dist/cdn/{UXS2JZES.js → GAJRZJ5F.js} +2 -2
  102. package/dist/cdn/{FBJW6XEX.js → GHOZRGNX.js} +2 -2
  103. package/dist/cdn/GIZRBHCR.js +18 -0
  104. package/dist/cdn/{WJHLFCHB.js → GNLCPEV7.js} +2 -2
  105. package/dist/cdn/{KKJXYILX.js → GPVKAG4C.js} +2 -2
  106. package/dist/cdn/{XXLWKLVG.js → GULDKM5K.js} +2 -2
  107. package/dist/cdn/{EAVTHFWC.js → GVMSMEI4.js} +2 -2
  108. package/dist/cdn/{22TLYMB5.js → GWZJKQMN.js} +2 -2
  109. package/dist/cdn/{TKSTFENU.js → H22ZUYLG.js} +3 -3
  110. package/dist/cdn/H3WID2XT.js +18 -0
  111. package/dist/cdn/{CAIDATL7.js → H3YXFKQG.js} +2 -2
  112. package/dist/cdn/{OJE3CXRA.js → H46M3Z3P.js} +2 -2
  113. package/dist/cdn/{WGOOZUKO.js → H46O6YAN.js} +2 -2
  114. package/dist/cdn/{N2ME4PMY.js → H5ZIHIO2.js} +3 -3
  115. package/dist/cdn/{5OFRMSV6.js → H6V2DNZK.js} +2 -2
  116. package/dist/cdn/{XIXMB2G5.js → HBZ4X7UP.js} +2 -2
  117. package/dist/cdn/{TD5MSEEV.js → HF75TXAE.js} +2 -2
  118. package/dist/cdn/{VJBYZT6W.js → HK4LMSCI.js} +2 -2
  119. package/dist/cdn/{JNZWDT5I.js → HOZJEHZI.js} +2 -2
  120. package/dist/cdn/{EFN3IWLQ.js → HPD42QK2.js} +2 -2
  121. package/dist/cdn/{E6AZUM5D.js → HSDQUCF6.js} +2 -2
  122. package/dist/cdn/{BAEITQ2C.js → HUJDORKB.js} +2 -2
  123. package/dist/cdn/{57OJYSCR.js → IAZYT5SM.js} +2 -2
  124. package/dist/cdn/{G5HPM6N2.js → IFQJHKJ3.js} +2 -2
  125. package/dist/cdn/{VHODC5K7.js → INHTUKGG.js} +2 -2
  126. package/dist/cdn/{73CALEXO.js → IOFFIYTL.js} +1 -1
  127. package/dist/cdn/{Q5577CJV.js → IWEV46QA.js} +2 -2
  128. package/dist/cdn/{OLAVIJIT.js → IY4EENZ5.js} +2 -2
  129. package/dist/cdn/{NMOQUXR6.js → JDBE77NZ.js} +2 -2
  130. package/dist/cdn/{JQOJYSOZ.js → JDPFMWSP.js} +2 -2
  131. package/dist/cdn/{XWZRUTOX.js → JHW7VZTV.js} +2 -2
  132. package/dist/cdn/{5UMSFFPF.js → JL5VELML.js} +2 -2
  133. package/dist/cdn/{LKCOVVSL.js → JQ5YNHDK.js} +2 -2
  134. package/dist/cdn/{NO53EZBW.js → JRD5PLWA.js} +2 -2
  135. package/dist/cdn/{A3TE2CYP.js → JSUMCSCE.js} +2 -2
  136. package/dist/cdn/{IAHGXPQT.js → K4F6G4OQ.js} +1 -1
  137. package/dist/cdn/{TXF5RICI.js → KPU6AFJN.js} +2 -2
  138. package/dist/cdn/KVNQHEXQ.js +4 -0
  139. package/dist/cdn/{N2Q43IJ2.js → LCP3BY3N.js} +2 -2
  140. package/dist/cdn/{RFC7Q3JW.js → LCUHKJMS.js} +2 -2
  141. package/dist/cdn/{DB2PWS76.js → LI5GC7CN.js} +2 -2
  142. package/dist/cdn/{5YLKLSMJ.js → LMGSYVDG.js} +1 -1
  143. package/dist/cdn/{ABWWFNZH.js → LQRMHTGZ.js} +2 -2
  144. package/dist/cdn/{BGG35RUD.js → LRUGHWTN.js} +1 -1
  145. package/dist/cdn/{Y3VKMBT2.js → LXA33IHT.js} +2 -2
  146. package/dist/cdn/{NB2KN2PS.js → LZS774B3.js} +1 -1
  147. package/dist/cdn/{3WUBH6ZI.js → MFK4TJVR.js} +2 -2
  148. package/dist/cdn/{DLLKABZH.js → MHWXPIZF.js} +2 -2
  149. package/dist/cdn/{3TNNRRLR.js → MJ7SNROO.js} +2 -2
  150. package/dist/cdn/{E4MUA2ED.js → MJ7WUNVY.js} +2 -2
  151. package/dist/cdn/{FKBPJVRW.js → MPF442O4.js} +2 -2
  152. package/dist/cdn/{ZLKFLJAK.js → MPJ2AA4Y.js} +2 -2
  153. package/dist/cdn/{FRI7HIM7.js → MSAGS3RU.js} +2 -2
  154. package/dist/cdn/{7YM72QZ3.js → MSC6SQKC.js} +2 -2
  155. package/dist/cdn/{RMQSJKXT.js → MTI5LVZW.js} +2 -2
  156. package/dist/cdn/{6FVEXKJS.js → MZNCYU5F.js} +2 -2
  157. package/dist/cdn/{4HJRJ7KX.js → N4SJLKUB.js} +2 -2
  158. package/dist/cdn/{JGO5DBSA.js → N6WVCUYZ.js} +2 -2
  159. package/dist/cdn/{2SNUWJEH.js → NFHEIYMD.js} +2 -2
  160. package/dist/cdn/{ZHJOJK4D.js → NGOP7PKK.js} +2 -2
  161. package/dist/cdn/{NBFO57MD.js → NIVL5UGT.js} +2 -2
  162. package/dist/cdn/{GWPISXDC.js → NKOVTFUU.js} +1 -1
  163. package/dist/cdn/{TS32X4ID.js → NO2SL2YF.js} +1 -1
  164. package/dist/cdn/{BQW56YYM.js → NOSOENXA.js} +2 -2
  165. package/dist/cdn/{IJJ6XUUA.js → NPELRLAT.js} +1 -1
  166. package/dist/cdn/{KBDBSCXP.js → NQHY7XX2.js} +2 -2
  167. package/dist/cdn/{RWQERXH4.js → NUCJR6CY.js} +2 -2
  168. package/dist/cdn/{6BG4LKDW.js → NW4KXWWN.js} +2 -2
  169. package/dist/cdn/{BDLLR4WH.js → O34SMVFC.js} +2 -2
  170. package/dist/cdn/{ATBQXDJR.js → O7VNTXYR.js} +1 -1
  171. package/dist/cdn/{T3ZRKXLY.js → OFMVTSKF.js} +2 -2
  172. package/dist/cdn/{UPDKM5C4.js → OGSX3AIB.js} +2 -2
  173. package/dist/cdn/{XMAMECK7.js → OK6EFAL5.js} +2 -2
  174. package/dist/cdn/{X7VDVXPT.js → OKMLPIEO.js} +2 -2
  175. package/dist/cdn/{WOWKKDEA.js → OL6BCU24.js} +2 -2
  176. package/dist/cdn/{EMR2T3VS.js → OLE4GCSZ.js} +2 -2
  177. package/dist/cdn/{I4GUWHGI.js → OOIVSIXL.js} +2 -2
  178. package/dist/cdn/{E45HF3Y4.js → OTV4TIHA.js} +1 -1
  179. package/dist/cdn/{EUCKEPMP.js → OY2EULMD.js} +1 -1
  180. package/dist/cdn/{WAD3QU5V.js → PC7NVT5O.js} +2 -2
  181. package/dist/cdn/{NMW6Q45K.js → PKQBHNHV.js} +2 -2
  182. package/dist/cdn/{44KIKBNN.js → PLZQ55P6.js} +1 -1
  183. package/dist/cdn/{4KEBF4LC.js → PNYGXVOF.js} +2 -2
  184. package/dist/cdn/{ERDDFJBU.js → PQ6UKR2D.js} +2 -2
  185. package/dist/cdn/PQF5AGW3.js +18 -0
  186. package/dist/cdn/{E6ANX74E.js → PUL6DFZP.js} +2 -2
  187. package/dist/cdn/{LB4MHZTX.js → PYTYKQXT.js} +2 -2
  188. package/dist/cdn/{WIJOUEJP.js → Q2NP2O3M.js} +1 -1
  189. package/dist/cdn/{GOFL3CLI.js → QHCRENJA.js} +2 -2
  190. package/dist/cdn/{64GGJXW2.js → QKSO2DZS.js} +2 -2
  191. package/dist/cdn/{LFFZU6FW.js → QQFRILT6.js} +2 -2
  192. package/dist/cdn/{AQ4EWNIS.js → QSOWUBRL.js} +2 -2
  193. package/dist/cdn/{XE4V3N2H.js → QUXU6A5O.js} +2 -2
  194. package/dist/cdn/{EMX7A46W.js → QWW5LVKF.js} +1 -1
  195. package/dist/cdn/{E2WTZA5A.js → R2MSIDPH.js} +2 -2
  196. package/dist/cdn/{CINMF5MV.js → R4TKAAQV.js} +2 -2
  197. package/dist/cdn/{OK6HLZPD.js → R7RG6ML5.js} +2 -2
  198. package/dist/cdn/{NTIAFN5V.js → RFBPGTLV.js} +2 -2
  199. package/dist/cdn/{EMSROVVK.js → RJMRH5EB.js} +2 -2
  200. package/dist/cdn/{ITFUMWIC.js → RM2TEOMI.js} +2 -2
  201. package/dist/cdn/{IUKZJEZR.js → RTSDGCAZ.js} +2 -2
  202. package/dist/cdn/{YBYPMK5B.js → RU4LFZ43.js} +2 -2
  203. package/dist/cdn/{EZZ43ZR6.js → RUXEHYBS.js} +2 -2
  204. package/dist/cdn/{SAYEB7BP.js → RUZUM5JL.js} +2 -2
  205. package/dist/cdn/{YFXB4ISW.js → RVP3IPFW.js} +2 -2
  206. package/dist/cdn/{XJNGHFQY.js → RZ64SXIZ.js} +2 -2
  207. package/dist/cdn/S3DJ42LQ.js +4 -0
  208. package/dist/cdn/{6D3RDJX7.js → S76CATML.js} +2 -2
  209. package/dist/cdn/{7Z62O7FH.js → S7HDN545.js} +2 -2
  210. package/dist/cdn/{US5FGYHG.js → SAVY6UWC.js} +2 -2
  211. package/dist/cdn/{INGNQIJ3.js → SFZSSATF.js} +1 -1
  212. package/dist/cdn/{D4E4KVMH.js → SITUZTCB.js} +1 -1
  213. package/dist/cdn/{F67L3FFT.js → SM4ERQVS.js} +2 -2
  214. package/dist/cdn/SOCFGEQX.js +4 -0
  215. package/dist/cdn/{UTTBCGBU.js → STR7L3II.js} +1 -1
  216. package/dist/cdn/{UYHG2K2R.js → SUYA6BJE.js} +2 -2
  217. package/dist/cdn/SWLTPJE7.js +19 -0
  218. package/dist/cdn/{WIVHCBPP.js → T6ENDM5I.js} +2 -2
  219. package/dist/cdn/{CQEENTBO.js → TDAFNKRF.js} +2 -2
  220. package/dist/cdn/{MLEBNSOQ.js → TGF4D4AP.js} +2 -2
  221. package/dist/cdn/{DJW5RED2.js → TJYWSXAE.js} +2 -2
  222. package/dist/cdn/{KU56AQD3.js → TNKUKSQO.js} +2 -2
  223. package/dist/cdn/{LPCTO7JL.js → TZB4SIVB.js} +2 -2
  224. package/dist/cdn/{BFH5SRQZ.js → U4AOWHPN.js} +2 -2
  225. package/dist/cdn/{2WOG7EWC.js → UCOGDUDQ.js} +2 -2
  226. package/dist/cdn/{JNLPWAOW.js → UF7C45QH.js} +1 -1
  227. package/dist/cdn/{LH2RWSHL.js → UFB3TUWD.js} +2 -2
  228. package/dist/cdn/{T5M4F7YY.js → UJIWOKHV.js} +2 -2
  229. package/dist/cdn/ULUZHD23.js +18 -0
  230. package/dist/cdn/{44BN27VD.js → UMIMUVFB.js} +2 -2
  231. package/dist/cdn/{6SEI3MD4.js → UMQ6LGJX.js} +2 -2
  232. package/dist/cdn/{422X4AIN.js → UPY2LA6F.js} +2 -2
  233. package/dist/cdn/{KHZT65GM.js → USLNR5GM.js} +2 -2
  234. package/dist/cdn/{CYMZ5TR6.js → UTUTEFAQ.js} +2 -2
  235. package/dist/cdn/{AQLKL2NA.js → UU5CNOQW.js} +1 -1
  236. package/dist/cdn/{4YOYUXOM.js → UVD3URNY.js} +2 -2
  237. package/dist/cdn/{HOSQ2AT7.js → V3UMFOSY.js} +2 -2
  238. package/dist/cdn/{OVZZDA7E.js → VI4S4LJS.js} +1 -1
  239. package/dist/cdn/{MXKTM3JR.js → VNKBLONB.js} +2 -2
  240. package/dist/cdn/{JUFXEC5B.js → VQNKIJYJ.js} +2 -2
  241. package/dist/cdn/{2H6MMKLC.js → VSFHEXKM.js} +2 -2
  242. package/dist/cdn/{LVYTI5YO.js → VUE2KPGT.js} +1 -1
  243. package/dist/cdn/{CUWBKPW3.js → VVBT7KBI.js} +2 -2
  244. package/dist/cdn/{DIPTKS7N.js → VVKUWUHS.js} +2 -2
  245. package/dist/cdn/{RZS7265A.js → W3LLXNL3.js} +1 -1
  246. package/dist/cdn/{XNMPWNJU.js → W77AHKSW.js} +2 -2
  247. package/dist/cdn/{RPDZRAZN.js → WB3MRH4D.js} +2 -2
  248. package/dist/cdn/{FWU3TXCH.js → WFQNYZM4.js} +2 -2
  249. package/dist/cdn/{KLDZGQR7.js → WG6YT6NR.js} +2 -2
  250. package/dist/cdn/{DE4JUMCH.js → WJF7O2KL.js} +2 -2
  251. package/dist/cdn/{P6V7CQGP.js → WTHR4PDS.js} +2 -2
  252. package/dist/cdn/{JAHBNPDG.js → WVOYVMPB.js} +2 -2
  253. package/dist/cdn/{JC4DSHFM.js → X472G43W.js} +2 -2
  254. package/dist/cdn/{5OKFWPQF.js → X5I4YW2D.js} +2 -2
  255. package/dist/cdn/{4L3V2YYV.js → X7YNYBQ7.js} +1 -1
  256. package/dist/cdn/{5FNUZG6X.js → XANWM4XJ.js} +2 -2
  257. package/dist/cdn/{XE5DWVXG.js → XJHNY525.js} +2 -2
  258. package/dist/cdn/XJJZC34E.js +4 -0
  259. package/dist/cdn/{R3HTIQI4.js → XQTZGROY.js} +2 -2
  260. package/dist/cdn/{7PPW7OOE.js → XS2PGUTI.js} +2 -2
  261. package/dist/cdn/{PSTKPUKW.js → XUI76RRO.js} +2 -2
  262. package/dist/cdn/{5MAI7MEC.js → XXHTK6SD.js} +2 -2
  263. package/dist/cdn/{UA2S4SRX.js → Y6GOEXCP.js} +1 -1
  264. package/dist/cdn/{TWKAESRO.js → YDQ3OJQO.js} +1 -1
  265. package/dist/cdn/{OZ6MXTPT.js → YEZ45MYI.js} +2 -2
  266. package/dist/cdn/{STM2LDCR.js → YGOJWFRE.js} +1 -1
  267. package/dist/cdn/{WBEQ7VK3.js → YHPDJ5FN.js} +2 -2
  268. package/dist/cdn/{XEKWJEF6.js → YUXVO62S.js} +2 -2
  269. package/dist/cdn/YWKKYK5K.js +18 -0
  270. package/dist/cdn/{MKZNNMPC.js → YWR7J3GR.js} +2 -2
  271. package/dist/cdn/{5BWSNQ4C.js → Z25W4Z6L.js} +2 -2
  272. package/dist/cdn/{CJZSQT35.js → Z3VO6XU3.js} +2 -2
  273. package/dist/cdn/{QQD353LD.js → ZBE4V2ZL.js} +2 -2
  274. package/dist/cdn/{6VV6QBNS.js → ZK3VF62M.js} +1 -1
  275. package/dist/cdn/{NZ6MHZKX.js → ZKKTR3BI.js} +1 -1
  276. package/dist/cdn/{3OJVS3LV.js → ZKOIDQFC.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 +1 -1
  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.js +11 -13
  328. package/dist/components/map-legend/customElement.js +1 -1
  329. package/dist/components/map-picker/customElement.d.ts +1 -1
  330. package/dist/components/map-picker/customElement.js +5 -8
  331. package/dist/components/map-search/customElement.js +1 -1
  332. package/dist/components/map-select-tools/customElement.js +1 -1
  333. package/dist/components/map-tools/customElement.js +1 -1
  334. package/dist/components/pci-calculator/customElement.js +1 -1
  335. package/dist/components/pdf-download/customElement.js +1 -1
  336. package/dist/components/public-notification/customElement.js +1 -1
  337. package/dist/components/refine-selection/customElement.js +1 -1
  338. package/dist/components/selection-tool/customElement.js +1 -1
  339. package/dist/components/solution-article-card/customElement.js +1 -1
  340. package/dist/components/solution-configuration/customElement.js +1 -1
  341. package/dist/components/solution-configure-panel/customElement.js +1 -1
  342. package/dist/components/solution-configure-titles/customElement.js +1 -1
  343. package/dist/components/solution-contents/customElement.js +1 -1
  344. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  345. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  346. package/dist/components/solution-deploy-panel/customElement.d.ts +1 -0
  347. package/dist/components/solution-deploy-panel/customElement.js +5 -5
  348. package/dist/components/solution-deployed-card/customElement.js +1 -1
  349. package/dist/components/solution-deploying-panel/customElement.d.ts +7 -0
  350. package/dist/components/solution-deploying-panel/customElement.js +48 -15
  351. package/dist/components/solution-deploying-panel/index.d.ts +7 -0
  352. package/dist/components/solution-deploying-panel/index.js +7 -0
  353. package/dist/components/solution-details-card/customElement.js +1 -1
  354. package/dist/components/solution-details-panel/customElement.js +1 -1
  355. package/dist/components/solution-item/customElement.js +1 -1
  356. package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
  357. package/dist/components/solution-item-accordion/customElement.js +4 -4
  358. package/dist/components/solution-item-details/customElement.js +1 -1
  359. package/dist/components/solution-item-icon/customElement.js +1 -1
  360. package/dist/components/solution-item-sharing/customElement.js +1 -1
  361. package/dist/components/solution-items-diagram/customElement.js +1 -1
  362. package/dist/components/solution-organization-variables/customElement.js +1 -1
  363. package/dist/components/solution-resource-item/customElement.js +1 -1
  364. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  365. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  366. package/dist/components/solution-template-data/customElement.js +1 -1
  367. package/dist/components/solution-variables/customElement.js +1 -1
  368. package/dist/components/solutions-all-panel/customElement.js +1 -1
  369. package/dist/components/solutions-all-shell/customElement.js +1 -1
  370. package/dist/components/solutions-article-panel/customElement.js +1 -1
  371. package/dist/components/solutions-articles/customElement.js +1 -1
  372. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  373. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  374. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  375. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  376. package/dist/components/spatial-ref/customElement.js +1 -1
  377. package/dist/components/store-manager/customElement.js +1 -1
  378. package/dist/docs/api.json +127 -49
  379. package/dist/docs/docs.json +149 -38
  380. package/dist/docs/vscode.html-custom-data.json +14 -14
  381. package/dist/docs/web-types.json +63 -31
  382. package/dist/index.d.ts +2 -0
  383. package/dist/index.js +1 -1
  384. package/dist/loader.js +5 -5
  385. package/dist/types/lumina.d.ts +6 -4
  386. package/dist/types/preact.d.ts +6 -4
  387. package/dist/types/react.d.ts +6 -4
  388. package/dist/types/stencil.d.ts +6 -4
  389. package/package.json +1 -1
  390. package/dist/cdn/4NCQ3IS4.js +0 -18
  391. package/dist/cdn/5Z3SFZPV.js +0 -19
  392. package/dist/cdn/627NUP22.js +0 -4
  393. package/dist/cdn/6K3XKNF7.js +0 -18
  394. package/dist/cdn/FLEZVTRW.js +0 -4
  395. package/dist/cdn/KNHIVMQR.js +0 -4
  396. package/dist/cdn/QY3WDSZE.js +0 -4
  397. package/dist/cdn/RE3SUTYT.js +0 -18
  398. package/dist/cdn/RHY65LV5.js +0 -18
  399. package/dist/cdn/U2HFGKIV.js +0 -18
  400. package/dist/cdn/VJLQ32GX.js +0 -4
  401. package/dist/cdn/WRJ2IISI.js +0 -18
  402. package/dist/cdn/X4XTLJM6.js +0 -4
  403. package/dist/cdn/X6K34YQK.js +0 -4
  404. 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 b}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 r}from"./4KEBF4LC.js";import{D as n,F as e,I as c,c as o,d as a,g as i,q as l}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var h=o`@layer{/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as b}from"./5AXS3KFI.js";import"./ZK3VF62M.js";import"./U4AOWHPN.js";import"./JL5VELML.js";import"./Q2NP2O3M.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./X7YNYBQ7.js";import"./5Y5ORVLB.js";import{a as r}from"./PNYGXVOF.js";import{D as n,F as e,I as c,c as o,d as a,g as i,q as l}from"./VUE2KPGT.js";import"./OY2EULMD.js";var h=o`@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{a as p,b as f,g as V,j as U,l as q,m as B,n as O,t as w,u as S,v as $,w as k}from"./FBJW6XEX.js";import{a as E}from"./KHZT65GM.js";import"./EZZ43ZR6.js";import{E as N,h as M,i as A}from"./INGNQIJ3.js";import{a as u,c as s,e as L,f as T,h as R}from"./DE4JUMCH.js";import"./EUCKEPMP.js";var X=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}",Y=X,D={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},ee=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=!!this.layerCaption?.expanded}async componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){return s("div",{key:"cf9f8f643477fc66b5ab9d4f69faa3591664e1a0",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${D.service} ${D.groupLayer}`},s("instant-apps-interactive-legend-layer-element-caption",{key:"10339df7a9d65d87f20c6bf8f84f4bd578495085",ref:e=>this.layerCaption=e,class:$(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),s("div",{key:"c41488c758479a0c3820187641b27d97a7de824d",class:`${D.groupContent} ${this.expanded?"show":"hide"}`},s("slot",{key:"4778c2674ac10a464aa4cca6ec080dfbdca53afa",name:"content"})))}get el(){return L(this)}};ee.style=Y;var te=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}",ne=te,z={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},ae=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){let e=this.activeLayerInfo.parent?` ${z.groupLayerChild}`:"";return s("div",{key:"aa39da1dd64aae1630988e2a1af8a2b7faea97d9",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${z.service}${e}`,tabIndex:0},s("instant-apps-interactive-legend-layer-element-caption",{key:"e7013faace5d61da9062c53c3336bddc3f87c1b4",ref:n=>{n&&(this.layerCaption=n)},legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:$(this.el)}),s("div",{key:"c54f12b6f0a1b1c17ff97c368fac17795e62e74a",id:`${this.activeLayerInfo?.layer?.id}-legend-layer`,class:`${z.layer}${this.expanded?" show":" hide"}`},s("slot",{key:"af29568610f22a76e2d9792c178b0b220cc0bb5d",name:"content"})))}get el(){return L(this)}};ae.style=ne;var ie=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}",se=ie,v={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},le=class{constructor(e){u(this,e),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText="",this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){let e=this.isChild?v.layerChildTable:v.layerTable,n=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,t=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${v.layerTableSizeRamp}`:"",a=this.isInteractive?"":` ${v.nonInteractive}`,i=w(this.activeLayerInfo)?` ${v.nestedUniqueSymbol}`:"",l=n&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let c=f.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];l=c===void 0?!0:c}return s("div",{key:"cea3abec3b0d96dd275cadbf6c2446d92c4d39dd",class:`${e}${t}${a}${i}`},s("div",{key:"6124c13d37dee96cb88498f25b275196fd899af5",id:`${this.activeLayerInfo?.layer?.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&n?"hide":"show"},s("instant-apps-interactive-legend-legend-element-caption",{key:"2c89bf0cb37046f020bdfed08e15abadd6513a1c",ref:r=>{r&&(this.legendLayerCaption=r)},legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),s("div",{key:"content",id:`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`,class:l?"show":"hide"},s("slot",{key:"3ddd3cfe429bcd1a21c020dccc307395d89ba5c9",name:"content"})))}};le.style=se;var re=".sc-instant-apps-interactive-legend-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption{--instant-apps-interactive-legend-ui-padding:5px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;justify-content:flex-end;width:100%}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__show-all-btn.sc-instant-apps-interactive-legend-legend-element-caption{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:0.75rem;padding-inline-start:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__zoom-to-btn.sc-instant-apps-interactive-legend-legend-element-caption{--calcite-icon-color:var(--calcite-ui-brand);--calcite-color-transparent-hover:transparent}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;font-size:0.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-legend-element-caption-h:dir(rtl) .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}",oe=re,b;(function(e){e.ZoomTo="magnifying-glass-plus",e.ShowAll="list-check-all"})(b||(b={}));var g={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},ce=class{constructor(e){u(this,e),this.showAllSelectedEvent=T(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=T(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){let e=w(this.activeLayerInfo),n=U(this.activeLayerInfo),{expanded:t}=this,a=f.get("compact"),i=a?` ${g.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText&&s("span",{class:g.layerCaptionText,title:this.titleText},this.titleText),r=(this.isInteractive||n)&&this.renderLegendElementCaptionControls();return s("div",{class:`${g.layerCaption}${i}`},s("calcite-action",{onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:t?this.messages?.collapse:this.messages?.expand,label:t?this.messages?.collapse:this.messages?.expand,scale:"s"}),a?[l,r]:[r,l])}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${g.layerCaptionBtnContainerNoText}`;return s("div",{key:"layer-caption-btn-container",class:`${g.layerCaptionBtnContainer}${e}`},this.renderShowAllZoomToButtons())}renderShowAllZoomToButtons(){return f.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="zoomToCompact",i=this.zoomTo&&[s("calcite-action",{id:a,class:g.zoomTo,onClick:this.handleZoomTo(),icon:b.ZoomTo,appearance:"transparent",scale:"s",text:this.messages?.zoomTo}),s("calcite-tooltip",{"reference-element":a,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)],l=t&&s("button",{onClick:this.handleShowAll(),class:g.showAll},this.messages?.showAll);return[i,l]}renderButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="showAll",i="zoomTo",l=t&&[s("calcite-button",{key:"show-all-button",id:a,label:this.messages?.showAll,onClick:this.handleShowAll(),iconStart:b.ShowAll,appearance:"outline",round:!0}),s("calcite-tooltip",{referenceElement:a,placement:"top",label:this.messages?.showAll},this.messages?.showAll)],r=this.zoomTo&&[s("calcite-button",{key:"zoom-to-button",id:i,label:this.messages?.zoomTo,onClick:this.handleZoomTo(),iconStart:b.ZoomTo,appearance:"outline",round:!0}),s("calcite-tooltip",{"reference-element":i,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)];return[l,r]}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(this.activeLayerInfo?.legendElements?.filter(n=>n.type==="relationship-ramp")).length>0&&f.set("relationshipRampExpandStates",{...p.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=V(this.layer),n=S(e,this.legendElement);O(e,this.legendvm.view,n)}}handleShowAll(){return()=>{let e=()=>{let i=B(t,this.legendElement.title);k({intLegendLayerData:i,layerId:this.layer.id})},n=()=>{let i=q(t);k({intLegendLayerData:i,layerId:this.layer.id})},t=p.data?.[this.layer?.id];if(S(t,this.legendElement)){e();return}n(),this.showAllSelectedEvent.emit()}}get el(){return L(this)}};ce.style=oe;var P=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),de=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),pe=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function he(e,n){return n===null?P.get("HH")[e]:P.get(n)?.[e]??null}function ge(e,n){return n===null?e:de.get(n)?.[e]??e}function J(e,n){return n===null?J(e,"HH"):pe.get(n)?.[e]??null}var ue=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}",me=ue,fe=".sc-instant-apps-interactive-legend-relationship svg",Z=".sc-instant-apps-interactive-legend-relationship svg g:first-of-type",ve=".sc-instant-apps-interactive-legend-relationship svg g:last-of-type",y="esri-interactive-legend--selected-cell",j="esri-interactive-legend--instructional-text",G=2,W=3,ye=4,be=Object.freeze({0:"L",1:"H"}),xe=Object.freeze({0:"L",1:"M",2:"H"}),Le=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Ie={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},Ce=class{constructor(e){u(this,e),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){let e=p.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,n=this.relationshipRamp.querySelector(Z),t=Array.from(n.children);e&&t?.forEach(a=>{a.removeAttribute("stroke"),a.removeAttribute("stroke-width"),a.removeAttribute("stroke-opacity"),a.setAttribute("aria-pressed","false"),a.classList.remove(y)})}async componentWillLoad(){let e=await N();this.symbolUtils=e}render(){return s("div",{key:"f5cf665a22adaa3f9e5529937fd96d7334e51933",ref:e=>{if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
3
+ v1.0.0-next.20250530 */
4
+ import{a as p,b as f,g as V,j as U,l as q,m as B,n as O,t as w,u as S,v as $,w as k}from"./GHOZRGNX.js";import{a as E}from"./USLNR5GM.js";import"./RUXEHYBS.js";import{E as N,h as M,i as A}from"./SFZSSATF.js";import{a as u,c as s,e as L,f as T,h as R}from"./WJF7O2KL.js";import"./OY2EULMD.js";var X=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}",Y=X,D={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},ee=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=!!this.layerCaption?.expanded}async componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){return s("div",{key:"cf9f8f643477fc66b5ab9d4f69faa3591664e1a0",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${D.service} ${D.groupLayer}`},s("instant-apps-interactive-legend-layer-element-caption",{key:"10339df7a9d65d87f20c6bf8f84f4bd578495085",ref:e=>this.layerCaption=e,class:$(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),s("div",{key:"c41488c758479a0c3820187641b27d97a7de824d",class:`${D.groupContent} ${this.expanded?"show":"hide"}`},s("slot",{key:"4778c2674ac10a464aa4cca6ec080dfbdca53afa",name:"content"})))}get el(){return L(this)}};ee.style=Y;var te=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}",ne=te,z={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},ae=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){let e=this.activeLayerInfo.parent?` ${z.groupLayerChild}`:"";return s("div",{key:"aa39da1dd64aae1630988e2a1af8a2b7faea97d9",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${z.service}${e}`,tabIndex:0},s("instant-apps-interactive-legend-layer-element-caption",{key:"e7013faace5d61da9062c53c3336bddc3f87c1b4",ref:n=>{n&&(this.layerCaption=n)},legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:$(this.el)}),s("div",{key:"c54f12b6f0a1b1c17ff97c368fac17795e62e74a",id:`${this.activeLayerInfo?.layer?.id}-legend-layer`,class:`${z.layer}${this.expanded?" show":" hide"}`},s("slot",{key:"af29568610f22a76e2d9792c178b0b220cc0bb5d",name:"content"})))}get el(){return L(this)}};ae.style=ne;var ie=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}",se=ie,v={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},le=class{constructor(e){u(this,e),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText="",this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){let e=this.isChild?v.layerChildTable:v.layerTable,n=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,t=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${v.layerTableSizeRamp}`:"",a=this.isInteractive?"":` ${v.nonInteractive}`,i=w(this.activeLayerInfo)?` ${v.nestedUniqueSymbol}`:"",l=n&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let c=f.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];l=c===void 0?!0:c}return s("div",{key:"cea3abec3b0d96dd275cadbf6c2446d92c4d39dd",class:`${e}${t}${a}${i}`},s("div",{key:"6124c13d37dee96cb88498f25b275196fd899af5",id:`${this.activeLayerInfo?.layer?.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&n?"hide":"show"},s("instant-apps-interactive-legend-legend-element-caption",{key:"2c89bf0cb37046f020bdfed08e15abadd6513a1c",ref:r=>{r&&(this.legendLayerCaption=r)},legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),s("div",{key:"content",id:`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`,class:l?"show":"hide"},s("slot",{key:"3ddd3cfe429bcd1a21c020dccc307395d89ba5c9",name:"content"})))}};le.style=se;var re=".sc-instant-apps-interactive-legend-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption{--instant-apps-interactive-legend-ui-padding:5px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;justify-content:flex-end;width:100%}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__show-all-btn.sc-instant-apps-interactive-legend-legend-element-caption{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:0.75rem;padding-inline-start:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__zoom-to-btn.sc-instant-apps-interactive-legend-legend-element-caption{--calcite-icon-color:var(--calcite-ui-brand);--calcite-color-transparent-hover:transparent}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;font-size:0.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-legend-element-caption-h:dir(rtl) .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}",oe=re,b;(function(e){e.ZoomTo="magnifying-glass-plus",e.ShowAll="list-check-all"})(b||(b={}));var g={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},ce=class{constructor(e){u(this,e),this.showAllSelectedEvent=T(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=T(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){let e=w(this.activeLayerInfo),n=U(this.activeLayerInfo),{expanded:t}=this,a=f.get("compact"),i=a?` ${g.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText&&s("span",{class:g.layerCaptionText,title:this.titleText},this.titleText),r=(this.isInteractive||n)&&this.renderLegendElementCaptionControls();return s("div",{class:`${g.layerCaption}${i}`},s("calcite-action",{onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:t?this.messages?.collapse:this.messages?.expand,label:t?this.messages?.collapse:this.messages?.expand,scale:"s"}),a?[l,r]:[r,l])}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${g.layerCaptionBtnContainerNoText}`;return s("div",{key:"layer-caption-btn-container",class:`${g.layerCaptionBtnContainer}${e}`},this.renderShowAllZoomToButtons())}renderShowAllZoomToButtons(){return f.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="zoomToCompact",i=this.zoomTo&&[s("calcite-action",{id:a,class:g.zoomTo,onClick:this.handleZoomTo(),icon:b.ZoomTo,appearance:"transparent",scale:"s",text:this.messages?.zoomTo}),s("calcite-tooltip",{"reference-element":a,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)],l=t&&s("button",{onClick:this.handleShowAll(),class:g.showAll},this.messages?.showAll);return[i,l]}renderButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="showAll",i="zoomTo",l=t&&[s("calcite-button",{key:"show-all-button",id:a,label:this.messages?.showAll,onClick:this.handleShowAll(),iconStart:b.ShowAll,appearance:"outline",round:!0}),s("calcite-tooltip",{referenceElement:a,placement:"top",label:this.messages?.showAll},this.messages?.showAll)],r=this.zoomTo&&[s("calcite-button",{key:"zoom-to-button",id:i,label:this.messages?.zoomTo,onClick:this.handleZoomTo(),iconStart:b.ZoomTo,appearance:"outline",round:!0}),s("calcite-tooltip",{"reference-element":i,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)];return[l,r]}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(this.activeLayerInfo?.legendElements?.filter(n=>n.type==="relationship-ramp")).length>0&&f.set("relationshipRampExpandStates",{...p.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=V(this.layer),n=S(e,this.legendElement);O(e,this.legendvm.view,n)}}handleShowAll(){return()=>{let e=()=>{let i=B(t,this.legendElement.title);k({intLegendLayerData:i,layerId:this.layer.id})},n=()=>{let i=q(t);k({intLegendLayerData:i,layerId:this.layer.id})},t=p.data?.[this.layer?.id];if(S(t,this.legendElement)){e();return}n(),this.showAllSelectedEvent.emit()}}get el(){return L(this)}};ce.style=oe;var P=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),de=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),pe=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function he(e,n){return n===null?P.get("HH")[e]:P.get(n)?.[e]??null}function ge(e,n){return n===null?e:de.get(n)?.[e]??e}function J(e,n){return n===null?J(e,"HH"):pe.get(n)?.[e]??null}var ue=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}",me=ue,fe=".sc-instant-apps-interactive-legend-relationship svg",Z=".sc-instant-apps-interactive-legend-relationship svg g:first-of-type",ve=".sc-instant-apps-interactive-legend-relationship svg g:last-of-type",y="esri-interactive-legend--selected-cell",j="esri-interactive-legend--instructional-text",G=2,W=3,ye=4,be=Object.freeze({0:"L",1:"H"}),xe=Object.freeze({0:"L",1:"M",2:"H"}),Le=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Ie={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},Ce=class{constructor(e){u(this,e),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){let e=p.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,n=this.relationshipRamp.querySelector(Z),t=Array.from(n.children);e&&t?.forEach(a=>{a.removeAttribute("stroke"),a.removeAttribute("stroke-width"),a.removeAttribute("stroke-opacity"),a.setAttribute("aria-pressed","false"),a.classList.remove(y)})}async componentWillLoad(){let e=await N();this.symbolUtils=e}render(){return s("div",{key:"f5cf665a22adaa3f9e5529937fd96d7334e51933",ref:e=>{if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
5
5
  rect:hover {
6
6
  cursor: pointer;
7
7
  opacity: 0.8;
@@ -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 d}from"./4KEBF4LC.js";import{D as a,I as o,c as l,d as e,g as n,o as t}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var r=l`/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as d}from"./PNYGXVOF.js";import{D as a,I as o,c as l,d as e,g as n,o as t}from"./VUE2KPGT.js";import"./OY2EULMD.js";var r=l`/** @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 G}from"./A3TE2CYP.js";import{b as K,f as P,m as _,n as U,o as L}from"./WIVHCBPP.js";import"./5UMSFFPF.js";import"./MKZNNMPC.js";import"./AQLKL2NA.js";import"./7YM72QZ3.js";import"./JNLPWAOW.js";import{a as j}from"./WIJOUEJP.js";import"./V5KXBFEN.js";import"./CAIDATL7.js";import"./5FNUZG6X.js";import{k as S}from"./RSHSVMPO.js";import"./TS32X4ID.js";import"./NZ6MHZKX.js";import"./4L3V2YYV.js";import{b}from"./TWKAESRO.js";import{a as c,b as p}from"./ATBQXDJR.js";import"./EUCKEPMP.js";function x(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,r)=>[...t,{entityKey:r,storeKey:r}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function g(e){let{token:t,authentication:r}=e;return r?r.getToken(r.portal):Promise.resolve(t)}async function v(e,t){let{url:r,method:a,data:n}=e,{mode:o,cache:i,credentials:d}=t,{headers:m,params:E}=le(e,t),s=`${ce(t.hubApiUrl)}${r}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:o};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:A,status:re}=y;if(y.ok)return y.json();let oe=await y.json();throw new I(A,s,re,JSON.stringify(oe.message))}function ce(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function le(e,t){let r=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&r.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:r,params:a}}var I=class extends Error{constructor(t,r,a,n){super(t),this.status=a,this.url=r,this.error=n}};var k;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(k||(k={}));var M;(function(e){e.asc="asc",e.desc="desc"})(M||(M={}));var H;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(H||(H={}));var B;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(B||(B={}));var V;(function(e){e.csv="csv",e.json="json"})(V||(V={}));var $;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})($||($={}));var Z;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(Z||(Z={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var F;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(F||(F={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var q;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(q||(q={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var W=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var J=(e,t,r)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},r),z=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),Q=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var X=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function Y(e){return e.token=await g(e),W(e.data,e)}async function ee(e){return e.token=await g(e),J(e.eventId,e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e)}function C(e){return[K(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function R(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function ne(e){var t;let r=P("event",C(e));return{self:r,siteRelative:r,siteRelativeEntityType:P("event"),workspaceRelative:G("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:R()}}function ae(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function ie(e){return e.token=await g(e),Q(e.data,e)}async function se(e){return e.token=await g(e),X(e.registrationId,e)}function N(){let e=b();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function O(){let{startDateTime:e,endDateTime:t}=b();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends _{storeToEntity(t,r){var a,n,o,i,d,m,E,D;let s=L(t,r,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((o=t.onlineMeeting)===null||o===void 0)&&o.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:A})=>({entityId:y,entityType:A})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.links=ne(t),s.slug=C(t),s.thumbnailUrl||(s.thumbnailUrl=R()),s.view={showMap:!!t.location},s.location=ae(t),s}entityToStore(t,r){let a=j(t),n=U(a,r,this.mappings),o=a.access;return o==="shared"?n.access=f.PRIVATE:n.access=o.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function w(e,t,r){let a=e.filter(({entityId:o})=>t.includes(o)),n=t.filter(o=>!a.find(({entityId:i})=>i===o));if(n.length){let{results:o}=await S({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:r.authentication}),i=o.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function nt(e,t){let r=Object.assign(Object.assign({},N()),e);r.endDate=r.startDate;let a=new h(x()),n=a.entityToStore(r,O()),o=await w(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:o,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await Y(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function at(e,t){var r,a;let n=Object.assign(Object.assign({},N()),e),o=new h(x()),i=o.entityToStore(n,O()),d=await w(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((r=i.description)===null||r===void 0?void 0:r.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await ee(Object.assign({eventId:i.id,data:m},t)),o.storeToEntity(i,{})}async function it(e,t){await te(Object.assign({eventId:e},t))}function st(e,t){return ie(Object.assign({data:e},t))}async function rt(e,t){await se(Object.assign({registrationId:e},t))}export{nt as createHubEvent,st as createHubEventRegistration,it as deleteHubEvent,rt as deleteHubEventRegistration,at as updateHubEvent};
3
+ v1.0.0-next.20250530 */
4
+ import{a as G}from"./JSUMCSCE.js";import{b as K,f as P,m as _,n as U,o as L}from"./T6ENDM5I.js";import"./JL5VELML.js";import"./YWR7J3GR.js";import"./UU5CNOQW.js";import"./MSC6SQKC.js";import"./UF7C45QH.js";import{a as j}from"./Q2NP2O3M.js";import"./7ICYEZEV.js";import"./H3YXFKQG.js";import"./XANWM4XJ.js";import{k as S}from"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./ZKKTR3BI.js";import"./X7YNYBQ7.js";import{b}from"./YDQ3OJQO.js";import{a as c,b as p}from"./O7VNTXYR.js";import"./OY2EULMD.js";function x(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,r)=>[...t,{entityKey:r,storeKey:r}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function g(e){let{token:t,authentication:r}=e;return r?r.getToken(r.portal):Promise.resolve(t)}async function v(e,t){let{url:r,method:a,data:n}=e,{mode:o,cache:i,credentials:d}=t,{headers:m,params:E}=le(e,t),s=`${ce(t.hubApiUrl)}${r}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:o};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:A,status:re}=y;if(y.ok)return y.json();let oe=await y.json();throw new I(A,s,re,JSON.stringify(oe.message))}function ce(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function le(e,t){let r=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&r.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:r,params:a}}var I=class extends Error{constructor(t,r,a,n){super(t),this.status=a,this.url=r,this.error=n}};var k;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(k||(k={}));var M;(function(e){e.asc="asc",e.desc="desc"})(M||(M={}));var H;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(H||(H={}));var B;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(B||(B={}));var V;(function(e){e.csv="csv",e.json="json"})(V||(V={}));var $;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})($||($={}));var Z;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(Z||(Z={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var F;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(F||(F={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var q;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(q||(q={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var W=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var J=(e,t,r)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},r),z=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),Q=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var X=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function Y(e){return e.token=await g(e),W(e.data,e)}async function ee(e){return e.token=await g(e),J(e.eventId,e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e)}function C(e){return[K(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function R(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function ne(e){var t;let r=P("event",C(e));return{self:r,siteRelative:r,siteRelativeEntityType:P("event"),workspaceRelative:G("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:R()}}function ae(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function ie(e){return e.token=await g(e),Q(e.data,e)}async function se(e){return e.token=await g(e),X(e.registrationId,e)}function N(){let e=b();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function O(){let{startDateTime:e,endDateTime:t}=b();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends _{storeToEntity(t,r){var a,n,o,i,d,m,E,D;let s=L(t,r,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((o=t.onlineMeeting)===null||o===void 0)&&o.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:A})=>({entityId:y,entityType:A})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.links=ne(t),s.slug=C(t),s.thumbnailUrl||(s.thumbnailUrl=R()),s.view={showMap:!!t.location},s.location=ae(t),s}entityToStore(t,r){let a=j(t),n=U(a,r,this.mappings),o=a.access;return o==="shared"?n.access=f.PRIVATE:n.access=o.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function w(e,t,r){let a=e.filter(({entityId:o})=>t.includes(o)),n=t.filter(o=>!a.find(({entityId:i})=>i===o));if(n.length){let{results:o}=await S({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:r.authentication}),i=o.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function nt(e,t){let r=Object.assign(Object.assign({},N()),e);r.endDate=r.startDate;let a=new h(x()),n=a.entityToStore(r,O()),o=await w(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:o,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await Y(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function at(e,t){var r,a;let n=Object.assign(Object.assign({},N()),e),o=new h(x()),i=o.entityToStore(n,O()),d=await w(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((r=i.description)===null||r===void 0?void 0:r.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await ee(Object.assign({eventId:i.id,data:m},t)),o.storeToEntity(i,{})}async function it(e,t){await te(Object.assign({eventId:e},t))}function st(e,t){return ie(Object.assign({data:e},t))}async function rt(e,t){await se(Object.assign({registrationId:e},t))}export{nt as createHubEvent,st as createHubEventRegistration,it as deleteHubEvent,rt as deleteHubEventRegistration,at as updateHubEvent};
@@ -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 r}from"./4KEBF4LC.js";import{D as n,I as o,c as i,d as t,q as s}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var a=i`@layer{/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as r}from"./PNYGXVOF.js";import{D as n,I as o,c as i,d as t,q as s}from"./VUE2KPGT.js";import"./OY2EULMD.js";var a=i`@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 d from"./NMOQUXR6.js";import{a as U,c as P}from"./BGG35RUD.js";import{b as T,n as x,o as b}from"./BFH5SRQZ.js";import"./5UMSFFPF.js";import"./WIJOUEJP.js";import"./RSHSVMPO.js";import"./TS32X4ID.js";import"./4L3V2YYV.js";import{j as w,k as y,l as a,m as c,n as I,o as u,p as A}from"./CLTGVNIT.js";import{a as v}from"./4KEBF4LC.js";import{C as h,D as C,G as S,I as f,c as m,d as n,e as p,o as _}from"./LVYTI5YO.js";import"./EUCKEPMP.js";export default $arcgis.t(([{a:O,b:d,c:E}])=>{var F=m`/** @license
3
+ v1.0.0-next.20250530 */
4
+ import d from"./JDBE77NZ.js";import{a as U,c as P}from"./LRUGHWTN.js";import{b as T,n as x,o as b}from"./U4AOWHPN.js";import"./JL5VELML.js";import"./Q2NP2O3M.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./X7YNYBQ7.js";import{j as w,k as y,l as a,m as c,n as I,o as u,p as A}from"./5Y5ORVLB.js";import{a as v}from"./PNYGXVOF.js";import{C as h,D as C,G as S,I as f,c as m,d as n,e as p,o as _}from"./VUE2KPGT.js";import"./OY2EULMD.js";export default $arcgis.t(([{a:O,b:d,c:E}])=>{var F=m`/** @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,b}from"./RZS7265A.js";import"./EUCKEPMP.js";export{a as UserEditorTypes,b as UserSchema};
3
+ v1.0.0-next.20250530 */
4
+ import{a,b}from"./W3LLXNL3.js";import"./OY2EULMD.js";export{a as UserEditorTypes,b as UserSchema};
@@ -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 */
4
+ import{a,b}from"./ZKOIDQFC.js";import"./YDQ3OJQO.js";import"./MJ7SNROO.js";import"./O7VNTXYR.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";export{a as EventEditorTypes,b as buildSchema};
@@ -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"./4KEBF4LC.js";import{D as o,I as r,c as s,d as t,q as i}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var a=s`@layer{/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as n}from"./PNYGXVOF.js";import{D as o,I as r,c as s,d as t,q as i}from"./VUE2KPGT.js";import"./OY2EULMD.js";var a=s`@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"./I6CL4W66.js";import{a as l}from"./CYMZ5TR6.js";import"./44KIKBNN.js";import"./LGXVU5RZ.js";import{a as i}from"./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 d=async(e,r,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isOpenData.helperText`},messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]},rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!i(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,r,t)=>Object.assign(Object.assign({},a("hubGroup",t)),r);export{f as buildDefaults,d as buildUiSchema};
3
+ v1.0.0-next.20250530 */
4
+ import{a}from"./73MN3UQT.js";import{a as l}from"./UTUTEFAQ.js";import"./PLZQ55P6.js";import"./AOWCHDDD.js";import{a as i}from"./X7YNYBQ7.js";import{a as s}from"./JHW7VZTV.js";import"./W3LLXNL3.js";import"./H6V2DNZK.js";import"./NKOVTFUU.js";import"./3CHLZWTV.js";import"./UMQ6LGJX.js";import"./RUZUM5JL.js";import"./G6J2G3OU.js";import"./6EHPMLHH.js";import"./5HIKUFVB.js";import"./2WTCHQJH.js";import"./ZKOIDQFC.js";import"./YDQ3OJQO.js";import"./MJ7SNROO.js";import"./O7VNTXYR.js";import"./5ZNOFKZT.js";import"./YUXVO62S.js";import"./UVD3URNY.js";import"./A7QSMG5S.js";import"./UPY2LA6F.js";import"./RM2TEOMI.js";import"./LZS774B3.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";var d=async(e,r,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isOpenData.helperText`},messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]},rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!i(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,r,t)=>Object.assign(Object.assign({},a("hubGroup",t)),r);export{f as buildDefaults,d 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 n,b as m}from"./Q5577CJV.js";import{b as l}from"./2M3XDJVT.js";import{D as p,I as o,c as t,d as r}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var h=t`/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as n,b as m}from"./IWEV46QA.js";import{b as l}from"./BJMWCYCG.js";import{D as p,I as o,c as t,d as r}from"./VUE2KPGT.js";import"./OY2EULMD.js";var h=t`/** @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 i}from"./LGXVU5RZ.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
3
+ v1.0.0-next.20250530 */
4
+ import{a as i}from"./AOWCHDDD.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250529.1 */
4
- import{a as r,b as d,e as g,g as f,j as y,k as _,o as b,p as x,r as I,s as C,v}from"./FBJW6XEX.js";import"./KHZT65GM.js";import"./EZZ43ZR6.js";import{C as u}from"./INGNQIJ3.js";import{a as h,c as n,e as m,f as L,h as w}from"./DE4JUMCH.js";import"./EUCKEPMP.js";var k=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact.sc-instant-apps-interactive-legend-count .instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-size:0.75rem}.sc-instant-apps-interactive-legend-count-h:dir(rtl){margin-left:0;margin-right:auto}",E=k,p={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},A=class{constructor(e){h(this,e),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId="",this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0});let t=await u();this.intl=t}render(){let e=d.get("compact")?p.compact:"";return n("div",{key:"int-legend-count",class:e},this.showTotal?n("span",{class:p.totalFeatureCount},this.messages?.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:`${p.countText} ${v(this.el)}${this.selected?p.countTextSelected:""}`},this.getCount()))}getCount(){let{categoryId:e}=this,t=this.activeLayerInfo.layer.id,i=r.data[t]?.categories?.size;if((!r.data||!t||!e)&&!i)return"";let s=r.data[t];if(!s)return;let{categories:l}=s,a=l.get(e),c;return a?.nestedInfos?c=I(a,this.infoIndex):c=a,Number.isNaN(c.count)?"":this.intl.formatNumber(c.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!r.data||!e)return"";let t=r.data[e];if(!t)return;let{categories:i}=t,s=g(i),l=C(i),a;if(l)a=x(s);else if(y(this.activeLayerInfo)){let c=f(this.activeLayerInfo.layer);a=g(c.categories)[1].count}else a=b(s);return this.intl.formatNumber(a)}get el(){return m(this)}};A.style=E;var S=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:500;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header--compact.sc-instant-apps-interactive-legend-layer-element-caption .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{font-size:0.9rem}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",z=S,o={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},T=class{constructor(e){h(this,e),this.layerCaptionElementExpandUpdatedEvent=L(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let e=_(this.activeLayerInfo),{expanded:t}=this,i=t?this.messages?.collapse:this.messages?.expand,s=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",l=d.get("compact")?` ${o.compact}`:"";return n("header",{key:"bfb5c7b5059bcefcd898b46a4e2bb1f5397a2d6f",class:`${o.interacitveLegendHeader} ${v(this.el)}${l}`},n("calcite-action",{key:"24eee4c2208df0dfa8fb209729c67ec1f34d843e",onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:i??"",label:i,scale:"s"}),n("span",{key:"95977b78f4afe0206085567b061c8cb5d9f8dc5d"},n("span",{key:"258004a4847688b94edf6d8416eef9cb07accfe5",class:o.headerActionContainer},n("h3",{key:"980f06c2054a8be5c471b5b44c667b4be1a451f9",class:`${o.header} ${o.label}${s}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&e?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return m(this)}};T.style=z;export{A as instant_apps_interactive_legend_count,T as instant_apps_interactive_legend_layer_element_caption};
3
+ v1.0.0-next.20250530 */
4
+ import{a as r,b as d,e as g,g as f,j as y,k as _,o as b,p as x,r as I,s as C,v}from"./GHOZRGNX.js";import"./USLNR5GM.js";import"./RUXEHYBS.js";import{C as u}from"./SFZSSATF.js";import{a as h,c as n,e as m,f as L,h as w}from"./WJF7O2KL.js";import"./OY2EULMD.js";var k=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact.sc-instant-apps-interactive-legend-count .instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-size:0.75rem}.sc-instant-apps-interactive-legend-count-h:dir(rtl){margin-left:0;margin-right:auto}",E=k,p={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},A=class{constructor(e){h(this,e),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId="",this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0});let t=await u();this.intl=t}render(){let e=d.get("compact")?p.compact:"";return n("div",{key:"int-legend-count",class:e},this.showTotal?n("span",{class:p.totalFeatureCount},this.messages?.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:`${p.countText} ${v(this.el)}${this.selected?p.countTextSelected:""}`},this.getCount()))}getCount(){let{categoryId:e}=this,t=this.activeLayerInfo.layer.id,i=r.data[t]?.categories?.size;if((!r.data||!t||!e)&&!i)return"";let s=r.data[t];if(!s)return;let{categories:l}=s,a=l.get(e),c;return a?.nestedInfos?c=I(a,this.infoIndex):c=a,Number.isNaN(c.count)?"":this.intl.formatNumber(c.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!r.data||!e)return"";let t=r.data[e];if(!t)return;let{categories:i}=t,s=g(i),l=C(i),a;if(l)a=x(s);else if(y(this.activeLayerInfo)){let c=f(this.activeLayerInfo.layer);a=g(c.categories)[1].count}else a=b(s);return this.intl.formatNumber(a)}get el(){return m(this)}};A.style=E;var S=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:500;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header--compact.sc-instant-apps-interactive-legend-layer-element-caption .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{font-size:0.9rem}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",z=S,o={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},T=class{constructor(e){h(this,e),this.layerCaptionElementExpandUpdatedEvent=L(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let e=_(this.activeLayerInfo),{expanded:t}=this,i=t?this.messages?.collapse:this.messages?.expand,s=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",l=d.get("compact")?` ${o.compact}`:"";return n("header",{key:"bfb5c7b5059bcefcd898b46a4e2bb1f5397a2d6f",class:`${o.interacitveLegendHeader} ${v(this.el)}${l}`},n("calcite-action",{key:"24eee4c2208df0dfa8fb209729c67ec1f34d843e",onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:i??"",label:i,scale:"s"}),n("span",{key:"95977b78f4afe0206085567b061c8cb5d9f8dc5d"},n("span",{key:"258004a4847688b94edf6d8416eef9cb07accfe5",class:o.headerActionContainer},n("h3",{key:"980f06c2054a8be5c471b5b44c667b4be1a451f9",class:`${o.header} ${o.label}${s}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&e?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return m(this)}};T.style=z;export{A as instant_apps_interactive_legend_count,T as instant_apps_interactive_legend_layer_element_caption};
@@ -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 s}from"./XIXMB2G5.js";import"./7YM72QZ3.js";import"./JNLPWAOW.js";import"./WIJOUEJP.js";import"./V5KXBFEN.js";import{a as r,b as a}from"./WJHLFCHB.js";import"./CAIDATL7.js";import"./5FNUZG6X.js";import{a as o}from"./JAHBNPDG.js";import{a as i}from"./3DGCRE6C.js";import"./RSHSVMPO.js";import"./TS32X4ID.js";import"./NZ6MHZKX.js";import"./4L3V2YYV.js";import"./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 u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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:"shared.fields.title.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:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
3
+ v1.0.0-next.20250530 */
4
+ import{a as s}from"./HBZ4X7UP.js";import"./MSC6SQKC.js";import"./UF7C45QH.js";import"./Q2NP2O3M.js";import"./7ICYEZEV.js";import{a as r,b as a}from"./GNLCPEV7.js";import"./H3YXFKQG.js";import"./XANWM4XJ.js";import{a as o}from"./WVOYVMPB.js";import{a as i}from"./C5O32W6W.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./ZKKTR3BI.js";import"./X7YNYBQ7.js";import"./JHW7VZTV.js";import"./W3LLXNL3.js";import"./H6V2DNZK.js";import"./NKOVTFUU.js";import"./3CHLZWTV.js";import"./UMQ6LGJX.js";import"./RUZUM5JL.js";import"./G6J2G3OU.js";import"./6EHPMLHH.js";import"./5HIKUFVB.js";import"./2WTCHQJH.js";import"./ZKOIDQFC.js";import"./YDQ3OJQO.js";import"./MJ7SNROO.js";import"./O7VNTXYR.js";import"./5ZNOFKZT.js";import"./YUXVO62S.js";import"./UVD3URNY.js";import"./A7QSMG5S.js";import"./UPY2LA6F.js";import"./RM2TEOMI.js";import"./LZS774B3.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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:"shared.fields.title.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:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250529.1 */
3
+ v1.0.0-next.20250530 */
4
4
  function s(n,r){return Object.keys(n).reduce(function(i,t){return i[t]=r(n[t],t,n),i},{})}function o(n,r,e){if(e=e||"",Array.isArray(n))return n.map(u);return n&&c(n)&&!a(n)&&!x(n)&&!p(n)?Object.assign({},n,s(n,u)):r(n,e);function u(i,t){let f=""+(e?e+"."+t:t);return o(i,r,f)}}function a(n){return n instanceof Date}function p(n){return typeof n=="function"}function c(n){return typeof n=="object"}function x(n){return n instanceof RegExp}export{o as a,c as b};
@@ -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"./4KEBF4LC.js";import{D as o,I as r,c as s,d as t,q as i}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var a=s`@layer{/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as n}from"./PNYGXVOF.js";import{D as o,I as r,c as s,d as t,q as i}from"./VUE2KPGT.js";import"./OY2EULMD.js";var a=s`@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 D,b as w}from"./5ZJ5HMBU.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./BQW56YYM.js";import"./EZZ43ZR6.js";import{a as _,b as L}from"./JUFXEC5B.js";import{C as S,D as y}from"./INGNQIJ3.js";import"./OVZZDA7E.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./DE4JUMCH.js";import"./EUCKEPMP.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",i={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(l=>l.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:i.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:i.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:i.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:i.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:i.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:i.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:i.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:i.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:i.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(l=>{let o=c.includes(l)?"partial":"full",p=_[o],{language:u,translated:h}=p[l],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${l}`,value:l},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],l=n===e-1?i.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:l,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:i.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:i.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:i.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),l=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(l),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let l=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(l,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
3
+ v1.0.0-next.20250530 */
4
+ import{a as D,b as w}from"./624IUPMH.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./NOSOENXA.js";import"./RUXEHYBS.js";import{a as _,b as L}from"./VQNKIJYJ.js";import{C as S,D as y}from"./SFZSSATF.js";import"./VI4S4LJS.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./WJF7O2KL.js";import"./OY2EULMD.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",i={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(l=>l.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:i.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:i.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:i.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:i.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:i.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:i.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:i.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:i.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:i.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(l=>{let o=c.includes(l)?"partial":"full",p=_[o],{language:u,translated:h}=p[l],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${l}`,value:l},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],l=n===e-1?i.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:l,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:i.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:i.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:i.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),l=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(l),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let l=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(l,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
@@ -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{i as t}from"./DE4JUMCH.js";var n=()=>{};var r=async(e,a)=>{if(!(typeof window>"u"))return await n(),t(JSON.parse('[["instant-apps-interactive-legend",[[2,"instant-apps-interactive-legend",{"view":[16],"zoomTo":[4,"zoom-to"],"featureCount":[1028,"feature-count"],"filterMode":[16],"compact":[4],"handles":[32],"reactiveUtils":[32],"legendvm":[32],"widget":[32],"messages":[32]},null,{"handles":["init"],"reactiveUtils":["init"],"view":["init"],"compact":["compactHandler"]}]]],["instant-apps-language-switcher",[[1,"instant-apps-language-switcher",{"icon":[1],"portalItem":[16],"view":[16],"locales":[16],"defaultLocale":[1,"default-locale"],"selectedLanguage":[1,"selected-language"],"calciteDropdownOverlayPositioning":[1,"calcite-dropdown-overlay-positioning"],"messages":[32],"t9nData":[32],"refresh":[64]}]]],["instant-apps-export",[[1,"instant-apps-export",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"extraContent":[16],"extraContentLabel":[1,"extra-content-label"],"headerTitle":[1025,"header-title"],"logoImage":[1025,"logo-image"],"includeExtraContent":[1028,"include-extra-content"],"showExtraContentInImg":[4,"show-extra-content-in-img"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeFileFormat":[1028,"include-file-format"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showHeaderTitle":[4,"show-header-title"],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showScaleBar":[4,"show-scale-bar"],"view":[16],"maskBackground":[1,"mask-background"],"maskBorder":[1,"mask-border"],"defaultFileType":[1,"default-file-type"],"baseClass":[32],"exportIsLoading":[32],"messages":[32],"selectedFileType":[32]},null,{"includeMap":["watchIncludeMap"],"view":["watchView"]}]]],["instant-apps-interactive-legend-group-legend-element-caption",[[2,"instant-apps-interactive-legend-group-legend-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[16],"isChild":[4,"is-child"],"expanded":[1028]}]]],["instant-apps-landing-page",[[1,"instant-apps-landing-page",{"titleText":[1,"title-text"],"subtitleText":[1,"subtitle-text"],"descriptionText":[1,"description-text"],"entryButtonText":[1,"entry-button-text"],"iconImage":[1,"icon-image"],"iconImageScale":[1,"icon-image-scale"],"iconImageAltText":[1,"icon-image-alt-text"],"alignment":[1],"disableTransition":[4,"disable-transition"],"backgroundImageSrc":[1,"background-image-src"],"open":[1028],"entryButtonScale":[1,"entry-button-scale"],"fontFamily":[513,"font-family"],"enableSignIn":[4,"enable-sign-in"],"portal":[16],"oauthappid":[1]},null,{"open":["emitToggleEvent"]}]]],["instant-apps-measurement",[[2,"instant-apps-measurement",{"view":[16],"areaUnit":[1,"area-unit"],"linearUnit":[1,"linear-unit"],"coordinateFormat":[1,"coordinate-format"],"activeToolType":[1,"active-tool-type"],"closable":[4],"messages":[32]}]]],["instant-apps-app-guide",[[1,"instant-apps-app-guide",{"header":[4],"data":[16],"messages":[32],"headerText":[32]},null,{"data":["watchPropHandler"],"headerText":["watchStateHandler"]}]]],["instant-apps-control-panel",[[1,"instant-apps-control-panel",{"components":[16],"view":[16]}]]],["instant-apps-create",[[1,"instant-apps-create",{"popoverIcon":[1,"popover-icon"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"showHeader":[4,"show-header"],"content":[16],"options":[16],"portal":[16],"baseClass":[32],"messages":[32],"CreateOptionsLookup":[32]},null,{"content":["contentChanged"]}]]],["instant-apps-export-views",[[1,"instant-apps-export-views",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeHeader":[1028,"include-header"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showIncludeHeader":[4,"show-include-header"],"showScaleBar":[4,"show-scale-bar"],"exportViews":[16],"baseClass":[32],"exportIsLoading":[32],"messages":[32]},null,{"includeMap":["watchIncludeMap"],"exportViews":["watchView"]}]]],["instant-apps-filter-list",[[1,"instant-apps-filter-list",{"layerExpressions":[1040],"autoUpdateUrl":[4,"auto-update-url"],"closeBtn":[4,"close-btn"],"closeBtnOnClick":[16],"comboboxOverlayPositioning":[1,"combobox-overlay-positioning"],"closeBtnText":[1,"close-btn-text"],"openFilters":[4,"open-filters"],"extentSelector":[4,"extent-selector"],"extentSelectorConfig":[16],"urlParams":[1040],"filterCount":[1026,"filter-count"],"view":[16],"zoomBtn":[4,"zoom-btn"],"resetBtn":[4,"reset-btn"],"resetFiltersOnDisconnect":[4,"reset-filters-on-disconnect"],"loading":[32],"filterLayerExpressions":[32],"messages":[32],"baseClass":[32],"initDefExpressions":[32],"initMapImageExpressions":[32],"initPointCloudFilters":[32],"getFilterInitState":[64],"forceReset":[64],"updateInitDefExpressions":[64],"getCurrentLayerExpressions":[64],"handleUpdatingT9nData":[64]},null,{"view":["watchViewHandler"],"layerExpressions":["watchLayerExpressions"]}]]],["instant-apps-keyboard-shortcuts",[[1,"instant-apps-keyboard-shortcuts",{"view":[16],"messages":[32]}]]],["instant-apps-popover",[[0,"instant-apps-popover",{"popoverTitle":[513,"popover-title"],"subtitle":[513],"content":[513],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"],"mediaSrc":[513,"media-src"],"index":[514],"referenceElement":[513,"reference-element"],"parent":[16],"placement":[1],"refId":[1,"ref-id"],"pagination":[516],"disableAction":[516,"disable-action"],"popoverAction":[16],"messageOverrides":[16],"messages":[32]}]]],["instant-apps-popovers",[[4,"instant-apps-popovers",{"inTour":[1540,"in-tour"],"currentId":[1537,"current-id"],"instantAppsPopovers":[16],"beforeOpen":[16],"open":[64],"close":[64],"beginTour":[64],"endTour":[64]}]]],["instant-apps-scoreboard",[[1,"instant-apps-scoreboard",{"view":[16],"items":[16],"position":[1],"mode":[1],"itemLimit":[2,"item-limit"],"autoDockEnabled":[4,"auto-dock-enabled"],"geometry":[1040],"queryType":[1,"query-type"],"state":[32],"messages":[32],"itemIndex":[32],"layers":[32],"layerViews":[32],"isMobile":[32]},null,{"items":["generateUIDs","storeLayers"],"layers":["storeLayerViews"],"geometry":["calculateScoreboardItemValuesFromGeometry"],"layerViews":["calculateScoreboardItemValues"]}]]],["instant-apps-social-share",[[1,"instant-apps-social-share",{"mode":[513],"shareUrl":[1025,"share-url"],"autoUpdateShareUrl":[1028,"auto-update-share-url"],"shareText":[513,"share-text"],"embed":[516],"shareButtonColor":[513,"share-button-color"],"shareButtonType":[513,"share-button-type"],"shareButtonScale":[513,"share-button-scale"],"iframeInnerText":[513,"iframe-inner-text"],"popoverButtonIconScale":[513,"popover-button-icon-scale"],"view":[16],"displayTipText":[516,"display-tip-text"],"shortenShareUrl":[516,"shorten-share-url"],"socialMedia":[516,"social-media"],"shareIconsLayout":[513,"share-icons-layout"],"scale":[513],"successMessage":[513,"success-message"],"flipRtl":[516,"flip-rtl"],"defaultUrlParams":[16],"inlineSuccessPopoverPlacement":[513,"inline-success-popover-placement"],"popoverPositioning":[513,"popover-positioning"],"removePopoverOffset":[516,"remove-popover-offset"],"useNativeShare":[516,"use-native-share"],"isNativeShareEnabled":[1540,"is-native-share-enabled"],"messages":[32],"opened":[32],"copied":[32],"inlineCopyLinkOpened":[32],"inlineCopyEmbedOpened":[32],"embedWidth":[32],"embedHeight":[32]}]]],["instant-apps-splash",[[1,"instant-apps-splash",{"localStorageKey":[1,"local-storage-key"],"titleText":[1,"title-text"],"content":[1025],"primaryButtonText":[1,"primary-button-text"],"open":[1028],"closeButtonDisabled":[4,"close-button-disabled"],"outsideCloseDisabled":[4,"outside-close-disabled"],"secondaryButton":[4,"secondary-button"],"secondaryButtonText":[1,"secondary-button-text"],"secondaryButtonIcon":[1,"secondary-button-icon"],"secondaryButtonCallback":[16],"messages":[32]},null,{"content":["sanitizeContent"]}]]],["instant-apps-time-filter",[[0,"instant-apps-time-filter",{"messages":[16],"timeInfoConfigItems":[16],"filterMode":[16],"view":[16],"timeSliderConfig":[16],"autoPlay":[4,"auto-play"],"timeSliderRef":[32]},null,{"timeInfoConfigItems":["updateTimeInfoConfigItems"],"filterMode":["updateFilterMode"],"timeSliderConfig":["updateTimeSliderConfig"],"autoPlay":["updateAutoPlay"]}]]],["instant-apps-interactive-legend-classic",[[2,"instant-apps-interactive-legend-classic",{"legendvm":[16],"zoomTo":[4,"zoom-to"],"featureCount":[4,"feature-count"],"filterMode":[16],"messages":[16],"isLoading":[32]},null,{"filterMode":["handleFilterModeChange"]}]]],["instant-apps-language-translator",[[6,"instant-apps-language-translator",{"portalItem":[16],"appSettings":[16],"locales":[16],"open":[1028],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16],"saving":[32],"messages":[32],"isCollapse":[32],"getTranslationData":[64],"setTranslationData":[64],"getPortalItemResource":[64],"batchWriteToPortalItemResource":[64]},[[8,"translatorItemDataUpdated","handleT9nItemUpdate"]],{"locales":["handleLocaleChange"],"appSettings":["handleAppSettings"]}]]],["instant-apps-header",[[1,"instant-apps-header",{"titleText":[1,"title-text"],"titleTextLink":[1,"title-text-link"],"backgroundColor":[1,"background-color"],"textColor":[1,"text-color"],"logoImage":[1,"logo-image"],"logoScale":[1537,"logo-scale"],"logoImageAltText":[1,"logo-image-alt-text"],"logoLink":[1,"logo-link"],"infoButton":[1540,"info-button"],"infoIsOpen":[516,"info-is-open"],"infoTitleText":[1,"info-title-text"],"customHeaderHtml":[1025,"custom-header-html"],"headerAlignment":[1025,"header-alignment"],"customHeaderCss":[1025,"custom-header-css"],"fontFamily":[513,"font-family"],"mobileWidthBreakpoint":[2,"mobile-width-breakpoint"],"dir":[32],"initialScale":[32],"toggleInfo":[64]},null,{"customHeaderHtml":["sanitizeCustomHeaderHtml"]}]]],["instant-apps-measurement-tool",[[2,"instant-apps-measurement-tool",{"view":[16],"measureConfiguration":[16],"activeTool":[1,"active-tool"]},null,{"activeTool":["_updateToolType"]}]]],["instant-apps-sign-in",[[1,"instant-apps-sign-in",{"type":[1],"portal":[16],"oauthappid":[1],"openInPopup":[4,"open-in-popup"],"landingPage":[4,"landing-page"],"showIndicator":[4,"show-indicator"],"closeLandingPage":[16],"signInDropdownItems":[16],"ready":[32],"isSignedIn":[32],"user":[32],"messages":[32]},null,{"portal":["watchPortal"],"oauthappid":["watchOauthappid"]}]]],["instant-apps-ckeditor-wrapper_3",[[2,"instant-apps-language-translator-item",{"fieldName":[1,"field-name"],"translatedLanguageLabels":[16],"setting":[16],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16]}],[2,"instant-apps-language-translator-search",{"t9nPlaceholder":[1,"t-9n-placeholder"],"results":[32]}],[0,"instant-apps-ckeditor-wrapper",{"value":[1025],"editorInstance":[1040],"config":[16]},null,{"value":["updateValue"]}]]],["instant-apps-interactive-legend-count_2",[[2,"instant-apps-interactive-legend-layer-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[16],"isChild":[4,"is-child"],"expanded":[1028]}],[2,"instant-apps-interactive-legend-count",{"showTotal":[4,"show-total"],"legendvm":[16],"activeLayerInfo":[16],"categoryId":[1,"category-id"],"infoIndex":[2,"info-index"],"messages":[16],"selected":[4],"legendElement":[16]}]]],["instant-apps-interactive-legend-group-legend-element_5",[[6,"instant-apps-interactive-legend-group-legend-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[16],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-layer-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[16],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-legend-element",{"activeLayerInfo":[16],"isSizeRamp":[4,"is-size-ramp"],"isChild":[4,"is-child"],"isColorRamp":[4,"is-color-ramp"],"isRelationshipRamp":[4,"is-relationship-ramp"],"isInteractive":[4,"is-interactive"],"zoomTo":[4,"zoom-to"],"legendElement":[16],"titleText":[1,"title-text"],"legendvm":[16],"legendElementIndex":[2,"legend-element-index"],"messages":[16],"expanded":[32]},[[8,"legendLayerExpandUpdated","legendLayerExpandUpdatedEmitted"]]],[2,"instant-apps-interactive-legend-relationship",{"filterMode":[16],"activeLayerInfo":[16],"legendElement":[16],"messages":[16]},[[8,"showAllSelected","showAllSelectedEmitted"]]],[2,"instant-apps-interactive-legend-legend-element-caption",{"legendvm":[16],"activeLayerInfo":[16],"layer":[16],"titleText":[1,"title-text"],"legendElementIndex":[2,"legend-element-index"],"zoomTo":[4,"zoom-to"],"isInteractive":[4,"is-interactive"],"legendElement":[16],"expanded":[1028],"messages":[16]}]]]]'),a)};(function(){if(typeof window<"u"&&window.Reflect!==void 0&&window.customElements!==void 0){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}})();export{r as a};
3
+ v1.0.0-next.20250530 */
4
+ import{i as t}from"./WJF7O2KL.js";var n=()=>{};var r=async(e,a)=>{if(!(typeof window>"u"))return await n(),t(JSON.parse('[["instant-apps-interactive-legend",[[2,"instant-apps-interactive-legend",{"view":[16],"zoomTo":[4,"zoom-to"],"featureCount":[1028,"feature-count"],"filterMode":[16],"compact":[4],"handles":[32],"reactiveUtils":[32],"legendvm":[32],"widget":[32],"messages":[32]},null,{"handles":["init"],"reactiveUtils":["init"],"view":["init"],"compact":["compactHandler"]}]]],["instant-apps-language-switcher",[[1,"instant-apps-language-switcher",{"icon":[1],"portalItem":[16],"view":[16],"locales":[16],"defaultLocale":[1,"default-locale"],"selectedLanguage":[1,"selected-language"],"calciteDropdownOverlayPositioning":[1,"calcite-dropdown-overlay-positioning"],"messages":[32],"t9nData":[32],"refresh":[64]}]]],["instant-apps-export",[[1,"instant-apps-export",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"extraContent":[16],"extraContentLabel":[1,"extra-content-label"],"headerTitle":[1025,"header-title"],"logoImage":[1025,"logo-image"],"includeExtraContent":[1028,"include-extra-content"],"showExtraContentInImg":[4,"show-extra-content-in-img"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeFileFormat":[1028,"include-file-format"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showHeaderTitle":[4,"show-header-title"],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showScaleBar":[4,"show-scale-bar"],"view":[16],"maskBackground":[1,"mask-background"],"maskBorder":[1,"mask-border"],"defaultFileType":[1,"default-file-type"],"baseClass":[32],"exportIsLoading":[32],"messages":[32],"selectedFileType":[32]},null,{"includeMap":["watchIncludeMap"],"view":["watchView"]}]]],["instant-apps-interactive-legend-group-legend-element-caption",[[2,"instant-apps-interactive-legend-group-legend-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[16],"isChild":[4,"is-child"],"expanded":[1028]}]]],["instant-apps-landing-page",[[1,"instant-apps-landing-page",{"titleText":[1,"title-text"],"subtitleText":[1,"subtitle-text"],"descriptionText":[1,"description-text"],"entryButtonText":[1,"entry-button-text"],"iconImage":[1,"icon-image"],"iconImageScale":[1,"icon-image-scale"],"iconImageAltText":[1,"icon-image-alt-text"],"alignment":[1],"disableTransition":[4,"disable-transition"],"backgroundImageSrc":[1,"background-image-src"],"open":[1028],"entryButtonScale":[1,"entry-button-scale"],"fontFamily":[513,"font-family"],"enableSignIn":[4,"enable-sign-in"],"portal":[16],"oauthappid":[1]},null,{"open":["emitToggleEvent"]}]]],["instant-apps-measurement",[[2,"instant-apps-measurement",{"view":[16],"areaUnit":[1,"area-unit"],"linearUnit":[1,"linear-unit"],"coordinateFormat":[1,"coordinate-format"],"activeToolType":[1,"active-tool-type"],"closable":[4],"messages":[32]}]]],["instant-apps-app-guide",[[1,"instant-apps-app-guide",{"header":[4],"data":[16],"messages":[32],"headerText":[32]},null,{"data":["watchPropHandler"],"headerText":["watchStateHandler"]}]]],["instant-apps-control-panel",[[1,"instant-apps-control-panel",{"components":[16],"view":[16]}]]],["instant-apps-create",[[1,"instant-apps-create",{"popoverIcon":[1,"popover-icon"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"showHeader":[4,"show-header"],"content":[16],"options":[16],"portal":[16],"baseClass":[32],"messages":[32],"CreateOptionsLookup":[32]},null,{"content":["contentChanged"]}]]],["instant-apps-export-views",[[1,"instant-apps-export-views",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeHeader":[1028,"include-header"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showIncludeHeader":[4,"show-include-header"],"showScaleBar":[4,"show-scale-bar"],"exportViews":[16],"baseClass":[32],"exportIsLoading":[32],"messages":[32]},null,{"includeMap":["watchIncludeMap"],"exportViews":["watchView"]}]]],["instant-apps-filter-list",[[1,"instant-apps-filter-list",{"layerExpressions":[1040],"autoUpdateUrl":[4,"auto-update-url"],"closeBtn":[4,"close-btn"],"closeBtnOnClick":[16],"comboboxOverlayPositioning":[1,"combobox-overlay-positioning"],"closeBtnText":[1,"close-btn-text"],"openFilters":[4,"open-filters"],"extentSelector":[4,"extent-selector"],"extentSelectorConfig":[16],"urlParams":[1040],"filterCount":[1026,"filter-count"],"view":[16],"zoomBtn":[4,"zoom-btn"],"resetBtn":[4,"reset-btn"],"resetFiltersOnDisconnect":[4,"reset-filters-on-disconnect"],"loading":[32],"filterLayerExpressions":[32],"messages":[32],"baseClass":[32],"initDefExpressions":[32],"initMapImageExpressions":[32],"initPointCloudFilters":[32],"getFilterInitState":[64],"forceReset":[64],"updateInitDefExpressions":[64],"getCurrentLayerExpressions":[64],"handleUpdatingT9nData":[64]},null,{"view":["watchViewHandler"],"layerExpressions":["watchLayerExpressions"]}]]],["instant-apps-keyboard-shortcuts",[[1,"instant-apps-keyboard-shortcuts",{"view":[16],"messages":[32]}]]],["instant-apps-popover",[[0,"instant-apps-popover",{"popoverTitle":[513,"popover-title"],"subtitle":[513],"content":[513],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"],"mediaSrc":[513,"media-src"],"index":[514],"referenceElement":[513,"reference-element"],"parent":[16],"placement":[1],"refId":[1,"ref-id"],"pagination":[516],"disableAction":[516,"disable-action"],"popoverAction":[16],"messageOverrides":[16],"messages":[32]}]]],["instant-apps-popovers",[[4,"instant-apps-popovers",{"inTour":[1540,"in-tour"],"currentId":[1537,"current-id"],"instantAppsPopovers":[16],"beforeOpen":[16],"open":[64],"close":[64],"beginTour":[64],"endTour":[64]}]]],["instant-apps-scoreboard",[[1,"instant-apps-scoreboard",{"view":[16],"items":[16],"position":[1],"mode":[1],"itemLimit":[2,"item-limit"],"autoDockEnabled":[4,"auto-dock-enabled"],"geometry":[1040],"queryType":[1,"query-type"],"state":[32],"messages":[32],"itemIndex":[32],"layers":[32],"layerViews":[32],"isMobile":[32]},null,{"items":["generateUIDs","storeLayers"],"layers":["storeLayerViews"],"geometry":["calculateScoreboardItemValuesFromGeometry"],"layerViews":["calculateScoreboardItemValues"]}]]],["instant-apps-social-share",[[1,"instant-apps-social-share",{"mode":[513],"shareUrl":[1025,"share-url"],"autoUpdateShareUrl":[1028,"auto-update-share-url"],"shareText":[513,"share-text"],"embed":[516],"shareButtonColor":[513,"share-button-color"],"shareButtonType":[513,"share-button-type"],"shareButtonScale":[513,"share-button-scale"],"iframeInnerText":[513,"iframe-inner-text"],"popoverButtonIconScale":[513,"popover-button-icon-scale"],"view":[16],"displayTipText":[516,"display-tip-text"],"shortenShareUrl":[516,"shorten-share-url"],"socialMedia":[516,"social-media"],"shareIconsLayout":[513,"share-icons-layout"],"scale":[513],"successMessage":[513,"success-message"],"flipRtl":[516,"flip-rtl"],"defaultUrlParams":[16],"inlineSuccessPopoverPlacement":[513,"inline-success-popover-placement"],"popoverPositioning":[513,"popover-positioning"],"removePopoverOffset":[516,"remove-popover-offset"],"useNativeShare":[516,"use-native-share"],"isNativeShareEnabled":[1540,"is-native-share-enabled"],"messages":[32],"opened":[32],"copied":[32],"inlineCopyLinkOpened":[32],"inlineCopyEmbedOpened":[32],"embedWidth":[32],"embedHeight":[32]}]]],["instant-apps-splash",[[1,"instant-apps-splash",{"localStorageKey":[1,"local-storage-key"],"titleText":[1,"title-text"],"content":[1025],"primaryButtonText":[1,"primary-button-text"],"open":[1028],"closeButtonDisabled":[4,"close-button-disabled"],"outsideCloseDisabled":[4,"outside-close-disabled"],"secondaryButton":[4,"secondary-button"],"secondaryButtonText":[1,"secondary-button-text"],"secondaryButtonIcon":[1,"secondary-button-icon"],"secondaryButtonCallback":[16],"messages":[32]},null,{"content":["sanitizeContent"]}]]],["instant-apps-time-filter",[[0,"instant-apps-time-filter",{"messages":[16],"timeInfoConfigItems":[16],"filterMode":[16],"view":[16],"timeSliderConfig":[16],"autoPlay":[4,"auto-play"],"timeSliderRef":[32]},null,{"timeInfoConfigItems":["updateTimeInfoConfigItems"],"filterMode":["updateFilterMode"],"timeSliderConfig":["updateTimeSliderConfig"],"autoPlay":["updateAutoPlay"]}]]],["instant-apps-interactive-legend-classic",[[2,"instant-apps-interactive-legend-classic",{"legendvm":[16],"zoomTo":[4,"zoom-to"],"featureCount":[4,"feature-count"],"filterMode":[16],"messages":[16],"isLoading":[32]},null,{"filterMode":["handleFilterModeChange"]}]]],["instant-apps-language-translator",[[6,"instant-apps-language-translator",{"portalItem":[16],"appSettings":[16],"locales":[16],"open":[1028],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16],"saving":[32],"messages":[32],"isCollapse":[32],"getTranslationData":[64],"setTranslationData":[64],"getPortalItemResource":[64],"batchWriteToPortalItemResource":[64]},[[8,"translatorItemDataUpdated","handleT9nItemUpdate"]],{"locales":["handleLocaleChange"],"appSettings":["handleAppSettings"]}]]],["instant-apps-header",[[1,"instant-apps-header",{"titleText":[1,"title-text"],"titleTextLink":[1,"title-text-link"],"backgroundColor":[1,"background-color"],"textColor":[1,"text-color"],"logoImage":[1,"logo-image"],"logoScale":[1537,"logo-scale"],"logoImageAltText":[1,"logo-image-alt-text"],"logoLink":[1,"logo-link"],"infoButton":[1540,"info-button"],"infoIsOpen":[516,"info-is-open"],"infoTitleText":[1,"info-title-text"],"customHeaderHtml":[1025,"custom-header-html"],"headerAlignment":[1025,"header-alignment"],"customHeaderCss":[1025,"custom-header-css"],"fontFamily":[513,"font-family"],"mobileWidthBreakpoint":[2,"mobile-width-breakpoint"],"dir":[32],"initialScale":[32],"toggleInfo":[64]},null,{"customHeaderHtml":["sanitizeCustomHeaderHtml"]}]]],["instant-apps-measurement-tool",[[2,"instant-apps-measurement-tool",{"view":[16],"measureConfiguration":[16],"activeTool":[1,"active-tool"]},null,{"activeTool":["_updateToolType"]}]]],["instant-apps-sign-in",[[1,"instant-apps-sign-in",{"type":[1],"portal":[16],"oauthappid":[1],"openInPopup":[4,"open-in-popup"],"landingPage":[4,"landing-page"],"showIndicator":[4,"show-indicator"],"closeLandingPage":[16],"signInDropdownItems":[16],"ready":[32],"isSignedIn":[32],"user":[32],"messages":[32]},null,{"portal":["watchPortal"],"oauthappid":["watchOauthappid"]}]]],["instant-apps-ckeditor-wrapper_3",[[2,"instant-apps-language-translator-item",{"fieldName":[1,"field-name"],"translatedLanguageLabels":[16],"setting":[16],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16]}],[2,"instant-apps-language-translator-search",{"t9nPlaceholder":[1,"t-9n-placeholder"],"results":[32]}],[0,"instant-apps-ckeditor-wrapper",{"value":[1025],"editorInstance":[1040],"config":[16]},null,{"value":["updateValue"]}]]],["instant-apps-interactive-legend-count_2",[[2,"instant-apps-interactive-legend-layer-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[16],"isChild":[4,"is-child"],"expanded":[1028]}],[2,"instant-apps-interactive-legend-count",{"showTotal":[4,"show-total"],"legendvm":[16],"activeLayerInfo":[16],"categoryId":[1,"category-id"],"infoIndex":[2,"info-index"],"messages":[16],"selected":[4],"legendElement":[16]}]]],["instant-apps-interactive-legend-group-legend-element_5",[[6,"instant-apps-interactive-legend-group-legend-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[16],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-layer-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[16],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-legend-element",{"activeLayerInfo":[16],"isSizeRamp":[4,"is-size-ramp"],"isChild":[4,"is-child"],"isColorRamp":[4,"is-color-ramp"],"isRelationshipRamp":[4,"is-relationship-ramp"],"isInteractive":[4,"is-interactive"],"zoomTo":[4,"zoom-to"],"legendElement":[16],"titleText":[1,"title-text"],"legendvm":[16],"legendElementIndex":[2,"legend-element-index"],"messages":[16],"expanded":[32]},[[8,"legendLayerExpandUpdated","legendLayerExpandUpdatedEmitted"]]],[2,"instant-apps-interactive-legend-relationship",{"filterMode":[16],"activeLayerInfo":[16],"legendElement":[16],"messages":[16]},[[8,"showAllSelected","showAllSelectedEmitted"]]],[2,"instant-apps-interactive-legend-legend-element-caption",{"legendvm":[16],"activeLayerInfo":[16],"layer":[16],"titleText":[1,"title-text"],"legendElementIndex":[2,"legend-element-index"],"zoomTo":[4,"zoom-to"],"isInteractive":[4,"is-interactive"],"legendElement":[16],"expanded":[1028],"messages":[16]}]]]]'),a)};(function(){if(typeof window<"u"&&window.Reflect!==void 0&&window.customElements!==void 0){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}})();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 */
3
+ v1.0.0-next.20250530 */
4
4
  var t={type:"string",minLength:1,maxLength:250,format:"entityTitleValidator"},e={type:"string",minLength:1,maxLength:250,format:"siteEntityTitleValidator"},p={type:"string",maxLength:2048},r={type:"string",enum:["public","org","private"],default:"private"},o={type:"array",items:{type:"string"}},s={type:"array",items:{type:"string"},maxItems:20},n={type:"boolean",enum:[!0,!1],default:!0},i={type:"array",maxItems:4,items:{type:"string"}},a={type:"object",default:{type:"none"},properties:{type:{type:"string",enum:["none","org","custom"],default:"none"},name:{type:"string"}}},y={type:"object",properties:{baseViewItemId:{type:"array",items:{type:"string"},maxItems:1}}},E={type:"object",properties:{base64:{type:"string"},format:{type:"string"},fileName:{type:"string"},blob:{type:"object",properties:{type:{type:"string"},size:{type:"number"}}},url:{type:"string"}}},g={type:"object",properties:{title:{type:"string"},description:{type:"string"},canCollapse:{type:"boolean"},stages:{type:"array",items:{type:"object",properties:{title:{type:"string"},timeframe:{type:"string"},stageDescription:{type:"string"},status:{type:"string"},link:{type:"object",properties:{href:{type:"string"},title:{type:"string"}}}}}}}},c={type:"object",properties:{consentNotice:{type:"object",properties:{allowPrivacyConfig:{type:"boolean",default:!1},blocking:{type:"boolean",default:!1},disclaimer:{type:"array",items:[{type:"object",properties:{text:{type:"string"},lang:{type:"string"},default:{type:"boolean"}}}]},policyURL:{type:"string",pattern:"^(https?:\\/\\/)?([\\da-z.-]+)\\.([a-z.]{2,6})([\\/\\w.-]*)*\\/?$|^$"}}}}},l={type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"};export{t as a,e as b,p as c,r as d,o as e,s as f,n as g,i as h,a as i,y as j,E as k,g as l,c as m,l as n};