@esri/solutions-components 1.0.5 → 1.1.0-next.20250731

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 (605) hide show
  1. package/dist/cdn/2BAYNM47.js +4 -0
  2. package/dist/cdn/{XK7SWBXE.js → 2EYV4IEN.js} +3 -3
  3. package/dist/cdn/{WCEUO2OS.js → 2GJB6LPB.js} +3 -3
  4. package/dist/cdn/{VXJY4QCS.js → 2GTBGQOU.js} +3 -3
  5. package/dist/cdn/{IFPYTV3R.js → 2GXV72MB.js} +2 -2
  6. package/dist/cdn/{OORGXTFY.js → 2H7BTHDT.js} +3 -3
  7. package/dist/cdn/{WZYGUEIV.js → 2HGA22GQ.js} +3 -3
  8. package/dist/cdn/{IREZCPC5.js → 2IUFUH3X.js} +3 -3
  9. package/dist/cdn/2JS7ZGBH.js +4 -0
  10. package/dist/cdn/{5K5LGI4X.js → 2KNQIZBY.js} +3 -3
  11. package/dist/cdn/{EJ7VKYZG.js → 2KTL7SDF.js} +3 -3
  12. package/dist/cdn/{XFANWHPY.js → 2MMYXU2V.js} +3 -3
  13. package/dist/cdn/{M3L66GKK.js → 2MXF6QYM.js} +4 -4
  14. package/dist/cdn/{UISRG6AV.js → 2VNDJQDM.js} +4 -4
  15. package/dist/cdn/{AHHA6SMZ.js → 36VPKEOS.js} +3 -3
  16. package/dist/cdn/{5LOTR4DW.js → 3BRZABO6.js} +3 -3
  17. package/dist/cdn/{WIVOL6CT.js → 3C7RF6EE.js} +2 -2
  18. package/dist/cdn/{ONL3NL26.js → 3CSOCHXH.js} +3 -3
  19. package/dist/cdn/{Q66CZJP6.js → 3I27Y3IK.js} +2 -2
  20. package/dist/cdn/{SH3RI2GK.js → 3IR5ZGJG.js} +3 -3
  21. package/dist/cdn/3VNPNVLC.js +25 -0
  22. package/dist/cdn/{QUCDVIOQ.js → 3YCVXZXV.js} +3 -3
  23. package/dist/cdn/{XU3KAISP.js → 426N4ARK.js} +2 -2
  24. package/dist/cdn/42JDQQWZ.js +4 -0
  25. package/dist/cdn/43XTD4IU.js +4 -0
  26. package/dist/cdn/{6N7ZWEZT.js → 44QRT6VW.js} +3 -3
  27. package/dist/cdn/473S2HEB.js +4 -0
  28. package/dist/cdn/4DN5TKSJ.js +4 -0
  29. package/dist/cdn/{EHUPQ5JP.js → 4FVROE4F.js} +3 -3
  30. package/dist/cdn/{QVLJY52I.js → 4OTSILUI.js} +3 -3
  31. package/dist/cdn/{4SF42JCK.js → 4PMO37VX.js} +4 -4
  32. package/dist/cdn/{36RPCHBW.js → 4RSWECR2.js} +4 -4
  33. package/dist/cdn/4SPV77R7.js +6 -0
  34. package/dist/cdn/4TIB4MUE.js +4 -0
  35. package/dist/cdn/4UBZI6H4.js +4 -0
  36. package/dist/cdn/{4527TPFQ.js → 4YPZC3SC.js} +2 -2
  37. package/dist/cdn/{TKDGIQNC.js → 52CFR4FY.js} +4 -4
  38. package/dist/cdn/{7NDRZHL6.js → 57GJVOPC.js} +3 -3
  39. package/dist/cdn/5BVTK7W7.js +294 -0
  40. package/dist/cdn/{7WZE34BF.js → 5CMVRFP2.js} +3 -3
  41. package/dist/cdn/{RWQELBMY.js → 5FRA4XTD.js} +3 -3
  42. package/dist/cdn/{HOTDMMJJ.js → 5JLZNB5T.js} +3 -3
  43. package/dist/cdn/5MCVEF6T.js +18 -0
  44. package/dist/cdn/5SPXP7OA.js +4 -0
  45. package/dist/cdn/{H4HFWY3H.js → 5ZCCNW3O.js} +3 -3
  46. package/dist/cdn/{GE2KFI4B.js → 643TMSPT.js} +3 -3
  47. package/dist/cdn/6A467XYI.js +4 -0
  48. package/dist/cdn/6EADJLFD.js +4 -0
  49. package/dist/cdn/{DSA7P4FN.js → 6KNAAPD7.js} +4 -4
  50. package/dist/cdn/{IVWP7URA.js → 6P3R6TWO.js} +3 -3
  51. package/dist/cdn/6PPTO6S3.js +18 -0
  52. package/dist/cdn/{RCDWSNVF.js → 6QCLIAW4.js} +3 -3
  53. package/dist/cdn/72AKOONQ.js +18 -0
  54. package/dist/cdn/72OOEYKH.js +18 -0
  55. package/dist/cdn/{RYQCNLW7.js → 74BIDOVU.js} +3 -3
  56. package/dist/cdn/{ODVL6BLS.js → 75RBPT4I.js} +3 -3
  57. package/dist/cdn/7EQTPI6S.js +18 -0
  58. package/dist/cdn/{N5MNRNS4.js → 7HYIF2AM.js} +3 -3
  59. package/dist/cdn/7ONRREX7.js +4 -0
  60. package/dist/cdn/7YOP5RPI.js +4 -0
  61. package/dist/cdn/{EV22N3KD.js → 7Z2ZZO4J.js} +3 -3
  62. package/dist/cdn/A2XGC2XD.js +4 -0
  63. package/dist/cdn/{IAHPQU5I.js → A4RGKVUV.js} +3 -3
  64. package/dist/cdn/{Z4FNCV4E.js → A5MPX75A.js} +3 -3
  65. package/dist/cdn/A5YDOTO7.js +8 -0
  66. package/dist/cdn/{RC3IVWI3.js → AAKWBZCL.js} +2 -2
  67. package/dist/cdn/{GJ2UG6YP.js → ADCQDBN4.js} +3 -3
  68. package/dist/cdn/{WQKEPPJH.js → ADW2XIW4.js} +2 -2
  69. package/dist/cdn/{MURI73WZ.js → AH2HQH4E.js} +3 -3
  70. package/dist/cdn/{SUSAZ65X.js → AK6ON7DB.js} +3 -3
  71. package/dist/cdn/AM2AI6MS.js +5 -0
  72. package/dist/cdn/{OTYGSW7W.js → AMGVTGKQ.js} +3 -3
  73. package/dist/cdn/AOCVFEIQ.js +4 -0
  74. package/dist/cdn/AOWA2AZQ.js +4 -0
  75. package/dist/cdn/APIMARV7.js +18 -0
  76. package/dist/cdn/AR3U6TSD.js +4 -0
  77. package/dist/cdn/ARFLHAGD.js +4 -0
  78. package/dist/cdn/ASBZNVPC.js +18 -0
  79. package/dist/cdn/{S5TXHJGZ.js → AVA5QVU2.js} +3 -3
  80. package/dist/cdn/AWQPMZLL.js +18 -0
  81. package/dist/cdn/AY7IK4RK.js +18 -0
  82. package/dist/cdn/B33KRB3L.js +4 -0
  83. package/dist/cdn/B7GPWN3T.js +4 -0
  84. package/dist/cdn/{UCI3QQAA.js → B7MFQJBB.js} +2 -2
  85. package/dist/cdn/{7ATYJT4O.js → BFSXMTKW.js} +3 -3
  86. package/dist/cdn/{NTJ65ON3.js → BG27OJBT.js} +3 -3
  87. package/dist/cdn/{Z3XBAPZC.js → BGIYWXGF.js} +2 -2
  88. package/dist/cdn/BOC3JHHJ.js +18 -0
  89. package/dist/cdn/BYJWVMEI.js +4 -0
  90. package/dist/cdn/{WBAN3UIC.js → BYZPDGIL.js} +3 -3
  91. package/dist/cdn/{7OEQCUDV.js → C7DUXXD3.js} +2 -2
  92. package/dist/cdn/{VOFDMTBC.js → C7L5TIYI.js} +3 -3
  93. package/dist/cdn/{JMMD7YBL.js → CA6EE6KQ.js} +3 -3
  94. package/dist/cdn/{34BPQSHF.js → CJKIUVFT.js} +3 -3
  95. package/dist/cdn/CUTWA2HF.js +4 -0
  96. package/dist/cdn/CY2MIOJN.js +4 -0
  97. package/dist/cdn/{M6GEH5RY.js → D35BLKR3.js} +3 -3
  98. package/dist/cdn/DC4UGQFD.js +4 -0
  99. package/dist/cdn/{IS4CHLDX.js → DCHRUUUX.js} +3 -3
  100. package/dist/cdn/DIBDPEA6.js +4 -0
  101. package/dist/cdn/DNWGIXXT.js +4 -0
  102. package/dist/cdn/{TVGUICDI.js → DP3S6KA3.js} +3 -3
  103. package/dist/cdn/{VIRNYXF5.js → DXJEOQCH.js} +3 -3
  104. package/dist/cdn/{3RLVYGV7.js → DZNTDZ24.js} +4 -4
  105. package/dist/cdn/E3NR4YOE.js +4 -0
  106. package/dist/cdn/{AC7K2P6S.js → EFUMGP3I.js} +3 -3
  107. package/dist/cdn/{G2PAP4HL.js → EP3R46LX.js} +4 -4
  108. package/dist/cdn/ERTZ6M46.js +4 -0
  109. package/dist/cdn/{U4LWP3KK.js → EU3Y2SAR.js} +2 -2
  110. package/dist/cdn/{G7LK4PDL.js → EUIE25QG.js} +3 -3
  111. package/dist/cdn/EXMV37QM.js +4 -0
  112. package/dist/cdn/EYQQR5HY.js +4 -0
  113. package/dist/cdn/EYVBQ4G4.js +4 -0
  114. package/dist/cdn/{CYHKUA3T.js → F3D65BRW.js} +3 -3
  115. package/dist/cdn/F6Y7C5KP.js +4 -0
  116. package/dist/cdn/{QQPQDFEM.js → FEQ4AT3P.js} +3 -3
  117. package/dist/cdn/{I3SHQQXU.js → FHDBHLB5.js} +3 -3
  118. package/dist/cdn/FHNTUSFH.js +4 -0
  119. package/dist/cdn/{WCVUN6XF.js → FS3XGDFG.js} +3 -3
  120. package/dist/cdn/FSPGUSSO.js +29 -0
  121. package/dist/cdn/FUKJHT5H.js +4 -0
  122. package/dist/cdn/{WNFUARBO.js → FWW6GXHG.js} +3 -3
  123. package/dist/cdn/FXFX5L3X.js +4 -0
  124. package/dist/cdn/GBDK7FHD.js +3 -0
  125. package/dist/cdn/{QZAU4Z6W.js → GF52MLTL.js} +3 -3
  126. package/dist/cdn/GLZTL7RA.js +4 -0
  127. package/dist/cdn/{S3AWAGTI.js → GVBOBWPJ.js} +3 -3
  128. package/dist/cdn/{OG4FHSPI.js → H272DO6V.js} +2 -2
  129. package/dist/cdn/{SBX54Z43.js → H3UGTCXB.js} +3 -3
  130. package/dist/cdn/{M4VZ4CMY.js → H5A32K7K.js} +3 -3
  131. package/dist/cdn/{33UPFZYZ.js → H5TWBIAR.js} +3 -3
  132. package/dist/cdn/HDQF6VWQ.js +4 -0
  133. package/dist/cdn/HETMWJIP.js +9 -0
  134. package/dist/cdn/{LG2N3IDQ.js → HIKKZ25D.js} +3 -3
  135. package/dist/cdn/HJB23WDQ.js +18 -0
  136. package/dist/cdn/{E4626BS2.js → HJO2CQWJ.js} +3 -3
  137. package/dist/cdn/HJYJB5W7.js +4 -0
  138. package/dist/cdn/{MK7N6OTA.js → HK4XTNBP.js} +2 -2
  139. package/dist/cdn/HKN3HPEK.js +4 -0
  140. package/dist/cdn/{W7Z3ORQY.js → HMOHKHAT.js} +3 -3
  141. package/dist/cdn/I57GNKUQ.js +4 -0
  142. package/dist/cdn/{JOWT5YJ4.js → I6WXPX3C.js} +3 -3
  143. package/dist/cdn/{5JHZFHQW.js → IF2ZKI6T.js} +3 -3
  144. package/dist/cdn/IH7ADVLR.js +4 -0
  145. package/dist/cdn/{YXHSDCRJ.js → ISALH4VC.js} +3 -3
  146. package/dist/cdn/{WZ764LLN.js → IZJLYME2.js} +2 -2
  147. package/dist/cdn/{4J5HYMPQ.js → JE2TWCAC.js} +4 -4
  148. package/dist/cdn/{TIUXVXYM.js → JEOSE5RW.js} +3 -3
  149. package/dist/cdn/{LUCYOE4G.js → JH4YZBYG.js} +3 -3
  150. package/dist/cdn/{HKKUMEH5.js → JJULCE5N.js} +2 -2
  151. package/dist/cdn/{ZLTHON4G.js → JKJSY7DJ.js} +3 -3
  152. package/dist/cdn/{FKCBARKI.js → JQ5ZHTF2.js} +3 -3
  153. package/dist/cdn/JSKKYZHM.js +18 -0
  154. package/dist/cdn/{PLTCACVO.js → JURDSMKY.js} +3 -3
  155. package/dist/cdn/{UR7ODANG.js → JWMNXRYC.js} +3 -3
  156. package/dist/cdn/K25LOYJZ.js +18 -0
  157. package/dist/cdn/{5WNLR3DS.js → K5BGQ3OZ.js} +4 -4
  158. package/dist/cdn/{GUN44VYU.js → K5MNQDI2.js} +3 -3
  159. package/dist/cdn/{JJJAHCRO.js → K5UZCUIP.js} +3 -3
  160. package/dist/cdn/{22F7LFMG.js → KBMAILOS.js} +3 -3
  161. package/dist/cdn/{MO5VIHBL.js → KCHTD25J.js} +3 -3
  162. package/dist/cdn/KDKEERTI.js +4 -0
  163. package/dist/cdn/KGAHJ54L.js +18 -0
  164. package/dist/cdn/{D2SOXDMW.js → KHDYOQUJ.js} +4 -4
  165. package/dist/cdn/{5JYWXCER.js → KPA6IPU7.js} +3 -3
  166. package/dist/cdn/{7OZSPB2F.js → KSIFYNKF.js} +4 -4
  167. package/dist/cdn/{76DZHGT4.js → KSJPYPQO.js} +3 -3
  168. package/dist/cdn/{CXOHKJLR.js → KT5WRAHK.js} +2 -2
  169. package/dist/cdn/{A4L4EUDH.js → KTXVM52W.js} +3 -3
  170. package/dist/cdn/{S6GQFWK7.js → KVFCBXED.js} +4 -4
  171. package/dist/cdn/{J252EEIH.js → KWAIKYS3.js} +3 -3
  172. package/dist/cdn/{TXB56MNF.js → KWLCMSMA.js} +3 -3
  173. package/dist/cdn/{5CGYAFLG.js → KX5WGRIQ.js} +3 -3
  174. package/dist/cdn/{3LJQBCLM.js → L3PU33PW.js} +4 -4
  175. package/dist/cdn/{UVRRN3AM.js → L6QFXG3S.js} +3 -3
  176. package/dist/cdn/LFYHIKU3.js +4 -0
  177. package/dist/cdn/{W7HZRPHM.js → LQQXXTMC.js} +3 -3
  178. package/dist/cdn/{AGGLKLN3.js → LRGKVD4T.js} +3 -3
  179. package/dist/cdn/{YEFAWRXP.js → MHXAIQAV.js} +3 -3
  180. package/dist/cdn/MIIMDMHL.js +4 -0
  181. package/dist/cdn/MO2JO46H.js +4 -0
  182. package/dist/cdn/{7244YR36.js → MSFLB63B.js} +3 -3
  183. package/dist/cdn/{PKKVL46F.js → N4LNMEDY.js} +3 -3
  184. package/dist/cdn/{WV2ZROZJ.js → N62UO6II.js} +3 -3
  185. package/dist/cdn/N6NAF62S.js +4 -0
  186. package/dist/cdn/{AYBHICHM.js → NBU35YHR.js} +4 -4
  187. package/dist/cdn/{N54CIKSY.js → NBZYKYQZ.js} +3 -3
  188. package/dist/cdn/NCLQJSMX.js +18 -0
  189. package/dist/cdn/{M35TRRGF.js → NEO6JGNW.js} +2 -2
  190. package/dist/cdn/{PGB7D5V5.js → NO3D7QT7.js} +3 -3
  191. package/dist/cdn/{ZV3QGDX6.js → NTOLQYQU.js} +3 -3
  192. package/dist/cdn/NYUDOFOD.js +4 -0
  193. package/dist/cdn/{GFTGPFHL.js → O7LMFSMD.js} +3 -3
  194. package/dist/cdn/{KQIW24JY.js → OB7VIGCH.js} +3 -3
  195. package/dist/cdn/{HM7EBFPG.js → OOZKB3ZN.js} +4 -4
  196. package/dist/cdn/{2QFMILDU.js → OQU4LYMF.js} +3 -3
  197. package/dist/cdn/OSUVDV6H.js +4 -0
  198. package/dist/cdn/{64ETTMNQ.js → PIB7ZZVG.js} +3 -3
  199. package/dist/cdn/PIKKLXM7.js +18 -0
  200. package/dist/cdn/{PNZFKJGE.js → PQTSGLNC.js} +3 -3
  201. package/dist/cdn/{GGBJCIO7.js → PQUXZAPF.js} +3 -3
  202. package/dist/cdn/{ZLU7K6TK.js → PV3AWYMW.js} +3 -3
  203. package/dist/cdn/{R5UFCXCH.js → Q3MXWDPL.js} +3 -3
  204. package/dist/cdn/QA2YCJ4O.js +4 -0
  205. package/dist/cdn/{M7HD332R.js → QB6N6BBC.js} +2 -2
  206. package/dist/cdn/{QNXFXUZA.js → QERJ6PIW.js} +3 -3
  207. package/dist/cdn/{GKBVNMEW.js → QLUP4VRI.js} +3 -3
  208. package/dist/cdn/QR5GDMMI.js +18 -0
  209. package/dist/cdn/QVENWOO2.js +4 -0
  210. package/dist/cdn/{CGZZGJLP.js → QYFSBDDP.js} +3 -3
  211. package/dist/cdn/{EW3T5VLB.js → R4SJJIO3.js} +3 -3
  212. package/dist/cdn/{56FAI7QX.js → R4YCPJ6L.js} +4 -4
  213. package/dist/cdn/R5SDMUXC.js +4 -0
  214. package/dist/cdn/{6U4PV22I.js → R6PTVOZ7.js} +2 -2
  215. package/dist/cdn/{C6WPV722.js → R7PTJALL.js} +3 -3
  216. package/dist/cdn/{VTS75E4I.js → RHAMAZRC.js} +4 -4
  217. package/dist/cdn/{RIQFARZP.js → RIWMTGJG.js} +3 -3
  218. package/dist/cdn/{UMIQ4XRZ.js → RKWOVJQK.js} +3 -3
  219. package/dist/cdn/{FLX4QZPY.js → RKYG5W3S.js} +5 -5
  220. package/dist/cdn/{OQJGVRY2.js → RQNJFE3E.js} +3 -3
  221. package/dist/cdn/RTDSKN7R.js +4 -0
  222. package/dist/cdn/{DHVPMGLT.js → RTG6AS6O.js} +3 -3
  223. package/dist/cdn/{2RWXUIPE.js → RW7QCD4F.js} +3 -3
  224. package/dist/cdn/RY3EYSFT.js +4 -0
  225. package/dist/cdn/S3TN6CM3.js +18 -0
  226. package/dist/cdn/{TENNMXGF.js → S4N6CMM4.js} +2 -2
  227. package/dist/cdn/{H72WOGJ7.js → SBBYIAQT.js} +3 -3
  228. package/dist/cdn/SEILZAED.js +4 -0
  229. package/dist/cdn/{6XYUDJQ2.js → SFNRHY6G.js} +2 -2
  230. package/dist/cdn/{AYDTR35F.js → SHNFODTH.js} +4 -4
  231. package/dist/cdn/{RVTHLBJL.js → SJIT5M3S.js} +3 -3
  232. package/dist/cdn/{SHWG5PCG.js → SJKDQVYZ.js} +3 -3
  233. package/dist/cdn/{7YFBO4YO.js → TEH3EUZ4.js} +3 -3
  234. package/dist/cdn/{CFPXLHXR.js → TO5I7SJD.js} +3 -3
  235. package/dist/cdn/{FDNO4BVO.js → TSC436KC.js} +4 -4
  236. package/dist/cdn/{4ULTYKHN.js → U5YGMCQ4.js} +3 -3
  237. package/dist/cdn/U6H7FPZF.js +4 -0
  238. package/dist/cdn/{43R5NRNV.js → UBCWEODS.js} +2 -2
  239. package/dist/cdn/{AQZ3QIKE.js → UCURZHST.js} +3 -3
  240. package/dist/cdn/UDXPAJPC.js +81 -0
  241. package/dist/cdn/{XXM424DO.js → UGOSMDSY.js} +3 -3
  242. package/dist/cdn/{2A6DDRTH.js → UH4VIVOW.js} +3 -3
  243. package/dist/cdn/{KJOPUX6H.js → UHQPR2Z7.js} +3 -3
  244. package/dist/cdn/{CJFK6TKW.js → UOOG3U5R.js} +3 -3
  245. package/dist/cdn/{7B2MAX64.js → UQGDAXCI.js} +2 -2
  246. package/dist/cdn/{5QHONC74.js → UT7SAFAT.js} +3 -3
  247. package/dist/cdn/UW764P2Z.js +4 -0
  248. package/dist/cdn/{76JQ5L7D.js → UYXBFGVH.js} +2 -2
  249. package/dist/cdn/{I3ZD6IV4.js → V6E6GKRI.js} +2 -2
  250. package/dist/cdn/{XFM3FD2A.js → V6KCSC7C.js} +3 -3
  251. package/dist/cdn/{FZV7IALP.js → VA34CFR6.js} +4 -4
  252. package/dist/cdn/VBD2TD57.js +4 -0
  253. package/dist/cdn/{RMU2WXMJ.js → VE3XMXHB.js} +4 -4
  254. package/dist/cdn/VKGJAPNM.js +4 -0
  255. package/dist/cdn/VMLP2N3H.js +4 -0
  256. package/dist/cdn/{NNNUOKAQ.js → VNSEZL7N.js} +4 -4
  257. package/dist/cdn/VRV234EZ.js +4 -0
  258. package/dist/cdn/VRXLMGXU.js +4 -0
  259. package/dist/cdn/{HPUAGDRV.js → VS5ENMWB.js} +3 -3
  260. package/dist/cdn/VULFBK5I.js +379 -0
  261. package/dist/cdn/VZZMNDQT.js +4 -0
  262. package/dist/cdn/W5OOALH7.js +4 -0
  263. package/dist/cdn/{7NMV3XFP.js → WB2BLNBK.js} +2 -2
  264. package/dist/cdn/{JUVS4QTT.js → WBA5I2LS.js} +3 -3
  265. package/dist/cdn/{YC7HMH6M.js → WKX6ZFFH.js} +3 -3
  266. package/dist/cdn/{PP6K5WOA.js → WQHLWDDX.js} +3 -3
  267. package/dist/cdn/{AOOQAYSR.js → WU2UAJRL.js} +3 -3
  268. package/dist/cdn/WVJ4W65Q.js +4 -0
  269. package/dist/cdn/{FFJCM7BG.js → WZLKEYSW.js} +3 -3
  270. package/dist/cdn/{ZEPG4DE3.js → X274AXPH.js} +3 -3
  271. package/dist/cdn/{2LVUHNL4.js → X5FEIO3K.js} +4 -4
  272. package/dist/cdn/XBAV4FHC.js +4 -0
  273. package/dist/cdn/XIX6F4S2.js +4 -0
  274. package/dist/cdn/{2IRIOH44.js → XJMXNPLZ.js} +3 -3
  275. package/dist/cdn/XVUQRP24.js +4 -0
  276. package/dist/cdn/{B4PHULG7.js → Y3A4SAQS.js} +3 -3
  277. package/dist/cdn/{TYVJSPBM.js → Y6FQBFJX.js} +3 -3
  278. package/dist/cdn/YF53VJZO.js +4 -0
  279. package/dist/cdn/YIM6J4NU.js +4 -0
  280. package/dist/cdn/{35ZVLYI7.js → YMD26PDD.js} +3 -3
  281. package/dist/cdn/{WFUAPKTB.js → YVWUFTSW.js} +3 -3
  282. package/dist/cdn/{IPXTSW43.js → YWBNDBUN.js} +3 -3
  283. package/dist/cdn/{ZRLT4TEH.js → YXHBNWUK.js} +3 -3
  284. package/dist/cdn/{65NNPWV7.js → Z23LS2SM.js} +2 -2
  285. package/dist/cdn/{EX6HJQ4X.js → Z2SCCFO4.js} +3 -3
  286. package/dist/cdn/Z42YUKU2.js +4 -0
  287. package/dist/cdn/ZBVOYBCH.js +4 -0
  288. package/dist/cdn/ZDFNLOHU.js +4 -0
  289. package/dist/cdn/ZMECVIEZ.js +4 -0
  290. package/dist/cdn/{D2XDABCT.js → ZNB3TLHZ.js} +3 -3
  291. package/dist/cdn/ZPFJXRFD.js +18 -0
  292. package/dist/cdn/ZSELGBFW.js +4 -0
  293. package/dist/cdn/{5WAZGRRD.js → ZWAN2LQ2.js} +3 -3
  294. package/dist/cdn/{EEECQWVR.js → ZYPY7D74.js} +3 -3
  295. package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +1 -1
  296. package/dist/cdn/assets/solution-article-card/t9n/messages.json +1 -1
  297. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
  298. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
  299. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
  300. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
  301. package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
  302. package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
  303. package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.en.json +1 -1
  304. package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.json +1 -1
  305. package/dist/cdn/assets/solution-social-share/t9n/messages.en.json +1 -0
  306. package/dist/cdn/assets/solution-social-share/t9n/messages.json +1 -0
  307. package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
  308. package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
  309. package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +1 -1
  310. package/dist/cdn/assets/solutions-articles/t9n/messages.json +1 -1
  311. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
  312. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
  313. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  314. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
  315. package/dist/cdn/index.js +3 -3
  316. package/dist/cdn/main.css +1 -1
  317. package/dist/chunks/Auth.js +2 -2
  318. package/dist/chunks/appConfig.js +2 -2
  319. package/dist/chunks/cardFetchingUtils.js +2 -2
  320. package/dist/chunks/common.js +2 -2
  321. package/dist/chunks/deployAppContexts.js +2 -2
  322. package/dist/chunks/downloadUtils.js +2 -2
  323. package/dist/chunks/helpers.js +46 -33
  324. package/dist/chunks/index.js +325 -413
  325. package/dist/chunks/interfaces.js +2 -2
  326. package/dist/chunks/loadModules.js +2 -2
  327. package/dist/chunks/mapViewUtils.js +2 -2
  328. package/dist/chunks/pciUtils.js +2 -2
  329. package/dist/chunks/popupUtils.js +2 -2
  330. package/dist/chunks/prepareDataForSolutionDisplay.js +2 -2
  331. package/dist/chunks/privilegeUtils.js +2 -2
  332. package/dist/chunks/publicNotificationStore.js +2 -2
  333. package/dist/chunks/queryUtils.js +2 -2
  334. package/dist/chunks/runtime.js +4 -4
  335. package/dist/chunks/solution-store.js +2 -2
  336. package/dist/chunks/templates.js +2 -2
  337. package/dist/chunks/useT9n.js +2 -2
  338. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -1
  339. package/dist/components/arcgis-solutions-assistant/customElement.js +9 -10
  340. package/dist/components/basemap-gallery/customElement.d.ts +1 -1
  341. package/dist/components/basemap-gallery/customElement.js +9 -10
  342. package/dist/components/buffer-tools/customElement.d.ts +1 -1
  343. package/dist/components/buffer-tools/customElement.js +9 -10
  344. package/dist/components/card-manager/customElement.d.ts +1 -1
  345. package/dist/components/card-manager/customElement.js +15 -16
  346. package/dist/components/consent-manager/customElement.d.ts +1 -1
  347. package/dist/components/consent-manager/customElement.js +1780 -1724
  348. package/dist/components/create-feature/customElement.d.ts +1 -1
  349. package/dist/components/create-feature/customElement.js +7 -8
  350. package/dist/components/create-related-feature/customElement.d.ts +1 -1
  351. package/dist/components/create-related-feature/customElement.js +8 -9
  352. package/dist/components/crowdsource-manager/customElement.d.ts +4 -2
  353. package/dist/components/crowdsource-manager/customElement.js +10 -11
  354. package/dist/components/crowdsource-manager/index.d.ts +1 -1
  355. package/dist/components/crowdsource-manager/index.js +1 -1
  356. package/dist/components/crowdsource-reporter/customElement.d.ts +1 -1
  357. package/dist/components/crowdsource-reporter/customElement.js +8 -9
  358. package/dist/components/crowdsource-reporter/index.d.ts +2 -2
  359. package/dist/components/crowdsource-reporter/index.js +2 -2
  360. package/dist/components/deduct-calculator/customElement.d.ts +1 -1
  361. package/dist/components/deduct-calculator/customElement.js +9 -10
  362. package/dist/components/delete-button/customElement.d.ts +1 -1
  363. package/dist/components/delete-button/customElement.js +7 -8
  364. package/dist/components/delete-dialog/customElement.d.ts +1 -1
  365. package/dist/components/delete-dialog/customElement.js +9 -10
  366. package/dist/components/edit-card/customElement.d.ts +1 -1
  367. package/dist/components/edit-card/customElement.js +10 -11
  368. package/dist/components/feature-details/customElement.d.ts +1 -1
  369. package/dist/components/feature-details/customElement.js +8 -9
  370. package/dist/components/feature-list/customElement.d.ts +1 -1
  371. package/dist/components/feature-list/customElement.js +9 -10
  372. package/dist/components/field-selection/customElement.d.ts +1 -1
  373. package/dist/components/field-selection/customElement.js +10 -11
  374. package/dist/components/floor-filter/customElement.d.ts +1 -1
  375. package/dist/components/floor-filter/customElement.js +9 -10
  376. package/dist/components/info-card/customElement.d.ts +1 -1
  377. package/dist/components/info-card/customElement.js +8 -9
  378. package/dist/components/json-editor/customElement.d.ts +1 -1
  379. package/dist/components/json-editor/customElement.js +10 -11
  380. package/dist/components/layer-list/customElement.d.ts +1 -1
  381. package/dist/components/layer-list/customElement.js +7 -8
  382. package/dist/components/layer-table/customElement.d.ts +4 -2
  383. package/dist/components/layer-table/customElement.js +7 -8
  384. package/dist/components/layer-table/index.d.ts +1 -1
  385. package/dist/components/layer-table/index.js +1 -1
  386. package/dist/components/map-card/customElement.d.ts +1 -1
  387. package/dist/components/map-card/customElement.js +7 -8
  388. package/dist/components/map-card/index.d.ts +1 -1
  389. package/dist/components/map-card/index.js +1 -1
  390. package/dist/components/map-draw-tools/customElement.d.ts +1 -1
  391. package/dist/components/map-draw-tools/customElement.js +10 -11
  392. package/dist/components/map-fullscreen/customElement.d.ts +1 -1
  393. package/dist/components/map-fullscreen/customElement.js +12 -13
  394. package/dist/components/map-layer-picker/customElement.d.ts +1 -1
  395. package/dist/components/map-layer-picker/customElement.js +11 -12
  396. package/dist/components/map-legend/customElement.d.ts +1 -1
  397. package/dist/components/map-legend/customElement.js +9 -10
  398. package/dist/components/map-picker/customElement.d.ts +1 -1
  399. package/dist/components/map-picker/customElement.js +7 -8
  400. package/dist/components/map-search/customElement.d.ts +1 -1
  401. package/dist/components/map-search/customElement.js +11 -12
  402. package/dist/components/map-select-tools/customElement.d.ts +1 -1
  403. package/dist/components/map-select-tools/customElement.js +9 -10
  404. package/dist/components/map-tools/customElement.d.ts +1 -1
  405. package/dist/components/map-tools/customElement.js +6 -7
  406. package/dist/components/pci-calculator/customElement.d.ts +1 -1
  407. package/dist/components/pci-calculator/customElement.js +11 -12
  408. package/dist/components/pdf-download/customElement.d.ts +1 -1
  409. package/dist/components/pdf-download/customElement.js +24 -25
  410. package/dist/components/public-notification/customElement.d.ts +1 -1
  411. package/dist/components/public-notification/customElement.js +20 -21
  412. package/dist/components/refine-selection/customElement.d.ts +1 -1
  413. package/dist/components/refine-selection/customElement.js +17 -18
  414. package/dist/components/selection-tool/customElement.d.ts +1 -1
  415. package/dist/components/selection-tool/customElement.js +3 -3
  416. package/dist/components/solution-article-card/customElement.d.ts +33 -1
  417. package/dist/components/solution-article-card/customElement.js +24 -19
  418. package/dist/components/solution-article-card/index.d.ts +1 -0
  419. package/dist/components/solution-article-card/index.js +1 -0
  420. package/dist/components/solution-configuration/customElement.d.ts +1 -1
  421. package/dist/components/solution-configuration/customElement.js +11 -12
  422. package/dist/components/solution-configure-dialog/customElement.d.ts +6 -7
  423. package/dist/components/solution-configure-dialog/customElement.js +121 -46
  424. package/dist/components/solution-configure-dialog/index.d.ts +1 -0
  425. package/dist/components/solution-configure-dialog/index.js +1 -0
  426. package/dist/components/solution-configure-titles/customElement.d.ts +3 -1
  427. package/dist/components/solution-configure-titles/customElement.js +39 -23
  428. package/dist/components/solution-contents/customElement.d.ts +1 -1
  429. package/dist/components/solution-contents/customElement.js +8 -9
  430. package/dist/components/solution-delete-dialog/customElement.d.ts +9 -11
  431. package/dist/components/solution-delete-dialog/customElement.js +55 -59
  432. package/dist/components/solution-deploy-dialog/customElement.d.ts +2 -10
  433. package/dist/components/solution-deploy-dialog/customElement.js +132 -83
  434. package/dist/components/solution-deployed-card/customElement.d.ts +1 -9
  435. package/dist/components/solution-deployed-card/customElement.js +29 -29
  436. package/dist/components/solution-deploying-dialog/customElement.d.ts +1 -1
  437. package/dist/components/solution-deploying-dialog/customElement.js +11 -12
  438. package/dist/components/solution-details-card/customElement.d.ts +1 -1
  439. package/dist/components/solution-details-card/customElement.js +9 -10
  440. package/dist/components/solution-details-panel/customElement.d.ts +1 -7
  441. package/dist/components/solution-details-panel/customElement.js +97 -91
  442. package/dist/components/solution-details-panel/index.d.ts +1 -0
  443. package/dist/components/solution-details-panel/index.js +1 -0
  444. package/dist/components/solution-item/customElement.d.ts +1 -1
  445. package/dist/components/solution-item/customElement.js +7 -8
  446. package/dist/components/solution-item-accordion/customElement.d.ts +1 -1
  447. package/dist/components/solution-item-accordion/customElement.js +8 -9
  448. package/dist/components/solution-item-details/customElement.d.ts +1 -1
  449. package/dist/components/solution-item-details/customElement.js +10 -11
  450. package/dist/components/solution-item-diagram/customElement.d.ts +1 -1
  451. package/dist/components/solution-item-diagram/customElement.js +9 -10
  452. package/dist/components/solution-item-icon/customElement.d.ts +1 -1
  453. package/dist/components/solution-item-icon/customElement.js +8 -9
  454. package/dist/components/solution-item-sharing/customElement.d.ts +1 -1
  455. package/dist/components/solution-item-sharing/customElement.js +14 -15
  456. package/dist/components/solution-organization-variables/customElement.d.ts +1 -1
  457. package/dist/components/solution-organization-variables/customElement.js +7 -8
  458. package/dist/components/solution-resource-item/customElement.d.ts +1 -1
  459. package/dist/components/solution-resource-item/customElement.js +15 -16
  460. package/dist/components/solution-snapshot-gallery/customElement.d.ts +1 -6
  461. package/dist/components/solution-snapshot-gallery/customElement.js +15 -15
  462. package/dist/components/solution-social-share/customElement.d.ts +117 -0
  463. package/dist/components/solution-social-share/customElement.js +178 -0
  464. package/dist/components/solution-social-share/index.d.ts +5 -0
  465. package/dist/components/solution-social-share/index.js +5 -0
  466. package/dist/components/solution-spatial-ref/customElement.d.ts +1 -1
  467. package/dist/components/solution-spatial-ref/customElement.js +19 -20
  468. package/dist/components/solution-template-data/customElement.d.ts +1 -1
  469. package/dist/components/solution-template-data/customElement.js +8 -9
  470. package/dist/components/solution-variables/customElement.d.ts +1 -1
  471. package/dist/components/solution-variables/customElement.js +8 -9
  472. package/dist/components/solutions-all-panel/customElement.d.ts +1 -9
  473. package/dist/components/solutions-all-panel/customElement.js +18 -18
  474. package/dist/components/solutions-all-shell/customElement.d.ts +3 -1
  475. package/dist/components/solutions-all-shell/customElement.js +19 -16
  476. package/dist/components/solutions-article-panel/customElement.d.ts +13 -1
  477. package/dist/components/solutions-article-panel/customElement.js +18 -19
  478. package/dist/components/solutions-articles/customElement.d.ts +3 -1
  479. package/dist/components/solutions-articles/customElement.js +54 -16
  480. package/dist/components/solutions-articles/index.d.ts +10 -0
  481. package/dist/components/solutions-articles/index.js +10 -0
  482. package/dist/components/solutions-articles-shell/customElement.d.ts +1 -1
  483. package/dist/components/solutions-articles-shell/customElement.js +10 -11
  484. package/dist/components/solutions-articles-shell/index.d.ts +3 -0
  485. package/dist/components/solutions-articles-shell/index.js +3 -0
  486. package/dist/components/solutions-deployed-panel/customElement.d.ts +3 -11
  487. package/dist/components/solutions-deployed-panel/customElement.js +44 -40
  488. package/dist/components/solutions-deployed-panel/index.d.ts +1 -0
  489. package/dist/components/solutions-deployed-panel/index.js +1 -0
  490. package/dist/components/solutions-deployed-shell/customElement.d.ts +1 -1
  491. package/dist/components/solutions-deployed-shell/customElement.js +16 -16
  492. package/dist/components/solutions-filter-panel/customElement.d.ts +1 -1
  493. package/dist/components/solutions-filter-panel/customElement.js +13 -12
  494. package/dist/components/spatial-ref/customElement.d.ts +1 -1
  495. package/dist/components/spatial-ref/customElement.js +8 -9
  496. package/dist/components/store-manager/customElement.d.ts +1 -1
  497. package/dist/components/store-manager/customElement.js +2 -2
  498. package/dist/docs/api.json +1351 -474
  499. package/dist/docs/docs.json +990 -484
  500. package/dist/docs/vscode.css-custom-data.json +30 -1
  501. package/dist/docs/vscode.html-custom-data.json +313 -16
  502. package/dist/docs/web-types.json +528 -104
  503. package/dist/index.d.ts +24 -2
  504. package/dist/index.js +2 -2
  505. package/dist/loader.js +14 -13
  506. package/dist/types/lumina.d.ts +18 -9
  507. package/dist/types/preact.d.ts +19 -9
  508. package/dist/types/react.d.ts +20 -9
  509. package/dist/types/stencil.d.ts +18 -9
  510. package/dist/utils/helpers.d.ts +20 -1
  511. package/dist/utils/interfaces.d.ts +27 -23
  512. package/package.json +33 -28
  513. package/dist/cdn/25FEJN5O.js +0 -4
  514. package/dist/cdn/25JM7WUJ.js +0 -4
  515. package/dist/cdn/2BDPGGKC.js +0 -18
  516. package/dist/cdn/2TT2EKLS.js +0 -4
  517. package/dist/cdn/2VXYY4NW.js +0 -4
  518. package/dist/cdn/3IMXMLFS.js +0 -4
  519. package/dist/cdn/4HAO722I.js +0 -4
  520. package/dist/cdn/4UCCOTIL.js +0 -4
  521. package/dist/cdn/5S2FZKYO.js +0 -18
  522. package/dist/cdn/5TRSWX6M.js +0 -4
  523. package/dist/cdn/6LUI2X3G.js +0 -18
  524. package/dist/cdn/7M5YUYGE.js +0 -4
  525. package/dist/cdn/AXDYNDWC.js +0 -3
  526. package/dist/cdn/AYND4SCK.js +0 -4
  527. package/dist/cdn/B2AAEHPJ.js +0 -4
  528. package/dist/cdn/B5754CLI.js +0 -4
  529. package/dist/cdn/BRSXWNGO.js +0 -4
  530. package/dist/cdn/CBITJT5D.js +0 -82
  531. package/dist/cdn/CDBDE4TC.js +0 -18
  532. package/dist/cdn/CXN63GPC.js +0 -18
  533. package/dist/cdn/D2UIHI5N.js +0 -4
  534. package/dist/cdn/D3RXCR6Q.js +0 -6
  535. package/dist/cdn/DC2VXLYA.js +0 -4
  536. package/dist/cdn/DCYHSAL2.js +0 -4
  537. package/dist/cdn/DO5IRX2P.js +0 -4
  538. package/dist/cdn/DP2E5JFM.js +0 -4
  539. package/dist/cdn/DZ75SULS.js +0 -4
  540. package/dist/cdn/EL5KWKMD.js +0 -4
  541. package/dist/cdn/EPYFVSXR.js +0 -4
  542. package/dist/cdn/FQTZU3Z2.js +0 -29
  543. package/dist/cdn/G56M322A.js +0 -18
  544. package/dist/cdn/GFTMWJE2.js +0 -4
  545. package/dist/cdn/H36GDFY7.js +0 -4
  546. package/dist/cdn/H3C4GIDZ.js +0 -9
  547. package/dist/cdn/H3FM5UM6.js +0 -4
  548. package/dist/cdn/HCCTS5WV.js +0 -4
  549. package/dist/cdn/HNUCWI6T.js +0 -4
  550. package/dist/cdn/HR2HFJXC.js +0 -8
  551. package/dist/cdn/HRBMV6MS.js +0 -18
  552. package/dist/cdn/HZILY6RQ.js +0 -18
  553. package/dist/cdn/IHQISHAM.js +0 -4
  554. package/dist/cdn/IMFE25FS.js +0 -4
  555. package/dist/cdn/IMYZB3YV.js +0 -18
  556. package/dist/cdn/JAMFZUE3.js +0 -4
  557. package/dist/cdn/JRMGFAZK.js +0 -4
  558. package/dist/cdn/JYDRZHOB.js +0 -4
  559. package/dist/cdn/KQPN7NFG.js +0 -4
  560. package/dist/cdn/KUFJAMWI.js +0 -18
  561. package/dist/cdn/LIXHHHMQ.js +0 -3
  562. package/dist/cdn/ML3FDA7I.js +0 -4
  563. package/dist/cdn/MTDAXKJA.js +0 -4
  564. package/dist/cdn/MVAWCLJQ.js +0 -4
  565. package/dist/cdn/NTSPFMPN.js +0 -18
  566. package/dist/cdn/O4U6ZUNI.js +0 -4
  567. package/dist/cdn/OGRHFK6Y.js +0 -4
  568. package/dist/cdn/OOX6G6UE.js +0 -18
  569. package/dist/cdn/OZWDP6Y7.js +0 -4
  570. package/dist/cdn/PJSBBGLJ.js +0 -4
  571. package/dist/cdn/PSUWSWTK.js +0 -4
  572. package/dist/cdn/PWM7PIST.js +0 -18
  573. package/dist/cdn/Q5QONQ6T.js +0 -4
  574. package/dist/cdn/QBIXFYYE.js +0 -5
  575. package/dist/cdn/QH2LKILS.js +0 -4
  576. package/dist/cdn/QP26HSVE.js +0 -4
  577. package/dist/cdn/QU55HNGY.js +0 -25
  578. package/dist/cdn/QYU6USHT.js +0 -4
  579. package/dist/cdn/SCOCPPIV.js +0 -383
  580. package/dist/cdn/SMY4IACN.js +0 -4
  581. package/dist/cdn/T6PMIZLP.js +0 -4
  582. package/dist/cdn/TA3ZXQAF.js +0 -4
  583. package/dist/cdn/TBU33TUJ.js +0 -18
  584. package/dist/cdn/TNEFDIIG.js +0 -4
  585. package/dist/cdn/TTDNDVCB.js +0 -4
  586. package/dist/cdn/UDYWBQQB.js +0 -4
  587. package/dist/cdn/UITEOOYI.js +0 -4
  588. package/dist/cdn/UUY24OGE.js +0 -4
  589. package/dist/cdn/UZTSBHXN.js +0 -294
  590. package/dist/cdn/V3XFBVJ2.js +0 -4
  591. package/dist/cdn/VCL4EPUN.js +0 -18
  592. package/dist/cdn/VH4DOQZ4.js +0 -4
  593. package/dist/cdn/VJF6Y7HU.js +0 -4
  594. package/dist/cdn/VLNWSZVR.js +0 -4
  595. package/dist/cdn/VUZA56M3.js +0 -4
  596. package/dist/cdn/W3GV4JXP.js +0 -4
  597. package/dist/cdn/WBRXMEMP.js +0 -4
  598. package/dist/cdn/WIE3EFBI.js +0 -8
  599. package/dist/cdn/WN54HJON.js +0 -4
  600. package/dist/cdn/XYGVP2FK.js +0 -4
  601. package/dist/cdn/YMUVFR3U.js +0 -18
  602. package/dist/cdn/YQFYU4G2.js +0 -18
  603. package/dist/cdn/Z4WD3SG2.js +0 -4
  604. package/dist/cdn/ZUQZHS53.js +0 -18
  605. package/dist/cdn/ZY74MRCW.js +0 -4
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{a}from"./35ZVLYI7.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import{a as s,b as r}from"./WCEUO2OS.js";import"./2QFMILDU.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import{a as o}from"./E4626BS2.js";import{a as i}from"./6N7ZWEZT.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./JOWT5YJ4.js";import"./TENNMXGF.js";import"./WNFUARBO.js";import"./UCI3QQAA.js";import"./MURI73WZ.js";import"./CGZZGJLP.js";import"./JUVS4QTT.js";import"./OQJGVRY2.js";import"./UR7ODANG.js";import"./JJJAHCRO.js";import"./RCDWSNVF.js";import"./76DZHGT4.js";import"./HKKUMEH5.js";import"./H72WOGJ7.js";import"./7OEQCUDV.js";import"./IAHPQU5I.js";import"./2RWXUIPE.js";import"./QQPQDFEM.js";import"./7NMV3XFP.js";import"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{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.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",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)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a}from"./YMD26PDD.js";import"./O7LMFSMD.js";import"./H272DO6V.js";import"./HK4XTNBP.js";import"./ADW2XIW4.js";import{a as s,b as r}from"./2GJB6LPB.js";import"./OQU4LYMF.js";import"./ZYPY7D74.js";import"./AVA5QVU2.js";import{a as o}from"./HJO2CQWJ.js";import{a as i}from"./44QRT6VW.js";import"./UCURZHST.js";import"./IH7ADVLR.js";import"./3C7RF6EE.js";import"./LFYHIKU3.js";import"./R6PTVOZ7.js";import"./I6WXPX3C.js";import"./FWW6GXHG.js";import"./B7MFQJBB.js";import"./QYFSBDDP.js";import"./WBA5I2LS.js";import"./RQNJFE3E.js";import"./JWMNXRYC.js";import"./K5UZCUIP.js";import"./6QCLIAW4.js";import"./KSJPYPQO.js";import"./JJULCE5N.js";import"./SBBYIAQT.js";import"./C7DUXXD3.js";import"./S4N6CMM4.js";import"./A4RGKVUV.js";import"./RW7QCD4F.js";import"./FEQ4AT3P.js";import"./WB2BLNBK.js";import"./5ZCCNW3O.js";import"./AH2HQH4E.js";import"./BYZPDGIL.js";import"./BGIYWXGF.js";import"./2GXV72MB.js";import"./YIM6J4NU.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{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.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",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)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{e,f as t}from"./IFPYTV3R.js";import"./UITEOOYI.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{e,f as t}from"./2GXV72MB.js";import"./YIM6J4NU.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{a as s}from"./6XYUDJQ2.js";import{a as r}from"./35ZVLYI7.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./S5TXHJGZ.js";import{a as o}from"./6N7ZWEZT.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./UCI3QQAA.js";import"./UITEOOYI.js";var y=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:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}},...r(e,t.thumbnail,s(t),"group",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 o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y as buildUiSchema};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as s}from"./SFNRHY6G.js";import{a as r}from"./YMD26PDD.js";import"./O7LMFSMD.js";import"./H272DO6V.js";import"./HK4XTNBP.js";import"./ADW2XIW4.js";import"./AVA5QVU2.js";import{a as o}from"./44QRT6VW.js";import"./UCURZHST.js";import"./IH7ADVLR.js";import"./LFYHIKU3.js";import"./R6PTVOZ7.js";import"./B7MFQJBB.js";import"./YIM6J4NU.js";var y=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:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}},...r(e,t.thumbnail,s(t),"group",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 o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y as buildUiSchema};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{a as o}from"./CXOHKJLR.js";import{b as l}from"./UCI3QQAA.js";import"./UITEOOYI.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as o}from"./KT5WRAHK.js";import{b as l}from"./B7MFQJBB.js";import"./YIM6J4NU.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
@@ -1,7 +1,7 @@
1
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.5 */
4
- import{a as u,b as m}from"./OZWDP6Y7.js";import{b as g}from"./M35TRRGF.js";import{D as p,c as o,d as l,y as d}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var f=o`/** @license
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{b as g}from"./NEO6JGNW.js";import{b as m}from"./VKGJAPNM.js";import{h as o,i as l,w as d,x as p,y as u}from"./4SPV77R7.js";import"./YIM6J4NU.js";var f=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{a as u,b as m}from"./OZWDP6Y7.js";import{b as g}from"./M35TRRGF.js";impor
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block}.search-widget{width:100%!important;border:1px solid var(--calcite-color-border-input)}`,h=class extends d{constructor(){super(...arguments),this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchTerm="",this._searchElement=u()}static{this.properties={mapView:0,popupEnabled:5,resultGraphicEnabled:5,searchConfiguration:0,searchTerm:1,searchWidget:0}}static{this.styles=f}willUpdate(e){e.has("searchConfiguration")&&this.watchSearchConfigurationHandler(),e.has("mapView")&&this.mapViewWatchHandler()}async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView?.when(()=>{this._initSearchWidget()})}async load(){await this._initModules()}loaded(){return this._initSearchWidget()}render(){return l`<div class="search-widget" ${m(this._searchElement)}></div>`}async _initModules(){let[e,s]=await g(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=e,this.FeatureLayer=s}_initSearchWidget(){if(this.mapView&&this._searchElement.value&&!this.searchWidget){let e={view:this.mapView,container:this._searchElement.value,searchTerm:this.searchTerm};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this.mapView)}),this.searchWidget=this.Search&&new this.Search(e),this.searchWidget&&(this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled)}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(e,s){let w="includeDefaultSources",a=e.sources;return a&&a?.length>0?(e[w]=!1,a.forEach(t=>{if(t.hasOwnProperty("layer")){let i=t,r=i.layer?.id,n=r?s.map?.findLayerById(r):null,c=i?.layer?.url;n?i.layer=n:c&&this.FeatureLayer&&(i.layer=new this.FeatureLayer(c))}}),a?.forEach(t=>{if(t.hasOwnProperty("locator")){let i=t;if(i?.name==="ArcGIS World Geocoding Service"){let r=i.outFields||["Addr_type","Match_addr","StAddr","City"];i.outFields=r,i.singleLineFieldName="SingleLine"}i.url=i.url,delete i.url}})):e={...e,includeDefaultSources:!0},e}};p("map-search",h);export{h as MapSearch};
18
+ */:host{display:block}.search-widget{width:100%!important;border:1px solid var(--calcite-color-border-input)}`,h=class extends u{constructor(){super(...arguments),this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchTerm="",this._searchElement=d()}static{this.properties={mapView:0,popupEnabled:5,resultGraphicEnabled:5,searchConfiguration:0,searchTerm:1,searchWidget:0}}static{this.styles=f}willUpdate(e){e.has("searchConfiguration")&&this.watchSearchConfigurationHandler(),e.has("mapView")&&this.mapViewWatchHandler()}async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView?.when(()=>{this._initSearchWidget()})}async load(){await this._initModules()}loaded(){return this._initSearchWidget()}render(){return l`<div class="search-widget" ${p(this._searchElement)}></div>`}async _initModules(){let[e,s]=await g(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=e,this.FeatureLayer=s}_initSearchWidget(){if(this.mapView&&this._searchElement.value&&!this.searchWidget){let e={view:this.mapView,container:this._searchElement.value,searchTerm:this.searchTerm};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this.mapView)}),this.searchWidget=this.Search&&new this.Search(e),this.searchWidget&&(this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled)}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(e,s){let w="includeDefaultSources",a=e.sources;return a&&a?.length>0?(e[w]=!1,a.forEach(t=>{if(t.hasOwnProperty("layer")){let i=t,r=i.layer?.id,n=r?s.map?.findLayerById(r):null,c=i?.layer?.url;n?i.layer=n:c&&this.FeatureLayer&&(i.layer=new this.FeatureLayer(c))}}),a?.forEach(t=>{if(t.hasOwnProperty("locator")){let i=t;if(i?.name==="ArcGIS World Geocoding Service"){let r=i.outFields||["Addr_type","Match_addr","StAddr","City"];i.outFields=r,i.singleLineFieldName="SingleLine"}i.url=i.url,delete i.url}})):e={...e,includeDefaultSources:!0},e}};m("map-search",h);export{h as MapSearch};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{a as m}from"./VIRNYXF5.js";import{a as p}from"./35ZVLYI7.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import{a,b as n}from"./WCEUO2OS.js";import"./2QFMILDU.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import{a as r}from"./E4626BS2.js";import{a as s}from"./6N7ZWEZT.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import{a as i}from"./JOWT5YJ4.js";import"./TENNMXGF.js";import"./WNFUARBO.js";import"./UCI3QQAA.js";import"./MURI73WZ.js";import"./CGZZGJLP.js";import"./JUVS4QTT.js";import"./OQJGVRY2.js";import"./UR7ODANG.js";import"./JJJAHCRO.js";import"./RCDWSNVF.js";import"./76DZHGT4.js";import"./HKKUMEH5.js";import"./H72WOGJ7.js";import"./7OEQCUDV.js";import"./IAHPQU5I.js";import"./2RWXUIPE.js";import"./QQPQDFEM.js";import"./7NMV3XFP.js";import"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";var g=async(e,t,l)=>{var o;return{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:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...p(e,t.thumbnail,t.thumbnailUrl,"initiative",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 s(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await r(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await a(t.location,l.hubRequestOptions),options:await n(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroBannerAppearance.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroBannerAppearance.helperText"}},elements:[{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:m((o=t.view)===null||o===void 0?void 0:o.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}}}]}]}]}};export{g as buildUiSchema};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as m}from"./DXJEOQCH.js";import{a as p}from"./YMD26PDD.js";import"./O7LMFSMD.js";import"./H272DO6V.js";import"./HK4XTNBP.js";import"./ADW2XIW4.js";import{a,b as n}from"./2GJB6LPB.js";import"./OQU4LYMF.js";import"./ZYPY7D74.js";import"./AVA5QVU2.js";import{a as r}from"./HJO2CQWJ.js";import{a as s}from"./44QRT6VW.js";import"./UCURZHST.js";import"./IH7ADVLR.js";import"./3C7RF6EE.js";import"./LFYHIKU3.js";import"./R6PTVOZ7.js";import{a as i}from"./I6WXPX3C.js";import"./FWW6GXHG.js";import"./B7MFQJBB.js";import"./QYFSBDDP.js";import"./WBA5I2LS.js";import"./RQNJFE3E.js";import"./JWMNXRYC.js";import"./K5UZCUIP.js";import"./6QCLIAW4.js";import"./KSJPYPQO.js";import"./JJULCE5N.js";import"./SBBYIAQT.js";import"./C7DUXXD3.js";import"./S4N6CMM4.js";import"./A4RGKVUV.js";import"./RW7QCD4F.js";import"./FEQ4AT3P.js";import"./WB2BLNBK.js";import"./5ZCCNW3O.js";import"./AH2HQH4E.js";import"./BYZPDGIL.js";import"./BGIYWXGF.js";import"./2GXV72MB.js";import"./YIM6J4NU.js";var g=async(e,t,l)=>{var o;return{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:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...p(e,t.thumbnail,t.thumbnailUrl,"initiative",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 s(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await r(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await a(t.location,l.hubRequestOptions),options:await n(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroBannerAppearance.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroBannerAppearance.helperText"}},elements:[{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:m((o=t.view)===null||o===void 0?void 0:o.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}}}]}]}]}};export{g as buildUiSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{z as s}from"./4SPV77R7.js";var t=s({defaultAssetPath:"https://jsdev.arcgis.com/next/instant-apps-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:d,setAssetPath:i}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,d as c};
@@ -1,4 +1,4 @@
1
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.5 */
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
4
  var E;(function(r){r.ASC="ASC",r.DESC="DESC"})(E||(E={}));var A;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(A||(A={}));var n;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(n||(n={}));var e;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(e||(e={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var _;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(_||(_={}));var N;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(N||(N={}));var p;(function(r){r.POST="post"})(p||(p={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var D;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(D||(D={}));var I;(function(r){r.CSV="csv",r.JSON="json"})(I||(I={}));var u;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(u||(u={}));var O;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(O||(O={}));var a;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(a||(a={}));var i;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(i||(i={}));var R;(function(r){r.CHANNEL_ACL="channelAcl"})(R||(R={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var v;(function(r){r.ADMIN="admin",r.MEMBER="member"})(v||(v={}));var f;(function(r){r.CONTENT="content"})(f||(f={}));export{I as a,u as b,R as c,U as d,v as e,f};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{b as p,d as n,e as h,f as R}from"./B2AAEHPJ.js";function a(r={}){return r.portal?R(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function nr(r,t){let e=P(r,t),o=Object.assign({httpMethod:"GET"},t);return n(e,o)}var P=(r,t)=>`${typeof t=="string"?t:a(t)}/content/items/${r}`;function ar(r,t){let e=`${P(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),n(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function ir(r){let t=`${P(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,n(t,e)}function mr(r,t){let e=`${P(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),n(e,o)}function lr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/delete`;return n(e,r)})}function dr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),n(e,r)})}function hr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return n(e,r)})}function xr(r,t){let e=r||"self",o=`${a(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return n(o,i)}function W(r){return u(r).then(t=>{let e=r.folderId?`${a(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${a(r)}/content/users/${t}/items/${r.item.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent)),n(e,r)})}function Ur(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),n(e,r)})}function jr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),n(e,r)})}function Cr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return n(e,o)})}function Rr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),n(e,r)})}function Dr(r){return u(r).then(t=>{let o=`${`${a(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),n(o,r)})}function Y(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${a(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return n(o,i)})}function Wr(r){let t=Object.assign({folderId:null},r);return Y(t)}function Xr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/protect`;return n(e,r)})}function Zr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/unprotect`;return n(e,r)})}function E(r,t){let e=`${a(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return n(e,o)}function tt(r,t){let e=`${a(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),n(e,o)}function M(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${a(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function A(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function G(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function v(r){return E(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=a(e)+o;return n(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function k(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function F(r){let t=r.id,e=`${a(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...N("users",r.users,o),...N("admins",r.admins,o)].map(c=>H(e,c));return Promise.all(m).then(J)}function N(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>z(r,i,e))}function z(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function H(r,t){return n(r,t).catch(e=>({errors:[e]}))}function J(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function _(r){let{id:t,users:e}=r,o=`${a(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return n(o,d).catch(f=>({errors:[f]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=l=>c.filter(g=>g[l]).reduce((g,w)=>g.concat(w[l]),[]),f=d("errors"),s={notRemoved:d("notRemoved")};return f.length?Object.assign(Object.assign({},s),{errors:f}):s})}function Ft(r){let t=`${a(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),n(t,r)}function Ht(r){let t=`${a(r)}/community/groups/${r.id}/protect`;return n(t,r)}function Jt(r){let t=`${a(r)}/community/groups/${r.id}/unprotect`;return n(t,r)}function Kt(r){let t=`${a(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return n(t,e)}function Ot(r){return $(r,"group")}function qt(r){return $(r,"groupContent")}function oe(r){let t=`${a(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),n(t,r)}function S(r){let t=`${a(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,n(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${a(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return n(t,e)}async function Le(r){let t=await r.authentication.getUsername(),e=M(r,t);return A(r,t)?B(e,r):G(r).then(o=>{if(o)return B(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function B(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),n(r,t)}function T(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return k(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function ao(r){return T(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),v(r)]).then(([f,s,l])=>{let g=!!o;return c=f.role==="org_admin"&&!f.roleId,d=f.orgId!==s.orgId,V(f,g,l,c,s,r)}).then(f=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:l=>Promise.resolve(l)}]=f;return Promise.all(f.map(({promise:l})=>l)).then(()=>D(r,c,d)).then(l=>s(l))})}return D(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function V(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(C(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),C(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(C(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function D(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${a(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${a(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},n(m,r)}function C(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,f;if(c)e&&c.userMembership.memberType==="member"?(d=S({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let l=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:l})}).catch(()=>({notAdded:[t.username]})),f=s=>S({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),f=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=F({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(l=>{if(l.errors&&l.errors.length)throw l.errors[0];return l}).catch(()=>({notAdded:[t.username]})),f=l=>_({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>l)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:f}}function lo(r){return T(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([v(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,f=m.role==="org_admin"&&!m.roleId;if(!d&&!f&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return L(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function L(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${a(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${a(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},n(o,r)}function wo(r){return Q(null,r)}function Q(r,t){let e=r||"self",o=`${a(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return n(o,i)}export{a,u as b,W as c,Ur as d,jr as e,Cr as f,Rr as g,Dr as h,Y as i,Wr as j,nr as k,ar as l,ir as m,mr as n,Xr as o,Zr as p,E as q,tt as r,lr as s,dr as t,hr as u,x as v,k as w,_ as x,Ft as y,Ht as z,Jt as A,Kt as B,Ot as C,qt as D,oe as E,I as F,Le as G,ao as H,lo as I,wo as J,Q as K,xr as L};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{b as p,d as n,e as h,f as R}from"./IH7ADVLR.js";function a(r={}){return r.portal?R(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function nr(r,t){let e=P(r,t),o=Object.assign({httpMethod:"GET"},t);return n(e,o)}var P=(r,t)=>`${typeof t=="string"?t:a(t)}/content/items/${r}`;function ar(r,t){let e=`${P(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),n(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function ir(r){let t=`${P(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,n(t,e)}function mr(r,t){let e=`${P(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),n(e,o)}function lr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/delete`;return n(e,r)})}function dr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),n(e,r)})}function hr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return n(e,r)})}function xr(r,t){let e=r||"self",o=`${a(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return n(o,i)}function W(r){return u(r).then(t=>{let e=r.folderId?`${a(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${a(r)}/content/users/${t}/items/${r.item.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent)),n(e,r)})}function Ur(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),n(e,r)})}function jr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),n(e,r)})}function Cr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return n(e,o)})}function Rr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),n(e,r)})}function Dr(r){return u(r).then(t=>{let o=`${`${a(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),n(o,r)})}function Y(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${a(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return n(o,i)})}function Wr(r){let t=Object.assign({folderId:null},r);return Y(t)}function Xr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/protect`;return n(e,r)})}function Zr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/unprotect`;return n(e,r)})}function E(r,t){let e=`${a(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return n(e,o)}function tt(r,t){let e=`${a(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),n(e,o)}function M(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${a(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function A(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function G(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function v(r){return E(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=a(e)+o;return n(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function k(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function F(r){let t=r.id,e=`${a(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...N("users",r.users,o),...N("admins",r.admins,o)].map(c=>H(e,c));return Promise.all(m).then(J)}function N(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>z(r,i,e))}function z(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function H(r,t){return n(r,t).catch(e=>({errors:[e]}))}function J(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function _(r){let{id:t,users:e}=r,o=`${a(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return n(o,d).catch(f=>({errors:[f]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=l=>c.filter(g=>g[l]).reduce((g,w)=>g.concat(w[l]),[]),f=d("errors"),s={notRemoved:d("notRemoved")};return f.length?Object.assign(Object.assign({},s),{errors:f}):s})}function Ft(r){let t=`${a(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),n(t,r)}function Ht(r){let t=`${a(r)}/community/groups/${r.id}/protect`;return n(t,r)}function Jt(r){let t=`${a(r)}/community/groups/${r.id}/unprotect`;return n(t,r)}function Kt(r){let t=`${a(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return n(t,e)}function Ot(r){return $(r,"group")}function qt(r){return $(r,"groupContent")}function oe(r){let t=`${a(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),n(t,r)}function S(r){let t=`${a(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,n(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${a(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return n(t,e)}async function Le(r){let t=await r.authentication.getUsername(),e=M(r,t);return A(r,t)?B(e,r):G(r).then(o=>{if(o)return B(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function B(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),n(r,t)}function T(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return k(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function ao(r){return T(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),v(r)]).then(([f,s,l])=>{let g=!!o;return c=f.role==="org_admin"&&!f.roleId,d=f.orgId!==s.orgId,V(f,g,l,c,s,r)}).then(f=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:l=>Promise.resolve(l)}]=f;return Promise.all(f.map(({promise:l})=>l)).then(()=>D(r,c,d)).then(l=>s(l))})}return D(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function V(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(C(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),C(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(C(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function D(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${a(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${a(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},n(m,r)}function C(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,f;if(c)e&&c.userMembership.memberType==="member"?(d=S({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let l=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:l})}).catch(()=>({notAdded:[t.username]})),f=s=>S({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),f=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=F({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(l=>{if(l.errors&&l.errors.length)throw l.errors[0];return l}).catch(()=>({notAdded:[t.username]})),f=l=>_({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>l)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:f}}function lo(r){return T(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([v(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,f=m.role==="org_admin"&&!m.roleId;if(!d&&!f&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return L(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function L(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${a(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${a(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},n(o,r)}function wo(r){return Q(null,r)}function Q(r,t){let e=r||"self",o=`${a(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return n(o,i)}export{a,u as b,W as c,Ur as d,jr as e,Cr as f,Rr as g,Dr as h,Y as i,Wr as j,nr as k,ar as l,ir as m,mr as n,Xr as o,Zr as p,E as q,tt as r,lr as s,dr as t,hr as u,x as v,k as w,_ as x,Ft as y,Ht as z,Jt as A,Kt as B,Ot as C,qt as D,oe as E,I as F,Le as G,ao as H,lo as I,wo as J,Q as K,xr as L};