@esri/solutions-components 1.2.0-next.1 → 1.2.0-next.11

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 (1014) hide show
  1. package/dist/cdn/22RHEAP5.js +4 -0
  2. package/dist/cdn/25ZSBOGH.js +18 -0
  3. package/dist/cdn/2DKE4D4V.js +4 -0
  4. package/dist/cdn/2GG5MBJX.js +18 -0
  5. package/dist/cdn/2IRUBFD5.js +4 -0
  6. package/dist/cdn/2OJCRGSY.js +18 -0
  7. package/dist/cdn/2P7AHM5O.js +4 -0
  8. package/dist/cdn/2TQTDPOD.js +4 -0
  9. package/dist/cdn/34R3QFL4.js +4 -0
  10. package/dist/cdn/373RYCM5.js +4 -0
  11. package/dist/cdn/3EEQEIIF.js +4 -0
  12. package/dist/cdn/3IBI2MBB.js +4 -0
  13. package/dist/cdn/3MWPNWRI.js +4 -0
  14. package/dist/cdn/3RJNKHL6.js +18 -0
  15. package/dist/cdn/3TJ6KAGK.js +4 -0
  16. package/dist/cdn/3U6ZN4C3.js +4 -0
  17. package/dist/cdn/3ZGL22AG.js +4 -0
  18. package/dist/cdn/45MNR6YS.js +18 -0
  19. package/dist/cdn/46VGMHZ7.js +4 -0
  20. package/dist/cdn/4EQXDV64.js +18 -0
  21. package/dist/cdn/4FDHA3LB.js +4 -0
  22. package/dist/cdn/4QUFJ7JQ.js +4 -0
  23. package/dist/cdn/4WLVJAGS.js +4 -0
  24. package/dist/cdn/4YLSYSXR.js +4 -0
  25. package/dist/cdn/52YHNO7J.js +4 -0
  26. package/dist/cdn/55AUTAVM.js +4 -0
  27. package/dist/cdn/5AGZP7FN.js +4 -0
  28. package/dist/cdn/5EM2OKBL.js +4 -0
  29. package/dist/cdn/5GYSDWFY.js +18 -0
  30. package/dist/cdn/5HWY6B6T.js +4 -0
  31. package/dist/cdn/5JPSKCNA.js +89 -0
  32. package/dist/cdn/5OL7RXCN.js +18 -0
  33. package/dist/cdn/5PT6BQPH.js +4 -0
  34. package/dist/cdn/5PX4CHK4.js +4 -0
  35. package/dist/cdn/5QARHXLF.js +18 -0
  36. package/dist/cdn/5R5FVDIE.js +4 -0
  37. package/dist/cdn/5UCFZYBK.js +4 -0
  38. package/dist/cdn/5UMBUT67.js +18 -0
  39. package/dist/cdn/5UV7A5EY.js +4 -0
  40. package/dist/cdn/5XIPGVUW.js +4 -0
  41. package/dist/cdn/64577HME.js +4 -0
  42. package/dist/cdn/67SFJRSB.js +18 -0
  43. package/dist/cdn/6ENZX3UD.js +18 -0
  44. package/dist/cdn/6EP74EFM.js +18 -0
  45. package/dist/cdn/6FABBDLL.js +4 -0
  46. package/dist/cdn/6IRBUQNK.js +4 -0
  47. package/dist/cdn/6NVXFBLT.js +4 -0
  48. package/dist/cdn/6RW4WJ5F.js +4 -0
  49. package/dist/cdn/6RWKQVKX.js +4 -0
  50. package/dist/cdn/74HXS5S7.js +4 -0
  51. package/dist/cdn/76CZRVCQ.js +4 -0
  52. package/dist/cdn/76QGCX3G.js +4 -0
  53. package/dist/cdn/7C25W3DC.js +4 -0
  54. package/dist/cdn/7CEYQOUD.js +18 -0
  55. package/dist/cdn/7GRTJOB5.js +4 -0
  56. package/dist/cdn/7IEW7PU4.js +4 -0
  57. package/dist/cdn/7MN6SLN5.js +18 -0
  58. package/dist/cdn/7VHUOOT4.js +18 -0
  59. package/dist/cdn/7XAH3ZHV.js +4 -0
  60. package/dist/cdn/7XXVA3F6.js +4 -0
  61. package/dist/cdn/7ZCG3X7R.js +4 -0
  62. package/dist/cdn/A5RRFYOD.js +4 -0
  63. package/dist/cdn/AHDSGP2I.js +18 -0
  64. package/dist/cdn/AM4POOOK.js +4 -0
  65. package/dist/cdn/ASDKBUK3.js +18 -0
  66. package/dist/cdn/AXLTP65Y.js +4 -0
  67. package/dist/cdn/BBLJ7EHS.js +18 -0
  68. package/dist/cdn/BJXTCYTT.js +18 -0
  69. package/dist/cdn/BLSQBXZO.js +4 -0
  70. package/dist/cdn/BOMZ2P4U.js +4 -0
  71. package/dist/cdn/BQ7TY6E3.js +4 -0
  72. package/dist/cdn/BQJVEDLC.js +8 -0
  73. package/dist/cdn/C3MKLUYS.js +5 -0
  74. package/dist/cdn/C5QDDDH6.js +4 -0
  75. package/dist/cdn/C5T3HF6V.js +4 -0
  76. package/dist/cdn/C6KZTKHI.js +4 -0
  77. package/dist/cdn/CIGL34QI.js +18 -0
  78. package/dist/cdn/CLYJO7WA.js +18 -0
  79. package/dist/cdn/CMHMGPVG.js +4 -0
  80. package/dist/cdn/CNHSSSP2.js +4 -0
  81. package/dist/cdn/CSGROIJ6.js +4 -0
  82. package/dist/cdn/CTVVU2ZC.js +4 -0
  83. package/dist/cdn/CVOV365U.js +4 -0
  84. package/dist/cdn/CYH55GTJ.js +9 -0
  85. package/dist/cdn/D22BELVK.js +18 -0
  86. package/dist/cdn/D4ANXHA6.js +4 -0
  87. package/dist/cdn/D4N2KM77.js +4 -0
  88. package/dist/cdn/D4TYNSAH.js +82 -0
  89. package/dist/cdn/DAJYJUIM.js +19 -0
  90. package/dist/cdn/DBI2CNJR.js +4 -0
  91. package/dist/cdn/DEMY5LXS.js +6 -0
  92. package/dist/cdn/DFGNBIP4.js +4 -0
  93. package/dist/cdn/DGNI2L52.js +4 -0
  94. package/dist/cdn/DILLMNU7.js +4 -0
  95. package/dist/cdn/DJI2MXPF.js +294 -0
  96. package/dist/cdn/DSDPXTB3.js +4 -0
  97. package/dist/cdn/DUKUSWOF.js +4 -0
  98. package/dist/cdn/DYCNJD5I.js +4 -0
  99. package/dist/cdn/E3H7GCN2.js +4 -0
  100. package/dist/cdn/E3RTIAKB.js +4 -0
  101. package/dist/cdn/E5DY5AGN.js +19 -0
  102. package/dist/cdn/E6XP4262.js +18 -0
  103. package/dist/cdn/E7B35PPE.js +4 -0
  104. package/dist/cdn/E7C33CLP.js +4 -0
  105. package/dist/cdn/E7CSNM6W.js +4 -0
  106. package/dist/cdn/EAU627CP.js +4 -0
  107. package/dist/cdn/ECCOYE4W.js +4 -0
  108. package/dist/cdn/EE6F7WDK.js +21 -0
  109. package/dist/cdn/EFGFST2X.js +4 -0
  110. package/dist/cdn/EIWV2QFJ.js +4 -0
  111. package/dist/cdn/EMLYJY3U.js +4 -0
  112. package/dist/cdn/EOX42Z7I.js +4 -0
  113. package/dist/cdn/EP2WLXYJ.js +4 -0
  114. package/dist/cdn/ERYB7Q7N.js +4 -0
  115. package/dist/cdn/EVNPOEDN.js +4 -0
  116. package/dist/cdn/EWMQ7W4X.js +4 -0
  117. package/dist/cdn/EYI2CXR4.js +25 -0
  118. package/dist/cdn/F5BC76XY.js +4 -0
  119. package/dist/cdn/F7D7JDGJ.js +9 -0
  120. package/dist/cdn/FBOYVIXA.js +18 -0
  121. package/dist/cdn/FDCS3IF3.js +4 -0
  122. package/dist/cdn/FEPUY55K.js +4 -0
  123. package/dist/cdn/FFL7U4K2.js +4 -0
  124. package/dist/cdn/FMJWXOUR.js +18 -0
  125. package/dist/cdn/FNPOYZRQ.js +18 -0
  126. package/dist/cdn/FTCOKM55.js +4 -0
  127. package/dist/cdn/FXDSUAZP.js +4 -0
  128. package/dist/cdn/FXPLB5TB.js +18 -0
  129. package/dist/cdn/G3P2DAU4.js +18 -0
  130. package/dist/cdn/G6AIWVVF.js +4 -0
  131. package/dist/cdn/G7USULA3.js +18 -0
  132. package/dist/cdn/GDPOK4XJ.js +4 -0
  133. package/dist/cdn/GKZPVU4W.js +19 -0
  134. package/dist/cdn/GLRFGNCR.js +18 -0
  135. package/dist/cdn/GNBRF3J3.js +4 -0
  136. package/dist/cdn/GSGD5X3Z.js +4 -0
  137. package/dist/cdn/GWBGSPGK.js +4 -0
  138. package/dist/cdn/GWPWR4NJ.js +4 -0
  139. package/dist/cdn/GWVBXM4O.js +4 -0
  140. package/dist/cdn/GXNKCLN5.js +4 -0
  141. package/dist/cdn/HA26NVXU.js +4 -0
  142. package/dist/cdn/HAE47HSE.js +4 -0
  143. package/dist/cdn/HATWOIWZ.js +4 -0
  144. package/dist/cdn/HCEMIND7.js +4 -0
  145. package/dist/cdn/HEQYJZJO.js +4 -0
  146. package/dist/cdn/HFDBPGGT.js +18 -0
  147. package/dist/cdn/HFXZNF2W.js +18 -0
  148. package/dist/cdn/HG2ZNE2E.js +4 -0
  149. package/dist/cdn/HI3PAOCL.js +4 -0
  150. package/dist/cdn/HI4KSEBA.js +4 -0
  151. package/dist/cdn/HU7VYYIV.js +4 -0
  152. package/dist/cdn/HUHZXDNI.js +4 -0
  153. package/dist/cdn/HVGAZZ7E.js +4 -0
  154. package/dist/cdn/HZNHMJ2X.js +4 -0
  155. package/dist/cdn/I6SRLUO3.js +4 -0
  156. package/dist/cdn/I7SOLYBY.js +4 -0
  157. package/dist/cdn/IDODJEUW.js +18 -0
  158. package/dist/cdn/IFXQMQMB.js +4 -0
  159. package/dist/cdn/IGMLM2CZ.js +4 -0
  160. package/dist/cdn/IJWGVRH6.js +4 -0
  161. package/dist/cdn/IKL6SJCX.js +4 -0
  162. package/dist/cdn/IRKSYVKF.js +4 -0
  163. package/dist/cdn/IVUZOD5N.js +18 -0
  164. package/dist/cdn/IYW4WSQU.js +4 -0
  165. package/dist/cdn/IZK635RE.js +4 -0
  166. package/dist/cdn/J4VUYE77.js +4 -0
  167. package/dist/cdn/JACBCJM5.js +4 -0
  168. package/dist/cdn/JCRBLE7M.js +18 -0
  169. package/dist/cdn/JDKKXGDK.js +4 -0
  170. package/dist/cdn/JESQM7JC.js +385 -0
  171. package/dist/cdn/JHYFXPU7.js +4 -0
  172. package/dist/cdn/JJNXUJWI.js +4 -0
  173. package/dist/cdn/JKOFDMTL.js +18 -0
  174. package/dist/cdn/JLAIHGX7.js +4 -0
  175. package/dist/cdn/JQ7I4ACF.js +18 -0
  176. package/dist/cdn/JQWHQO43.js +4 -0
  177. package/dist/cdn/JW5B75V4.js +18 -0
  178. package/dist/cdn/JWUJWTID.js +18 -0
  179. package/dist/cdn/K2VZU3F5.js +18 -0
  180. package/dist/cdn/K52RVAKI.js +4 -0
  181. package/dist/cdn/KEZ2OO3C.js +4 -0
  182. package/dist/cdn/KH42YDGB.js +8 -0
  183. package/dist/cdn/KIQTLCHH.js +4 -0
  184. package/dist/cdn/KK2IPNE3.js +4 -0
  185. package/dist/cdn/KK2P6Q2E.js +4 -0
  186. package/dist/cdn/KLWSSYYI.js +4 -0
  187. package/dist/cdn/KMSZR7OY.js +4 -0
  188. package/dist/cdn/KRBPJ75E.js +4 -0
  189. package/dist/cdn/KSIBFBSI.js +4 -0
  190. package/dist/cdn/L7DFQ7BZ.js +4 -0
  191. package/dist/cdn/LG5B373X.js +4 -0
  192. package/dist/cdn/LIINIY5L.js +4 -0
  193. package/dist/cdn/LJJOYKWL.js +4 -0
  194. package/dist/cdn/LKKHABSE.js +4 -0
  195. package/dist/cdn/LMJAIKEE.js +18 -0
  196. package/dist/cdn/LTJA7F3S.js +4 -0
  197. package/dist/cdn/LYUVSKJ2.js +4 -0
  198. package/dist/cdn/M47UC4IW.js +4 -0
  199. package/dist/cdn/M4FU5PYC.js +4 -0
  200. package/dist/cdn/M4PLOIMT.js +4 -0
  201. package/dist/cdn/M7PKG4YD.js +4 -0
  202. package/dist/cdn/MCENO5GY.js +4 -0
  203. package/dist/cdn/MGJFGLYO.js +18 -0
  204. package/dist/cdn/MGWUOYFW.js +4 -0
  205. package/dist/cdn/MMNAXKXA.js +4 -0
  206. package/dist/cdn/MNSLZRN2.js +4 -0
  207. package/dist/cdn/MOLO2JKZ.js +4 -0
  208. package/dist/cdn/MPP5RWNY.js +4 -0
  209. package/dist/cdn/MR3OHCGN.js +4 -0
  210. package/dist/cdn/MXG44IRR.js +4 -0
  211. package/dist/cdn/MXGLTE5G.js +4 -0
  212. package/dist/cdn/MZEWWDOB.js +4 -0
  213. package/dist/cdn/MZTOB3NA.js +5 -0
  214. package/dist/cdn/NAKMORRS.js +4 -0
  215. package/dist/cdn/NC7LKR6P.js +4 -0
  216. package/dist/cdn/NCG6QKWR.js +4 -0
  217. package/dist/cdn/NHLE5PEP.js +4 -0
  218. package/dist/cdn/NL75AWDF.js +18 -0
  219. package/dist/cdn/NMNQNPG3.js +4 -0
  220. package/dist/cdn/NOI3L73W.js +4 -0
  221. package/dist/cdn/NV5T4KV3.js +4 -0
  222. package/dist/cdn/O77MW5U7.js +4 -0
  223. package/dist/cdn/OAOSXYYJ.js +4 -0
  224. package/dist/cdn/OBU37VQP.js +4 -0
  225. package/dist/cdn/OCQ5QAZG.js +18 -0
  226. package/dist/cdn/OE5CL2FU.js +4 -0
  227. package/dist/cdn/OGJ5D3VD.js +18 -0
  228. package/dist/cdn/OILD7SVE.js +18 -0
  229. package/dist/cdn/OIS6GKYP.js +4 -0
  230. package/dist/cdn/OJGX3JRQ.js +4 -0
  231. package/dist/cdn/OQHSXQCE.js +18 -0
  232. package/dist/cdn/OVAX74SY.js +18 -0
  233. package/dist/cdn/P24RPSBD.js +4 -0
  234. package/dist/cdn/P5M3O7RI.js +4 -0
  235. package/dist/cdn/P7Q74AQB.js +4 -0
  236. package/dist/cdn/PAT7ZHEY.js +4 -0
  237. package/dist/cdn/PC62ZISV.js +4 -0
  238. package/dist/cdn/PE3VYUOG.js +4 -0
  239. package/dist/cdn/PFKUU2I3.js +18 -0
  240. package/dist/cdn/PPHWGCSF.js +4 -0
  241. package/dist/cdn/PRBARSCN.js +4 -0
  242. package/dist/cdn/PZTS2ZM2.js +4 -0
  243. package/dist/cdn/PZUT6W6N.js +4 -0
  244. package/dist/cdn/Q2X24SKX.js +4 -0
  245. package/dist/cdn/Q6Z4TTIZ.js +4 -0
  246. package/dist/cdn/QMT5CBUT.js +18 -0
  247. package/dist/cdn/QZNNWP6C.js +4 -0
  248. package/dist/cdn/QZNUQGF6.js +4 -0
  249. package/dist/cdn/R4J5YMUQ.js +4 -0
  250. package/dist/cdn/R5DUS3EV.js +18 -0
  251. package/dist/cdn/R63RYS5Y.js +4 -0
  252. package/dist/cdn/RACRJEPF.js +4 -0
  253. package/dist/cdn/RF4UYAKV.js +4 -0
  254. package/dist/cdn/RUAJHVAW.js +18 -0
  255. package/dist/cdn/RXDQURDA.js +4 -0
  256. package/dist/cdn/S2I4YUPX.js +4 -0
  257. package/dist/cdn/S32TK6T7.js +4 -0
  258. package/dist/cdn/S5HWSEUY.js +4 -0
  259. package/dist/cdn/SA5OTFAN.js +4 -0
  260. package/dist/cdn/SALC3G4E.js +4 -0
  261. package/dist/cdn/SB575MRC.js +4 -0
  262. package/dist/cdn/SCLUBV6B.js +18 -0
  263. package/dist/cdn/SGIRWZLC.js +4 -0
  264. package/dist/cdn/SHLDE5ZW.js +18 -0
  265. package/dist/cdn/SPWD7KIF.js +4 -0
  266. package/dist/cdn/SQ5TA5SP.js +18 -0
  267. package/dist/cdn/SSGDG2KN.js +4 -0
  268. package/dist/cdn/SU3Z662V.js +4 -0
  269. package/dist/cdn/SUZ3SL26.js +4 -0
  270. package/dist/cdn/SY5M4ZGW.js +4 -0
  271. package/dist/cdn/T26FKEMR.js +4 -0
  272. package/dist/cdn/T6VDX6YQ.js +4 -0
  273. package/dist/cdn/TAIZT7YH.js +4 -0
  274. package/dist/cdn/TBVYZ336.js +4 -0
  275. package/dist/cdn/TCPCNAXG.js +18 -0
  276. package/dist/cdn/TDPTH3PB.js +18 -0
  277. package/dist/cdn/TEWQBSJG.js +4 -0
  278. package/dist/cdn/TF5KNIGI.js +4 -0
  279. package/dist/cdn/TUOFKTGP.js +4 -0
  280. package/dist/cdn/U4C2O3EI.js +4 -0
  281. package/dist/cdn/U7JUGZHD.js +4 -0
  282. package/dist/cdn/UCVV4DR2.js +4 -0
  283. package/dist/cdn/UK6ZQLXE.js +4 -0
  284. package/dist/cdn/UQOKS6VK.js +4 -0
  285. package/dist/cdn/USZB4X6A.js +4 -0
  286. package/dist/cdn/UTTX3CHJ.js +4 -0
  287. package/dist/cdn/V2DI62OA.js +6 -0
  288. package/dist/cdn/V7ZWOVHU.js +8 -0
  289. package/dist/cdn/VAMGVNRP.js +20 -0
  290. package/dist/cdn/VBEIJ53G.js +4 -0
  291. package/dist/cdn/VDSHQNAE.js +4 -0
  292. package/dist/cdn/VLFPDXI6.js +4 -0
  293. package/dist/cdn/VO24JFVS.js +4 -0
  294. package/dist/cdn/VORLDHAW.js +4 -0
  295. package/dist/cdn/VROJTJEL.js +4 -0
  296. package/dist/cdn/VRYDFICW.js +18 -0
  297. package/dist/cdn/VTQABWDQ.js +18 -0
  298. package/dist/cdn/VUAHOUHY.js +4 -0
  299. package/dist/cdn/VUEUGHV4.js +4 -0
  300. package/dist/cdn/VUWAGMYI.js +4 -0
  301. package/dist/cdn/VUYIFP6K.js +4 -0
  302. package/dist/cdn/VVI52XHF.js +4 -0
  303. package/dist/cdn/VZ6ZGZXE.js +4 -0
  304. package/dist/cdn/W2ZGMJY7.js +4 -0
  305. package/dist/cdn/W5XUZJGN.js +4 -0
  306. package/dist/cdn/W6E2C5GX.js +4 -0
  307. package/dist/cdn/WAIH4CCQ.js +4 -0
  308. package/dist/cdn/WANC67UT.js +4 -0
  309. package/dist/cdn/WEMLUAAR.js +4 -0
  310. package/dist/cdn/WFSFUZOC.js +4 -0
  311. package/dist/cdn/WLNYC3K3.js +4 -0
  312. package/dist/cdn/WOTQZCRA.js +4 -0
  313. package/dist/cdn/WP2KO7UP.js +29 -0
  314. package/dist/cdn/WP2PSNFT.js +4 -0
  315. package/dist/cdn/WS5HHO4T.js +18 -0
  316. package/dist/cdn/WTL3PEAQ.js +4 -0
  317. package/dist/cdn/XCGRV674.js +4 -0
  318. package/dist/cdn/XIBUMBLY.js +18 -0
  319. package/dist/cdn/XMOALPJW.js +4 -0
  320. package/dist/cdn/XMRU7SNV.js +4 -0
  321. package/dist/cdn/XT36IYWQ.js +4 -0
  322. package/dist/cdn/XVY2HXWR.js +4 -0
  323. package/dist/cdn/XXPDN562.js +18 -0
  324. package/dist/cdn/Y4UI3SWQ.js +4 -0
  325. package/dist/cdn/Y7WCDHHA.js +4 -0
  326. package/dist/cdn/YDTVY452.js +4 -0
  327. package/dist/cdn/YEVWDUVV.js +4 -0
  328. package/dist/cdn/YGVITQ45.js +4 -0
  329. package/dist/cdn/YM4JQGWL.js +4 -0
  330. package/dist/cdn/YNTEOFE2.js +4 -0
  331. package/dist/cdn/YQFL5YJJ.js +4 -0
  332. package/dist/cdn/YSW2UOL3.js +18 -0
  333. package/dist/cdn/YTT6ZV5A.js +18 -0
  334. package/dist/cdn/YUL3ATTD.js +4 -0
  335. package/dist/cdn/YYSIA432.js +4 -0
  336. package/dist/cdn/YZKEYQY4.js +4 -0
  337. package/dist/cdn/Z5UFUDCH.js +4 -0
  338. package/dist/cdn/Z5ZPFJEU.js +4 -0
  339. package/dist/cdn/Z6IC76BJ.js +4 -0
  340. package/dist/cdn/Z6NDLCDR.js +4 -0
  341. package/dist/cdn/ZEQVCUSX.js +4 -0
  342. package/dist/cdn/ZF2FQVL7.js +4 -0
  343. package/dist/cdn/ZO2KN6B3.js +4 -0
  344. package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
  346. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  348. package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -0
  349. package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -0
  350. package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
  351. package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
  352. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
  353. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
  354. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
  355. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
  356. package/dist/cdn/assets/solutions-resources/t9n/messages.en.json +1 -0
  357. package/dist/cdn/assets/solutions-resources/t9n/messages.json +1 -0
  358. package/dist/cdn/index.js +2 -2
  359. package/dist/cdn/main.css +1 -1
  360. package/dist/chunks/Auth.js +14 -14
  361. package/dist/chunks/CardsFetcher.js +1 -1
  362. package/dist/chunks/appConfig.js +1 -1
  363. package/dist/chunks/cardFetchingUtils.js +1 -1
  364. package/dist/chunks/cardsHelpers.js +1 -1
  365. package/dist/chunks/common.js +1 -1
  366. package/dist/chunks/deployAppContexts.js +1 -1
  367. package/dist/chunks/downloadUtils.js +1 -1
  368. package/dist/chunks/getItemIcon.js +1 -1
  369. package/dist/chunks/helpers.js +30 -25
  370. package/dist/chunks/interfaces.js +1 -1
  371. package/dist/chunks/loadModules.js +1 -1
  372. package/dist/chunks/mapViewUtils.js +1 -1
  373. package/dist/chunks/pciUtils.js +1 -1
  374. package/dist/chunks/popupUtils.js +1 -1
  375. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  376. package/dist/chunks/privilegeUtils.js +1 -1
  377. package/dist/chunks/publicNotificationContext.js +1 -1
  378. package/dist/chunks/queryUtils.js +1 -1
  379. package/dist/chunks/runtime.js +1 -1
  380. package/dist/chunks/solution-store.js +1 -1
  381. package/dist/chunks/templates.js +1 -1
  382. package/dist/chunks/useT9n.js +1 -1
  383. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  384. package/dist/components/basemap-gallery/customElement.js +1 -1
  385. package/dist/components/buffer-tools/customElement.js +1 -1
  386. package/dist/components/card-manager/customElement.js +1 -1
  387. package/dist/components/consent-manager/customElement.js +1 -1
  388. package/dist/components/create-feature/customElement.js +1 -1
  389. package/dist/components/create-related-feature/customElement.js +1 -1
  390. package/dist/components/crowdsource-manager/customElement.js +1 -1
  391. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  392. package/dist/components/deduct-calculator/customElement.js +1 -1
  393. package/dist/components/delete-button/customElement.js +1 -1
  394. package/dist/components/delete-dialog/customElement.js +1 -1
  395. package/dist/components/edit-card/customElement.js +1 -1
  396. package/dist/components/feature-details/customElement.js +1 -1
  397. package/dist/components/feature-list/customElement.js +1 -1
  398. package/dist/components/field-selection/customElement.js +1 -1
  399. package/dist/components/floor-filter/customElement.js +1 -1
  400. package/dist/components/info-card/customElement.js +1 -1
  401. package/dist/components/json-editor/customElement.js +1 -1
  402. package/dist/components/layer-list/customElement.js +1 -1
  403. package/dist/components/layer-table/customElement.js +16 -16
  404. package/dist/components/map-card/customElement.js +14 -14
  405. package/dist/components/map-draw-tools/customElement.js +1 -1
  406. package/dist/components/map-fullscreen/customElement.js +1 -1
  407. package/dist/components/map-layer-picker/customElement.d.ts +6 -0
  408. package/dist/components/map-layer-picker/customElement.js +25 -19
  409. package/dist/components/map-legend/customElement.js +1 -1
  410. package/dist/components/map-picker/customElement.js +1 -1
  411. package/dist/components/map-search/customElement.js +1 -1
  412. package/dist/components/map-select-tools/customElement.js +1 -1
  413. package/dist/components/map-tools/customElement.js +1 -1
  414. package/dist/components/pci-calculator/customElement.js +1 -1
  415. package/dist/components/pdf-download/customElement.js +1 -1
  416. package/dist/components/public-notification/customElement.js +1 -1
  417. package/dist/components/refine-selection/customElement.js +1 -1
  418. package/dist/components/selection-tool/customElement.js +1 -1
  419. package/dist/components/solution-configuration/customElement.js +1 -1
  420. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  421. package/dist/components/solution-configure-titles/customElement.js +1 -1
  422. package/dist/components/solution-contents/customElement.js +1 -1
  423. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  424. package/dist/components/solution-deploy-dialog/customElement.js +3 -3
  425. package/dist/components/solution-deployed-card/customElement.js +1 -1
  426. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  427. package/dist/components/solution-details-card/customElement.js +6 -6
  428. package/dist/components/solution-details-panel/customElement.js +29 -32
  429. package/dist/components/solution-details-panel/index.d.ts +1 -1
  430. package/dist/components/solution-details-panel/index.js +1 -1
  431. package/dist/components/solution-item/customElement.js +1 -1
  432. package/dist/components/solution-item-accordion/customElement.js +1 -1
  433. package/dist/components/solution-item-details/customElement.js +1 -1
  434. package/dist/components/solution-item-diagram/customElement.js +1 -1
  435. package/dist/components/solution-item-icon/customElement.js +1 -1
  436. package/dist/components/solution-item-sharing/customElement.js +1 -1
  437. package/dist/components/solution-organization-variables/customElement.js +1 -1
  438. package/dist/components/solution-resource-card/customElement.d.ts +37 -0
  439. package/dist/components/solution-resource-card/customElement.js +49 -0
  440. package/dist/components/solution-resource-item/customElement.js +1 -1
  441. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  442. package/dist/components/solution-social-share/customElement.js +1 -1
  443. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  444. package/dist/components/solution-template-data/customElement.js +1 -1
  445. package/dist/components/solution-variables/customElement.js +1 -1
  446. package/dist/components/solutions-all-panel/customElement.d.ts +2 -2
  447. package/dist/components/solutions-all-panel/customElement.js +5 -2
  448. package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
  449. package/dist/components/solutions-all-shell/customElement.js +38 -36
  450. package/dist/components/solutions-deploy-app/customElement.d.ts +1 -1
  451. package/dist/components/solutions-deploy-app/customElement.js +44 -43
  452. package/dist/components/solutions-deploy-app/index.d.ts +1 -1
  453. package/dist/components/solutions-deploy-app/index.js +1 -1
  454. package/dist/components/solutions-deploy-app-nav/customElement.d.ts +2 -0
  455. package/dist/components/solutions-deploy-app-nav/customElement.js +49 -28
  456. package/dist/components/solutions-deploy-app-nav/index.d.ts +5 -2
  457. package/dist/components/solutions-deploy-app-nav/index.js +5 -2
  458. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  459. package/dist/components/solutions-deployed-panel/customElement.d.ts +2 -2
  460. package/dist/components/solutions-deployed-panel/customElement.js +8 -5
  461. package/dist/components/solutions-deployed-shell/customElement.js +5 -5
  462. package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
  463. package/dist/components/solutions-filter-panel/customElement.js +63 -55
  464. package/dist/components/solutions-resource-panel/customElement.d.ts +17 -0
  465. package/dist/components/solutions-resource-panel/customElement.js +43 -0
  466. package/dist/components/solutions-resources/customElement.d.ts +7 -0
  467. package/dist/components/solutions-resources/customElement.js +122 -0
  468. package/dist/components/solutions-resources/index.d.ts +13 -0
  469. package/dist/components/solutions-resources/index.js +13 -0
  470. package/dist/components/solutions-resources-shell/customElement.d.ts +7 -0
  471. package/dist/components/solutions-resources-shell/customElement.js +43 -0
  472. package/dist/components/solutions-resources-shell/index.d.ts +5 -0
  473. package/dist/components/solutions-resources-shell/index.js +5 -0
  474. package/dist/components/solutions-searchsort-toolbar/customElement.js +9 -6
  475. package/dist/components/spatial-ref/customElement.js +1 -1
  476. package/dist/components/store-manager/customElement.js +1 -1
  477. package/dist/docs/api.json +1227 -1123
  478. package/dist/docs/docs.json +623 -547
  479. package/dist/docs/vscode.html-custom-data.json +88 -78
  480. package/dist/docs/web-types.json +218 -202
  481. package/dist/index.d.ts +49 -50
  482. package/dist/index.js +1 -1
  483. package/dist/loader.js +9 -9
  484. package/dist/types/lumina.d.ts +25 -26
  485. package/dist/types/preact.d.ts +29 -30
  486. package/dist/types/preact10.d.ts +33 -34
  487. package/dist/types/react.d.ts +33 -34
  488. package/dist/types/stencil.d.ts +25 -26
  489. package/dist/utils/helpers.d.ts +8 -1
  490. package/dist/utils/interfaces.d.ts +12 -3
  491. package/package.json +1 -1
  492. package/dist/cdn/22IZH5VL.js +0 -4
  493. package/dist/cdn/23EIVSUJ.js +0 -18
  494. package/dist/cdn/25LMHUAF.js +0 -4
  495. package/dist/cdn/26SSUBUE.js +0 -4
  496. package/dist/cdn/27APFVLL.js +0 -4
  497. package/dist/cdn/2CEJYF62.js +0 -4
  498. package/dist/cdn/2MVXKE3V.js +0 -4
  499. package/dist/cdn/2W53WRNR.js +0 -4
  500. package/dist/cdn/2YHT764G.js +0 -4
  501. package/dist/cdn/32DRSUWP.js +0 -4
  502. package/dist/cdn/35OPALGJ.js +0 -4
  503. package/dist/cdn/3FTD7QHK.js +0 -4
  504. package/dist/cdn/3OEDIKQ5.js +0 -4
  505. package/dist/cdn/3PXVZE5B.js +0 -4
  506. package/dist/cdn/3QPRWMXZ.js +0 -4
  507. package/dist/cdn/3QZ3WO4J.js +0 -4
  508. package/dist/cdn/3RX4FKVH.js +0 -4
  509. package/dist/cdn/3UYQB5M2.js +0 -4
  510. package/dist/cdn/3W7QQ6P6.js +0 -4
  511. package/dist/cdn/3X4Q46AK.js +0 -4
  512. package/dist/cdn/3XLZCUHG.js +0 -4
  513. package/dist/cdn/43JJ42I6.js +0 -4
  514. package/dist/cdn/4G6CGSME.js +0 -4
  515. package/dist/cdn/4LOY373E.js +0 -18
  516. package/dist/cdn/4NAXXYIA.js +0 -4
  517. package/dist/cdn/4UHO6YOS.js +0 -18
  518. package/dist/cdn/4VVSACXP.js +0 -4
  519. package/dist/cdn/4XORBQ43.js +0 -4
  520. package/dist/cdn/4ZE7GGAS.js +0 -4
  521. package/dist/cdn/522BPYLF.js +0 -4
  522. package/dist/cdn/55L6CSSX.js +0 -4
  523. package/dist/cdn/5BGGKOSZ.js +0 -4
  524. package/dist/cdn/5D6MJQRN.js +0 -18
  525. package/dist/cdn/5EYMLB42.js +0 -4
  526. package/dist/cdn/5RUH4EFW.js +0 -4
  527. package/dist/cdn/653HGMN6.js +0 -4
  528. package/dist/cdn/67I4BHMX.js +0 -4
  529. package/dist/cdn/6HBBCCOM.js +0 -4
  530. package/dist/cdn/6O7OK3WU.js +0 -4
  531. package/dist/cdn/6PGNEYP5.js +0 -4
  532. package/dist/cdn/6UNT5MUE.js +0 -4
  533. package/dist/cdn/6VLVWAKZ.js +0 -4
  534. package/dist/cdn/736NHE3J.js +0 -4
  535. package/dist/cdn/7A3C36WQ.js +0 -4
  536. package/dist/cdn/7BJFXFUH.js +0 -4
  537. package/dist/cdn/7G4N7AYZ.js +0 -4
  538. package/dist/cdn/7GIY6DUJ.js +0 -4
  539. package/dist/cdn/7JXHJ3TL.js +0 -18
  540. package/dist/cdn/7KQUOMHW.js +0 -4
  541. package/dist/cdn/7PM6K4BQ.js +0 -4
  542. package/dist/cdn/7WSRMZLR.js +0 -4
  543. package/dist/cdn/7YHRTXQH.js +0 -4
  544. package/dist/cdn/7YJKP23X.js +0 -8
  545. package/dist/cdn/7Z6VMW3R.js +0 -18
  546. package/dist/cdn/A3HZAJRG.js +0 -4
  547. package/dist/cdn/A3QP26AQ.js +0 -18
  548. package/dist/cdn/A7GDEXFK.js +0 -4
  549. package/dist/cdn/AAILNBJL.js +0 -4
  550. package/dist/cdn/AFI227JI.js +0 -4
  551. package/dist/cdn/AG5QKP4L.js +0 -4
  552. package/dist/cdn/AJCN5TZU.js +0 -4
  553. package/dist/cdn/AM6CUQET.js +0 -18
  554. package/dist/cdn/AQLLIUAO.js +0 -18
  555. package/dist/cdn/B5HIH5BI.js +0 -18
  556. package/dist/cdn/BFSMHNRA.js +0 -4
  557. package/dist/cdn/BFW6A2EV.js +0 -4
  558. package/dist/cdn/BGVEHDJZ.js +0 -4
  559. package/dist/cdn/BH4WHSTL.js +0 -4
  560. package/dist/cdn/BMUM7THE.js +0 -18
  561. package/dist/cdn/BQG7DYTH.js +0 -18
  562. package/dist/cdn/BSKEER6B.js +0 -18
  563. package/dist/cdn/BT7XOYF5.js +0 -4
  564. package/dist/cdn/BTZUJGQZ.js +0 -4
  565. package/dist/cdn/BVHEKO2U.js +0 -4
  566. package/dist/cdn/BVUB2SWQ.js +0 -4
  567. package/dist/cdn/BXINC4TL.js +0 -6
  568. package/dist/cdn/BY7JMUBE.js +0 -4
  569. package/dist/cdn/BYVW36VB.js +0 -18
  570. package/dist/cdn/BZDKUBLK.js +0 -4
  571. package/dist/cdn/C2CDVQOR.js +0 -18
  572. package/dist/cdn/C4VBVF5F.js +0 -4
  573. package/dist/cdn/CB4NXNE5.js +0 -4
  574. package/dist/cdn/CEH26EDG.js +0 -18
  575. package/dist/cdn/CIM646MY.js +0 -18
  576. package/dist/cdn/CNU3472Z.js +0 -18
  577. package/dist/cdn/CP4FAI42.js +0 -4
  578. package/dist/cdn/CRXAZVVV.js +0 -18
  579. package/dist/cdn/CVGM4QYD.js +0 -4
  580. package/dist/cdn/CVNJUCBY.js +0 -18
  581. package/dist/cdn/CWHNHLH4.js +0 -18
  582. package/dist/cdn/CWXSLS5U.js +0 -4
  583. package/dist/cdn/D2RAZUGA.js +0 -18
  584. package/dist/cdn/D6SWHYCO.js +0 -4
  585. package/dist/cdn/DLCCT4NW.js +0 -4
  586. package/dist/cdn/DNJUS347.js +0 -18
  587. package/dist/cdn/DO6VOO2V.js +0 -4
  588. package/dist/cdn/DQPEZQH4.js +0 -18
  589. package/dist/cdn/DRUP6BQ5.js +0 -8
  590. package/dist/cdn/DSVAIF4Y.js +0 -4
  591. package/dist/cdn/DT6TJWI4.js +0 -4
  592. package/dist/cdn/DTHJ6RVO.js +0 -4
  593. package/dist/cdn/DW2DU6WF.js +0 -4
  594. package/dist/cdn/DYETIYXT.js +0 -4
  595. package/dist/cdn/E45HXI25.js +0 -4
  596. package/dist/cdn/E56R6ZHU.js +0 -4
  597. package/dist/cdn/EAJLTNVD.js +0 -25
  598. package/dist/cdn/EAJPSM6R.js +0 -4
  599. package/dist/cdn/EAPSALKZ.js +0 -18
  600. package/dist/cdn/EAXDRT25.js +0 -4
  601. package/dist/cdn/ECIK3AWG.js +0 -4
  602. package/dist/cdn/EEH2H5FR.js +0 -4
  603. package/dist/cdn/EFN7NAAY.js +0 -4
  604. package/dist/cdn/EGSHVW4A.js +0 -4
  605. package/dist/cdn/F3UCVDZ2.js +0 -4
  606. package/dist/cdn/F4M6554C.js +0 -18
  607. package/dist/cdn/F4N67DYP.js +0 -4
  608. package/dist/cdn/F5427EYW.js +0 -4
  609. package/dist/cdn/FF2RFQ4J.js +0 -4
  610. package/dist/cdn/FGB6FI4J.js +0 -4
  611. package/dist/cdn/FKLJTSPN.js +0 -4
  612. package/dist/cdn/FPWJ6PMO.js +0 -4
  613. package/dist/cdn/FTPJQUXV.js +0 -4
  614. package/dist/cdn/FUAAIOVV.js +0 -4
  615. package/dist/cdn/FUHNVQ4J.js +0 -4
  616. package/dist/cdn/FXHXJ4QL.js +0 -4
  617. package/dist/cdn/FYDE2G2S.js +0 -4
  618. package/dist/cdn/G3KFU7YY.js +0 -4
  619. package/dist/cdn/G64ULB7X.js +0 -4
  620. package/dist/cdn/GDQKBGVU.js +0 -4
  621. package/dist/cdn/GDTOMIWL.js +0 -4
  622. package/dist/cdn/GKZBYEDV.js +0 -4
  623. package/dist/cdn/GO3DBAQ3.js +0 -4
  624. package/dist/cdn/GOLK3KHK.js +0 -4
  625. package/dist/cdn/GPAASHCV.js +0 -4
  626. package/dist/cdn/GPN7CMKQ.js +0 -4
  627. package/dist/cdn/GUQOCIWI.js +0 -4
  628. package/dist/cdn/GVV6CMDT.js +0 -4
  629. package/dist/cdn/GZK4P6TS.js +0 -4
  630. package/dist/cdn/H3FZKBQZ.js +0 -4
  631. package/dist/cdn/H5BCC2WI.js +0 -4
  632. package/dist/cdn/H6GTBKYE.js +0 -4
  633. package/dist/cdn/HA35BFCM.js +0 -18
  634. package/dist/cdn/HAPZLAZI.js +0 -4
  635. package/dist/cdn/HEQ4RTPP.js +0 -4
  636. package/dist/cdn/HHE7DQNN.js +0 -18
  637. package/dist/cdn/HIPPWX3F.js +0 -294
  638. package/dist/cdn/HKOPWYUS.js +0 -4
  639. package/dist/cdn/HRVWEYZD.js +0 -4
  640. package/dist/cdn/HTK6SD7P.js +0 -4
  641. package/dist/cdn/HWZTRX65.js +0 -18
  642. package/dist/cdn/HYRLUKFR.js +0 -4
  643. package/dist/cdn/I2HXIQGP.js +0 -18
  644. package/dist/cdn/I3GNEXKT.js +0 -4
  645. package/dist/cdn/I4ZETC2J.js +0 -18
  646. package/dist/cdn/IBM5XI3O.js +0 -4
  647. package/dist/cdn/IFOFHB4W.js +0 -19
  648. package/dist/cdn/IHWF6T6Y.js +0 -4
  649. package/dist/cdn/ILI2S73E.js +0 -18
  650. package/dist/cdn/IMCXSNGQ.js +0 -4
  651. package/dist/cdn/IQVYADON.js +0 -4
  652. package/dist/cdn/IRGSMHZ2.js +0 -4
  653. package/dist/cdn/IW3SAA7O.js +0 -4
  654. package/dist/cdn/IW52PVHP.js +0 -4
  655. package/dist/cdn/IW5XHI5X.js +0 -4
  656. package/dist/cdn/J3W2N5FC.js +0 -4
  657. package/dist/cdn/JFZABKV5.js +0 -4
  658. package/dist/cdn/JGE7H6EF.js +0 -4
  659. package/dist/cdn/JKF6DMWR.js +0 -4
  660. package/dist/cdn/JNLG6F4W.js +0 -4
  661. package/dist/cdn/JNMUGZK3.js +0 -4
  662. package/dist/cdn/JPL6PWCI.js +0 -4
  663. package/dist/cdn/JPZHUXDB.js +0 -4
  664. package/dist/cdn/JSDRL6ZD.js +0 -6
  665. package/dist/cdn/JZ5M3XFU.js +0 -4
  666. package/dist/cdn/K53JJQXH.js +0 -4
  667. package/dist/cdn/K73RVWFQ.js +0 -4
  668. package/dist/cdn/KC4VT3EZ.js +0 -4
  669. package/dist/cdn/KJUT6QHE.js +0 -18
  670. package/dist/cdn/KQ3W6U2O.js +0 -29
  671. package/dist/cdn/KSKCA47T.js +0 -4
  672. package/dist/cdn/KSRRTR4T.js +0 -4
  673. package/dist/cdn/KXTFN2PN.js +0 -4
  674. package/dist/cdn/KZGCFGXP.js +0 -385
  675. package/dist/cdn/L2KCAISR.js +0 -4
  676. package/dist/cdn/L4A7ZXML.js +0 -4
  677. package/dist/cdn/L7QPZ7RC.js +0 -89
  678. package/dist/cdn/LB6KC3G5.js +0 -4
  679. package/dist/cdn/LC5MX3Y5.js +0 -18
  680. package/dist/cdn/LFVIZYTM.js +0 -4
  681. package/dist/cdn/LGL4DYMW.js +0 -18
  682. package/dist/cdn/LHLMGRPK.js +0 -18
  683. package/dist/cdn/LJMZ6FUS.js +0 -4
  684. package/dist/cdn/LK4URP54.js +0 -4
  685. package/dist/cdn/LLTDCAVX.js +0 -18
  686. package/dist/cdn/LNB7BGSN.js +0 -5
  687. package/dist/cdn/LPLIW3W4.js +0 -18
  688. package/dist/cdn/LRQNOIGC.js +0 -4
  689. package/dist/cdn/LY6EPL2S.js +0 -4
  690. package/dist/cdn/LY7L2GZL.js +0 -18
  691. package/dist/cdn/LYCCIBXG.js +0 -4
  692. package/dist/cdn/MAJWJ4QY.js +0 -4
  693. package/dist/cdn/MBAMULPA.js +0 -4
  694. package/dist/cdn/MBZJ3EX7.js +0 -18
  695. package/dist/cdn/MFQXVNXI.js +0 -4
  696. package/dist/cdn/MFYT2IIR.js +0 -18
  697. package/dist/cdn/MGLOK6G6.js +0 -4
  698. package/dist/cdn/MGQ7JXPR.js +0 -4
  699. package/dist/cdn/MGWW6MPC.js +0 -4
  700. package/dist/cdn/MJW4C2UT.js +0 -4
  701. package/dist/cdn/MPAC6ACP.js +0 -4
  702. package/dist/cdn/MXVQWNSO.js +0 -4
  703. package/dist/cdn/MZKLKS6I.js +0 -4
  704. package/dist/cdn/N6QQZFT5.js +0 -4
  705. package/dist/cdn/NBOCMHX6.js +0 -4
  706. package/dist/cdn/ND2C6KMG.js +0 -18
  707. package/dist/cdn/NE6U33BE.js +0 -9
  708. package/dist/cdn/NHLT7M36.js +0 -21
  709. package/dist/cdn/NLUZGNSN.js +0 -4
  710. package/dist/cdn/NYBXXXFR.js +0 -4
  711. package/dist/cdn/OADOYFV7.js +0 -4
  712. package/dist/cdn/OBBAK6WE.js +0 -4
  713. package/dist/cdn/OBSNNREX.js +0 -4
  714. package/dist/cdn/OD3QTJAN.js +0 -4
  715. package/dist/cdn/OFNTBPZ5.js +0 -4
  716. package/dist/cdn/OJZCK5XA.js +0 -4
  717. package/dist/cdn/OTLPAZXI.js +0 -4
  718. package/dist/cdn/OTY43NZY.js +0 -18
  719. package/dist/cdn/OVM4U6YF.js +0 -4
  720. package/dist/cdn/OXUROQRO.js +0 -4
  721. package/dist/cdn/OYNJ6GFI.js +0 -4
  722. package/dist/cdn/P2ZBSU5H.js +0 -18
  723. package/dist/cdn/PFANUBNV.js +0 -4
  724. package/dist/cdn/PLW2DSVT.js +0 -4
  725. package/dist/cdn/PNLI6VBN.js +0 -4
  726. package/dist/cdn/PQFMMRQF.js +0 -4
  727. package/dist/cdn/PYOCFNFS.js +0 -4
  728. package/dist/cdn/PZCE22XQ.js +0 -4
  729. package/dist/cdn/PZH7RCYT.js +0 -4
  730. package/dist/cdn/Q274TR3Z.js +0 -18
  731. package/dist/cdn/Q5KPFPGD.js +0 -4
  732. package/dist/cdn/QAPZIGZM.js +0 -4
  733. package/dist/cdn/QAXMDQX3.js +0 -4
  734. package/dist/cdn/QFL5XFOY.js +0 -19
  735. package/dist/cdn/QKV74IV3.js +0 -18
  736. package/dist/cdn/QQ5C5WOS.js +0 -4
  737. package/dist/cdn/QSZDH2XJ.js +0 -4
  738. package/dist/cdn/QVDUABX7.js +0 -4
  739. package/dist/cdn/QZC5UTRX.js +0 -18
  740. package/dist/cdn/R474NPB2.js +0 -4
  741. package/dist/cdn/RCWPPZIY.js +0 -4
  742. package/dist/cdn/RF6B6MW7.js +0 -18
  743. package/dist/cdn/RLSD2M4U.js +0 -5
  744. package/dist/cdn/RN2IQ6P7.js +0 -4
  745. package/dist/cdn/ROASTLYA.js +0 -4
  746. package/dist/cdn/RQBPWWL2.js +0 -4
  747. package/dist/cdn/RQETMS6H.js +0 -4
  748. package/dist/cdn/RSTCU2L3.js +0 -4
  749. package/dist/cdn/RTNMZG5Q.js +0 -4
  750. package/dist/cdn/RXM4HJ6I.js +0 -4
  751. package/dist/cdn/S2BUTHI2.js +0 -4
  752. package/dist/cdn/S6Q334DO.js +0 -4
  753. package/dist/cdn/S7RSY7HH.js +0 -4
  754. package/dist/cdn/SB2P3KLH.js +0 -4
  755. package/dist/cdn/SBV7BWCP.js +0 -4
  756. package/dist/cdn/SIE6CDNG.js +0 -4
  757. package/dist/cdn/SKBIH7Z2.js +0 -4
  758. package/dist/cdn/SNTUWGY2.js +0 -18
  759. package/dist/cdn/SS34O6SJ.js +0 -4
  760. package/dist/cdn/SWN5VSPM.js +0 -8
  761. package/dist/cdn/SZAH6PQP.js +0 -18
  762. package/dist/cdn/T2S7EWB5.js +0 -4
  763. package/dist/cdn/T2ZLWCLC.js +0 -4
  764. package/dist/cdn/TCPVLIO2.js +0 -18
  765. package/dist/cdn/TGDGVXKT.js +0 -4
  766. package/dist/cdn/TNFKJE4M.js +0 -9
  767. package/dist/cdn/TO4XC5SF.js +0 -19
  768. package/dist/cdn/TPMHGYOD.js +0 -4
  769. package/dist/cdn/TTADVCT4.js +0 -4
  770. package/dist/cdn/TXTZQIXU.js +0 -4
  771. package/dist/cdn/TXV3OSVN.js +0 -18
  772. package/dist/cdn/U3NL7FT6.js +0 -4
  773. package/dist/cdn/U4JDQFDS.js +0 -4
  774. package/dist/cdn/U63ZSVX5.js +0 -4
  775. package/dist/cdn/U6X3W2T2.js +0 -4
  776. package/dist/cdn/UCXPZD52.js +0 -4
  777. package/dist/cdn/UG6Y6SUL.js +0 -4
  778. package/dist/cdn/UK6IC5E3.js +0 -4
  779. package/dist/cdn/UMBJBGPS.js +0 -4
  780. package/dist/cdn/UNZ4TB2U.js +0 -4
  781. package/dist/cdn/UQ33VZUS.js +0 -4
  782. package/dist/cdn/UU4ZDJVO.js +0 -4
  783. package/dist/cdn/V5UDKO3L.js +0 -4
  784. package/dist/cdn/VDJEIK4Q.js +0 -82
  785. package/dist/cdn/VE7TDW2K.js +0 -18
  786. package/dist/cdn/VNA2COY6.js +0 -4
  787. package/dist/cdn/VZLWG2KJ.js +0 -18
  788. package/dist/cdn/W34PKOJS.js +0 -4
  789. package/dist/cdn/W3EZRLCH.js +0 -18
  790. package/dist/cdn/W3X6SZND.js +0 -4
  791. package/dist/cdn/W7TKP6V5.js +0 -4
  792. package/dist/cdn/WAQDYC7I.js +0 -18
  793. package/dist/cdn/WL2HLYRG.js +0 -4
  794. package/dist/cdn/WMIGKGLJ.js +0 -20
  795. package/dist/cdn/WPRGEX3Q.js +0 -4
  796. package/dist/cdn/WQMZCCTG.js +0 -4
  797. package/dist/cdn/WRPJ4GDB.js +0 -4
  798. package/dist/cdn/WWT2VJFI.js +0 -18
  799. package/dist/cdn/WXCJRGZG.js +0 -18
  800. package/dist/cdn/X4XPW2FK.js +0 -4
  801. package/dist/cdn/X6PEX6MA.js +0 -18
  802. package/dist/cdn/X6PG67VX.js +0 -4
  803. package/dist/cdn/X6SSAB2E.js +0 -4
  804. package/dist/cdn/X6Y2CG22.js +0 -4
  805. package/dist/cdn/X7BDUXYU.js +0 -18
  806. package/dist/cdn/XAHRAKUG.js +0 -4
  807. package/dist/cdn/XBBZMVKA.js +0 -4
  808. package/dist/cdn/XHQ34X3G.js +0 -4
  809. package/dist/cdn/XIAOC6XW.js +0 -4
  810. package/dist/cdn/XIXNLRAQ.js +0 -4
  811. package/dist/cdn/XJ62F4NL.js +0 -4
  812. package/dist/cdn/XK5FC7XQ.js +0 -4
  813. package/dist/cdn/XQSYZIRC.js +0 -4
  814. package/dist/cdn/XRPPXHNC.js +0 -18
  815. package/dist/cdn/XXDPF2HK.js +0 -4
  816. package/dist/cdn/XYSEGG7Q.js +0 -4
  817. package/dist/cdn/XZSRLA3D.js +0 -4
  818. package/dist/cdn/Y3S2FSFT.js +0 -4
  819. package/dist/cdn/Y74KYB73.js +0 -4
  820. package/dist/cdn/YHURTADW.js +0 -4
  821. package/dist/cdn/YNNECUYO.js +0 -4
  822. package/dist/cdn/YO25MEEB.js +0 -4
  823. package/dist/cdn/YQNHBPTC.js +0 -4
  824. package/dist/cdn/Z44XX64I.js +0 -4
  825. package/dist/cdn/Z4SN7DKN.js +0 -4
  826. package/dist/cdn/ZAGSKRBT.js +0 -4
  827. package/dist/cdn/ZD7TFS7W.js +0 -18
  828. package/dist/cdn/ZHHNANTF.js +0 -18
  829. package/dist/cdn/ZHUFA7F3.js +0 -4
  830. package/dist/cdn/ZKTXJLE2.js +0 -4
  831. package/dist/cdn/ZRW2OJ4E.js +0 -18
  832. package/dist/cdn/ZUOIOELU.js +0 -18
  833. package/dist/cdn/ZWMQNYU4.js +0 -4
  834. package/dist/cdn/ZYJNP3QC.js +0 -4
  835. package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +0 -1
  836. package/dist/cdn/assets/solution-article-card/t9n/messages.json +0 -1
  837. package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +0 -1
  838. package/dist/cdn/assets/solutions-articles/t9n/messages.json +0 -1
  839. package/dist/components/solution-article-card/customElement.d.ts +0 -37
  840. package/dist/components/solution-article-card/customElement.js +0 -49
  841. package/dist/components/solutions-article-panel/customElement.d.ts +0 -17
  842. package/dist/components/solutions-article-panel/customElement.js +0 -43
  843. package/dist/components/solutions-articles/customElement.d.ts +0 -7
  844. package/dist/components/solutions-articles/customElement.js +0 -79
  845. package/dist/components/solutions-articles/index.d.ts +0 -11
  846. package/dist/components/solutions-articles/index.js +0 -11
  847. package/dist/components/solutions-articles-shell/customElement.d.ts +0 -7
  848. package/dist/components/solutions-articles-shell/customElement.js +0 -43
  849. package/dist/components/solutions-articles-shell/index.d.ts +0 -5
  850. package/dist/components/solutions-articles-shell/index.js +0 -5
  851. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ar.json +0 -0
  852. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bg.json +0 -0
  853. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bs.json +0 -0
  854. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ca.json +0 -0
  855. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.cs.json +0 -0
  856. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.da.json +0 -0
  857. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.de.json +0 -0
  858. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.el.json +0 -0
  859. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.es.json +0 -0
  860. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.et.json +0 -0
  861. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fi.json +0 -0
  862. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fr.json +0 -0
  863. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.he.json +0 -0
  864. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hr.json +0 -0
  865. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hu.json +0 -0
  866. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.id.json +0 -0
  867. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.it.json +0 -0
  868. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ja.json +0 -0
  869. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ko.json +0 -0
  870. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lt.json +0 -0
  871. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lv.json +0 -0
  872. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.nl.json +0 -0
  873. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.no.json +0 -0
  874. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pl.json +0 -0
  875. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-BR.json +0 -0
  876. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-PT.json +0 -0
  877. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ro.json +0 -0
  878. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ru.json +0 -0
  879. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sk.json +0 -0
  880. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sl.json +0 -0
  881. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sr.json +0 -0
  882. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sv.json +0 -0
  883. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.th.json +0 -0
  884. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.tr.json +0 -0
  885. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.uk.json +0 -0
  886. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.vi.json +0 -0
  887. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-CN.json +0 -0
  888. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-HK.json +0 -0
  889. /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-TW.json +0 -0
  890. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ar.json +0 -0
  891. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bg.json +0 -0
  892. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bs.json +0 -0
  893. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ca.json +0 -0
  894. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.cs.json +0 -0
  895. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.da.json +0 -0
  896. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.de.json +0 -0
  897. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.el.json +0 -0
  898. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.en.json +0 -0
  899. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.es.json +0 -0
  900. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.et.json +0 -0
  901. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fi.json +0 -0
  902. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fr.json +0 -0
  903. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.he.json +0 -0
  904. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hr.json +0 -0
  905. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hu.json +0 -0
  906. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.id.json +0 -0
  907. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.it.json +0 -0
  908. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ja.json +0 -0
  909. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.json +0 -0
  910. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ko.json +0 -0
  911. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lt.json +0 -0
  912. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lv.json +0 -0
  913. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.nl.json +0 -0
  914. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.no.json +0 -0
  915. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pl.json +0 -0
  916. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-BR.json +0 -0
  917. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-PT.json +0 -0
  918. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ro.json +0 -0
  919. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ru.json +0 -0
  920. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sk.json +0 -0
  921. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sl.json +0 -0
  922. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sr.json +0 -0
  923. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sv.json +0 -0
  924. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.th.json +0 -0
  925. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.tr.json +0 -0
  926. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.uk.json +0 -0
  927. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.vi.json +0 -0
  928. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-CN.json +0 -0
  929. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-HK.json +0 -0
  930. /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-TW.json +0 -0
  931. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ar.json +0 -0
  932. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bg.json +0 -0
  933. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bs.json +0 -0
  934. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ca.json +0 -0
  935. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.cs.json +0 -0
  936. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.da.json +0 -0
  937. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.de.json +0 -0
  938. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.el.json +0 -0
  939. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.es.json +0 -0
  940. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.et.json +0 -0
  941. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fi.json +0 -0
  942. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fr.json +0 -0
  943. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.he.json +0 -0
  944. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hr.json +0 -0
  945. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hu.json +0 -0
  946. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.id.json +0 -0
  947. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.it.json +0 -0
  948. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ja.json +0 -0
  949. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ko.json +0 -0
  950. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lt.json +0 -0
  951. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lv.json +0 -0
  952. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.nl.json +0 -0
  953. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.no.json +0 -0
  954. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pl.json +0 -0
  955. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-BR.json +0 -0
  956. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-PT.json +0 -0
  957. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ro.json +0 -0
  958. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ru.json +0 -0
  959. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sk.json +0 -0
  960. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sl.json +0 -0
  961. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sr.json +0 -0
  962. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sv.json +0 -0
  963. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.th.json +0 -0
  964. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.tr.json +0 -0
  965. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.uk.json +0 -0
  966. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.vi.json +0 -0
  967. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-CN.json +0 -0
  968. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-HK.json +0 -0
  969. /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-TW.json +0 -0
  970. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ar.json +0 -0
  971. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bg.json +0 -0
  972. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bs.json +0 -0
  973. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ca.json +0 -0
  974. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.cs.json +0 -0
  975. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.da.json +0 -0
  976. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.de.json +0 -0
  977. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.el.json +0 -0
  978. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.en.json +0 -0
  979. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.es.json +0 -0
  980. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.et.json +0 -0
  981. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fi.json +0 -0
  982. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fr.json +0 -0
  983. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.he.json +0 -0
  984. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hr.json +0 -0
  985. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hu.json +0 -0
  986. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.id.json +0 -0
  987. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.it.json +0 -0
  988. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ja.json +0 -0
  989. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.json +0 -0
  990. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ko.json +0 -0
  991. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lt.json +0 -0
  992. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lv.json +0 -0
  993. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.nl.json +0 -0
  994. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.no.json +0 -0
  995. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pl.json +0 -0
  996. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-BR.json +0 -0
  997. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-PT.json +0 -0
  998. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ro.json +0 -0
  999. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ru.json +0 -0
  1000. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sk.json +0 -0
  1001. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sl.json +0 -0
  1002. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sr.json +0 -0
  1003. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sv.json +0 -0
  1004. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.th.json +0 -0
  1005. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.tr.json +0 -0
  1006. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.uk.json +0 -0
  1007. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.vi.json +0 -0
  1008. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-CN.json +0 -0
  1009. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-HK.json +0 -0
  1010. /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-TW.json +0 -0
  1011. /package/dist/components/{solution-article-card → solution-resource-card}/index.d.ts +0 -0
  1012. /package/dist/components/{solution-article-card → solution-resource-card}/index.js +0 -0
  1013. /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.d.ts +0 -0
  1014. /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.10 */
4
+ import{$ as bt,$a as rr,$b as Vr,A as It,Aa as vo,Ab as wr,B as pe,Ba as Fo,C,Ca as Nt,Cb as xr,D as gt,Da as Lt,Db as Sr,E as Ke,Ea as ue,Eb as Er,F as xe,Fa as Oo,Fb as br,G as x,Ga as $t,Gb as re,H as xo,Ha as Vt,Hb as Tr,I as ht,Ia as Bt,Ib as vr,J as f,Ja as zt,Jb as Fr,K as yt,Ka as Gt,Kb as Or,La as jt,Lb as _r,M as Se,Ma as Kt,Mb as Rr,N as E,Na as Ht,Nb as kr,O as Ee,Oa as qt,Ob as Ar,P as Pt,Pa as Jt,Pb as Cr,Q as So,Qa as Dt,Qb as Mr,R as Eo,Ra as Zt,Rb as Ur,S as He,Sa as Qt,Sb as Wr,T as H,Ta as Yt,Tb as Nr,U as wt,Ua as _o,Ub as Lr,V as xt,Va as Qe,Vb as $r,W as St,Wa as Xt,Wb as Ao,X as B,Xa as er,Xb as Xe,Y as Et,Ya as or,Yb as Co,Z as G,Za as te,Zb as Te,_ as qe,_a as tr,_b as eo,a as Ue,aa as bo,ab as nr,ac as Br,ba as oe,bb as sr,c as N,ca as w,cb as ir,cc as zr,d as X,da as T,db as mr,dc as Gr,e as ct,ea as Z,eb as ar,ec as jr,f as ie,fa as Je,fb as cr,ga as Tt,gb as dr,gc as Kr,h as u,ha as vt,hb as pr,i as Po,ia as To,ib as be,j as me,ja as Ft,jb as _,jc as Hr,k as $e,ka as Ot,kb as Ye,kc as ve,l as ce,la as _t,lc as oo,m as Ve,ma as Rt,mc as to,n as Be,na as kt,nb as fr,nc as qr,o as wo,oa as At,ob as ur,oc as ro,p as pt,pa as A,pb as z,pc as Jr,q as ze,qa as fe,qb as lr,r as ft,ra as q,rb as le,s as Ge,sb as J,t as je,ta as De,tb as Ir,u as ee,ua as Ze,ub as Ro,va as Ct,vb as gr,w as de,wb as ko,x as ut,xa as Mt,xb as hr,y as g,ya as Ut,yb as yr,z as lt,za as Wt,zb as Pr}from"./V2DI62OA.js";import{a as ae,g as we}from"./7XXVA3F6.js";import{a as L}from"./EFGFST2X.js";import{a as K,b as We,c as Ne,d as Le}from"./3EEQEIIF.js";import{e as j,f as mt,j as Ae,l as Ce,o as at,s as Me}from"./5UV7A5EY.js";import{a as it}from"./76QGCX3G.js";import{a as dt}from"./5XIPGVUW.js";import{a as V}from"./WFSFUZOC.js";import{c as W}from"./AM4POOOK.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.10 */
4
+ import{c as d}from"./DEMY5LXS.js";var r=class extends Event{constructor(t,e,n,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e,this.callback=n,this.subscribe=s??!1}};var a=class{constructor(t,e,n,s){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(o,c)=>{this.unsubscribe&&(this.unsubscribe!==c&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=o,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(o,c)),this.unsubscribe=c},this.host=t,e.context!==void 0){let o=e;this.context=o.context,this.callback=o.callback,this.subscribe=o.subscribe??!1}else this.context=e,this.callback=n,this.subscribe=s??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new r(this.context,this.host,this.t,this.subscribe))}};var u=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let n=e||!Object.is(t,this.o);this.o=t,n&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:n}]of this.subscriptions)e(this.o,n)},t!==void 0&&(this.value=t)}addCallback(t,e,n){if(!n)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:s}=this.subscriptions.get(t);t(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var l=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}},h=class extends u{constructor(t,e,n){super(e.context!==void 0?e.initialValue:n),this.onContextRequest=s=>{if(s.context!==this.context)return;let o=s.contextTarget??s.composedPath()[0];o!==this.host&&(s.stopPropagation(),this.addCallback(s.callback,o,s.subscribe))},this.onProviderRequest=s=>{if(s.context!==this.context||(s.contextTarget??s.composedPath()[0])===this.host)return;let o=new Set;for(let[c,{consumerHost:x}]of this.subscriptions)o.has(c)||(o.add(c),x.dispatchEvent(new r(this.context,x,c,!0)));s.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new l(this.context,this.host))}};var A=i=>{let t=d(),e=new h(t.el,i);return t.addController(e),e},B=i=>{let t=d(),e=new a(t.el,i);return t.addController(e),e};export{A as a,B 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.10 */
4
+ import"./AM4POOOK.js";var e="\u60A8\u6C92\u6709\u8DB3\u5920\u7684\u9EDE\u6578\u4F86\u57F7\u884C\u6B64\u64CD\u4F5C\u3002 \u806F\u7D61 ArcGIS \u7CFB\u7D71\u7BA1\u7406\u54E1\u4EE5\u53D6\u5F97\u5354\u52A9\u3002",a="\u6B64\u5DE5\u5177\u662F\u5F9E\u7B46\u8A18\u672C\u767C\u4F48\u7684\u3002 \u60A8\u7684\u7D44\u7E54\u5C0D ArcGIS Notebooks \u7684\u5B58\u53D6\u88AB\u5C01\u9396\u3002 \u8ACB\u806F\u7D61\u60A8\u7684\u7BA1\u7406\u54E1\u4EE5\u8ABF\u6574\u8A2D\u5B9A\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u9808\u7B26\u5408\u4E0B\u5217\u5176\u4E2D\u4E00\u9805\u7D50\u69CB\u63CF\u8FF0: ${ schemaOptions }\u3002",o="\u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u5730\u5716\u3002",s="\u9EDE\u6578\u4F30\u8A08\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u4F30\u8A08\u9EDE\u6578\u3002",i="\u57F7\u884C\u5206\u6790\u6642\u767C\u751F\u932F\u8AA4\u3002",l="${ dataPath } \u5FC5\u9808\u7B49\u65BC\u4E0B\u5217\u5176\u4E2D\u4E00\u500B\u5141\u8A31\u503C: ${ allowedValues }\u3002",d="\u7121\u6CD5\u5132\u5B58\u5206\u6790\u6B77\u7A0B\u8A18\u9304",n="\u6B77\u7A0B\u8A18\u9304\u5132\u5B58\u9AD4\u6EFF\u6EA2\u3002 \u5F9E\u5206\u6790\u6B77\u53F2\u8A18\u9304\u4E2D\u79FB\u9664\u4E00\u4E9B\u9805\u76EE\u4E26\u5617\u8A66\u518D\u6B21\u5132\u5B58\u3002",c="\u670D\u52D9\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002",m="\u5C07\u81E8\u6642\u5716\u5C64\u5132\u5B58\u70BA\u8A17\u7BA1\u5716\u5FB5\u5716\u5C64\u672A\u5B8C\u6210\u3002",u="\u7121\u6CD5\u53D6\u5F97\u91D1\u9470\u5C6C\u6027\u3002",E="\u7121\u6CD5\u8F09\u5165\u5716\u5C64\u3002",h="\u5716\u5C64\u7121\u6CD5\u4F7F\u7528\u3002",y="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u591A\u65BC ${ limit } \u500B\u3002",P="\u5132\u5B58\u6A21\u578B\u6642\u767C\u751F\u932F\u8AA4\u3002 \u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u3002",p="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u5C11\u65BC ${ limit } \u500B\u3002",S="${ dataPath } \u4E0D\u61C9\u77ED\u65BC ${ limit } \u500B\u5B57\u5143\u3002",$="\u7121\u6CD5\u8F09\u5165\u6A21\u578B\u9805\u76EE\u3002 \u78BA\u5B9A\u6A21\u578B\u5B58\u5728\uFF0C\u4E26\u4E14\u5DF2\u6388\u4E88\u5B58\u53D6\u6B0A\u9650\u3002",v="\u7121\u6CD5\u5B8C\u6210\u8ACB\u6C42\u3002",f="\u60A8\u6C92\u6709\u57F7\u884C\u6B64\u5DE5\u5177\u7684\u6B0A\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A</calcite-link>",F="\u7121\u6CD5\u767B\u5165\u5230\u5165\u53E3\u7DB2\u7AD9\u3002",I="\u7121\u6CD5\u8B80\u53D6\u8F38\u5165\u8CC7\u6599\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u70BA ${ missingProperty } \u7684\u5C6C\u6027\u3002",T="\u5DF2\u5B58\u5728\u6B64\u540D\u7A31\u7684\u7D50\u679C\u5716\u5C64\u3002 \u7D50\u679C\u5716\u5C64\u5728\u6574\u500B\u7D44\u7E54\u4E2D\u5FC5\u9808\u6709\u552F\u4E00\u540D\u7A31\u3002 \u8ACB\u4F7F\u7528\u4E0D\u540C\u7684\u540D\u7A31\u3002",L="\u8F38\u51FA\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002 <a href='${docLink}' target='_blank'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A\u3002</a>",b="\u7531\u65BC\u4E00\u6216\u591A\u500B\u7121\u6548\u6B04\u4F4D\uFF0C\u5C07\u81E8\u6642\u5716\u5C64\u767C\u4F48\u70BA\u8A17\u7BA1\u5716\u5C64\u5931\u6557\u3002 \u91CD\u65B0\u57F7\u884C\u5DE5\u5177\u4EE5\u5EFA\u7ACB\u5177\u5099\u6709\u6548\u6B04\u4F4D\u7684\u5716\u5C64\u3002",N="\u5DE5\u4F5C\u63D0\u4EA4\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u57F7\u884C\u5206\u6790\u3002",g="${ dataPath } \u81F3\u5C11\u5FC5\u9808\u6709\u4E00\u500B\u975E\u7A7A\u767D\u5B57\u5143\u3002",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
@@ -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.10 */
4
+ function a(t){let e=t;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://qaext.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://devext.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(e="https://www.arcgis.com"),e}export{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.10 */
4
+ import{a as Y}from"./MPP5RWNY.js";import{a as J}from"./SU3Z662V.js";import{a as F}from"./YZKEYQY4.js";import{a as w}from"./6IRBUQNK.js";import{a as W,b as H}from"./YYSIA432.js";import{d as N,g as B,h as V,i as X}from"./7XXVA3F6.js";import{b as h,c as E}from"./3TJ6KAGK.js";import{m as u,p as T}from"./XCGRV674.js";import"./3U6ZN4C3.js";import"./ERYB7Q7N.js";import"./EFGFST2X.js";import{b as S,d as C,f as R}from"./OIS6GKYP.js";import"./MZEWWDOB.js";import{i as j}from"./IGMLM2CZ.js";import"./VLFPDXI6.js";import{a as m,c as M,e as P,i as l}from"./3EEQEIIF.js";import"./OBU37VQP.js";import"./DGNI2L52.js";import"./WLNYC3K3.js";import{a as A,b as O}from"./76CZRVCQ.js";import{s as L}from"./5UV7A5EY.js";import"./76QGCX3G.js";import"./34R3QFL4.js";import{a as f}from"./5XIPGVUW.js";import"./WFSFUZOC.js";import"./2P7AHM5O.js";import{b as g}from"./4WLVJAGS.js";import"./AM4POOOK.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
@@ -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.10 */
4
+ import{F as s}from"./DEMY5LXS.js";var t=s({defaultAssetPath:"https://js.arcgis.com/4.34/instant-apps-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:p}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i 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.10 */
4
+ import{a as l}from"./OJGX3JRQ.js";import"./76CZRVCQ.js";import"./5XIPGVUW.js";import"./WFSFUZOC.js";import{a as t}from"./5AGZP7FN.js";import"./UTTX3CHJ.js";import"./DBI2CNJR.js";import"./SPWD7KIF.js";import"./GSGD5X3Z.js";import"./NV5T4KV3.js";import"./RXDQURDA.js";import"./NHLE5PEP.js";import"./2P7AHM5O.js";import"./FEPUY55K.js";import"./XT36IYWQ.js";import"./EVNPOEDN.js";import"./WTL3PEAQ.js";import"./46VGMHZ7.js";import"./EP2WLXYJ.js";import"./PZUT6W6N.js";import"./M4PLOIMT.js";import"./HI3PAOCL.js";import"./VUYIFP6K.js";import"./P7Q74AQB.js";import"./4WLVJAGS.js";import"./PAT7ZHEY.js";import"./LYUVSKJ2.js";import"./AM4POOOK.js";var n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n 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.10 */
4
+ import{a as G}from"./7XAH3ZHV.js";import{b as R}from"./VBEIJ53G.js";import{c as b,h as V,i as O}from"./DSDPXTB3.js";import{d as r,e as f,g as C}from"./GDPOK4XJ.js";import{d as D}from"./DFGNBIP4.js";import{b as x}from"./FFL7U4K2.js";import{a as $}from"./Z6NDLCDR.js";import"./EWMQ7W4X.js";import"./IKL6SJCX.js";import{b as E}from"./NOI3L73W.js";import{C as y,D as m,E as L,G as k,h as I,i as h,o as _,r as v}from"./DEMY5LXS.js";import"./AM4POOOK.js";var T=I`@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}.div-visible{display:inherit}.div-not-visible{display:none!important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=rtl] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:Avenir Next,Helvetica Neue,Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}.esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:700}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom: 0}.padding-start-1-2{padding-inline-start:.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}}`,w=class extends L{constructor(){super(),this.enabledLayerIds=[],this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.searchDistanceEnabled=!1,this.selectionSets=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.geometries=[],this._translations=$({name:"refine-selection",blocking:!0}),this._selectionMode=r.ADD,this._addEnabled=!0,this._drawTools=y(),this._refineSets=[],this._enabledLayerIds=[],this._layerPicker=y(),this._featuresCollection={},this._pnContextConsumer=R({context:G,subscribe:!0}),this._bufferTools=y(),this.selectionLoadingChange=_(),this.selectionSetsChanged=_(),this.listenOn(window,"distanceChanged",this.distanceChanged),this.listenOn(window,"unitChanged",this.unitChanged)}static{this.properties={addresseeLayer:0,enabledLayerIds:0,enableSearchDistance:5,enableSearchDistanceOnLoad:5,mapView:0,searchDistanceEnabled:5,selectionSets:0,sketchLineSymbol:0,sketchPointSymbol:0,sketchPolygonSymbol:0,defaultBufferUnit:1,bufferColor:1,bufferOutlineColor:1,defaultBufferDistance:9,geometries:0,_translations:16,_selectionMode:16,_refineLayer:16}}static{this.styles=T}static{this.shadowRootOptions=v}willUpdate(e){e.has("defaultBufferUnit")&&this.hasUpdated&&this._refineSelectionSet&&(this._refineSelectionSet.unit=this.defaultBufferUnit),e.has("defaultBufferDistance")&&this.hasUpdated&&this._refineSelectionSet&&(this._refineSelectionSet.distance=this.defaultBufferDistance)}async distanceChanged(e){e.detail.newValue!==e.detail.oldValue&&this._refineSelectionSet&&(this._refineSelectionSet.distance=e.detail.newValue)}async unitChanged(e){e.detail.newValue!==e.detail.oldValue&&this._refineSelectionSet&&(this._refineSelectionSet.unit=e.detail.newValue)}async load(){await this._initModules(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}async loaded(){await this._init()}render(){let e=this._enabledLayerIds.length>1?"display-block":"display-none";return h`<div class=${`${e} padding-top-sides-1`}><div class="display-flex"><calcite-label class="font-bold width-full label-margin-0"><div class="display-flex">${this._translations.inputLayer}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=refine-input-layer scale=s></calcite-icon></div><map-layer-picker .enabledLayerIds=${this._enabledLayerIds} .mapView=${this.mapView} @layerSelectionChange=${t=>{this._layerSelectionChange(t)}} .selectedIds=${this._refineLayer?[this._refineLayer.layer.id]:[]} ${m(this._layerPicker)}></map-layer-picker></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=refine-input-layer><span class="tooltip-message">${this._translations.inputLayerTip}</span></calcite-popover></div></div><div class="padding-1"><div class="padding-bottom-1"><calcite-segmented-control class="w-100" width=full><calcite-segmented-control-item .checked=${this._addEnabled} class="w-50 word-wrap-anywhere" @click=${()=>this._setSelectionMode(r.ADD)} .value=${r.ADD}><span class="font-weight-500">${this._translations.add}</span></calcite-segmented-control-item><calcite-segmented-control-item .checked=${!this._addEnabled} class="w-50 word-wrap-anywhere" @click=${()=>this._setSelectionMode(r.REMOVE)} .value=${r.REMOVE}><span class="font-weight-500">${this._translations.remove}</span></calcite-segmented-control-item></calcite-segmented-control></div><div><map-draw-tools active .drawMode=${C.REFINE} .mapView=${this.mapView} @drawRedo=${()=>this._redo()} @drawUndo=${()=>this._undo()} @sketchGraphicsChange=${this._sketchGraphicsChanged} .pointSymbol=${this.sketchPointSymbol} .polygonSymbol=${this.sketchPolygonSymbol} .polylineSymbol=${this.sketchLineSymbol} .redoEnabled=${this._refineSelectionSet?.redoStack&&this._refineSelectionSet.redoStack.length>0} .undoEnabled=${this._refineSelectionSet?.undoStack&&this._refineSelectionSet.undoStack.length>0} ${m(this._drawTools)}></map-draw-tools></div>${this.enableSearchDistance?this._getBufferOptions():void 0}<br>${h`<calcite-list class="list-border" label>${this._getRefineSelectionSetList()}</calcite-list>`}</div>`}async _initModules(){let[e,t]=await x(["esri/layers/GraphicsLayer","esri/Graphic"]);this.GraphicsLayer=e,this.Graphic=t}async _init(){this._initGraphicsLayer()}_initGraphicsLayer(){let e=this._translations.bufferLayer;if(this.mapView){let t=this.mapView.map.layers.findIndex(i=>i.title===e);if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else if(this._bufferGraphicsLayer=this.GraphicsLayer&&new this.GraphicsLayer({title:e,listMode:"hide"}),this._bufferGraphicsLayer){let i=this.mapView.map.layers.findIndex(s=>s.title===this._translations.sketchLayer);i>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,i):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}_layerSelectionChange(e){let t=e.detail[0];this._setRefineSet(t)}_setSelectionMode(e){this._selectionMode=e}_sketchGraphicsChanged(e){let t=(e.detail?.graphics[0]).geometry;this.geometries=[t],this._selectFeatures(t)}_getEnabledLayerIds(){return this.selectionSets.reduce((e,t)=>{let i=t?.layerView?.layer.id;return i&&e.indexOf(i)<0?e.push(i):t.workflowType===f.REFINE&&Object.keys(t.refineInfos).forEach(s=>{e.indexOf(s)<0&&e.push(s)}),e},[])}async _setRefineSet(e){this.selectionSets.some(t=>t.workflowType===f.REFINE?(this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(e)>-1):!1)||await this._initRefineSet(e,this._refineSelectionSet),this._refineSelectionSet&&(this._refineLayer=this._refineSelectionSet.refineInfos[e].layerView)}async _initRefineSet(e,t){let i={};i[e]={addIds:[],removeIds:[],layerView:this.mapView&&await b(this.mapView,e)},t?t.refineInfos={...t.refineInfos,...i}:(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:this.defaultBufferDistance||0,download:!0,unit:this.defaultBufferUnit||"feet",label:"Refine",selectedIds:[],layerView:this.mapView&&await b(this.mapView,e),geometries:[],graphics:[],selectLayers:[],workflowType:f.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:i,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){if(this._refineSelectionSet){let e=this._refineSelectionSet.undoStack&&this._refineSelectionSet.undoStack.pop();e&&this._refineSelectionSet.redoStack&&this._updateIds(e.ids,e.mode===r.ADD?r.REMOVE:r.ADD,this._refineSelectionSet.redoStack,e.layerView)}}_redo(){if(this._refineSelectionSet){let e=this._refineSelectionSet.redoStack&&this._refineSelectionSet.redoStack.pop();e&&this._refineSelectionSet.undoStack&&this._updateIds(e.ids,e.mode===r.ADD?r.REMOVE:r.ADD,this._refineSelectionSet.undoStack,e.layerView)}}_getBufferOptions(){this.enableSearchDistanceOnLoad&&this._refineSelectionSet&&(this._refineSelectionSet.searchDistanceEnabled=!0,this.searchDistanceEnabled=!0,this.enableSearchDistanceOnLoad=!1);let e=this._refineSelectionSet?.searchDistanceEnabled?"search-distance":"div-not-visible";return h`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.searchDistance}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=search-distance-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=search-distance-icon><span class="tooltip-message">${this._translations.useSearchDistanceTootip}</span></calcite-popover><calcite-switch .checked=${this._refineSelectionSet?.searchDistanceEnabled} @calciteSwitchChange=${()=>{this.searchDistanceEnabled=!this.searchDistanceEnabled,this._refineSelectionSet&&(this._refineSelectionSet.searchDistanceEnabled=this.searchDistanceEnabled)}}></calcite-switch></div><div class=${k(e)}><buffer-tools .disabled=${!this.searchDistanceEnabled} .distance=${this._refineSelectionSet?.distance} .geometries=${this.geometries} @bufferComplete=${t=>void this._bufferComplete(t)} .unit=${this._refineSelectionSet?.unit} ${m(this._bufferTools)}></buffer-tools></div></div>`}async _bufferComplete(e){if(this._bufferGeometry=Array.isArray(e.detail)?e.detail[0]:e.detail,this._bufferGeometry){let t={type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}},i=this.Graphic&&new this.Graphic({geometry:this._bufferGeometry,symbol:t});this._bufferGraphicsLayer&&i&&this.mapView&&(this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures(this._bufferGeometry))}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll()}_getRefineSelectionSetList(){let e=this._getTotal(this.selectionSets),t;this.selectionSets.some(c=>c.workflowType===f.REFINE?(t=c,!0):!1);let i=0,s=0;t?.refineInfos&&Object.keys(t.refineInfos).forEach(c=>{i+=t.refineInfos[c].addIds.length,s+=t.refineInfos[c].removeIds.length});let a=this._translations.featuresAdded,S=this._translations.featuresRemoved,d=this._translations.totalSelected;return[h`<calcite-list-item .label=${a.replace("{{n}}",i.toString())}></calcite-list-item>`,h`<calcite-list-item .label=${S.replace("{{n}}",s.toString())}></calcite-list-item>`,h`<calcite-list-item .label=${d.replace("{{n}}",e.toString())}></calcite-list-item>`]}_getTotal(e){let t=O(e);return Object.keys(t).reduce((i,s)=>{let a=t[s];return i+=a.ids.length,i},0)}async _selectFeatures(e){if(this.selectionLoadingChange.emit(!0),this._refineLayer){this._featuresCollection[this._refineLayer?.layer.id]=[];let t=await D(0,this._refineLayer?.layer,e,this._featuresCollection);this.selectionLoadingChange.emit(!1);let i=[];Object.keys(t).forEach(a=>{a===this._refineLayer?.layer.id&&(i=i.concat(t[a]))});let s=Array.isArray(i)?i.map(a=>a.attributes[a?.layer?.objectIdField]):[];this._refineSelectionSet?.undoStack&&await this._updateIds(s,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._bufferGraphicsLayer&&this._refineSelectionSet&&this._refineSelectionSet.distance>0&&(await new Promise(a=>setTimeout(a,1e3)),this._bufferGraphicsLayer.removeAll()),this.geometries=[],this._drawTools.value&&this._drawTools.value.clear()}}async _highlightFeatures(){let e=this._pnContextConsumer.value;e.removeHandles(),e.highlightHandles=await V(this.selectionSets)}async _updateIds(e,t,i,s){let a=!1,S=this._refineSelectionSet?.refineInfos,d=s.layer.id,c={};c[d]={addIds:[],removeIds:[],layerView:s};let n=S&&Object.keys(S).indexOf(d)>-1?S[d]:c[d];if(t===r.ADD)n.addIds=[...new Set([...e,...n.addIds])],n.addIds.length>0&&i.push({ids:e,mode:t,layerView:s}),n.removeIds.length>0&&(n.removeIds=n.removeIds.filter(u=>e.indexOf(u)<0));else{let u=this.selectionSets.reduce((o,l)=>(e.forEach(p=>{l.workflowType!==f.REFINE?l.selectedIds.indexOf(p)>-1&&o.push(p):Object.keys(l.refineInfos).some(A=>{let g=l.refineInfos[A];return g.layerView.layer.id===s.layer.id&&g.addIds.indexOf(p)>-1?(o.push(p),!0):!1})}),o),[]);n.removeIds=[...new Set([...u,...n.removeIds])],n.addIds=n.addIds.filter(o=>u.indexOf(o)<0),n.removeIds.length>0&&i.push({ids:u,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce((o,l)=>(l.workflowType!==f.REFINE&&l.layerView.layer.id===s.layer.id?(l.selectedIds=l.selectedIds.filter(p=>n.removeIds.indexOf(p)<0),l.selectedIds.length>0?o.push(l):a=!0):o.push(l),o),[])}this._refineSelectionSet&&(this._refineSelectionSet.refineInfos[d]=n),this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}};E("refine-selection",w);export{w as RefineSelection};
@@ -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.10 */
4
+ import a from"./HI4KSEBA.js";import"./V2DI62OA.js";import"./MPP5RWNY.js";import"./Q6Z4TTIZ.js";import"./7XXVA3F6.js";import"./XCGRV674.js";import"./ERYB7Q7N.js";import"./EFGFST2X.js";import"./OIS6GKYP.js";import"./IGMLM2CZ.js";import"./VLFPDXI6.js";import"./3EEQEIIF.js";import"./OBU37VQP.js";import"./WLNYC3K3.js";import"./76CZRVCQ.js";import"./5UV7A5EY.js";import"./76QGCX3G.js";import"./34R3QFL4.js";import"./5XIPGVUW.js";import"./WFSFUZOC.js";import"./2P7AHM5O.js";import{a as S}from"./MR3OHCGN.js";import"./VORLDHAW.js";import{c as w,j as M}from"./DSDPXTB3.js";import{j as u}from"./GDPOK4XJ.js";import"./DFGNBIP4.js";import{b as L}from"./FFL7U4K2.js";import{a as $}from"./Z6NDLCDR.js";import"./EWMQ7W4X.js";import"./IKL6SJCX.js";import{b as v}from"./NOI3L73W.js";import{C as r,D as h,E as I,G as f,h as y,i as o,l as m,o as p,r as g}from"./DEMY5LXS.js";import"./AM4POOOK.js";export default $arcgis.t(([{l:W}])=>{function V(l){return l?.indexOf("http://")!==-1}function b(l){return V(l)?l.replace(/^http:\/\//,"https://"):l}function T(l,e,i){return i&&i.forEach(s=>{l.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=b(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=b(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=b(s.proxyUrl))}}))})}),l}var k=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: 0;--calcite-block-padding: 0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none!important}.visibility-hidden-1{visibility:hidden;height:1px}.hidden{visibility:hidden!important}.display-flex{display:flex}.display-none{display:none}.display-block{display:block}.absolute-right{position:absolute;right:0;left:unset}.esri-ui-inner-container.esri-ui-corner-container{direction:ltr}html[dir=rtl] .absolute-right{left:0;right:unset}.panel-header-override{--calcite-panel-header-content-space: 0px}@media only screen and (max-width:1024px){.esri-zoom{display:none!important}}}`,_=class extends I{constructor(){super(),this.defaultWebmapId="",this.defaultLayerId="",this.enableHome=!1,this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableShare=!1,this.enableMapLayerPicker=!1,this.enableMapPicker=!1,this.enableSingleExpand=!1,this.enableSearch=!1,this.enableBasemap=!1,this.featureSelectionMode="multiple",this.hide=!1,this.zoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-leading",this.mobileMapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.stackTools=!1,this.mapToolsOrder=[],this.mobileToolsOrder=[],this.isMapLayout=!1,this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.selectedFeaturesIds=[],this.showOnlyUpdatableLayers=!1,this.isMobile=!1,this.enableSelectionTool=!1,this._configLayerOrderDefined=!1,this._translations=$({name:"map-card",blocking:!0}),this._toolInfos=[],this._filterActive=!1,this._enabledLayerIds=[],this._defaultWebmapHonored=!1,this._loadedId="",this._mapDiv=r(),this._mapPicker=r(),this._mapTools=r(),this._mobMapTools=r(),this._mapListExpanded=!1,this._definitionExpression="",this._mapLayerPicker=r(),this._toolbar=r(),this._selectedWebMapId="",this._isValidWebMap=!0,this.mapChanged=p(),this.beforeMapChanged=p(),this.toggleFilter=p(),this.clearSelection=p(),this.editMultipleFeatures=p(),this.listenOn(window,"mapInfoChange",this.mapInfoChange),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.enableSingleExpand=!0,this.stackTools=!0,S(window)}static{this.properties={appLayout:1,appProxies:1,defaultWebmapId:1,defaultLayerId:1,enableHome:5,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableShare:5,enableMapLayerPicker:5,enableMapPicker:5,enableSingleExpand:5,enableSearch:5,enableBasemap:5,featureSelectionMode:1,basemapConfig:0,hide:5,zoomToolsSize:1,mapInfos:0,mapWidgetsIndex:9,mapWidgetsPosition:1,mobileMapWidgetsPosition:1,mapWidgetsSize:1,mapView:0,stackTools:5,theme:1,mapToolsOrder:0,mobileToolsOrder:0,isMapLayout:5,shareIncludeEmbed:5,shareIncludeSocial:5,selectedFeaturesIds:0,selectedLayer:0,zoomToScale:9,showOnlyUpdatableLayers:5,isMobile:5,mapInfo:0,enableSelectionTool:5,_configLayerOrderDefined:16,_translations:16,_searchConfiguration:16,_webMapInfo:16,_toolInfos:16,_filterActive:16,_mapDivHeight:16,_mapDivWidth:16}}static{this.styles=k}static{this.shadowRootOptions=g}willUpdate(e){e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("selectedLayer")&&this.selectedLayerWatchHandler(),e.has("selectedFeaturesIds")&&this.selectedFeaturesIdsWatchHandler()}appLayoutWatchHandler(){this._updateShareUrl()}async mapInfoWatchHandler(){this._configLayerOrderDefined="configLayerOrder"in(this.mapInfo?.layerOptions||{}),this._enabledLayerIds=W(this.mapInfo?.layerOptions?.layers||[],this.mapInfo?.layerOptions?.configLayerOrder)}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await this.selectedLayer?.when(async()=>{this._definitionExpression=this.selectedLayer?.definitionExpression||""})}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(e){this._filterActive=e,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.value&&this._mapLayerPicker.value.updateLayer()}async mapInfoChange(e){this._selectedWebMapId=e.detail.id,await this._loadMap(e.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout(()=>{this._initToolInfos()},50)}async load(){await this._initModules(),this._initToolInfos(),this._mapSizeObserver||(this._mapSizeObserver=new ResizeObserver(()=>{if(this._mapDivWidth&&this._mapDiv.value){let e=this.isMobile?160:110;this._mapDivWidth=this._mapDiv.value.offsetWidth-e}}))}render(){let e=this.hide?"visibility-hidden-1":"",i=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",s="height-full",t=this.isMapLayout?"":"display-none",a=this._isValidWebMap?"":"hidden",d=this.isMobile?"":"hidden";return this._handleMapVisibility(),this._validateActiveActions(),o`<calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker()}${this._getHeaderActions()}<div slot=header-actions-end class="display-flex absolute-right">${this.enableShare&&this.isMapLayout?this._getShare("share"):void 0}</div><calcite-progress class=${f(t)} value=0></calcite-progress><div class=${`${e} ${s}`}><div class="height-full" ${h(this._mapDiv)}></div></div>${o`<map-tools .basemapConfig=${this.basemapConfig} class=${`box-shadow ${i} ${a}`} .defaultLayerId=${this.defaultLayerId} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSingleExpand=${this.enableSingleExpand} .enableSelectionTool=${this.enableSelectionTool} .isMobile=${this.isMobile} .parentComponentHeight=${this._mapDivHeight} .parentComponentWidth=${this._mapDivWidth} .zoomToolsSize=${this.zoomToolsSize} layout=horizontal .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .position=${this.mapWidgetsPosition} .selectedLayer=${this.selectedLayer} .searchConfiguration=${this._searchConfiguration} .stackTools=${this.stackTools} .toolOrder=${this.mapToolsOrder} ${h(this._mapTools)}></map-tools><map-tools class=${`box-shadow ${i} ${d}`} .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this._enabledLayerIds} .enableMapLayerPicker=${this.enableMapLayerPicker} .enableMapPicker=${this.enableMapPicker} .isMobile=${this.isMobile} .zoomToolsSize=${this.zoomToolsSize} layout=vertical .mapInfos=${this.mapInfos} .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .parentComponentHeight=${this._mapDivHeight} .position=${this.mobileMapWidgetsPosition} .selectedLayer=${this.selectedLayer} .selectedWebMapId=${this._selectedWebMapId} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} .stackTools=${this.stackTools} .toolOrder=${this.mobileToolsOrder} ${h(this._mobMapTools)}></map-tools>`}</calcite-panel>`}updated(){this._mapDivHeight=this._mapDiv.value?.offsetHeight??0,document.onclick=e=>this._handleDocumentClick(e)}loaded(){this._mapDiv.value&&this._mapSizeObserver?.observe(this._mapDiv.value),this._updateShareUrl()}async _initModules(){let[e,i,s,t]=await L(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=e,this.MapView=i,this.Home=s,this.esriConfig=t}async _loadMap(e){let i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter(n=>n.id===this.defaultWebmapId),t=JSON.stringify(e)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!e?.id&&this.mapInfos.length>0?this.mapInfos[0]:e;let a=this._webMapInfo.id,d=i&&e?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||d){let n=this.WebMap&&new this.WebMap({portalItem:{id:a}});try{n&&await n.load(),this.appProxies&&n&&this.esriConfig&&await T(n,this.esriConfig,this.appProxies),this.mapView=this.MapView&&new this.MapView({container:this._mapDiv.value,map:n,resizeAlign:"center"}),this._loadedId=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapView&&await this.mapView.when(()=>{if(this.mapView){let c=this.isMobile?160:110;this._mapDivWidth=this._mapDiv.value&&this._mapDiv.value.offsetWidth-c,this._mapTools.value&&this.mapView.ui.add(this._mapTools.value,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._mobMapTools.value&&this.mapView.ui.add(this._mobMapTools.value,{position:this.mobileMapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=d?!0:this._defaultWebmapHonored,this._isValidWebMap=!0,this.mapChanged.emit({id:a,mapView:this.mapView,isValid:!0}),this.isMobile||document.getElementsByClassName("esri-zoom")[0]?.classList.remove("display-none")}})}catch(c){console.error(c),this._loadedId=a,this._isValidWebMap=!1,this.mapChanged.emit({id:a,mapView:void 0,isValid:!1}),document.getElementsByClassName("esri-zoom")[0]?.classList.add("display-none");return}}else i?(this._defaultWebmapHonored=!0,this._mapPicker.value&&this._mapPicker.value.setMapByID(a)):t&&this.mapView&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView,isValid:!0}));this._updateShareUrl()}_getMapLayerPicker(){let e=this.isMapLayout?"header-actions-start":"",i=this.mapInfos?.length>1?"":"display-none",s=this.isMapLayout?"height-0":"width-full",t="display-flex",a=this.isMapLayout?"":"display-none";return o`${!this.isMobile&&o`<div slot=${e??m}><map-picker class=${`${i} ${s}`} id=map-picker .isMapLayout=${this.isMapLayout} .mapInfos=${this.mapInfos} .selectedWebMapId=${this._selectedWebMapId} ${h(this._mapPicker)}></map-picker></div>`||""}<div slot=header-actions-start class=${`mapView-header display-flex ${a}`} id=solutions-map-layer-picker-container><div class=${`border-end ${t}`}>${this.mapView&&o`<map-layer-picker appearance=transparent .configLayerOrderDefined=${this._configLayerOrderDefined} .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this.selectedLayer?[this.selectedLayer.id]:[]} show-single-layer-as-label show-tables show-tables-disabled type=dropdown ${h(this._mapLayerPicker)}></map-layer-picker>`||""}</div></div>`}_getHeaderActions(){return o`<div slot=header-content><calcite-action-bar class=${f("display-flex")} expand-disabled expanded id=${this._getId("bar")??m} layout=horizontal><calcite-action-group>${this.isMapLayout?this._getActions():void 0}</calcite-action-group></calcite-action-bar></div>`}_getShare(e){return o`<div class="share-action" id=${this._getId(e)??m}>${this.mapView&&o`<instant-apps-social-share class="instant-app-share" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${h(i=>{i&&(this._shareNode=i,this._updateShareUrl())})}></instant-apps-social-share>`||""}${this._getToolTip("bottom",`map-${e}`,this._translations?.share)}</div>`}_updateShareUrl(){let e=this._shareNode?.shareUrl;if(!e)return;let i=new URL(e);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),this.appLayout&&i.searchParams.set("applayout",this.appLayout),this._shareNode&&(this._shareNode.autoUpdateShareUrl=!1,this._shareNode.shareUrl=i.href)}_initToolInfos(){let e=this.selectedFeaturesIds.length>0,i=this.selectedFeaturesIds.length<2||this.selectedFeaturesIds.length>u,s=this.featureSelectionMode==="multiple"&&this.selectedLayer?.capabilities?.operations.supportsUpdate,t=[];t.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>void this._toggleFilter(),disabled:!1,toolTip:this._translations.filters}),t.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>void this._zoom(),disabled:!e,toolTip:this._translations.zoom}),s&&t.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this.selectedFeaturesIds),disabled:i,toolTip:this._translations.editMultiple}),t.push({active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer?.refresh(),disabled:!1,toolTip:this._translations.refresh}),t.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!e,toolTip:this._translations.clearSelection}),this._toolInfos=[...t]}_validateActiveActions(){let e=["filter"];this._toolInfos?.forEach(i=>{i&&e.indexOf(i.icon)>-1&&i.icon==="filter"&&(i.indicator=this._filterActive)})}_handleMapVisibility(){if(this._mapDiv.value){let e=this._mapDiv.value.getElementsByClassName("esri-view-surface")[0],i=this._mapDiv.value.getElementsByClassName("esri-attribution")[0];this._isValidWebMap?(e?.classList.remove("hidden"),i?.classList.remove("hidden")):(e?.classList.add("hidden"),i?.classList.add("hidden"))}}_validateEnabledActions(){let e=this.selectedFeaturesIds.length>0,i=this.selectedFeaturesIds.length<2||this.selectedFeaturesIds.length>u,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach(t=>{t&&s.indexOf(t.icon)>-1&&(t.disabled=t.icon==="pencil"?i:!e,t.toolTip=t.icon==="pencil"?this.selectedFeaturesIds.length>u?this._translations.featureEditLimitNotice:this._translations.editMultiple:t.toolTip)})}_handleDocumentClick(e){e.target.tagName!=="MAP-PICKER"&&(this._mapListExpanded=!1,this._mapPicker.value&&this._mapPicker.value.close())}async _zoom(){if(this.selectedLayer&&this.mapView){let e=await w(this.mapView,this.selectedLayer.id);e&&await M(this.selectedFeaturesIds,e,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let e=[];return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===this.selectedLayer?.id)),e.length>0}_getActions(){return this._toolInfos?.reduce((e,i)=>(i&&e.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,i.toolTip)),e),[])}_getToolTip(e,i,s){return o`<calcite-tooltip .placement=${e} .referenceElement=${i}><span>${s}</span></calcite-tooltip>`}_getAction(e,i,s,t,a,d,n,c){let x=this.selectedLayer===void 0?!0:d;return o`<calcite-action .active=${e} appearance=solid .disabled=${x} .icon=${i} .id=${`map-${i}`} .indicator=${s} .label=${t} .loading=${n} @click=${a} .text=${t} text-enabled></calcite-action>${this._getToolTip("auto",`map-${i}`,c)}`}_getId(e){return`solutions-action-${e}`}};v("map-card",_);return _},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.10 */
4
+ import{a as l}from"./KLWSSYYI.js";import"./34R3QFL4.js";import"./5XIPGVUW.js";import"./WFSFUZOC.js";import{a as o}from"./5AGZP7FN.js";import"./UTTX3CHJ.js";import"./DBI2CNJR.js";import"./SPWD7KIF.js";import"./GSGD5X3Z.js";import"./NV5T4KV3.js";import"./RXDQURDA.js";import"./NHLE5PEP.js";import"./2P7AHM5O.js";import"./FEPUY55K.js";import"./XT36IYWQ.js";import"./EVNPOEDN.js";import"./WTL3PEAQ.js";import"./46VGMHZ7.js";import"./EP2WLXYJ.js";import"./PZUT6W6N.js";import"./M4PLOIMT.js";import"./HI3PAOCL.js";import"./VUYIFP6K.js";import"./P7Q74AQB.js";import"./4WLVJAGS.js";import"./PAT7ZHEY.js";import"./LYUVSKJ2.js";import"./AM4POOOK.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};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.10 */
4
+ import{d as s}from"./76CZRVCQ.js";import"./5XIPGVUW.js";import"./WFSFUZOC.js";import"./2P7AHM5O.js";import"./AM4POOOK.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});export{a 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.10 */
4
+ import"./AM4POOOK.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t 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.10 */
4
+ import{b as e}from"./LYUVSKJ2.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
@@ -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.10 */
4
+ import{a as d}from"./I6SRLUO3.js";import{a as u,b as t,c as h}from"./SSGDG2KN.js";import"./5XIPGVUW.js";import{a as w}from"./WFSFUZOC.js";import"./AM4POOOK.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
@@ -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.10 */
4
+ import{s as c}from"./D4ANXHA6.js";import{b as r}from"./VORLDHAW.js";import{E as i,h as a,i as p}from"./DEMY5LXS.js";import"./AM4POOOK.js";var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(o,e)=>{let n=o.content;o.isExpand&&(n=await this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}async _getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,l=t?.expanded??!1;return await c({content:e,view:o,expanded:l,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);export{s as InstantAppsControlPanel};
@@ -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.10 */
4
+ import{a,b}from"./PZUT6W6N.js";import"./PAT7ZHEY.js";import"./AM4POOOK.js";export{a as GroupEditorTypes,b as GroupSchema};
@@ -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.10 */
4
+ import"./AM4POOOK.js";var a="Jums nav pietiekami daudz kred\u012Btu, lai izpild\u012Btu \u0161o darb\u012Bbu. Sazinieties ar ArcGIS sist\u0113mas administratoru, lai sa\u0146emtu pal\u012Bdz\u012Bbu.",e="\u0160is r\u012Bks tika public\u0113ts no notebook. ArcGIS Notebooks piek\u013Cuve j\u016Bsu organiz\u0101cijai ir blo\u0137\u0113ta. Sazinieties ar savu administratoru, lai piel\u0101gotu iestat\u012Bjumu.",i="${ dataPath } nedr\u012Bkst b\u016Bt ${ additionalProperty }.",r="${ dataPath } j\u0101atbilst k\u0101dai no \u0161\u0101d\u0101m sh\u0113m\u0101m: ${ schemaOptions }.",t="M\u0113\u0123iniet saglab\u0101t karti v\u0113lreiz.",s="Servisa kred\u012Bta apr\u0113\u0137ins neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz apr\u0113\u0137iniet servisa kred\u012Btus.",o="Veicot anal\u012Bzi, rad\u0101s k\u013C\u016Bda.",n="${ dataPath } j\u0101b\u016Bt vien\u0101dam ar k\u0101du no \u0161\u012Bm at\u013Cautaj\u0101m v\u0113rt\u012Bb\u0101m: ${ allowedValues }.",l="Neizdev\u0101s saglab\u0101t anal\u012Bzes v\u0113sturi",d="V\u0113stures kr\u0101tuve ir pilna. No\u0146emiet da\u017Eas vien\u012Bbas no anal\u012Bzes v\u0113stures un m\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",u="Pakalpojuma nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes.",m="Pagaidu sl\u0101\u0146a saglab\u0101\u0161ana viesota elementu sl\u0101\u0146a veid\u0101 netika pabeigta.",v="Neizdev\u0101s ieg\u016Bt galvenos rekviz\u012Btus.",k="Neizdev\u0101s iel\u0101d\u0113t sl\u0101ni.",c="Sl\u0101nis nav pieejams.",p="${ dataPath } nedr\u012Bkst b\u016Bt vair\u0101k par ${ limit } vien\u012Bb\u0101m.",z="Saglab\u0101jot modeli, rad\u0101s k\u013C\u016Bda. M\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",b="${ dataPath } nedr\u012Bkst b\u016Bt maz\u0101k par ${ limit } vien\u012Bb\u0101m.",g="${ dataPath } nedr\u012Bkst b\u016Bt \u012Bs\u0101ks par ${ limit } rakstz\u012Bm\u0113m.",P="Neizdev\u0101s iel\u0101d\u0113t mode\u013Ca vien\u012Bbu. P\u0101rliecinieties, vai modelis past\u0101v un ir pie\u0161\u0137irta piek\u013Cuves at\u013Cauja.",E="Neizdev\u0101s pabeigt piepras\u012Bjumu.",h="Jums nav at\u013Caujas lietot \u0161o r\u012Bku. <calcite-link target='_blank' href='${ docLink }'>Papildinform\u0101cija</calcite-link>",S="Neizdev\u0101s pieteikties port\u0101l\u0101.",j="Neizdev\u0101s nolas\u012Bt ievades datus.",y="${ dataPath } tr\u016Bkst parametra ar nosaukumu ${ missingProperty }.",N="Rezult\u0101tu sl\u0101nis ar \u0161\u0101du nosaukumu jau past\u0101v. Rezult\u0101tu sl\u0101\u0146iem vis\u0101 organiz\u0101cij\u0101 j\u0101b\u016Bt ar unik\u0101liem nosaukumiem. L\u016Bdzu, izmantojiet citu nosaukumu.",$="Izvades nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes. <a href='${docLink}' target='_blank'>Uzzin\u0101t vair\u0101k.</a>",f="Pagaidu sl\u0101\u0146a k\u0101 viesota sl\u0101\u0146a public\u0113\u0161ana neizdev\u0101s viena vai vair\u0101ku neder\u012Bgu lauku d\u0113\u013C. Atk\u0101rtoti palaidiet r\u012Bku, lai izveidotu sl\u0101ni ar der\u012Bgiem laukiem.",I="Darba iesnieg\u0161ana neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz palaidiet anal\u012Bzi.",F="${ dataPath } j\u0101b\u016Bt vismaz vienai rakstz\u012Bmei, kas nav atstarpe.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:u,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:v,layerLoadFailure:k,layerUnavailable:c,maxItems:p,mbFailedToSave:z,minItems:b,minLength:g,modelNotFound:P,networkError:E,noPermissionToAccessTool:h,portalLoadError:S,queryFeaturesError:j,requiredProperty:y,serviceNameExistsError:N,specialCharactersInServiceNameError:$,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:F};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,L as default,o as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,u as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,v as keyPropertiesError,k as layerLoadFailure,c as layerUnavailable,p as maxItems,z as mbFailedToSave,b as minItems,g as minLength,P as modelNotFound,E as networkError,h as noPermissionToAccessTool,S as portalLoadError,j as queryFeaturesError,y as requiredProperty,N as serviceNameExistsError,$ as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,F as whiteSpacePattern};
@@ -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.10 */
4
+ import"./AM4POOOK.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,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.10 */
4
+ import"./AM4POOOK.js";var e="\u60A8\u6C92\u6709\u8DB3\u5920\u7684\u9EDE\u6578\u4F86\u57F7\u884C\u6B64\u64CD\u4F5C\u3002 \u806F\u7D61 ArcGIS \u7CFB\u7D71\u7BA1\u7406\u54E1\u4EE5\u53D6\u5F97\u5354\u52A9\u3002",a="\u6B64\u5DE5\u5177\u662F\u5F9E\u7B46\u8A18\u672C\u767C\u4F48\u7684\u3002 \u60A8\u7684\u7D44\u7E54\u5C0D ArcGIS Notebooks \u7684\u5B58\u53D6\u88AB\u5C01\u9396\u3002 \u8ACB\u806F\u7D61\u60A8\u7684\u7BA1\u7406\u54E1\u4EE5\u8ABF\u6574\u8A2D\u5B9A\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u9808\u7B26\u5408\u4E0B\u5217\u5176\u4E2D\u4E00\u9805\u7D50\u69CB\u63CF\u8FF0: ${ schemaOptions }\u3002",o="\u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u5730\u5716\u3002",s="\u9EDE\u6578\u4F30\u8A08\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u4F30\u8A08\u9EDE\u6578\u3002",i="\u57F7\u884C\u5206\u6790\u6642\u767C\u751F\u932F\u8AA4\u3002",l="${ dataPath } \u5FC5\u9808\u7B49\u65BC\u4E0B\u5217\u5176\u4E2D\u4E00\u500B\u5141\u8A31\u503C: ${ allowedValues }\u3002",d="\u7121\u6CD5\u5132\u5B58\u5206\u6790\u6B77\u7A0B\u8A18\u9304",n="\u6B77\u7A0B\u8A18\u9304\u5132\u5B58\u9AD4\u6EFF\u6EA2\u3002 \u5F9E\u5206\u6790\u6B77\u53F2\u8A18\u9304\u4E2D\u79FB\u9664\u4E00\u4E9B\u9805\u76EE\u4E26\u5617\u8A66\u518D\u6B21\u5132\u5B58\u3002",c="\u670D\u52D9\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002",m="\u5C07\u81E8\u6642\u5716\u5C64\u5132\u5B58\u70BA\u8A17\u7BA1\u5716\u5FB5\u5716\u5C64\u672A\u5B8C\u6210\u3002",u="\u7121\u6CD5\u53D6\u5F97\u91D1\u9470\u5C6C\u6027\u3002",E="\u7121\u6CD5\u8F09\u5165\u5716\u5C64\u3002",h="\u5716\u5C64\u7121\u6CD5\u4F7F\u7528\u3002",y="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u591A\u65BC ${ limit } \u500B\u3002",P="\u5132\u5B58\u6A21\u578B\u6642\u767C\u751F\u932F\u8AA4\u3002 \u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u3002",p="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u5C11\u65BC ${ limit } \u500B\u3002",S="${ dataPath } \u4E0D\u61C9\u77ED\u65BC ${ limit } \u500B\u5B57\u5143\u3002",$="\u7121\u6CD5\u8F09\u5165\u6A21\u578B\u9805\u76EE\u3002 \u78BA\u5B9A\u6A21\u578B\u5B58\u5728\uFF0C\u4E26\u4E14\u5DF2\u6388\u4E88\u5B58\u53D6\u6B0A\u9650\u3002",v="\u7121\u6CD5\u5B8C\u6210\u8ACB\u6C42\u3002",f="\u60A8\u6C92\u6709\u57F7\u884C\u6B64\u5DE5\u5177\u7684\u6B0A\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A</calcite-link>",F="\u7121\u6CD5\u767B\u5165\u5230\u5165\u53E3\u7DB2\u7AD9\u3002",I="\u7121\u6CD5\u8B80\u53D6\u8F38\u5165\u8CC7\u6599\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u70BA ${ missingProperty } \u7684\u5C6C\u6027\u3002",T="\u5DF2\u5B58\u5728\u6B64\u540D\u7A31\u7684\u7D50\u679C\u5716\u5C64\u3002 \u7D50\u679C\u5716\u5C64\u5728\u6574\u500B\u7D44\u7E54\u4E2D\u5FC5\u9808\u6709\u552F\u4E00\u540D\u7A31\u3002 \u8ACB\u4F7F\u7528\u4E0D\u540C\u7684\u540D\u7A31\u3002",L="\u8F38\u51FA\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002 <a href='${docLink}' target='_blank'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A\u3002</a>",b="\u7531\u65BC\u4E00\u6216\u591A\u500B\u7121\u6548\u6B04\u4F4D\uFF0C\u5C07\u81E8\u6642\u5716\u5C64\u767C\u4F48\u70BA\u8A17\u7BA1\u5716\u5C64\u5931\u6557\u3002 \u91CD\u65B0\u57F7\u884C\u5DE5\u5177\u4EE5\u5EFA\u7ACB\u5177\u5099\u6709\u6548\u6B04\u4F4D\u7684\u5716\u5C64\u3002",N="\u5DE5\u4F5C\u63D0\u4EA4\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u57F7\u884C\u5206\u6790\u3002",g="${ dataPath } \u81F3\u5C11\u5FC5\u9808\u6709\u4E00\u500B\u975E\u7A7A\u767D\u5B57\u5143\u3002",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
@@ -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.10 */
4
+ import"./AM4POOOK.js";var e="\u05D0\u05D9\u05DF \u05DC\u05DA \u05DE\u05E1\u05E4\u05D9\u05E7 \u05E7\u05E8\u05D3\u05D9\u05D8\u05D9\u05DD \u05DC\u05D1\u05D9\u05E6\u05D5\u05E2 \u05E4\u05E2\u05D5\u05DC\u05D4 \u05D6\u05D5. \u05E4\u05E0\u05D4 \u05DC\u05DE\u05E0\u05D4\u05DC \u05DE\u05E2\u05E8\u05DB\u05EA ArcGIS \u05DC\u05E7\u05D1\u05DC\u05EA \u05E1\u05D9\u05D5\u05E2.",a="\u05DB\u05DC\u05D9 \u05D6\u05D4 \u05E4\u05D5\u05E8\u05E1\u05DD \u05DE-Notebook. \u05D4\u05D2\u05D9\u05E9\u05D4 \u05D0\u05DC ArcGIS Notebooks \u05D7\u05E1\u05D5\u05DE\u05D4 \u05E2\u05D1\u05D5\u05E8 \u05D0\u05E8\u05D2\u05D5\u05E0\u05DA. \u05E4\u05E0\u05D4 \u05DC\u05DE\u05E0\u05D4\u05DC \u05D4\u05DE\u05E2\u05E8\u05DB\u05EA \u05E9\u05DC\u05DA \u05DC\u05D4\u05EA\u05D0\u05DE\u05EA \u05D4\u05D4\u05D2\u05D3\u05E8\u05D4.",r="\u05DC-${ dataPath } \u05D0\u05E1\u05D5\u05E8 \u05DC\u05DB\u05DC\u05D5\u05DC ${ additionalProperty }.",t="${ dataPath } \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05E1\u05DB\u05DE\u05D4 \u05E9\u05DC \u05D0\u05D7\u05D3 \u05DE\u05D0\u05DC\u05D4: ${ schemaOptions }.",o="\u05E0\u05E1\u05D4 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05D0\u05EA \u05D4\u05DE\u05E4\u05D4 \u05E9\u05D5\u05D1.",s="\u05D4\u05E2\u05E8\u05DB\u05EA \u05E7\u05E8\u05D3\u05D9\u05D8\u05D9\u05DD \u05E0\u05DB\u05E9\u05DC\u05D4. \u05D2\u05DC\u05D5\u05DC \u05DC\u05DE\u05D8\u05D4, \u05EA\u05E7\u05DF \u05D0\u05EA \u05D4\u05E9\u05D2\u05D9\u05D0\u05D5\u05EA \u05D5\u05D4\u05E2\u05E8\u05DA \u05D0\u05EA \u05D4\u05E7\u05E8\u05D3\u05D9\u05D8\u05D9\u05DD \u05E9\u05D5\u05D1.",i='"\u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4 \u05D1\u05DE\u05D4\u05DC\u05DA \u05D4\u05E8\u05E6\u05EA \u05E0\u05D9\u05EA\u05D5\u05D7.',l="${ dataPath } \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05E9\u05D5\u05D5\u05D4 \u05DC\u05D0\u05D7\u05D3 \u05DE\u05D4\u05E2\u05E8\u05DB\u05D9\u05DD \u05D4\u05DE\u05D5\u05EA\u05E8\u05D9\u05DD \u05D4\u05D1\u05D0\u05D9\u05DD: ${ allowedValues }.",d="\u05E9\u05DE\u05D9\u05E8\u05EA \u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D9\u05EA \u05D4\u05E0\u05D9\u05EA\u05D5\u05D7 \u05E0\u05DB\u05E9\u05DC\u05D4",n="\u05D0\u05D7\u05E1\u05D5\u05DF \u05D4\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D4 \u05DE\u05DC\u05D0. \u05D4\u05E1\u05E8 \u05DB\u05DE\u05D4 \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05DE\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D9\u05EA \u05D4\u05E0\u05D9\u05EA\u05D5\u05D7 \u05D5\u05E0\u05E1\u05D4 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05E9\u05D5\u05D1.",c="\u05E9\u05DD \u05D4\u05E9\u05D9\u05E8\u05D5\u05EA \u05DE\u05DB\u05D9\u05DC \u05EA\u05D5 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9 \u05D0\u05D7\u05D3 \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8.",m="\u05E9\u05DE\u05D9\u05E8\u05EA \u05E9\u05DB\u05D1\u05D4 \u05D6\u05DE\u05E0\u05D9\u05EA \u05DB\u05E9\u05DB\u05D1\u05EA \u05D9\u05E9\u05D5\u05EA \u05DE\u05EA\u05D0\u05E8\u05D7\u05EA \u05DC\u05D0 \u05D4\u05D5\u05E9\u05DC\u05DE\u05D4.",u="\u05D4\u05E9\u05D2\u05EA \u05DE\u05D0\u05E4\u05D9\u05D9\u05E0\u05D9 \u05DE\u05E4\u05EA\u05D7 \u05E0\u05DB\u05E9\u05DC\u05D4.",E="\u05D8\u05E2\u05D9\u05E0\u05EA \u05D4\u05E9\u05DB\u05D1\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4",h="\u05D4\u05E9\u05DB\u05D1\u05D4 \u05DC\u05D0 \u05D6\u05DE\u05D9\u05E0\u05D4",y="\u05DC-${ dataPath } \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC\u05D9\u05DD \u05DC\u05D4\u05D9\u05D5\u05EA \u05D9\u05D5\u05EA\u05E8 \u05DE-${ limit } \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD.",P="\u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4 \u05D1\u05DE\u05D4\u05DC\u05DA \u05E9\u05DE\u05D9\u05E8\u05EA \u05D4\u05DE\u05D5\u05D3\u05DC. \u05E0\u05E1\u05D4 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05E9\u05D5\u05D1.",p="\u05DC-${ dataPath } \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC\u05D9\u05DD \u05DC\u05D4\u05D9\u05D5\u05EA \u05E4\u05D7\u05D5\u05EA \u05DE-${ limit } \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD.",S="${ dataPath } \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC \u05DC\u05D4\u05D9\u05D5\u05EA \u05E7\u05E6\u05E8 \u05D9\u05D5\u05EA \u05DE-${ limit } \u05EA\u05D5\u05D5\u05D9\u05DD.",$="\u05D8\u05E2\u05D9\u05E0\u05EA \u05E4\u05E8\u05D9\u05D8 \u05DE\u05D5\u05D3\u05DC \u05E0\u05DB\u05E9\u05DC\u05D4. \u05D5\u05D3\u05D0 \u05E9\u05D4\u05DE\u05D5\u05D3\u05DC \u05E7\u05D9\u05D9\u05DD \u05D5\u05E9\u05E0\u05D9\u05EA\u05E0\u05D4 \u05D4\u05E8\u05E9\u05D0\u05EA \u05D2\u05D9\u05E9\u05D4.",v="\u05D4\u05E9\u05DC\u05DE\u05EA \u05D4\u05D1\u05E7\u05E9\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4.",f="\u05D0\u05D9\u05DF \u05DC\u05DA \u05D4\u05E8\u05E9\u05D0\u05D4 \u05DC\u05D4\u05E8\u05D9\u05E5 \u05DB\u05DC\u05D9 \u05D6\u05D4. <calcite-link target='_blank' href='${ docLink }'>\u05DC\u05DE\u05D9\u05D3\u05E2 \u05E0\u05D5\u05E1\u05E3</calcite-link>",k="\u05DB\u05E0\u05D9\u05E1\u05D4 \u05D0\u05DC \u05D4\u05E4\u05D5\u05E8\u05D8\u05DC \u05E0\u05DB\u05E9\u05DC\u05D4.",F="\u05E7\u05E8\u05D9\u05D0\u05EA \u05E0\u05EA\u05D5\u05E0\u05D9 \u05D4\u05E7\u05DC\u05D8 \u05E0\u05DB\u05E9\u05DC\u05D4.",I="\u05D1-${ dataPath } \u05D7\u05E1\u05E8 \u05DE\u05D0\u05E4\u05D9\u05D9\u05DF \u05D1\u05E9\u05DD ${ missingProperty }.",T="\u05E7\u05D9\u05D9\u05DE\u05EA \u05DB\u05D1\u05E8 \u05E9\u05DB\u05D1\u05EA \u05EA\u05D5\u05E6\u05D0\u05D4 \u05D1\u05E9\u05DD \u05D6\u05D4. \u05DC\u05E9\u05DB\u05D1\u05D5\u05EA \u05EA\u05D5\u05E6\u05D0\u05D5\u05EA \u05D7\u05D9\u05D9\u05D1\u05D9\u05DD \u05DC\u05D4\u05D9\u05D5\u05EA \u05E9\u05DE\u05D5\u05EA \u05D9\u05D9\u05D7\u05D5\u05D3\u05D9\u05D9\u05DD \u05D1\u05DB\u05DC \u05D4\u05D0\u05E8\u05D2\u05D5\u05DF. \u05D4\u05E9\u05EA\u05DE\u05E9 \u05D1\u05E9\u05DD \u05D0\u05D7\u05E8.",b="\u05E9\u05DD \u05D4\u05E4\u05DC\u05D8 \u05DE\u05DB\u05D9\u05DC \u05EA\u05D5 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9 \u05D0\u05D7\u05D3 \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8. <a href='${docLink}' target='_blank'>\u05DE\u05D9\u05D3\u05E2 \u05E0\u05D5\u05E1\u05E3.</a>",L="\u05E4\u05E8\u05E1\u05D5\u05DD \u05D4\u05E9\u05DB\u05D1\u05D4 \u05D4\u05D6\u05DE\u05E0\u05D9\u05EA \u05DB\u05E9\u05DB\u05D1\u05D4 \u05DE\u05EA\u05D0\u05E8\u05D7\u05EA \u05E0\u05DB\u05E9\u05DC \u05E2\u05E7\u05D1 \u05E9\u05D3\u05D4 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9 \u05D0\u05D7\u05D3 \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8. \u05D4\u05E8\u05E5 \u05E9\u05D5\u05D1 \u05D0\u05EA \u05D4\u05DB\u05DC\u05D9 \u05DB\u05D3\u05D9 \u05DC\u05D9\u05E6\u05D5\u05E8 \u05E9\u05DB\u05D1\u05D4 \u05E2\u05DD \u05E9\u05D3\u05D5\u05EA \u05D7\u05D5\u05E7\u05D9\u05D9\u05DD.",N="\u05E9\u05DC\u05D9\u05D7\u05EA \u05D4\u05E2\u05D1\u05D5\u05D3\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4. \u05D2\u05DC\u05D5\u05DC \u05DC\u05DE\u05D8\u05D4, \u05EA\u05E7\u05DF \u05D0\u05EA \u05D4\u05E9\u05D2\u05D9\u05D0\u05D5\u05EA \u05D5\u05D4\u05E8\u05E5 \u05D0\u05EA \u05D4\u05E0\u05D9\u05EA\u05D5\u05D7 \u05E9\u05D5\u05D1.",g="\u05DC-${ dataPath } \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DC\u05E4\u05D7\u05D5\u05EA \u05EA\u05D5 \u05D0\u05D7\u05D3 \u05E9\u05D0\u05D9\u05E0\u05D5 \u05E8\u05D5\u05D5\u05D7 \u05D1\u05DC\u05EA\u05D9 \u05E0\u05E8\u05D0\u05D4.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
@@ -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.10 */
4
+ import e from"./GWPWR4NJ.js";import c from"./U4C2O3EI.js";import"./IYW4WSQU.js";import b from"./PZTS2ZM2.js";import"./D4ANXHA6.js";import{b as l}from"./VORLDHAW.js";import"./IKL6SJCX.js";import{C as i,D as n,E as r,G as o,H as d,h as s,i as a}from"./DEMY5LXS.js";import"./AM4POOOK.js";export default $arcgis.t(([,,{t:p}])=>{var c=s`:host{display:block}:host .esri-legend__service{margin:0;padding:0}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},t=class extends r{constructor(){super(),this.layerCaption=i(),this.expanded=!0,this.isChild=!1,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.expanded=!!this.layerCaption.value?.expanded}render(){return a`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service} ${e.groupLayer}`}><instant-apps-interactive-legend-layer-element-caption class=${o(p(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${this.isChild} ${n(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div class=${`${e.groupContent} ${this.expanded?"show":"hide"}`}><slot name=content></slot></div></div>`}};l("instant-apps-interactive-legend-group-legend-element",t);return t},b,c,e)
@@ -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.10 */
4
+ var u=(i,r)=>r.split(".").reduce(function(e,n){let l=n.match(/\[(.*?)\]$/);if(l){let t=l[1],s=n.replace(l[0],"");if(parseInt(t,10)>-1){let a=parseInt(t,10);return Array.isArray(e[s])&&e[s][a]?e[s][a]:void 0}else return o(e[s],t)}else return e&&e[n]!==void 0?e[n]!==null&&e[n].$use?u(i,e[n].$use):e[n]:void 0},i);function o(i,r){let e=r.split("(");if(!e||e.length!==2)return;let n,l=e[0],t=e[1].replace(")","").split(",").map(s=>s.trim());switch(l){case"findBy":let s=t[0],a;d(t[1])?a=parseFloat(t[1]):a=t[1].replace(/'/g,""),n=i.find(f=>f[s]===a);break;default:n=void 0}return n}function d(i){return!isNaN(parseFloat(i))}export{u 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.10 */
4
+ import{d as c}from"./76QGCX3G.js";import{a as y}from"./WFSFUZOC.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
@@ -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.10 */
4
+ import c from"./KH42YDGB.js";import a from"./PZTS2ZM2.js";import{b as $}from"./VORLDHAW.js";import"./IKL6SJCX.js";import{C as S,D as L,E as b,G as o,I as _,h as m,i as n,o as I,r as f}from"./DEMY5LXS.js";import"./AM4POOOK.js";export default $arcgis.t(([,{f:l,h:v}])=>{var y=m`@layer{:host{display:block;position:relative}:host .instant-apps-language-translator-search__input{width:235.5px}:host .instant-apps-language-translator-search__suggestion-list{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}:host .instant-apps-language-translator-search__suggestion-list-item:first-child{border:none}:host .instant-apps-language-translator-search__suggestion-list-item{margin-top:0;padding:.8em 1em;border-top:solid 1px rgba(110,110,110,.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}:host .instant-apps-language-translator-search__suggestion-list-item:hover{background-color:var(--calcite-color-foreground-2)}}`,h="instant-apps-language-translator-search",p={input:`${h}__input`,suggestionList:`${h}__suggestion-list`,suggestionListItem:`${h}__suggestion-list-item`},d=class extends b{constructor(){super(...arguments),this.searchInput=S(),this.results=[],this.suggestionSelected=I()}static{this.properties={results:16,t9nPlaceholder:1}}static{this.styles=y}static{this.shadowRootOptions=f}handleSearch(t){let e=t.target.value?.toLowerCase()?.trim(),s=l.get("uiData"),u=v(),a=l.get("portalItemResourceT9n"),r=l.get("currentLanguage"),g=a?.[r]??{},c=this.getSettingDataItems(u).filter(this.matchedResultsCallback(s,g,e,r));this.results=[...c.map(i=>({fieldName:i,...s.get(i)}))]}matchedResultsCallback(t,e,s,u){return a=>{let r=t.get(a),{label:g}=r.userLocaleData,{value:c}=r.userLocaleData,i=t.get("translatedLanguageLabels")?.[u]?.[a],w=e?.[a],x=this.testUserInput(g,s),k=this.testUserInput(c,s),D=this.testUserInput(i,s),R=this.testUserInput(w,s);return x||k||D||R}}getSettingDataItems(t){return t.filter(e=>e!=="locales"&&e!=="translatedLanguageLabels")}testUserInput(t,e){return!!t?.trim()&&!!e?.trim()&&t?.toLowerCase()?.search(e)!==-1}selectSuggestion(t){let e=t.target.getAttribute("data-field-name");this.suggestionSelected.emit(e),this.resetSearchInput()}resetSearchInput(){this.searchInput.value&&(this.searchInput.value.value=""),this.results=[]}render(){return n`${this.renderSearchInput()}${this.renderSuggestions()}`}renderSearchInput(){return n`<calcite-input class=${o(p.input)} @calciteInputInput=${this.handleSearch} type=search .placeholder=${this.t9nPlaceholder} icon=search ${L(this.searchInput)}></calcite-input>`}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n`<ul class=${o(p.suggestionList)}>${this.results.map(t=>this.renderSuggestionListItem(t))}</ul>`}renderSuggestionListItem(t){return n`<li @click=${this.selectSuggestion} class=${o(p.suggestionListItem)} data-field-name=${t.fieldName??_}>${t.userLocaleData.label}</li>`}};$("instant-apps-language-translator-search",d);return d},a,c)