@esri/solutions-components 1.1.0-next.20251008 → 1.1.0-next.20251009

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 (467) hide show
  1. package/dist/cdn/{2BAELQ2B.js → 226EKHZI.js} +2 -2
  2. package/dist/cdn/{I2HXAHV6.js → 243VF4YK.js} +2 -2
  3. package/dist/cdn/{ZKRVRV6G.js → 26IT2E3J.js} +2 -2
  4. package/dist/cdn/{GEWPH5ED.js → 2AH2WSNR.js} +2 -2
  5. package/dist/cdn/{WFTALSMZ.js → 2BTD7WOH.js} +2 -2
  6. package/dist/cdn/{B6S6Q4VM.js → 2EPBHDKS.js} +2 -2
  7. package/dist/cdn/{Q2HKN3EB.js → 2JRSQSXY.js} +2 -2
  8. package/dist/cdn/{O3NGJV5R.js → 2JYNQUQN.js} +2 -2
  9. package/dist/cdn/{YOXQ37WM.js → 2N7CXCK5.js} +2 -2
  10. package/dist/cdn/{GF2M5LOG.js → 2NXNFYET.js} +1 -1
  11. package/dist/cdn/{F3FOBCCL.js → 2QFCQREF.js} +2 -2
  12. package/dist/cdn/{QXHCTHCT.js → 34VVVXQX.js} +2 -2
  13. package/dist/cdn/{2N6QQ6SY.js → 36FSS2E6.js} +2 -2
  14. package/dist/cdn/{YY64KEJX.js → 3ILNZEC4.js} +2 -2
  15. package/dist/cdn/{CYOMKXQH.js → 3JAJM6DX.js} +2 -2
  16. package/dist/cdn/{FMQHATJ4.js → 3KLZ7B3U.js} +2 -2
  17. package/dist/cdn/{JO2YIPSA.js → 3MXA5J55.js} +2 -2
  18. package/dist/cdn/{BL3ABOXI.js → 3NENGL6B.js} +2 -2
  19. package/dist/cdn/3QYAGUQH.js +18 -0
  20. package/dist/cdn/{A5VQCLH7.js → 3SELIRDQ.js} +2 -2
  21. package/dist/cdn/{6YUA724T.js → 3T7RYRJA.js} +2 -2
  22. package/dist/cdn/3TMXINCP.js +89 -0
  23. package/dist/cdn/{RWBWO74A.js → 42FNOYAU.js} +2 -2
  24. package/dist/cdn/{KTV27UYP.js → 4ABNCQDB.js} +2 -2
  25. package/dist/cdn/{5YDUOHOV.js → 4ER4R32B.js} +2 -2
  26. package/dist/cdn/{LQL2QL7Z.js → 4EV62ZAH.js} +2 -2
  27. package/dist/cdn/{36E4KEBV.js → 4HNOA75C.js} +2 -2
  28. package/dist/cdn/{HCXJO4ZV.js → 4JW4CQNN.js} +2 -2
  29. package/dist/cdn/{XVNHEPOT.js → 4L5CJ23W.js} +2 -2
  30. package/dist/cdn/{KISUUVHL.js → 4NIOJ5Q7.js} +2 -2
  31. package/dist/cdn/{OPROEGUT.js → 4SKPOAEA.js} +1 -1
  32. package/dist/cdn/{O3XKIE2J.js → 4SMKQVHS.js} +2 -2
  33. package/dist/cdn/{UPYXLGGJ.js → 4TOCWPT7.js} +2 -2
  34. package/dist/cdn/{NRAACAEG.js → 4XQBM6NS.js} +2 -2
  35. package/dist/cdn/{WAJHKOXL.js → 53SIKPP4.js} +2 -2
  36. package/dist/cdn/{VTWUPEWR.js → 5AFOHCKK.js} +2 -2
  37. package/dist/cdn/{PRHI2P5H.js → 5D37OJV6.js} +2 -2
  38. package/dist/cdn/5KRZOHOG.js +4 -0
  39. package/dist/cdn/{T6QN3XU6.js → 5QLH2JLO.js} +2 -2
  40. package/dist/cdn/{TIQJCA7O.js → 5VQBNU6N.js} +2 -2
  41. package/dist/cdn/{KYHIL5F4.js → 5W3FJJMX.js} +2 -2
  42. package/dist/cdn/{45SM5GZH.js → 5XBU6WNO.js} +2 -2
  43. package/dist/cdn/{JTVAOAZ7.js → 5ZJHNTJJ.js} +2 -2
  44. package/dist/cdn/{6SPEIDJ5.js → 67D7ZMIO.js} +2 -2
  45. package/dist/cdn/{XQ23FEV5.js → 6ETHNHOQ.js} +1 -1
  46. package/dist/cdn/{COOGOQHS.js → 6GV5SWOL.js} +2 -2
  47. package/dist/cdn/{V3D3KQMH.js → 6IZ72CYT.js} +2 -2
  48. package/dist/cdn/{E2VLBYBH.js → 6K7IMQAZ.js} +1 -1
  49. package/dist/cdn/{ECOUV44T.js → 6KRIA3WU.js} +1 -1
  50. package/dist/cdn/{HH54CNIV.js → 6PTHBN37.js} +2 -2
  51. package/dist/cdn/{QJF73Q5E.js → 6Q3W2MTP.js} +2 -2
  52. package/dist/cdn/{47FKRLN3.js → 6VW53YUA.js} +2 -2
  53. package/dist/cdn/{DYBE22PJ.js → 6ZCPANPE.js} +1 -1
  54. package/dist/cdn/{PQHKBYCX.js → 74EZV4UX.js} +2 -2
  55. package/dist/cdn/{MYCZWDNE.js → 76QJRQBJ.js} +2 -2
  56. package/dist/cdn/{DBJPHEAI.js → 76SE6KPJ.js} +2 -2
  57. package/dist/cdn/{NWOQI5RY.js → 77F7MDBV.js} +2 -2
  58. package/dist/cdn/{VRUSDHE4.js → 7CCJSXT2.js} +1 -1
  59. package/dist/cdn/{ZDIUB5SS.js → 7FCXE7NI.js} +2 -2
  60. package/dist/cdn/{PEBGTHOV.js → 7GJPU4K4.js} +2 -2
  61. package/dist/cdn/{MTVIEZFJ.js → 7I2TS3GR.js} +1 -1
  62. package/dist/cdn/{Z55VK2A4.js → 7I5NXQ33.js} +2 -2
  63. package/dist/cdn/{JP6YXAPE.js → 7SDNNJMZ.js} +2 -2
  64. package/dist/cdn/7WNAFFUW.js +18 -0
  65. package/dist/cdn/{M4XLFOSN.js → 7YH3U343.js} +2 -2
  66. package/dist/cdn/{KVQZP6O4.js → 7ZJDDQT3.js} +2 -2
  67. package/dist/cdn/{JEFNAYRC.js → A34HAXS3.js} +2 -2
  68. package/dist/cdn/{3WYRUOQV.js → A3G7VILZ.js} +2 -2
  69. package/dist/cdn/{5DY37DLG.js → A6VJRS3P.js} +2 -2
  70. package/dist/cdn/A7ZCUUWM.js +18 -0
  71. package/dist/cdn/{CGO5LGR7.js → AA5KKISV.js} +2 -2
  72. package/dist/cdn/{5IDSR36K.js → AQAFMTV6.js} +2 -2
  73. package/dist/cdn/{VG5FZ7YA.js → AUO3LWK7.js} +2 -2
  74. package/dist/cdn/{NVUDY5NV.js → B267WMF6.js} +2 -2
  75. package/dist/cdn/{RDSFFS6W.js → B2OVGNEE.js} +2 -2
  76. package/dist/cdn/{FP2X4HGU.js → B3AUIQZF.js} +2 -2
  77. package/dist/cdn/{P3LEA437.js → B5NR3C3E.js} +2 -2
  78. package/dist/cdn/{LD2YG4B3.js → B7DYL7LN.js} +1 -1
  79. package/dist/cdn/{7E5346VE.js → B7GUMABT.js} +2 -2
  80. package/dist/cdn/{APLZT37S.js → BBW7AC2K.js} +2 -2
  81. package/dist/cdn/{PCDF6QXH.js → BFBCENRQ.js} +2 -2
  82. package/dist/cdn/{6UVMKSM6.js → BHHGVC25.js} +2 -2
  83. package/dist/cdn/{GOSQMPLD.js → BKQTXCOD.js} +2 -2
  84. package/dist/cdn/{PKE6K37P.js → BMM3OTCM.js} +2 -2
  85. package/dist/cdn/{ZE3LSA7J.js → BMPGHWZT.js} +2 -2
  86. package/dist/cdn/{GFS4R63J.js → BYBVVZYA.js} +2 -2
  87. package/dist/cdn/{263SV4HF.js → CBOGHC63.js} +1 -1
  88. package/dist/cdn/{TU5KAWJK.js → CJ5XERUL.js} +2 -2
  89. package/dist/cdn/{5XAMNT64.js → CN7MWGHW.js} +2 -2
  90. package/dist/cdn/{374NLSIQ.js → COT5JG6F.js} +2 -2
  91. package/dist/cdn/{XGLM2UZY.js → CRJOXM3C.js} +1 -1
  92. package/dist/cdn/{WLLNQ57Z.js → CWCZOOFR.js} +2 -2
  93. package/dist/cdn/{QY2P42L7.js → CX5OMPL5.js} +2 -2
  94. package/dist/cdn/{7D7PLTZ4.js → CXKKDPGI.js} +2 -2
  95. package/dist/cdn/CY5EU6CB.js +4 -0
  96. package/dist/cdn/{IENRYNZD.js → CYISDZ7S.js} +2 -2
  97. package/dist/cdn/{A7TMB3QO.js → D7KDA4VG.js} +2 -2
  98. package/dist/cdn/{GRXEIRTE.js → D7XDPUSJ.js} +2 -2
  99. package/dist/cdn/{S73UN6E4.js → DHEIRCI3.js} +1 -1
  100. package/dist/cdn/{5M7LHGH5.js → DHWQHSSL.js} +2 -2
  101. package/dist/cdn/{DQDVULCQ.js → DI6CERQV.js} +2 -2
  102. package/dist/cdn/{NQU5NMT4.js → DJUCWGCW.js} +2 -2
  103. package/dist/cdn/{OSNJFNHS.js → DME4JNOT.js} +2 -2
  104. package/dist/cdn/{GYSALAOZ.js → DMFPVVK5.js} +2 -2
  105. package/dist/cdn/{CPJVO4SH.js → DPSXO6CT.js} +2 -2
  106. package/dist/cdn/{JQUH7OAI.js → DSLPBIW7.js} +2 -2
  107. package/dist/cdn/{Z54C5XQI.js → DU4GKE5S.js} +2 -2
  108. package/dist/cdn/{RI2IDZMD.js → DZGW46QG.js} +2 -2
  109. package/dist/cdn/{SSDCAJ6N.js → DZOR3MZ2.js} +3 -3
  110. package/dist/cdn/{JEW4GF3X.js → EA5C7NIW.js} +2 -2
  111. package/dist/cdn/{LFOXHOWK.js → EEYBFROQ.js} +2 -2
  112. package/dist/cdn/{2QQAS4R2.js → EGUK5B4A.js} +2 -2
  113. package/dist/cdn/{AQAS2VQU.js → EIXNBA6I.js} +2 -2
  114. package/dist/cdn/{BEBRHZ2J.js → EKFHNN73.js} +2 -2
  115. package/dist/cdn/{7QOJ6BUQ.js → ELKIH3DJ.js} +3 -3
  116. package/dist/cdn/{J7VZH6OU.js → EOVPDUOM.js} +2 -2
  117. package/dist/cdn/{UBKGY3QD.js → EXPGGFET.js} +2 -2
  118. package/dist/cdn/{I6RK367K.js → EXY6X22Q.js} +2 -2
  119. package/dist/cdn/{J7IIBYLE.js → EZ2UWRYF.js} +2 -2
  120. package/dist/cdn/{HZ23755H.js → F7GGXQ54.js} +2 -2
  121. package/dist/cdn/{NXOJQH57.js → FC7AN576.js} +2 -2
  122. package/dist/cdn/{CJFSFE4Q.js → FCIOM4CD.js} +1 -1
  123. package/dist/cdn/{L6BR25YZ.js → FEZV7OSP.js} +1 -1
  124. package/dist/cdn/{GP4O5WSB.js → FNT5NEFS.js} +2 -2
  125. package/dist/cdn/{Q2NJEOXE.js → FU6T75NF.js} +2 -2
  126. package/dist/cdn/{ONGKQVFQ.js → FWUQZ3X3.js} +2 -2
  127. package/dist/cdn/{QLYZZQM4.js → FXLZ2G3B.js} +2 -2
  128. package/dist/cdn/{GIMIQHFZ.js → G3ATMUBJ.js} +1 -1
  129. package/dist/cdn/{QPEF7Z34.js → G42B6MR7.js} +1 -1
  130. package/dist/cdn/{VFCKMV6Y.js → GDLEPFHR.js} +2 -2
  131. package/dist/cdn/{O4NDGWYY.js → GNMN5Y5L.js} +2 -2
  132. package/dist/cdn/{HPCUUO33.js → GRXPNSVT.js} +1 -1
  133. package/dist/cdn/{H42IJHAX.js → GVJS66GD.js} +2 -2
  134. package/dist/cdn/{HBBXC2RM.js → GWW2W723.js} +2 -2
  135. package/dist/cdn/{TUNQKYFT.js → GXGE4F75.js} +4 -4
  136. package/dist/cdn/{IZT7SBVB.js → GZG7NEOR.js} +2 -2
  137. package/dist/cdn/{CDUOU5I4.js → H7RUG54M.js} +2 -2
  138. package/dist/cdn/{OU7ZZNCL.js → HGQ3H5NR.js} +1 -1
  139. package/dist/cdn/{4OYX2EDV.js → HIEQOA47.js} +2 -2
  140. package/dist/cdn/{N7UJGANS.js → HONGNHE7.js} +2 -2
  141. package/dist/cdn/{HWYOXZWU.js → HPJZQVYK.js} +2 -2
  142. package/dist/cdn/{NHJBWAQB.js → HQ3X7DTJ.js} +2 -2
  143. package/dist/cdn/{XEXBFO26.js → HUDLB6WS.js} +2 -2
  144. package/dist/cdn/{SMAWIWJ6.js → HUQF7L2V.js} +2 -2
  145. package/dist/cdn/{NVCH434R.js → I35LP6AP.js} +2 -2
  146. package/dist/cdn/{GSPU2UNM.js → I3IEAVA4.js} +2 -2
  147. package/dist/cdn/IA7LMYXQ.js +4 -0
  148. package/dist/cdn/{S5Z53TV7.js → IANPXHOC.js} +2 -2
  149. package/dist/cdn/{DOLZSVSX.js → ICSXIORY.js} +2 -2
  150. package/dist/cdn/{NFBCBMDM.js → IH3JSV4L.js} +2 -2
  151. package/dist/cdn/{HZXKVSID.js → IJIOMW76.js} +2 -2
  152. package/dist/cdn/{U7EPLCCV.js → IKEPEJSC.js} +2 -2
  153. package/dist/cdn/{IMUYTCYZ.js → IVNPCIFN.js} +1 -1
  154. package/dist/cdn/{GEJYMCY4.js → J3KJVEQM.js} +1 -1
  155. package/dist/cdn/{J2SHXZLC.js → JA6XJHST.js} +2 -2
  156. package/dist/cdn/{BDQFIIOP.js → JAEFUU7E.js} +2 -2
  157. package/dist/cdn/{AB2P367V.js → JBTU5LYM.js} +2 -2
  158. package/dist/cdn/{ANGKYR7S.js → JF3DBMQC.js} +2 -2
  159. package/dist/cdn/{AUSMFDSO.js → JHAMVTNV.js} +2 -2
  160. package/dist/cdn/{YKXQ4DQK.js → JHVPCIGT.js} +2 -2
  161. package/dist/cdn/{LRA2CSKG.js → JL2P3OXW.js} +1 -1
  162. package/dist/cdn/{UJGGK4LU.js → JLL4BYYV.js} +2 -2
  163. package/dist/cdn/{G3OWUZUL.js → JWNZVRXT.js} +1 -1
  164. package/dist/cdn/{BGSIHZYK.js → JY72U7AC.js} +2 -2
  165. package/dist/cdn/{HFMYMAZO.js → K3CZ4NX3.js} +2 -2
  166. package/dist/cdn/{SV4ET5K3.js → KDANYDON.js} +2 -2
  167. package/dist/cdn/{PRI7A4BS.js → KLGEKJVD.js} +2 -2
  168. package/dist/cdn/{YGUW733V.js → KV2AI44O.js} +2 -2
  169. package/dist/cdn/{FQCEMQLK.js → L4MZ3SRK.js} +2 -2
  170. package/dist/cdn/{XDCW4PUR.js → L5FFR5IW.js} +2 -2
  171. package/dist/cdn/{2KTV6DNT.js → LB4XXKXQ.js} +2 -2
  172. package/dist/cdn/{J4URZEGS.js → LGH2MNKB.js} +2 -2
  173. package/dist/cdn/{OGG7NDCX.js → LHCHUU52.js} +2 -2
  174. package/dist/cdn/{O645VA3P.js → LL3OVKGG.js} +2 -2
  175. package/dist/cdn/{RVDQCXWZ.js → LLM6XJLM.js} +2 -2
  176. package/dist/cdn/{CQTWI4PI.js → LOG7XAZY.js} +2 -2
  177. package/dist/cdn/{2LK6LIO5.js → LVAQ5TL6.js} +2 -2
  178. package/dist/cdn/{CC7TCB4L.js → M2YYZVD5.js} +2 -2
  179. package/dist/cdn/{VF3UCUX7.js → M4QRYUPC.js} +1 -1
  180. package/dist/cdn/{DDRZWXLZ.js → MCSVMBT3.js} +2 -2
  181. package/dist/cdn/{FJCFCDT4.js → MCZ5FXVG.js} +1 -1
  182. package/dist/cdn/{I7TITAT7.js → MDNZHHNA.js} +2 -2
  183. package/dist/cdn/{QMVFKBCB.js → MEWN2ZS2.js} +2 -2
  184. package/dist/cdn/{2L3BXXVO.js → ML67KHTJ.js} +2 -2
  185. package/dist/cdn/{7B43KCMJ.js → MLXWP6T3.js} +2 -2
  186. package/dist/cdn/{54N6KCW5.js → MO3ZDQHS.js} +1 -1
  187. package/dist/cdn/{H4WXQMTT.js → MOG3DNAW.js} +2 -2
  188. package/dist/cdn/{T65DB2UP.js → MRTP6T5M.js} +2 -2
  189. package/dist/cdn/{PQ6SIGKH.js → MSE37YY2.js} +2 -2
  190. package/dist/cdn/{E2MZSR7U.js → MVMQLI5V.js} +3 -3
  191. package/dist/cdn/{U2VH2LKP.js → MWIPC3Q3.js} +2 -2
  192. package/dist/cdn/{ANAUQEPH.js → MWJ5QDLR.js} +2 -2
  193. package/dist/cdn/{4A3TOTX4.js → MXUCVOBL.js} +2 -2
  194. package/dist/cdn/N7W7MP75.js +4 -0
  195. package/dist/cdn/{WWIIN7JA.js → NCSFOFEP.js} +2 -2
  196. package/dist/cdn/{YRWHOMVM.js → NK2BUMZ3.js} +2 -2
  197. package/dist/cdn/{IPA4TRIC.js → NMZRKCZJ.js} +2 -2
  198. package/dist/cdn/{AMNWNL4P.js → NRELBK3K.js} +2 -2
  199. package/dist/cdn/{JWSJC4JO.js → NSAYCRHW.js} +2 -2
  200. package/dist/cdn/{ET7554LK.js → NVO76HPK.js} +2 -2
  201. package/dist/cdn/{MTSR3QI3.js → OAATM3IS.js} +2 -2
  202. package/dist/cdn/{2EF5YORW.js → OBCI3UP5.js} +2 -2
  203. package/dist/cdn/{WN2KPHQU.js → OBG3ZDPQ.js} +2 -2
  204. package/dist/cdn/{A37NFP5A.js → OC6XUPAK.js} +2 -2
  205. package/dist/cdn/OD6TX7KT.js +4 -0
  206. package/dist/cdn/{RC6YB5BA.js → ODZHRVH3.js} +2 -2
  207. package/dist/cdn/{LAGZ2SQ3.js → OGG2DXTJ.js} +2 -2
  208. package/dist/cdn/{EU4DOU3Q.js → ONTFRZRW.js} +2 -2
  209. package/dist/cdn/{OTJ74M6I.js → OO7FHEFG.js} +2 -2
  210. package/dist/cdn/{LS63AKYZ.js → OU5ZW2BU.js} +2 -2
  211. package/dist/cdn/OXMRNPBS.js +4 -0
  212. package/dist/cdn/{RYNPSM5K.js → OZSS4H2S.js} +2 -2
  213. package/dist/cdn/{FL6BD6TD.js → P3JB7IDU.js} +2 -2
  214. package/dist/cdn/PB6VIV4Q.js +4 -0
  215. package/dist/cdn/{RWBGHIUR.js → PCWJM2FN.js} +1 -1
  216. package/dist/cdn/PF5GLPZ3.js +4 -0
  217. package/dist/cdn/{COEKS3L4.js → PGWD7NIZ.js} +2 -2
  218. package/dist/cdn/{7WSAYORV.js → PHXE7HAG.js} +2 -2
  219. package/dist/cdn/{7JDWKOEP.js → PN22QPMG.js} +2 -2
  220. package/dist/cdn/{GAF7MRHW.js → PNDOKPLD.js} +2 -2
  221. package/dist/cdn/{M4YVUIRX.js → PRRHXLB5.js} +2 -2
  222. package/dist/cdn/{5L4OVBYY.js → PTXZWZ4F.js} +2 -2
  223. package/dist/cdn/{H3SLHGJW.js → PTZV3F2R.js} +3 -3
  224. package/dist/cdn/{T3TL4XE3.js → PVPRNP5I.js} +2 -2
  225. package/dist/cdn/{YM3AVODQ.js → PXLN6W6W.js} +2 -2
  226. package/dist/cdn/{2SH7WOTJ.js → QDMZUHS7.js} +2 -2
  227. package/dist/cdn/{WISGIRW6.js → QJ2F77F7.js} +2 -2
  228. package/dist/cdn/{VSW5DJIW.js → QJFZFB2W.js} +2 -2
  229. package/dist/cdn/{GNGZYRK5.js → QK3HU5M7.js} +2 -2
  230. package/dist/cdn/{2ZNOUB6W.js → QNI7TBQ2.js} +1 -1
  231. package/dist/cdn/{EDUNXFWF.js → QQNA62QN.js} +2 -2
  232. package/dist/cdn/{MMFULDI7.js → QSBB7GQ6.js} +1 -1
  233. package/dist/cdn/{PA5TUTEY.js → QT2LAQHT.js} +2 -2
  234. package/dist/cdn/{4YDLQWYV.js → QWD7JVUY.js} +2 -2
  235. package/dist/cdn/{LKYGCBTO.js → QWQKPP6Y.js} +2 -2
  236. package/dist/cdn/{WBJF3AWY.js → R3SVTMKR.js} +2 -2
  237. package/dist/cdn/{CQUVF2LM.js → R4LARKP2.js} +2 -2
  238. package/dist/cdn/{IRYYSNTA.js → R7CT3Y4T.js} +2 -2
  239. package/dist/cdn/{JCUUEAUP.js → RG3BO7AY.js} +2 -2
  240. package/dist/cdn/{IGET5O6R.js → RH5NTXLA.js} +2 -2
  241. package/dist/cdn/{UWL3OUNV.js → RPB2L5YR.js} +1 -1
  242. package/dist/cdn/{5BFBQDAX.js → RROREMR6.js} +2 -2
  243. package/dist/cdn/{M44X66YE.js → RS5O7RQU.js} +2 -2
  244. package/dist/cdn/{2Y2GJJC3.js → RU633SA5.js} +2 -2
  245. package/dist/cdn/{SCMHHOIO.js → RVQISVJ7.js} +2 -2
  246. package/dist/cdn/{IZESOTQ5.js → RWENZJIC.js} +2 -2
  247. package/dist/cdn/{2SJENBGK.js → S4ZX4LBZ.js} +2 -2
  248. package/dist/cdn/{E5LNTRL7.js → S64LM6IC.js} +2 -2
  249. package/dist/cdn/{FWHGSXC7.js → S6UDV3GG.js} +2 -2
  250. package/dist/cdn/S6WM4NDY.js +4 -0
  251. package/dist/cdn/{Q236VD3E.js → SBYAEUJS.js} +2 -2
  252. package/dist/cdn/{AFR63NC6.js → SCOK55L3.js} +2 -2
  253. package/dist/cdn/{FN2OHJMA.js → SDIA27L5.js} +2 -2
  254. package/dist/cdn/{4NWKDPWF.js → SF3EG5NR.js} +2 -2
  255. package/dist/cdn/{ML4GADOT.js → SGLGLKA4.js} +2 -2
  256. package/dist/cdn/{D24CA6LL.js → SGSNI66C.js} +2 -2
  257. package/dist/cdn/{DXNMODEI.js → SHGVPHG7.js} +2 -2
  258. package/dist/cdn/{BTRVTK3N.js → SKM7TPWS.js} +2 -2
  259. package/dist/cdn/{25STH4FV.js → SLFULM7O.js} +2 -2
  260. package/dist/cdn/{OWKQHEDJ.js → SOVCZGKV.js} +2 -2
  261. package/dist/cdn/{YRWXAGEM.js → SP2I6DAS.js} +2 -2
  262. package/dist/cdn/{3TQQK7PR.js → SWIEPYK4.js} +2 -2
  263. package/dist/cdn/{57QWWLMF.js → SWMW7QZQ.js} +2 -2
  264. package/dist/cdn/{MNFNMNHC.js → SZTTA2YZ.js} +2 -2
  265. package/dist/cdn/{JOOKJHEK.js → T2POAIC3.js} +2 -2
  266. package/dist/cdn/{SXV4IA3Z.js → T3EU27V5.js} +2 -2
  267. package/dist/cdn/{LL7K7GIF.js → TE3SERQU.js} +2 -2
  268. package/dist/cdn/{4PNQRCRH.js → TFWL2Z5V.js} +2 -2
  269. package/dist/cdn/{RUSZENO2.js → TIXAREAF.js} +2 -2
  270. package/dist/cdn/{VE5CZHK7.js → TMDJXYFF.js} +2 -2
  271. package/dist/cdn/{SUYDCMXS.js → TNHEIYAF.js} +2 -2
  272. package/dist/cdn/{YW6TF5XX.js → TQHAP3WF.js} +1 -1
  273. package/dist/cdn/{XLEE4XDL.js → TR4KTHZE.js} +2 -2
  274. package/dist/cdn/{F5VNMPDE.js → TRKOGPMK.js} +2 -2
  275. package/dist/cdn/{LPARSJGC.js → TSXFDKFL.js} +2 -2
  276. package/dist/cdn/{R6ONUXKR.js → TWZXSC3I.js} +2 -2
  277. package/dist/cdn/{PBMCCNWE.js → TYANLUYZ.js} +2 -2
  278. package/dist/cdn/{UQBWYG5K.js → U5AKGSFP.js} +2 -2
  279. package/dist/cdn/{XGSKNJHV.js → U5ZMQXWT.js} +2 -2
  280. package/dist/cdn/{IHHCLWCL.js → UA56H5VP.js} +2 -2
  281. package/dist/cdn/{EPVSXMMR.js → UBSQGMJ3.js} +2 -2
  282. package/dist/cdn/{CZSGGEZF.js → UFEUVJXZ.js} +1 -1
  283. package/dist/cdn/{PQE2G3DC.js → UOHC5GPC.js} +2 -2
  284. package/dist/cdn/{WNCFGM2E.js → URE6WWZA.js} +2 -2
  285. package/dist/cdn/{OINEKCE3.js → UZRCLMIV.js} +2 -2
  286. package/dist/cdn/{7DWTV2LQ.js → V4SQ7F5T.js} +1 -1
  287. package/dist/cdn/{OYTQ6PFI.js → VAU6S7LJ.js} +2 -2
  288. package/dist/cdn/{C2SRKJY7.js → VHOUIJX3.js} +2 -2
  289. package/dist/cdn/{MNLAU654.js → VJ7XH7BQ.js} +2 -2
  290. package/dist/cdn/{T62NCWWL.js → VLYVJPDZ.js} +2 -2
  291. package/dist/cdn/{GI4NERHI.js → VM4BFHIZ.js} +2 -2
  292. package/dist/cdn/{VQ6LFGPE.js → VRCZX2NN.js} +2 -2
  293. package/dist/cdn/{FMWXSSZ4.js → VSV4N3FF.js} +2 -2
  294. package/dist/cdn/{42CEBWL3.js → VWIENO5R.js} +2 -2
  295. package/dist/cdn/{RBRMIPTS.js → VXGW42EG.js} +2 -2
  296. package/dist/cdn/{IY6WWNIE.js → VXK44RQM.js} +1 -1
  297. package/dist/cdn/{NAHN46XY.js → VZWBZ7ZJ.js} +2 -2
  298. package/dist/cdn/{MM5ZJPEL.js → W5743N5H.js} +3 -3
  299. package/dist/cdn/{VNKF4L77.js → WMHW2WFZ.js} +1 -1
  300. package/dist/cdn/{AVPIETYT.js → WP3IVJJL.js} +2 -2
  301. package/dist/cdn/{QB7QGBQT.js → WSMZXTEM.js} +2 -2
  302. package/dist/cdn/{S3CGUDVW.js → WT5HVSBV.js} +2 -2
  303. package/dist/cdn/{JHLJUNXJ.js → WTU4WODR.js} +2 -2
  304. package/dist/cdn/{7CXVN7JC.js → WWUJHR4Q.js} +2 -2
  305. package/dist/cdn/{5TQPWXSR.js → WXL2LEWB.js} +2 -2
  306. package/dist/cdn/{LMADLYWT.js → X5NMZI3S.js} +2 -2
  307. package/dist/cdn/{4QB7LJGO.js → X6QTF4AP.js} +2 -2
  308. package/dist/cdn/{LQAZAPET.js → X7WZ66XE.js} +2 -2
  309. package/dist/cdn/{DAYQPNTV.js → XARCEH7R.js} +2 -2
  310. package/dist/cdn/{S2ATXCOV.js → XBQ44PA7.js} +2 -2
  311. package/dist/cdn/{IG5F5THG.js → XQ765V7U.js} +2 -2
  312. package/dist/cdn/{IQ6TRK4L.js → XQEOXZKV.js} +2 -2
  313. package/dist/cdn/{R5MOYHJE.js → XQZKO5TB.js} +2 -2
  314. package/dist/cdn/{QPLFQF7K.js → XTXJ33WB.js} +2 -2
  315. package/dist/cdn/{TX7HPSHQ.js → Y3DYWWOY.js} +2 -2
  316. package/dist/cdn/{KJZHHJQ5.js → Y44JLKQH.js} +2 -2
  317. package/dist/cdn/{NS6VPU4I.js → Y5ACJQDB.js} +1 -1
  318. package/dist/cdn/YBGBKHQR.js +4 -0
  319. package/dist/cdn/{YECBIR5K.js → YDDBA5BZ.js} +1 -1
  320. package/dist/cdn/{XTXQCLUY.js → YEC444BK.js} +2 -2
  321. package/dist/cdn/{ELVJVOF7.js → YGJWDZYW.js} +2 -2
  322. package/dist/cdn/{623QMCWN.js → YHSZAJGH.js} +2 -2
  323. package/dist/cdn/{WWNHUF4A.js → YJDL2AIK.js} +1 -1
  324. package/dist/cdn/{N66TSCL2.js → YMT2T2MU.js} +2 -2
  325. package/dist/cdn/{TMLWLTXU.js → YNHNDQS3.js} +2 -2
  326. package/dist/cdn/{QFBJ4JMR.js → YQN2X3PI.js} +2 -2
  327. package/dist/cdn/{T3IDFFI6.js → YUDLASXK.js} +2 -2
  328. package/dist/cdn/{5LX2D35I.js → Z3A7EHJL.js} +2 -2
  329. package/dist/cdn/{LMRAWAJ5.js → Z5FTYJRT.js} +2 -2
  330. package/dist/cdn/{IM6X6CEL.js → Z65OPCIO.js} +1 -1
  331. package/dist/cdn/ZAG6K5LN.js +4 -0
  332. package/dist/cdn/{WGGFBKOM.js → ZKS6HDEM.js} +2 -2
  333. package/dist/cdn/{HGIEQRFC.js → ZMSP4XC3.js} +2 -2
  334. package/dist/cdn/{HVMHED6V.js → ZMTV2F6H.js} +2 -2
  335. package/dist/cdn/{BLAQKSE6.js → ZQMHVZRK.js} +2 -2
  336. package/dist/cdn/{DQAWVIZ7.js → ZSPKTF7O.js} +2 -2
  337. package/dist/cdn/{ANZA36SE.js → ZW6SVOQA.js} +1 -1
  338. package/dist/cdn/{JOR5XTA7.js → ZWEENOOZ.js} +2 -2
  339. package/dist/cdn/{MVJ6KPI4.js → ZWMASVPS.js} +2 -2
  340. package/dist/cdn/{4SNILCIZ.js → ZY27ARHF.js} +2 -2
  341. package/dist/cdn/{Z2MODIKC.js → ZYDWLGOT.js} +2 -2
  342. package/dist/cdn/index.js +2 -2
  343. package/dist/chunks/Auth.js +1 -1
  344. package/dist/chunks/CardsFetcher.js +1 -1
  345. package/dist/chunks/appConfig.js +1 -1
  346. package/dist/chunks/cardFetchingUtils.js +1 -1
  347. package/dist/chunks/cardsHelpers.js +1 -1
  348. package/dist/chunks/common.js +1 -1
  349. package/dist/chunks/deployAppContexts.js +1 -1
  350. package/dist/chunks/downloadUtils.js +1 -1
  351. package/dist/chunks/getItemIcon.js +1 -1
  352. package/dist/chunks/helpers.js +1 -1
  353. package/dist/chunks/interfaces.js +1 -1
  354. package/dist/chunks/loadModules.js +1 -1
  355. package/dist/chunks/mapViewUtils.js +1 -1
  356. package/dist/chunks/pciUtils.js +1 -1
  357. package/dist/chunks/popupUtils.js +1 -1
  358. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  359. package/dist/chunks/privilegeUtils.js +1 -1
  360. package/dist/chunks/publicNotificationContext.js +1 -1
  361. package/dist/chunks/queryUtils.js +1 -1
  362. package/dist/chunks/runtime.js +1 -1
  363. package/dist/chunks/solution-store.js +1 -1
  364. package/dist/chunks/templates.js +1 -1
  365. package/dist/chunks/useT9n.js +1 -1
  366. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  367. package/dist/components/basemap-gallery/customElement.js +1 -1
  368. package/dist/components/buffer-tools/customElement.js +1 -1
  369. package/dist/components/card-manager/customElement.js +1 -1
  370. package/dist/components/consent-manager/customElement.js +1 -1
  371. package/dist/components/create-feature/customElement.js +1 -1
  372. package/dist/components/create-related-feature/customElement.js +1 -1
  373. package/dist/components/crowdsource-manager/customElement.js +1 -1
  374. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  375. package/dist/components/deduct-calculator/customElement.js +1 -1
  376. package/dist/components/delete-button/customElement.js +1 -1
  377. package/dist/components/delete-dialog/customElement.js +1 -1
  378. package/dist/components/edit-card/customElement.js +1 -1
  379. package/dist/components/feature-details/customElement.js +1 -1
  380. package/dist/components/feature-list/customElement.js +1 -1
  381. package/dist/components/field-selection/customElement.js +2 -2
  382. package/dist/components/floor-filter/customElement.js +1 -1
  383. package/dist/components/info-card/customElement.js +1 -1
  384. package/dist/components/json-editor/customElement.js +1 -1
  385. package/dist/components/layer-list/customElement.js +1 -1
  386. package/dist/components/layer-table/customElement.js +1 -1
  387. package/dist/components/map-card/customElement.js +2 -2
  388. package/dist/components/map-draw-tools/customElement.js +1 -1
  389. package/dist/components/map-fullscreen/customElement.js +1 -1
  390. package/dist/components/map-layer-picker/customElement.js +1 -1
  391. package/dist/components/map-legend/customElement.js +1 -1
  392. package/dist/components/map-picker/customElement.js +1 -1
  393. package/dist/components/map-search/customElement.js +1 -1
  394. package/dist/components/map-select-tools/customElement.js +1 -1
  395. package/dist/components/map-tools/customElement.js +1 -1
  396. package/dist/components/pci-calculator/customElement.js +1 -1
  397. package/dist/components/pdf-download/customElement.js +1 -1
  398. package/dist/components/public-notification/customElement.js +1 -1
  399. package/dist/components/refine-selection/customElement.js +1 -1
  400. package/dist/components/selection-tool/customElement.js +1 -1
  401. package/dist/components/solution-article-card/customElement.js +1 -1
  402. package/dist/components/solution-configuration/customElement.js +1 -1
  403. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  404. package/dist/components/solution-configure-titles/customElement.js +1 -1
  405. package/dist/components/solution-contents/customElement.js +1 -1
  406. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  407. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  408. package/dist/components/solution-deployed-card/customElement.js +1 -1
  409. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  410. package/dist/components/solution-details-card/customElement.js +1 -1
  411. package/dist/components/solution-details-panel/customElement.d.ts +2 -0
  412. package/dist/components/solution-details-panel/customElement.js +55 -52
  413. package/dist/components/solution-item/customElement.js +1 -1
  414. package/dist/components/solution-item-accordion/customElement.js +1 -1
  415. package/dist/components/solution-item-details/customElement.js +1 -1
  416. package/dist/components/solution-item-diagram/customElement.js +1 -1
  417. package/dist/components/solution-item-icon/customElement.js +1 -1
  418. package/dist/components/solution-item-sharing/customElement.js +1 -1
  419. package/dist/components/solution-organization-variables/customElement.js +1 -1
  420. package/dist/components/solution-resource-item/customElement.js +1 -1
  421. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  422. package/dist/components/solution-social-share/customElement.js +1 -1
  423. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  424. package/dist/components/solution-template-data/customElement.js +1 -1
  425. package/dist/components/solution-variables/customElement.js +1 -1
  426. package/dist/components/solutions-all-panel/customElement.js +1 -1
  427. package/dist/components/solutions-all-shell/customElement.js +13 -10
  428. package/dist/components/solutions-article-panel/customElement.js +1 -1
  429. package/dist/components/solutions-articles/customElement.js +1 -1
  430. package/dist/components/solutions-articles-shell/customElement.d.ts +2 -0
  431. package/dist/components/solutions-articles-shell/customElement.js +15 -12
  432. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  433. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  434. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  435. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  436. package/dist/components/solutions-deployed-shell/customElement.js +10 -7
  437. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  438. package/dist/components/spatial-ref/customElement.js +1 -1
  439. package/dist/components/store-manager/customElement.js +1 -1
  440. package/dist/docs/api.json +28 -2
  441. package/dist/docs/docs.json +32 -3
  442. package/dist/docs/vscode.html-custom-data.json +2 -2
  443. package/dist/docs/web-types.json +27 -5
  444. package/dist/index.d.ts +16 -1
  445. package/dist/index.js +1 -1
  446. package/dist/loader.js +1 -1
  447. package/dist/types/lumina.d.ts +2 -0
  448. package/dist/types/preact.d.ts +2 -0
  449. package/dist/types/preact10.d.ts +2 -0
  450. package/dist/types/react.d.ts +2 -0
  451. package/dist/types/stencil.d.ts +2 -0
  452. package/package.json +3 -3
  453. package/dist/cdn/22HOZHYX.js +0 -4
  454. package/dist/cdn/3OL3LYTL.js +0 -18
  455. package/dist/cdn/A2SOYARZ.js +0 -4
  456. package/dist/cdn/B3HR5WXG.js +0 -18
  457. package/dist/cdn/EDGP2MKC.js +0 -4
  458. package/dist/cdn/G2WTF5L7.js +0 -18
  459. package/dist/cdn/J7NZ7TAB.js +0 -4
  460. package/dist/cdn/LBLOOCAJ.js +0 -4
  461. package/dist/cdn/ND2ICMWM.js +0 -89
  462. package/dist/cdn/ON3637KX.js +0 -4
  463. package/dist/cdn/PNH267VP.js +0 -4
  464. package/dist/cdn/RUEEHVFT.js +0 -4
  465. package/dist/cdn/TNM3EP6X.js +0 -4
  466. package/dist/cdn/UQTYFBYY.js +0 -4
  467. package/dist/cdn/WDD32CHP.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{b as p,d as a,e as h,f as E}from"./GEJYMCY4.js";function n(r={}){return r.portal?E(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 v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(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 mr(r){let t=`${T(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,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(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),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;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 o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(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"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(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),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(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 a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(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)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(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=n(e)+o;return a(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 N(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 _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(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 B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(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,a(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=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(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),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(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}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(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(R(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),R(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(R(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 W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(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,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(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([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["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 Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
3
+ v1.1.0-next.20251009 */
4
+ import{b as p,d as a,e as h,f as E}from"./J3KJVEQM.js";function n(r={}){return r.portal?E(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 v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(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 mr(r){let t=`${T(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,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(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),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;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 o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(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"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(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),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(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 a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(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)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(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=n(e)+o;return a(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 N(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 _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(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 B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(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,a(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=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(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),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(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}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(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(R(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),R(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(R(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 W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(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,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(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([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["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 Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{b as o}from"./263SV4HF.js";import{b as d}from"./DXNMODEI.js";import{C as n,D as a,E as r,h as t,i as s}from"./E2VLBYBH.js";import"./MMFULDI7.js";var h=t`/**
3
+ v1.1.0-next.20251009 */
4
+ import{b as o}from"./CBOGHC63.js";import{b as d}from"./SHGVPHG7.js";import{C as n,D as a,E as r,h as t,i as s}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";var h=t`/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{a as p}from"./G3OWUZUL.js";import{b as d}from"./2QQAS4R2.js";import{c as h}from"./B6S6Q4VM.js";import"./QXHCTHCT.js";import"./LD2YG4B3.js";import"./MNLAU654.js";import"./KYHIL5F4.js";import"./M4YVUIRX.js";import"./XQ23FEV5.js";import"./YECBIR5K.js";import"./47FKRLN3.js";import"./L6BR25YZ.js";import"./7DWTV2LQ.js";import"./YW6TF5XX.js";import"./57QWWLMF.js";import"./Q2HKN3EB.js";import"./RUSZENO2.js";import"./GEJYMCY4.js";import"./GIMIQHFZ.js";import"./LQAZAPET.js";import"./GF2M5LOG.js";import"./VF3UCUX7.js";import{a as o}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b as l}from"./DXNMODEI.js";import{E as n,h as r,i as s}from"./E2VLBYBH.js";import"./MMFULDI7.js";var m=r`/** @license
3
+ v1.1.0-next.20251009 */
4
+ import{a as p}from"./JWNZVRXT.js";import{b as d}from"./EGUK5B4A.js";import{c as h}from"./2EPBHDKS.js";import"./34VVVXQX.js";import"./B7DYL7LN.js";import"./VJ7XH7BQ.js";import"./5W3FJJMX.js";import"./PRRHXLB5.js";import"./6ETHNHOQ.js";import"./YDDBA5BZ.js";import"./6VW53YUA.js";import"./FEZV7OSP.js";import"./V4SQ7F5T.js";import"./TQHAP3WF.js";import"./SWMW7QZQ.js";import"./2JRSQSXY.js";import"./TIXAREAF.js";import"./J3KJVEQM.js";import"./G3ATMUBJ.js";import"./X7WZ66XE.js";import"./2NXNFYET.js";import"./M4QRYUPC.js";import{a as o}from"./67D7ZMIO.js";import"./FWUQZ3X3.js";import"./6PTHBN37.js";import{b as l}from"./SHGVPHG7.js";import{E as n,h as r,i as s}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";var m=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
3
+ v1.1.0-next.20251009 */
4
4
  var i=(e,t="v")=>{if(!e)return e;let n=e.indexOf("?")>-1?"&":"?";return e+=`${n}${t}=${new Date().getTime()}`,e};export{i as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{a as n}from"./AFR63NC6.js";import{b as i}from"./MNFNMNHC.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{E as o,h as a,i as s}from"./E2VLBYBH.js";import"./MMFULDI7.js";var p=a`[role=alert]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}`,r=class extends o{constructor(){super(),this._messages=n({name:"instant-apps-app-error"}),this._handleErrorMessage=this._handleErrorMessage.bind(this),this.listenOn(document,"instant-apps-error",this._handleErrorMessage)}static{this.properties={errorMessage:16}}static{this.styles=p}async clearErrorMessage(){this.errorMessage=void 0}_handleErrorMessage(e){if(!e.detail||!this._messages?.errorMessages)return;let t=this._messages.errorMessages[e.detail];t&&(this.errorMessage=t)}render(){return s`<div role=alert>${this.errorMessage&&s`<p>${this.errorMessage}</p>`||""}</div>`}};i("instant-apps-app-error",r);export{r as InstantAppsAppError};
3
+ v1.1.0-next.20251009 */
4
+ import{a as n}from"./SCOK55L3.js";import{b as i}from"./SZTTA2YZ.js";import"./FWUQZ3X3.js";import"./6PTHBN37.js";import{E as o,h as a,i as s}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";var p=a`[role=alert]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}`,r=class extends o{constructor(){super(),this._messages=n({name:"instant-apps-app-error"}),this._handleErrorMessage=this._handleErrorMessage.bind(this),this.listenOn(document,"instant-apps-error",this._handleErrorMessage)}static{this.properties={errorMessage:16}}static{this.styles=p}async clearErrorMessage(){this.errorMessage=void 0}_handleErrorMessage(e){if(!e.detail||!this._messages?.errorMessages)return;let t=this._messages.errorMessages[e.detail];t&&(this.errorMessage=t)}render(){return s`<div role=alert>${this.errorMessage&&s`<p>${this.errorMessage}</p>`||""}</div>`}};i("instant-apps-app-error",r);export{r as InstantAppsAppError};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import b from"./GAF7MRHW.js";import{a as y}from"./G3OWUZUL.js";import{b as T}from"./2QQAS4R2.js";import{pb as x,qb as $}from"./B6S6Q4VM.js";import"./QXHCTHCT.js";import"./LD2YG4B3.js";import"./MNLAU654.js";import"./KYHIL5F4.js";import"./M4YVUIRX.js";import"./XQ23FEV5.js";import"./YECBIR5K.js";import"./47FKRLN3.js";import"./L6BR25YZ.js";import"./7DWTV2LQ.js";import"./YW6TF5XX.js";import"./57QWWLMF.js";import"./Q2HKN3EB.js";import"./RUSZENO2.js";import"./GEJYMCY4.js";import"./GIMIQHFZ.js";import"./LQAZAPET.js";import"./GF2M5LOG.js";import"./VF3UCUX7.js";import{H as _}from"./CZSGGEZF.js";import{a as g}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b as m}from"./DXNMODEI.js";import{C as d,D as c,E as f,G as n,h,i as a,o as r}from"./E2VLBYBH.js";import"./MMFULDI7.js";export default $arcgis.t(([{d:p}])=>{var N=h`/** @license
3
+ v1.1.0-next.20251009 */
4
+ import b from"./PNDOKPLD.js";import{a as y}from"./JWNZVRXT.js";import{b as T}from"./EGUK5B4A.js";import{pb as x,qb as $}from"./2EPBHDKS.js";import"./34VVVXQX.js";import"./B7DYL7LN.js";import"./VJ7XH7BQ.js";import"./5W3FJJMX.js";import"./PRRHXLB5.js";import"./6ETHNHOQ.js";import"./YDDBA5BZ.js";import"./6VW53YUA.js";import"./FEZV7OSP.js";import"./V4SQ7F5T.js";import"./TQHAP3WF.js";import"./SWMW7QZQ.js";import"./2JRSQSXY.js";import"./TIXAREAF.js";import"./J3KJVEQM.js";import"./G3ATMUBJ.js";import"./X7WZ66XE.js";import"./2NXNFYET.js";import"./M4QRYUPC.js";import{H as _}from"./UFEUVJXZ.js";import{a as g}from"./67D7ZMIO.js";import"./FWUQZ3X3.js";import"./6PTHBN37.js";import{b as m}from"./SHGVPHG7.js";import{C as d,D as c,E as f,G as n,h,i as a,o as r}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";export default $arcgis.t(([{d:p}])=>{var N=h`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{a as D}from"./FJCFCDT4.js";import{a as P}from"./2QQAS4R2.js";import{a as C,d as I}from"./TUNQKYFT.js";import"./B6S6Q4VM.js";import"./QXHCTHCT.js";import"./LD2YG4B3.js";import"./MNLAU654.js";import"./KYHIL5F4.js";import"./M4YVUIRX.js";import"./XQ23FEV5.js";import"./YECBIR5K.js";import"./47FKRLN3.js";import"./L6BR25YZ.js";import"./7DWTV2LQ.js";import"./YW6TF5XX.js";import"./57QWWLMF.js";import"./Q2HKN3EB.js";import"./RUSZENO2.js";import"./GEJYMCY4.js";import"./GIMIQHFZ.js";import"./LQAZAPET.js";import"./GF2M5LOG.js";import"./VF3UCUX7.js";import"./VNKF4L77.js";import"./S73UN6E4.js";import{g as E,j as T}from"./PQE2G3DC.js";import{c as l,e as r,f as c}from"./CZSGGEZF.js";import"./OU7ZZNCL.js";import{b as x}from"./263SV4HF.js";import{a as L}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b as $,c as k}from"./DXNMODEI.js";import{C as p,D as g,E as v,G as h,h as f,i as n,l as d,o as y,p as S,r as w}from"./E2VLBYBH.js";import"./MMFULDI7.js";var V=f`@layer{/** @license
3
+ v1.1.0-next.20251009 */
4
+ import{a as D}from"./MCZ5FXVG.js";import{a as P}from"./EGUK5B4A.js";import{a as C,d as I}from"./GXGE4F75.js";import"./2EPBHDKS.js";import"./34VVVXQX.js";import"./B7DYL7LN.js";import"./VJ7XH7BQ.js";import"./5W3FJJMX.js";import"./PRRHXLB5.js";import"./6ETHNHOQ.js";import"./YDDBA5BZ.js";import"./6VW53YUA.js";import"./FEZV7OSP.js";import"./V4SQ7F5T.js";import"./TQHAP3WF.js";import"./SWMW7QZQ.js";import"./2JRSQSXY.js";import"./TIXAREAF.js";import"./J3KJVEQM.js";import"./G3ATMUBJ.js";import"./X7WZ66XE.js";import"./2NXNFYET.js";import"./M4QRYUPC.js";import"./WMHW2WFZ.js";import"./DHEIRCI3.js";import{g as E,j as T}from"./UOHC5GPC.js";import{c as l,e as r,f as c}from"./UFEUVJXZ.js";import"./HGQ3H5NR.js";import{b as x}from"./CBOGHC63.js";import{a as L}from"./67D7ZMIO.js";import"./FWUQZ3X3.js";import"./6PTHBN37.js";import{b as $,c as k}from"./SHGVPHG7.js";import{C as p,D as g,E as v,G as h,h as f,i as n,l as d,o as y,p as S,r as w}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";var V=f`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{a as e}from"./UJGGK4LU.js";import"./B6S6Q4VM.js";import"./QXHCTHCT.js";import"./LD2YG4B3.js";import"./MNLAU654.js";import"./KYHIL5F4.js";import"./M4YVUIRX.js";import"./XQ23FEV5.js";import"./YECBIR5K.js";import"./47FKRLN3.js";import"./L6BR25YZ.js";import"./7DWTV2LQ.js";import"./YW6TF5XX.js";import"./57QWWLMF.js";import"./Q2HKN3EB.js";import"./RUSZENO2.js";import"./GEJYMCY4.js";import"./GIMIQHFZ.js";import"./LQAZAPET.js";import"./GF2M5LOG.js";import"./VF3UCUX7.js";import"./CZSGGEZF.js";import{a as p}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b as h}from"./DXNMODEI.js";import{C as a,D as s,E as c,h as m,i as l,j as o,r}from"./E2VLBYBH.js";import"./MMFULDI7.js";var u=m`@layer{/** @license
3
+ v1.1.0-next.20251009 */
4
+ import{a as e}from"./JLL4BYYV.js";import"./2EPBHDKS.js";import"./34VVVXQX.js";import"./B7DYL7LN.js";import"./VJ7XH7BQ.js";import"./5W3FJJMX.js";import"./PRRHXLB5.js";import"./6ETHNHOQ.js";import"./YDDBA5BZ.js";import"./6VW53YUA.js";import"./FEZV7OSP.js";import"./V4SQ7F5T.js";import"./TQHAP3WF.js";import"./SWMW7QZQ.js";import"./2JRSQSXY.js";import"./TIXAREAF.js";import"./J3KJVEQM.js";import"./G3ATMUBJ.js";import"./X7WZ66XE.js";import"./2NXNFYET.js";import"./M4QRYUPC.js";import"./UFEUVJXZ.js";import{a as p}from"./67D7ZMIO.js";import"./FWUQZ3X3.js";import"./6PTHBN37.js";import{b as h}from"./SHGVPHG7.js";import{C as a,D as s,E as c,h as m,i as l,j as o,r}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";var u=m`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import b from"./XEXBFO26.js";import{a as $,b as k,e as B,f as U}from"./A5VQCLH7.js";import a from"./QFBJ4JMR.js";import{a as T}from"./2Y2GJJC3.js";import{a as _}from"./NFBCBMDM.js";import{a as L}from"./AFR63NC6.js";import{C as D}from"./ECOUV44T.js";import{b as w}from"./MNFNMNHC.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{E as C,G as r,h as S,i as n,o as I}from"./E2VLBYBH.js";import"./MMFULDI7.js";export default $arcgis.t(([,{c:v,e:u,f:e,g:P,h:m,j:b,l:E,m:f}])=>{var R=S`:host{display:block}:host calcite-modal{--calcite-modal-content-padding: 0}:host .instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}:host .instant-apps-language-translator__header-text{font-size:18px}:host .instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}:host .instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}:host .instant-apps-language-translator__close-button{width:175px}:host .instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}:host .instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}:host .instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}:host .instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}:host .instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}:host .instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}:host .instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}:host .instant-apps-language-translator__primary-content{display:flex;align-items:center}:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,lastItem:`${l}--last-item`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},y=class extends C{constructor(){super(),this._messages=L({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=I(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],g={type:"application/json"},p=new Blob(o,g);return await a.update(p),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){E()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([D()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=P(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await U(this.portalItem);e.set("portalItemResource",t);let a=await B(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(u.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(u.uiData),o=m(),g=p=>{let c=s.get(p);if(p===a){c.selected=!0;return}c.selected=!1};o.forEach(g),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${v.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){let t=b(this.locales);return n`<div>${this.renderTopBar()}${t?.length>0?this.renderUIData():this.renderNotice()}</div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=k(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${v.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=b(t),s=Object.keys($.partial);return T(a,o=>`translated-lang-option-${o}`,o=>{let g=s.includes(o)?"partial":"full",p=$[g],{language:c,translated:d}=p[o],h=`${c} - ${d}`;return n`<calcite-option .value=${o}>${h}</calcite-option>`})}renderUIData(){if(!u?.uiData)return;let t=m();return n`<div>${t?.map((a,s)=>this.renderUIDataItem(a,s,t.length))}</div>`}renderNotice(){let t=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${t?.title}</div><div slot=message>${t?.message}</div></calcite-notice>`}renderUIDataItem(t,a,s){let o=this.appSettings?.translatedLanguageLabels?.[u.currentLanguage],g=a===s-1?i.lastItem:"",p=this.appSettings.content.find(c=>c.id===t);return _(`${t}-${a}`,n`<instant-apps-language-translator-item class=${r(g)} .fieldName=${t} .translatedLanguageLabels=${o} .setting=${p} .userLocaleInputOnChangeCallback=${async(c,d)=>{try{await this.userLocaleInputOnChangeCallback(c,d);let h=e.get("portalItemResource");f(h)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(c,d,h,x)=>{try{await this.translatedLocaleInputOnChangeCallback(c,d,h,x),f(x)}catch{}}}></instant-apps-language-translator-item>`)}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?_("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};w("instant-apps-language-translator",y);return y},a,b)
3
+ v1.1.0-next.20251009 */
4
+ import b from"./HUDLB6WS.js";import{a as $,b as k,e as B,f as U}from"./3SELIRDQ.js";import a from"./YQN2X3PI.js";import{a as T}from"./RU633SA5.js";import{a as _}from"./IH3JSV4L.js";import{a as L}from"./SCOK55L3.js";import{C as D}from"./6KRIA3WU.js";import{b as w}from"./SZTTA2YZ.js";import"./FWUQZ3X3.js";import"./6PTHBN37.js";import{E as C,G as r,h as S,i as n,o as I}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";export default $arcgis.t(([,{c:v,e:u,f:e,g:P,h:m,j:b,l:E,m:f}])=>{var R=S`:host{display:block}:host calcite-modal{--calcite-modal-content-padding: 0}:host .instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}:host .instant-apps-language-translator__header-text{font-size:18px}:host .instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}:host .instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}:host .instant-apps-language-translator__close-button{width:175px}:host .instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}:host .instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}:host .instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}:host .instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}:host .instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}:host .instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}:host .instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}:host .instant-apps-language-translator__primary-content{display:flex;align-items:center}:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,lastItem:`${l}--last-item`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},y=class extends C{constructor(){super(),this._messages=L({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=I(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],g={type:"application/json"},p=new Blob(o,g);return await a.update(p),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){E()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([D()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=P(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await U(this.portalItem);e.set("portalItemResource",t);let a=await B(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(u.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(u.uiData),o=m(),g=p=>{let c=s.get(p);if(p===a){c.selected=!0;return}c.selected=!1};o.forEach(g),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${v.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){let t=b(this.locales);return n`<div>${this.renderTopBar()}${t?.length>0?this.renderUIData():this.renderNotice()}</div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=k(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${v.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=b(t),s=Object.keys($.partial);return T(a,o=>`translated-lang-option-${o}`,o=>{let g=s.includes(o)?"partial":"full",p=$[g],{language:c,translated:d}=p[o],h=`${c} - ${d}`;return n`<calcite-option .value=${o}>${h}</calcite-option>`})}renderUIData(){if(!u?.uiData)return;let t=m();return n`<div>${t?.map((a,s)=>this.renderUIDataItem(a,s,t.length))}</div>`}renderNotice(){let t=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${t?.title}</div><div slot=message>${t?.message}</div></calcite-notice>`}renderUIDataItem(t,a,s){let o=this.appSettings?.translatedLanguageLabels?.[u.currentLanguage],g=a===s-1?i.lastItem:"",p=this.appSettings.content.find(c=>c.id===t);return _(`${t}-${a}`,n`<instant-apps-language-translator-item class=${r(g)} .fieldName=${t} .translatedLanguageLabels=${o} .setting=${p} .userLocaleInputOnChangeCallback=${async(c,d)=>{try{await this.userLocaleInputOnChangeCallback(c,d);let h=e.get("portalItemResource");f(h)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(c,d,h,x)=>{try{await this.translatedLocaleInputOnChangeCallback(c,d,h,x),f(x)}catch{}}}></instant-apps-language-translator-item>`)}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?_("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};w("instant-apps-language-translator",y);return y},a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{b as d}from"./DXNMODEI.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./E2VLBYBH.js";import"./MMFULDI7.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
3
+ v1.1.0-next.20251009 */
4
+ import{b as d}from"./SHGVPHG7.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{a as u}from"./APLZT37S.js";import a from"./QFBJ4JMR.js";import{a as C}from"./NFBCBMDM.js";import{a as x}from"./AFR63NC6.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./ECOUV44T.js";import{b as S}from"./MNFNMNHC.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./E2VLBYBH.js";import"./MMFULDI7.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
3
+ v1.1.0-next.20251009 */
4
+ import{a as u}from"./BBW7AC2K.js";import a from"./YQN2X3PI.js";import{a as C}from"./IH3JSV4L.js";import{a as x}from"./SCOK55L3.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./6KRIA3WU.js";import{b as S}from"./SZTTA2YZ.js";import"./FWUQZ3X3.js";import"./6PTHBN37.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{a as o}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b as n}from"./DXNMODEI.js";import{E as r,I as e,h as a,i as t,o as s}from"./E2VLBYBH.js";import"./MMFULDI7.js";var c=a`/** @license
3
+ v1.1.0-next.20251009 */
4
+ import{a as o}from"./67D7ZMIO.js";import"./FWUQZ3X3.js";import"./6PTHBN37.js";import{b as n}from"./SHGVPHG7.js";import{E as r,I as e,h as a,i as t,o as s}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";var c=a`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{a as n}from"./VRUSDHE4.js";import{a as s}from"./IG5F5THG.js";import"./47FKRLN3.js";import"./L6BR25YZ.js";import"./7DWTV2LQ.js";import"./YW6TF5XX.js";import{a as r,b as a}from"./6YUA724T.js";import"./J7VZH6OU.js";import"./57QWWLMF.js";import"./Q2HKN3EB.js";import{a as o}from"./T65DB2UP.js";import{a as i}from"./SMAWIWJ6.js";import"./RUSZENO2.js";import"./GEJYMCY4.js";import"./GIMIQHFZ.js";import"./LQAZAPET.js";import"./GF2M5LOG.js";import"./YRWXAGEM.js";import"./PA5TUTEY.js";import"./WWNHUF4A.js";import"./2SJENBGK.js";import"./RWBGHIUR.js";import"./NS6VPU4I.js";import"./Z55VK2A4.js";import"./VF3UCUX7.js";import"./J4URZEGS.js";import"./S3CGUDVW.js";import"./RYNPSM5K.js";import"./PRI7A4BS.js";import"./PQ6SIGKH.js";import"./GOSQMPLD.js";import"./R5MOYHJE.js";import"./J2SHXZLC.js";import"./O3XKIE2J.js";import"./BGSIHZYK.js";import"./XTXQCLUY.js";import"./OINEKCE3.js";import"./54N6KCW5.js";import"./XGLM2UZY.js";import"./IY6WWNIE.js";import"./MMFULDI7.js";var d=async(e,l,t)=>({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.siteEntityTitleValidatorError`}]}},{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"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{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(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
3
+ v1.1.0-next.20251009 */
4
+ import{a as n}from"./7CCJSXT2.js";import{a as s}from"./XQ765V7U.js";import"./6VW53YUA.js";import"./FEZV7OSP.js";import"./V4SQ7F5T.js";import"./TQHAP3WF.js";import{a as r,b as a}from"./3T7RYRJA.js";import"./EOVPDUOM.js";import"./SWMW7QZQ.js";import"./2JRSQSXY.js";import{a as o}from"./MRTP6T5M.js";import{a as i}from"./HUQF7L2V.js";import"./TIXAREAF.js";import"./J3KJVEQM.js";import"./G3ATMUBJ.js";import"./X7WZ66XE.js";import"./2NXNFYET.js";import"./SP2I6DAS.js";import"./QT2LAQHT.js";import"./YJDL2AIK.js";import"./S4ZX4LBZ.js";import"./PCWJM2FN.js";import"./Y5ACJQDB.js";import"./7I5NXQ33.js";import"./M4QRYUPC.js";import"./LGH2MNKB.js";import"./WT5HVSBV.js";import"./OZSS4H2S.js";import"./KLGEKJVD.js";import"./MSE37YY2.js";import"./BKQTXCOD.js";import"./XQZKO5TB.js";import"./JA6XJHST.js";import"./4SMKQVHS.js";import"./JY72U7AC.js";import"./YEC444BK.js";import"./UZRCLMIV.js";import"./MO3ZDQHS.js";import"./CRJOXM3C.js";import"./VXK44RQM.js";import"./QSBB7GQ6.js";var d=async(e,l,t)=>({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.siteEntityTitleValidatorError`}]}},{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"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{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(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
3
+ v1.1.0-next.20251009 */
4
4
  var e=(a=>(a.GRID="GRID",a.HORIZONTAL="HORIZONTAL",a.VERTICAL="VERTICAL",a))(e||{}),o=(a=>(a[a.Add=0]="Add",a[a.Update=1]="Update",a[a.Remove=2]="Remove",a[a.None=3]="None",a[a.Obsolete=4]="Obsolete",a))(o||{}),E=(a=>(a[a.LIST=0]="LIST",a[a.SELECT=1]="SELECT",a[a.EXPORT=2]="EXPORT",a[a.REFINE=3]="REFINE",a))(E||{}),t=(a=>(a.ADD="ADD",a.REMOVE="REMOVE",a))(t||{});var i=(a=>(a.SEARCH="SEARCH",a.SELECT="SELECT",a.SKETCH="SKETCH",a.REFINE="REFINE",a))(i||{}),n=(a=>(a.CSV="CSV",a.PDF="PDF",a))(n||{}),r=(a=>(a.SKETCH="SKETCH",a.REFINE="REFINE",a))(r||{}),I="{{params.wkid||",N="}}",u=500,l=(a=>(a.AEC="Architecture, Engineering, and Construction (AEC)",a.AIRPORTPORTRAIL="Airports, Ports, and Rails",a.BUSINESS="Business",a.CONSERVATION="Conservation",a.DEFENSE="Defense",a.FACILITIES="Facilities",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.PIPELINE="Pipeline",a.PUBLICSAFETY="Public Safety",a.RENEWABLES="Renewables",a.STATEANDLOCALGOVERNMENT="State and Local Government",a.TELECOMMUNICATIONS="Telecommunications",a.UTILITIES="Utilities",a))(l||{}),A=(a=>(a.AIRPORT="Airports",a.AGRICULTURE="Agriculture",a.ASSESSMENTANDTAXATION="Assessment and Taxation",a.DISTRICTENERGY="District Energy",a.ELECTIONS="Elections",a.ELECTRIC="Electric",a.EMERGENCYMANAGEMENT="Emergency Management",a.ENVIRONMENTANDNATURALRESOURCES="Environment and Natural Resources",a.FIRESERVICE="Fire Service",a.FISHANDWILDLIFE="Fish and Wildlife",a.GAS="Gas",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.LAWENFORCEMENT="Law Enforcement",a.NATURALRESOURCES="Natural Resources",a.PARKS="Parks",a.PLANNINGANDDEVELOPMENT="Planning and Development",a.PROTECTEDAREAS="Protected Areas",a.PUBLICWORKS="Public Works",a.SEWER="Sewer",a.STORMWATER="Stormwater",a.TELECOMMUNICATIONS="Telecommunications",a.TRANSPORTATION="Transportation",a.WATER="Water Distribution",a))(A||{});var T=(a=>(a.OWNER="My solutions",a.ORGANIZATION="My organization's solutions",a))(T||{}),R=(a=>(a.HUBPREMIUM="solutions:hubPremium",a.NOTEBOOK="solutions:notebook",a.TRACKINGBASE="solutions:locationtracking",a.TRACKING="solutions:locationtracking:tracking",a.TRACKINGADMIN="solutions:locationtracking:admin",a.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",a.VELOCITY="solutions:velocity",a.WORKFLOW="solutions:workflowManager",a))(R||{});var S='((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))',s="(typekeywords:Solution,Template)",c="(typekeywords:Solution,Display Only)",C="portal:user:addExternalMembersToGroup",O="portal:user:createItem",p="portal:user:createGroup",L="portal:publisher:publishBigDataAnalytics",D="portal:publisher:publishFeatures",d="portal:publisher:publishFeeds",P="portal:publisher:publishServerGPServices",m="portal:publisher:publishRealTimeAnalytics",b="portal:user:shareToGroup",g="solutions:hubPremium",G="solutions:notebook",M="solutions:locationtracking:admin:tracking",h="solutions:locationtracking:tracking",F="solutions:locationtracking:admin",k="solutions:velocity",y="solutions:workflowManager",H=250;export{e as a,o as b,E as c,t as d,i as e,n as f,r as g,I as h,N as i,u as j,l as k,A as l,T as m,R as n,S as o,s as p,c as q,C as r,O as s,p as t,L as u,D as v,d as w,P as x,m as y,b as z,g as A,G as B,M as C,h as D,F as E,k as F,y as G,H};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{e as l}from"./CZSGGEZF.js";import{e as c}from"./OU7ZZNCL.js";async function h(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((n,r)=>((r.type==="feature"||r?.type==="subtype-group")&&(n[r.id]={name:r.title,supportsUpdate:void 0}),n),{})}),d(e,t,a)}async function b(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((n,r)=>(n[r.id]={name:r.title,supportsUpdate:void 0},n),{})}),d(e,t,a)}async function d(a,e,t){if(a){let n={},r=Object.keys(e);for(let s=0;s<r.length;s++)try{let i=r[s],o=await u(t,i);await o.load(),await o.when(),n[i]={name:e[i].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(i){console.log(i);continue}return n}else return e}async function g(a,e){let t=await u(a,e);return t?await a.whenLayerView(t):void 0}async function u(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(n=>n.id===e)}),t.length>0?t[0]:void 0}async function I(a){let e=a.map.allLayers.filter(n=>n.type==="feature").toArray().map(n=>n),t=[];return await a.when(()=>{t=e.map(n=>a.whenLayerView(n))}),await Promise.allSettled(t),e}async function T(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(n=>n.load())}),await Promise.allSettled(t),e}async function O(a,e,t,n=!1,r=0){return n&&(await p(a,e,t,!1,void 0,r),await new Promise(s=>setTimeout(s,1e3))),e.highlight(a)}async function j(a){let e=y(a);return Object.keys(e).reduce((t,n)=>{let r=e[n];return t.push(r.layerView.highlight(r.ids)),t},[])}function y(a){return a.reduce((e,t)=>{let n=t.layerView,r=n?.layer.id;return r&&Object.keys(e).indexOf(r)>-1?e[r].ids=[...new Set([...t.selectedIds,...e[r].ids])]:r&&(e[r]={layerView:n,ids:t.selectedIds}),t.workflowType===l.REFINE&&Object.keys(t.refineInfos).forEach(s=>{let i=t.refineInfos[s];Object.keys(e).indexOf(s)>-1&&(e[s].ids=[...new Set([...i.addIds,...e[s].ids])],e[s].ids=e[s].ids.filter(o=>i.removeIds.indexOf(o)<0))}),e},{})}async function f(a,e,t){let n={objectIds:a};e.featureEffect={...t,filter:n},setTimeout(()=>{e.featureEffect=void 0},1300)}async function p(a,e,t,n=!0,r,s=0){let i=await c(a,e.layer),o={target:i.extent};i.count===1&&e.layer.geometryType==="point"&&s&&(o.scale=s),await t.goTo(o),n&&await f(a,e,r)}export{h as a,b,g as c,u as d,I as e,T as f,O as g,j as h,y as i,p as j};
3
+ v1.1.0-next.20251009 */
4
+ import{e as l}from"./UFEUVJXZ.js";import{e as c}from"./HGQ3H5NR.js";async function h(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((n,r)=>((r.type==="feature"||r?.type==="subtype-group")&&(n[r.id]={name:r.title,supportsUpdate:void 0}),n),{})}),d(e,t,a)}async function b(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((n,r)=>(n[r.id]={name:r.title,supportsUpdate:void 0},n),{})}),d(e,t,a)}async function d(a,e,t){if(a){let n={},r=Object.keys(e);for(let s=0;s<r.length;s++)try{let i=r[s],o=await u(t,i);await o.load(),await o.when(),n[i]={name:e[i].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(i){console.log(i);continue}return n}else return e}async function g(a,e){let t=await u(a,e);return t?await a.whenLayerView(t):void 0}async function u(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(n=>n.id===e)}),t.length>0?t[0]:void 0}async function I(a){let e=a.map.allLayers.filter(n=>n.type==="feature").toArray().map(n=>n),t=[];return await a.when(()=>{t=e.map(n=>a.whenLayerView(n))}),await Promise.allSettled(t),e}async function T(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(n=>n.load())}),await Promise.allSettled(t),e}async function O(a,e,t,n=!1,r=0){return n&&(await p(a,e,t,!1,void 0,r),await new Promise(s=>setTimeout(s,1e3))),e.highlight(a)}async function j(a){let e=y(a);return Object.keys(e).reduce((t,n)=>{let r=e[n];return t.push(r.layerView.highlight(r.ids)),t},[])}function y(a){return a.reduce((e,t)=>{let n=t.layerView,r=n?.layer.id;return r&&Object.keys(e).indexOf(r)>-1?e[r].ids=[...new Set([...t.selectedIds,...e[r].ids])]:r&&(e[r]={layerView:n,ids:t.selectedIds}),t.workflowType===l.REFINE&&Object.keys(t.refineInfos).forEach(s=>{let i=t.refineInfos[s];Object.keys(e).indexOf(s)>-1&&(e[s].ids=[...new Set([...i.addIds,...e[s].ids])],e[s].ids=e[s].ids.filter(o=>i.removeIds.indexOf(o)<0))}),e},{})}async function f(a,e,t){let n={objectIds:a};e.featureEffect={...t,filter:n},setTimeout(()=>{e.featureEffect=void 0},1300)}async function p(a,e,t,n=!0,r,s=0){let i=await c(a,e.layer),o={target:i.extent};i.count===1&&e.layer.geometryType==="point"&&s&&(o.scale=s),await t.goTo(o),n&&await f(a,e,r)}export{h as a,b,g as c,u as d,I as e,T as f,O as g,j as h,y as i,p as j};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{s as c}from"./ECOUV44T.js";import{b as r}from"./MNFNMNHC.js";import{E as i,h as a,i as p}from"./E2VLBYBH.js";import"./MMFULDI7.js";var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(o,e)=>{let n=o.content;o.isExpand&&(n=await this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}async _getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,l=t?.expanded??!1;return await c({content:e,view:o,expanded:l,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);export{s as InstantAppsControlPanel};
3
+ v1.1.0-next.20251009 */
4
+ import{s as c}from"./6KRIA3WU.js";import{b as r}from"./SZTTA2YZ.js";import{E as i,h as a,i as p}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(o,e)=>{let n=o.content;o.isExpand&&(n=await this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}async _getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,l=t?.expanded??!1;return await c({content:e,view:o,expanded:l,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);export{s as InstantAppsControlPanel};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{c as t}from"./54N6KCW5.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./XGLM2UZY.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
3
+ v1.1.0-next.20251009 */
4
+ import{c as t}from"./MO3ZDQHS.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./CRJOXM3C.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
3
+ v1.1.0-next.20251009 */
4
4
  function c(e){let t={};if(Array.isArray(e))t=e.map(c);else if(typeof e=="object"){if(e===null)return e;for(let r in e)if(e.hasOwnProperty(r)){let n=e[r];n!=null&&typeof n=="object"?n instanceof Date?t[r]=new Date(n.getTime()):typeof Blob<"u"&&n instanceof Blob?t[r]=new Blob([n],{type:n.type}):t[r]=c(n):t[r]=n}}else t=e;return t}function s(e,t){return e.filter(n=>n!==t)}function l(e="i"){return`${e}${Math.random().toString(36).substr(2,8)}`}function a(e,t){return e!=null&&(t=c(t),t.push(e)),t}function d(e){e=e.toLowerCase(),e=e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi," ");let t=/(\-|\_|\.|\s)+(.)?/g,r=/(^|\/)([A-Z])/g;return e.replace(t,function(n,i,u){return u?u.toUpperCase():""}).replace(r,function(n,i,u){return n.toLowerCase()})}function p(e,t,r){return r.indexOf(e)===t}function f(e,t,r=!0){let n=c(e);return Object.keys(t).reduce((i,u)=>{if(t[u]!==null&&t[u]!==void 0){let o=c(t[u]);Array.isArray(o)?i[u]=o:r&&typeof o=="object"?i[u]=f(i[u]||{},o,r):i[u]=o}return i},n)}function x(e,t){let r=[],n=0;for(;n<e.length;)r.push(e.slice(n,n+t)),n+=t;return r}var y=e=>e==null;export{c as a,s as b,l as c,a as d,d as e,p as f,f as g,x as h,y as i};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import"./MMFULDI7.js";var e="Nu ave\u021Bi suficiente credite pentru efectuarea acestei opera\u021Bii. Contacta\u021Bi administratorul de sistem ArcGIS pentru asisten\u021B\u0103.",a="Acest instrument a fost publicat dintr-o agend\u0103. Accesul la ArcGIS Notebooks este blocat pentru organiza\u021Bia dvs. Contacta\u021Bi administratorul pentru a ajusta setarea.",i="${ dataPath } nu trebuie s\u0103 aib\u0103 ${ additionalProperty }.",r="${ dataPath } trebuie s\u0103 corespund\u0103 schemei uneia dintre acestea: ${ schemaOptions }.",t="\xCEncerca\u021Bi s\u0103 salva\u021Bi harta din nou.",s="Estimarea creditului a e\u0219uat. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i estima\u021Bi creditele din nou.",u="S-a produs o eroare la executarea analizei.",o="${ dataPath } trebuie s\u0103 fie egal cu una dintre aceste valori permise: ${ allowedValues }.",n="Nu s-a reu\u0219it salvarea istoricului analizei",l="Spa\u021Biu de stocare al istoricului este plin. Elimina\u021Bi unele elemente din istoricul analizei \u0219i \xEEncerca\u021Bi s\u0103 salva\u021Bi din nou.",c="Denumirea serviciului con\u021Bine unul sau mai multe caractere nevalide.",d="Salvarea stratului tematic temporar ca strat tematic de obiect spa\u021Bial g\u0103zduit nu s-a \xEEncheiat.",m="Nu s-a reu\u0219it ob\u021Binerea propriet\u0103\u021Bilor esen\u021Biale.",p="Nu s-a reu\u0219it \xEEnc\u0103rcarea stratului tematic.",v="Stratul tematic nu este disponibil.",E="${ dataPath } nu trebuie s\u0103 aib\u0103 mai mult de ${ limit } articole.",b="A survenit o eroare la salvarea modelului. \xCEncerca\u021Bi salvarea din nou.",f="${ dataPath } nu trebuie s\u0103 aib\u0103 mai pu\u021Bin de ${ limit } articole.",h="${ dataPath } nu trebuie s\u0103 fie mai scurt de ${ limit } caractere.",P="Nu s-a reu\u0219it \xEEnc\u0103rcarea elementului de model. Asigura\u021Bi-v\u0103 c\u0103 modelul exist\u0103 \u0219i c\u0103 permisiunea de acces a fost acordat\u0103.",S="Nu s-a reu\u0219it finalizarea solicit\u0103rii.",y="Nu ave\u021Bi permisiunea de a executa acest instrument. <calcite-link target='_blank' href='${ docLink }'>Afla\u021Bi mai multe</calcite-link>",N="Nu s-a reu\u0219it conectarea la portal.",$="Nu s-a reu\u0219it citirea datelor de intrare.",g="${ dataPath } are lips\u0103 o proprietate denumit\u0103 ${ missingProperty }.",F="Exist\u0103 deja un strat tematic cu rezultate cu acest nume. Straturile tematice rezultate trebuie s\u0103 aib\u0103 nume unice \xEEn toat\u0103 organiza\u021Bia. V\u0103 rug\u0103m s\u0103 folosi\u021Bi un nume diferit.",I="Numele de ie\u0219ire con\u021Bine unul sau mai multe caractere nevalide. <a href='${docLink}' target='_blank'>Afla\u021Bi mai multe.</a>",k="Publicarea stratului tematic temporar ca strat tematic g\u0103zduit a e\u0219uat din cauza unuia sau a mai multor c\xE2mpuri nevalide. Re-executa\u021Bi instrumentul pentru a crea un strat tematic cu c\xE2mpuri valide.",z="Trimiterea lucr\u0103rii nu a reu\u0219it. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i executa\u021Bi analiza din nou.",T="${ dataPath } trebuie s\u0103 aib\u0103 cel pu\u021Bin un caracter non-spa\u021Biu gol.",x={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:u,enumValues:o,failedToSaveHistory:n,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:d,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:v,maxItems:E,mbFailedToSave:b,minItems:f,minLength:h,modelNotFound:P,networkError:S,noPermissionToAccessTool:y,portalLoadError:N,queryFeaturesError:$,requiredProperty:g,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:k,toolValidationError:z,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,x as default,u as defaultError,o as enumValues,n as failedToSaveHistory,l as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,d as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,E as maxItems,b as mbFailedToSave,f as minItems,h as minLength,P as modelNotFound,S as networkError,y as noPermissionToAccessTool,N as portalLoadError,$ as queryFeaturesError,g as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,k as temporaryLayerFieldsError,z as toolValidationError,T as whiteSpacePattern};
3
+ v1.1.0-next.20251009 */
4
+ import"./QSBB7GQ6.js";var e="Nu ave\u021Bi suficiente credite pentru efectuarea acestei opera\u021Bii. Contacta\u021Bi administratorul de sistem ArcGIS pentru asisten\u021B\u0103.",a="Acest instrument a fost publicat dintr-o agend\u0103. Accesul la ArcGIS Notebooks este blocat pentru organiza\u021Bia dvs. Contacta\u021Bi administratorul pentru a ajusta setarea.",i="${ dataPath } nu trebuie s\u0103 aib\u0103 ${ additionalProperty }.",r="${ dataPath } trebuie s\u0103 corespund\u0103 schemei uneia dintre acestea: ${ schemaOptions }.",t="\xCEncerca\u021Bi s\u0103 salva\u021Bi harta din nou.",s="Estimarea creditului a e\u0219uat. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i estima\u021Bi creditele din nou.",u="S-a produs o eroare la executarea analizei.",o="${ dataPath } trebuie s\u0103 fie egal cu una dintre aceste valori permise: ${ allowedValues }.",n="Nu s-a reu\u0219it salvarea istoricului analizei",l="Spa\u021Biu de stocare al istoricului este plin. Elimina\u021Bi unele elemente din istoricul analizei \u0219i \xEEncerca\u021Bi s\u0103 salva\u021Bi din nou.",c="Denumirea serviciului con\u021Bine unul sau mai multe caractere nevalide.",d="Salvarea stratului tematic temporar ca strat tematic de obiect spa\u021Bial g\u0103zduit nu s-a \xEEncheiat.",m="Nu s-a reu\u0219it ob\u021Binerea propriet\u0103\u021Bilor esen\u021Biale.",p="Nu s-a reu\u0219it \xEEnc\u0103rcarea stratului tematic.",v="Stratul tematic nu este disponibil.",E="${ dataPath } nu trebuie s\u0103 aib\u0103 mai mult de ${ limit } articole.",b="A survenit o eroare la salvarea modelului. \xCEncerca\u021Bi salvarea din nou.",f="${ dataPath } nu trebuie s\u0103 aib\u0103 mai pu\u021Bin de ${ limit } articole.",h="${ dataPath } nu trebuie s\u0103 fie mai scurt de ${ limit } caractere.",P="Nu s-a reu\u0219it \xEEnc\u0103rcarea elementului de model. Asigura\u021Bi-v\u0103 c\u0103 modelul exist\u0103 \u0219i c\u0103 permisiunea de acces a fost acordat\u0103.",S="Nu s-a reu\u0219it finalizarea solicit\u0103rii.",y="Nu ave\u021Bi permisiunea de a executa acest instrument. <calcite-link target='_blank' href='${ docLink }'>Afla\u021Bi mai multe</calcite-link>",N="Nu s-a reu\u0219it conectarea la portal.",$="Nu s-a reu\u0219it citirea datelor de intrare.",g="${ dataPath } are lips\u0103 o proprietate denumit\u0103 ${ missingProperty }.",F="Exist\u0103 deja un strat tematic cu rezultate cu acest nume. Straturile tematice rezultate trebuie s\u0103 aib\u0103 nume unice \xEEn toat\u0103 organiza\u021Bia. V\u0103 rug\u0103m s\u0103 folosi\u021Bi un nume diferit.",I="Numele de ie\u0219ire con\u021Bine unul sau mai multe caractere nevalide. <a href='${docLink}' target='_blank'>Afla\u021Bi mai multe.</a>",k="Publicarea stratului tematic temporar ca strat tematic g\u0103zduit a e\u0219uat din cauza unuia sau a mai multor c\xE2mpuri nevalide. Re-executa\u021Bi instrumentul pentru a crea un strat tematic cu c\xE2mpuri valide.",z="Trimiterea lucr\u0103rii nu a reu\u0219it. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i executa\u021Bi analiza din nou.",T="${ dataPath } trebuie s\u0103 aib\u0103 cel pu\u021Bin un caracter non-spa\u021Biu gol.",x={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:u,enumValues:o,failedToSaveHistory:n,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:d,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:v,maxItems:E,mbFailedToSave:b,minItems:f,minLength:h,modelNotFound:P,networkError:S,noPermissionToAccessTool:y,portalLoadError:N,queryFeaturesError:$,requiredProperty:g,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:k,toolValidationError:z,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,x as default,u as defaultError,o as enumValues,n as failedToSaveHistory,l as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,d as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,E as maxItems,b as mbFailedToSave,f as minItems,h as minLength,P as modelNotFound,S as networkError,y as noPermissionToAccessTool,N as portalLoadError,$ as queryFeaturesError,g as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,k as temporaryLayerFieldsError,z as toolValidationError,T as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import"./MMFULDI7.js";var e="U hebt niet genoeg credits om deze actie uit te voeren. Neem contact op met uw ArcGIS-systeembeheerder voor ondersteuning.",a="Deze tool is gepubliceerd vanaf een notebook. Toegang tot ArcGIS Notebooks is geblokkeerd voor uw organisatie. Neem contact op met uw beheerders om de instelling aan te passen.",t="${ dataPath } mag geen ${ additionalProperty } hebben.",r="${ dataPath } moet overeenkomen met het schema van een van deze: ${ schemaOptions }.",n="Probeer de kaart opnieuw op te slaan.",o="Kredietraming is mislukt. Scroll omlaag, corrigeer de fouten en voer een nieuwe kredietraming uit.",i="Er is een fout opgetreden bij het uitvoeren van de analyse.",s="${ dataPath } moet gelijk zijn aan een van deze toegelaten waarden: ${ allowedValues }.",l="Kan analysegeschiedenis niet opslaan",d="Het geschiedenisarchief is vol. Verwijder een paar items uit de analysegeschiedenis en probeer opnieuw op te slaan.",m="De naam van de service bevat een of meer ongeldige tekens.",g="Het opslaan van de tijdelijke laag als gehoste feature layer is niet voltooid.",u="Belangrijkste eigenschappen krijgen mislukt.",c="Kaartlaag laden mislukt.",h="Laag is niet beschikbaar",v="${ dataPath } mag niet meer dan ${ limit } items hebben.",p="Er is een fout opgetreden bij het opslaan van het model. Probeer opnieuw op te slaan.",k="${ dataPath } mag niet minder dan ${ limit } items hebben.",b="${ dataPath } mag niet korter zijn dan ${ limit } tekens.",E="Kan het modelitem niet laden. Controleer of het model bestaat en dat er toegangsmachtigingen zijn verleend.",f="Voltooien van verzoek is mislukt.",y="U bent niet gemachtigd voor het uitvoeren van deze tool. <calcite-link target='_blank' href='${ docLink }'>Meer informatie</calcite-link>",P="Kan niet inloggen bij portal.",S="Kan invoergegevens niet lezen.",w="${ dataPath } mist een eigenschap met de naam ${ missingProperty }.",$="Er bestaat al een resultaatlaag met deze naam. Resultaatlagen moeten uniek zijn binnen de organisatie. Gebruik een andere naam.",j="De uitvoernaam bevat een of meer ongeldige tekens. <a href='${docLink}' target='_blank'>Meer informatie.</a>",F="Het publiceren van de tijdelijke laag als een gehoste laag is mistlukt als gevolg van een of meer ongeldige velden. Voer de tool opnieuw uit om een laag met geldige velden te maken.",I="Taakindiening is mislukt. Scroll omlaag, corrigeer de fouten en voer de analyse opnieuw uit.",T="${ dataPath } moet minstens \xE9\xE9n non-whitespace teken hebben.",z={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:o,defaultError:i,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:u,layerLoadFailure:c,layerUnavailable:h,maxItems:v,mbFailedToSave:p,minItems:k,minLength:b,modelNotFound:E,networkError:f,noPermissionToAccessTool:y,portalLoadError:P,queryFeaturesError:S,requiredProperty:w,serviceNameExistsError:$,specialCharactersInServiceNameError:j,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,o as creditEstimationError,z as default,i as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,c as layerLoadFailure,h as layerUnavailable,v as maxItems,p as mbFailedToSave,k as minItems,b as minLength,E as modelNotFound,f as networkError,y as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,w as requiredProperty,$ as serviceNameExistsError,j as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
3
+ v1.1.0-next.20251009 */
4
+ import"./QSBB7GQ6.js";var e="U hebt niet genoeg credits om deze actie uit te voeren. Neem contact op met uw ArcGIS-systeembeheerder voor ondersteuning.",a="Deze tool is gepubliceerd vanaf een notebook. Toegang tot ArcGIS Notebooks is geblokkeerd voor uw organisatie. Neem contact op met uw beheerders om de instelling aan te passen.",t="${ dataPath } mag geen ${ additionalProperty } hebben.",r="${ dataPath } moet overeenkomen met het schema van een van deze: ${ schemaOptions }.",n="Probeer de kaart opnieuw op te slaan.",o="Kredietraming is mislukt. Scroll omlaag, corrigeer de fouten en voer een nieuwe kredietraming uit.",i="Er is een fout opgetreden bij het uitvoeren van de analyse.",s="${ dataPath } moet gelijk zijn aan een van deze toegelaten waarden: ${ allowedValues }.",l="Kan analysegeschiedenis niet opslaan",d="Het geschiedenisarchief is vol. Verwijder een paar items uit de analysegeschiedenis en probeer opnieuw op te slaan.",m="De naam van de service bevat een of meer ongeldige tekens.",g="Het opslaan van de tijdelijke laag als gehoste feature layer is niet voltooid.",u="Belangrijkste eigenschappen krijgen mislukt.",c="Kaartlaag laden mislukt.",h="Laag is niet beschikbaar",v="${ dataPath } mag niet meer dan ${ limit } items hebben.",p="Er is een fout opgetreden bij het opslaan van het model. Probeer opnieuw op te slaan.",k="${ dataPath } mag niet minder dan ${ limit } items hebben.",b="${ dataPath } mag niet korter zijn dan ${ limit } tekens.",E="Kan het modelitem niet laden. Controleer of het model bestaat en dat er toegangsmachtigingen zijn verleend.",f="Voltooien van verzoek is mislukt.",y="U bent niet gemachtigd voor het uitvoeren van deze tool. <calcite-link target='_blank' href='${ docLink }'>Meer informatie</calcite-link>",P="Kan niet inloggen bij portal.",S="Kan invoergegevens niet lezen.",w="${ dataPath } mist een eigenschap met de naam ${ missingProperty }.",$="Er bestaat al een resultaatlaag met deze naam. Resultaatlagen moeten uniek zijn binnen de organisatie. Gebruik een andere naam.",j="De uitvoernaam bevat een of meer ongeldige tekens. <a href='${docLink}' target='_blank'>Meer informatie.</a>",F="Het publiceren van de tijdelijke laag als een gehoste laag is mistlukt als gevolg van een of meer ongeldige velden. Voer de tool opnieuw uit om een laag met geldige velden te maken.",I="Taakindiening is mislukt. Scroll omlaag, corrigeer de fouten en voer de analyse opnieuw uit.",T="${ dataPath } moet minstens \xE9\xE9n non-whitespace teken hebben.",z={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:o,defaultError:i,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:u,layerLoadFailure:c,layerUnavailable:h,maxItems:v,mbFailedToSave:p,minItems:k,minLength:b,modelNotFound:E,networkError:f,noPermissionToAccessTool:y,portalLoadError:P,queryFeaturesError:S,requiredProperty:w,serviceNameExistsError:$,specialCharactersInServiceNameError:j,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,o as creditEstimationError,z as default,i as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,c as layerLoadFailure,h as layerUnavailable,v as maxItems,p as mbFailedToSave,k as minItems,b as minLength,E as modelNotFound,f as networkError,y as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,w as requiredProperty,$ as serviceNameExistsError,j as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{l as g}from"./KYHIL5F4.js";import{c as i,d as f}from"./YECBIR5K.js";import{a as o}from"./7DWTV2LQ.js";import{b as c}from"./57QWWLMF.js";import{c as m,j as l,k as s,l as d,w as p}from"./RUSZENO2.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
3
+ v1.1.0-next.20251009 */
4
+ import{l as g}from"./5W3FJJMX.js";import{c as i,d as f}from"./YDDBA5BZ.js";import{a as o}from"./V4SQ7F5T.js";import{b as c}from"./SWMW7QZQ.js";import{c as m,j as l,k as s,l as d,w as p}from"./TIXAREAF.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{b as c}from"./263SV4HF.js";import{b as d}from"./DXNMODEI.js";import{C as o,D as n,E as h,h as r,i as a,o as s}from"./E2VLBYBH.js";import"./MMFULDI7.js";var m=r`/** @license
3
+ v1.1.0-next.20251009 */
4
+ import{b as c}from"./CBOGHC63.js";import{b as d}from"./SHGVPHG7.js";import{C as o,D as n,E as h,h as r,i as a,o as s}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";var m=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import"./MMFULDI7.js";var l=async(e,t,r)=>{let o=t.orgUrlKey;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.siteUrl.label`,options:{requiredHelperText:{labelKey:`${e}.sections.defaultRequiredHelperText`}},elements:[{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:o,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]},{type:"Section",labelKey:`${e}.sections.privacy.label`,elements:[{scope:"/properties/telemetry/properties/consentNotice",type:"Control",options:{control:"arcgis-privacy-config"}}]}]}};export{l as buildUiSchema};
3
+ v1.1.0-next.20251009 */
4
+ import"./QSBB7GQ6.js";var l=async(e,t,r)=>{let o=t.orgUrlKey;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.siteUrl.label`,options:{requiredHelperText:{labelKey:`${e}.sections.defaultRequiredHelperText`}},elements:[{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:o,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]},{type:"Section",labelKey:`${e}.sections.privacy.label`,elements:[{scope:"/properties/telemetry/properties/consentNotice",type:"Control",options:{control:"arcgis-privacy-config"}}]}]}};export{l as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251008 */
4
- import{a as r}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b as o}from"./DXNMODEI.js";import{E as n,h as l,i as a,o as i}from"./E2VLBYBH.js";import"./MMFULDI7.js";var c=l`/** @license
3
+ v1.1.0-next.20251009 */
4
+ import{a as r}from"./67D7ZMIO.js";import"./FWUQZ3X3.js";import"./6PTHBN37.js";import{b as o}from"./SHGVPHG7.js";import{E as n,h as l,i as a,o as i}from"./6K7IMQAZ.js";import"./QSBB7GQ6.js";var c=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");