@esri/solutions-components 1.2.0-next.2 → 1.2.0-next.20

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 (1085) hide show
  1. package/dist/assets/config/appConfig.json.d.ts +1 -0
  2. package/dist/cdn/24NXLO23.js +4 -0
  3. package/dist/cdn/2A43GCOV.js +18 -0
  4. package/dist/cdn/2ALMQ2ZF.js +18 -0
  5. package/dist/cdn/2AZTXL4Y.js +18 -0
  6. package/dist/cdn/2CK7SB3E.js +4 -0
  7. package/dist/cdn/2E2FE2UD.js +4 -0
  8. package/dist/cdn/2I5JVFLV.js +4 -0
  9. package/dist/cdn/2KDPEGNM.js +4 -0
  10. package/dist/cdn/2KGL2KRL.js +4 -0
  11. package/dist/cdn/2LPVFJKJ.js +5 -0
  12. package/dist/cdn/2R7AUPQI.js +4 -0
  13. package/dist/cdn/2U37MMSW.js +18 -0
  14. package/dist/cdn/3C4ETSRM.js +4 -0
  15. package/dist/cdn/3D3RNQXF.js +4 -0
  16. package/dist/cdn/3J6DNKCB.js +4 -0
  17. package/dist/cdn/3JEP4BL5.js +4 -0
  18. package/dist/cdn/3JTKRUV2.js +4 -0
  19. package/dist/cdn/3RRAETYC.js +4 -0
  20. package/dist/cdn/3SE34IUW.js +18 -0
  21. package/dist/cdn/3SZISG5C.js +4 -0
  22. package/dist/cdn/3UHWOBFU.js +4 -0
  23. package/dist/cdn/3XMYR6AO.js +4 -0
  24. package/dist/cdn/44X6QKRO.js +4 -0
  25. package/dist/cdn/4EKEBZDH.js +82 -0
  26. package/dist/cdn/4H5JZV3N.js +4 -0
  27. package/dist/cdn/4KSQVRTW.js +9 -0
  28. package/dist/cdn/4KVLYOZL.js +4 -0
  29. package/dist/cdn/4L4Y76VM.js +4 -0
  30. package/dist/cdn/4VB4MJKS.js +4 -0
  31. package/dist/cdn/4W4KYXC7.js +18 -0
  32. package/dist/cdn/5BCHBBEG.js +4 -0
  33. package/dist/cdn/5CLHQWXO.js +18 -0
  34. package/dist/cdn/5FQDPXO7.js +4 -0
  35. package/dist/cdn/5GMJ5YD4.js +18 -0
  36. package/dist/cdn/5IY7QON3.js +4 -0
  37. package/dist/cdn/5JWBQM5X.js +4 -0
  38. package/dist/cdn/5K27OV6X.js +4 -0
  39. package/dist/cdn/5LCZHYVJ.js +4 -0
  40. package/dist/cdn/5Q45QLUW.js +4 -0
  41. package/dist/cdn/5RB6LGBC.js +4 -0
  42. package/dist/cdn/5UFQVWVZ.js +4 -0
  43. package/dist/cdn/5UKVAD54.js +4 -0
  44. package/dist/cdn/5VCN4HJU.js +5 -0
  45. package/dist/cdn/5Y5WZKXD.js +20 -0
  46. package/dist/cdn/62MLOWEA.js +4 -0
  47. package/dist/cdn/67PFFTBT.js +4 -0
  48. package/dist/cdn/6HKQWPJC.js +29 -0
  49. package/dist/cdn/6JLUJWH6.js +18 -0
  50. package/dist/cdn/6JWFKDA2.js +4 -0
  51. package/dist/cdn/6PHCJUDM.js +18 -0
  52. package/dist/cdn/6TG2EO2Z.js +4 -0
  53. package/dist/cdn/6TJU76R3.js +4 -0
  54. package/dist/cdn/6VXUORBY.js +4 -0
  55. package/dist/cdn/6WZU5A27.js +18 -0
  56. package/dist/cdn/6ZG44WOK.js +4 -0
  57. package/dist/cdn/73ILD7CJ.js +4 -0
  58. package/dist/cdn/7B2JUGRA.js +4 -0
  59. package/dist/cdn/7CGF4Q2X.js +4 -0
  60. package/dist/cdn/7GMOCOVS.js +4 -0
  61. package/dist/cdn/7JBU7L6F.js +18 -0
  62. package/dist/cdn/7KMYAWJ5.js +4 -0
  63. package/dist/cdn/7L3YSULP.js +18 -0
  64. package/dist/cdn/7M2CWJFQ.js +4 -0
  65. package/dist/cdn/7MLWYGOM.js +18 -0
  66. package/dist/cdn/7QNFIYHN.js +18 -0
  67. package/dist/cdn/7RFFTMJS.js +4 -0
  68. package/dist/cdn/7XIYLGPM.js +4 -0
  69. package/dist/cdn/A2NUNLI7.js +4 -0
  70. package/dist/cdn/A4BQL2K3.js +4 -0
  71. package/dist/cdn/A7N6WDBV.js +4 -0
  72. package/dist/cdn/A7TYO73E.js +4 -0
  73. package/dist/cdn/AA4EWK4C.js +18 -0
  74. package/dist/cdn/ABVF5BMO.js +4 -0
  75. package/dist/cdn/AFTQSX7I.js +4 -0
  76. package/dist/cdn/AHNRTMIR.js +4 -0
  77. package/dist/cdn/AKYZ7MV4.js +4 -0
  78. package/dist/cdn/ALEZMHWP.js +18 -0
  79. package/dist/cdn/AMM6V7TB.js +4 -0
  80. package/dist/cdn/AUEIJUOE.js +18 -0
  81. package/dist/cdn/AWYWTRXR.js +4 -0
  82. package/dist/cdn/B2WOMW43.js +4 -0
  83. package/dist/cdn/B53MK47Y.js +18 -0
  84. package/dist/cdn/BCVMTQ7X.js +18 -0
  85. package/dist/cdn/BFY7RHIE.js +18 -0
  86. package/dist/cdn/BHQ5RFLI.js +18 -0
  87. package/dist/cdn/BP2CHTVW.js +4 -0
  88. package/dist/cdn/BYHVLFM4.js +4 -0
  89. package/dist/cdn/BZ4SCSVK.js +4 -0
  90. package/dist/cdn/C2HOCMY5.js +4 -0
  91. package/dist/cdn/C2NWD2IM.js +4 -0
  92. package/dist/cdn/C3V5DJBO.js +19 -0
  93. package/dist/cdn/C3XGN444.js +4 -0
  94. package/dist/cdn/C6F4HO5U.js +4 -0
  95. package/dist/cdn/CA3G4QAA.js +4 -0
  96. package/dist/cdn/CBW6ZCMO.js +4 -0
  97. package/dist/cdn/CCSUXK4Q.js +4 -0
  98. package/dist/cdn/CDI76SS4.js +18 -0
  99. package/dist/cdn/CEDUDGY3.js +4 -0
  100. package/dist/cdn/CHWH5FGQ.js +4 -0
  101. package/dist/cdn/CKIAT6FZ.js +4 -0
  102. package/dist/cdn/CL2HUELG.js +4 -0
  103. package/dist/cdn/CNQYI77D.js +4 -0
  104. package/dist/cdn/CP4KQ5JU.js +4 -0
  105. package/dist/cdn/CRA26J6U.js +4 -0
  106. package/dist/cdn/CVPWFU5K.js +18 -0
  107. package/dist/cdn/D6U22V3H.js +4 -0
  108. package/dist/cdn/D7VLL243.js +18 -0
  109. package/dist/cdn/D7VNUZC6.js +4 -0
  110. package/dist/cdn/DEGZEHFA.js +18 -0
  111. package/dist/cdn/DFADPAZK.js +4 -0
  112. package/dist/cdn/DGGOQ3L4.js +6 -0
  113. package/dist/cdn/DMHPJDKF.js +4 -0
  114. package/dist/cdn/DMWBD2QY.js +4 -0
  115. package/dist/cdn/DOFGLV3C.js +18 -0
  116. package/dist/cdn/DPD4MWDN.js +4 -0
  117. package/dist/cdn/DTS4PRW6.js +4 -0
  118. package/dist/cdn/DZPWOUEC.js +4 -0
  119. package/dist/cdn/DZVV6CD7.js +4 -0
  120. package/dist/cdn/E3DHDSJM.js +4 -0
  121. package/dist/cdn/EA2CRCAW.js +4 -0
  122. package/dist/cdn/EDGKUXXH.js +4 -0
  123. package/dist/cdn/EJ6BXACD.js +4 -0
  124. package/dist/cdn/EL22VV3P.js +4 -0
  125. package/dist/cdn/EM3ALNIJ.js +4 -0
  126. package/dist/cdn/EMC4J76D.js +4 -0
  127. package/dist/cdn/ERJ3FGFF.js +4 -0
  128. package/dist/cdn/ET53ODBH.js +4 -0
  129. package/dist/cdn/F3N33DMK.js +4 -0
  130. package/dist/cdn/FDRN4UNS.js +4 -0
  131. package/dist/cdn/FDYQ2FKY.js +4 -0
  132. package/dist/cdn/FF3XYEI3.js +4 -0
  133. package/dist/cdn/FGMT2KHY.js +4 -0
  134. package/dist/cdn/FJUDCABT.js +18 -0
  135. package/dist/cdn/G2V4X4JH.js +4 -0
  136. package/dist/cdn/G577XEWY.js +4 -0
  137. package/dist/cdn/G7XF4ZJ4.js +18 -0
  138. package/dist/cdn/GEUPVEDN.js +4 -0
  139. package/dist/cdn/GKEQBFSS.js +18 -0
  140. package/dist/cdn/GKZFHOW2.js +4 -0
  141. package/dist/cdn/GLAVWPYD.js +4 -0
  142. package/dist/cdn/GLDIEU4P.js +4 -0
  143. package/dist/cdn/GMXSVE5F.js +4 -0
  144. package/dist/cdn/GUBSZEOJ.js +4 -0
  145. package/dist/cdn/GZ45JBXT.js +4 -0
  146. package/dist/cdn/HA4BRCZL.js +4 -0
  147. package/dist/cdn/HETCA2TC.js +4 -0
  148. package/dist/cdn/HGSRS4G7.js +4 -0
  149. package/dist/cdn/HJMB6XLQ.js +4 -0
  150. package/dist/cdn/HUP3H66T.js +4 -0
  151. package/dist/cdn/HVJNKZ76.js +18 -0
  152. package/dist/cdn/HWXHOMUP.js +4 -0
  153. package/dist/cdn/HYVUWU6M.js +4 -0
  154. package/dist/cdn/I3DKKF5F.js +4 -0
  155. package/dist/cdn/I3PEU4E4.js +4 -0
  156. package/dist/cdn/I4PXPOT7.js +4 -0
  157. package/dist/cdn/I5BUX6M6.js +4 -0
  158. package/dist/cdn/I6MYM6IJ.js +18 -0
  159. package/dist/cdn/I7DFBRAW.js +4 -0
  160. package/dist/cdn/I7PYIEVL.js +18 -0
  161. package/dist/cdn/IP5RAZNL.js +4 -0
  162. package/dist/cdn/IQ653RQE.js +4 -0
  163. package/dist/cdn/IW5AHPNH.js +18 -0
  164. package/dist/cdn/IWS4I3HA.js +4 -0
  165. package/dist/cdn/IXDDY2QM.js +4 -0
  166. package/dist/cdn/IXMHUULQ.js +25 -0
  167. package/dist/cdn/J27HWMOU.js +4 -0
  168. package/dist/cdn/J6IBYFB7.js +4 -0
  169. package/dist/cdn/JE7GMEC2.js +18 -0
  170. package/dist/cdn/JWKBLBHU.js +4 -0
  171. package/dist/cdn/K2RFNUWO.js +4 -0
  172. package/dist/cdn/K5R7D36H.js +4 -0
  173. package/dist/cdn/KCUSGNOT.js +4 -0
  174. package/dist/cdn/KHN6DAWC.js +4 -0
  175. package/dist/cdn/KHVQFIOO.js +4 -0
  176. package/dist/cdn/KI2VCUWI.js +4 -0
  177. package/dist/cdn/KIB3SJXC.js +4 -0
  178. package/dist/cdn/KLYMYJXG.js +4 -0
  179. package/dist/cdn/KM5ULZP3.js +18 -0
  180. package/dist/cdn/KUAZYP5Z.js +18 -0
  181. package/dist/cdn/KVXQDAG4.js +4 -0
  182. package/dist/cdn/KWTHKTQ3.js +4 -0
  183. package/dist/cdn/KX5726AR.js +4 -0
  184. package/dist/cdn/KYROOFA3.js +294 -0
  185. package/dist/cdn/L5IXOZ6K.js +4 -0
  186. package/dist/cdn/L5L3D2MP.js +4 -0
  187. package/dist/cdn/LA57LCMB.js +4 -0
  188. package/dist/cdn/LBN2RTAD.js +4 -0
  189. package/dist/cdn/LCJL63FQ.js +4 -0
  190. package/dist/cdn/LEJ63S6Y.js +4 -0
  191. package/dist/cdn/LEMWW4ED.js +4 -0
  192. package/dist/cdn/LHSOZNOH.js +4 -0
  193. package/dist/cdn/LIXADYN2.js +4 -0
  194. package/dist/cdn/LLCAUOLE.js +4 -0
  195. package/dist/cdn/LQHGJORU.js +4 -0
  196. package/dist/cdn/LSNSP3E4.js +4 -0
  197. package/dist/cdn/M2ZJDR4T.js +4 -0
  198. package/dist/cdn/M67UKJWV.js +4 -0
  199. package/dist/cdn/M7J53CH4.js +18 -0
  200. package/dist/cdn/MPEIFNG5.js +21 -0
  201. package/dist/cdn/MQ6QXIYX.js +4 -0
  202. package/dist/cdn/MQUYDV5R.js +4 -0
  203. package/dist/cdn/N4AIZVPV.js +4 -0
  204. package/dist/cdn/NF4TQGZG.js +18 -0
  205. package/dist/cdn/NFAELL2V.js +4 -0
  206. package/dist/cdn/NHSZXNZV.js +18 -0
  207. package/dist/cdn/NKYODIPR.js +18 -0
  208. package/dist/cdn/NL5HFA2J.js +4 -0
  209. package/dist/cdn/NMG2ID6N.js +4 -0
  210. package/dist/cdn/NMIFRQTZ.js +4 -0
  211. package/dist/cdn/NOPHLD4K.js +4 -0
  212. package/dist/cdn/NPAJ34CV.js +4 -0
  213. package/dist/cdn/NPOGRCJT.js +4 -0
  214. package/dist/cdn/NQHBEVOL.js +4 -0
  215. package/dist/cdn/NQP4W34S.js +8 -0
  216. package/dist/cdn/NUYH6NTK.js +4 -0
  217. package/dist/cdn/OJYHZLP5.js +18 -0
  218. package/dist/cdn/OK6VX227.js +19 -0
  219. package/dist/cdn/OKERLMQE.js +4 -0
  220. package/dist/cdn/OL22QE26.js +4 -0
  221. package/dist/cdn/OPR2BXKC.js +4 -0
  222. package/dist/cdn/OTUN2NKK.js +18 -0
  223. package/dist/cdn/OUD44QTO.js +4 -0
  224. package/dist/cdn/OX3SGCCQ.js +18 -0
  225. package/dist/cdn/P3BJE2HN.js +4 -0
  226. package/dist/cdn/PFGY7OJD.js +4 -0
  227. package/dist/cdn/PKJNXMVR.js +4 -0
  228. package/dist/cdn/PNIMBHES.js +4 -0
  229. package/dist/cdn/PSMIHRUH.js +4 -0
  230. package/dist/cdn/PTF4V2H4.js +4 -0
  231. package/dist/cdn/PXQKI3CA.js +4 -0
  232. package/dist/cdn/PYISYGHM.js +4 -0
  233. package/dist/cdn/Q5CNUDGT.js +4 -0
  234. package/dist/cdn/Q62F7PR4.js +4 -0
  235. package/dist/cdn/QCFLEL57.js +4 -0
  236. package/dist/cdn/QEIXC65L.js +4 -0
  237. package/dist/cdn/QFF7V4PQ.js +4 -0
  238. package/dist/cdn/QFJYWPYF.js +4 -0
  239. package/dist/cdn/QTFLAIE5.js +4 -0
  240. package/dist/cdn/QU42CF6F.js +18 -0
  241. package/dist/cdn/R4NHUKQL.js +18 -0
  242. package/dist/cdn/RBY4RRXS.js +4 -0
  243. package/dist/cdn/RCFLYQVH.js +4 -0
  244. package/dist/cdn/RCKQ7IME.js +18 -0
  245. package/dist/cdn/RFFJFE4V.js +4 -0
  246. package/dist/cdn/RGTERX4S.js +4 -0
  247. package/dist/cdn/RJBUFP4Z.js +4 -0
  248. package/dist/cdn/RLZYJMK2.js +4 -0
  249. package/dist/cdn/RT3O7MJA.js +18 -0
  250. package/dist/cdn/RXAFOSW5.js +4 -0
  251. package/dist/cdn/RYLMXGYK.js +4 -0
  252. package/dist/cdn/S6R6G6MM.js +4 -0
  253. package/dist/cdn/SCSYXJ7N.js +18 -0
  254. package/dist/cdn/SHFBCRKO.js +4 -0
  255. package/dist/cdn/SKNE6RLM.js +4 -0
  256. package/dist/cdn/SNAXFCRD.js +4 -0
  257. package/dist/cdn/SRGIOXPX.js +6 -0
  258. package/dist/cdn/ST3O4SWS.js +8 -0
  259. package/dist/cdn/SV5GS7VD.js +4 -0
  260. package/dist/cdn/SWAZYX4I.js +63 -0
  261. package/dist/cdn/T47XNO3L.js +4 -0
  262. package/dist/cdn/T4BKHW4Q.js +4 -0
  263. package/dist/cdn/T6EN2LQT.js +4 -0
  264. package/dist/cdn/TJBM3R6U.js +18 -0
  265. package/dist/cdn/TS3DBIH4.js +4 -0
  266. package/dist/cdn/TXQG7PH5.js +18 -0
  267. package/dist/cdn/TZ4JYL26.js +4 -0
  268. package/dist/cdn/UEBQNKZH.js +4 -0
  269. package/dist/cdn/UHDBPQAZ.js +4 -0
  270. package/dist/cdn/UI7FKZHS.js +4 -0
  271. package/dist/cdn/UMFU7KU2.js +4 -0
  272. package/dist/cdn/UNXBX2LJ.js +4 -0
  273. package/dist/cdn/UNXJMJFU.js +4 -0
  274. package/dist/cdn/UQHNT6NC.js +4 -0
  275. package/dist/cdn/USDRTL75.js +4 -0
  276. package/dist/cdn/UV3OCW2R.js +4 -0
  277. package/dist/cdn/UWAVF2GP.js +18 -0
  278. package/dist/cdn/V272SPSH.js +4 -0
  279. package/dist/cdn/V5XAPNIN.js +19 -0
  280. package/dist/cdn/VC3ONQSP.js +4 -0
  281. package/dist/cdn/VCA7V37B.js +4 -0
  282. package/dist/cdn/VEILQFP2.js +4 -0
  283. package/dist/cdn/VHUKKY5C.js +4 -0
  284. package/dist/cdn/VIKALXXD.js +4 -0
  285. package/dist/cdn/VKQSUS2D.js +18 -0
  286. package/dist/cdn/VLVHNMFY.js +4 -0
  287. package/dist/cdn/VMS64XK4.js +18 -0
  288. package/dist/cdn/VP76CX4U.js +18 -0
  289. package/dist/cdn/VRYNGE64.js +4 -0
  290. package/dist/cdn/VX7VTV2U.js +4 -0
  291. package/dist/cdn/VZ2AGJN5.js +4 -0
  292. package/dist/cdn/VZ4GI3Y5.js +4 -0
  293. package/dist/cdn/W6PJINLH.js +4 -0
  294. package/dist/cdn/W7I2RFAY.js +4 -0
  295. package/dist/cdn/WBZEJCYL.js +4 -0
  296. package/dist/cdn/WEUFVO6F.js +4 -0
  297. package/dist/cdn/WGNE3DPP.js +4 -0
  298. package/dist/cdn/WJAN6LLL.js +9 -0
  299. package/dist/cdn/WL5TY3AP.js +4 -0
  300. package/dist/cdn/WO3K4V6S.js +18 -0
  301. package/dist/cdn/WOC7MJRV.js +4 -0
  302. package/dist/cdn/WPCGB26M.js +18 -0
  303. package/dist/cdn/WPRUSW2K.js +4 -0
  304. package/dist/cdn/WS4XMXPD.js +4 -0
  305. package/dist/cdn/WTEOQ6IU.js +4 -0
  306. package/dist/cdn/WX2Q5L3D.js +18 -0
  307. package/dist/cdn/WX6CMXEK.js +4 -0
  308. package/dist/cdn/WXWPPR6B.js +89 -0
  309. package/dist/cdn/X3CQIPF3.js +18 -0
  310. package/dist/cdn/X4HZQF3T.js +4 -0
  311. package/dist/cdn/X7HNESXH.js +8 -0
  312. package/dist/cdn/XBNCRUBM.js +4 -0
  313. package/dist/cdn/XBVQ745C.js +18 -0
  314. package/dist/cdn/XHLRAGQ2.js +4 -0
  315. package/dist/cdn/XHXMDQDA.js +4 -0
  316. package/dist/cdn/XIEML7FT.js +18 -0
  317. package/dist/cdn/XLNL32C3.js +18 -0
  318. package/dist/cdn/XOT6KGWE.js +387 -0
  319. package/dist/cdn/XX4ZM5IC.js +4 -0
  320. package/dist/cdn/XY6XTEZB.js +4 -0
  321. package/dist/cdn/XYCXFP2Q.js +4 -0
  322. package/dist/cdn/Y5GTJ73V.js +4 -0
  323. package/dist/cdn/YESTJISJ.js +4 -0
  324. package/dist/cdn/YFSAZFMI.js +4 -0
  325. package/dist/cdn/YIFZSXOX.js +4 -0
  326. package/dist/cdn/YIXPGCUC.js +4 -0
  327. package/dist/cdn/YKBX525C.js +4 -0
  328. package/dist/cdn/YKPVSW3B.js +4 -0
  329. package/dist/cdn/YLYRRWJW.js +4 -0
  330. package/dist/cdn/YRBA2ZGR.js +4 -0
  331. package/dist/cdn/YTTUHU2O.js +4 -0
  332. package/dist/cdn/YWYPENHD.js +4 -0
  333. package/dist/cdn/Z2FUMODE.js +4 -0
  334. package/dist/cdn/Z2V2BGBO.js +4 -0
  335. package/dist/cdn/Z2XSUUH4.js +18 -0
  336. package/dist/cdn/Z3JRVSB5.js +4 -0
  337. package/dist/cdn/Z56HKANV.js +18 -0
  338. package/dist/cdn/ZE3EUHXG.js +4 -0
  339. package/dist/cdn/ZF2XHMQZ.js +4 -0
  340. package/dist/cdn/ZFAAOHYX.js +4 -0
  341. package/dist/cdn/ZFZ663TV.js +4 -0
  342. package/dist/cdn/ZIAGI22J.js +4 -0
  343. package/dist/cdn/ZUQRVCPO.js +18 -0
  344. package/dist/cdn/ZV5K3H2V.js +4 -0
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -0
  346. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -0
  347. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -0
  348. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -0
  349. package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
  350. package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
  351. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  352. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  353. package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -0
  354. package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -0
  355. package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
  356. package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
  357. package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
  358. package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
  359. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
  360. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
  361. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
  362. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
  363. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  364. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
  365. package/dist/cdn/assets/solutions-resources/t9n/messages.en.json +1 -0
  366. package/dist/cdn/assets/solutions-resources/t9n/messages.json +1 -0
  367. package/dist/cdn/index.js +2 -2
  368. package/dist/cdn/main.css +1 -1
  369. package/dist/chunks/Auth.js +14 -14
  370. package/dist/chunks/CardsFetcher.js +1 -1
  371. package/dist/chunks/appConfig.js +13 -10
  372. package/dist/chunks/cardFetchingUtils.js +1 -1
  373. package/dist/chunks/cardsHelpers.js +30 -20
  374. package/dist/chunks/common.js +1 -1
  375. package/dist/chunks/deployAppContexts.js +1 -1
  376. package/dist/chunks/downloadUtils.js +1 -1
  377. package/dist/chunks/getItemIcon.js +1 -1
  378. package/dist/chunks/helpers.js +30 -25
  379. package/dist/chunks/interfaces.js +3 -3
  380. package/dist/chunks/loadModules.js +1 -1
  381. package/dist/chunks/mapViewUtils.js +1 -1
  382. package/dist/chunks/pciUtils.js +1 -1
  383. package/dist/chunks/popupUtils.js +1 -1
  384. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  385. package/dist/chunks/privilegeUtils.js +1 -1
  386. package/dist/chunks/publicNotificationContext.js +1 -1
  387. package/dist/chunks/queryUtils.js +1 -1
  388. package/dist/chunks/runtime.js +1 -1
  389. package/dist/chunks/solution-store.js +1 -1
  390. package/dist/chunks/templates.js +1 -1
  391. package/dist/chunks/useT9n.js +1 -1
  392. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +96 -9
  393. package/dist/components/arcgis-solutions-assistant/customElement.js +1366 -60
  394. package/dist/components/arcgis-solutions-assistant/index.d.ts +4 -4
  395. package/dist/components/arcgis-solutions-assistant/index.js +4 -4
  396. package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +22 -0
  397. package/dist/components/basemap-gallery/customElement.js +1 -1
  398. package/dist/components/buffer-tools/customElement.js +1 -1
  399. package/dist/components/card-manager/customElement.js +1 -1
  400. package/dist/components/consent-manager/customElement.js +1 -1
  401. package/dist/components/create-feature/customElement.js +1 -1
  402. package/dist/components/create-related-feature/customElement.js +1 -1
  403. package/dist/components/crowdsource-manager/customElement.js +1 -1
  404. package/dist/components/crowdsource-reporter/customElement.js +3 -3
  405. package/dist/components/deduct-calculator/customElement.js +1 -1
  406. package/dist/components/delete-button/customElement.js +1 -1
  407. package/dist/components/delete-dialog/customElement.js +1 -1
  408. package/dist/components/edit-card/customElement.js +1 -1
  409. package/dist/components/feature-details/customElement.js +1 -1
  410. package/dist/components/feature-list/customElement.js +1 -1
  411. package/dist/components/field-selection/customElement.js +1 -1
  412. package/dist/components/floor-filter/customElement.js +1 -1
  413. package/dist/components/info-card/customElement.js +1 -1
  414. package/dist/components/json-editor/customElement.js +1 -1
  415. package/dist/components/layer-list/customElement.js +1 -1
  416. package/dist/components/layer-table/customElement.js +16 -16
  417. package/dist/components/map-card/customElement.js +14 -14
  418. package/dist/components/map-draw-tools/customElement.js +1 -1
  419. package/dist/components/map-fullscreen/customElement.js +1 -1
  420. package/dist/components/map-layer-picker/customElement.d.ts +6 -0
  421. package/dist/components/map-layer-picker/customElement.js +25 -19
  422. package/dist/components/map-legend/customElement.js +1 -1
  423. package/dist/components/map-picker/customElement.js +1 -1
  424. package/dist/components/map-search/customElement.js +1 -1
  425. package/dist/components/map-select-tools/customElement.js +1 -1
  426. package/dist/components/map-tools/customElement.js +1 -1
  427. package/dist/components/pci-calculator/customElement.js +1 -1
  428. package/dist/components/pdf-download/customElement.js +1 -1
  429. package/dist/components/public-notification/customElement.js +1 -1
  430. package/dist/components/refine-selection/customElement.js +1 -1
  431. package/dist/components/selection-tool/customElement.js +1 -1
  432. package/dist/components/solution-configuration/customElement.js +1 -1
  433. package/dist/components/solution-configure-titles/customElement.js +22 -19
  434. package/dist/components/solution-contents/customElement.js +1 -1
  435. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  436. package/dist/components/solution-deploy-dialog/customElement.js +3 -3
  437. package/dist/components/solution-deployed-card/customElement.d.ts +4 -5
  438. package/dist/components/solution-deployed-card/customElement.js +35 -34
  439. package/dist/components/solution-deployed-card/index.d.ts +0 -1
  440. package/dist/components/solution-deployed-card/index.js +0 -1
  441. package/dist/components/solution-deployed-card-panel/customElement.d.ts +40 -0
  442. package/dist/components/solution-deployed-card-panel/customElement.js +118 -0
  443. package/dist/components/solution-deployed-card-panel/index.d.ts +15 -0
  444. package/dist/components/solution-deployed-card-panel/index.js +15 -0
  445. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  446. package/dist/components/solution-details-card/customElement.js +6 -6
  447. package/dist/components/solution-details-panel/customElement.js +72 -72
  448. package/dist/components/solution-details-panel/index.d.ts +1 -1
  449. package/dist/components/solution-details-panel/index.js +1 -1
  450. package/dist/components/solution-item/customElement.js +1 -1
  451. package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
  452. package/dist/components/solution-item-accordion/customElement.js +13 -9
  453. package/dist/components/solution-item-details/customElement.js +1 -1
  454. package/dist/components/solution-item-diagram/customElement.js +1 -1
  455. package/dist/components/solution-item-icon/customElement.js +1 -1
  456. package/dist/components/solution-item-sharing/customElement.js +1 -1
  457. package/dist/components/solution-organization-variables/customElement.js +1 -1
  458. package/dist/components/solution-resource-card/customElement.d.ts +37 -0
  459. package/dist/components/solution-resource-card/customElement.js +49 -0
  460. package/dist/components/solution-resource-item/customElement.js +1 -1
  461. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  462. package/dist/components/solution-social-share/customElement.js +1 -1
  463. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  464. package/dist/components/solution-template-data/customElement.js +1 -1
  465. package/dist/components/solution-variables/customElement.js +1 -1
  466. package/dist/components/solutions-all-panel/customElement.d.ts +6 -2
  467. package/dist/components/solutions-all-panel/customElement.js +66 -50
  468. package/dist/components/solutions-all-panel/index.d.ts +1 -0
  469. package/dist/components/solutions-all-panel/index.js +1 -0
  470. package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
  471. package/dist/components/solutions-all-shell/customElement.js +38 -33
  472. package/dist/components/solutions-deploy-app/customElement.d.ts +3 -2
  473. package/dist/components/solutions-deploy-app/customElement.js +65 -58
  474. package/dist/components/solutions-deploy-app/index.d.ts +2 -1
  475. package/dist/components/solutions-deploy-app/index.js +2 -1
  476. package/dist/components/solutions-deploy-app-nav/customElement.d.ts +4 -2
  477. package/dist/components/solutions-deploy-app-nav/customElement.js +52 -29
  478. package/dist/components/solutions-deploy-app-nav/index.d.ts +5 -2
  479. package/dist/components/solutions-deploy-app-nav/index.js +5 -2
  480. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  481. package/dist/components/solutions-deployed-panel/customElement.d.ts +4 -2
  482. package/dist/components/solutions-deployed-panel/customElement.js +45 -40
  483. package/dist/components/solutions-deployed-shell/customElement.js +11 -11
  484. package/dist/components/solutions-filter-panel/customElement.d.ts +12 -0
  485. package/dist/components/solutions-filter-panel/customElement.js +79 -62
  486. package/dist/components/solutions-filter-panel/index.d.ts +1 -0
  487. package/dist/components/solutions-filter-panel/index.js +1 -0
  488. package/dist/components/solutions-resource-panel/customElement.d.ts +17 -0
  489. package/dist/components/solutions-resource-panel/customElement.js +43 -0
  490. package/dist/components/solutions-resources/customElement.d.ts +7 -0
  491. package/dist/components/solutions-resources/customElement.js +105 -0
  492. package/dist/components/solutions-resources/index.d.ts +12 -0
  493. package/dist/components/solutions-resources/index.js +12 -0
  494. package/dist/components/solutions-resources-shell/customElement.d.ts +7 -0
  495. package/dist/components/solutions-resources-shell/customElement.js +43 -0
  496. package/dist/components/solutions-resources-shell/index.d.ts +5 -0
  497. package/dist/components/solutions-resources-shell/index.js +5 -0
  498. package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +9 -0
  499. package/dist/components/solutions-searchsort-toolbar/customElement.js +47 -37
  500. package/dist/components/spatial-ref/customElement.js +1 -1
  501. package/dist/components/store-manager/customElement.js +1 -1
  502. package/dist/docs/api.json +2577 -2001
  503. package/dist/docs/docs.json +1566 -1028
  504. package/dist/docs/vscode.html-custom-data.json +143 -106
  505. package/dist/docs/web-types.json +460 -310
  506. package/dist/index.d.ts +89 -70
  507. package/dist/index.js +1 -1
  508. package/dist/loader.js +14 -14
  509. package/dist/types/lumina.d.ts +41 -35
  510. package/dist/types/preact.d.ts +46 -40
  511. package/dist/types/preact10.d.ts +51 -45
  512. package/dist/types/react.d.ts +51 -45
  513. package/dist/types/stencil.d.ts +41 -35
  514. package/dist/utils/cardsHelpers.d.ts +14 -0
  515. package/dist/utils/helpers.d.ts +8 -1
  516. package/dist/utils/interfaces.d.ts +43 -24
  517. package/package.json +2 -2
  518. package/dist/cdn/22BFHC2I.js +0 -4
  519. package/dist/cdn/22LLS6WR.js +0 -18
  520. package/dist/cdn/24C3TAJY.js +0 -4
  521. package/dist/cdn/24PILRZT.js +0 -4
  522. package/dist/cdn/26NSAUFX.js +0 -4
  523. package/dist/cdn/2AUDRMU3.js +0 -4
  524. package/dist/cdn/2BOM63KQ.js +0 -18
  525. package/dist/cdn/2FFHB27Z.js +0 -4
  526. package/dist/cdn/2IPTMHFY.js +0 -4
  527. package/dist/cdn/2JQUC3UP.js +0 -4
  528. package/dist/cdn/2KXRE3QQ.js +0 -4
  529. package/dist/cdn/2LK2MZZR.js +0 -4
  530. package/dist/cdn/2LLZMSJV.js +0 -4
  531. package/dist/cdn/2QP26HSW.js +0 -4
  532. package/dist/cdn/2RVVSM5J.js +0 -4
  533. package/dist/cdn/2ZUX4PI4.js +0 -4
  534. package/dist/cdn/32275IZ5.js +0 -4
  535. package/dist/cdn/327AKQNH.js +0 -18
  536. package/dist/cdn/32GCN42P.js +0 -4
  537. package/dist/cdn/35KI2UZP.js +0 -4
  538. package/dist/cdn/3AXQAZAI.js +0 -4
  539. package/dist/cdn/3ENATMAV.js +0 -4
  540. package/dist/cdn/3MGV3QJV.js +0 -4
  541. package/dist/cdn/3MON3AIB.js +0 -6
  542. package/dist/cdn/3NETFEHL.js +0 -18
  543. package/dist/cdn/3SH6IZWK.js +0 -4
  544. package/dist/cdn/3UMQAY7D.js +0 -4
  545. package/dist/cdn/3VJ5JQ7K.js +0 -4
  546. package/dist/cdn/3VXS23LI.js +0 -4
  547. package/dist/cdn/3YPL6RCD.js +0 -18
  548. package/dist/cdn/45ANCG22.js +0 -18
  549. package/dist/cdn/4CD2LCWF.js +0 -5
  550. package/dist/cdn/4J6A5LH5.js +0 -4
  551. package/dist/cdn/4JWTHCFT.js +0 -4
  552. package/dist/cdn/4NVR4X3L.js +0 -4
  553. package/dist/cdn/4UUIRHC6.js +0 -4
  554. package/dist/cdn/4XJKKLD3.js +0 -4
  555. package/dist/cdn/4XYYUSUA.js +0 -6
  556. package/dist/cdn/4YNKTXJZ.js +0 -4
  557. package/dist/cdn/53GNUN6U.js +0 -82
  558. package/dist/cdn/56QASSI7.js +0 -4
  559. package/dist/cdn/57S3EVKQ.js +0 -4
  560. package/dist/cdn/5CCXGSYJ.js +0 -4
  561. package/dist/cdn/5E2ADQM6.js +0 -18
  562. package/dist/cdn/5GQ6DHYL.js +0 -4
  563. package/dist/cdn/5GW6VGYE.js +0 -4
  564. package/dist/cdn/5HDW32N3.js +0 -4
  565. package/dist/cdn/5J7IGLEN.js +0 -4
  566. package/dist/cdn/5K2GKQME.js +0 -4
  567. package/dist/cdn/5LNUHS4F.js +0 -4
  568. package/dist/cdn/5T6EZRNO.js +0 -4
  569. package/dist/cdn/5WP2S2ZH.js +0 -4
  570. package/dist/cdn/62JXAZTH.js +0 -4
  571. package/dist/cdn/62NI5UX7.js +0 -4
  572. package/dist/cdn/62WGZZJQ.js +0 -4
  573. package/dist/cdn/63PHQLZJ.js +0 -4
  574. package/dist/cdn/64KPWKOZ.js +0 -4
  575. package/dist/cdn/67H5AKUO.js +0 -18
  576. package/dist/cdn/6FCQB3AG.js +0 -4
  577. package/dist/cdn/6GSFOGSD.js +0 -4
  578. package/dist/cdn/6M2T3Q2M.js +0 -4
  579. package/dist/cdn/6QHOYKEI.js +0 -18
  580. package/dist/cdn/6RJ3S2N4.js +0 -4
  581. package/dist/cdn/6RN2G5UX.js +0 -18
  582. package/dist/cdn/6Y4X3UOF.js +0 -4
  583. package/dist/cdn/73RE22QT.js +0 -4
  584. package/dist/cdn/7GJSEVPA.js +0 -4
  585. package/dist/cdn/7L7OMOMR.js +0 -4
  586. package/dist/cdn/7LML2KAO.js +0 -4
  587. package/dist/cdn/7M65VSDO.js +0 -4
  588. package/dist/cdn/7TVK2JZJ.js +0 -18
  589. package/dist/cdn/7UBRL7BT.js +0 -4
  590. package/dist/cdn/7XNXOLSM.js +0 -294
  591. package/dist/cdn/A2D7SAO5.js +0 -18
  592. package/dist/cdn/A54VVFMV.js +0 -4
  593. package/dist/cdn/AGNDZTZ6.js +0 -4
  594. package/dist/cdn/AMP4ZNCP.js +0 -18
  595. package/dist/cdn/AV64MW2C.js +0 -4
  596. package/dist/cdn/AZZRAFZ2.js +0 -4
  597. package/dist/cdn/B37JGOGF.js +0 -18
  598. package/dist/cdn/B5X7FR3W.js +0 -4
  599. package/dist/cdn/BBLEZ5WS.js +0 -18
  600. package/dist/cdn/BCPDT6MV.js +0 -4
  601. package/dist/cdn/BGMDKWE7.js +0 -4
  602. package/dist/cdn/BHXQ7QW6.js +0 -18
  603. package/dist/cdn/BJWPKYKV.js +0 -4
  604. package/dist/cdn/BL4KF37N.js +0 -18
  605. package/dist/cdn/BL7TUTFB.js +0 -4
  606. package/dist/cdn/BN34E5SA.js +0 -4
  607. package/dist/cdn/BPB3TNH6.js +0 -18
  608. package/dist/cdn/BS533JHX.js +0 -18
  609. package/dist/cdn/BSCXWZZC.js +0 -4
  610. package/dist/cdn/BTHNNVZX.js +0 -4
  611. package/dist/cdn/BVRRREAU.js +0 -18
  612. package/dist/cdn/C42K62PR.js +0 -18
  613. package/dist/cdn/C4GYOXKY.js +0 -4
  614. package/dist/cdn/C5FQOPJR.js +0 -4
  615. package/dist/cdn/CFB6TU6B.js +0 -4
  616. package/dist/cdn/CHPW5FJW.js +0 -4
  617. package/dist/cdn/CLIXTMET.js +0 -4
  618. package/dist/cdn/CPC2M7AK.js +0 -18
  619. package/dist/cdn/CRGYVR4L.js +0 -4
  620. package/dist/cdn/CUBFKAV6.js +0 -4
  621. package/dist/cdn/CXJUQMCV.js +0 -4
  622. package/dist/cdn/DDP5UCZA.js +0 -4
  623. package/dist/cdn/DH3SAWQO.js +0 -4
  624. package/dist/cdn/DKRHACVW.js +0 -4
  625. package/dist/cdn/DM633MDA.js +0 -18
  626. package/dist/cdn/DMECGLC4.js +0 -4
  627. package/dist/cdn/DMMMW2BR.js +0 -18
  628. package/dist/cdn/DMW55L65.js +0 -4
  629. package/dist/cdn/DXGUMM4O.js +0 -4
  630. package/dist/cdn/DZ76G2RX.js +0 -4
  631. package/dist/cdn/DZHVGBZB.js +0 -4
  632. package/dist/cdn/E4V5RLGM.js +0 -18
  633. package/dist/cdn/EALUH4BU.js +0 -4
  634. package/dist/cdn/EBKAKZZU.js +0 -18
  635. package/dist/cdn/ECKRAOTK.js +0 -4
  636. package/dist/cdn/ECVB7DM6.js +0 -4
  637. package/dist/cdn/EG2JBWTE.js +0 -4
  638. package/dist/cdn/EM5Z3TCD.js +0 -4
  639. package/dist/cdn/ENS7CZX3.js +0 -18
  640. package/dist/cdn/EWQ7E45G.js +0 -18
  641. package/dist/cdn/F23TKPQ3.js +0 -4
  642. package/dist/cdn/FDZWMY22.js +0 -4
  643. package/dist/cdn/FELH7PBD.js +0 -4
  644. package/dist/cdn/FGUX7O4N.js +0 -4
  645. package/dist/cdn/FHLHSJYN.js +0 -4
  646. package/dist/cdn/FJ5G5F6F.js +0 -18
  647. package/dist/cdn/FJYGYKU7.js +0 -4
  648. package/dist/cdn/FMF65JWL.js +0 -4
  649. package/dist/cdn/FNLWKSSH.js +0 -4
  650. package/dist/cdn/FTJZYC6F.js +0 -4
  651. package/dist/cdn/FUYHWE6S.js +0 -4
  652. package/dist/cdn/FYFIZWH7.js +0 -18
  653. package/dist/cdn/FYQALD4I.js +0 -4
  654. package/dist/cdn/FZW3ZZPU.js +0 -4
  655. package/dist/cdn/G5MR5SG5.js +0 -4
  656. package/dist/cdn/G7UTMYYA.js +0 -4
  657. package/dist/cdn/GA5KNLFJ.js +0 -4
  658. package/dist/cdn/GK4O6X2B.js +0 -4
  659. package/dist/cdn/GRC5KYBB.js +0 -4
  660. package/dist/cdn/GU3R45TN.js +0 -4
  661. package/dist/cdn/GYZWPVGD.js +0 -4
  662. package/dist/cdn/H7YFIIKJ.js +0 -18
  663. package/dist/cdn/HAYDHL6E.js +0 -8
  664. package/dist/cdn/HCEYPHXZ.js +0 -4
  665. package/dist/cdn/HJCGCJHG.js +0 -4
  666. package/dist/cdn/HKUMRXKS.js +0 -4
  667. package/dist/cdn/HN6L7MEZ.js +0 -4
  668. package/dist/cdn/HOCJSK24.js +0 -4
  669. package/dist/cdn/HR44MJZ4.js +0 -9
  670. package/dist/cdn/HSGU3NPM.js +0 -9
  671. package/dist/cdn/HV23NBKM.js +0 -4
  672. package/dist/cdn/HWBSZWSI.js +0 -25
  673. package/dist/cdn/I3IHBW4I.js +0 -4
  674. package/dist/cdn/I4E7TVY4.js +0 -18
  675. package/dist/cdn/I5X57Y6X.js +0 -4
  676. package/dist/cdn/IAMELUPG.js +0 -4
  677. package/dist/cdn/IBIR3MNF.js +0 -4
  678. package/dist/cdn/IGUMVL7J.js +0 -4
  679. package/dist/cdn/II4ZEXAJ.js +0 -4
  680. package/dist/cdn/IIBBHZ5N.js +0 -18
  681. package/dist/cdn/IN3OKM7F.js +0 -4
  682. package/dist/cdn/IPIW25QW.js +0 -4
  683. package/dist/cdn/ITIM5MBI.js +0 -4
  684. package/dist/cdn/IUWPOFEU.js +0 -4
  685. package/dist/cdn/IWN7UDRD.js +0 -4
  686. package/dist/cdn/J3AFQ2U2.js +0 -4
  687. package/dist/cdn/J5HRIE3W.js +0 -4
  688. package/dist/cdn/J5U3NOSX.js +0 -8
  689. package/dist/cdn/J6IINHXU.js +0 -4
  690. package/dist/cdn/JDDI6RWH.js +0 -18
  691. package/dist/cdn/JDMCVY5U.js +0 -4
  692. package/dist/cdn/JHPYHESZ.js +0 -4
  693. package/dist/cdn/JKVDTJCD.js +0 -4
  694. package/dist/cdn/JOOTU2MN.js +0 -4
  695. package/dist/cdn/JSMMX4OW.js +0 -4
  696. package/dist/cdn/JVHOB5XV.js +0 -18
  697. package/dist/cdn/JWXSAYHC.js +0 -4
  698. package/dist/cdn/JYKNVSA4.js +0 -4
  699. package/dist/cdn/JZ2AJ7NV.js +0 -4
  700. package/dist/cdn/K3ZT5FZ2.js +0 -4
  701. package/dist/cdn/K5U7ZHCS.js +0 -4
  702. package/dist/cdn/KCTOUFKC.js +0 -4
  703. package/dist/cdn/KJEGNTYQ.js +0 -4
  704. package/dist/cdn/KORLC5U7.js +0 -4
  705. package/dist/cdn/KQHBJ2QB.js +0 -4
  706. package/dist/cdn/KQM2NMJJ.js +0 -4
  707. package/dist/cdn/KSKZZDYX.js +0 -4
  708. package/dist/cdn/KURD67WP.js +0 -4
  709. package/dist/cdn/KVSY5222.js +0 -18
  710. package/dist/cdn/KXEXXT56.js +0 -18
  711. package/dist/cdn/KXKBIVFJ.js +0 -18
  712. package/dist/cdn/KYYMWKPV.js +0 -4
  713. package/dist/cdn/KZ2V3URW.js +0 -4
  714. package/dist/cdn/L2O6CXOR.js +0 -18
  715. package/dist/cdn/LA735BCX.js +0 -4
  716. package/dist/cdn/LETYH73H.js +0 -4
  717. package/dist/cdn/LNOZBYMZ.js +0 -4
  718. package/dist/cdn/LPJPNWKA.js +0 -18
  719. package/dist/cdn/LUKTYB6E.js +0 -18
  720. package/dist/cdn/LZIYOPAC.js +0 -4
  721. package/dist/cdn/LZUM3H4J.js +0 -4
  722. package/dist/cdn/M2TJWZ2F.js +0 -89
  723. package/dist/cdn/M46DOI6W.js +0 -4
  724. package/dist/cdn/MB2DM6NF.js +0 -4
  725. package/dist/cdn/MDL3GASV.js +0 -18
  726. package/dist/cdn/MEM675A5.js +0 -18
  727. package/dist/cdn/MGON4SLN.js +0 -4
  728. package/dist/cdn/MK3C2NWT.js +0 -18
  729. package/dist/cdn/MNBZZ6G3.js +0 -4
  730. package/dist/cdn/MOAD2WOZ.js +0 -4
  731. package/dist/cdn/MOKFQR6C.js +0 -19
  732. package/dist/cdn/MQDP5X2Y.js +0 -4
  733. package/dist/cdn/MQE2DTF5.js +0 -4
  734. package/dist/cdn/MTQRP42U.js +0 -4
  735. package/dist/cdn/MZFDMEQW.js +0 -4
  736. package/dist/cdn/NAFDFLKN.js +0 -4
  737. package/dist/cdn/NAWCG6BY.js +0 -4
  738. package/dist/cdn/NF5TB4T5.js +0 -4
  739. package/dist/cdn/NLWFERKV.js +0 -21
  740. package/dist/cdn/NM6FSLHS.js +0 -4
  741. package/dist/cdn/NNT3DJXP.js +0 -4
  742. package/dist/cdn/NR4TU43I.js +0 -18
  743. package/dist/cdn/NSJNK5YX.js +0 -4
  744. package/dist/cdn/NTN5IKQX.js +0 -4
  745. package/dist/cdn/NVBXPDWS.js +0 -4
  746. package/dist/cdn/NVOMEAQG.js +0 -5
  747. package/dist/cdn/NW5D2PXR.js +0 -4
  748. package/dist/cdn/NWAXN6PC.js +0 -4
  749. package/dist/cdn/NYH5N4UB.js +0 -4
  750. package/dist/cdn/O3ZWY3L2.js +0 -19
  751. package/dist/cdn/O6WPAEXC.js +0 -4
  752. package/dist/cdn/O7K2BTNK.js +0 -18
  753. package/dist/cdn/O7KVFY2I.js +0 -4
  754. package/dist/cdn/OFMGQCKQ.js +0 -4
  755. package/dist/cdn/OGKY3OCB.js +0 -8
  756. package/dist/cdn/OHBU7SZN.js +0 -4
  757. package/dist/cdn/OI7TKT4E.js +0 -18
  758. package/dist/cdn/OLVN3BUK.js +0 -4
  759. package/dist/cdn/OS2R7DZG.js +0 -18
  760. package/dist/cdn/OWSYDJWA.js +0 -18
  761. package/dist/cdn/OXW67XUN.js +0 -4
  762. package/dist/cdn/OY2ZL2MH.js +0 -4
  763. package/dist/cdn/P4SJ4TW3.js +0 -18
  764. package/dist/cdn/PCXV5WCW.js +0 -4
  765. package/dist/cdn/PDD2INCO.js +0 -18
  766. package/dist/cdn/PDM2TVRE.js +0 -4
  767. package/dist/cdn/PHK7ECEK.js +0 -4
  768. package/dist/cdn/PKW5U5JD.js +0 -4
  769. package/dist/cdn/PMVAYDID.js +0 -4
  770. package/dist/cdn/PTQNSUMQ.js +0 -4
  771. package/dist/cdn/PV3NKFWO.js +0 -385
  772. package/dist/cdn/Q4ILVP7M.js +0 -4
  773. package/dist/cdn/Q5JBWZWR.js +0 -4
  774. package/dist/cdn/Q63YUEPK.js +0 -4
  775. package/dist/cdn/QAQPOJT3.js +0 -4
  776. package/dist/cdn/QDOOFKZT.js +0 -4
  777. package/dist/cdn/QHDUDNQB.js +0 -4
  778. package/dist/cdn/QK7H3QEZ.js +0 -4
  779. package/dist/cdn/QLGVQPSP.js +0 -4
  780. package/dist/cdn/QT7SOK6K.js +0 -18
  781. package/dist/cdn/QTPWQXFC.js +0 -4
  782. package/dist/cdn/QVZEI2LS.js +0 -4
  783. package/dist/cdn/QWFYFDGT.js +0 -4
  784. package/dist/cdn/R3MDKVZV.js +0 -18
  785. package/dist/cdn/R5IZJTD3.js +0 -4
  786. package/dist/cdn/R5SUWIAX.js +0 -18
  787. package/dist/cdn/RHR64B37.js +0 -4
  788. package/dist/cdn/RQXTVQCL.js +0 -4
  789. package/dist/cdn/RR4VEAAE.js +0 -4
  790. package/dist/cdn/RWC6IC3I.js +0 -4
  791. package/dist/cdn/RY4AM746.js +0 -4
  792. package/dist/cdn/S6NACDB2.js +0 -4
  793. package/dist/cdn/SPZK2YXW.js +0 -4
  794. package/dist/cdn/SS3YAHMD.js +0 -4
  795. package/dist/cdn/T3RNILJN.js +0 -4
  796. package/dist/cdn/T5OCPOMY.js +0 -4
  797. package/dist/cdn/T5SK6ZJW.js +0 -4
  798. package/dist/cdn/TB2NFORT.js +0 -4
  799. package/dist/cdn/TCJAIPWL.js +0 -4
  800. package/dist/cdn/TCORLZCI.js +0 -4
  801. package/dist/cdn/TFT2UUZJ.js +0 -20
  802. package/dist/cdn/TJYHQJCY.js +0 -4
  803. package/dist/cdn/TMEKDW2G.js +0 -4
  804. package/dist/cdn/TMNFYXWD.js +0 -4
  805. package/dist/cdn/TMRDI3WC.js +0 -4
  806. package/dist/cdn/TTAAIUU3.js +0 -4
  807. package/dist/cdn/U2MIR3HL.js +0 -4
  808. package/dist/cdn/U3QZIS3C.js +0 -4
  809. package/dist/cdn/U3VTY66Y.js +0 -4
  810. package/dist/cdn/U5XUYD32.js +0 -4
  811. package/dist/cdn/UBTE3LJB.js +0 -4
  812. package/dist/cdn/UGI2HCBX.js +0 -18
  813. package/dist/cdn/ULELHCUW.js +0 -4
  814. package/dist/cdn/ULHGH3CX.js +0 -4
  815. package/dist/cdn/UNCK4FW5.js +0 -4
  816. package/dist/cdn/UQGQFHTP.js +0 -4
  817. package/dist/cdn/URMO7GLW.js +0 -4
  818. package/dist/cdn/USO4FEJS.js +0 -4
  819. package/dist/cdn/UVMWA227.js +0 -18
  820. package/dist/cdn/UXPF53LA.js +0 -4
  821. package/dist/cdn/UXZC7IGT.js +0 -4
  822. package/dist/cdn/V2II4COO.js +0 -4
  823. package/dist/cdn/V623WVLR.js +0 -4
  824. package/dist/cdn/V74LH3IK.js +0 -18
  825. package/dist/cdn/V7H6MEIS.js +0 -4
  826. package/dist/cdn/VFRHV2HY.js +0 -18
  827. package/dist/cdn/VLRXMBNG.js +0 -4
  828. package/dist/cdn/VPFAWHJS.js +0 -4
  829. package/dist/cdn/W45EDCYZ.js +0 -18
  830. package/dist/cdn/WBO3VKCK.js +0 -4
  831. package/dist/cdn/WDPM64EG.js +0 -4
  832. package/dist/cdn/WJKAHLIO.js +0 -29
  833. package/dist/cdn/WKQNA7HE.js +0 -4
  834. package/dist/cdn/WNLGN4CE.js +0 -4
  835. package/dist/cdn/WTU7JILZ.js +0 -4
  836. package/dist/cdn/WV4ZCFFT.js +0 -4
  837. package/dist/cdn/XFW3K5OF.js +0 -18
  838. package/dist/cdn/XFZNGT7C.js +0 -4
  839. package/dist/cdn/XINUYSXZ.js +0 -18
  840. package/dist/cdn/XLHINQDA.js +0 -4
  841. package/dist/cdn/XQYYFNOC.js +0 -4
  842. package/dist/cdn/XSERGQVD.js +0 -4
  843. package/dist/cdn/XUXRXNUV.js +0 -4
  844. package/dist/cdn/XWYN5XJT.js +0 -4
  845. package/dist/cdn/XYIEX7QB.js +0 -4
  846. package/dist/cdn/Y2YYJ66T.js +0 -18
  847. package/dist/cdn/Y7U5BQY2.js +0 -18
  848. package/dist/cdn/YFJ3R7UO.js +0 -18
  849. package/dist/cdn/YGKTKWJH.js +0 -18
  850. package/dist/cdn/YJUZZNM3.js +0 -4
  851. package/dist/cdn/YOCF54TS.js +0 -4
  852. package/dist/cdn/YODKEVX7.js +0 -4
  853. package/dist/cdn/Z7QQNFJ7.js +0 -4
  854. package/dist/cdn/ZG7Z2ZV5.js +0 -4
  855. package/dist/cdn/ZH5IG5IH.js +0 -19
  856. package/dist/cdn/ZJFAIID3.js +0 -4
  857. package/dist/cdn/ZN7CNQRT.js +0 -4
  858. package/dist/cdn/ZSPXSDH4.js +0 -4
  859. package/dist/cdn/ZTCFEMKZ.js +0 -4
  860. package/dist/cdn/ZYEOJZ6Z.js +0 -4
  861. package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +0 -1
  862. package/dist/cdn/assets/solution-article-card/t9n/messages.json +0 -1
  863. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +0 -1
  864. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +0 -1
  865. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +0 -1
  866. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +0 -1
  867. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +0 -1
  868. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +0 -1
  869. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +0 -1
  870. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +0 -1
  871. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +0 -1
  872. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +0 -1
  873. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +0 -1
  874. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +0 -1
  875. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +0 -1
  876. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +0 -1
  877. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +0 -1
  878. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +0 -1
  879. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +0 -1
  880. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +0 -1
  881. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +0 -1
  882. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +0 -1
  883. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +0 -1
  884. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +0 -1
  885. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +0 -1
  886. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +0 -1
  887. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +0 -1
  888. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +0 -1
  889. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +0 -1
  890. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +0 -1
  891. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +0 -1
  892. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +0 -1
  893. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +0 -1
  894. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +0 -1
  895. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +0 -1
  896. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +0 -1
  897. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +0 -1
  898. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +0 -1
  899. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +0 -1
  900. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +0 -1
  901. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +0 -1
  902. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +0 -1
  903. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +0 -1
  904. package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +0 -1
  905. package/dist/cdn/assets/solutions-articles/t9n/messages.json +0 -1
  906. package/dist/components/solution-article-card/customElement.d.ts +0 -37
  907. package/dist/components/solution-article-card/customElement.js +0 -49
  908. package/dist/components/solution-configure-dialog/customElement.d.ts +0 -30
  909. package/dist/components/solution-configure-dialog/customElement.js +0 -131
  910. package/dist/components/solution-configure-dialog/index.d.ts +0 -13
  911. package/dist/components/solution-configure-dialog/index.js +0 -13
  912. package/dist/components/solutions-article-panel/customElement.d.ts +0 -17
  913. package/dist/components/solutions-article-panel/customElement.js +0 -43
  914. package/dist/components/solutions-articles/customElement.d.ts +0 -7
  915. package/dist/components/solutions-articles/customElement.js +0 -79
  916. package/dist/components/solutions-articles/index.d.ts +0 -11
  917. package/dist/components/solutions-articles/index.js +0 -11
  918. package/dist/components/solutions-articles-shell/customElement.d.ts +0 -7
  919. package/dist/components/solutions-articles-shell/customElement.js +0 -43
  920. package/dist/components/solutions-articles-shell/index.d.ts +0 -5
  921. package/dist/components/solutions-articles-shell/index.js +0 -5
  922. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ar.json +0 -0
  923. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bg.json +0 -0
  924. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bs.json +0 -0
  925. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ca.json +0 -0
  926. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.cs.json +0 -0
  927. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.da.json +0 -0
  928. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.de.json +0 -0
  929. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.el.json +0 -0
  930. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.es.json +0 -0
  931. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.et.json +0 -0
  932. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fi.json +0 -0
  933. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fr.json +0 -0
  934. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.he.json +0 -0
  935. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hr.json +0 -0
  936. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hu.json +0 -0
  937. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.id.json +0 -0
  938. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.it.json +0 -0
  939. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ja.json +0 -0
  940. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ko.json +0 -0
  941. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lt.json +0 -0
  942. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lv.json +0 -0
  943. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.nl.json +0 -0
  944. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.no.json +0 -0
  945. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pl.json +0 -0
  946. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-BR.json +0 -0
  947. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-PT.json +0 -0
  948. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ro.json +0 -0
  949. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ru.json +0 -0
  950. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sk.json +0 -0
  951. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sl.json +0 -0
  952. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sr.json +0 -0
  953. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sv.json +0 -0
  954. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.th.json +0 -0
  955. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.tr.json +0 -0
  956. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.uk.json +0 -0
  957. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.vi.json +0 -0
  958. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-CN.json +0 -0
  959. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-HK.json +0 -0
  960. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-TW.json +0 -0
  961. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ar.json +0 -0
  962. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bg.json +0 -0
  963. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bs.json +0 -0
  964. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ca.json +0 -0
  965. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.cs.json +0 -0
  966. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.da.json +0 -0
  967. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.de.json +0 -0
  968. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.el.json +0 -0
  969. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.en.json +0 -0
  970. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.es.json +0 -0
  971. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.et.json +0 -0
  972. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fi.json +0 -0
  973. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fr.json +0 -0
  974. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.he.json +0 -0
  975. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hr.json +0 -0
  976. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hu.json +0 -0
  977. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.id.json +0 -0
  978. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.it.json +0 -0
  979. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ja.json +0 -0
  980. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.json +0 -0
  981. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ko.json +0 -0
  982. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lt.json +0 -0
  983. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lv.json +0 -0
  984. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.nl.json +0 -0
  985. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.no.json +0 -0
  986. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pl.json +0 -0
  987. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-BR.json +0 -0
  988. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-PT.json +0 -0
  989. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ro.json +0 -0
  990. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ru.json +0 -0
  991. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sk.json +0 -0
  992. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sl.json +0 -0
  993. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sr.json +0 -0
  994. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sv.json +0 -0
  995. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.th.json +0 -0
  996. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.tr.json +0 -0
  997. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.uk.json +0 -0
  998. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.vi.json +0 -0
  999. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-CN.json +0 -0
  1000. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-HK.json +0 -0
  1001. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-TW.json +0 -0
  1002. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ar.json +0 -0
  1003. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bg.json +0 -0
  1004. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bs.json +0 -0
  1005. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ca.json +0 -0
  1006. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.cs.json +0 -0
  1007. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.da.json +0 -0
  1008. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.de.json +0 -0
  1009. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.el.json +0 -0
  1010. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.es.json +0 -0
  1011. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.et.json +0 -0
  1012. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fi.json +0 -0
  1013. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fr.json +0 -0
  1014. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.he.json +0 -0
  1015. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hr.json +0 -0
  1016. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hu.json +0 -0
  1017. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.id.json +0 -0
  1018. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.it.json +0 -0
  1019. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ja.json +0 -0
  1020. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ko.json +0 -0
  1021. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lt.json +0 -0
  1022. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lv.json +0 -0
  1023. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.nl.json +0 -0
  1024. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.no.json +0 -0
  1025. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pl.json +0 -0
  1026. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-BR.json +0 -0
  1027. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-PT.json +0 -0
  1028. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ro.json +0 -0
  1029. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ru.json +0 -0
  1030. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sk.json +0 -0
  1031. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sl.json +0 -0
  1032. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sr.json +0 -0
  1033. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sv.json +0 -0
  1034. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.th.json +0 -0
  1035. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.tr.json +0 -0
  1036. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.uk.json +0 -0
  1037. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.vi.json +0 -0
  1038. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-CN.json +0 -0
  1039. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-HK.json +0 -0
  1040. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-TW.json +0 -0
  1041. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ar.json +0 -0
  1042. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bg.json +0 -0
  1043. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bs.json +0 -0
  1044. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ca.json +0 -0
  1045. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.cs.json +0 -0
  1046. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.da.json +0 -0
  1047. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.de.json +0 -0
  1048. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.el.json +0 -0
  1049. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.en.json +0 -0
  1050. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.es.json +0 -0
  1051. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.et.json +0 -0
  1052. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fi.json +0 -0
  1053. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fr.json +0 -0
  1054. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.he.json +0 -0
  1055. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hr.json +0 -0
  1056. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hu.json +0 -0
  1057. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.id.json +0 -0
  1058. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.it.json +0 -0
  1059. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ja.json +0 -0
  1060. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.json +0 -0
  1061. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ko.json +0 -0
  1062. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lt.json +0 -0
  1063. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lv.json +0 -0
  1064. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.nl.json +0 -0
  1065. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.no.json +0 -0
  1066. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pl.json +0 -0
  1067. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-BR.json +0 -0
  1068. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-PT.json +0 -0
  1069. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ro.json +0 -0
  1070. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ru.json +0 -0
  1071. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sk.json +0 -0
  1072. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sl.json +0 -0
  1073. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sr.json +0 -0
  1074. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sv.json +0 -0
  1075. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.th.json +0 -0
  1076. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.tr.json +0 -0
  1077. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.uk.json +0 -0
  1078. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.vi.json +0 -0
  1079. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-CN.json +0 -0
  1080. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-HK.json +0 -0
  1081. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-TW.json +0 -0
  1082. /package/dist/components/{solution-article-card → solution-resource-card}/index.d.ts +0 -0
  1083. /package/dist/components/{solution-article-card → solution-resource-card}/index.js +0 -0
  1084. /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.d.ts +0 -0
  1085. /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.js +0 -0
@@ -0,0 +1,20 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import{$ as qe,$a as tr,$b as eo,A as lt,Aa as Wt,Ab as Pr,B as It,Ba as vo,Bb as wr,C as pe,Ca as Fo,D as C,Da as Nt,Db as xr,E as gt,Ea as Lt,Eb as Sr,F as Ke,Fa as ue,Fb as Er,G as xe,Ga as Oo,Gb as br,H as x,Ha as $t,Hb as re,I as xo,Ia as Vt,Ib as Tr,J as ht,Ja as Bt,Jb as vr,K as f,Ka as zt,Kb as Fr,L as yt,La as Gt,Lb as Or,Ma as jt,Mb as _r,N as Se,Na as Kt,Nb as Rr,O as E,Oa as Ht,Ob as kr,P as Ee,Pa as qt,Pb as Ar,Q as Pt,Qa as Jt,Qb as Cr,R as So,Ra as Dt,Rb as Mr,S as Eo,Sa as Zt,Sb as Ur,T as He,Ta as Qt,Tb as Wr,U as H,Ua as Yt,Ub as Nr,V as wt,Va as _o,Vb as Lr,W as xt,Wa as Qe,Wb as $r,X as St,Xa as Xt,Xb as Ao,Y as B,Ya as er,Yb as Xe,Z as Et,Za as or,Zb as Co,_ as G,_a as te,_b as Te,a as Ue,aa as bt,ab as rr,ac as Vr,ba as bo,bb as nr,bc as Br,c as N,ca as oe,cb as sr,d as X,da as w,db as ir,dc as zr,e as ct,ea as T,eb as mr,ec as Gr,f as ie,fa as Z,fb as ar,fc as jr,ga as Je,gb as cr,h as u,ha as Tt,hb as dr,hc as Kr,i as Po,ia as vt,ib as pr,j as me,ja as To,jb as be,k as $e,ka as Ft,kb as _,kc as Hr,l as ce,la as Ot,lb as Ye,lc as ve,m as Ve,ma as _t,mc as oo,n as Be,na as Rt,nc as to,o as wo,oa as kt,ob as fr,oc as qr,p as pt,pa as At,pb as ur,pc as ro,qa as A,qb as z,qc as Jr,r as ze,ra as fe,rb as lr,s as ft,sa as q,sb as le,t as Ge,tb as J,u as je,ua as De,ub as Ir,v as ee,va as Ze,vb as Ro,wa as Ct,wb as gr,x as de,xb as ko,y as ut,ya as Mt,yb as hr,z as g,za as Ut,zb as yr}from"./SRGIOXPX.js";import{a as ae,g as we}from"./SV5GS7VD.js";import{a as L}from"./LQHGJORU.js";import{a as K,b as We,c as Ne,d as Le}from"./6TJU76R3.js";import{e as j,f as mt,j as Ae,l as Ce,o as at,s as Me}from"./5BCHBBEG.js";import{a as it}from"./VIKALXXD.js";import{a as dt}from"./I3PEU4E4.js";import{a as V}from"./S6R6G6MM.js";import{c as W}from"./N4AIZVPV.js";function Ie(e,o="application/octet-stream"){if(typeof Blob<"u"){let r=[];for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);let t=new Uint8Array(r);return new Blob([t],{type:o})}else throw new Error("stringToBlob is not currently supported on Node")}function Dr(e){if(typeof Blob<"u")return new Blob([JSON.stringify(e)],{type:"application/json"});throw new Error("objectToJsonBlob is not currently supported on Node")}var no={};W(no,{_mostRecentlyEditedLayer:()=>Mo,convertItemToTemplate:()=>Rs,createItemFromTemplate:()=>ks,postProcess:()=>As});function Rs(e,o,r,t){return new Promise((n,s)=>{let i=G(e);dr(e.groupDesignations)?Bt(i,r).then(a=>n(a),a=>s(x(a))):(i.estimatedDeploymentCostFactor=10,q(i.item.id,r).then(a=>{i.data=a,mr(i,r).then(c=>{c.item.modified=Math.max(c.item.modified,Mo(i.properties.layers),Mo(i.properties.tables)),nr(c,r).then(d=>{c.dependencies=d.map(p=>p.id),n(Nt(c,d,!1,t))},d=>s(x(d)))},c=>s(x(c)))}))})}function ks(e,o,r,t){return new Promise(n=>{if(!t(e.itemId,u.Started,0)){t(e.itemId,u.Ignored,0),n(g(e.type));return}let s=C(e);s=w(s,o),delete s.item.thumbnail,Ke(s,"properties.service.size");let i=Lt(s.data);or(s,r,o).then(m=>{m.success?t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,m.serviceItemId)?(s=Oo(s,o,m),jt(s,o,i,r).then(()=>{s=Oo(s,o,m),le({...s.item,url:void 0},s.data,r,e.item.thumbnail,void 0,o).then(()=>{t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor/2,m.serviceItemId)?A(s.itemId,r).then(a=>{s.item=a,f(s,"item.url")&&!s.item.url.endsWith("/")&&(s.item.url+="/"),n({item:s,id:m.serviceItemId,type:s.type,postProcess:oe({item:s.item,data:s.data})||_o(s)})},()=>{t(e.itemId,u.Failed,0),_(m.serviceItemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))}):(t(e.itemId,u.Cancelled,0),_(m.serviceItemId,r).then(()=>n(g(e.type)),()=>n(g(e.type))))},()=>{t(e.itemId,u.Failed,0),_(m.serviceItemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))})},()=>{t(e.itemId,u.Failed,0),_(m.serviceItemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))})):(t(e.itemId,u.Cancelled,0),_(m.serviceItemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))):(t(e.itemId,u.Failed,0),n(g(e.type)))},()=>{t(e.itemId,u.Failed,0),n(g(e.type))})})}function As(e,o,r,t,n,s,i){return new Promise((m,a)=>{J(e,s,i).then(c=>{_o(t)?(t=w(t,s),Qe(t,i,t.item.url,s).then(m,a)):m(c)},a)})}function Mo(e){let o=0;return e.forEach(r=>{o=r.editingInfo?.lastEditDate?Math.max(o,r.editingInfo.lastEditDate):o}),o}var l={};W(l,{convertItemToTemplate:()=>Cs,createItemFromTemplate:()=>Ms});function Cs(e,o,r){return new Promise(t=>{let n=G(e);n.item.id=T(n.item.id,n.item.id,".itemId");let s=new Promise(m=>{fe(n.itemId,n.item.name,r).then(a=>{!a||a.size===0?m(null):m(a)})}),i=Promise.resolve({});Promise.all([s,i]).then(m=>{let[a]=m;if(a){let c=Vr(a,n.item.name);n.properties[c.filename]=c.mimeType;let d=eo(n.itemId,c.blob.name,1,c.blob.name===c.filename?Te.data:Te.fakezip),p={itemId:n.itemId,file:c.blob,folder:d.folder,filename:d.filename};n.dataFile=p,n.resources.push(d.folder+"/"+d.filename),t(n)}else t(n)})})}function Ms(e,o,r,t){return new Promise(n=>{if(!t(e.itemId,u.Started,0)){t(e.itemId,u.Ignored,0),n(g(e.type));return}let s=C(e);s=w(s,o),e.item.thumbnail&&(s.item.thumbnail=e.item.thumbnail),te(s.item,s.data,r,o.folderId).then(i=>{t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,i.id)?(s.itemId=i.id,o[e.itemId]={itemId:i.id},t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor/2,i.id),n({item:s,id:i.id,type:s.type,postProcess:!1})):(t(e.itemId,u.Cancelled,0),_(i.id,r).then(()=>n(g(e.type)),()=>n(g(e.type))))},()=>{t(e.itemId,u.Failed,0),n(g(e.type))})})}var Zo={};W(Zo,{_getFormDataFilename:()=>Mn,_replaceFeatureServiceURLs:()=>Fn,_replaceItemIds:()=>On,_replacePortalBaseUrls:()=>_n,_replaceWorkflowManagerBaseUrls:()=>Rn,_updateZipObjectTextContent:()=>kn,convertItemToTemplate:()=>gi,createItemFromTemplate:()=>hi,postProcess:()=>Cn,postProcessFormItems:()=>Pi,swizzleFormObject:()=>Jo,templatizeFormData:()=>Do});function Yr(e,o){return Us(e,o)}function Us(e,o){return["data.desktopView.header","data.desktopView.headerPanel.selectors","data.desktopView.leftPanel.selectors","data.desktopView.sidebar","data.desktopView.urlParameters","data.desktopView.widgets","data.header","data.headerPanel.selectors","data.leftPanel.selectors","data.mobileView.header","data.mobileView.headerPanel.selectors","data.mobileView.leftPanel.selectors","data.mobileView.sidebar","data.mobileView.urlParameters","data.mobileView.widgets","data.sidebar","data.urlParameters","data.widgets"].forEach(t=>{let n=f(e,t);Array.isArray(n)&&n.forEach(s=>{s.type==="mapWidget"&&(e.dependencies.indexOf(s.itemId)<0&&e.dependencies.push(s.itemId),s.itemId=T(s.itemId,s.itemId,".itemId")),Array.isArray(s.datasets)&&Ws(s,e,o)})}),e}function Ws(e,o,r){e.datasets.forEach(t=>{if(f(t,"dataSource.type")!=="arcadeDataSource"){let s=f(t,"dataSource.itemId");if(s){o.dependencies.indexOf(s)<0&&o.dependencies.push(s);let i=f(t,"dataSource.layerId");ue(i?.toString(),s,"",r),t.dataSource.itemId=T(s,s,".itemId")}}})}function Xr(e,o){let r=["data.desktopView.header","data.desktopView.headerPanel.selectors","data.desktopView.leftPanel.selectors","data.desktopView.sidebar","data.desktopView.urlParameters","data.desktopView.widgets","data.header","data.headerPanel.selectors","data.leftPanel.selectors","data.mobileView.header","data.mobileView.headerPanel.selectors","data.mobileView.leftPanel.selectors","data.mobileView.sidebar","data.mobileView.urlParameters","data.mobileView.widgets","data.sidebar","data.urlParameters","data.widgets"];return r.forEach(t=>{let n=f(e,t);Ns(n,o)}),r.forEach(t=>{Ls(e,t,o)}),e}function Ns(e,o){e&&Array.isArray(e)&&e.forEach(r=>{Array.isArray(r.datasets)&&r.datasets.forEach(t=>{let n=So(f(t,"dataSource.itemId"));if(n){let s=Eo(f(t,"dataSource.layerId"));o.some(i=>i.itemId===n&&i.layerId===s?(Qr(i,r.id),!0):!1)}else{let s=f(t,"dataSource.id");if(s){let i=s.split("#")[1];o.some(m=>m.ids.indexOf(i)>-1?(Qr(m,r.id),!0):!1)}}})})}function Ls(e,o,r){let t=f(e,o);t&&E(e,o,$s(t,r))}function $s(e,o){return Array.isArray(e)?e.map(r=>{let t=r;return Array.isArray(t.events)&&(t.events=t.events.map(n=>{let s=n;return Array.isArray(s.actions)&&(s.actions=s.actions.map(i=>{let m=i;if(m.fieldMap&&m.targetId&&m.targetId.indexOf("#")>-1){let a=Zr(m,o);if(a){let c=f(a,"fields"),d=f(a,"basePath");Array.isArray(c)&&d&&(m.fieldMap=m.fieldMap.map(p=>{let I=p;return I.targetName=Z(I.targetName,c,d),I}))}}return m})),s})),Array.isArray(t.datasets)&&(t.datasets=t.datasets.map(n=>{let s=n;if(s.type==="serviceDataset"){let i=Zr(n,o);if(i){let m=f(i,"fields"),a=f(i,"basePath");Array.isArray(m)&&a&&(t=Z(t,m,a),s=Z(s,m,a))}}return s})),t}):e}function Zr(e,o){let r,t=f(e,"dataSource.id")||f(e,"targetId");if(t){let n=t.split("#")[1];if(!o.some(s=>(r=s.ids.indexOf(n)>-1?s:r,s.ids.indexOf(n)>-1))){let s=t.split("#")[0];o.some(i=>{let a=(i.references||[]).indexOf(s)>-1;return r=a?i:r,a})}}else{let n=So(f(e,"dataSource.itemId")),s=Eo(f(e,"dataSource.layerId"));n&&o.some(i=>{let m=n===i.itemId&&s===i.layerId;return r=m?i:r,m})}return r}function Qr(e,o){e.references=Array.isArray(e.references)?e.references:[],e.references.indexOf(o)<0&&e.references.push(o)}var ge={};W(ge,{convertItemToTemplate:()=>Ds,convertNotebookToTemplate:()=>jo,createItemFromTemplate:()=>Zs,deleteProps:()=>pn,fineTuneCreatedItem:()=>Go,postProcess:()=>Ys,postProcessNotebookTemplates:()=>Qs});function tn(e,o,r,t){return new Promise((n,s)=>{let i="";if(e.item.url){let m=e.item.url,a=m.indexOf("//");e.item.url=B(H)+m.substring(m.indexOf("/",a+2),m.lastIndexOf("=")+1)+e.item.id,i=m.replace(m.substring(m.indexOf("/",a+2)),"")}e.dependencies=zs(e),E(e,"data.folderId","{{folderId}}"),Ks(e,["data.map.itemId","data.map.appProxy.mapItemId","data.values.webmap","data.values.group"]),nn(e,"data.appItemId",e.itemId),Bo(e,["data.logo","data.map.portalUrl","data.portalUrl","data.httpProxy.url"],B(H)),E(e,"data.geometryService",B(wt)),Vs(e,r,i,t).then(()=>{on(e,r,i,"data.widgetPool.widgets").then(m=>{on(m,r,i,"data.widgetOnScreen.widgets",!0).then(a=>{Bs(a,r,i,"data.values").then(c=>{n(c)},c=>s(x(c)))},a=>s(x(a)))},m=>s(x(m)))},m=>s(x(m)))})}function Vs(e,o,r,t){return new Promise((n,s)=>{let i=f(e,"data.dataSource.dataSources");if(i&&Object.keys(i).length>0){let m=new Array;Object.keys(i).forEach(a=>{let c=i[a];E(c,"portalUrl",B(H));let d=f(c,"itemId");if(f(c,"url")){if(d){let I=c.url.substr(c.url.lastIndexOf("/")+1);ue(I.toString(),d,c.url,t),c.itemId=T(d,d,".layer"+I+".itemId")}let p=Vo(c.url,r,[],[],o);m.push(new Promise((I,h)=>{$o(p.serviceRequests,p.requestUrls,p.testString).then(P=>{c.url=P,I()},P=>h(x(P)))}))}else d&&(c.itemId=T(d,d,".itemId"))}),Promise.all(m).then(()=>n(e),a=>s(x(a)))}else n(e)})}function on(e,o,r,t,n=!1){return new Promise((s,i)=>{let m=f(e,t)||[],a=[],c=[];if(m.forEach(d=>{!n&&f(d,"icon")&&Bo(d,["icon"],B(H));let p=d.config;if(p){let I=JSON.stringify(p),h=Vo(I,r,c,a,o);d.config=JSON.parse(h.testString),a=h.serviceRequests,c=h.requestUrls}}),a.length>0){let d=JSON.stringify(m);$o(a,c,d).then(p=>{E(e,t,JSON.parse(p)),s(e)},p=>i(x(p)))}else s(e)})}function Bs(e,o,r,t){return new Promise((n,s)=>{let i=f(e,t),m=[],a=[];if(i){f(i,"icon")&&Bo(i,["icon"],B(H));let c=JSON.stringify(i),d=Vo(c,r,a,m,o);i=JSON.parse(d.testString),m=d.serviceRequests,a=d.requestUrls}if(m.length>0){let c=JSON.stringify(i);$o(m,a,c).then(d=>{E(e,t,JSON.parse(d)),n(e)},d=>s(x(d)))}else n(e)})}function $o(e,o,r){return new Promise((t,n)=>{if(e&&e.length>0){let s=0;Promise.all(e).then(i=>{i.forEach(m=>{if(f(m,"serviceItemId")){let a="{{"+m.serviceItemId+(m.hasOwnProperty("id")?".layer"+m.id:"")+".url}}";r=so(r,o[s],a,!0)}s++}),t(r)},i=>n(x(i)))}else t(r)})}function Vo(e,o,r,t,n){let s={f:"json",authentication:n},i=e.match(/(\bhttps?:\/\/[-A-Z0-9/._]*)/gim);return i&&i.length&&i.forEach(m=>{m.indexOf("NAServer")>-1?e=so(e,m,B(St)):m.indexOf("GeocodeServer")>-1?e=so(e,m,B(xt)):o&&m.indexOf(o)>-1?e=so(e,o,B(H)):m.indexOf("FeatureServer")>-1&&r.indexOf(m)===-1&&(r.push(m),t.push(N(m,s)))}),{testString:e,requestUrls:r,serviceRequests:t}}function so(e,o,r,t=!1){let n=t&&e.indexOf('"')>-1,s=new RegExp(n?'"'+o+'"':o,"gmi");return e.replace(s,n?'"'+r+'"':r)}function Bo(e,o,r){o.forEach(t=>{let n=f(e,t);if(n){let s=n.substring(n.indexOf("/",n.indexOf("//")+2));E(e,t,s!==n?r+s:r)}})}function rn(e,o,r,t){return new Promise(n=>{if(Ee(e,["WAB2D","WAB3D","Web AppBuilder"])){let s={id:o.itemId,url:o.item.url,data:o.data},i=z(s,t),m={tags:e.item.tags,title:e.item.title,type:"Code Attachment",typeKeywords:["Code","Javascript","Web Mapping Application"],relationshipType:"WMA2Code",originItemId:o.itemId,url:je(w(B(H),r))+"sharing/rest/content/items/"+o.itemId+"/package"},a=te(m,{},t,r.folderId);Promise.all([i,a]).then(()=>n(null),()=>n(null))}else n(null)})}function zs(e){let o=Gs;return Ee(e,["WAB2D","WAB3D","Web AppBuilder"])&&(o=js),o(e)}function Gs(e){return yt(e,["data.values.webmap","data.values.group"])}function js(e){let o=[],r=f(e,"data.map.itemId");r&&o.push(r);let t=f(e,"data.dataSource.dataSources");return t&&Object.keys(t).forEach(n=>{let s=t[n];s.itemId&&o.push(s.itemId)}),o}function Ks(e,o){o.forEach(r=>{let t=f(e,r);nn(e,r,t)})}function nn(e,o,r){E(e,o,T(r,r,".itemId"))}function sn(e,o){let r=f(e,"data.dataSource.dataSources");r&&Object.keys(r).length>0&&(Object.keys(r).forEach(s=>{let i=r[s];r[s]=No(i,o)}),E(e,"data.dataSource.dataSources",r)),["data.widgetPool.widgets","data.widgetOnScreen.widgets"].forEach(s=>{let i=f(e,s);i&&E(e,s,Hs(i,o))});let n=f(e,"data.values");return n&&E(e,"data.values",No(n,o)),e}function No(e,o,r=!1){return e=Js(e,o,r),qs(e,o).forEach(n=>{e=Z(e,n.fields,n.basePath,r)}),e}function Hs(e,o){let r=["SmartEditor","Screening"];return e.map(t=>{if(t.config){let n=r.indexOf(t.name)>-1;t.config=No(t.config,o,n)}return t})}function qs(e,o){let r=JSON.stringify(e);return o.filter(n=>Wo(n,r)<4).sort((n,s)=>Wo(n,r)-Wo(s,r))}function Wo(e,o){let r=e.url,t=e.itemId,n=e.layerId,s;return r&&!isNaN(n)&&(s=new RegExp(r.replace(/[.]/,".layer"+n+"."),"gm")),s&&s.test(o)||e.ids.length>0&&e.ids.some(i=>new RegExp(i,"gm").test(o))?1:r&&new RegExp(r,"gm").test(o)?2:t&&new RegExp(t,"gm").test(o)?3:4}function Js(e,o,r){let t=JSON.stringify(e),n=o.filter(s=>{let i;s.url&&!isNaN(s.layerId)&&(i=new RegExp(s.url.replace(/[.]/,".layer"+s.layerId+"."),"gm"));let m=!1;if(s.ids.length>0&&(m=s.ids.some(a=>new RegExp(a,"gm").test(t))),m||i&&i.test(t))return s});return n.length>0&&n.forEach(s=>{e=Lo(e,s,r),s.ids.length>0&&s.ids.forEach(i=>{e=io(e,s,i,r)})}),e}function Lo(e,o,r){let t={},n=o.url,s=o.layerId,i;if(n&&!isNaN(s)&&(i=new RegExp(n.replace(/[.]/,".layer"+s+"."),"gm")),Array.isArray(e))t=e.map(m=>Lo(m,o,r));else if(typeof e=="object")for(let m in e)e[m]!=null&&typeof e[m]=="object"?t[m]=Lo(e[m],o,r):(i&&i.test(e[m])&&(e=Z(e,o.fields,o.basePath,r)),t[m]=e[m]);else t=e;return t}function io(e,o,r,t){let n={},s=new RegExp(r,"gm");if(Array.isArray(e))n=e.map(i=>io(i,o,r,t));else if(typeof e=="object")for(let i in e)if(e[i]!==null){let m;try{m=JSON.parse(e[i])}catch{m=void 0}m&&typeof m=="object"?n[i]=JSON.stringify(io(m,o,r,t)):typeof e[i]=="object"?(s.test(i)&&t&&(e[i]=Z(e[i],o.fields,o.basePath,t)),n[i]=io(e[i],o,r,t)):(s.test(e[i])&&(e=Z(e,o.fields,o.basePath,t)),n[i]=e[i])}else n[i]=e[i];else n=e;return n}function mn(e,o,r,t){return Yt(e,r,t)}function an(e,o,r){return Qe(e,o,"",r)}function D(e,o,r,t,n){return new Promise((s,i)=>{function m(){n&&n.signal.aborted&&i(new Error("Operation was cancelled"))}if(m(),!t(e.itemId,u.Started,0))t(e.itemId,u.Ignored,0),s(g(e.type));else{let a=C(e);a=w(a,o);let c;e.type==="Web Mapping Application"&&e.data?a=JSON.parse(w(JSON.stringify(a),o)):e.type==="QuickCapture Project"&&e.data&&(c=JSON.stringify(a.data.application),delete a.data),e.item.thumbnail&&(a.item.thumbnail=e.item.thumbnail),te(a.item,a.data,r,o.folderId).then(d=>{if(m(),!t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,d.id))t(e.itemId,u.Cancelled,0),_(d.id,r).then(()=>s(g(e.type)),()=>s(g(e.type)));else{o[e.itemId]={itemId:d.id,itemUrl:o.portalBaseUrl+"/sharing/rest/content/items/"+d.id},a.itemId=d.id,a.type==="Web Mapping Application"&&e.data&&E(a,"data.appItemId",d.id);let p=oe(a.data),I=a.item.url;a=w(a,o),m();let h=Promise.resolve([]);if(a.relatedItems){let S=w(Je(a.relatedItems),o);h=Xt(a.itemId,S,r)}m();let P;if(e.type==="Web Mapping Application"&&e.data&&Ee(e,["WAB2D","WAB3D","Web AppBuilder"]))P=rn(e,a,o,r);else if(e.type==="Workforce Project")P=an(a,r,o);else if(e.type==="QuickCapture Project"){if(c){let S=pe(w(JSON.parse(c),o),"qc.project.json");P=Hr(S,a.itemId,"",S.name,r)}}else e.type==="Notebook"?P=Go(e,a,o,r):I!==a.item.url?(m(),P=new Promise((S,y)=>{Ir(d.id,a.item.url,r).then(()=>S(),y)})):P=Promise.resolve(null);m(),Promise.all([h,P]).then(()=>{t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor/2,d.id)?s({item:a,id:d.id,type:a.type,postProcess:p}):(t(e.itemId,u.Cancelled,0),_(d.id,r).then(()=>s(g(e.type)),()=>s(g(e.type))))},()=>{t(e.itemId,u.Failed,0),s(g(e.type))})}},()=>{t(e.itemId,u.Failed,0),s(g(e.type))})}})}function Ds(e,o,r,t){return Q(e,o,r,t)}function Zs(e,o,r,t){return D(e,o,r,t)}function jo(e){return new Promise(o=>{pn(e.data),o(e)})}function Qs(e,o){if(e.some(t=>t.type==="Notebook")){let t=Object.keys(o).filter(s=>s.indexOf("FeatureServer")>-1).sort().reverse(),n=e.reduce((s,i)=>(s=[...new Set([...s,...i.dependencies,i.itemId])],s),[]);e=e.map(s=>{if(s.type==="Notebook"){let i=s.data&&JSON.stringify(s.data);return n.forEach(m=>{new RegExp(m,"gim").test(i)&&(i=i.replace(m,"{{"+m+".itemId}}"),s.dependencies.indexOf(m)<0&&s.dependencies.push(m))}),t.forEach(m=>{let a=new RegExp(m,"gim");if(a.test(i)){let c=o[m];i=i.replace(a,c);let d=/[0-9A-F]{32}/gim,p=c.match(d)[0];s.dependencies.indexOf(p)<0&&s.dependencies.push(p)}}),s.data=JSON.parse(i),s}})}return e}function pn(e){if(e){let o=["metadata.interpreter","metadata.papermill"];xe(e,o),(e.cells||[]).forEach(r=>{xe(r,o)})}}function Go(e,o,r,t){return new Promise((n,s)=>{let i={id:o.itemId,url:o.item.url,data:pe(o.data,o.itemId+".ipynb")};z(i,t).then(()=>n(null),s)})}function Ys(e,o,r,t,n,s,i){return J(e,s,i)}function un(e,o,r){return new Promise((t,n)=>{Xs(e,r).then(s=>{e.dependencies=s.dependencies,e.data?.properties&&(e.data.properties.ServiceURL=fn(e.data.properties.ServiceURL,s.urlHash),e.data.properties.OverviewURL=fn(e.data.properties.OverviewURL,s.urlHash)),t(e)},s=>n(x(s)))})}function Xs(e,o){return new Promise((r,t)=>{let n=[];if(e.data?.properties){let s=[];e.data.properties.ServiceURL&&s.push(e.data.properties.ServiceURL),e.data.properties.OverviewURL&&e.data.properties.OverviewURL!==e.data.properties.ServiceURL&&s.push(e.data.properties.OverviewURL),ei(s,n,o).then(i=>{r(i)},i=>t(x(i)))}else r({dependencies:n,urlHash:{}})})}function ei(e,o,r){return new Promise((t,n)=>{let s={},i={f:"json",authentication:r},m=[],a={},c=e.filter(d=>{if(d){let p=/.+FeatureServer/g.exec(d),I=Array.isArray(p)&&p.length>0?p[0]:void 0;return I?(Object.keys(a).indexOf(I)<0&&(a[I]=N(d,i)),m.push(a[I]),!0):!1}else return!1});m.length>0?Promise.all(m).then(d=>{d.forEach((p,I)=>{if(f(p,"serviceItemId")){let h=p.serviceItemId;o.indexOf(h)<0&&o.push(h),s[c[I]]=h}}),t({dependencies:o,urlHash:s})},d=>n(x(d))):t({dependencies:o,urlHash:s})})}function fn(e,o){let r=e;if(e){let t=o[e];if(t){let n=e.substr(e.lastIndexOf("/")+1);r=T(t,t,".layer"+n+".url")}r=Je(r.replace(/.+?(?=\/home)/,"{{portalBaseUrl}}"))}return r}var Fe={};W(Fe,{_templatizeAdminEmail:()=>gn,_templatizeApplication:()=>In,_templatizeId:()=>Ko,_templatizeUrl:()=>yn,_updateDependencies:()=>hn,convertItemToTemplate:()=>ti,convertQuickCaptureToTemplate:()=>Ho,createItemFromTemplate:()=>ri});function ti(e,o,r,t){return Q(e,o,r,t)}function Ho(e){return E(e,"data.application",In(e.data.application,e)),e}function In(e,o){Ko(e,"itemId"),gn(e);let r=e?.dataSources;return r&&Array.isArray(r)&&r.forEach(t=>{let n=t.featureServiceItemId;n&&(hn(n,o),yn(t,"featureServiceItemId","url"),Ko(t,"featureServiceItemId"))}),e}function gn(e){f(e,"preferences.adminEmail")&&E(e,"preferences.adminEmail","{{user.email}}")}function hn(e,o){o.dependencies.indexOf(e)===-1&&o.dependencies.push(e)}function yn(e,o,r){let t=f(e,o),n=f(e,r);if(n){let s=n.substr(n.lastIndexOf("/")+1);E(e,r,T(t,t,".layer"+s+".url"))}}function Ko(e,o){let r=f(e,o);r&&E(e,o,T(r,r,".itemId"))}function ri(e,o,r,t){return D(e,o,r,t)}var ni="home/webmap/viewer.html?webmap=";function Pn(e,o,r,t){return new Promise((n,s)=>{e.type!=="Vector Tile Service"&&(e.item.url=e.item.url?je(B(H))+ni+e.item.id:e.item.url),si(e,r).then(i=>{e.dependencies=i.dependencies,e.data&&(e.data.baseMap?.baseMapLayers&&qo(e.data.baseMap.baseMapLayers,i.urlHash,t),e.data.operationalLayers&&qo(e.data.operationalLayers,i.urlHash,t),qo(e.data.tables,i.urlHash,t),ii(e.data)),n(e)},i=>s(x(i)))})}function si(e,o){return new Promise((r,t)=>{let n=[];if(e.data){let s=e.data.baseMap?.baseMapLayers||[],i=e.data.operationalLayers||[],m=e.data.tables||[],a=s.concat(i).concat(m);mi(a,n,o).then(c=>{r(c)},c=>t(x(c)))}else r({dependencies:n,urlHash:{}})})}function ii(e){Ke(e,"initialState")}function mi(e,o,r){return new Promise((t,n)=>{let s={},i={f:"json",authentication:r},m=[],a={},c=e.filter(d=>{if(d.itemId&&d.layerType==="VectorTileLayer")return m.push(A(d.itemId,r)),!0;if(d.url&&d.url.indexOf("{{velocityUrl}}")<0){let p=/.+FeatureServer/g.exec(d.url),I=Array.isArray(p)&&p.length>0?p[0]:void 0;return I?(Object.keys(a).indexOf(I)<0&&(a[I]=N(d.url,i)),m.push(a[I]),!0):!1}else return!1});m.length>0?Promise.all(m).then(d=>{d.forEach((p,I)=>{if(c[I].layerType==="VectorTileLayer"){let h=f(p,"typeKeywords");if(h&&h.includes("Vector Tile Style Editor")){o.indexOf(p.id)<0&&o.push(p.id),c[I].templatizeId=!0;let P=c[I].styleUrl.indexOf(p.id)+p.id.length;c[I].styleUrl=T(c[I].styleUrl.replace(c[I].styleUrl.substring(0,P),p.id),p.id,".itemUrl")}}else if(f(p,"serviceItemId")){let h=p.serviceItemId;o.indexOf(h)<0&&o.push(h),s[c[I].url]=h}}),t({dependencies:o,urlHash:s})},d=>n(x(d))):t({dependencies:o,urlHash:s})})}function qo(e=[],o,r){e.forEach(t=>{if(t.itemId&&t.layerType==="VectorTileLayer")t.templatizeId&&(t.itemId=T(t.itemId,t.itemId,".itemId"),delete t.templatizeId);else if(t.url){let n=t.url.substr(t.url.lastIndexOf("/")+1),s=Object.keys(o).indexOf(t.url)>-1?o[t.url]:void 0;s&&(ue(n,s,t.url,r),t.url=T(s,s,".layer"+n+".url"),t.itemId=T(s,s,".layer"+n+".itemId"))}})}function wn(e,o){return["data.operationalLayers","data.tables","data.applicationProperties.viewing.search.layers"].forEach(t=>ai(e,o,t)),e}function ai(e,o,r){let t=f(e,r);t&&E(e,r,ci(t,o))}function ci(e,o){return e.forEach(r=>{let t=di(r,o);if(t){let n=t.fields.map(i=>i.name);qt(r,t,t.basePath,t.itemId,n),Dt(r,t.basePath,n),r.layerDefinition&&(Qt(r.layerDefinition,t.basePath,n),Zt(r.layerDefinition,t.basePath,n));let s=f(r,"field.name");s&&E(r,"field.name",Jt(s,r,t.itemId,t.basePath))}}),e}function di(e,o){let r;return o.some(t=>t.ids.indexOf(e.id)>-1?(r=t,!0):!1),r}function Q(e,o,r,t){return new Promise((n,s)=>{let i=G(e);i.item.id=T(i.item.id,i.item.id,".itemId");let m=De(i.itemId,"forward",r),a=Promise.resolve({}),c=Promise.resolve([]);switch(e.type){case"Dashboard":case"Data Pipeline":case"Feature Collection":case"Feature Service":case"Hub Initiative":case"Hub Page":case"Hub Site Application":case"Insights Model":case"Oriented Imagery Catalog":case"Project Package":case"Style":case"Workforce Project":case"Web Map":case"Web Mapping Application":case"Web Scene":case"Notebook":a=new Promise(d=>{q(i.itemId,r).then(p=>d(p))});break;case"Form":a=fe(i.itemId,i.item.name,r);break;case"QuickCapture Project":c=Ze(i.itemId,r);break}Promise.all([a,m,c]).then(d=>{let[p,I,h]=d;Jr(i,t),i.data=ro(p,e.type,t);let P=I;i.dependencies=[],i.relatedItems=[],P.forEach(y=>{y.relationshipType!=="WMA2Code"&&(i.relatedItems.push(y),y.relatedItemIds.forEach(v=>{i.dependencies.indexOf(v)<0&&i.dependencies.push(v)}))}),e.type==="Data Pipeline"&&(i.dependencies=i.dependencies.concat(pi(p)));let S=Promise.resolve(i);switch(e.type){case"Dashboard":Yr(i,t);break;case"Notebook":S=jo(i);break;case"Oriented Imagery Catalog":S=un(i,o,r);break;case"QuickCapture Project":i.resources=h,S=new Promise(async y=>{let v=null,b=-1;h&&(h.some((ne,ke)=>{let U=ne.name==="qc.project.json";return U&&(v=ne,b=ke),U}),b>=0&&h.splice(b,1)),v&&(i.data={application:{...await Ge(v)},name:"qc.project.json"}),i.data.application?.basemap?.type==="Web Map"&&i.dependencies.push(i.data.application.basemap.itemId);let M=Ho(i);y(M)});break;case"Vector Tile Service":case"Web Map":case"Web Scene":S=Pn(i,o,r,t);break;case"Web Mapping Application":p&&(S=tn(i,o,r,t));break;case"Workforce Project":S=mn(i,o,r,t);break}S.then(n,y=>s(x(y)))})})}function pi(e){let o=[];return(e?.inputs??[]).concat(e?.outputs??[]).forEach(t=>{if(t.type==="FeatureServiceSource"||t.type==="FeatureServiceSink"){let n=f(t,"parameters.layer.value.itemId");n&&o.push(n)}}),o}var R={};W(R,{convertItemToTemplate:()=>fi,createItemFromTemplate:()=>ui,postProcess:()=>Ii,postProcessFieldReferences:()=>li});function fi(e,o,r,t){return Q(e,o,r,t)}function ui(e,o,r,t,n){return n?D(e,o,r,t,n):D(e,o,r,t)}function li(e,o,r){switch(r){case"Web Mapping Application":sn(e,o);break;case"Dashboard":Xr(e,o);break;case"Web Map":wn(e,o);break}return e}async function Ii(e,o,r,t,n,s,i){if(o==="Web Map"&&t.resources.some(m=>m.indexOf(ie)>-1)){let m=zr(`${s.portalBaseUrl}/sharing/rest`,t.itemId,ie),a={httpMethod:"GET",authentication:i,params:{f:"json"},headers:{Accept:"application/json",Authorization:`Bearer ${i.token}`,"Content-Type":"application/json","X-Esri-Authorization":`Bearer ${i.token}`}};await N(m,a).then(async c=>{let d=JSON.stringify(c),p=w(d,s);if(d!==p){let I=JSON.parse(p),h={id:e,resource:pe(I,ie),name:ie,authentication:i,params:{}};await ct(h)}})}return J(e,s,i)}function gi(e,o,r,t){return R.convertItemToTemplate(e,o,r,t)}function mo(e){return!!f(e,"properties.services")}function En(e,o="https://survey123.arcgis.com"){let r=`${o}/api/survey/create`,t={credentials:"same-origin",method:"POST",body:it({f:"json",...e},!0)};return fetch(r,t).then(n=>n.json()).then(n=>{if(!n.success)throw new Error(`Failed to create survey: ${n.error.message}`);return{formId:n.id,featureServiceId:n.featureService.source.itemId,folderId:n.formItemInfo.ownerFolder}})}var bn=function(o){let r=C(o),t=[["header","content"],["subHeader","content"],["footer","content"],["settings","thankYouScreenContent"]],n=(i,m)=>(i&&i[m]&&(i[m]=encodeURIComponent(i[m])),i);t.forEach(([i,m])=>n(r[i],m));let s=i=>n(i,"description");return r.questions=(r.questions||[]).map(i=>i.questions?{...i,questions:i.questions.map(s)}:s(i)),r};function Tn(e,o,r){let{item:{title:t,description:n,tags:s,typeKeywords:i},properties:{form:m}}=e,{user:{username:a},portalBaseUrl:c,organization:{basemapGalleryGroupQuery:d,defaultBasemap:{title:p}}}=o,{token:I}=r.toCredential();return Mt(d,p,r).then(h=>{let P="Survey-",S=Pt(`${P}${t}`,o,"user.folders").replace(P,"");if(m.questions){let v=b=>(b.maps&&(b.maps=b.maps.map(M=>({...M,itemId:h.id}))),b);m.questions=m.questions.map(b=>b.questions?{...b,questions:b.questions.map(v)}:v(b))}let y=bn(m);return{description:n,form:y,portalUrl:c,tags:s,title:S,token:I,typeKeywords:i,username:a}})}function vn(e,o,r,t){let n=w(e,o),{survey123Url:s}=o;return Tn(n,o,r).then(i=>En(i,s)).then(i=>{let{formId:m,featureServiceId:a}=i,c=Promise.resolve(null);return e.item.thumbnail&&(c=le({id:m},null,r,e.item.thumbnail)),c.then(()=>A(m,r)).then(d=>(o[n.itemId]={itemId:m},o[n.properties.info.serviceInfo.itemId]={itemId:a},t(n.itemId,u.Finished,n.estimatedDeploymentCostFactor,m),{item:{...e,item:d,itemId:m},id:m,type:"Form",postProcess:!0}))}).catch(i=>{throw t(n.itemId,u.Failed,0),i})}function hi(e,o,r,t){return mo(e)?vn(e,o,r,t):R.createItemFromTemplate(e,o,r,t)}async function Jo(e,o){let r=await ko(e),t=new Date;return t=new Date(t.valueOf()-864e5-t.getTimezoneOffset()*1e3*60),r.forEach(n=>{if(typeof n.content=="string"){let s=kn(n,o);e.file(n.file,s,{date:t})}else n.file.endsWith(".xlsx")&&e.file(n.file,n.content,{date:t})}),Promise.resolve(e)}async function Do(e,o){return(await ko(e)).forEach(t=>{if(t.file.endsWith(".info")||t.file.endsWith(".itemInfo")||t.file.endsWith(".json")||t.file.endsWith(".webform")||t.file.endsWith(".xml")){let n=t.content,s=/\b([0-9A-Fa-f]){32}_type/g;n=On(n,o,s),n=Fn(n,o,s),n=_n(n,o),n=Rn(n,o),e.file(t.file,n)}}),Promise.resolve(e)}function Fn(e,o,r){let t=e;return Object.keys(o).filter(s=>s.match(r)&&o[s].type==="Feature Service").forEach(s=>{let i=o[s].url,m=o[i];m&&(t=t.replace(new RegExp(i,"g"),m))}),t}function On(e,o,r){let t=e;return Object.keys(o).filter(s=>s.match(r)&&o[s].type!=="Feature Service").map(s=>s.replace("_type","")).forEach(s=>{t=t.replace(new RegExp(s,"g"),`{{${s}.itemId}}`)}),t}function _n(e,o){let r=e;return o.portalBaseUrl&&(r=r.replace(new RegExp(o.portalBaseUrl,"g"),"{{portalBaseUrl}}")),r}function Rn(e,o){let r=e;return o.workflowBaseUrl&&(r=r.replace(new RegExp(o.workflowBaseUrl,"g"),"{{workflowBaseUrl}}")),r}function kn(e,o){let r=lt(),t=e.content;return t=w(e.content,o),de(t.match(r)??[]).forEach(s=>{let i=o[s];typeof i?.itemId=="string"&&(t=t.replace(new RegExp(s,"g"),`${i.itemId}`))}),t}function An(e,o,r,t,n,s,i){let m=t.properties.info.serviceInfo.itemId,{itemId:a}=s[m],c=w(t,s);return A(a,i).then(d=>{let p=[{id:e,title:c.item.title,snippet:c.item.snippet,extent:c.item.extent,culture:c.item.culture},{id:a,extent:c.item.extent,typeKeywords:[`source-${m}`].concat(d.typeKeywords)}],I=P=>z(P,i),h=p.map(I);return Promise.all(h).then(()=>{let P=[e,a],S=v=>j({itemId:v,folderId:s.folderId,authentication:i}),y=P.map(S);return Promise.all(y)}).then(()=>pr(d.ownerFolder,i)).then(()=>{let P=G(d);return n.push(P),t.dependencies.push(d.id),!0})})}async function Cn(e,o,r,t,n,s,i){let m=await fe(e,"Form",i);if(m){let a=await Ro(m),c=await Jo(a,s);Xe(c,e,i)}else return await ut(5e3),Cn(e,o,r,t,n,s,i);return mo(t)?An(e,o,r,t,n,s,i):J(e,s,i)}async function Pi(e,o){for(let r of e)if(r.type==="Form"){let t=r.data;if(r.data=null,t){let n=await Ro(t);n=await Do(n,o),r.item.name=Mn(r.item.name,t.name,`${r.itemId}.zip`);let s=await hr(n,r.item.name),i=eo(r.itemId,r.item.name,1,Te.data),m={itemId:r.itemId,file:s,folder:i.folder,filename:r.item.name};r.dataFile=m,r.resources.push(i.folder+"/"+i.filename)}}return Promise.resolve(e)}function Mn(e,o,r){let t=e||o;return t&&t!=="undefined"?t:r}var Qo={};W(Qo,{_initializeNewGroup:()=>Un,convertItemToTemplate:()=>wi,createItemFromTemplate:()=>xi,postProcess:()=>Si});function wi(e,o,r){return new Promise(t=>{let n=Et(e);n.item.id=T(n.item.id,n.item.id,".itemId"),At(e.id,r).then(s=>{n.type="Group",kt(e.id,r).then(i=>{i.id=n.item.id,n.item={...i,type:"Group"},n.dependencies=s.concat(ht(i.tags)),t(n)},()=>t(n))},()=>t(n))})}function xi(e,o,r,t){return new Promise(n=>{if(!t(e.itemId,u.Started,0)){t(e.itemId,u.Ignored,0),n(g(e.type));return}let s=C(e);s=w(s,o),s.item.thumbnail=e.item.thumbnail;let i=Un(s.item);rr(i.title,i,o,r,Fo(s)?o.locationTracking.owner:void 0).then(m=>{if(m.success)if(!t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,m.group.id))t(e.itemId,u.Cancelled,0),be(m.group.id,r).then(()=>n(g(e.type)),()=>n(g(e.type)));else if(s.itemId=m.group.id,o[e.itemId]={itemId:m.group.id},s=w(s,o),o[e.itemId].itemId=m.group.id,!t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor/2,m.group.id))t(e.itemId,u.Cancelled,0),be(m.group.id,r).then(()=>n(g(e.type)),()=>n(g(e.type)));else if(Fo(s)){let a=o.locationTracking.owner;fr(m.group.id,a,r).then(c=>{c.success?t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,m.group.id)?ur(m.group.id,[r.username],r).then(d=>{Array.isArray(d.notRemoved)&&d.notRemoved.length===0?t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,m.group.id)?n({item:s,id:m.group.id,type:s.type,postProcess:oe(s)}):(t(e.itemId,u.Cancelled,0),be(m.group.id,r).then(()=>n(g(e.type)),()=>n(g(e.type)))):(t(e.itemId,u.Failed,0),n(g(e.type)))}):(t(e.itemId,u.Cancelled,0),be(m.group.id,r).then(()=>n(g(e.type)),()=>n(g(e.type)))):(t(e.itemId,u.Failed,0),n(g(e.type)))})}else n({item:s,id:m.group.id,type:s.type,postProcess:oe(s)});else t(e.itemId,u.Failed,0),n(g(e.type))},()=>{t(e.itemId,u.Failed,0),n(g(e.type))})})}function Si(e,o,r,t,n,s,i){let m=Promise.resolve({success:!0});return r.some(a=>{if(a.id===e){let c=a.item.item;return oe(c)&&(c=w(c,s),m=lr(c,i)),!0}}),m}function Un(e){let o={access:"private",description:e.description,owner:e.owner,snippet:e.snippet,tags:e.tags,thumbnail:e.thumbnail,title:e.title||"",typeKeywords:e.typeKeywords};return["autoJoin","displaySettings","isInvitationOnly","isOpenData","isViewOnly","membershipAccess","properties","sortField","sortOrder"].forEach(t=>{e.hasOwnProperty(t)&&(o[t]=e[t])}),o}var Oe={};W(Oe,{convertItemToTemplate:()=>Ei,createItemFromTemplate:()=>bi,isAPage:()=>vi,postProcess:()=>Ti});function Wn(e,o,r,t){return e=ce(e,r,{}),Fr(e,{...t,allowList:[]}).then(()=>!0)}function ao(e){let o=K(e);return(e.dependencies||[]).forEach(t=>{let n=new RegExp(t,"g"),s=`{{${t}.itemId}}`;o.item=me(o.item,n,s),o.data=me(o.data,n,s),e.properties&&(o.properties=me(o.properties,n,s))}),o}function co(e,o,r){let t=L(j,{success:!0}),n=[t({itemId:e.item.id,folderId:o,authentication:r})];return V(e,"item.properties.parentInitiativeId")&&n.push(t({itemId:e.item.properties.parentInitiativeId,folderId:o,authentication:r})),Promise.all(n)}function Ei(e,o,r=null){let t=0,n=0;return Promise.all([we(e.id,{authentication:o}),re(o)]).then(([s,i])=>(t=s.item.created,n=s.item.modified,_r(s,i))).then(s=>(s.item.created=t,s.item.modified=n,s.item.typeKeywords=We(s.item.typeKeywords,"doNotDelete"),s.groups=[],s.estimatedDeploymentCostFactor=2,s.resources=[],V(s,"properties")||(s.properties={}),s=ao(s),s))}function bi(e,o,r,t){if(!t(e.itemId,u.Started,0))return Promise.resolve(g(e.type));if(e.assets&&e.resources&&delete e.assets,o.solutionItemExtent){let c=o.solutionItemExtent.split(",");o.organization.defaultExtentBBox=[[c[0],c[1]],[c[2],c[3]]]}let s={},i,m,a=e.item.thumbnail;return re(r,o).then(c=>(m=c,Rr(e,o,s,m))).then(c=>{let d=c,p={assets:d.assets||[]};return Or(d,p,m)}).then(c=>(i=c,co(c,o.folderId,r))).then(()=>{let c={item:{id:i.item.id},params:{thumbnail:a},authentication:r};return X(c)}).then(()=>{if(o[e.itemId]={itemId:i.item.id},t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor||2,i.item.id)){let d={item:{...e,...ee(i)},id:i.item.id,type:e.type,postProcess:!0};return d.item.itemId=i.item.id,d}else return L(vr,{success:!0})(i,m).then(()=>Promise.resolve(g(e.type)))}).catch(c=>{throw t(e.itemId,u.Failed,0),c})}function Ti(e,o,r,t,n,s,i){let m;return re(i).then(a=>(m=a,we(e,{authentication:i}))).then(a=>Wn(a,r,s,m))}function vi(e){let o=!1;return(e==="Hub Page"||e==="Site Page")&&(o=!0),o}var _e={};W(_e,{convertItemToTemplate:()=>Fi,createItemFromTemplate:()=>Oi,isASite:()=>Ri,postProcess:()=>_i});function Nn(e,o,r){let t=o.filter(n=>n.type.indexOf("Page")>-1).map(n=>n.id);return Promise.all(t.map(n=>we(n,r))).then(n=>Lr(e,n,r))}function Ln(e,o,r,t){let n=o.filter(a=>a.id!==e.item.id),s=n.map(a=>({item:{id:a.id,type:a.type}})),i=[];i=i.concat(Nr(e,s,t)),i=i.concat(Nn(e,n,t));let m=n.map(a=>a.id);return e.item.properties.children=m,e=Mr(e,r,{}),i.push(kr(e,{...t,allowList:void 0})),Promise.all(i).then(()=>!0)}function Fi(e,o,r=null){let t=0,n=0,s,i,m;return re(o).then(a=>(m=a,wo(e.id,m))).then(a=>(t=a.item.created,n=a.item.modified,s=a.item.title,i=a.data.values.title,Wr(a,m))).then(a=>(a.item.created=t,a.item.modified=n,a.item.title=s,a.item.typeKeywords=We(a.item.typeKeywords,"doNotDelete"),a.data.values.title=i,a.groups=[],a.estimatedDeploymentCostFactor=2,a.resources=[],f(a,"properties")||(a.properties={}),a.dependencies=de(a.dependencies),a=ao(a),a))}function Oi(e,o,r,t){if(!t(e.itemId,u.Started,0))return Promise.resolve(g(e.type));e.assets&&e.resources&&delete e.assets,o.solution||(o.solution={}),o.solution.title=o.title;let s={},i,m,a=e.item.thumbnail;return re(r,o).then(c=>(m=c,Ur(e,o,s,m))).then(c=>{let d={assets:c.assets||[]};return Cr(c,d,m)}).then(c=>(i=c,co(c,o.folderId,r))).then(()=>{let c={item:{id:i.item.id},params:{thumbnail:a},authentication:r};return X(c)}).then(()=>{if(o[e.itemId]={itemId:i.item.id},t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor||2,i.item.id)){let d={item:{...e,...ee(i)},id:i.item.id,type:e.type,postProcess:!0};return d.item.itemId=i.item.id,d}else return L(Ar,{success:!0})(i,m).then(()=>Promise.resolve(g(e.type)))}).catch(c=>{throw t(e.itemId,u.Failed,0),c})}function _i(e,o,r,t,n,s,i){let m;return re(i,s).then(a=>(m=a,wo(e,m))).then(a=>Ln(a,r,s,m)).then(()=>Promise.resolve(!0))}function Ri(e){let o=!1;return(e==="Hub Site Application"||e==="Site Application")&&(o=!0),o}var fo={};W(fo,{convertItemToTemplate:()=>Ci,createItemFromTemplate:()=>Mi,isAStoryMap:()=>Ui});function $n(e={}){let o=0;return Object.keys(e).reduce((r,t)=>(V(e,`${t}.type`)==="webmap"&&t!==`webmap${o}`&&(r.push({original:t,updated:`webmap${o}`}),o++),r),[])}function Vn(e){let o=V(e,"data.resources")||{};return Object.keys(o).reduce((r,t)=>(V(o,`${t}.type`)==="webmap"&&r.push(V(o,`${t}.data.itemId`)),r),[])}function zn(e){let o=qe(e.item.id,e.item.type);o.key=`${$e(e.item.title)}_${Ne("i")}`;let r=K(e);o.data=r.data;let t=r.item.created,n=r.item.modified;return o.item=Be(r.item),o.item.created=t,o.item.modified=n,o.item.url="{{storyMapTemplateUrl}}",$n(o.data.resources).forEach(m=>{o.data.resources[m.updated]=K(o.data.resources[m.original]),delete o.data.resources[m.original],o.data.nodes=me(o.data.nodes,m.original,m.updated)}),o.item.typeKeywords.indexOf(Bn)!==-1&&(o.item.typeKeywords=[ki].concat(o.item.typeKeywords.filter(m=>m!==Bn))),o.properties={},o.properties.draftFileName="draft_{{timestamp}}.json",Object.assign(o.properties,Ai),o.dependencies=Vn(e),Promise.resolve(o)}var Bn="smstatusunpublishedchanges",ki="smstatuspublished",Ai={oembed:{version:"1.0",type:"rich",title:"Example StoryMap",url:"{{storyMapTemplateUrl}}",provider_name:"ArcGIS StoryMaps",provider_url:"{{storyMapBaseUrl}}",width:800,height:600,thumbnail_url:"{{storyMapThumbnailUrl}}",thumbnail_height:"100.5",thumbnail_width:"400",html:'<iframe src="{{storyMapTemplateUrl}}" width="800" height="600" scrolling="yes" frameborder="0" allowfullscreen></iframe>',cache_age:86400},oembedXML:`<?xml version="1.0" encoding="utf-8" standalone="yes"?>
5
+ <oembed>
6
+ <version>1.0</version>
7
+ <type>rich</type>
8
+ <title>Example StoryMap</title>
9
+ <url>{{storyMapTemplateUrl}}</url>
10
+ <author_name>undefined</author_name>
11
+ <provider_name>ArcGIS StoryMaps</provider_name>
12
+ <provider_url>{{storyMapBaseUrl}}</provider_url>
13
+ <width>800</width>
14
+ <height>600</height>
15
+ <thumbnail_url>{{storyMapThumbnailUrl}}</thumbnail_url>
16
+ <thumbnail_height>100.5</thumbnail_height>
17
+ <thumbnail_width>400</thumbnail_width>
18
+ <html><iframe src="{{storyMapTemplateUrl}}" width="800" height="600" scrolling="yes" frameborder="0" allowfullscreen="true"></iframe></html>
19
+ <cache_age>86400</cache_age>
20
+ </oembed>`};function Gn(e){let o=e.portal||"https://www.arcgis.com/sharing/rest",r="portal";return o.match(/(qaext|\.mapsqa)\.arcgis.com/)?r="qaext":o.match(/(devext|\.mapsdevext)\.arcgis.com/)?r="devext":o.match(/(www|\.maps)\.arcgis.com/)&&(r="www"),r}function po(e){let o=e.portal||"https://www.arcgis.com/sharing/rest",r;return o.match(/(qaext|\.mapsqa)\.arcgis.com/)?r="storymapsqa":o.match(/(devext|\.mapsdevext)\.arcgis.com/)?r="storymapsdev":o.match(/(www|\.maps)\.arcgis.com/)&&(r="storymaps"),r}function jn(e){let o="",r=po(e);return r?o=`https://${r}.arcgis.com`:o=`${e.portal.replace("/sharing/rest","")}/apps/storymaps`,o}function Kn(e,o,r,t){let n=new Date().getTime();o.agoenv=Gn(t),o.smBase=po(t),o.timestamp=new Date().getTime(),o.storyMapBaseUrl=jn(t),o.storyMapTemplateUrl=`${o.storyMapBaseUrl}/stories/{{appid}}`,o.storyMapThumnailUrl=`${t.portal}/content/items/{{appid}}/info/thumbnail/thumbnail.jpg/?w=400&d=${n}`;let s=ce(e,o,r);return Promise.resolve(s)}function Hn(e,o,r,t){let n=[];e.data=JSON.parse(JSON.stringify(e.data).replace(/portalUrl=https:\/\//g,"portalUrl=https%3A%2F%2F"));let s={item:ae(e),authentication:t};return e.item.thumbnail&&(s.params={thumbnail:e.item.thumbnail},delete s.item.thumbnail),Ae(s).then(i=>{e.item.id=i.id,e=Ve(e);let m=Ie(JSON.stringify(e.data));return n.push({name:e.properties.draftFileName,file:m}),n.push({name:"oembed.json",file:Ie(JSON.stringify(e.properties.oembed))}),n.push({name:"oembed.xml",file:Ie(e.properties.oembedXML)}),n.push({name:"published_data.json",file:m}),delete e.properties,Promise.all([X({item:ae(e),authentication:t}),t.getUsername()])}).then(i=>{let m=i[1],a=L(Ue,{success:!0}),c=n.map(d=>a({id:e.item.id,owner:m,resource:d.file,name:d.name,authentication:t}));return Promise.all(c)}).then(()=>j({itemId:e.item.id,folderId:o,authentication:t})).then(()=>e)}function Ci(e,o,r){let t={item:e,data:{}};return Ce(e.id,{authentication:r}).then(n=>(t.data=n,zn(t))).then(n=>n)}function Mi(e,o,r,t){if(!t(e.itemId,u.Started,0))return Promise.resolve(g(e.type));o.solution||(o.solution={}),o.solution.title=o.title;let s={},i;return Kn(e,o,s,r).then(m=>{let a={assets:m.assets||[]};return Hn(m,o.folderId,a,r)}).then(m=>{if(i=m,o[e.itemId]={itemId:i.item.id},t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor||2,i.item.id)){let c={item:{...e,...ee(i)},id:i.item.id,type:e.type,postProcess:!1};return c.item.itemId=i.item.id,c}else return L(Me,{success:!0})({id:i.item.id,authentication:r}).then(()=>Promise.resolve(g(e.type)))}).catch(m=>{throw t(e.itemId,u.Failed,0),m})}function Ui(e){let o=!1;return e==="StoryMap"&&(o=!0),o}var he={};W(he,{convertItemToTemplate:()=>Yi,createItemFromTemplate:()=>Xi,postProcess:()=>em});function qn(e){Yo(e,"data.sources",Li),Yo(e,"data.feeds",Ni),Yo(e,"data.feed",Jn)}function Yo(e,o,r){let t=f(e,o);t&&E(e,o,r(t))}function Ni(e){return e.map(o=>(o.label=o.label&&o.id?`{{${o.id}.label}}`:o.label,o.id=o.id?`{{${o.id}.itemId}}`:o.id,o))}function Jn(e){let o=f(e,"properties.feature-layer.portalItemId");if(e.properties&&(e.properties["feature-layer.portalItemId"]&&(o=e.properties["feature-layer.portalItemId"],e.properties["feature-layer.portalItemId"]=`{{${o}.itemId}}`),o&&e.properties.hasOwnProperty("feature-layer.layerId"))){let r=e.properties["feature-layer.layerId"];e.properties["feature-layer.layerId"]=`{{${o}.layer${r}.layerId}}`}return e}function Li(e){return e.map(o=>Jn(o))}function Dn(e,o){let r=[];return[f(e,"data.feeds")?e.data.feeds:[],f(e,"data.feed")?[e.data.feed]:[]].forEach(t=>Vi(t,r)),[f(e,"data.sources")?e.data.sources:[],f(e,"data.source")?[e.data.source]:[],f(e,"data.outputs")?e.data.outputs:[],f(e,"data.output")?[e.data.output]:[]].forEach(t=>Zn(t,r)),$i(r,o)}function $i(e,o){let r=e.map(t=>A(t,o));return Promise.all(r).then(t=>Promise.resolve(t.reduce((n,s)=>(s.typeKeywords.indexOf("IoTFeatureLayer")<0&&n.push(s.id),n),[])))}function Vi(e,o){e.reduce((r,t)=>{let n=t.id||void 0;return n&&r.indexOf(n)<0&&r.push(n),r},o),Zn(e,o)}function Zn(e,o){e.reduce((r,t)=>((f(t,"name")?[t.name]:oo).forEach(s=>{to.forEach(i=>{if(i.indexOf("mapServicePortalItemID")<0&&i.indexOf("streamServicePortalItemID")<0){let m=t.properties?t.properties[s+i]:void 0;m&&r.indexOf(m)<0&&r.push(m)}})}),r),o)}function Re(e,o,r,t="",n=!1,s="",i=""){return qr(e,o).then(m=>{if(m){let a=r==="Real Time Analytic"?"analytics/realtime":r==="Big Data Analytic"?"analytics/bigdata":r.toLowerCase(),c=i?`/${i}`:"",d=s?`/${s}`:"";return Promise.resolve(n?`${m}/iot/${a}${d}${c}`:t?`${m}/iot/${a}${d}/${t}${c}/?f=json&token=${e.token}`:`${m}/iot/${a}${d}${c}/?f=json&token=${e.token}`)}else return Promise.resolve(m)})}function Qn(e,o,r,t,n=!1){return Re(e,t,o.type,void 0,!0).then(s=>s?Bi(e,r.label,s).then(i=>{let m=i.titles;r.label=i.label,r.id="";let a=w(r,t),c=(r.outputs?r.outputs:r.output?[r.output]:[]).map(p=>({id:p.id,name:p.properties[`${p.name}.name`]})),d=(a.feeds?a.feeds:a.feed?[a.feed]:[]).map(p=>({id:p.id?p.id:p.properties[`${p.name}.portalItemId`]||"",name:p.label?p.label:r.label}));return Yn(e,t,o.type,a,m,c,d).then(p=>uo(e,s,"POST",p).then(I=>{o.item.url=`${s}/${I.id}`,o.item.title=r.label,t[o.itemId].url=o.item.url,t[o.itemId].label=r.label,t[o.itemId].itemId=I.id;let h={item:w(o.item,t),id:I.id,type:o.type,postProcess:!1};return n?Ki(e,t,o,I.id).then(()=>Promise.resolve(h)):Promise.resolve(h)}))}):Promise.reject(x("Velocity NOT Supported by Organization")))}function Bi(e,o,r){return uo(e,`${r}StatusList?view=admin`,"GET").then(t=>{let n=t&&Array.isArray(t)?t.map(s=>({title:s.label})):[];return Promise.resolve({label:es(o,{titles:n},"titles"),titles:n.map(s=>s.title)})})}function Yn(e,o,r,t,n,s=[],i=[]){return s.length>0||i.length>0?os(e,o,r,"",t).then(m=>{let a=zi(m);return a.length>0?(s.length>0&&ji(s,t,a),i.length>0&&Gi(i,t,a.concat(n)),Yn(e,o,r,t,n,s,i)):Promise.resolve(t)}):Promise.resolve(t)}function zi(e){let o=f(e,"validation.messages"),r=f(e,"nodes");r&&Array.isArray(r)&&r.forEach(n=>{o=o.concat(f(n,"validation.messages")||[])});let t=[];return o&&Array.isArray(o)&&o.forEach(n=>{["VALIDATION_ANALYTICS__MULTIPLE_CREATE_FEATURE_LAYER_OUTPUTS_REFERENCE_SAME_LAYER_NAME","VALIDATION_ANALYTICS__MULTIPLE_CREATE_STREAM_LAYER_OUTPUTS_REFERENCE_SAME_LAYER_NAME","ITEM_MANAGER__CREATE_ANALYTIC_FAILED_DUPLICATE_OUTPUT_NAMES_IN_ORGANIZATION_NOT_ALLOWED","ITEM_MANAGER__CREATE_BIG_DATA_ANALYTIC_FAILED_DUPLICATE_NAMES_NOT_ALLOWED","ITEM_MANAGER__CREATE_REAL_TIME_ANALYTIC_FAILED_DUPLICATE_NAMES_NOT_ALLOWED","ITEM_MANAGER__CREATE_FEED_FAILED_DUPLICATE_NAME"].indexOf(n.key)>-1&&(t=t.concat(n.args))}),t}function Gi(e,o,r){e.forEach(t=>{let n=Xn(r,t);n&&(o.label=n.label,t.name=n.label)})}function ji(e,o,r){e.forEach(t=>{let n=Xn(r,t);if(n){let s=(o.outputs?o.outputs:o.output?[o.output]:[]).map(i=>{if(i.id===n.id&&i.properties){let m=`${i.name}.name`;Object.keys(i.properties).indexOf(m)>-1&&(i.properties[m]=n.label)}return i});o.outputs&&(o.outputs=s),o.output&&(o.output=s[0])}})}function Xn(e,o){let r=e.map(n=>({title:n})),t=es(o.name,{titles:r},"titles");return t!==o.name?{label:t,id:o.id}:void 0}function es(e,o,r){e=e?e.trim():"_";let n=(f(o,r)||[]).map(m=>m.title),s=e,i=0;for(;n.indexOf(s)>-1||n.indexOf(s.replace(/ /g,"_"))>-1;)i++,s=e+" "+i;return s}function Ki(e,o,r,t){return os(e,o,r.type,t).then(n=>n.executable?Hi(e,o,r.type,t):Promise.resolve(n))}function os(e,o,r,t,n){return Re(e,o,r,t,!1,"validate","").then(s=>uo(e,s,"POST",n).then(i=>Promise.resolve(i)))}function Hi(e,o,r,t){return Re(e,o,r,t,!1,"","start").then(n=>uo(e,n,"GET").then(s=>Promise.resolve(s)))}function qi(e,o){return{headers:{Accept:"application/json","Content-Type":"application/json",Authorization:"token="+e.token},method:o}}function uo(e,o,r,t){let n=qi(e,r);return t&&(n.body=JSON.stringify(t)),fetch(o,n).then(s=>Promise.resolve(s.json()))}function ts(e,o){let r=e.dependencies;[f(e,"data.sources")?e.data.sources:[],f(e,"data.source")?[e.data.source]:[],f(e,"data.feeds")?e.data.feeds:[],f(e,"data.feed")?[e.data.feed]:[]].forEach(t=>Ji(t,r,o)),[f(e,"data.outputs")?e.data.outputs:[],f(e,"data.output")?[e.data.output]:[]].forEach(t=>Di(t,r))}function Ji(e,o,r){e.forEach(t=>{let n="feature-layer.portalItemId",s="feature-layer.layerId";if(t.properties){if(t.properties[n]){let a=t.properties[n];a&&o.indexOf(a)<0&&(delete t.properties[n],delete t.properties[s])}let i="simulator.url",m=t.properties[i];m&&m.indexOf(r)>-1&&delete t.properties[i]}})}function Di(e,o){e.forEach(r=>{r.properties&&((f(r,"name")?[r.name]:oo).forEach(n=>{to.forEach(s=>Zi(r.properties,n+s,o))}),Qi(r.properties))})}function Zi(e,o,r){let t=e[o];t&&r.indexOf(t)<0&&delete e[o]}function Qi(e){["feat-lyr-new.name","stream-lyr-new.name","feat-lyr-existing.name"].forEach(o=>{let r=e[o];r&&r.indexOf("{{solutionItemId}}")<0&&(e[o]=`${r}_{{solutionItemId}}`)})}function Yi(e,o,r,t){let n=G(e);return Re(r,t,e.type,e.id).then(s=>s?fetch(s).then(i=>i.json()).then(i=>(n.item.title=i.label,n.data=i,Dn(n,r).then(m=>(n.dependencies=m,ts(n,t.velocityUrl),qn(n),n.item=ro(n.item,n.type,t),Promise.resolve(n))))):Promise.reject("Velocity NOT Supported by Organization"),s=>Promise.reject(x(s)))}function Xi(e,o,r,t){if(!t(e.itemId,u.Started,0))return Promise.resolve(g(e.type));let s=e.itemId;return Qn(r,e,e.data,o).then(i=>{if(t(s,u.Finished,e.estimatedDeploymentCostFactor||2,i.id)){let a={item:{...e,...i},id:i.item.id,type:e.type,postProcess:!0};return a.item.itemId=i.item.id,a}else return _(i.id,r).then(()=>Promise.resolve(g(e.type)),()=>Promise.resolve(g(e.type)))})}function em(e,o,r,t,n,s,i){let a=r.filter(c=>c.id===e)[0].item.item;return delete a.url,delete a.origUrl,z(a,i).then(()=>j({owner:i.username,itemId:e,folderId:s.folderId,authentication:i}))}var lo={};W(lo,{convertItemToTemplate:()=>tm,createItemFromTemplate:()=>rm,postProcess:()=>nm});function rs(e){let o=e.portal||"https://www.arcgis.com/sharing/rest",r;return o.match(/(qaext|\.mapsqa)\.arcgis.com/)?r="experienceqa":o.match(/(devext|\.mapsdevext)\.arcgis.com/)?r="experiencedev":o.match(/(www|\.maps)\.arcgis.com/)&&(r="experience"),r}function ns(e){let o="",r=rs(e);return r?o=`https://${r}.arcgis.com/experience/{{appid}}`:o=`${e.portal.replace("/sharing/rest","")}/apps/experiencebuilder/?id={{appid}}`,o}function ss(e,o,r,t){o.experienceUrlTemplate=ns(t);let n=ce(e,o,r);return n.item.url=o.experienceUrlTemplate,e.item.thumbnail&&(n.item.thumbnail=e.item.thumbnail),Promise.resolve(n)}function is(e,o,r,t){let n=[],s={item:ae(e),authentication:t};return e.item.thumbnail&&(s.params={thumbnail:e.item.thumbnail},delete s.item.thumbnail),Ae(s).then(i=>{e.item.id=i.id;let m=e.item.thumbnail;e=Ve(e),e.item.thumbnail=m;let a=K(e.data);n.push({name:"config.json",prefix:"config",file:Dr(a)});let c=K(e.properties.imageResourcesList);c&&n.push({name:"image-resources-list.json",prefix:"images",file:Ie(JSON.stringify(c))}),delete e.properties;let d={item:ae(e),authentication:t};return e.item.thumbnail&&(d.params={thumbnail:e.item.thumbnail},delete d.item.thumbnail),Promise.all([X(d),t.getUsername()])}).then(i=>{let m=i[1],a=L(Ue,{success:!0}),c=n.map(d=>a({id:e.item.id,owner:m,resource:d.file,name:d.name,prefix:d.prefix,authentication:t}));return Promise.all(c)}).then(()=>j({itemId:e.item.id,folderId:o,authentication:t})).then(()=>e)}function ms(e){let o=V(e,"data.dataSources")||{};return Object.keys(o).reduce((r,t)=>Le(V(o,`${t}.itemId`),r),[])}function cs(e){let o=qe(e.item.id,e.item.type);o.key=`${$e(e.item.title)}_${Ne("i")}`;let r=K(e);o.data=r.data;let t=r.item.created,n=r.item.modified;return o.item=Be(r.item),o.item.created=t,o.item.modified=n,o.item.url="{{experienceUrlTemplate}}",o.item.typeKeywords.indexOf(as)!==-1&&(o.item.typeKeywords=[om].concat(o.item.typeKeywords.filter(i=>i!==as))),o.dependencies=ms(e),Promise.resolve(o)}var om="status: Published",as="status: Changed";function tm(e,o,r){let t={item:e,data:{}};return Ce(e.id,{authentication:r}).then(n=>(t.data=n,cs(t)))}function rm(e,o,r,t){if(!t(e.itemId,u.Started,0))return Promise.resolve(g(e.type));let s;return ss(e,o,{},r).then(i=>(s=i,is(i,o.folderId,{},r))).then(i=>{if(s.item.id=i.item.id,s.item.url=i.item.url,o[e.itemId]={itemId:i.item.id},t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor||2,i.item.id)){let a={item:{...e,...ee(s)},id:s.item.id,type:e.type,postProcess:!1};return a.item.itemId=s.item.id,a}else return L(Me,{success:!0})({id:s.item.id,authentication:r}).then(()=>Promise.resolve(g(e.type)))})}function nm(e,o,r,t,n,s,i){return J(e,s,i)}var Io={};W(Io,{convertItemToTemplate:()=>sm,createItemFromTemplate:()=>im,createWebTool:()=>ds,getNotebookEnterpriseServerRootURL:()=>fs,getNotebookServerCreateServiceURL:()=>ps,moveToFolder:()=>us});function sm(e,o,r,t){return R.convertItemToTemplate(e,o,r,t)}function im(e,o,r,t){return new Promise(n=>{if(!t(e.itemId,u.Started,0))t(e.itemId,u.Ignored,0),n(g(e.type));else{let s=C(e);s=w(s,o),e.item.thumbnail&&(s.item.thumbnail=e.item.thumbnail),ds(s,o,r).then(i=>{t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,i.itemId)?(o[e.itemId]={itemId:i.itemId,itemUrl:o.portalBaseUrl+"/sharing/rest/content/items/"+i.itemId},s.itemId=i.itemId,s.item.id=i.itemId,s.data={},delete s.item.thumbnail,us(s.itemId,o,r).then(()=>{Ze(i.itemId,r).then(m=>{let a=Promise.resolve();m.some(c=>{if(c.name==="webtoolService.json")return a=Ge(c),!0}),a.then(c=>{o[e.itemId].url=c?.serviceUrl,s=w(s,o),le({...s.item},s.data,r,e.item.thumbnail,void 0,o).then(()=>{t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor/2,i.itemId)?A(s.itemId,r).then(d=>{s.item=d,n({item:s,id:i.itemId,type:s.type,postProcess:!1})},()=>{t(e.itemId,u.Failed,0),_(i.itemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))}):(t(e.itemId,u.Cancelled,0),_(i.itemId,r).then(()=>n(g(e.type)),()=>n(g(e.type))))},()=>{t(e.itemId,u.Failed,0),_(i.itemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))})})})},()=>{t(e.itemId,u.Failed,0),_(i.itemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))})):(t(e.itemId,u.Cancelled,0),_(i.itemId,r).then(()=>n(g(e.type)),()=>n(g(e.type))))},()=>{t(e.itemId,u.Failed,0),n(g(e.type))})}})}function ds(e,o,r){return new Promise((t,n)=>{ps(o.portalBaseUrl,r,o).then(s=>{if(s){let i={serviceProperties:{description:e.item.description,provider:"notebooks",type:"GPServer",jsonProperties:{timeoutInMinutes:e.data.timeoutInMinutes,title:e.item.title,notebookId:e.data.notebookId,tasks:[{type:"notebook",name:e.data.name}]}}},m={httpMethod:"POST",authentication:r,params:i,headers:{Accept:"application/json",Authorization:`Bearer ${r.token}`,"Content-Type":"application/json","X-Esri-Authorization":`Bearer ${r.token}`}};N(s,m).then(a=>{t(a)},a=>{n(a)})}else n()},s=>{n(s)})})}async function ps(e,o,r){let t=r.isPortal?await fs(e,o):r.portalUrls?.notebooks.https.length>0?r.portalUrls.notebooks.https[0]:"";return t&&r.isPortal?`${t}/admin/services/createService?f=json&request.preventCache=${Date.now()}`:t?`https://${t}/admin/services/createService?f=json&request.preventCache=${Date.now()}`:""}async function fs(e,o){let t=(await _t(`${e}/sharing/rest`,o)).find(n=>n.serverFunction.indexOf("NotebookServer")>-1);return t?t.url:""}async function us(e,o,r){return o.isPortal&&!(await sr(e,o.folderId,r)).success?Promise.reject("Failed to move webTool item"):Promise.resolve()}var rt={};W(rt,{_cacheLayerDetails:()=>Xo,addWorkflowItem:()=>et,convertItemToTemplate:()=>cm,createItemFromTemplate:()=>dm,fetchAuxiliaryItems:()=>ot,postProcessFormItems:()=>mm,updateTempDictWorkflowId:()=>go,updateTemplateDictionaryForWorkflow:()=>tt});async function et(e,o,r){let t=`${o}/admin/createWorkflowItem?name=${e.item.title}`,n={authentication:r,headers:{Accept:"application/json",Authorization:`Bearer ${r.token}`,"Content-Type":"application/json","X-Esri-Authorization":`Bearer ${r.token}`},params:{name:`${e.item.title}`}},s=await N(t,n);return Promise.resolve(s.itemId)}async function ot(e,o){let r=`workflow_${e}`,t=`WorkflowLocations_${e}`,n=`workflow_views_${e}`,s=await Ye({q:`title:${r} OR title:${t} OR title:${n}`,authentication:o});return Promise.resolve(s.results.map(i=>i.id))}function mm(e){for(let o of e)if(o.type==="Workflow"){let r=It(JSON.stringify(o.properties.configuration));o.dependencies=de([...o.dependencies,...r])}return e}async function tt(e,o,r,t){let n=await q(o,t),s=f(r,`workflows.${e}`);s&&(await go(r,"viewSchema",s,n,t),await go(r,"workflowLocations",s,n,t),await go(r,"workflowSchema",s,n,t))}async function go(e,o,r,t,n){let s=r[o],i=f(t,`${o}.itemId`);e[s].itemId=i;let m=await br(i,n),a=f(m,"base.url");e[s].url=a,e[s].name=f(m,"base.name");let c=f(m,"featureServiceProperties.layers");Xo(c,e,a,s,i);let d=f(m,"featureServiceProperties.tables");Xo(d,e,a,s,i)}function Xo(e,o,r,t,n){e&&t!=="__proto__"&&t!=="constructor"&&t!=="prototype"&&e.forEach(s=>{let i=s.fields.reduce((c,d)=>(c[d.name.toLowerCase()]={alias:d.alias,name:d.name,type:d.type},c),{}),m=s.id,a=`${r}/${m}`;o[t][`layer${m}`]={fields:i,itemId:n,layerId:m,url:a}})}async function cm(e,o,r,t){let n=G(e);n.estimatedDeploymentCostFactor=20,n.item.id=T(n.item.id,n.item.id,".itemId");let s=De(n.itemId,"forward",r),i=ar(e.id,t.workflowBaseUrl,r),m=q(e.id,r),[a,c,d]=await Promise.all([s,i,m]);return n.data=d,n.dependencies=[],n.relatedItems=[],Er(n),a.forEach(p=>{p.relationshipType!=="WMA2Code"&&(n.relatedItems.push(p),p.relatedItemIds.forEach(I=>{n.dependencies.indexOf(I)<0&&n.dependencies.push(I)}))}),n.properties.configuration=await Pr(c),Promise.resolve(n)}async function dm(e,o,r,t){if(!t(e.itemId,u.Started,0))return t(e.itemId,u.Ignored,0),Promise.resolve(g(e.type));e.data={};let n=C(e);n=w(n,o),e.item.thumbnail&&(n.item.thumbnail=e.item.thumbnail);try{let s=await et(n,o.workflowBaseUrl,r);if(!s)throw new Error("Failed to create workflow item");if(!t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,s))return t(e.itemId,u.Cancelled,0),_(s,r),Promise.resolve(g(e.type));n.itemId=n.item.id=s,o[e.itemId]={itemId:s},await tt(e.itemId,s,o,r),n.properties.configuration=w(n.properties.configuration,o);let i=await yr(n.properties.configuration);await cr(s,i,o.workflowBaseUrl,r);let m=await ot(s,r);if(m.push(s),(await ir(m,o.folderId,r)).some(d=>!d.success))throw new Error("Failed to move all workflow items");return t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor/2,s),Promise.resolve({item:n,id:s,type:n.type,postProcess:!1})}catch{return t(e.itemId,u.Failed,0),Promise.resolve(g(e.type))}}var ho=null,yo={Group:Qo,"Big Data Analytic":he,"Feature Collection":R,"Feature Service":no,Feed:he,"Geocoding Service":void 0,"Geodata Service":void 0,"Geometry Service":void 0,"Geoprocessing Service":Io,"Globe Service":void 0,"Image Service":void 0,KML:void 0,"Map Service":no,"Network Analysis Service":void 0,"Real Time Analytic":he,"Relational Database Connection":void 0,"Scene Service":void 0,"Stream Service":void 0,Tool:void 0,"Vector Tile Service":R,WFS:void 0,WMS:void 0,WMTS:void 0,"Workflow Manager Service":void 0,"3D Web Scene":void 0,"Web Map":R,"Web Scene":R,Application:void 0,Dashboard:R,"Data Pipeline":R,"Data Store":void 0,"Desktop Application":void 0,"Excalibur Imagery Project":void 0,Form:Zo,"Hub Initiative":ho,"Hub Page":Oe,"Hub Site Application":_e,"Insights Model":R,"Insights Page":void 0,"Insights Theme":void 0,"Insights Workbook":void 0,Mission:void 0,"Mobile Application":void 0,Notebook:ge,"Oriented Imagery Catalog":R,"Ortho Mapping Project":void 0,"QuickCapture Project":Fe,"Site Application":_e,"Site Page":Oe,Solution:ho,StoryMap:fo,"Urban Model":void 0,"Web Experience Template":void 0,"Web Experience":lo,"Web Mapping Application":R,"Workforce Project":R,"360 VR Experience":l,"AppBuilder Extension":l,"AppBuilder Widget Package":l,"Application Configuration":l,"ArcGIS Pro Add In":l,"ArcGIS Pro Configuration":l,"ArcPad Package":l,"Basemap Package":l,"CAD Drawing":l,"CityEngine Web Scene":l,"Code Attachment":ho,"Code Sample":l,"Color Set":l,"Compact Tile Package":l,"CSV Collection":l,CSV:l,"Deep Learning Package":l,"Desktop Add In":l,"Desktop Application Template":l,"Desktop Style":l,"Document Link":l,"Explorer Add In":l,"Explorer Layer":l,"Explorer Map":l,"Feature Collection Template":l,"File Geodatabase":l,GeoJson:l,GeoPackage:l,"Geoprocessing Package":l,"Geoprocessing Sample":l,"Globe Document":l,"Image Collection":l,Image:l,"iWork Keynote":l,"iWork Numbers":l,"iWork Pages":l,"KML Collection":l,"Layer Package":l,"Layer Template":l,Layer:l,Layout:l,"Locator Package":l,"Map Document":l,"Map Package":l,"Map Template":l,"Microsoft Excel":l,"Microsoft Powerpoint":l,"Microsoft Word":l,"Mobile Basemap Package":l,"Mobile Map Package":l,"Mobile Scene Package":l,"Native Application":l,"Native Application Installer":l,"Native Application Template":l,netCDF:l,"Operation View":l,"Operations Dashboard Add In":l,"Operations Dashboard Extension":l,PDF:l,"Pro Layer Package":l,"Pro Layer":l,"Pro Map Package":l,"Pro Map":l,"Pro Report":l,"Project Package":l,"Project Template":l,"Published Map":l,"Raster function template":l,"Report Template":l,"Rule Package":l,"Scene Document":l,"Scene Package":l,"Service Definition":l,Shapefile:l,"Statistical Data Collection":l,Style:R,"Survey123 Add In":l,"Symbol Set":l,"Task File":l,"Tile Package":l,"Toolbox Package":l,"Vector Tile Package":l,"Viewer Configuration":l,"Visio Document":l,"Window Mobile Package":l,"Windows Mobile Package":l,"Windows Viewer Add In":l,"Windows Viewer Configuration":l,Workflow:rt,"Workflow Manager Package":l,"Administrative Report":void 0,"Apache Parquet":void 0,"API Key":void 0,"datastore catalog service":void 0,"Deep Learning Studio Project":void 0,"Earth Configuration":void 0,"Elevation Layer":void 0,"Esri Classifier Definition":void 0,"Export Package":void 0,"GeoBIM Application":void 0,"GeoBIM Project":void 0,"Geoenrichment Service":void 0,GML:void 0,"Hub Event":void 0,"Hub Initiative Template":void 0,"Hub Project":void 0,"Insights Data Engineering Model":void 0,"Insights Data Engineering Workbook":void 0,"Insights Workbook Package":void 0,"Knowledge Graph":void 0,"Knowledge Studio Project":void 0,"Link Chart":void 0,"Map Image Layer":void 0,Markup:void 0,OGCFeatureServer:void 0,"Pro Project":void 0,"Pro Report Template":void 0,"Route Layer":void 0,"Scene Layer Package":void 0,"Site Initiative":void 0,"StoryMap Theme":void 0,Table:void 0,"Video Service":void 0,Undefined:void 0,Unsupported:ho};var nt=null;function gs(e,o,r,t,n,s,i,m){return new Promise((a,c)=>{function d(){m&&m.abortController&&m.abortController.signal.aborted&&Ao(s,S,r,n,i,{consoleProgress:!0}).then(()=>c(xo(P)))}let p=Em(r)+1,I=10,h=(99-I)/p,P=[],S=[],y=!0;d();let v=(U,$,O,se)=>{if(I+=h*O,m.progressCallback)if($===u.Finished){let ye={event:Po[$],data:U};m.progressCallback(Math.round(I),m.jobId,ye)}else m.progressCallback(Math.round(I),m.jobId);return m.consoleProgress&&console.log(Date.now(),U,m.jobId??"",Po[$],I.toFixed(0)+"%",O,se?"==> "+se:""),$===u.Created?S.push(se):$===u.Failed&&(P.push(U),console.error("Item "+U+" has failed"),y=!1),y};f(n,"organization.isPortal")&&(r=um(r));let{buildOrder:b,itemsToBePatched:M}=Tr(r),ne=[];d(),hm(r,m.enableItemReuse??!1,n,i).then(()=>{d(),ym(r,f(n,"params.useExisting"),n,i).then(()=>{d(),r=Vt(r),b.forEach($=>{let O=bo(r,$);O.type==="Form"?M[$]=[]:O.type==="QuickCapture Project"?O.resources=O.resources.filter(se=>!se.endsWith("qc.project.json")):O.type==="Web Map"&&pm(M,O),ne.push(Sm(O,jr(e,o,O.resources,m.storageVersion),t,n,i,v,m.abortController))}),Promise.all(ne).then($=>{d(),P.length===0?(fm(M,n,$),a($)):Ao(s,S,r,n,i,{consoleProgress:!0}).then(()=>c(xo(P)))})})},U=>{console.error(U),c(x(U))})})}function pm(e,o){o.resources.some(r=>r.indexOf(ie)>-1)&&(e[o.itemId]=[])}function fm(e,o,r){let t=Object.keys(e);t.length>0&&(t=t.map(n=>o[n].itemId),r.forEach(n=>{t.includes(n.id)&&(n.postProcess=!0)}))}function um(e){let o=gm(e);lm(e,o);let r=Im(o),t=[],n=[];return Object.keys(r).forEach(s=>{r[s].forEach(m=>{let a=bo(e,m),c=f(a,"properties.syncViews");n.indexOf(a.itemId)>-1&&(t=t.concat(c)),c&&c.length>0&&E(a,"properties.syncViews",C(t)),t.indexOf(m)<0&&t.push(m),n.indexOf(a.itemId)<0&&n.push(a.itemId)}),t=[]}),e}function lm(e,o){return o.forEach(r=>{r.dependencies.forEach(t=>{e=e.map(n=>(f(n,"properties.service.isView")&&n.dependencies.indexOf(t)>-1&&n.itemId!==r.id&&(Array.isArray(n.properties.syncViews)||(n.properties.syncViews=[]),n.properties.syncViews.indexOf(r.id)<0&&n.properties.syncViews.push(r.id)),n))})}),e}function Im(e){let o={};return e.forEach(r=>{r.dependencies.forEach(t=>{Object.keys(o).indexOf(t)<0?o[t]=[r.id]:o[t].indexOf(r.id)<0&&o[t].push(r.id)})}),o}function gm(e){return e.reduce((o,r)=>(f(r,"properties.service.isView")&&o.push({id:r.itemId,dependencies:r.dependencies}),o),[])}function hm(e,o,r,t){return new Promise((n,s)=>{if(o){let i=xm(e,r,t),m=i.existingItemsDefs,a=i.existingItemInfos;Promise.all(m).then(c=>{let d=Is(c,a,r,t,!0),p=d.existingItemsDefs,I=d.existingItemInfos;Promise.all(p).then(h=>{Is(h,I,r,t,!1),hs(e,r,t).then(n)},h=>s(x(h)))},c=>s(x(c)))}else n(null)})}function ym(e,o,r,t){return new Promise(n=>{if(o){let s=[],i={},m=[];Object.keys(r.params).forEach(a=>{let c=r.params[a];c.itemId&&/[0-9A-F]{32}/i.test(a)&&(ys(r,a,c.itemId,c),s.push(A(c.itemId,t)),i[c.itemId]=a,m.indexOf(a)<0&&m.push(a))}),Pm(s,i,t).then(()=>{hs(m.map(a=>He(e,a)),r,t).then(n)})}else n(null)})}function Pm(e,o,r){return new Promise(t=>{e.length>0?Promise.all(e).then(n=>{let s=[];n.forEach(i=>{let m=o[i.id];if(i&&m&&i.typeKeywords){let a=`source-${m}`,c=i.typeKeywords;if(c.indexOf(a)<0){c.push(a);let d={id:i.id,typeKeywords:c};s.push(z(d,r))}}}),s.length>0?Promise.all(s).then(t,()=>t(void 0)):t(void 0)},()=>t(void 0)):t(void 0)})}function hs(e,o,r){return new Promise(t=>{let n=[],s=[],i=[],m=[];e.forEach(a=>{let c=o[a.itemId];if(c&&c.url&&c.itemId){if(a.item.type==="Feature Service"){let d=f(o,`params.${a.itemId}.enterpriseIDMapping`);Object.assign(o[a.itemId],$t(zt(a),c.url,c.itemId,d)),f(a,"properties.service.hasViews")&&Kt(a,o,!1)}s.indexOf(c.url)<0&&(n.push(a.item.type==="Feature Service"?N(c.url,{authentication:r}):A(c.itemId,r)),s.push(c.url),i.push(a.item.type),m.push(c.itemId))}}),n.length>0?Promise.all(n.map(a=>a.catch(c=>c))).then(a=>{if(Array.isArray(a)&&a.length>0){let c=[];a.forEach((d,p)=>{d.serviceItemId&&i[p]==="Feature Service"?Object.keys(o).forEach(I=>{let h=o[I];if(h.itemId&&h.itemId===d.serviceItemId){Ht(o,I,d.spatialReference),Se(o,`${I}.defaultExtent`,d.fullExtent||d.initialExtent);let P=(d.layers||[]).map(y=>y.id),S=(d.tables||[]).map(y=>y.id);c.push(Gt(s[p],P.concat(S),r))}}):(i[p]==="Feature Service"||f(d,"response.error"))&&(o=wm(o,m[p]))}),c.length>0?Promise.all(c).then(d=>{d.forEach(p=>{p.forEach(I=>{Object.keys(o).forEach(h=>{if(o[h].itemId===I.serviceItemId){let P="";Object.keys(o).some(y=>{if(o[y].itemId===I.serviceItemId)return P=y,!0});let S=f(o,`params.${P}.enterpriseIDMapping`);S?Object.keys(S).forEach(y=>{S[y].toString()===I.id.toString()&&ls(o,h,y,I.fields)}):ls(o,h,I.id,I.fields)}})})}),t(null)}):t(null)}else t(null)}):t(null)})}function ls(e,o,r,t){let n=f(e,`${o}.layer${r}`);n&&t&&(n.fields=t)}function wm(e,o){if(o){let r="";Object.keys(e).some(t=>{if(e[t].itemId===o)return r=t,!0}),r!==""&&delete e[r]}return e}function Is(e,o,r,t,n){let s=[Promise.resolve(null)],i=[void 0];return e&&Array.isArray(e)&&e.forEach((m,a)=>{if(Array.isArray(m?.results)){let c,d=m.results;if(d.length===1)c=d[0];else if(d.length>1)c=d.reduce((p,I)=>p.created>I.created?p:I);else if(n&&o[a]){let p=o[a],I=`tags:source-${p.itemId} type:${p.type} owner:${r.user.username}`;s.push(Ps(I,t)),i.push(o[a])}if(c){let p=o[a].itemId;p&&ys(r,p,c.id,c)}}}),{existingItemsDefs:s,existingItemInfos:i}}function ys(e,o,r,t){e[o]=Object.assign(e[o]||{},{def:Promise.resolve(g(t.type,r)),itemId:r,name:t.name,title:t.title,url:t.url,label:t.title})}function xm(e,o,r){let t=[],n=[];return e.forEach(s=>{if(s.item.type==="Group"){let i=o.user?.groups;Array.isArray(i)&&t.push(Promise.resolve({results:i.filter(m=>m.tags.indexOf(`source-${s.itemId}`)>-1||m.typeKeywords.indexOf(`source-${s.itemId}`)>-1).map(m=>(m.type="Group",m)),sourceId:s.itemId}))}else t.push(Ps(`typekeywords:source-${s.itemId} type:${s.item.type} owner:${o.user.username}`,r));n.push({itemId:s.itemId,type:s.item.type})}),{existingItemsDefs:t,existingItemInfos:n}}function Ps(e,o){return Ye({q:e,authentication:o,pagingParam:{start:1,num:100}})}function Sm(e,o,r,t,n,s,i){function m(){if(i&&i.signal.aborted)throw new Error("Operation was cancelled")}let a=e.itemId;if(e.dependencies=e.dependencies||[],!t.hasOwnProperty(e.itemId)||!f(t[e.itemId],"def")){m();let c,d=u.Unknown,p;t[e.itemId]=t[e.itemId]||{},t[e.itemId].def=new Promise(I=>{let h=e.dependencies.reduce((y,v)=>{let b=f(t,`${v}.def`);return b&&y.push(b),y},[]),P=f(e,"properties.syncViews"),S=P&&P.length>0?P.reduce((y,v)=>{let b=f(t,`${v}.def`);return b&&y.push(b),y},h):h;Promise.all(S).then(()=>{m();let y=e.type;if(p=yo[y],e.type==="Geoprocessing Service"&&(p=e.item.typeKeywords.indexOf("Web Tool")>-1?p:nt),!p||p===nt)throw p===nt?(d=u.Ignored,new Error):(d=u.Failed,new Error);return Kr(r,o)}).then(y=>(m(),e.item.thumbnail=y,p.createItemFromTemplate(e,t,n,s))).then(async y=>{if(m(),y.id==="")throw d=u.Failed,new Error("handled");if(c=y,c.item.item.url&&Se(t,a+".url",c.item.item.url),o.length>0){let v=c.id;if(e.type==="Form"){let b;if(o=o.filter(M=>M.filename.endsWith(".zip")?(b=M,!1):!0),b){m();let M=await gr(b.url,r);await Xe(M,v,n)}}return m(),Br(r,o,a,t.folderId,v,n,c.item,t)}else return Promise.resolve(null)}).then(()=>{I(c)}).catch(y=>{(!y||y.message!=="handled")&&s(a,d===u.Unknown?u.Failed:d,0),I(g(e.type))})})}return t[a].def}function Em(e){return e.reduce((o,r)=>o+(r.estimatedDeploymentCostFactor||1),0)}function ws(e,o,r){let t=e.filter(n=>n.groups&&n.groups.length>0);return Promise.all(t.map(n=>{let s=n.groups.reduce((i,m)=>Le(f(o,`${m}.itemId`),i),[]);if(vo(n)&&!f(o,"locationTracking.userIsOwner")){let i=f(n,"item.properties.trackViewGroup"),m=f(o,"locationTracking.owner");if(i&&m){let a=s.filter(c=>c===w(i,o));if(a.length!==s.length){let c=s.filter(d=>d!==i);return Promise.all([ve(a,n.itemId,r,m),ve(c,n.itemId,r)])}else return ve(s,n.itemId,r,m)}}else return ve(s,n.itemId,r)}))}function xs(e,o,r,t,n){let s=[];e&&(s=r.filter(c=>c.type!=="Group").map(c=>mt({originItemId:e,destinationItemId:c.id,relationshipType:"Solution2Item",authentication:t})));let i=ws(o,n,t),a=r.filter(c=>c.postProcess).reduce((c,d)=>{let p=yo[d.type];return p&&p.postProcess&&c.push(p.postProcess(d.id,d.type,r,He(o,d.id),o,n,t)),c},[]);return Promise.all([i].concat(a,s))}function Ss(e,o){e.sort((r,t)=>o.indexOf(r.itemId)-o.indexOf(t.itemId))}async function Ts(e,o,r,t,n){function s(){if(n&&n.abortController&&n.abortController.signal.aborted)throw new Error("Operation was cancelled")}s(),n.storageVersion=bt(r);let i=n.storageAuthentication?n.storageAuthentication:t,m=n.templateDictionary??{},a=xr(r.templates,m);r.templates=a.deployTemplates,Fm(n,o,m,t),n.additionalTypeKeywords&&(o.typeKeywords=[].concat(o.typeKeywords,n.additionalTypeKeywords));let c="thumbnail",d=Promise.resolve(null);if(!n.thumbnail&&n.thumbnailurl){c=Rt(n.thumbnailurl)||c;let k=ft(n.thumbnailurl,"w=400");delete n.thumbnailurl,d=Ot(k,c,i,[400])}Om(r,m);let p=await Promise.all([Tt("",t),vt(t),To(t),Ft(t),d]),[I,h,P,S,y]=p;!n.thumbnail&&y&&(n.thumbnail=y),r.templates=vm(r.templates),m.isPortal=I.isPortal,m.organization=Object.assign(m.organization||{},I),m.portalUrls=h.urls,m.portalBaseUrl=_m(I,t),m.user=P,m.user.folders=S.folders,m.user.groups=S.groups.filter(k=>k.owner===m.user.username),s();let v=await To(t);m.workflowBaseUrl=await wr(t,I,v.orgId),Ut(I,P,m,r.templates);let b=Wt(m,t),M=tr(o.title,m,t),ne=I.defaultExtent,ke=er(ne,void 0,{wkid:4326},I.helperServices.geometry.url,t);s();let U=await Promise.all([M,ke,b]),[$,O,se]=U,ye=$.folder.id;m.folderId=ye,m.solutionItemExtent=O.xmin+","+O.ymin+","+O.xmax+","+O.ymax,m.organization.defaultExtentBBox=[[O.xmin,O.ymin],[O.xmax,O.ymax]],m.locationTrackingEnabled&&Se(m,"locationTracking.userIsOwner",se);let Y;if(!n.dontCreateSolutionItem){o.categories=[];let k={...ze(o),type:"Solution",typeKeywords:["Solution"]};n.additionalTypeKeywords&&(k.typeKeywords=["Solution"].concat(n.additionalTypeKeywords)),s(),k.thumbnail=n.thumbnail,Y=(await te(k,{},t,ye)).id,s(),await at({id:Y,authentication:t}),m.solutionItemId=Y,o.id=Y,o.tryitUrl=bs(o.tryitUrl,e,Y),o.url=bs(o.url,e,Y)}s();let st=await gs(i.portal,e,r.templates,i,m,Y,t,n);if(r.templates=r.templates.map(k=>(s(),k.itemId=f(m,`${k.itemId}.itemId`),k.dependencies=k.dependencies.map(Pe=>dt(m,`${Pe}.itemId`,Pe)),k)),Ss(r.templates,st.map(k=>k.id)),s(),await xs(Y,r.templates,st,t,m),!n.dontCreateSolutionItem){o.typeKeywords=[].concat(o.typeKeywords,["Deployed"]);let k=o.typeKeywords.indexOf("Template");k>=0&&o.typeKeywords.splice(k,1),r.templates=r.templates.map(Pe=>vs(Pe)),Tm(a,r),r.templates=Rm(r.templates,m),r.templates=Sr(r.templates,m),o.data=w(r,m),m.params&&(o.data.params=m.params),s(),await z(o,t,ye)}return o.id}function Tm(e,o){e.workflowManagedTemplates.forEach(r=>{o.templates.push(vs(r))})}function vm(e){return e.map(o=>{if(o.item){let r=o.item.typeKeywords||[];r.push("source-"+o.itemId),o.item.typeKeywords=r}return o})}function Fm(e,o,r,t){return["title","snippet","description","tags"].forEach(n=>{e[n]=e[n]??o[n],e[n]&&(o[n]=e[n],r[n]=e[n])}),!e.thumbnailurl&&o.thumbnail&&(e.thumbnailurl=Gr(t.portal,o.id,o.thumbnail),delete o.thumbnail),e}function Om(e,o){e.templates=e.templates.map(r=>{if(r.type==="Feature Service"){let t="params.";r=Es(r,"item.spatialReference.wkid",t,o),r=Es(r,"properties.service.spatialReference.wkid",t,o)}return r})}function Es(e,o,r,t){let n=f(e,o);return n&&typeof n=="string"&&n.indexOf(r)>-1&&E(e,o,w(n,t)),e}function bs(e,o,r){let t;if(e&&e.indexOf(o)>-1){let n=new RegExp(o,"g");t=e.replace(n,r)}else t=e;return t}function _m(e,o){let r="https",t=f(e,"urlKey"),n=f(e,"customBaseUrl"),s=f(e,"portalHostname");return t&&n?`${r}://${t}.${n}`:s?`${r}://${s}`:o.portal.replace("/sharing/rest","")}function Rm(e,o){let r=e.reduce((t,n)=>(n.type==="Group"&&t.push(n.itemId),t),[]);return Object.keys(o).forEach(t=>{let n=o[t].itemId;r.indexOf(n)>-1&&e.forEach(s=>{s.groups=s.groups.map(i=>i===t?n:i)})}),e}function vs(e){let o=["itemId","type","dependencies","groups"],r=Object.keys(e).filter(t=>o.indexOf(t)<0);return xe(e,r),e}function Fs(e,o){return typeof e=="string"?Promise.all([A(e,o),q(e,o)]).then(([r,t])=>Co({item:r,data:t})):km(e)?Co(e):Promise.reject(x("getSolutionTemplateItem must be passed an item id or a model object"))}function Os(e,o,r){return e.jobId=e.jobId??o.id,e.title=e.title??o.title,e.snippet=e.snippet??o.snippet,e.description=e.description??o.description,e.tags=e.tags??o.tags,e.thumbnailurl=o.thumbnail?Ct(o.id,o.thumbnail,!1,r):null,e}function km(e){let o=!1,r=t=>t!=null&&typeof t!="string"&&!Array.isArray(t)&&typeof t=="object";return r(e)&&(o=["item","data"].reduce((t,n)=>(t&&(t=r(e[n])),t),!0)),o}function _s(e){let o=e.typeKeywords,r=!1;return e.type==="Solution"&&o.indexOf("Solution")>-1&&(o.indexOf("Template")>-1||o.indexOf("solutionTemplate")>-1)&&(r=!0),e.type==="Web Mapping Application"&&o.indexOf("hubSolutionTemplate")>-1&&(r=!0),r}async function Ld(e,o,r){if(!e)return Promise.reject(x("The Solution Template id is missing"));function t(){if(r&&r.abortController&&r.abortController.signal.aborted)throw new Error("Operation was cancelled")}let n=r||{};n.progressCallback&&n.progressCallback(1,n.jobId);let s=n.storageAuthentication?n.storageAuthentication:o;return t(),Fs(e,s).then(i=>(t(),_s(i.item)?Promise.all([Promise.resolve(i.item),Promise.resolve(i.data)]):Promise.reject(x(`${i.item.id} is not a Solution Template`)))).then(i=>{let[m,a]=i,c=new pt,d=ze(m,c),p=a,I=d.id;return n=Os(n,d,s),gt(d),t(),Ts(I,d,p,o,n)}).then(i=>(n.progressCallback&&n.progressCallback(100,n.jobId),i),i=>(n.progressCallback&&n.progressCallback(1,n.jobId),Promise.reject(i))).catch(i=>{throw typeof i=="string"&&Am(i,o),i})}function Am(e,o){let r={consoleProgress:!0,sendToRecycling:!1};$r(e.trim(),o,r)}export{Ps as a,Ld as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import{a as s}from"./GLAVWPYD.js";import"./EA2CRCAW.js";import"./FDYQ2FKY.js";import"./6TJU76R3.js";import"./XHXMDQDA.js";import{a as r,b as a}from"./D7VNUZC6.js";import"./GZ45JBXT.js";import"./J27HWMOU.js";import"./EJ6BXACD.js";import{a as o}from"./VLVHNMFY.js";import{a as i}from"./KCUSGNOT.js";import"./5BCHBBEG.js";import"./VIKALXXD.js";import"./LEMWW4ED.js";import"./I3PEU4E4.js";import"./S6R6G6MM.js";import"./QFF7V4PQ.js";import"./RBY4RRXS.js";import"./CKIAT6FZ.js";import"./WX6CMXEK.js";import"./UHDBPQAZ.js";import"./PFGY7OJD.js";import"./RJBUFP4Z.js";import"./BP2CHTVW.js";import"./4H5JZV3N.js";import"./EMC4J76D.js";import"./JWKBLBHU.js";import"./NPOGRCJT.js";import"./UQHNT6NC.js";import"./K2RFNUWO.js";import"./W7I2RFAY.js";import"./LBN2RTAD.js";import"./5FQDPXO7.js";import"./AHNRTMIR.js";import"./5IY7QON3.js";import"./7B2JUGRA.js";import"./4KVLYOZL.js";import"./ZFZ663TV.js";import"./MQUYDV5R.js";import"./N4AIZVPV.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import{a as t}from"./7RFFTMJS.js";import{s as e}from"./DGGOQ3L4.js";var o=e(t,{"instant-apps-app-error":[()=>import("./YKPVSW3B.js"),";clearErrorMessage"],"instant-apps-app-guide":[()=>import("./VX7VTV2U.js"),"data:,header"],"instant-apps-buffer":[()=>import("./LSNSP3E4.js").then(m=>m.default.then(e=>({InstantAppsBuffer:e}))),"bufferColor,bufferDistance,bufferGraphicSymbol:,bufferInputStep,bufferLayer:,bufferMaxDistance,bufferMinDistance,bufferOutlineColor,bufferOutlineWidth,bufferStyle,bufferUnit,disabled,geodesicBufferEnabled,inputGraphics:,readyToBuffer:,view:;clearBufferLayer,setFocus"],"instant-apps-control-panel":[()=>import("./OKERLMQE.js"),"components:,view:"],"instant-apps-create":[()=>import("./KI2VCUWI.js"),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./XOT6KGWE.js"),"allowedFileTypes:,beforeExport:,cloneExtraContent,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,mapAltText,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./KYROOFA3.js"),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./ABVF5BMO.js"),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./LCJL63FQ.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./J6IBYFB7.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./3J6DNKCB.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./Z2V2BGBO.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./WOC7MJRV.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./WGNE3DPP.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./HYVUWU6M.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./UMFU7KU2.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./5LCZHYVJ.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./UNXJMJFU.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./4KSQVRTW.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./PNIMBHES.js"),"view:"],"instant-apps-landing-page":[()=>import("./2KGL2KRL.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./4VB4MJKS.js"),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./A7TYO73E.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./6HKQWPJC.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-content":[()=>import("./KVXQDAG4.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorContent:e})))],"instant-apps-language-translator-item":[()=>import("./2KDPEGNM.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./I4PXPOT7.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./G2V4X4JH.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./E3DHDSJM.js"),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./6VXUORBY.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./HUP3H66T.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./7GMOCOVS.js"),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./KX5726AR.js"),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./ZV5K3H2V.js"),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./GEUPVEDN.js"),"closeBehavior,closeButtonDisabled,confirmationText,content,isConfirmed:,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./6ZG44WOK.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{o as a};
@@ -0,0 +1,29 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import{b as c}from"./7RFFTMJS.js";import{E as n,h as s,i as r,o as i,r as o}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";var h=`
5
+ .ck.ck-reset.ck-editor.ck-rounded-corners {
6
+ margin-top: 10px !important;
7
+ margin-left: 55px !important;
8
+ }
9
+ .ck-editor__editable {
10
+ height: 70px !important;
11
+ font-size: 0.875rem !important;
12
+ line-height: 1.375 !important;
13
+ color: var(--calcite-color-text-1) !important;
14
+ }
15
+
16
+ .ck.ck-editor__editable_inline>:first-child,
17
+ .ck.ck-editor__editable_inline>:last-child {
18
+ --ck-spacing-large: 0.5rem !important;
19
+ }
20
+
21
+ .ck.ck-balloon-panel.ck-powered-by-balloon {
22
+ --ck-z-modal: 700;
23
+ z-index: 700;
24
+ }
25
+
26
+ .calcite-mode-dark .ck-editor__editable {
27
+ color: var(--calcite-color-text-inverse) !important;
28
+ }
29
+ `,p=s`@layer{:host{display:block}}`,d="instant-apps-components__ckeditor-wrapper",a=class extends n{constructor(){super(...arguments),this.dataChanged=i(),this.isFocused=i()}static{this.properties={value:1,editorInstance:0,config:0}}static{this.styles=p}static{this.shadowRootOptions=o}willUpdate(t){t.has("value")&&this.value&&this.editorInstance&&this.editorInstance.setData(this.value)}updated(){this.hasUpdated||this.editorInstance&&this.editorInstance.setData(this.value)}loaded(){this.init()}init(){this.applyStyles(),this.initEditor()}applyStyles(){if(document.getElementById(d))return;let t=document.createElement("style");t.id=d,t.innerHTML=h,document.head.prepend(t)}async initEditor(){let t=await this.createEditor();t&&(this.editorInstance=t,(this.value||this.value==="")&&t.setData(this.value),t.editing.view.document.on("change:isFocused",this.getEditorFocusedCallback(t)))}async createEditor(){try{let t;return this.config?t=await ClassicEditor.create(this.el,this.config):t=await ClassicEditor.create(this.el),this.editorInstance=t,t}catch(t){return console.error(t),await Promise.reject(new Error("Failed to create editor"))}}getEditorFocusedCallback(t){return(u,k,l)=>{if(l)this.isFocused.emit();else{let e=t.getData();this.value!==e&&(this.value=e,this.dataChanged.emit(e))}}}render(){return r`<div></div>`}};c("instant-apps-ckeditor-wrapper",a);export{a as InstantAppsCkeditorWrapper};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import{a as E}from"./67PFFTBT.js";import"./7RFFTMJS.js";import{a as S,c as m,d,e as _,f,g as x}from"./YIXPGCUC.js";import"./CNQYI77D.js";import{b as C}from"./2E2FE2UD.js";import{b as v}from"./C3XGN444.js";import{a as $}from"./XX4ZM5IC.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{b as I}from"./T6EN2LQT.js";import{C as c,D as o,E as F,G as u,h as y,i as l,l as p,o as b,r as L}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";var V=y`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.width-full{width:100%!important}.width-0{width:0}.height-full{height:100%!important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}}`,g=class extends F{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=$({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._createFeature=c(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=c(),this._featureList=c(),this._selectedRelatedFeature=[],this._layerList=c(),this._createRelatedFeature=c(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=c(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlertNode=c(),this._commentSubmittedAlertNode=c(),this._sortPopoverNode=c(),this.togglePanel=b(),E(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16}}static{this.styles=V}static{this.shadowRootOptions=L}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await d(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){await this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList!=null)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`${this._reportSubmitted&&l`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${o(this._reportSubmittedAlertNode)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&l`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.commentSubmittedMessage||this._translations.commentSubmittedMsg)??""} ${o(this._commentSubmittedAlertNode)}></div></calcite-alert>`||""}${this._addingCommentFailed&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this._adjustAlertStyles()}async _initModules(){let[e,t,i,s]=await v(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter","esri/rest/identify","esri/rest/support/IdentifyParameters"]);this.reactiveUtils=e,this.FeatureFilter=t,this.identify=i,this.IdentifyParameters=s}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await d(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class=${`width-full ${t}`}>${this.mapView?l`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:l`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&l`<calcite-modal aria-labelledby=modal-title class="modal" kind=brand @calciteModalClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s><div class="display-flex align-center" id=modal-title slot=header>${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)}</div><div slot=content>${this.mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList?.filterCount>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_setFilterList(e){this._filterList=e,e&&(e.autoUpdateUrl=!1,e.resetBtn=this.isMobile,e.resetFiltersOnDisconnect=!1,e.zoomBtn=!1)}_adjustAlertStyles(){this.reportSubmittedMessage&&this._reportSubmittedAlertNode.value?.children[0]&&(this._reportSubmittedAlertNode.value.children[0].style.margin="0px"),this.commentSubmittedMessage&&this._commentSubmittedAlertNode.value?.children[0]&&(this._commentSubmittedAlertNode.value.children[0].style.margin="0px")}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i,this._sortPopoverNode.value&&(this._sortPopoverNode.value.open=!1)}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return l`<calcite-popover auto-close label offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover ${o(this._sortPopoverNode)}><calcite-list label selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&l`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t!==void 0&&this.sortOptionClick(t,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t&&this.sortOptionClick(t,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .loading=${this._showLoadingIndicator} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&l`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${o(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature customize-submit enable-search .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this._showSubmitCancelButton=!1,this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromCreateRelatedFeaturePanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];if(this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(a=>{t.includes(a.id)&&(this._validLayers.push(a),a.visible||this._nonVisibleValidLayers.push(a),this._getLayersConfig(a.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[a.id]&&this._layerItemsHash[a.id].supportsAdd&&s.push(a.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,!this._urlParamsLoaded&&this._editableLayerIds.length>1&&this.layerId&&this.objectId){let a=this.mapView&&await d(this.mapView,this.layerId);a&&await this.displayFeaturesList({detail:{layerId:a.id,layerName:a.title}}),this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams()}}}async displayFeaturesList(e){this._showLoadingIndicator=!0,await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId,this._showLoadingIndicator=!1}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await f(this.mapView);e.relationships?.some(i=>{let s=t?.filter(a=>e.url===a.url&&a.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._currentLayerExpressions?.length;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&l`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&l`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${l`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${o(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&l`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&l`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${o(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>void this.updatingFeatureDetails(i.detail)} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${o(this._featureDetails)}></feature-details>${t&&l`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return l`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=both id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${o(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await x([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return l`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){this.mapView&&await f(this.mapView),await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this.mapView&&(this.mapView.popupEnabled=!1),this.onMapClick(e)})}async onMapClick(e){if(!(this._flowItems[this._flowItems.length-1]==="feature-create"||this._flowItems[this._flowItems.length-1]==="add-comment")&&this.mapView){let t=await this.mapView.hitTest(e),i=[],s=[],a=[],n=!1;t.results.length>0&&t.results.forEach(r=>{r.type==="graphic"&&i.push(r.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(a=await this._getIdentifiedGraphics(e.mapPoint),n=a.length>0);let h=s.concat(a);if(h.length>0){this.mapView.popupEnabled=!0;let r={features:h,location:e.mapPoint,updateLocationEnabled:!n};await this.mapView.openPopup(r)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});this._selectedLayer&&this._selectedFeature.length>0&&this._selectedLayer.id===t[0]?.layer?.id&&t[0].attributes[this._selectedLayer.objectIdField]===this._selectedFeature[0].attributes[this._selectedLayer.objectIdField]||t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i,s=[];for(let n of this._mapImageryLayersId){let h=this.mapView&&await d(this.mapView,n);if(h?.url&&t)try{let r=await this.identify?.identify(h.url,t);if(r?.results?.length){s=r.results,i=h;break}}catch(r){console.error(r)}}let a=[];return s.forEach(n=>{let h=n.layerId,r=i?.sublayers?.items.find(P=>P.id===h),w=r?.popupTemplate;r?.popupEnabled&&w&&(n.feature.popupTemplate=w,a.push(n.feature))}),a}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let a=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&a&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i&&this.FeatureFilter?new this.FeatureFilter({where:i+"='"+t+"'"}):null}}async getLayersToShowInList(){let e=this.mapView&&await S(this.mapView,!0),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),await this.handleSelectedLayersFilter(),this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){let e=this.mapView&&await d(this.mapView,this.layerId);if(e){let t=this.mapView&&await C([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}async resetFilterList(){await this._filterList?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:a}=i;s&&a&&e.push(`(${a})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables.toArray()).forEach(t=>{if(t.type==="map-image"&&t.popupEnabled&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(a=>a.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(a=>{let n=s.expressions?.find(h=>h.id===a.id);n!=null&&(a.name=n.name)}))})}};I("crowdsource-reporter",g);export{g as CrowdsourceReporter};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import"./N4AIZVPV.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import{a as r}from"./XX4ZM5IC.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{b as o}from"./T6EN2LQT.js";import{E as n,h as l,i as a,o as i}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";var c=l`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}.delete-modal{position:fixed}`,s=class extends n{constructor(){super(...arguments),this.ids=[],this.open=!1,this._isDeleting=!1,this._translations=r({name:"delete-dialog",blocking:!0}),this.editsComplete=i(),this.deleteDialogClose=i()}static{this.properties={ids:0,layer:0,open:5,_isDeleting:16,_translations:16}}static{this.styles=c}render(){let e=this.layer?.title||"",t=this.ids.length===1?(this._translations.confirmSingle||"").replace("{{layer-name}}",e):(this._translations.confirmMultiple||"").replace("{{layer-name}}",e);return a`<calcite-dialog .heading=${this._translations.deleteFeature} kind=danger modal @calciteDialogClose=${()=>this._close()} .open=${this.open} width=s><div>${t}</div><calcite-button appearance=outline kind=danger @click=${()=>this._close()} slot=footer-end width=full>${this._translations.cancel}</calcite-button><calcite-button kind=danger .loading=${this._isDeleting} @click=${()=>void this._deleteFeatures()} slot=footer-end width=full>${this._translations.delete}</calcite-button></calcite-dialog>`}async _deleteFeatures(){if(this.layer){this._isDeleting=!0;let e=this.ids.map(t=>({objectId:Number(t)}));await this.layer.applyEdits({deleteFeatures:e}),this._isDeleting=!1,this._close(),this.editsComplete.emit("delete")}}_close(){this.open=!1,this.deleteDialogClose.emit()}};o("delete-dialog",s);export{s as DeleteDialog};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import{a as G}from"./QTFLAIE5.js";import{a as L}from"./2CK7SB3E.js";import{c as K,d as _,e as U}from"./CHWH5FGQ.js";import{l as j,p as P}from"./G577XEWY.js";import"./PKJNXMVR.js";import"./YLYRRWJW.js";import"./ZF2XHMQZ.js";import"./EA2CRCAW.js";import"./FDYQ2FKY.js";import{a as S}from"./6TJU76R3.js";import"./XHXMDQDA.js";import"./GZ45JBXT.js";import"./J27HWMOU.js";import"./EJ6BXACD.js";import{w}from"./5BCHBBEG.js";import"./VIKALXXD.js";import"./LEMWW4ED.js";import"./I3PEU4E4.js";import"./S6R6G6MM.js";import{b as A}from"./WX6CMXEK.js";import{a as c,b as p}from"./PFGY7OJD.js";import"./4H5JZV3N.js";import"./N4AIZVPV.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
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};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import{a as e}from"./HGSRS4G7.js";import{a as _}from"./WBZEJCYL.js";import{b as f}from"./7RFFTMJS.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{C as d,D as v,E as h,G as o,I as a,h as l,i as t,r as m}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";var $=l`@layer{:host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2: transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:400;font-size:.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3: transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px}}`,n={content:"instant-apps-popover__content",buttonContainer:"instant-apps-popover__button-container",action:"instant-apps-popover__action",actionDisabled:"instant-apps-popover--action-disabled",img:"instant-apps-popover__img",footer:"instant-apps-popover__footer"},p=class extends h{constructor(){super(...arguments),this._messages=_({name:"instant-apps-popover"}),this.popoverEl=d(),this.popoverTitle="",this.subtitle="",this.content="",this.placement="trailing-start",this.pagination=!1,this.disableAction=!1}static{this.properties={popoverTitle:3,subtitle:3,content:3,imgSrc:3,imgAlt:3,mediaSrc:3,index:11,referenceElement:3,parent:0,placement:1,refId:1,pagination:7,disableAction:7,popoverAction:0,messageOverrides:0}}static{this.styles=$}static{this.shadowRootOptions=m}updated(){!this.hasUpdated&&this.popoverEl.value&&(this.popoverEl.value.referenceElement=this.referenceElement)}render(){return t`<calcite-popover .heading=${this.popoverTitle} auto-close .placement=${this.placement} .messageOverrides=${{close:this._messages.close}} trigger-disabled ref-id=${this.refId??a} closable .referenceElement=${this.referenceElement} .label=${this.popoverTitle} ${v(this.popoverEl)}><div class=${`${n.content}${this.disableAction?` ${n.actionDisabled}`:""}`}>${this.disableAction?null:e("popover-action",t`<calcite-action class=${o(n.action)} @click=${this.popoverAction} .icon=${document.dir==="rtl"?"chevron-right":"chevron-left"} text-enabled .text=${this._messages.back??""}></calcite-action>`)}<section><span id=subtitle>${this.subtitle}</span><p>${this.content}</p>${this.imgSrc?e(`iac-popover-img-${this.refId}`,t`<img class=${o(n.img)} src=${this.imgSrc??a} alt=${(this.imgAlt?this.imgAlt:"")??a}>`):null}</section>${this.pagination?e(`iac-popover-footer-${this.index}`,t`<div class=${o(n.footer)}><span>${this.index+1} ${this._messages?.of} ${this.parent?.instantAppsPopovers?.size}</span>${this.renderPagination()}</div>`):null}</div></calcite-popover>`}renderPagination(){let{index:r,_messages:s,parent:i}=this;if(!i)return null;let g=i.instantAppsPopovers.size,u=r===0,c=r===g-1;return e("pagination-button-container",t`<div class=${o(n.buttonContainer)}>${u?null:e("prev",t`<calcite-button @click=${async()=>await i?.previous()} appearance=outline kind=neutral>${s.back}</calcite-button>`)}${e("next",t`<calcite-button @click=${async()=>{c?await i?.done():await i?.next()}}>${c?s.done:s.next}</calcite-button>`)}</div>`)}};f("instant-apps-popover",p);export{p as InstantAppsPopover};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import b from"./VEILQFP2.js";import{c as p}from"./2R7AUPQI.js";import a from"./A4BQL2K3.js";import{b as d}from"./K5R7D36H.js";import"./SRGIOXPX.js";import"./QTFLAIE5.js";import"./RYLMXGYK.js";import"./SV5GS7VD.js";import"./G577XEWY.js";import"./YLYRRWJW.js";import"./LQHGJORU.js";import"./VRYNGE64.js";import"./EA2CRCAW.js";import"./FDYQ2FKY.js";import"./6TJU76R3.js";import"./XHXMDQDA.js";import"./J27HWMOU.js";import"./EJ6BXACD.js";import"./5BCHBBEG.js";import"./VIKALXXD.js";import"./LEMWW4ED.js";import"./I3PEU4E4.js";import"./S6R6G6MM.js";import"./4H5JZV3N.js";import"./CNQYI77D.js";import{a as h}from"./XX4ZM5IC.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{b as l}from"./T6EN2LQT.js";import{C as r,D as n,E as c,I as i,h as o,i as s}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */.display-flex{display:flex}.align-items-center{align-items:center}.justify-content-center{justify-content:center}.footer{width:100%}.footer-override{--calcite-dialog-footer-space: 0px}.footer-card{width:200px;height:100px;cursor:pointer;padding-bottom:2px}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-end-1{padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.background-black{background-color:var(--calcite-color-foreground-3)}calcite-card:hover img{-webkit-filter:brightness(20%);filter:brightness(20%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer}`,a=class extends c{constructor(){super(...arguments),this.open=!1,this._translations=h({name:"solution-snapshot-gallery",blocking:!0}),this._authContextConsumer=d({context:p,subscribe:!0}),this._displayText="",this._paginationControl=r(),this._screenshotNames=[],this._screenshots=[]}static{this.properties={card:0,screenshot:0,itemProperties:0,open:5,_translations:16}}static{this.styles=u}willUpdate(e){e.has("screenshot")&&this.screenshot&&(this._displayText=this.screenshot.alt),e.has("itemProperties")&&this.itemProperties&&(this._screenshots=this.itemProperties.preview,this._screenshotNames=this._screenshots.map(t=>t.name))}render(){return s`<calcite-dialog class="footer-override" .heading=${this.card?.title} modal @calciteDialogClose=${()=>this.open=!1} .open=${this.open} outside-close-disabled width=l>${this._getScreenshotView()}${this._getFooter()}</calcite-dialog>`}_getScreenshotView(){return this.screenshot?s`<div class="display-flex justify-content-center">${this._getImage(this.screenshot)}</div>`:""}_getFooter(){let e=this._screenshotNames.indexOf(this.screenshot?.name||""),t=document.body.classList.contains("calcite-mode-dark")?"calcite-mode-dark":"";return s`<div class="footer" slot=footer><div class=${`display-flex align-items-center padding-start-1 padding-top-1-2 background-black ${t}`}><calcite-label layout=inline><calcite-pagination class="padding-end-1" @calcitePaginationChange=${this._changeScreenshot} page-size=1 start-item=${e+1} total-items=${this.itemProperties?.preview.length??i} ${n(this._paginationControl)}></calcite-pagination>${this._displayText}</calcite-label></div>${this._getCards()}</div>`}_changeScreenshot(){this.screenshot=this._screenshots[this._paginationControl.value.startItem-1]}_getCards(){return s`<calcite-card-group class="card-group padding-1" .label=${this._translations.seeSolutionScreenshots} selection-mode=single>${this._screenshots.map(e=>s`<calcite-card class="footer-card" .label=${e.alt} @click=${()=>this._showScreenshot(e)} .selected=${e.name===this.screenshot?.name}>${this._getImage(e,"thumbnail")}</calcite-card>`)}</calcite-card-group>`}_getImage(e,t){return s`<img alt=${e.alt??i} slot=${t??i} src=${this._getSource(this._authContextConsumer.value,this.card?.id||"",e.name)??i}>`}_showScreenshot(e){this.screenshot=e}_getSource(e,t,m){return e?g(t||"",m,e):""}};l("solution-snapshot-gallery",a);return a},a,b)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import{a as u}from"./D6U22V3H.js";import a from"./IWS4I3HA.js";import{a as C}from"./HGSRS4G7.js";import{a as x}from"./WBZEJCYL.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./NOPHLD4K.js";import{b as S}from"./7RFFTMJS.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./DGGOQ3L4.js";import"./N4AIZVPV.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)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import{c as t}from"./4KVLYOZL.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"./ZFZ663TV.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};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.20 */
4
+ import"./N4AIZVPV.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};