@esri/hub-web-components 0.37.3 → 0.38.0

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 (1148) hide show
  1. package/dist/cdn/236HAGEK.js +2 -0
  2. package/dist/cdn/24WHEGS7.js +2 -0
  3. package/dist/cdn/25LZMJQW.js +2 -0
  4. package/dist/cdn/2BWJP4KH.js +2 -0
  5. package/dist/cdn/2DUPJPOK.js +2 -0
  6. package/dist/cdn/2EE4427F.js +2 -0
  7. package/dist/cdn/2EQH4CNE.js +2 -0
  8. package/dist/cdn/2EW2MAGT.js +2 -0
  9. package/dist/cdn/2H3NL2VR.js +2 -0
  10. package/dist/cdn/2ILIJZDY.js +2 -0
  11. package/dist/cdn/2JB3S3J4.js +2 -0
  12. package/dist/cdn/2LVSW3ED.js +2 -0
  13. package/dist/cdn/2OWGC2HG.js +2 -0
  14. package/dist/cdn/2RDZQFBD.js +2 -0
  15. package/dist/cdn/2TXGBFPG.js +2 -0
  16. package/dist/cdn/2WDM2VJM.js +2 -0
  17. package/dist/cdn/2WECGEBX.js +2 -0
  18. package/dist/cdn/2ZIJNDHQ.js +2 -0
  19. package/dist/cdn/2ZXVJSBO.js +2 -0
  20. package/dist/cdn/32UA342W.js +2 -0
  21. package/dist/cdn/32XX3F4E.js +2 -0
  22. package/dist/cdn/3BR5KKQ7.js +2 -0
  23. package/dist/cdn/3CHF3GEJ.js +2 -0
  24. package/dist/cdn/3CY6I4EO.js +2 -0
  25. package/dist/cdn/3FJHYATI.js +2 -0
  26. package/dist/cdn/3GDGENCS.js +2 -0
  27. package/dist/cdn/3GKXMAXM.js +2 -0
  28. package/dist/cdn/3HVIG2SK.js +2 -0
  29. package/dist/cdn/3JKXA4Q3.js +2 -0
  30. package/dist/cdn/3JODVSTM.js +2 -0
  31. package/dist/cdn/3KHULCZO.js +2 -0
  32. package/dist/cdn/3LBQDCLR.js +2 -0
  33. package/dist/cdn/3M5VO5CS.js +2 -0
  34. package/dist/cdn/3OVLI4PU.js +9 -0
  35. package/dist/cdn/3OWO3OYZ.js +2 -0
  36. package/dist/cdn/3PZNRYMF.js +2 -0
  37. package/dist/cdn/3QTUUB7M.js +2 -0
  38. package/dist/cdn/3UW2TBEZ.js +2 -0
  39. package/dist/cdn/3UXE5BF3.js +2 -0
  40. package/dist/cdn/3VUHOWXT.js +2 -0
  41. package/dist/cdn/3WXL3KU4.js +2 -0
  42. package/dist/cdn/3XPQULRS.js +2 -0
  43. package/dist/cdn/45CLNG4V.js +2 -0
  44. package/dist/cdn/45V63GZB.js +2 -0
  45. package/dist/cdn/45Z5LSII.js +2 -0
  46. package/dist/cdn/46JROUMF.js +2 -0
  47. package/dist/cdn/4D3KDOGU.js +2 -0
  48. package/dist/cdn/4E7UX35B.js +2 -0
  49. package/dist/cdn/4GF4O5CD.js +2 -0
  50. package/dist/cdn/4KOILCWX.js +2 -0
  51. package/dist/cdn/4LSDKVY5.js +2 -0
  52. package/dist/cdn/4MK7XIAZ.js +2 -0
  53. package/dist/cdn/4QLO26TU.js +2 -0
  54. package/dist/cdn/4RF57BXA.js +2 -0
  55. package/dist/cdn/4RW76P4G.js +3 -0
  56. package/dist/cdn/4WFBSXCD.js +2 -0
  57. package/dist/cdn/4YKJQWLZ.js +2 -0
  58. package/dist/cdn/52EXRWO7.js +2 -0
  59. package/dist/cdn/546UMMXC.js +4 -0
  60. package/dist/cdn/564WTIUK.js +2 -0
  61. package/dist/cdn/5AQLELE7.js +2 -0
  62. package/dist/cdn/5AY5O6NA.js +2 -0
  63. package/dist/cdn/5BFO4SMC.js +23 -0
  64. package/dist/cdn/5BNQ7WYV.js +2 -0
  65. package/dist/cdn/5BSBS5SB.js +2 -0
  66. package/dist/cdn/5DW6FQAN.js +2 -0
  67. package/dist/cdn/5IE6W375.js +2 -0
  68. package/dist/cdn/5KW2QPZC.js +2 -0
  69. package/dist/cdn/5MLRZJVF.js +2 -0
  70. package/dist/cdn/5PCBOJUL.js +2 -0
  71. package/dist/cdn/5PGWPW32.js +2 -0
  72. package/dist/cdn/5PWUXR6C.js +2 -0
  73. package/dist/cdn/5T2V664O.js +2 -0
  74. package/dist/cdn/5VOM4C4C.js +2 -0
  75. package/dist/cdn/5XEIW7CT.js +2 -0
  76. package/dist/cdn/634MHX5H.js +2 -0
  77. package/dist/cdn/63S2PXLQ.js +2 -0
  78. package/dist/cdn/677XOGDW.js +2 -0
  79. package/dist/cdn/6ANGFMIE.js +2 -0
  80. package/dist/cdn/6CHWESL2.js +2 -0
  81. package/dist/cdn/6EVJFJHR.js +2 -0
  82. package/dist/cdn/6GKOYJ5G.js +2 -0
  83. package/dist/cdn/6HR5VJ5Z.js +2 -0
  84. package/dist/cdn/6PGSCXG5.js +3 -0
  85. package/dist/cdn/6PP6S4SR.js +2 -0
  86. package/dist/cdn/6PXXMBGG.js +101 -0
  87. package/dist/cdn/6QTH3TK4.js +2 -0
  88. package/dist/cdn/6SBBIF36.js +2 -0
  89. package/dist/cdn/6UI543V2.js +2 -0
  90. package/dist/cdn/6WWLOLK2.js +2 -0
  91. package/dist/cdn/72JEALD6.js +2 -0
  92. package/dist/cdn/73VGDY64.js +2 -0
  93. package/dist/cdn/76PBLDOW.js +2 -0
  94. package/dist/cdn/76VGL2OG.js +2 -0
  95. package/dist/cdn/77X4MPIK.js +2 -0
  96. package/dist/cdn/7ASFWI7S.js +2 -0
  97. package/dist/cdn/7G2NGRSE.js +2 -0
  98. package/dist/cdn/7GI2O7DN.js +2 -0
  99. package/dist/cdn/7IGM7SZV.js +2 -0
  100. package/dist/cdn/7J23Y6UZ.js +2 -0
  101. package/dist/cdn/7JJRW4NC.js +2 -0
  102. package/dist/cdn/7LZEINS7.js +2 -0
  103. package/dist/cdn/7M6WAN4F.js +2 -0
  104. package/dist/cdn/7NHQNVMM.js +2 -0
  105. package/dist/cdn/7OKY7BOU.js +2 -0
  106. package/dist/cdn/7QXOPKDR.js +2 -0
  107. package/dist/cdn/7YFSWA6Y.js +2 -0
  108. package/dist/cdn/7ZNOM7XH.js +2 -0
  109. package/dist/cdn/A5ALDCCE.js +2 -0
  110. package/dist/cdn/A5DE26HL.js +5468 -0
  111. package/dist/cdn/A6MK5ZPP.js +2 -0
  112. package/dist/cdn/A7UTEGFQ.js +2 -0
  113. package/dist/cdn/ACFPNLIK.js +2 -0
  114. package/dist/cdn/ADYIOWEG.js +2 -0
  115. package/dist/cdn/AH23WNQW.js +2 -0
  116. package/dist/cdn/AHSJJDVA.js +2 -0
  117. package/dist/cdn/AJHFVXHK.js +2 -0
  118. package/dist/cdn/AJR3J6MJ.js +2 -0
  119. package/dist/cdn/AMGCL5N6.js +2 -0
  120. package/dist/cdn/AOJJIJRH.js +2 -0
  121. package/dist/cdn/AOSFOFZC.js +2 -0
  122. package/dist/cdn/AS6M5YBE.js +2 -0
  123. package/dist/cdn/AT75BQVI.js +2 -0
  124. package/dist/cdn/B4SFNUJX.js +2 -0
  125. package/dist/cdn/B7A7RSZ4.js +2 -0
  126. package/dist/cdn/B7XZZQM4.js +2 -0
  127. package/dist/cdn/BDCNWDSM.js +2 -0
  128. package/dist/cdn/BE4JSUS6.js +2 -0
  129. package/dist/cdn/BGUBTLON.js +2 -0
  130. package/dist/cdn/BIAMJNHV.js +2 -0
  131. package/dist/cdn/BK6XX2AU.js +2 -0
  132. package/dist/cdn/BMPXQTR3.js +2 -0
  133. package/dist/cdn/BN2OLK73.js +2 -0
  134. package/dist/cdn/BNGN57J7.js +2 -0
  135. package/dist/cdn/BOV2P5AR.js +2 -0
  136. package/dist/cdn/BOXLFPBZ.js +2 -0
  137. package/dist/cdn/BREHLWWL.js +2 -0
  138. package/dist/cdn/BRRV3DOR.js +22 -0
  139. package/dist/cdn/BRTJWWHS.js +2 -0
  140. package/dist/cdn/BTELCOY5.js +2 -0
  141. package/dist/cdn/BWE2I5AG.js +2 -0
  142. package/dist/cdn/BWUAY2LE.js +2 -0
  143. package/dist/cdn/BZAKLMBW.js +2 -0
  144. package/dist/cdn/C5YJ666N.js +2 -0
  145. package/dist/cdn/C67HM5IZ.js +2 -0
  146. package/dist/cdn/C6J22WJW.js +2 -0
  147. package/dist/cdn/CDLDZD7A.js +57 -0
  148. package/dist/cdn/CFPF74RM.js +2 -0
  149. package/dist/cdn/CGY4TVMV.js +2 -0
  150. package/dist/cdn/CHENEYUV.js +2 -0
  151. package/dist/cdn/CL6SOVSI.js +2 -0
  152. package/dist/cdn/CSGFPAKT.js +2 -0
  153. package/dist/cdn/CSWPB3OX.js +2 -0
  154. package/dist/cdn/CSYFGNUQ.js +2 -0
  155. package/dist/cdn/CU5WQBOB.js +2 -0
  156. package/dist/cdn/CWFJZAPU.js +2 -0
  157. package/dist/cdn/CWYD5K4S.js +2 -0
  158. package/dist/cdn/CXTLB2JC.js +2 -0
  159. package/dist/cdn/D2FW5KKG.js +2 -0
  160. package/dist/cdn/D2PJNXW6.js +2 -0
  161. package/dist/cdn/D3BILNAQ.js +2 -0
  162. package/dist/cdn/D3R4UBO6.js +2 -0
  163. package/dist/cdn/D55X5MXF.js +2 -0
  164. package/dist/cdn/DAVFVKTV.js +2 -0
  165. package/dist/cdn/DAX4IQBA.js +2 -0
  166. package/dist/cdn/DB7GEQTR.js +2 -0
  167. package/dist/cdn/DBRFT7B4.js +2 -0
  168. package/dist/cdn/DBXBA6HT.js +2 -0
  169. package/dist/cdn/DCDDWF2I.js +2 -0
  170. package/dist/cdn/DDJLRFBZ.js +2 -0
  171. package/dist/cdn/DDQO772J.js +2 -0
  172. package/dist/cdn/DEDRO7EB.js +2 -0
  173. package/dist/cdn/DF7ABV7W.js +2 -0
  174. package/dist/cdn/DFJJV4QP.js +2 -0
  175. package/dist/cdn/DHG3VO5E.js +2 -0
  176. package/dist/cdn/DN2VD27M.js +2 -0
  177. package/dist/cdn/DQTK57GS.js +2 -0
  178. package/dist/cdn/DR5DLTDD.js +2 -0
  179. package/dist/cdn/DUUDWZXE.js +2 -0
  180. package/dist/cdn/DUXSX52F.js +49 -0
  181. package/dist/cdn/DVL64T57.js +2 -0
  182. package/dist/cdn/DXTZVNWA.js +3 -0
  183. package/dist/cdn/DZN62VYN.js +2 -0
  184. package/dist/cdn/DZYZIET6.js +2 -0
  185. package/dist/cdn/E4CJ5ZNU.js +2 -0
  186. package/dist/cdn/E7JK3E34.js +2 -0
  187. package/dist/cdn/EAHWXQSY.js +2 -0
  188. package/dist/cdn/EBGADEP4.js +2 -0
  189. package/dist/cdn/ECVIS6PA.js +2 -0
  190. package/dist/cdn/EDJVOECM.js +2 -0
  191. package/dist/cdn/EH5WKZDX.js +2 -0
  192. package/dist/cdn/EIJD2PFU.js +2 -0
  193. package/dist/cdn/EJKK6I5R.js +2 -0
  194. package/dist/cdn/EKJB7MLI.js +2 -0
  195. package/dist/cdn/ENWVIHLH.js +2 -0
  196. package/dist/cdn/EP5J4JOX.js +2 -0
  197. package/dist/cdn/EPA7NLL3.js +2 -0
  198. package/dist/cdn/EPITUUL4.js +2 -0
  199. package/dist/cdn/EQZAUOXD.js +2 -0
  200. package/dist/cdn/ETNEKEKW.js +2 -0
  201. package/dist/cdn/EVEBEV3F.js +2 -0
  202. package/dist/cdn/EWAU66TF.js +2 -0
  203. package/dist/cdn/EXQCLQJD.js +2 -0
  204. package/dist/cdn/F3QYJUVR.js +2 -0
  205. package/dist/cdn/F4W62LF6.js +2 -0
  206. package/dist/cdn/F5MRLCKP.js +2 -0
  207. package/dist/cdn/F67HAQPI.js +2 -0
  208. package/dist/cdn/FCWCW2DB.js +2 -0
  209. package/dist/cdn/FELT6CWD.js +2 -0
  210. package/dist/cdn/FGXWNIN4.js +4 -0
  211. package/dist/cdn/FII3RW6D.js +10 -0
  212. package/dist/cdn/FLLYEIGM.js +2 -0
  213. package/dist/cdn/FNKBHO4M.js +2 -0
  214. package/dist/cdn/FO7JXNJA.js +2 -0
  215. package/dist/cdn/FONOHWD4.js +2 -0
  216. package/dist/cdn/FQ67NRY3.js +2 -0
  217. package/dist/cdn/FQTSRTTQ.js +2 -0
  218. package/dist/cdn/FR67HD5Q.js +2 -0
  219. package/dist/cdn/FUJECPFL.js +2 -0
  220. package/dist/cdn/G2VRBYFE.js +2 -0
  221. package/dist/cdn/G2VZF3XU.js +2 -0
  222. package/dist/cdn/G5LBL73C.js +2 -0
  223. package/dist/cdn/G6H6YQAR.js +2 -0
  224. package/dist/cdn/GFRFAB56.js +2 -0
  225. package/dist/cdn/GHNVBIZM.js +2 -0
  226. package/dist/cdn/GMWP6LCV.js +2 -0
  227. package/dist/cdn/GQCVJRFN.js +2 -0
  228. package/dist/cdn/GQEOGWRS.js +2 -0
  229. package/dist/cdn/GQJNXTQT.js +2 -0
  230. package/dist/cdn/GUVU7ZKH.js +2 -0
  231. package/dist/cdn/GWE7MB6R.js +2 -0
  232. package/dist/cdn/GXN2DYTV.js +2 -0
  233. package/dist/cdn/GY557TE4.js +2 -0
  234. package/dist/cdn/H22LIWN5.js +2 -0
  235. package/dist/cdn/H2OV5BRE.js +2 -0
  236. package/dist/cdn/H4KV7MLW.js +2 -0
  237. package/dist/cdn/H6RS3MWN.js +2 -0
  238. package/dist/cdn/HAVGOHEF.js +2 -0
  239. package/dist/cdn/HFGNOB7X.js +2 -0
  240. package/dist/cdn/HFO5EQR7.js +2 -0
  241. package/dist/cdn/HHG5BEOE.js +2 -0
  242. package/dist/cdn/HKZINVVZ.js +2 -0
  243. package/dist/cdn/HM3XWGWB.js +2 -0
  244. package/dist/cdn/HS5U6SAB.js +2 -0
  245. package/dist/cdn/HT6X7J7I.js +2 -0
  246. package/dist/cdn/HUBM7ZHQ.js +2 -0
  247. package/dist/cdn/HWJYICV2.js +2 -0
  248. package/dist/cdn/HX2ANNLW.js +2 -0
  249. package/dist/cdn/HXAEGJHA.js +2 -0
  250. package/dist/cdn/HZZPNHJD.js +2 -0
  251. package/dist/cdn/HZZT4ENK.js +39 -0
  252. package/dist/cdn/I6NM57PS.js +2 -0
  253. package/dist/cdn/IEFGEXRM.js +2 -0
  254. package/dist/cdn/IIVZDUOO.js +2 -0
  255. package/dist/cdn/ILA26VYV.js +2 -0
  256. package/dist/cdn/INL22W2K.js +2 -0
  257. package/dist/cdn/IPB6I32R.js +2 -0
  258. package/dist/cdn/IQKUMB36.js +2 -0
  259. package/dist/cdn/IRDXKWHN.js +2 -0
  260. package/dist/cdn/IRK5TOIL.js +2 -0
  261. package/dist/cdn/ISFIYPYM.js +50 -0
  262. package/dist/cdn/ISKLXQSB.js +2 -0
  263. package/dist/cdn/IT7YVVDI.js +2 -0
  264. package/dist/cdn/ITUDVJWT.js +2 -0
  265. package/dist/cdn/J3IYBH53.js +2 -0
  266. package/dist/cdn/J43Y4A2N.js +2 -0
  267. package/dist/cdn/J5GHLLAB.js +2 -0
  268. package/dist/cdn/JAM7T5PB.js +4 -0
  269. package/dist/cdn/JBSROA2H.js +2 -0
  270. package/dist/cdn/JC6ZBDVV.js +2 -0
  271. package/dist/cdn/JDLEH54P.js +2 -0
  272. package/dist/cdn/JH4TZ3IY.js +2 -0
  273. package/dist/cdn/JKGOCFVC.js +2 -0
  274. package/dist/cdn/JKK5LJAI.js +2 -0
  275. package/dist/cdn/JMUGY3OJ.js +2 -0
  276. package/dist/cdn/JN6YHOUS.js +2 -0
  277. package/dist/cdn/JNSS6JH3.js +2 -0
  278. package/dist/cdn/JOX32ZKP.js +2 -0
  279. package/dist/cdn/JR6CWQ3R.js +2 -0
  280. package/dist/cdn/JSSFWJCY.js +2 -0
  281. package/dist/cdn/JUIATBR3.js +2 -0
  282. package/dist/cdn/JUNOFH56.js +2 -0
  283. package/dist/cdn/JXP5MO3J.js +2 -0
  284. package/dist/cdn/JYIVT4P3.js +2 -0
  285. package/dist/cdn/JYREZGPA.js +2 -0
  286. package/dist/cdn/K2D5G22Z.js +2 -0
  287. package/dist/cdn/K5HZ2G74.js +2 -0
  288. package/dist/cdn/K6AMDRTV.js +2 -0
  289. package/dist/cdn/K6CWANHE.js +2 -0
  290. package/dist/cdn/K7BNQOOW.js +2 -0
  291. package/dist/cdn/KBNCRVPP.js +2 -0
  292. package/dist/cdn/KGGAN2FF.js +2 -0
  293. package/dist/cdn/KLMBAQIW.js +2 -0
  294. package/dist/cdn/KNLJ2Y2L.js +2 -0
  295. package/dist/cdn/KQHNHQIC.js +6 -0
  296. package/dist/cdn/KRXEHAAE.js +2 -0
  297. package/dist/cdn/KTRB3474.js +2 -0
  298. package/dist/cdn/KUUU37O7.js +2 -0
  299. package/dist/cdn/KWAQZHYD.js +2 -0
  300. package/dist/cdn/KYWSYVJC.js +2 -0
  301. package/dist/cdn/L2PPM2B2.js +2 -0
  302. package/dist/cdn/L3E7MHJD.js +2 -0
  303. package/dist/cdn/L4JCSXPA.js +2 -0
  304. package/dist/cdn/L5EFE534.js +2 -0
  305. package/dist/cdn/L6JOUO4R.js +2 -0
  306. package/dist/cdn/L6KTWLZO.js +2 -0
  307. package/dist/cdn/LAGV6T2P.js +2 -0
  308. package/dist/cdn/LAPB4R6P.js +2 -0
  309. package/dist/cdn/LLPWCLVS.js +2 -0
  310. package/dist/cdn/LN5YCGL5.js +2 -0
  311. package/dist/cdn/LNSWRA2E.js +2 -0
  312. package/dist/cdn/LQLM5UFO.js +2 -0
  313. package/dist/cdn/LRLKKT6E.js +2 -0
  314. package/dist/cdn/LST2TEQ7.js +2 -0
  315. package/dist/cdn/LT5EGN2B.js +2 -0
  316. package/dist/cdn/LV543PTH.js +2 -0
  317. package/dist/cdn/LZC3KVDN.js +2 -0
  318. package/dist/cdn/M6WEQLC4.js +2 -0
  319. package/dist/cdn/M7PXGKUN.js +2 -0
  320. package/dist/cdn/MA4PQFDN.js +2 -0
  321. package/dist/cdn/MDGTCFT7.js +2 -0
  322. package/dist/cdn/MIV7EHSX.js +2 -0
  323. package/dist/cdn/MK64YJZT.js +2 -0
  324. package/dist/cdn/MKFRUSCH.js +2 -0
  325. package/dist/cdn/MKK63VCT.js +2 -0
  326. package/dist/cdn/MLZ3XGVR.js +2 -0
  327. package/dist/cdn/MOFQMUCX.js +2 -0
  328. package/dist/cdn/MPUNYAO6.js +2 -0
  329. package/dist/cdn/MS7HEOST.js +2 -0
  330. package/dist/cdn/MSDIL3V2.js +2 -0
  331. package/dist/cdn/MUNTT3ZX.js +2 -0
  332. package/dist/cdn/MX2LFKDN.js +2 -0
  333. package/dist/cdn/MZPEHZQ6.js +2 -0
  334. package/dist/cdn/MZTSQFVF.js +2 -0
  335. package/dist/cdn/N5GAHY3Z.js +2 -0
  336. package/dist/cdn/N5Q4VONY.js +2 -0
  337. package/dist/cdn/N6YCTEBM.js +2 -0
  338. package/dist/cdn/NA26EC7V.js +2 -0
  339. package/dist/cdn/NEIM3TBD.js +2 -0
  340. package/dist/cdn/NGHDJBY5.js +2 -0
  341. package/dist/cdn/NHJYS2PI.js +2 -0
  342. package/dist/cdn/NIAU4VO5.js +2 -0
  343. package/dist/cdn/NIJNUESB.js +2 -0
  344. package/dist/cdn/NK3ILYT4.js +2 -0
  345. package/dist/cdn/NKTEP5PG.js +2 -0
  346. package/dist/cdn/NMDYCBFW.js +2 -0
  347. package/dist/cdn/NQU3EFLX.js +2 -0
  348. package/dist/cdn/NZKEUWJO.js +2 -0
  349. package/dist/cdn/O24TJJIA.js +2 -0
  350. package/dist/cdn/OB5VPFBQ.js +2 -0
  351. package/dist/cdn/OCROULRG.js +2 -0
  352. package/dist/cdn/ODWK4PGO.js +2 -0
  353. package/dist/cdn/OEYT6KBR.js +2 -0
  354. package/dist/cdn/OGW276HU.js +2 -0
  355. package/dist/cdn/OHDLPBUL.js +2 -0
  356. package/dist/cdn/OKPRBA73.js +2 -0
  357. package/dist/cdn/OLIXHQ45.js +2 -0
  358. package/dist/cdn/OM6RXTNE.js +2 -0
  359. package/dist/cdn/OMUDX3KZ.js +2 -0
  360. package/dist/cdn/ONB5KTQJ.js +2 -0
  361. package/dist/cdn/OODAGA7S.js +2 -0
  362. package/dist/cdn/OQ2B5D7H.js +2 -0
  363. package/dist/cdn/OT6SCCRW.js +2 -0
  364. package/dist/cdn/OU5H6LGW.js +2 -0
  365. package/dist/cdn/OY4XFH6U.js +2 -0
  366. package/dist/cdn/P2RUPXUY.js +2 -0
  367. package/dist/cdn/P6CKD2GP.js +2 -0
  368. package/dist/cdn/PBJKVPW5.js +2 -0
  369. package/dist/cdn/PE2YQIC4.js +2 -0
  370. package/dist/cdn/PG7E7354.js +2 -0
  371. package/dist/cdn/PIFGTBYR.js +2 -0
  372. package/dist/cdn/PJNURHKH.js +2 -0
  373. package/dist/cdn/PPTPAJVV.js +2 -0
  374. package/dist/cdn/PR4YIRMU.js +2 -0
  375. package/dist/cdn/PRO345O5.js +2 -0
  376. package/dist/cdn/PTRRO6WN.js +2 -0
  377. package/dist/cdn/PUUASAJ2.js +2 -0
  378. package/dist/cdn/PUUPBPMV.js +2 -0
  379. package/dist/cdn/PVBRAWDN.js +2 -0
  380. package/dist/cdn/PVJYYXFI.js +2 -0
  381. package/dist/cdn/PX2LKSL6.js +2 -0
  382. package/dist/cdn/Q26WYPCD.js +2 -0
  383. package/dist/cdn/Q4DVCEF3.js +2 -0
  384. package/dist/cdn/Q67H57WZ.js +2 -0
  385. package/dist/cdn/Q6BO676X.js +2 -0
  386. package/dist/cdn/Q6PGP3ZV.js +2 -0
  387. package/dist/cdn/Q7LIRPNK.js +2 -0
  388. package/dist/cdn/QBXTRM4A.js +2 -0
  389. package/dist/cdn/QFB257DG.js +2 -0
  390. package/dist/cdn/QHE543NP.js +2 -0
  391. package/dist/cdn/QLBQIWYL.js +2 -0
  392. package/dist/cdn/QLXCZ3NE.js +2 -0
  393. package/dist/cdn/QN2SIA7O.js +2 -0
  394. package/dist/cdn/QN6BOKR7.js +2 -0
  395. package/dist/cdn/QNV4N454.js +2 -0
  396. package/dist/cdn/QO2PWUWM.js +2 -0
  397. package/dist/cdn/QQLO6W5R.js +2 -0
  398. package/dist/cdn/QQNCKFBK.js +2 -0
  399. package/dist/cdn/QREJXP7C.js +2 -0
  400. package/dist/cdn/QRPVQBFD.js +2 -0
  401. package/dist/cdn/QUDAZ77Y.js +2 -0
  402. package/dist/cdn/QUEMC3AN.js +2 -0
  403. package/dist/cdn/QYJYDEZE.js +2 -0
  404. package/dist/cdn/QYPLXIBB.js +2 -0
  405. package/dist/cdn/QYQIPUGM.js +2 -0
  406. package/dist/cdn/R3GQKIJ5.js +2 -0
  407. package/dist/cdn/R7C6MNQH.js +2 -0
  408. package/dist/cdn/RBGNUTQK.js +2 -0
  409. package/dist/cdn/RC5E7RLU.js +2 -0
  410. package/dist/cdn/RCP7UO3I.js +2 -0
  411. package/dist/cdn/REWZLA3K.js +2 -0
  412. package/dist/cdn/RGXVBRFC.js +2 -0
  413. package/dist/cdn/RN7HGMZW.js +6 -0
  414. package/dist/cdn/RQIJVACD.js +2 -0
  415. package/dist/cdn/RUVOYVVB.js +2 -0
  416. package/dist/cdn/RXEDODJY.js +2 -0
  417. package/dist/cdn/RY3BOHEX.js +2 -0
  418. package/dist/cdn/S4F4TUDC.js +2 -0
  419. package/dist/cdn/S5UG2OK3.js +2 -0
  420. package/dist/cdn/S652H4VN.js +2 -0
  421. package/dist/cdn/SADDC2DK.js +2 -0
  422. package/dist/cdn/SDQL72GW.js +2 -0
  423. package/dist/cdn/SEJFEDAL.js +2 -0
  424. package/dist/cdn/SERXR2LG.js +2 -0
  425. package/dist/cdn/SEXTYSOH.js +2 -0
  426. package/dist/cdn/SR3XA2A2.js +3 -0
  427. package/dist/cdn/SRE3UGET.js +2 -0
  428. package/dist/cdn/SRMTUU32.js +2 -0
  429. package/dist/cdn/SSUMP2NE.js +2 -0
  430. package/dist/cdn/ST3YYA5D.js +2 -0
  431. package/dist/cdn/SVRAUC4L.js +2 -0
  432. package/dist/cdn/SWVXW2PZ.js +2 -0
  433. package/dist/cdn/T64QL6SH.js +2 -0
  434. package/dist/cdn/T74ADXHD.js +2 -0
  435. package/dist/cdn/T7QPSQ6X.js +2 -0
  436. package/dist/cdn/TE3YDUFZ.js +2 -0
  437. package/dist/cdn/TEMTRFHO.js +2 -0
  438. package/dist/cdn/TH2B62CH.js +2 -0
  439. package/dist/cdn/TIXP2JWX.js +2 -0
  440. package/dist/cdn/TJH2CAQN.js +2 -0
  441. package/dist/cdn/TJNCJLFE.js +2 -0
  442. package/dist/cdn/TOY6PXDP.js +2 -0
  443. package/dist/cdn/TRW2D3YU.js +2 -0
  444. package/dist/cdn/TTL4NSLD.js +2 -0
  445. package/dist/cdn/TVV2X45U.js +2 -0
  446. package/dist/cdn/TVX5SDUH.js +2 -0
  447. package/dist/cdn/TWWDY4C3.js +2 -0
  448. package/dist/cdn/TZXHHOXC.js +10 -0
  449. package/dist/cdn/U5GGWHZO.js +2 -0
  450. package/dist/cdn/U5V2PMFO.js +2 -0
  451. package/dist/cdn/U7DDSGRI.js +2 -0
  452. package/dist/cdn/UDP7EENP.js +2 -0
  453. package/dist/cdn/UHJI2POJ.js +2 -0
  454. package/dist/cdn/UHMRHQSA.js +2 -0
  455. package/dist/cdn/UJLWEMLF.js +2 -0
  456. package/dist/cdn/ULND2AHT.js +3 -0
  457. package/dist/cdn/UMTI4ASY.js +2 -0
  458. package/dist/cdn/UOFMXXCF.js +2 -0
  459. package/dist/cdn/UPJ5YFB3.js +2 -0
  460. package/dist/cdn/UPQGR6XZ.js +2 -0
  461. package/dist/cdn/UQFU44VU.js +2 -0
  462. package/dist/cdn/USNKSSNY.js +2 -0
  463. package/dist/cdn/UTYIY6RX.js +2 -0
  464. package/dist/cdn/UUBB3CRW.js +2 -0
  465. package/dist/cdn/UVZ42TD3.js +2 -0
  466. package/dist/cdn/UWIAJV2I.js +2 -0
  467. package/dist/cdn/UWUNHI7L.js +2 -0
  468. package/dist/cdn/UXXI3SQO.js +2 -0
  469. package/dist/cdn/UZV5ZDGJ.js +2 -0
  470. package/dist/cdn/V2I47N23.js +2 -0
  471. package/dist/cdn/V6NN26QF.js +2 -0
  472. package/dist/cdn/V7NGWJV5.js +2 -0
  473. package/dist/cdn/VJKJWIVW.js +2 -0
  474. package/dist/cdn/VNEAUDVI.js +2 -0
  475. package/dist/cdn/VQOZUBFA.js +2 -0
  476. package/dist/cdn/VQXRDNZT.js +2 -0
  477. package/dist/cdn/VTCPJ62B.js +2 -0
  478. package/dist/cdn/VTQYNCAR.js +2 -0
  479. package/dist/cdn/VURQPTCW.js +2 -0
  480. package/dist/cdn/VVLYSGUR.js +2 -0
  481. package/dist/cdn/VWAVVQJJ.js +2 -0
  482. package/dist/cdn/VXTU6DWN.js +2 -0
  483. package/dist/cdn/W5EQWPZT.js +2 -0
  484. package/dist/cdn/W6CIIV4Z.js +2 -0
  485. package/dist/cdn/W6YU4GHY.js +2 -0
  486. package/dist/cdn/W75PS2IE.js +2 -0
  487. package/dist/cdn/WBSLYVPQ.js +2 -0
  488. package/dist/cdn/WCDWD2B6.js +2 -0
  489. package/dist/cdn/WE2BDIRX.js +7 -0
  490. package/dist/cdn/WIS2JCU5.js +2 -0
  491. package/dist/cdn/WJFSSYRR.js +2 -0
  492. package/dist/cdn/WJVYYTL2.js +2 -0
  493. package/dist/cdn/WMNYXLEQ.js +2 -0
  494. package/dist/cdn/WNHQOQRJ.js +2 -0
  495. package/dist/cdn/WOGIQMDO.js +2 -0
  496. package/dist/cdn/WOPCBDZP.js +2 -0
  497. package/dist/cdn/WPYXFHC7.js +2 -0
  498. package/dist/cdn/WU3HBTHL.js +2 -0
  499. package/dist/cdn/WUEDA64M.js +2 -0
  500. package/dist/cdn/WUNRRAKS.js +2 -0
  501. package/dist/cdn/WUZQBPV4.js +2 -0
  502. package/dist/cdn/X3WMLB6V.js +2 -0
  503. package/dist/cdn/X5G7VGWH.js +2 -0
  504. package/dist/cdn/X65V22WZ.js +2 -0
  505. package/dist/cdn/XAYV7IBF.js +2 -0
  506. package/dist/cdn/XCFQMY4U.js +2 -0
  507. package/dist/cdn/XEYOWJGY.js +14 -0
  508. package/dist/cdn/XFCHMSR7.js +2 -0
  509. package/dist/cdn/XI6X55QD.js +2 -0
  510. package/dist/cdn/XKBY6EJC.js +2 -0
  511. package/dist/cdn/XLHG5W2O.js +2 -0
  512. package/dist/cdn/XRGUZJA3.js +2 -0
  513. package/dist/cdn/XWSO2EDX.js +2 -0
  514. package/dist/cdn/Y2JIY5K6.js +2 -0
  515. package/dist/cdn/Y3GRFUW3.js +2 -0
  516. package/dist/cdn/Y6Q6ENTP.js +2 -0
  517. package/dist/cdn/Y6Y62AIY.js +2 -0
  518. package/dist/cdn/YAJEJUPD.js +2 -0
  519. package/dist/cdn/YDJH3ZVL.js +2 -0
  520. package/dist/cdn/YEIHJDUB.js +2 -0
  521. package/dist/cdn/YHDGXQY6.js +2 -0
  522. package/dist/cdn/YIM7DW7Q.js +2 -0
  523. package/dist/cdn/YL3CSDPR.js +2 -0
  524. package/dist/cdn/YMACXVV6.js +2 -0
  525. package/dist/cdn/YMTAIN3S.js +2 -0
  526. package/dist/cdn/YO2Z7OX4.js +2 -0
  527. package/dist/cdn/YPCQEKG3.js +2 -0
  528. package/dist/cdn/YS3WYU6Q.js +2 -0
  529. package/dist/cdn/YSXFXSDF.js +2 -0
  530. package/dist/cdn/YUMQIDHT.js +2 -0
  531. package/dist/cdn/YWYHMMVI.js +2 -0
  532. package/dist/cdn/YZ6PJ4WA.js +2 -0
  533. package/dist/cdn/YZGO6EXJ.js +2 -0
  534. package/dist/cdn/Z7DMCQET.js +2 -0
  535. package/dist/cdn/Z7XRFVR2.js +2 -0
  536. package/dist/cdn/ZAXWIIVO.js +2 -0
  537. package/dist/cdn/ZCZVGMIV.js +2 -0
  538. package/dist/cdn/ZDKCRMXL.js +2 -0
  539. package/dist/cdn/ZHGSLQOD.js +2 -0
  540. package/dist/cdn/ZLIWQVLB.js +2 -0
  541. package/dist/cdn/ZMRTK5JK.js +2 -0
  542. package/dist/cdn/ZN44BYAC.js +2 -0
  543. package/dist/cdn/ZNBJRJBQ.js +2 -0
  544. package/dist/cdn/ZOHGPFJY.js +2 -0
  545. package/dist/cdn/ZSGSUGWJ.js +2 -0
  546. package/dist/cdn/ZV3N2SYE.js +2 -0
  547. package/dist/cdn/ZVJUBUUM.js +2 -0
  548. package/dist/cdn/ZZBJZPDW.js +2 -0
  549. package/dist/cdn/ZZRKDSLS.js +2 -0
  550. package/dist/cdn/index.js +2 -2
  551. package/dist/chunks/findColumnAndNodeIndex.js +1 -1
  552. package/dist/chunks/getResponsiveClasses.js +1 -1
  553. package/dist/chunks/interpolate-translations.js +1 -1
  554. package/dist/chunks/isNodeVisible.js +1 -1
  555. package/dist/chunks/layoutContext.js +1 -1
  556. package/dist/chunks/migrateTextCard.js +1 -1
  557. package/dist/chunks/processLayout.js +1 -1
  558. package/dist/chunks/runtime.js +2 -2
  559. package/dist/chunks/state.js +1 -1
  560. package/dist/chunks/typeGuards.js +1 -1
  561. package/dist/chunks/useGlobalContext.js +1 -1
  562. package/dist/chunks/useT9n.js +1 -1
  563. package/dist/chunks/util.js +1 -1
  564. package/dist/components/arcgis-chat-shell/customElement.js +1 -1
  565. package/dist/components/arcgis-chat-ui/customElement.js +1 -1
  566. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +1 -1
  567. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +1 -1
  568. package/dist/components/arcgis-hub-ai-assistant/customElement.js +1 -1
  569. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +1 -1
  570. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +1 -1
  571. package/dist/components/arcgis-hub-entity-status-card/customElement.js +1 -1
  572. package/dist/components/arcgis-hub-entity-view-layout/customElement.d.ts +4 -10
  573. package/dist/components/arcgis-hub-entity-view-layout/customElement.js +684 -665
  574. package/dist/components/arcgis-layout/customElement.js +1 -1
  575. package/dist/components/arcgis-layout-column/customElement.js +1 -1
  576. package/dist/components/arcgis-layout-container/customElement.d.ts +3 -3
  577. package/dist/components/arcgis-layout-container/customElement.js +135 -118
  578. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +1 -1
  579. package/dist/components/arcgis-layout-node-controls/customElement.js +1 -1
  580. package/dist/components/arcgis-layout-node-editor/customElement.js +1 -1
  581. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +1 -1
  582. package/dist/components/arcgis-layout-node-wrapper/customElement.js +1 -1
  583. package/dist/components/arcgis-layout-row/customElement.js +1 -1
  584. package/dist/components/arcgis-layout-section/customElement.js +1 -1
  585. package/dist/components/arcgis-nav-card/customElement.js +1 -1
  586. package/dist/components/arcgis-text-card/customElement.js +1 -1
  587. package/dist/components/layouts/components/layout-node/customElement.js +1 -1
  588. package/dist/docs/api.json +1 -1
  589. package/dist/docs/docs.json +1 -1
  590. package/dist/docs/vscode.html-custom-data.json +1 -1
  591. package/dist/docs/web-types.json +1 -1
  592. package/dist/embed-config.js +1 -1
  593. package/dist/index.js +1 -1
  594. package/dist/loader.js +2 -2
  595. package/dist/types/lumina.d.ts +1 -1
  596. package/dist/types/preact.d.ts +1 -1
  597. package/dist/types/react.d.ts +1 -1
  598. package/dist/types/stencil.d.ts +1 -1
  599. package/package.json +3 -3
  600. package/dist/cdn/24LWDIWH.js +0 -2
  601. package/dist/cdn/24SIYWED.js +0 -2
  602. package/dist/cdn/25TYOHZS.js +0 -2
  603. package/dist/cdn/26WZVQ5A.js +0 -2
  604. package/dist/cdn/2B273BBV.js +0 -2
  605. package/dist/cdn/2B6D4MGZ.js +0 -2
  606. package/dist/cdn/2C25X57H.js +0 -2
  607. package/dist/cdn/2DD3P2GE.js +0 -2
  608. package/dist/cdn/2DPSKE3B.js +0 -2
  609. package/dist/cdn/2GV5ZJVP.js +0 -2
  610. package/dist/cdn/2GWRW6YG.js +0 -2
  611. package/dist/cdn/2KUCG2EL.js +0 -2
  612. package/dist/cdn/2NJPYBHN.js +0 -2
  613. package/dist/cdn/2PUMWMNI.js +0 -2
  614. package/dist/cdn/2SYN4GLC.js +0 -2
  615. package/dist/cdn/2TYW7KEN.js +0 -2
  616. package/dist/cdn/2W2UGJLH.js +0 -2
  617. package/dist/cdn/2WQEISGF.js +0 -2
  618. package/dist/cdn/2YBIU2GX.js +0 -2
  619. package/dist/cdn/377TGY4P.js +0 -2
  620. package/dist/cdn/37IO4VH2.js +0 -2
  621. package/dist/cdn/3BJZIUVK.js +0 -2
  622. package/dist/cdn/3C4D6M7U.js +0 -2
  623. package/dist/cdn/3CQWO3Y4.js +0 -2
  624. package/dist/cdn/3J67YE6G.js +0 -2
  625. package/dist/cdn/3LB3CYSI.js +0 -2
  626. package/dist/cdn/3MGFA2AN.js +0 -2
  627. package/dist/cdn/3PBVJ3CK.js +0 -2
  628. package/dist/cdn/3WN3ZWUP.js +0 -2
  629. package/dist/cdn/3ZHXUPIY.js +0 -2
  630. package/dist/cdn/3ZMBKQ2H.js +0 -2
  631. package/dist/cdn/42CWBYSM.js +0 -2
  632. package/dist/cdn/42NTJTRV.js +0 -2
  633. package/dist/cdn/44KVKET3.js +0 -2
  634. package/dist/cdn/46NFE3O2.js +0 -2
  635. package/dist/cdn/47ZOSUE6.js +0 -2
  636. package/dist/cdn/4BGLQILZ.js +0 -2
  637. package/dist/cdn/4BRNZPNW.js +0 -2
  638. package/dist/cdn/4DPYGRIJ.js +0 -2
  639. package/dist/cdn/4EWTHNEV.js +0 -2
  640. package/dist/cdn/4KSDWTJW.js +0 -2
  641. package/dist/cdn/4PQFUUUG.js +0 -2
  642. package/dist/cdn/4QDRXQMV.js +0 -2
  643. package/dist/cdn/4QEFMWHF.js +0 -2
  644. package/dist/cdn/4ST5ERWK.js +0 -2
  645. package/dist/cdn/4VZL3FH3.js +0 -2
  646. package/dist/cdn/4ZRQCNU2.js +0 -2
  647. package/dist/cdn/53V23CCM.js +0 -2
  648. package/dist/cdn/56OZPWMC.js +0 -2
  649. package/dist/cdn/5E5J7S54.js +0 -49
  650. package/dist/cdn/5FBDGDSL.js +0 -2
  651. package/dist/cdn/5GNQYAFV.js +0 -2
  652. package/dist/cdn/5H44EM56.js +0 -2
  653. package/dist/cdn/5IANXD5L.js +0 -2
  654. package/dist/cdn/5IZIKW4H.js +0 -2
  655. package/dist/cdn/5J32RGDU.js +0 -2
  656. package/dist/cdn/5KNXEVQR.js +0 -2
  657. package/dist/cdn/5LEP3IWV.js +0 -2
  658. package/dist/cdn/5LJT6UGG.js +0 -2
  659. package/dist/cdn/5NJXZL7F.js +0 -2
  660. package/dist/cdn/5NZ5IS7D.js +0 -2
  661. package/dist/cdn/5ORZPL23.js +0 -2
  662. package/dist/cdn/5SFG6XNQ.js +0 -2
  663. package/dist/cdn/5TU3W6P3.js +0 -2
  664. package/dist/cdn/5V53QYYF.js +0 -2
  665. package/dist/cdn/5VH76XSQ.js +0 -2
  666. package/dist/cdn/635V3Q2N.js +0 -2
  667. package/dist/cdn/65DPLBLL.js +0 -2
  668. package/dist/cdn/66HUEQL5.js +0 -2
  669. package/dist/cdn/6762DBBI.js +0 -2
  670. package/dist/cdn/6F3NCMF3.js +0 -2
  671. package/dist/cdn/6FPKPREN.js +0 -2
  672. package/dist/cdn/6GJMQB5A.js +0 -2
  673. package/dist/cdn/6IRHI22W.js +0 -9
  674. package/dist/cdn/6LDEVQEO.js +0 -2
  675. package/dist/cdn/6LZU7UCO.js +0 -2
  676. package/dist/cdn/6M5DP7YF.js +0 -2
  677. package/dist/cdn/6P7RNVD7.js +0 -2
  678. package/dist/cdn/6R5V3EGL.js +0 -2
  679. package/dist/cdn/6SPPONRY.js +0 -2
  680. package/dist/cdn/6SSTOHH4.js +0 -2
  681. package/dist/cdn/6TZEJNM7.js +0 -2
  682. package/dist/cdn/6VA6IJMP.js +0 -2
  683. package/dist/cdn/6VE4Q3FO.js +0 -2
  684. package/dist/cdn/6WUAXFQV.js +0 -2
  685. package/dist/cdn/6YRKIUVP.js +0 -2
  686. package/dist/cdn/72R6GI5S.js +0 -2
  687. package/dist/cdn/733IZVMO.js +0 -3
  688. package/dist/cdn/74ZD6Q4N.js +0 -2
  689. package/dist/cdn/75EIUMLW.js +0 -2
  690. package/dist/cdn/77NTOQZO.js +0 -2
  691. package/dist/cdn/7CZUONP3.js +0 -2
  692. package/dist/cdn/7GTUV67W.js +0 -2
  693. package/dist/cdn/7J2N6ILF.js +0 -2
  694. package/dist/cdn/7JWWAXIQ.js +0 -2
  695. package/dist/cdn/7LNSUWQP.js +0 -2
  696. package/dist/cdn/7MGY3JJQ.js +0 -2
  697. package/dist/cdn/7SELLYRO.js +0 -2
  698. package/dist/cdn/7SOJDYGK.js +0 -2
  699. package/dist/cdn/7UDDAIEI.js +0 -2
  700. package/dist/cdn/A36IL72A.js +0 -2
  701. package/dist/cdn/A6FB2POK.js +0 -2
  702. package/dist/cdn/ACG7WDUT.js +0 -2
  703. package/dist/cdn/AE6NCYFW.js +0 -2
  704. package/dist/cdn/AEPE3IDB.js +0 -2
  705. package/dist/cdn/AG22T6F4.js +0 -2
  706. package/dist/cdn/AHZOMFUT.js +0 -2
  707. package/dist/cdn/AJKLRRS4.js +0 -2
  708. package/dist/cdn/AJOXWMDO.js +0 -2
  709. package/dist/cdn/AKTKIQXI.js +0 -2
  710. package/dist/cdn/AL7OLCOX.js +0 -2
  711. package/dist/cdn/ALUW2GDJ.js +0 -2
  712. package/dist/cdn/AM4QVJ44.js +0 -2
  713. package/dist/cdn/AOSKEGOL.js +0 -2
  714. package/dist/cdn/ARGXJJIR.js +0 -2
  715. package/dist/cdn/AUG7ESKO.js +0 -2
  716. package/dist/cdn/AYFB34A7.js +0 -2
  717. package/dist/cdn/AYK4IBDR.js +0 -2
  718. package/dist/cdn/AZ3MRUIU.js +0 -2
  719. package/dist/cdn/AZKQPOHN.js +0 -2
  720. package/dist/cdn/B5FN4TVW.js +0 -2
  721. package/dist/cdn/B6CP7FIT.js +0 -2
  722. package/dist/cdn/B7DFSP27.js +0 -2
  723. package/dist/cdn/BASDWRBA.js +0 -2
  724. package/dist/cdn/BCAWS3NJ.js +0 -2
  725. package/dist/cdn/BFNODBIF.js +0 -2
  726. package/dist/cdn/BHYFMWFH.js +0 -10
  727. package/dist/cdn/BMRPHSYL.js +0 -2
  728. package/dist/cdn/BPSQ3CGL.js +0 -2
  729. package/dist/cdn/BU6RNCBS.js +0 -2
  730. package/dist/cdn/BZKD5DHH.js +0 -2
  731. package/dist/cdn/C27C7ZCS.js +0 -101
  732. package/dist/cdn/C3RZCB5I.js +0 -2
  733. package/dist/cdn/CBIG4EMI.js +0 -2
  734. package/dist/cdn/CCX2K4AC.js +0 -2
  735. package/dist/cdn/CCXXOCUE.js +0 -2
  736. package/dist/cdn/CD6LKEQL.js +0 -2
  737. package/dist/cdn/CD736SN3.js +0 -2
  738. package/dist/cdn/CH532URJ.js +0 -2
  739. package/dist/cdn/CHXKFI5R.js +0 -2
  740. package/dist/cdn/CKOFCDE3.js +0 -2
  741. package/dist/cdn/CNZGOCEQ.js +0 -2
  742. package/dist/cdn/CQ5TAYO5.js +0 -2
  743. package/dist/cdn/CU2TSBCT.js +0 -2
  744. package/dist/cdn/CWML23HX.js +0 -2
  745. package/dist/cdn/CXKNNQK7.js +0 -2
  746. package/dist/cdn/D2RDQCR6.js +0 -2
  747. package/dist/cdn/D4NLBWYJ.js +0 -2
  748. package/dist/cdn/D4XKOLDN.js +0 -2
  749. package/dist/cdn/DAN7ZYNO.js +0 -2
  750. package/dist/cdn/DBFWM3C6.js +0 -2
  751. package/dist/cdn/DCLYV35L.js +0 -2
  752. package/dist/cdn/DCXY72PD.js +0 -2
  753. package/dist/cdn/DD6UFQOQ.js +0 -2
  754. package/dist/cdn/DELUZ744.js +0 -2
  755. package/dist/cdn/DFSIBYHN.js +0 -2
  756. package/dist/cdn/DH2QF3YA.js +0 -2
  757. package/dist/cdn/DIQDWGSW.js +0 -2
  758. package/dist/cdn/DJ3H7LZE.js +0 -2
  759. package/dist/cdn/DKMYTCOT.js +0 -2
  760. package/dist/cdn/DLGNRZAS.js +0 -2
  761. package/dist/cdn/DMWDEJZX.js +0 -2
  762. package/dist/cdn/DOER2ALA.js +0 -2
  763. package/dist/cdn/DOOSTAKT.js +0 -2
  764. package/dist/cdn/DPDYPCY7.js +0 -2
  765. package/dist/cdn/DSFT4TPF.js +0 -2
  766. package/dist/cdn/DSULDCNU.js +0 -2
  767. package/dist/cdn/DSUO5O7O.js +0 -2
  768. package/dist/cdn/DYGPQ2O2.js +0 -2
  769. package/dist/cdn/DZCEYSVA.js +0 -2
  770. package/dist/cdn/DZSQQ3ZC.js +0 -2
  771. package/dist/cdn/E2O5UVKQ.js +0 -2
  772. package/dist/cdn/E2RL5I2B.js +0 -2
  773. package/dist/cdn/E2TALV72.js +0 -2
  774. package/dist/cdn/E6QW4CZ3.js +0 -3
  775. package/dist/cdn/E7RQDZEF.js +0 -2
  776. package/dist/cdn/EAB7DUGA.js +0 -2
  777. package/dist/cdn/EIMMNTTE.js +0 -2
  778. package/dist/cdn/EOF2UXV6.js +0 -2
  779. package/dist/cdn/EONYH67A.js +0 -2
  780. package/dist/cdn/EOUHIRVU.js +0 -2
  781. package/dist/cdn/ERN7BZFG.js +0 -2
  782. package/dist/cdn/ETC47ZTE.js +0 -2
  783. package/dist/cdn/ETZTDOJJ.js +0 -2
  784. package/dist/cdn/EXVLM3LY.js +0 -2
  785. package/dist/cdn/F4PVRAMX.js +0 -2
  786. package/dist/cdn/F56NG6UR.js +0 -2
  787. package/dist/cdn/FCTOGFDS.js +0 -7
  788. package/dist/cdn/FDDXGLRF.js +0 -2
  789. package/dist/cdn/FFNG2BKG.js +0 -2
  790. package/dist/cdn/FJLYCKFY.js +0 -2
  791. package/dist/cdn/FKDTJXGG.js +0 -2
  792. package/dist/cdn/FLC2JTMP.js +0 -2
  793. package/dist/cdn/FM3HYPTZ.js +0 -2
  794. package/dist/cdn/FMBEHWFY.js +0 -2
  795. package/dist/cdn/FMSRANRD.js +0 -2
  796. package/dist/cdn/FOYZAUE2.js +0 -2
  797. package/dist/cdn/FPFWOG6D.js +0 -2
  798. package/dist/cdn/FQQX35FA.js +0 -2
  799. package/dist/cdn/FS2LVAOJ.js +0 -2
  800. package/dist/cdn/FY3KPATI.js +0 -2
  801. package/dist/cdn/FZ7ZK37I.js +0 -2
  802. package/dist/cdn/FZCPWCBD.js +0 -2
  803. package/dist/cdn/FZNKGW4A.js +0 -2
  804. package/dist/cdn/G22UXAIP.js +0 -2
  805. package/dist/cdn/G4YSKUJY.js +0 -2
  806. package/dist/cdn/GEQLOXC6.js +0 -2
  807. package/dist/cdn/GEUS66D2.js +0 -2
  808. package/dist/cdn/GI572WEZ.js +0 -2
  809. package/dist/cdn/GJINUBO7.js +0 -2
  810. package/dist/cdn/GJIZO3BY.js +0 -2
  811. package/dist/cdn/GJRBKC6D.js +0 -2
  812. package/dist/cdn/GL6QTMXS.js +0 -2
  813. package/dist/cdn/GLK5OMGB.js +0 -2
  814. package/dist/cdn/GLKCCCVQ.js +0 -2
  815. package/dist/cdn/GMWTEYRI.js +0 -2
  816. package/dist/cdn/GQUZD452.js +0 -2
  817. package/dist/cdn/GRUKKSRF.js +0 -2
  818. package/dist/cdn/GS3XIBLN.js +0 -2
  819. package/dist/cdn/GSGLH4CM.js +0 -2
  820. package/dist/cdn/GVF26EON.js +0 -2
  821. package/dist/cdn/GVWJBDZW.js +0 -2
  822. package/dist/cdn/GZOH7TH2.js +0 -2
  823. package/dist/cdn/H2EOGBZS.js +0 -2
  824. package/dist/cdn/H2V2RZ6M.js +0 -2
  825. package/dist/cdn/H3CSIYXV.js +0 -2
  826. package/dist/cdn/H5FX7Z53.js +0 -2
  827. package/dist/cdn/HA3MYKR7.js +0 -2
  828. package/dist/cdn/HE3DHDMO.js +0 -2
  829. package/dist/cdn/HEPYE6RX.js +0 -2
  830. package/dist/cdn/HETF33XY.js +0 -2
  831. package/dist/cdn/HF75SET4.js +0 -2
  832. package/dist/cdn/HH5PXKUQ.js +0 -2
  833. package/dist/cdn/HH7X5PFK.js +0 -2
  834. package/dist/cdn/HIJBZFJC.js +0 -2
  835. package/dist/cdn/HINK5GJN.js +0 -2
  836. package/dist/cdn/HITR5JF7.js +0 -2
  837. package/dist/cdn/HKS652OZ.js +0 -2
  838. package/dist/cdn/HM2SQ34E.js +0 -2
  839. package/dist/cdn/HPOK6EKK.js +0 -2
  840. package/dist/cdn/HSFPILSC.js +0 -2
  841. package/dist/cdn/HSYH2RF2.js +0 -2
  842. package/dist/cdn/HTQGWSTE.js +0 -2
  843. package/dist/cdn/HTY7ODQW.js +0 -2
  844. package/dist/cdn/HTYDCXX6.js +0 -2
  845. package/dist/cdn/HUVYHMSC.js +0 -2
  846. package/dist/cdn/HUZVX2LX.js +0 -2
  847. package/dist/cdn/HV466M4A.js +0 -2
  848. package/dist/cdn/HWUCFNAD.js +0 -2
  849. package/dist/cdn/HYUPDCJS.js +0 -2
  850. package/dist/cdn/HZHPBMYE.js +0 -2
  851. package/dist/cdn/I2CC4Z7B.js +0 -2
  852. package/dist/cdn/I3DM7WYF.js +0 -2
  853. package/dist/cdn/I3GKS5LC.js +0 -2
  854. package/dist/cdn/I3LGHXIN.js +0 -2
  855. package/dist/cdn/I6XITM7G.js +0 -14
  856. package/dist/cdn/I6ZBOCIY.js +0 -2
  857. package/dist/cdn/ICFGB4YA.js +0 -2
  858. package/dist/cdn/IDHZRKXF.js +0 -2
  859. package/dist/cdn/IE3N5HKQ.js +0 -2
  860. package/dist/cdn/IEDSJLNB.js +0 -2
  861. package/dist/cdn/IGSOBBXK.js +0 -2
  862. package/dist/cdn/II3OUQDN.js +0 -2
  863. package/dist/cdn/IIAM2J7I.js +0 -2
  864. package/dist/cdn/IKDCKYJ5.js +0 -2
  865. package/dist/cdn/ILLXAWCL.js +0 -2
  866. package/dist/cdn/IONZ3SDQ.js +0 -2
  867. package/dist/cdn/IS7DQMPO.js +0 -2
  868. package/dist/cdn/ISFEEC67.js +0 -2
  869. package/dist/cdn/ISLB62MU.js +0 -2
  870. package/dist/cdn/IU5YH2S4.js +0 -2
  871. package/dist/cdn/IXINH2FU.js +0 -2
  872. package/dist/cdn/IZ43EVPH.js +0 -2
  873. package/dist/cdn/J2P53GWU.js +0 -2
  874. package/dist/cdn/J4D2HORK.js +0 -2
  875. package/dist/cdn/J7JW6ADT.js +0 -2
  876. package/dist/cdn/JASFUUT6.js +0 -2
  877. package/dist/cdn/JBND67XM.js +0 -2
  878. package/dist/cdn/JG22JJ4C.js +0 -2
  879. package/dist/cdn/JI5AIZ2W.js +0 -2
  880. package/dist/cdn/JSOZV4HA.js +0 -2
  881. package/dist/cdn/JTE4CLWD.js +0 -2
  882. package/dist/cdn/JWQCCXL5.js +0 -2
  883. package/dist/cdn/JXTLVDZ3.js +0 -2
  884. package/dist/cdn/JZB5X2MB.js +0 -2
  885. package/dist/cdn/K2DF2MZK.js +0 -2
  886. package/dist/cdn/K33RVKQD.js +0 -2
  887. package/dist/cdn/K3HMF5GC.js +0 -2
  888. package/dist/cdn/K4JVFZDS.js +0 -2
  889. package/dist/cdn/K4VVZ2OR.js +0 -2
  890. package/dist/cdn/K5O2OVOP.js +0 -2
  891. package/dist/cdn/K672BF4Z.js +0 -2
  892. package/dist/cdn/KA2RH2XA.js +0 -2
  893. package/dist/cdn/KBPJADC7.js +0 -57
  894. package/dist/cdn/KBYHLIWL.js +0 -2
  895. package/dist/cdn/KI2RNLIW.js +0 -2
  896. package/dist/cdn/KI6QCKOX.js +0 -2
  897. package/dist/cdn/KIEYQKES.js +0 -2
  898. package/dist/cdn/KKON6KFT.js +0 -2
  899. package/dist/cdn/KNZCVIQZ.js +0 -2
  900. package/dist/cdn/KQGFPGAG.js +0 -2
  901. package/dist/cdn/KUB4GMLQ.js +0 -2
  902. package/dist/cdn/KVTXAGQO.js +0 -2
  903. package/dist/cdn/KXGSUPO6.js +0 -2
  904. package/dist/cdn/KZOKH7DH.js +0 -2
  905. package/dist/cdn/L3H4QXUA.js +0 -2
  906. package/dist/cdn/L4D75PLE.js +0 -50
  907. package/dist/cdn/L4XSNBXO.js +0 -2
  908. package/dist/cdn/L6IQ6LTS.js +0 -2
  909. package/dist/cdn/LA2OL44Q.js +0 -2
  910. package/dist/cdn/LDJN5446.js +0 -2
  911. package/dist/cdn/LEVMADAS.js +0 -2
  912. package/dist/cdn/LG3VZTHJ.js +0 -2
  913. package/dist/cdn/LG5BO6HC.js +0 -2
  914. package/dist/cdn/LK454DSU.js +0 -2
  915. package/dist/cdn/LLGS7DKU.js +0 -2
  916. package/dist/cdn/LLX4O2ZL.js +0 -2
  917. package/dist/cdn/LNVYZ53G.js +0 -2
  918. package/dist/cdn/LPMAR4KQ.js +0 -2
  919. package/dist/cdn/LQ4GVKBA.js +0 -2
  920. package/dist/cdn/LVCMKKG7.js +0 -2
  921. package/dist/cdn/LY5D6DDL.js +0 -2
  922. package/dist/cdn/M5TH54YS.js +0 -3
  923. package/dist/cdn/MAKNOF2E.js +0 -2
  924. package/dist/cdn/MBDZ6CTU.js +0 -2
  925. package/dist/cdn/MBJNG2TV.js +0 -2
  926. package/dist/cdn/MCXCKUVJ.js +0 -2
  927. package/dist/cdn/ME6P5KK5.js +0 -2
  928. package/dist/cdn/MGC3EC3F.js +0 -2
  929. package/dist/cdn/MIGVC3YS.js +0 -2
  930. package/dist/cdn/MILBEJO3.js +0 -2
  931. package/dist/cdn/MLV6BSL7.js +0 -2
  932. package/dist/cdn/MPHKEKH4.js +0 -2
  933. package/dist/cdn/MS3RNOP5.js +0 -2
  934. package/dist/cdn/MT4BUGHF.js +0 -2
  935. package/dist/cdn/MUJK2PAB.js +0 -10
  936. package/dist/cdn/MUN2QI43.js +0 -2
  937. package/dist/cdn/MUVLHU4H.js +0 -2
  938. package/dist/cdn/MWFTBYF7.js +0 -22
  939. package/dist/cdn/MYXIS5RQ.js +0 -2
  940. package/dist/cdn/N2SCAU7I.js +0 -2
  941. package/dist/cdn/N6GGGJDB.js +0 -2
  942. package/dist/cdn/N6VT6AJI.js +0 -2
  943. package/dist/cdn/N7CJXIRA.js +0 -2
  944. package/dist/cdn/NABNAFFZ.js +0 -2
  945. package/dist/cdn/NC3HXMKH.js +0 -2
  946. package/dist/cdn/NCTESU3D.js +0 -2
  947. package/dist/cdn/NE7SMAEP.js +0 -2
  948. package/dist/cdn/NFD3QJ6J.js +0 -2
  949. package/dist/cdn/NFY3ASEY.js +0 -2
  950. package/dist/cdn/NPWIO5CS.js +0 -2
  951. package/dist/cdn/NR4ANSZX.js +0 -2
  952. package/dist/cdn/NSMWYS6Z.js +0 -2
  953. package/dist/cdn/NUH2IEG5.js +0 -2
  954. package/dist/cdn/NW2YTW26.js +0 -2
  955. package/dist/cdn/NYFFZ52T.js +0 -2
  956. package/dist/cdn/NZG4KZHV.js +0 -2
  957. package/dist/cdn/O247GUBF.js +0 -2
  958. package/dist/cdn/OAFVLHOP.js +0 -2
  959. package/dist/cdn/OB5GUG4Q.js +0 -2
  960. package/dist/cdn/OF3K6ILR.js +0 -2
  961. package/dist/cdn/OGP4ICMS.js +0 -2
  962. package/dist/cdn/OHGAZBGC.js +0 -2
  963. package/dist/cdn/OHHSI5BP.js +0 -2
  964. package/dist/cdn/OHRPOEMD.js +0 -2
  965. package/dist/cdn/OLBIGEZV.js +0 -2
  966. package/dist/cdn/OQNAOTWQ.js +0 -2
  967. package/dist/cdn/OQOFL4GS.js +0 -2
  968. package/dist/cdn/OYSFOPFK.js +0 -2
  969. package/dist/cdn/OZDJZBGR.js +0 -2
  970. package/dist/cdn/P32YXLHN.js +0 -2
  971. package/dist/cdn/P4SQ46RJ.js +0 -2
  972. package/dist/cdn/P5C64FCP.js +0 -2
  973. package/dist/cdn/P7D42LBQ.js +0 -2
  974. package/dist/cdn/PJFE4OSA.js +0 -2
  975. package/dist/cdn/PM6CSPJD.js +0 -2
  976. package/dist/cdn/PMG4LRKI.js +0 -2
  977. package/dist/cdn/PTAQKJEW.js +0 -2
  978. package/dist/cdn/PTT753DR.js +0 -2
  979. package/dist/cdn/PUDNBWDK.js +0 -2
  980. package/dist/cdn/PVUKIX2R.js +0 -2
  981. package/dist/cdn/PWESAKVV.js +0 -6
  982. package/dist/cdn/PXIEZUFC.js +0 -2
  983. package/dist/cdn/Q4GV7FFJ.js +0 -2
  984. package/dist/cdn/Q5A7L43T.js +0 -2
  985. package/dist/cdn/Q5LOYC24.js +0 -2
  986. package/dist/cdn/QA5B2Y37.js +0 -2
  987. package/dist/cdn/QFSHQXGM.js +0 -2
  988. package/dist/cdn/QK2OPJGK.js +0 -2
  989. package/dist/cdn/QK4D6OMO.js +0 -2
  990. package/dist/cdn/QMYN3FVH.js +0 -2
  991. package/dist/cdn/QQRKMUCB.js +0 -2
  992. package/dist/cdn/QQS6Z4FZ.js +0 -5468
  993. package/dist/cdn/QTIJHBJB.js +0 -2
  994. package/dist/cdn/QTKEVJG2.js +0 -2
  995. package/dist/cdn/QVFTGLEP.js +0 -2
  996. package/dist/cdn/QW4LROIM.js +0 -2
  997. package/dist/cdn/QWOHM2SY.js +0 -2
  998. package/dist/cdn/QYHIY3ME.js +0 -2
  999. package/dist/cdn/QYIYNECI.js +0 -2
  1000. package/dist/cdn/R4PTOUBU.js +0 -2
  1001. package/dist/cdn/R7CH3OBE.js +0 -2
  1002. package/dist/cdn/R7OW7BC6.js +0 -2
  1003. package/dist/cdn/RBHMRIVU.js +0 -2
  1004. package/dist/cdn/RGKBSVQD.js +0 -2
  1005. package/dist/cdn/RGTW5L2M.js +0 -2
  1006. package/dist/cdn/RL2IUUBA.js +0 -2
  1007. package/dist/cdn/RLTWZY2Y.js +0 -2
  1008. package/dist/cdn/ROWHAGC5.js +0 -2
  1009. package/dist/cdn/RPCTY5PP.js +0 -2
  1010. package/dist/cdn/RPW6M2RS.js +0 -2
  1011. package/dist/cdn/RTTSVKW2.js +0 -2
  1012. package/dist/cdn/RTUW32PG.js +0 -2
  1013. package/dist/cdn/RXVVMKTZ.js +0 -2
  1014. package/dist/cdn/S2TL4ARK.js +0 -2
  1015. package/dist/cdn/S57GAUCL.js +0 -3
  1016. package/dist/cdn/S6DY4JGI.js +0 -2
  1017. package/dist/cdn/S6XQNPGY.js +0 -2
  1018. package/dist/cdn/SCTDVE2P.js +0 -2
  1019. package/dist/cdn/SD326B2E.js +0 -2
  1020. package/dist/cdn/SDXNFZ6Q.js +0 -2
  1021. package/dist/cdn/SDZ7AXWI.js +0 -2
  1022. package/dist/cdn/SEZVVM5Z.js +0 -2
  1023. package/dist/cdn/SGM4YRBH.js +0 -2
  1024. package/dist/cdn/SNSHV52T.js +0 -2
  1025. package/dist/cdn/SOGZ7ZLI.js +0 -2
  1026. package/dist/cdn/SR3IHWFL.js +0 -2
  1027. package/dist/cdn/SVAOM6PB.js +0 -2
  1028. package/dist/cdn/SZJPVJS6.js +0 -2
  1029. package/dist/cdn/T3M236GE.js +0 -2
  1030. package/dist/cdn/TARH5FST.js +0 -2
  1031. package/dist/cdn/TBD7PFFA.js +0 -2
  1032. package/dist/cdn/TC2QNSUN.js +0 -2
  1033. package/dist/cdn/TCBYBEBE.js +0 -2
  1034. package/dist/cdn/TCCZ5S2A.js +0 -2
  1035. package/dist/cdn/TFMTKJFO.js +0 -2
  1036. package/dist/cdn/TGK6L2ZE.js +0 -2
  1037. package/dist/cdn/TH5ZUUV3.js +0 -2
  1038. package/dist/cdn/THLIDOGM.js +0 -2
  1039. package/dist/cdn/TJLG5Q5Y.js +0 -2
  1040. package/dist/cdn/TJMJIAXA.js +0 -2
  1041. package/dist/cdn/TO5XR7VA.js +0 -2
  1042. package/dist/cdn/TQ5M7ABM.js +0 -2
  1043. package/dist/cdn/TVZTOZL7.js +0 -2
  1044. package/dist/cdn/TXQQV57A.js +0 -2
  1045. package/dist/cdn/U2H7HOIC.js +0 -2
  1046. package/dist/cdn/U7SPPU37.js +0 -2
  1047. package/dist/cdn/UA2PWQXW.js +0 -2
  1048. package/dist/cdn/UADY5XO7.js +0 -2
  1049. package/dist/cdn/UC7PCLBG.js +0 -2
  1050. package/dist/cdn/UCBTNECN.js +0 -2
  1051. package/dist/cdn/UCNRE4DW.js +0 -23
  1052. package/dist/cdn/UCUSWPVC.js +0 -2
  1053. package/dist/cdn/UEMRCQKF.js +0 -2
  1054. package/dist/cdn/UGI23J3C.js +0 -2
  1055. package/dist/cdn/UGPEDWIJ.js +0 -4
  1056. package/dist/cdn/UJKN7G7W.js +0 -2
  1057. package/dist/cdn/UJZ32HDH.js +0 -2
  1058. package/dist/cdn/UMST4RFY.js +0 -2
  1059. package/dist/cdn/UN6MRXZW.js +0 -2
  1060. package/dist/cdn/UOAJQR2X.js +0 -2
  1061. package/dist/cdn/UR5INQGU.js +0 -2
  1062. package/dist/cdn/USNX342T.js +0 -2
  1063. package/dist/cdn/UTQMJRMF.js +0 -2
  1064. package/dist/cdn/UUGPYRMY.js +0 -2
  1065. package/dist/cdn/UWA2UA4S.js +0 -2
  1066. package/dist/cdn/UXDEAKSF.js +0 -2
  1067. package/dist/cdn/UYYBCR75.js +0 -2
  1068. package/dist/cdn/V33D2RRV.js +0 -2
  1069. package/dist/cdn/V3U3RRL7.js +0 -2
  1070. package/dist/cdn/V6SKJ43C.js +0 -2
  1071. package/dist/cdn/V7H25Z5U.js +0 -2
  1072. package/dist/cdn/V7PXTC6I.js +0 -2
  1073. package/dist/cdn/VANWWSL3.js +0 -2
  1074. package/dist/cdn/VCGND4NR.js +0 -2
  1075. package/dist/cdn/VFVNN33U.js +0 -2
  1076. package/dist/cdn/VHIRPM4L.js +0 -2
  1077. package/dist/cdn/VIC2IR7N.js +0 -2
  1078. package/dist/cdn/VJ4I63OO.js +0 -2
  1079. package/dist/cdn/VPJ4NGJ5.js +0 -2
  1080. package/dist/cdn/VQ6FS65F.js +0 -2
  1081. package/dist/cdn/VT5NU2WH.js +0 -2
  1082. package/dist/cdn/VXJI546E.js +0 -2
  1083. package/dist/cdn/W2VLXDRD.js +0 -39
  1084. package/dist/cdn/W37GIL2C.js +0 -2
  1085. package/dist/cdn/W57XOSMI.js +0 -2
  1086. package/dist/cdn/W6BMVYH7.js +0 -2
  1087. package/dist/cdn/W6GBJ4BL.js +0 -2
  1088. package/dist/cdn/WBUC7HJI.js +0 -2
  1089. package/dist/cdn/WEJLZVU6.js +0 -2
  1090. package/dist/cdn/WFV47RA4.js +0 -4
  1091. package/dist/cdn/WFWIIWQC.js +0 -2
  1092. package/dist/cdn/WGUAKT5I.js +0 -2
  1093. package/dist/cdn/WJED2YG7.js +0 -2
  1094. package/dist/cdn/WJFIZ6DL.js +0 -2
  1095. package/dist/cdn/WL6CGZLR.js +0 -2
  1096. package/dist/cdn/WMNWHF5U.js +0 -2
  1097. package/dist/cdn/WN7GK2WG.js +0 -2
  1098. package/dist/cdn/WPADWRCH.js +0 -2
  1099. package/dist/cdn/WTFAANTX.js +0 -2
  1100. package/dist/cdn/WTJOWA2D.js +0 -2
  1101. package/dist/cdn/WTTSGDHM.js +0 -2
  1102. package/dist/cdn/WU3HYV7B.js +0 -2
  1103. package/dist/cdn/WVZNJMRA.js +0 -2
  1104. package/dist/cdn/X5GRVXSY.js +0 -2
  1105. package/dist/cdn/XGOWY36W.js +0 -2
  1106. package/dist/cdn/XI72UBIK.js +0 -2
  1107. package/dist/cdn/XIWVNNXH.js +0 -2
  1108. package/dist/cdn/XKQTJFVJ.js +0 -2
  1109. package/dist/cdn/XKUKAFLE.js +0 -2
  1110. package/dist/cdn/XLV625TR.js +0 -2
  1111. package/dist/cdn/XN55PVRJ.js +0 -2
  1112. package/dist/cdn/XP6ZXTST.js +0 -2
  1113. package/dist/cdn/XRBZRHR3.js +0 -2
  1114. package/dist/cdn/XX3BCLUI.js +0 -2
  1115. package/dist/cdn/XYUMPZMT.js +0 -2
  1116. package/dist/cdn/XZDHV5BV.js +0 -2
  1117. package/dist/cdn/Y7N6UKCC.js +0 -2
  1118. package/dist/cdn/YBDFIKTN.js +0 -2
  1119. package/dist/cdn/YCEXTCZD.js +0 -2
  1120. package/dist/cdn/YDFCEZES.js +0 -2
  1121. package/dist/cdn/YDWT2GP5.js +0 -2
  1122. package/dist/cdn/YEWX4IVK.js +0 -6
  1123. package/dist/cdn/YHO7A5RX.js +0 -2
  1124. package/dist/cdn/YKYTSHP4.js +0 -2
  1125. package/dist/cdn/YLRR2XFD.js +0 -2
  1126. package/dist/cdn/YMX7NNEY.js +0 -3
  1127. package/dist/cdn/YQMHCSXF.js +0 -2
  1128. package/dist/cdn/YRCBIK2Y.js +0 -2
  1129. package/dist/cdn/YTAOXT7K.js +0 -4
  1130. package/dist/cdn/YVXHYFKJ.js +0 -2
  1131. package/dist/cdn/YWXDWRYJ.js +0 -2
  1132. package/dist/cdn/Z2Z5RGR2.js +0 -2
  1133. package/dist/cdn/Z3TOG5XS.js +0 -2
  1134. package/dist/cdn/Z756THCU.js +0 -2
  1135. package/dist/cdn/Z7Q6BWC3.js +0 -2
  1136. package/dist/cdn/ZC36M5LD.js +0 -2
  1137. package/dist/cdn/ZCQJ26PE.js +0 -2
  1138. package/dist/cdn/ZFP6AZG7.js +0 -2
  1139. package/dist/cdn/ZKXOPB4E.js +0 -2
  1140. package/dist/cdn/ZM3EAORZ.js +0 -2
  1141. package/dist/cdn/ZNEDALBA.js +0 -2
  1142. package/dist/cdn/ZQPTNYU6.js +0 -2
  1143. package/dist/cdn/ZR5F7KBC.js +0 -2
  1144. package/dist/cdn/ZT74OVX5.js +0 -2
  1145. package/dist/cdn/ZUFDLSS7.js +0 -2
  1146. package/dist/cdn/ZVGAVULD.js +0 -2
  1147. package/dist/cdn/ZX3NL6MQ.js +0 -2
  1148. package/dist/cdn/ZXTOK4AF.js +0 -2
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as Je}from"./ZQPTNYU6.js";import{c as et,d as tt,f as nt}from"./UCUSWPVC.js";import{a as me}from"./HTYDCXX6.js";import{a as he,b as Ye}from"./LDJN5446.js";import{a as T,b as U,c as N,d as pe,e as x,f as $,g as M,h as V,i as We,j as Ze,p as Xe}from"./6LDEVQEO.js";import{B as k,C,L as $e,N as de,O as Me,P as Ve,Q as He,R as Qe,S as ze}from"./2NJPYBHN.js";import{i as le}from"./CBIG4EMI.js";import{d as Ge,m as ie,o as Be,w as Le}from"./K3HMF5GC.js";import{a as qe,c as ae}from"./B6CP7FIT.js";import{a as D}from"./XP6ZXTST.js";import{a as fe,c as Ke}from"./UR5INQGU.js";import{a as Fe,b as ke}from"./GJINUBO7.js";import{a as oe,k as F,l as ce,m as ue}from"./BHYFMWFH.js";import{i as ne}from"./2W2UGJLH.js";import{a as _}from"./XI72UBIK.js";import{e as B,f as Ue,g as Ne,h as se,n as L,o as xe}from"./H3CSIYXV.js";import{a as je}from"./MUN2QI43.js";import{a as Re}from"./I3LGHXIN.js";import{a as _e}from"./S2TL4ARK.js";import{a as E}from"./WBUC7HJI.js";import{n as Ce}from"./SD326B2E.js";import{a as ee}from"./HZHPBMYE.js";import{b as re}from"./OQOFL4GS.js";import{b as Ie}from"./RGKBSVQD.js";import{h as Te}from"./FZ7ZK37I.js";import{b as te}from"./A36IL72A.js";import{a as Pe}from"./P7D42LBQ.js";import{a as G,k as A}from"./HEPYE6RX.js";import{a as w}from"./7GTUV67W.js";function At(e){return re(e,"user")}function Dt(e){return re(e,"communityUser")}var ot={CSV:"csv",JSON:"json"},ge=class extends ke{constructor(t,n,s,a){super(t,n,s),this.error=a}};function yt(e){let{token:t,authentication:n}=e,s=()=>Promise.resolve(t);return n&&(s=n.getToken.bind(n,n.portal)),s()}function wt(e,t,n,s){var a;let r=e,i=new Headers(t.headers);i.append("Content-Type","application/json"),s&&i.append("Authorization",`Bearer ${s}`);let o={headers:i,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},u=Fe({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${n}`});if(t.data)if(t.httpMethod==="GET"){let b=new URLSearchParams(t.data).toString();r+=`?${b}`}else o.body=JSON.stringify(t.data);let d=["/posts","/posts/search"].includes(e)&&(((a=t.data)===null||a===void 0?void 0:a.f)===ot.CSV||i.get("Accept")==="text/csv"),m=[u.replace(/\/$/,""),r.replace(/^\//,"")].join("/");return fetch(m,o).then(b=>{if(b.ok)return d?b.text():b.json();{let{statusText:p,status:h}=b;return b.json().then(v=>{throw new ge(p,m,h,JSON.stringify(v.message))})}})}function S(e,t){return yt(t).then(n=>wt(e,t,"v2",n))}function Et(e,t){return`${ee(t)}/home/group.html?id=${e}`}function Tt(e,t){let n;return t.authentication&&(n=t.authentication.token),{self:Et(e.id,t),siteRelative:`/groups/${e.id}`,siteRelativeEntityType:Ce("Group"),workspaceRelative:Le("Group",e.id),thumbnail:Ne(t.portal,e,n)}}function It(e,t){let{api:n,requestOptions:{isPortal:s}}=t;return s?!1:e==="discussionPost"?!0:e==="item"&&n==="hub"}function Pt(e,t){let{requestOptions:{isPortal:n}}=t;return(e==="channel"||e==="post")&&!n}function Rt(e,t){let{requestOptions:{isPortal:n}}=t;return["event","eventAttendee"].includes(e)&&!n}function jt(e,t){let n="portal";return(Pt(e,t)||Rt(e,t)||It(e,t))&&(n="hub"),n}function _t(e,t){return Je(e,{},t)}var Ct=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichUserOrg");if(t.user.orgId){let r=Object.assign(Object.assign({},s),{portal:`${Re(s.portal)}/sharing/rest`});return F(t.user.orgId,r).then(i=>(n.finish(a),{data:Object.assign(Object.assign({},t),{org:i}),stack:n,requestOptions:s})).catch(i=>Ut(i,e,a))}else return n.finish(a),Promise.resolve({data:Object.assign(Object.assign({},t),{org:null}),stack:n,requestOptions:s})},Ut=(e,t,n)=>{let{data:s,stack:a,requestOptions:r}=t;return a.finish(n,{error:e}),{data:Object.assign(Object.assign({},s),{errors:ue(e,s.errors)}),stack:a,requestOptions:r}},Nt={org:Ct};function xt(e,t,n){let s=t.reduce((r,i)=>{let o=Nt[i];return o&&r.push(o),r},[]);return ce(s)({data:{user:e},stack:new oe,requestOptions:n}).then(r=>r.data)}async function qt(e,t,n){var s,a,r;t.settings=n.userHubSettings;let o=await _(Gt,{})(n),d=await _(_e,{})(n.requestOptions);return t.hubOrgSettings={showInformationalBanner:!!(!((r=(a=(s=d.portalProperties)===null||s===void 0?void 0:s.hub)===null||a===void 0?void 0:a.settings)===null||r===void 0)&&r.informationalBanner),enableTermsAndConditions:!!o.termsAndConditions,termsAndConditions:o.termsAndConditions,enableSignupText:!!o.signupText,signupText:o.signupText},t}function Gt(e){let t=`${Ie(e.requestOptions)}/portals/self/signinSettings`,n=Object.assign(Object.assign({},e.requestOptions),{httpMethod:"GET"});return Te(t,n)}function Oe(e,t){return`${ee(t)}/home/user.html?user=${e}`}var ct=e=>{let t=Object.prototype.hasOwnProperty.call(e,"description")?e.description:void 0;return{access:e.access,id:e.username,name:e.fullName,description:t,summary:t,createdDate:new Date(e.created),createdDateSource:"user.created",orgId:e.orgId,owner:e.username,updatedDate:new Date(e.modified),updatedDateSource:"user.modified",tags:e.tags,thumbnail:e.thumbnail,type:"User",typeKeywords:[],links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:null}}};async function ut(e,t,n){var s;let a=ct(e),r=Object.assign(Object.assign({},a),{family:"people",rawResult:e});e.memberType&&(r.memberType=e.memberType,r.isGroupOwner=e.isGroupOwner);let i=t.filter(A).map(le),o=te("enrichment",i).filter(A),u={};o.length&&(u=await xt(e,o,n)),i.forEach(m=>{r[m.prop]=w(u,m.path)});let d=(s=n.authentication)===null||s===void 0?void 0:s.token;return e.thumbnail&&(r.links.thumbnail=se(n.portal,e,d)),r.links.self=Oe(r.id,n),r.links.siteRelative=n.isPortal?Oe(r.id,n):`/people/${r.id}`,r}var ss=async(e,t)=>{let n=e==="self"?t.currentUser:await E(Object.assign(Object.assign({},t.hubRequestOptions),{username:e})),s=ct(n);return s=await qt(n,s,t),s};async function Bt(e,t){let n;if(e.filters.forEach(r=>{r.predicates.forEach(i=>{let o=w(i,"group");Array.isArray(o)?n=o[0]:typeof o=="string"?n=o:typeof o=="object"&&(n=w(o,"any[0]")||w(o,"all[0]"))})}),!n)throw new D("portalSearchGroupMembers","Group Id required. Please pass as a predicate in the query.");e.filters=e.filters.map(r=>{let i=["name","memberType","joined"];return r.predicates=r.predicates.map(o=>(o.term&&(o.name=o.term,delete o.term),o)).map(o=>_t(o,i)).filter(o=>Object.entries(o).length>0).map(B),r});let s=k(e);return["num","sortField","sortOrder","include","start"].forEach(r=>{Object.prototype.hasOwnProperty.call(t,r)&&(s[r]=t[r])}),s.groupId=n,s.requestOptions=t.requestOptions,lt(s)}async function lt(e){let t=Object.assign(Object.assign({},e),e.requestOptions),n=await ae(e.groupId,t),s=r=>Lt(Object.assign(Object.assign({},r),{isGroupOwner:n.owner.username===r.username}),e.include,e.requestOptions),a=await Promise.all(n.users.map(s));return{total:n.total,results:a,hasNext:n.nextStart>-1,next:C(e,n.nextStart,n.total,lt)}}async function Lt(e,t=[],n){let s={username:e.username,memberType:e.memberType||"member",access:"private",fullName:null,firstName:null,lastName:null,description:null,orgId:null,groups:[],tags:[],thumbnail:null,created:null,modified:null,isGroupOwner:e.isGroupOwner},r=await _(E,s)({username:e.username,authentication:n.authentication,portal:n.portal});return Object.keys(s).forEach(i=>{Object.prototype.hasOwnProperty.call(r,i)&&r[i]!==""&&je(i,r[i],s)}),ut(s,["org.name as OrgName",...t],n)}var Ft=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichGroupContentCount"),r=Object.assign({groupId:t.group.id,num:1},s);return Ye(r).then(i=>(n.finish(a),{data:Object.assign(Object.assign({},t),{contentCount:i.total}),stack:n,requestOptions:s})).catch(i=>ve(i,e,a))},kt=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichGroupMembershipSummary"),r=Object.assign({num:3},s);return ae(t.group.id,r).then(i=>(n.finish(a),{data:Object.assign(Object.assign({},t),{membershipSummary:{total:i.total,users:i.users}}),stack:n,requestOptions:s})).catch(i=>ve(i,e,a))},$t=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichGroupUserMembership");return qe(t.group.id,s).then(r=>(n.finish(a),{data:Object.assign(Object.assign({},t),{membershipAccess:r.membershipAccess,userMembership:w(r,"userMembership.memberType")}),stack:n,requestOptions:s})).catch(r=>ve(r,e,a))},ve=(e,t,n)=>{let{data:s,stack:a,requestOptions:r}=t;return a.finish(n,{error:e}),{data:Object.assign(Object.assign({},s),{errors:ue(e,s.errors)}),stack:a,requestOptions:r}},Mt={membershipSummary:kt,contentCount:Ft,userMembership:$t};function Vt(e,t,n){let s=t.reduce((r,i)=>{let o=Mt[i];return o&&r.push(o),r},[]);return ce(s)({data:{group:e},stack:new oe,requestOptions:n}).then(r=>r.data)}async function Ht(e,t,n){let s={access:e.access,id:e.id,type:"Group",name:e.title,owner:e.owner,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"group.created",updatedDate:new Date(e.modified),updatedDateSource:"group.modified",family:"team",links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},rawResult:e};s.isSharedUpdate=(e.capabilities||[]).includes("updateitemcontrol"),s.membershipAccess=e.membershipAccess,s.isOpenData=!!e.isOpenData,t=[...[],...t].filter(A);let r=t.map(le),i=te("enrichment",r).filter(A),o={};return i.length&&(o=await Vt(e,i,n)),r.forEach(u=>{s[u.prop]=w(o,u.path)}),s.links=Tt(e,n),s}async function Qt(e,t){if(!t.requestOptions)throw new D("portalSearchGroups","options.requestOptions is required.");e.filters=e.filters.map(a=>(a.predicates=a.predicates.map(B),a));let n=k(e);return["num","sortField","sortOrder","include","start","httpMethod","requestOptions"].forEach(a=>{Object.prototype.hasOwnProperty.call(t,a)&&(n[a]=t[a])}),t.requestOptions.authentication?n.authentication=t.requestOptions.authentication:n.portal=t.requestOptions.portal,dt(n)}async function dt(e){let t=await he(e),n=a=>zt(a,e.include,e.requestOptions),s=await Promise.all(t.results.map(n));return{total:t.total,results:s,hasNext:t.nextStart>-1,next:C(e,t.nextStart,t.total,dt),executedQuerySize:L(e.q)}}async function zt(e,t=[],n){return Ht(e,t,n)}function Ae(e,t,n){if(!t.requestOptions)throw new D(n,"requestOptions: IHubRequestOptions is required.");if(!t.requestOptions.authentication)throw new D(n,"requestOptions must pass authentication.");let s=G(e);s.filters=s.filters.map(i=>(i.predicates=i.predicates.map(B),i));let a=k(s);return["num","sortField","sortOrder","include","start","requestOptions"].forEach(i=>{Object.prototype.hasOwnProperty.call(t,i)&&(a[i]=t[i])}),a.authentication=t.requestOptions.authentication,a}function Kt(e,t){let n=Ae(e,t,"searchPortalUsersLegacy");return De(Object.assign(Object.assign({},n),{include:["org.name as OrgName",...n.include||[]]}))}function Jt(e,t){let n=Ae(e,t,"searchPortalUsers");return De(n)}function Yt(e,t){let n=Ae(e,t,"searchCommunityUsers");return ht(n)}function ft(e,t){let n=s=>Wt(s,e.include,e.requestOptions);return Promise.all(t.results.map(n))}async function De(e){let t=await At(e),n=await ft(e,t);return{total:t.total,results:n,hasNext:t.nextStart>-1,next:C(e,t.nextStart,t.total,De),executedQuerySize:L(e.q)}}async function ht(e){let t=await Dt(e),n=await ft(e,t);return{total:t.total,results:n,hasNext:t.nextStart>-1,next:C(e,t.nextStart,t.total,ht),executedQuerySize:L(e.q)}}function Wt(e,t=[],n){return ut(e,t,n)}function Zt(e){let t=e.aggregations.aggregations.map(n=>({mode:"terms",field:n.field,values:n.aggregations.map(s=>({value:s.label,count:s.value}))}));return{total:0,results:[],hasNext:!1,next:()=>null,aggregations:t}}function Xt(e,t){let n=`terms(fields=(${t.aggFields.join()}))`,s=Me(e),a=He(e),r=Ve(e),i=w(t,"requestOptions.authentication.token");return{aggregations:n,bbox:a,filter:s,q:r,token:i}}async function en(e,t){let n=`${de(e,t)}/aggregations`,s=Xt(e,t),a=await Qe(n,s,t);return Zt(a)}async function st(e,t){var n;let s=xe(e);if(!((n=t.aggFields)===null||n===void 0)&&n.length)return en(s,t);let a=`${de(s,t)}/items`;return ze(a,s,t)}var tn={HAS_USER_POSTS:"has_user_posts"},be=e=>e.reduce((t,n)=>typeof n=="object"&&n!==null&&"not"in n?Object.assign(Object.assign({},t),{notIds:[...t.notIds,...Array.isArray(n.not)?n.not:[n.not]]}):typeof n=="string"?Object.assign(Object.assign({},t),{ids:[...t.ids,n]}):t,{ids:[],notIds:[]});function ye(e){return e.reduce((t,n)=>n.predicates.reduce((s,a)=>Object.keys(a).reduce((r,i)=>{let u=(Array.isArray(a[i])?a[i]:[a[i]]).reduce((d,m)=>d.includes(m)?d:[...d,m],r[i]||[]);return Object.assign(Object.assign({},r),{[i]:u})},s),t),{})}function nn(e){var t,n,s,a,r,i,o,u,d,m,b;let p={},h=ye(e);if(!((t=h.term)===null||t===void 0)&&t.length&&(p.name=h.term[0]),!((n=h.group)===null||n===void 0)&&n.length&&(p.groups=h.group),!((s=h.access)===null||s===void 0)&&s.length&&(p.access=h.access),!((a=h.orgId)===null||a===void 0)&&a.length&&(p.orgIds=h.orgId),!((r=h.discussion)===null||r===void 0)&&r.length&&(p.discussion=h.discussion[0]),((i=h.hasUserPosts)===null||i===void 0?void 0:i[0])===!0&&(p.filterBy=tn.HAS_USER_POSTS),!((o=h.role)===null||o===void 0)&&o.length&&(p.roles=h.role),!((u=h.owner)===null||u===void 0)&&u.length&&(p.creator=h.owner[0]),!((d=h.id)===null||d===void 0)&&d.length){let{ids:v,notIds:l}=be(h.id);v.length&&(p.ids=v),l.length&&(p.notIds=l.filter(A))}return!((m=h.createdDateRange)===null||m===void 0)&&m.length&&(p.createdBefore=new Date(h.createdDateRange[0].to),p.createdAfter=new Date(h.createdDateRange[0].from)),!((b=h.updatedDateRange)===null||b===void 0)&&b.length&&(p.updatedBefore=new Date(h.updatedDateRange[0].to),p.updatedAfter=new Date(h.updatedDateRange[0].from)),p}var sn={CHANNEL_ACL:"channelAcl"},q={ACCESS:"access",CREATED_AT:"createdAt",CREATOR:"creator",EDITOR:"editor",ID:"id",LAST_ACTIVITY:"last_activity",UPDATED_AT:"updatedAt"},Q={ASC:"ASC",DESC:"DESC"},rt={access:q.ACCESS,created:q.CREATED_AT,modified:q.UPDATED_AT,owner:q.CREATOR,lastActivity:q.LAST_ACTIVITY},at={desc:Q.DESC,asc:Q.ASC};function rn(e){let t={relations:[sn.CHANNEL_ACL]};return e.num&&(t.num=e.num),e.start&&(t.start=e.start),e.sortField&&rt[e.sortField]&&(t.sortBy=rt[e.sortField]),e.sortOrder&&at[e.sortOrder]&&(t.sortOrder=at[e.sortOrder]),t}async function an(e,t){var n;let s=[];if(!((n=t.include)===null||n===void 0)&&n.includes("groups")){let a=e.reduce((i,o)=>ie(o).reduce((u,d)=>u.includes(d)?u:[...u,d],i),[]);s=(await me(Ke(a,100),i=>he(Object.assign({q:i.map(o=>`id:${o}`).join(" OR "),num:i.length},t.requestOptions)),5)).reduce((i,o)=>[...i,...o.results],[])}return e.map(a=>{var r;return Be(a,!((r=t.include)===null||r===void 0)&&r.includes("groups")?ie(a).map(i=>s.find(({id:o})=>o===i)||null):[])})}function on(e){return e.httpMethod="GET",S("/channels",e)}function rs(e){return e.httpMethod="POST",S("/channels",e)}function as(e){return e.httpMethod="GET",S(`/channels/${e.channelId}`,e)}function is(e){return e.httpMethod="PATCH",S(`/channels/${e.channelId}`,e)}function os(e){return e.httpMethod="DELETE",S(`/channels/${e.channelId}`,e)}function cs(e){return e.httpMethod="GET",S(`/channels/${e.channelId}/notifications/opt-out`,e)}function us(e){return e.httpMethod="POST",S(`/channels/${e.channelId}/notifications/opt-out`,e)}function ls(e){return e.httpMethod="DELETE",S(`/channels/${e.channelId}/notifications/opt-out`,e)}function ds(e){return e.httpMethod="DELETE",S(`/channels/${e.channelId}/activity`,e)}var mt=async(e,t)=>{if(!t.requestOptions)throw new D("hubSearchChannels","options.requestOptions is required");let n=nn(e.filters),s=rn(t),{total:a,nextStart:r,items:i}=await on(Object.assign({data:Object.assign(Object.assign({},n),s)},t.requestOptions)),o=await an(i,t);return{total:a,results:o,hasNext:r>-1,next:()=>mt(e,Object.assign(Object.assign({},t),{start:r}))}};async function cn(e,t){var n;let s;return!((n=t.include)===null||n===void 0)&&n.includes("ownerUser")&&(s=await E(Object.assign({username:e.creator.username},t.requestOptions))),{access:e.access.toLowerCase(),id:e.id,location:tt(e),type:"Event",name:e.title,owner:e.creator.username,ownerUser:s,summary:e.summary||e.description,createdDate:new Date(e.createdAt),createdDateSource:"event.createdAt",updatedDate:new Date(e.updatedAt),updatedDateSource:"event.updatedAt",family:"event",links:et(e),tags:e.tags,categories:e.categories,rawResult:e}}function un(e){let t={};return e.num>0&&(t.num=e.num),e.start>1&&(t.start=e.start),e.sortField==="modified"?t.sortBy=N.updatedAt:e.sortField==="created"?t.sortBy=N.createdAt:e.sortField==="title"?t.sortBy=N.title:e.sortField==="startDate"&&(t.sortBy=N.startDateTime),t.sortOrder=e.sortOrder==="desc"?U.desc:U.asc,t}function pt(e,t){return t[e]||t[e.toUpperCase()]||t[e.toLowerCase()]||e}function P(e,t){return e.map(n=>pt(n,t))}function ln(e){var t,n,s,a,r,i,o,u,d,m,b,p,h,v,l,g,R,z,K,J,Y,W,Z,X;let c=ye(e),f={};if(!((t=c.access)===null||t===void 0)&&t.length&&(f.access=P(c.access,Ze)),!((n=c.canEdit)===null||n===void 0)&&n.length&&(f.canEdit=c.canEdit[0]),!((s=c.entityId)===null||s===void 0)&&s.length&&(f.entityIds=c.entityId),!((a=c.entityType)===null||a===void 0)&&a.length&&(f.entityTypes=P(c.entityType,We)),!((r=c.id)===null||r===void 0)&&r.length){let{ids:O,notIds:j}=be(c.id);O.length&&(f.eventIds=O.filter(A)),j.length&&(f.notEventIds=j.filter(A))}if(!((i=c.term)===null||i===void 0)&&i.length&&(f.title=c.term[0]),!((o=c.orgId)===null||o===void 0)&&o.length&&(f.orgIds=c.orgId),!((u=c.categories)===null||u===void 0)&&u.length&&(f.categories=c.categories),!((d=c.tags)===null||d===void 0)&&d.length&&(f.tags=c.tags),!((m=c.group)===null||m===void 0)&&m.length){let{ids:O,notIds:j}=be(c.group);if(O.length&&(f.sharedToGroups=O),j.length){let Ee=j.filter(A);f.withoutEditGroups=Ee,f.withoutReadGroups=Ee}}if(!((b=c.attendanceType)===null||b===void 0)&&b.length&&(f.attendanceTypes=P(c.attendanceType,V)),!((p=c.owner)===null||p===void 0)&&p.length&&(f.createdByIds=c.owner),f.status=!((h=c.status)===null||h===void 0)&&h.length?P(c.status,M):[M.PLANNED,M.CANCELED],!((v=c.startDateRange)===null||v===void 0)&&v.length){let O=c.startDateRange[0];O.to&&(f.startDateTimeBefore=new Date(O.to).toISOString()),O.from&&(f.startDateTimeAfter=new Date(O.from).toISOString())}else!((l=c.startDateBefore)===null||l===void 0)&&l.length&&(f.startDateTimeBefore=new Date(c.startDateBefore[0]).toISOString()),!((g=c.startDateAfter)===null||g===void 0)&&g.length&&(f.startDateTimeAfter=new Date(c.startDateAfter[0]).toISOString());if(!((R=c.endDateRange)===null||R===void 0)&&R.length){let O=c.endDateRange[0];O.to&&(f.endDateTimeBefore=new Date(O.to).toISOString()),O.from&&(f.endDateTimeAfter=new Date(O.from).toISOString())}else!((z=c.endDateBefore)===null||z===void 0)&&z.length&&(f.endDateTimeBefore=new Date(c.endDateBefore[0]).toISOString()),!((K=c.endDateAfter)===null||K===void 0)&&K.length&&(f.endDateTimeAfter=new Date(c.endDateAfter[0]).toISOString());if(!((J=c.createdDateRange)===null||J===void 0)&&J.length){let O=c.createdDateRange[0];O.to&&(f.createdAtBefore=new Date(O.to).toISOString()),O.from&&(f.createdAtAfter=new Date(O.from).toISOString())}else!((Y=c.createdDateBefore)===null||Y===void 0)&&Y.length&&(f.createdAtBefore=new Date(c.createdDateBefore[0]).toISOString()),!((W=c.createdDateAfter)===null||W===void 0)&&W.length&&(f.createdAtAfter=new Date(c.createdDateAfter[0]).toISOString());return!((Z=c.occurrence)===null||Z===void 0)&&Z.length&&c.occurrence.forEach(O=>{switch(O){case"upcoming":f.startDateTimeAfter=new Date().toISOString();break;case"past":f.endDateTimeBefore=new Date().toISOString();break;case"inProgress":f.startDateTimeBefore=new Date().toISOString(),f.endDateTimeAfter=new Date().toISOString();break}}),!((X=c.modified)===null||X===void 0)&&X.length&&c.modified[0].to&&c.modified[0].from&&(f.updatedAtBefore=new Date(c.modified[0].to).toISOString(),f.updatedAtAfter=new Date(c.modified[0].from).toISOString()),f}async function gt(e,t){let n=ln(e.filters),s=un(t),a=Object.assign(Object.assign(Object.assign({},n),s),{include:[pe.creator,pe.location]}),{items:r,nextStart:i,total:o}=await Xe(Object.assign(Object.assign({},t.requestOptions),{data:a})),u=await Promise.all(r.map(m=>cn(m,t))),d=i>-1;return{total:o,results:u,hasNext:d,next:()=>{if(!d)throw new Error("No more hub events for the given query and options");return gt(e,Object.assign(Object.assign({},t),{start:i}))}}}async function dn(e,t){var n;let[s,a]=await Promise.all([E(Object.assign({username:e.userId},t.requestOptions)),E(Object.assign({username:e.createdById},t.requestOptions))]);return{id:e.id.toString(),access:s.access,name:s.fullName,createdDate:new Date(e.createdAt),createdDateSource:"attendee.createdAt",updatedDate:new Date(e.updatedAt),updatedDateSource:"attendee.updatedAt",type:"Event Attendee",family:"eventAttendee",owner:a.username,rawResult:e,links:{self:Oe(s.username,t.requestOptions),siteRelative:`/people/${s.username}`,thumbnail:s.thumbnail?se(t.requestOptions.portal,s,(n=t.requestOptions.authentication)===null||n===void 0?void 0:n.token):null}}}function fn(e){let t={};return e.num>0&&(t.num=e.num.toString()),e.start>1&&(t.start=e.start.toString()),e.sortField==="modified"?t.sortBy=T.updatedAt:e.sortField==="created"?t.sortBy=T.createdAt:e.sortField==="username"?t.sortBy=T.username:e.sortField==="firstName"?t.sortBy=T.firstName:e.sortField==="lastName"&&(t.sortBy=T.lastName),t.sortOrder=e.sortOrder==="desc"?U.desc:U.asc,t}var Se=(e,t)=>{let n=(s,a)=>a.predicates.reduce((r,i)=>Object.entries(i).reduce((o,[u,d])=>u===t?[...o,...Array.isArray(d)?d:[d]]:o,r),s);return e.reduce(n,[])},H=(e,t)=>{let s=Se(e,t).filter(A).join(",");if(s)return s};function hn(e){let t={eventId:e.properties.eventId},n=(i,o)=>i?.length?i:o.map(u=>u.toLowerCase()).join(","),s=H(e.filters,"userId");s?.length&&(t.userId=s);let a=Se(e.filters,"term");a.length&&(t.name=a[0]),t.type=n(H(e.filters,"attendanceType"),[V.VIRTUAL,V.IN_PERSON]),t.role=n(H(e.filters,"role"),[$.OWNER,$.ORGANIZER,$.ATTENDEE]),t.status=n(H(e.filters,"status"),[x.PENDING,x.ACCEPTED,x.DECLINED,x.BLOCKED]);let r=Se(e.filters,"updatedDateRange");return r.length&&(t.updatedAtBefore=new Date(r[0].to).toISOString(),t.updatedAtAfter=new Date(r[0].from).toISOString()),t}async function Ot(e,t){let n=hn(e),s=fn(t),a=Object.assign(Object.assign({},n),s),{items:r,nextStart:i,total:o}=await nt(Object.assign(Object.assign({},t.requestOptions),{data:a})),u=await Promise.all(r.map(m=>dn(m,t))),d=i>-1;return{total:o,results:u,hasNext:d,next:()=>{if(!d)throw new Error("No more hub events for the given query and options");return Ot(e,Object.assign(Object.assign({},t),{start:i}))}}}function mn(e,t,n=["any","all"]){return Ue(t).filters.reduce((a,r)=>[...a,...r.predicates],[]).reduce((a,r)=>(n.forEach(i=>{a=[...a,...Pe(r,`${e}.${i}`,[])]}),a),[]).filter(A)}async function fs(e,t){let n=await F(e,t),a=t.authentication.token;return bt(n,a)}function pn(e){let t=bt(e);return{id:t.id,title:t.name,name:t.name,url:t.url,type:"Organization",family:"organization",source:"portal",createdDate:t.createdDate,createdDateSource:t.createdDateSource,updatedDate:t.updatedDate,updatedDateSource:t.updatedDateSource,thumbnailUrl:t.thumbnailUrl,thumbnail:t.thumbnail,description:t.description,access:t.access,tags:t.tags,typeKeywords:t.typeKeywords,links:t.links}}function bt(e,t){let n=`https://${e.portalHostname}`;return e.urlKey&&(n=`https://${e.urlKey}.${e.customBaseUrl}`),{id:e.id,orgId:e.id,access:e.access,name:e.name,summary:e.description,description:e.description,type:"Organization",source:"portal",createdDate:new Date(e.created),createdDateSource:"portal",updatedDate:new Date(e.modified),updatedDateSource:"portal",portal:e,thumbnail:e.thumbnail,thumbnailUrl:ne(e,t),url:n,links:{self:n,thumbnail:ne(e,t)},typeKeywords:[],tags:[]}}async function gn(e,t){let n=mn("id",e,["any"]);if(!n.length)throw new Error("Organization query must contain an id predicate.");let s=_(F,null),r=(await me(n,async i=>s(i,t.requestOptions),8)).filter(i=>i!==null);return{total:r.length,hasNext:!1,next:null,results:r.map(i=>pn(i))}}function On(e){return{access:null,createdDate:new Date(e.createdAt),createdDateSource:"post.createdAt",family:"post",id:e.id,location:{type:"none"},name:e.title,owner:e.creator,rawResult:e,source:"",summary:e.body,type:"Post",updatedDate:new Date(e.updatedAt),updatedDateSource:"post.updatedAt"}}var bn={PENDING:"pending",APPROVED:"approved",REJECTED:"rejected",DELETED:"deleted",HIDDEN:"hidden",BLOCKED:"blocked"},Sn={Text:"text",Announcement:"announcement",Poll:"poll",Question:"question"};function vn(e){let[t,n,s,a]=e.split(",").map(d=>parseFloat(d.trim())),r=Math.min(t,s),i=Math.min(n,a),o=Math.max(t,s),u=Math.max(n,a);return{type:"Polygon",coordinates:[[[r,i],[o,i],[o,u],[r,u],[r,i]]]}}function An(e){var t,n,s,a,r,i,o,u,d,m,b,p,h,v;let l=ye(e),g={};if(!((t=l.access)===null||t===void 0)&&t.length&&(g.access=P(l.access,Ge)),!((n=l.bbox)===null||n===void 0)&&n.length){let R=vn(l.bbox[0]);g.geometry=R}return!((s=l.term)===null||s===void 0)&&s.length?g.term=l.term[0]:(!((a=l.title)===null||a===void 0)&&a.length&&(g.title=l.title[0]),!((r=l.body)===null||r===void 0)&&r.length&&(g.body=l.body[0])),!((i=l.channel)===null||i===void 0)&&i.length&&(g.channels=l.channel),!((o=l.owner)===null||o===void 0)&&o.length&&(g.creator=l.owner[0]),!((u=l.discussion)===null||u===void 0)&&u.length&&(g.discussion=l.discussion[0]),!((d=l.editor)===null||d===void 0)&&d.length&&(g.editor=l.editor[0]),!((m=l.status)===null||m===void 0)&&m.length&&(g.status=P(l.status,bn)),Array.isArray(l.parentId)&&(g.parents=l.parentId),!((b=l.groups)===null||b===void 0)&&b.length&&(g.groups=l.groups),!((p=l.postType)===null||p===void 0)&&p.length&&(g.postType=pt(l.postType[0],Sn)),!((h=l.created)===null||h===void 0)&&h.length&&(g.createdBefore=new Date(l.created[0].to),g.createdAfter=new Date(l.created[0].from)),!((v=l.modified)===null||v===void 0)&&v.length&&(g.updatedBefore=new Date(l.modified[0].to),g.updatedAfter=new Date(l.modified[0].from)),g}var y={BODY:"body",CHANNEL_ID:"channelId",CREATED_AT:"createdAt",CREATOR:"creator",DISCUSSION:"discussion",EDITOR:"editor",ID:"id",PARENT_ID:"parentId",STATUS:"status",TITLE:"title",UPDATED_AT:"updatedAt"},Dn={body:y.BODY,channelId:y.CHANNEL_ID,created:y.CREATED_AT,modified:y.UPDATED_AT,owner:y.CREATOR,discussion:y.DISCUSSION,editor:y.EDITOR,id:y.ID,parentId:y.PARENT_ID,status:y.STATUS,title:y.TITLE},it={desc:Q.DESC,asc:Q.ASC};function yn(e){let t={};e.num>0&&(t.num=e.num),e.start>1&&(t.start=e.start),e.sortOrder&&it[e.sortOrder]&&(t.sortOrder=it[e.sortOrder]);let n=Dn[e.sortField];return n&&(t.sortBy=n),t}var I={REPLIES:"replies",REPLY_COUNT:"replyCount",REACTIONS:"reactions",PARENT:"parent",CHANNEL:"channel",CHANNEL_ACL:"channelAcl"},wn={channel:I.CHANNEL,channelAcl:I.CHANNEL_ACL,parent:I.PARENT,reactions:I.REACTIONS,replies:I.REPLIES,replyCount:I.REPLY_COUNT};function En(e=[]){let t=[];for(let n of e){let s=wn[n];s&&!t.includes(s)&&t.push(s)}return t}var St=e=>e.channel?Object.assign(Object.assign({},e),{channelId:e.channel.id}):e,Tn=e=>Object.assign(Object.assign({},e),{items:e.items.map(t=>St(t))});function In(e){return S("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign({},e.data),httpMethod:"POST"})).then(Tn)}function hs(e){return S("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign(Object.assign({},e.data),{f:ot.CSV}),httpMethod:"POST"}))}function ms(e){return S("/posts",Object.assign({httpMethod:"POST"},we(e)))}function ps(e){let t=`/posts/${e.postId}/reply`;return S(t,Object.assign({httpMethod:"POST"},we(e)))}function gs(e){let t=`/posts/${e.postId}`;return e.httpMethod="GET",S(t,e).then(St)}function Os(e){let t=`/posts/${e.postId}`;return e.httpMethod="DELETE",S(t,e)}function bs(e){let t=`/posts/${e.postId}`;return S(t,Object.assign({httpMethod:"PATCH"},we(e)))}function Ss(e){let t=`/posts/${e.postId}/status`;return e.httpMethod="PATCH",S(t,e)}function we(e){let{mentionUrl:t}=e,n=fe(e,["mentionUrl"]);return t&&(n.headers=Object.assign(Object.assign({},n.headers),{"mention-url":t})),n}async function vt(e,t){let n=An(e.filters),s=yn(t),a=En(t.include),r=Object.assign(Object.assign(Object.assign({},n),s),{relations:a}),{items:i,nextStart:o,total:u}=await In(Object.assign(Object.assign({},t.requestOptions),{token:t.requestOptions.hubApiKey,data:r})),d=await Promise.all(i.map(b=>On(b))),m=o>-1;return{total:u,results:d,hasNext:m,next:()=>{if(!m)throw new Error("No more hub posts for the given query and options");return vt(e,Object.assign(Object.assign({},t),{start:o}))}}}async function vs(e,t){if(!e)throw new D("hubSearch","Query is required.");if(!Array.isArray(e.filters))throw new D("hubSearch","Query must have a filters array.");if(!e.filters.length)throw new D("hubSearch","Query must contain at least one Filter.");if(!t.requestOptions)throw new D("hubSearch","requestOptions: IHubRequestOptions is required.");t.include||(t.include=[]);let n=e.targetEntity,{requestOptions:s}=t,a=fe(t,["requestOptions"]),r=G(a);r.requestOptions=s,r.api=jt(n,r);let o=w({portal:{item:$e,group:Qt,user:Kt,portalUser:Jt,communityUser:Yt,groupMember:Bt,organization:gn},hub:{item:st,channel:mt,discussionPost:st,event:gt,eventAttendee:Ot,post:vt}},`${r.api}.${n}`);if(!o)throw new D("hubSearch",`Search via "${n}" filter against "${r.api}" api is not implemented. Please ensure "targetEntity" is defined on the query.`);return o(G(e),r)}export{ot as a,S as b,Et as c,Tt as d,_t as e,Oe as f,ct as g,ut as h,ss as i,Ht as j,tn as k,sn as l,q as m,Q as n,on as o,rs as p,as as q,is as r,os as s,cs as t,us as u,ls as v,ds as w,mn as x,fs as y,pn as z,bt as A,bn as B,Sn as C,y as D,I as E,In as F,hs as G,ms as H,ps as I,gs as J,Os as K,bs as L,Ss as M,vs as N};
@@ -1,39 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{h as S}from"./6VA6IJMP.js";var u=class{source;flags;constructor(e,t=""){this.source=e.source,this.flags=t}setGroup(e,t){let n=typeof t=="string"?t:t.source;return n=n.replace(/(^|[^\[])\^/g,"$1"),this.source=this.source.replace(e,n),this}getRegexp(){return new RegExp(this.source,this.flags)}};var y=/[&<>"']/,L=/[&<>"']/g,G={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},_=/[<>"']|&(?!#?\w+;)/,E=/[<>"']|&(?!#?\w+;)/g;function B(r,e){if(e){if(y.test(r))return r.replace(L,t=>G[t])}else if(_.test(r))return r.replace(E,t=>G[t]);return r}function I(r){return r.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var o;(function(r){r[r.space=1]="space",r[r.text=2]="text",r[r.paragraph=3]="paragraph",r[r.heading=4]="heading",r[r.listStart=5]="listStart",r[r.listEnd=6]="listEnd",r[r.looseItemStart=7]="looseItemStart",r[r.looseItemEnd=8]="looseItemEnd",r[r.listItemStart=9]="listItemStart",r[r.listItemEnd=10]="listItemEnd",r[r.blockquoteStart=11]="blockquoteStart",r[r.blockquoteEnd=12]="blockquoteEnd",r[r.code=13]="code",r[r.table=14]="table",r[r.html=15]="html",r[r.hr=16]="hr"})(o||(o={}));var $=class{gfm=!0;tables=!0;breaks=!1;pedantic=!1;sanitize=!1;sanitizer;mangle=!0;smartLists=!1;silent=!1;highlight;langPrefix="lang-";smartypants=!1;headerPrefix="";renderer;xhtml=!1;escape=B;unescape=I;isNoP};var k=class{options;constructor(e){this.options=e||g.options}code(e,t,n,s){if(this.options.highlight){let a=this.options.highlight(e,t);a!=null&&a!==e&&(n=!0,e=a)}let i=n?e:this.options.escape(e,!0);return t?`
3
- <pre><code class="${this.options.langPrefix+this.options.escape(t,!0)}">${i}
4
- </code></pre>
5
- `:`
6
- <pre><code>${i}
7
- </code></pre>
8
- `}blockquote(e){return`<blockquote>
9
- ${e}</blockquote>
10
- `}html(e){return e}heading(e,t,n){let s=this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-");return`<h${t} id="${s}">${e}</h${t}>
11
- `}hr(){return this.options.xhtml?`<hr/>
12
- `:`<hr>
13
- `}list(e,t){let n=t?"ol":"ul";return`
14
- <${n}>
15
- ${e}</${n}>
16
- `}listitem(e){return"<li>"+e+`</li>
17
- `}paragraph(e){return"<p>"+e+`</p>
18
- `}table(e,t){return`
19
- <table>
20
- <thead>
21
- ${e}</thead>
22
- <tbody>
23
- ${t}</tbody>
24
- </table>
25
- `}tablerow(e){return`<tr>
26
- `+e+`</tr>
27
- `}tablecell(e,t){let n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"</"+n+`>
28
- `}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,n){if(this.options.sanitize){let i;try{i=decodeURIComponent(this.options.unescape(e)).replace(/[^\w:]/g,"").toLowerCase()}catch{return n}if(i.indexOf("javascript:")===0||i.indexOf("vbscript:")===0||i.indexOf("data:")===0)return n}let s='<a href="'+e+'"';return t&&(s+=' title="'+t+'"'),s+=">"+n+"</a>",s}image(e,t,n){let s='<img src="'+e+'" alt="'+n+'"';return t&&(s+=' title="'+t+'"'),s+=this.options.xhtml?"/>":">",s}text(e){return e}};var f=class{staticThis;links;options;static rulesBase=null;static rulesPedantic=null;static rulesGfm=null;static rulesBreaks=null;rules;renderer;inLink;hasRulesGfm;ruleCallbacks;constructor(e,t,n=g.options,s){if(this.staticThis=e,this.links=t,this.options=n,this.renderer=s||this.options.renderer||new k(this.options),!this.links)throw new Error("InlineLexer requires 'links' parameter.");this.setRules()}static output(e,t,n){return new this(this,t,n).output(e)}static getRulesBase(){if(this.rulesBase)return this.rulesBase;let e={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ <>]+(@|:\/)[^ <>]+)>/,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^<'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)([\s\S]*?[^`])\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/,_inside:/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,_href:/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/};return e.link=new u(e.link).setGroup("inside",e._inside).setGroup("href",e._href).getRegexp(),e.reflink=new u(e.reflink).setGroup("inside",e._inside).getRegexp(),this.rulesBase=e}static getRulesPedantic(){return this.rulesPedantic?this.rulesPedantic:this.rulesPedantic={...this.getRulesBase(),strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}}static getRulesGfm(){if(this.rulesGfm)return this.rulesGfm;let e=this.getRulesBase(),t=new u(e.escape).setGroup("])","~|])").getRegexp(),n=new u(e.text).setGroup("]|","~]|").setGroup("|","|https?://|").getRegexp();return this.rulesGfm={...e,escape:t,url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:n}}static getRulesBreaks(){if(this.rulesBreaks)return this.rulesBreaks;let e=this.getRulesGfm(),t=this.getRulesGfm();return this.rulesBreaks={...t,br:new u(e.br).setGroup("{2,}","*").getRegexp(),text:new u(t.text).setGroup("{2,}","*").getRegexp()}}setRules(){this.options.gfm?this.options.breaks?this.rules=this.staticThis.getRulesBreaks():this.rules=this.staticThis.getRulesGfm():this.options.pedantic?this.rules=this.staticThis.getRulesPedantic():this.rules=this.staticThis.getRulesBase(),this.hasRulesGfm=this.rules.url!==void 0}output(e){let t,n="";for(;e;){if(t=this.rules.escape.exec(e)){e=e.substring(t[0].length),n+=t[1];continue}if(t=this.rules.autolink.exec(e)){let s,i;e=e.substring(t[0].length),t[2]==="@"?(s=this.options.escape(t[1].charAt(6)===":"?this.mangle(t[1].substring(7)):this.mangle(t[1])),i=this.mangle("mailto:")+s):(s=this.options.escape(t[1]),i=s),n+=this.renderer.link(i,null,s);continue}if(!this.inLink&&this.hasRulesGfm&&(t=this.rules.url.exec(e))){e=e.substring(t[0].length);let s=this.options.escape(t[1]),i=s;n+=this.renderer.link(i,null,s);continue}if(t=this.rules.tag.exec(e)){!this.inLink&&/^<a /i.test(t[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(t[0])&&(this.inLink=!1),e=e.substring(t[0].length),n+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):this.options.escape(t[0]):t[0];continue}if(t=this.rules.link.exec(e)){e=e.substring(t[0].length),this.inLink=!0,n+=this.outputLink(t,{href:t[2],title:t[3]}),this.inLink=!1;continue}if((t=this.rules.reflink.exec(e))||(t=this.rules.nolink.exec(e))){e=e.substring(t[0].length);let s=(t[2]||t[1]).replace(/\s+/g," "),i=this.links[s.toLowerCase()];if(!i||!i.href){n+=t[0].charAt(0),e=t[0].substring(1)+e;continue}this.inLink=!0,n+=this.outputLink(t,i),this.inLink=!1;continue}if(t=this.rules.strong.exec(e)){e=e.substring(t[0].length),n+=this.renderer.strong(this.output(t[2]||t[1]));continue}if(t=this.rules.em.exec(e)){e=e.substring(t[0].length),n+=this.renderer.em(this.output(t[2]||t[1]));continue}if(t=this.rules.code.exec(e)){e=e.substring(t[0].length),n+=this.renderer.codespan(this.options.escape(t[2].trim(),!0));continue}if(t=this.rules.br.exec(e)){e=e.substring(t[0].length),n+=this.renderer.br();continue}if(this.hasRulesGfm&&(t=this.rules.del.exec(e))){e=e.substring(t[0].length),n+=this.renderer.del(this.output(t[1]));continue}if(t=this.rules.text.exec(e)){e=e.substring(t[0].length),n+=this.renderer.text(this.options.escape(this.smartypants(t[0])));continue}if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}return n}outputLink(e,t){let n=this.options.escape(t.href),s=t.title?this.options.escape(t.title):null;return e[0].charAt(0)!=="!"?this.renderer.link(n,s,this.output(e[1])):this.renderer.image(n,s,this.options.escape(e[1]))}smartypants(e){return this.options.smartypants?e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/([{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/([{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026"):e}mangle(e){if(!this.options.mangle)return e;let t="",n=e.length;for(let s=0;s<n;s++){let i;Math.random()>.5&&(i="x"+e.charCodeAt(s).toString(16)),t+="&#"+i+";"}return t}};var m=class{simpleRenderers=[];tokens;token;inlineLexer;options;renderer;line=0;constructor(e){this.tokens=[],this.token=null,this.options=e||g.options,this.renderer=this.options.renderer||new k(this.options)}static parse(e,t,n){return new this(n).parse(t,e)}parse(e,t){this.inlineLexer=new f(f,e,this.options,this.renderer),this.tokens=t.reverse();let n="";for(;this.next();)n+=this.tok();return n}debug(e,t){this.inlineLexer=new f(f,e,this.options,this.renderer),this.tokens=t.reverse();let n="";for(;this.next();){let s=this.tok();this.token.line=this.line+=s.split(`
29
- `).length-1,n+=s}return n}next(){return this.token=this.tokens.pop()}getNextElement(){return this.tokens[this.tokens.length-1]}parseText(){let e=this.token.text,t;for(;(t=this.getNextElement())&&t.type==o.text;)e+=`
30
- `+this.next().text;return this.inlineLexer.output(e)}tok(){switch(this.token.type){case o.space:return"";case o.paragraph:return this.renderer.paragraph(this.inlineLexer.output(this.token.text));case o.text:return this.options.isNoP?this.parseText():this.renderer.paragraph(this.parseText());case o.heading:return this.renderer.heading(this.inlineLexer.output(this.token.text),this.token.depth,this.token.text);case o.listStart:{let e="",t=this.token.ordered;for(;this.next().type!=o.listEnd;)e+=this.tok();return this.renderer.list(e,t)}case o.listItemStart:{let e="";for(;this.next().type!=o.listItemEnd;)e+=this.token.type==o.text?this.parseText():this.tok();return this.renderer.listitem(e)}case o.looseItemStart:{let e="";for(;this.next().type!=o.listItemEnd;)e+=this.tok();return this.renderer.listitem(e)}case o.code:return this.renderer.code(this.token.text,this.token.lang,this.token.escaped,this.token.meta);case o.table:{let e="",t="",n;n="";for(let s=0;s<this.token.header.length;s++){let i={header:!0,align:this.token.align[s]},l=this.inlineLexer.output(this.token.header[s]);n+=this.renderer.tablecell(l,i)}e+=this.renderer.tablerow(n);for(let s of this.token.cells){n="";for(let i=0;i<s.length;i++)n+=this.renderer.tablecell(this.inlineLexer.output(s[i]),{header:!1,align:this.token.align[i]});t+=this.renderer.tablerow(n)}return this.renderer.table(e,t)}case o.blockquoteStart:{let e="";for(;this.next().type!=o.blockquoteEnd;)e+=this.tok();return this.renderer.blockquote(e)}case o.hr:return this.renderer.hr();case o.html:{let e=!this.token.pre&&!this.options.pedantic?this.inlineLexer.output(this.token.text):this.token.text;return this.renderer.html(e)}default:{if(this.simpleRenderers.length){for(let t=0;t<this.simpleRenderers.length;t++)if(this.token.type=="simpleRule"+(t+1))return this.simpleRenderers[t].call(this.renderer,this.token.execArr)}let e=`Token with "${this.token.type}" type was not found.`;if(this.options.silent)console.log(e);else throw new Error(e)}}}};var g=class{static options=new $;static simpleRenderers=[];static setOptions(e){return Object.assign(this.options,e),this}static setBlockRule(e,t=()=>""){return x.simpleRules.push(e),this.simpleRenderers.push(t),this}static parse(e,t){try{t={...this.options,...t};let{tokens:n,links:s}=this.callBlockLexer(e,t);return this.callParser(n,s,t)}catch(n){return this.callMe(n)}}static debug(e,t=this.options){let{tokens:n,links:s}=this.callBlockLexer(e,t),i=n.slice(),l=new m(t);l.simpleRenderers=this.simpleRenderers;let a=l.debug(s,n);return i=i.map(h=>{h.type=o[h.type]||h.type;let d=h.line;return delete h.line,d?{line:d,...h}:h}),{tokens:i,links:s,result:a}}static callBlockLexer(e="",t){if(typeof e!="string")throw new Error(`Expected that the 'src' parameter would have a 'string' type, got '${typeof e}'`);return e=e.replace(/\r\n|\r/g,`
31
- `).replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,`
32
- `).replace(/^ +$/gm,""),x.lex(e,t,!0)}static callParser(e,t,n){if(this.simpleRenderers.length){let s=new m(n);return s.simpleRenderers=this.simpleRenderers,s.parse(t,e)}else return m.parse(e,t,n)}static callMe(e){if(e.message+=`
33
- Please report this to https://github.com/ts-stack/markdown`,this.options.silent)return"<p>An error occured:</p><pre>"+this.options.escape(e.message+"",!0)+"</pre>";throw e}};var x=class{staticThis;static simpleRules=[];static rulesBase=null;static rulesGfm=null;static rulesTables=null;rules;options;links={};tokens=[];hasRulesGfm;hasRulesTables;constructor(e,t){this.staticThis=e,this.options=t||g.options,this.setRules()}static lex(e,t,n,s){return new this(this,t).getTokens(e,n,s)}static getRulesBase(){if(this.rulesBase)return this.rulesBase;let e={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/,bullet:/(?:[*+-]|\d+\.)/,item:/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/};e.item=new u(e.item,"gm").setGroup(/bull/g,e.bullet).getRegexp(),e.list=new u(e.list).setGroup(/bull/g,e.bullet).setGroup("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))").setGroup("def","\\n+(?="+e.def.source+")").getRegexp();let t="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b";return e.html=new u(e.html).setGroup("comment",/<!--[\s\S]*?-->/).setGroup("closed",/<(tag)[\s\S]+?<\/\1>/).setGroup("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/).setGroup(/tag/g,t).getRegexp(),e.paragraph=new u(e.paragraph).setGroup("hr",e.hr).setGroup("heading",e.heading).setGroup("lheading",e.lheading).setGroup("blockquote",e.blockquote).setGroup("tag","<"+t).setGroup("def",e.def).getRegexp(),this.rulesBase=e}static getRulesGfm(){if(this.rulesGfm)return this.rulesGfm;let e=this.getRulesBase(),t={...e,fences:/^ *(`{3,}|~{3,})[ \.]*((\S+)? *[^\n]*)\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/},n=t.fences.source.replace("\\1","\\2"),s=e.list.source.replace("\\1","\\3");return t.paragraph=new u(e.paragraph).setGroup("(?!",`(?!${n}|${s}|`).getRegexp(),this.rulesGfm=t}static getRulesTable(){return this.rulesTables?this.rulesTables:this.rulesTables={...this.getRulesGfm(),nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}}setRules(){this.options.gfm?this.options.tables?this.rules=this.staticThis.getRulesTable():this.rules=this.staticThis.getRulesGfm():this.rules=this.staticThis.getRulesBase(),this.hasRulesGfm=this.rules.fences!==void 0,this.hasRulesTables=this.rules.table!==void 0}getTokens(e,t,n){let s=e,i;e:for(;s;){if((i=this.rules.newline.exec(s))&&(s=s.substring(i[0].length),i[0].length>1&&this.tokens.push({type:o.space})),i=this.rules.code.exec(s)){s=s.substring(i[0].length);let l=i[0].replace(/^ {4}/gm,"");this.tokens.push({type:o.code,text:this.options.pedantic?l:l.replace(/\n+$/,"")});continue}if(this.hasRulesGfm&&(i=this.rules.fences.exec(s))){s=s.substring(i[0].length),this.tokens.push({type:o.code,meta:i[2],lang:i[3],text:i[4]||""});continue}if(i=this.rules.heading.exec(s)){s=s.substring(i[0].length),this.tokens.push({type:o.heading,depth:i[1].length,text:i[2]});continue}if(t&&this.hasRulesTables&&(i=this.rules.nptable.exec(s))){s=s.substring(i[0].length);let l={type:o.table,header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:[]};for(let h=0;h<l.align.length;h++)/^ *-+: *$/.test(l.align[h])?l.align[h]="right":/^ *:-+: *$/.test(l.align[h])?l.align[h]="center":/^ *:-+ *$/.test(l.align[h])?l.align[h]="left":l.align[h]=null;let a=i[3].replace(/\n$/,"").split(`
34
- `);for(let h=0;h<a.length;h++)l.cells[h]=a[h].split(/ *\| */);this.tokens.push(l);continue}if(i=this.rules.lheading.exec(s)){s=s.substring(i[0].length),this.tokens.push({type:o.heading,depth:i[2]==="="?1:2,text:i[1]});continue}if(i=this.rules.hr.exec(s)){s=s.substring(i[0].length),this.tokens.push({type:o.hr});continue}if(i=this.rules.blockquote.exec(s)){s=s.substring(i[0].length),this.tokens.push({type:o.blockquoteStart});let l=i[0].replace(/^ *> ?/gm,"");this.getTokens(l),this.tokens.push({type:o.blockquoteEnd});continue}if(i=this.rules.list.exec(s)){s=s.substring(i[0].length);let l=i[2];this.tokens.push({type:o.listStart,ordered:l.length>1});let a=i[0].match(this.rules.item),h=a.length,d=!1,w,R,b;for(let p=0;p<h;p++){let c=a[p];w=c.length,c=c.replace(/^ *([*+-]|\d+\.) +/,""),c.indexOf(`
35
- `)!==-1&&(w-=c.length,c=this.options.pedantic?c.replace(/^ {1,4}/gm,""):c.replace(new RegExp("^ {1,"+w+"}","gm"),"")),this.options.smartLists&&p!==h-1&&(R=this.staticThis.getRulesBase().bullet.exec(a[p+1])[0],l!==R&&!(l.length>1&&R.length>1)&&(s=a.slice(p+1).join(`
36
- `)+s,p=h-1)),b=d||/\n\n(?!\s*$)/.test(c),p!==h-1&&(d=c.charAt(c.length-1)===`
37
- `,b||(b=d)),this.tokens.push({type:b?o.looseItemStart:o.listItemStart}),this.getTokens(c,!1,n),this.tokens.push({type:o.listItemEnd})}this.tokens.push({type:o.listEnd});continue}if(i=this.rules.html.exec(s)){s=s.substring(i[0].length);let l=i[1],a=l==="pre"||l==="script"||l==="style";this.tokens.push({type:this.options.sanitize?o.paragraph:o.html,pre:!this.options.sanitizer&&a,text:i[0]});continue}if(t&&(i=this.rules.def.exec(s))){s=s.substring(i[0].length),this.links[i[1].toLowerCase()]={href:i[2],title:i[3]};continue}if(t&&this.hasRulesTables&&(i=this.rules.table.exec(s))){s=s.substring(i[0].length);let l={type:o.table,header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:[]};for(let h=0;h<l.align.length;h++)/^ *-+: *$/.test(l.align[h])?l.align[h]="right":/^ *:-+: *$/.test(l.align[h])?l.align[h]="center":/^ *:-+ *$/.test(l.align[h])?l.align[h]="left":l.align[h]=null;let a=i[3].replace(/(?: *\| *)?\n$/,"").split(`
38
- `);for(let h=0;h<a.length;h++)l.cells[h]=a[h].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(l);continue}if(this.staticThis.simpleRules.length){let l=this.staticThis.simpleRules;for(let a=0;a<l.length;a++)if(i=l[a].exec(s)){s=s.substring(i[0].length);let h="simpleRule"+(a+1);this.tokens.push({type:h,execArr:i});continue e}}if(t&&(i=this.rules.paragraph.exec(s))){s=s.substring(i[0].length),i[1].slice(-1)===`
39
- `?this.tokens.push({type:o.paragraph,text:i[1].slice(0,-1)}):this.tokens.push({type:this.tokens.length>0?o.paragraph:o.text,text:i[1]});continue}if(i=this.rules.text.exec(s)){s=s.substring(i[0].length),this.tokens.push({type:o.text,text:i[0]});continue}if(s)throw new Error("Infinite loop on byte: "+s.charCodeAt(0)+`, near text '${s.slice(0,30)}...'`)}return{tokens:this.tokens,links:this.links}}};var q=r=>{let e=/https?:\/\/[^\s]+[^. ]/gu;return r.replace(e,"<a href='$&' target='_new'>$&</a>")},N=r=>{if(!r)return"";let e=r.replace(/(?:\r\n|\r|\n|\\n)/gu,"<br>");return e=e.replace(/(\\")/gu,"'"),e=e.replace(/(")/gu,""),e=e.replace(/AI: /gu,""),e=g.parse(e),e.match(/href/u)||(e=q(e)),e=e.replace(/<a href=/gu,'<a target="_new" href='),e},z=(r,e)=>{switch(!0){case r.type.includes("Site"):return r.url;case r.type.includes("Page"):return`https://${e}/pages/${r.id}`;case r.type.includes("Service"):return`https://${e}/maps/${r.id}`;case r.type.includes("Document"):return`https://${e}/documents/${r.id}`;default:return`https://${e}/content/${r.id}`}};function F(r){let e=["Feature Service","FeatureLayer","Feature Layer","Map Service","Image Service","KML","WMS","WMTS","WFS","OGCFeatureServer"],t=!1;return r&&e.includes(r)&&(t=!0),t}var O=async(r,e)=>await Promise.all(r.map(async t=>await C(t,e))),C=async(r,e)=>{let t=structuredClone(r);try{let n=await S(r.id,{authentication:e});return t.thumbnail=n.thumbnail,t.url=n.url,t.type=n.type,t}catch{console.error("Could not enrich:",r)}return t};function j(r){return!!r&&typeof r=="object"&&"kind"in r&&r.kind==="FinderResponse"}function W(r,e){let t=e?Number.parseInt(e):NaN;return r.find(n=>!!n.messageId&&n.messageId===t)}function D(r){let e=["loadingMessage1","loadingMessage2","loadingMessage3","loadingMessage4","loadingMessage5","loadingMessage6","loadingMessage7"],t=Math.floor(Math.random()*e.length),n=e[t];return r[n]}export{N as a,z as b,F as c,O as d,j as e,W as f,D as g};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as p}from"./WJFIZ6DL.js";import"./LVCMKKG7.js";import{a as h}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import{c as f}from"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import{a as c}from"./7GTUV67W.js";import"./USNX342T.js";import{b as l,c as d,d as b,i as m}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:g}])=>{var w=".sc-arcgis-hub-user-groups-pane-h{display:block;height:100%}",k=w,y=function(a,t,s,o){var e=arguments.length,i=e<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,s):o,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(a,t,s,o);else for(var n=a.length-1;n>=0;n--)(r=a[n])&&(i=(e<3?r(i):e>3?r(t,s,i):r(t,s))||i);return e>3&&i&&Object.defineProperty(t,s,i),i},u=class{constructor(a){m(this,a),this.resultCallback=(t,s,o,e)=>{let i=c(e,"userMembership");if(["owner","admin"].includes(i)){let n=f(e,this._context);t.actionLinks=[{tooltip:this.intl.t("actionLinks.manage"),label:this.intl.t("actionLinks.manage"),ariaLabel:this.intl.t("actionLinks.ariaManage",{title:t.title}),showLabel:!0,href:n,icon:"gear",buttonStyle:"outline",buttonKind:"neutral"}]}let r=[{label:this.intl.t("type"),value:c(e,"isSharedUpdate")?this.intl.t("sharedUpdate"):this.intl.t("viewOnly")},{label:this.intl.t("owner"),value:e.owner},{label:this.intl.t("updated"),value:this.intl.formatDate(e.updatedDate)}];return t.additionalInfo=r,t},this.layoutOptions=["compact","grid","list"],this.isMobile=!1,this._context=g()}async componentWillLoad(){this.intl=await h.loadIntlForComponent(this.element)}get currentUser(){return this._context.currentUser}get query(){return{targetEntity:"group",filters:[{predicates:[{searchUserAccess:"groupMember"}]}]}}get facets(){return["group-access",{label:this.intl.t("facets.type.specialGroups"),key:"types",display:"multi-select",pageSize:4,operation:"AND",options:[{label:this.intl.t("facets.type.options.sharedUpdate"),key:"sharedUpdate",selected:!1,predicates:[{capabilities:"updateitemcontrol"}]},{label:this.intl.t("facets.type.options.opendata"),key:"opendata",selected:!1,predicates:[{isopendata:!0}]}]}]}render(){return l(d,{key:"5eb42c84430e0a7512b249496ff9d4bf4d1b1b0a","data-element":"user-groups"},l("arcgis-hub-workspace-pane",{key:"e1c9ff82467050d8a1168fb0cf3b2e2403ead98d",isMobile:this.isMobile,"sticky-footer":!0},l("h2",{key:"284e71687c744a2d37485002cf132cc0b8c0c124",slot:"title"},this.intl.t("groups")),l("arcgis-hub-gallery",{key:"12b186903c444baf37786df8de3ecf9cdabacf4c",callback:this.resultCallback,facets:this.facets,include:"userMembership",layout:"compact",layoutOptions:this.layoutOptions,limit:30,linkTarget:"siteRelative",mobileView:this.isMobile,query:this.query,showFacets:!0,showLayoutSwitcher:!0,showLinkButton:!1,showMoreResultsBtn:!0,showResultsCount:!0,showSearch:!0,showSort:!0,showThumbnail:!0,sortField:"modified",sortOrder:"desc"})))}static get assetsDirs(){return["locales"]}get element(){return b(this)}};y([p()],u.prototype,"query",null);y([p()],u.prototype,"facets",null);u.style=k;return u},a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- var o={rootMargin:"10%"},h=class i{constructor(){this.intersectionObserver=new IntersectionObserver(this.onEnteredViewport.bind(this),o),this.handlers=new WeakMap}static create(){return i.instance||(i.instance=new i),i.instance}static addHandler(s,e){this.create(),this.instance.addHandler(s,e)}static removeHandler(s,e){this.instance&&this.instance.removeHandler(s,e)}static unobserve(s){this.instance&&this.instance.unobserve(s)}addHandler(s,e){this.handlers.has(s)||(this.handlers.set(s,[]),this.intersectionObserver.observe(s));let t=this.handlers.get(s);t.includes(e)||t.push(e)}removeHandler(s,e){if(this.handlers.has(s)){let t=this.handlers.get(s),n=t.indexOf(e),r=t.filter((a,d)=>d!==n);r.length?this.handlers.set(s,r):(this.handlers.delete(s),this.intersectionObserver.unobserve(s))}}unobserve(s){this.handlers.has(s)&&(this.handlers.delete(s),this.intersectionObserver.unobserve(s))}onEnteredViewport(s){requestAnimationFrame(e=>{s.forEach(t=>{var n;t.isIntersecting&&((n=this.handlers.get(t.target))!==null&&n!==void 0?n:[]).forEach(a=>a())})})}};export{h as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as e}from"./ME6P5KK5.js";import{a as c,b as s}from"./2DPSKE3B.js";import{a as r}from"./YCEXTCZD.js";import{a as i}from"./USNX342T.js";function N(t){let o=document.createElement("a");o.href=t,o.download="",o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o)}function S(t,o){try{let n=window.URL.createObjectURL(t),a=document.createElement("a");a.href=n,a.download=o,a.style.display="none",document.body.appendChild(a),a.click(),document.body.removeChild(a),window.URL.revokeObjectURL(n)}catch(n){i.error("Error downloading blob:",n)}}async function b(t){if(!window.crypto.subtle)throw new Error("Job ID generation not supported for insecure contexts");let{itemId:o,format:n,layers:a,geometry:d,where:l,updateCache:m}=t,u=JSON.stringify({itemId:o,format:n,layers:a,geometry:d?.toJSON(),where:l,updateCache:m}),E=new TextEncoder().encode(u),G=await window.crypto.subtle.digest("SHA-1",E);return Array.from(new Uint8Array(G)).map(w=>w.toString(16).padStart(2,"0")).join("")}function C(t){return{[e.BIP]:"BIP",[e.BMP]:"BMP",[e.BSQ]:"BSQ",[e.GIF]:"GIF",[e.JPG]:"JPG",[e.JPG_PNG]:"JPGPNG",[e.LERC]:"LERC",[e.PNG]:"PNG",[e.PNG8]:"PNG8",[e.PNG24]:"PNG24",[e.PNG32]:"PNG32",[e.TIFF]:"TIFF",[e.CSV]:"CSV",[e.EXCEL]:"Excel",[e.FEATURE_COLLECTION]:"Feature Collection",[e.FILE_GDB]:"File Geodatabase",[e.GEOJSON]:"GeoJSON",[e.GEO_PACKAGE]:"GeoPackage",[e.JSON]:"JSON",[e.KML]:"KML",[e.SHAPEFILE]:"Shapefile",[e.SQLITE]:"SQLite Geodatabase"}[t]||t}function F(t,o){let n;return c(t)?n=r.constants.details.EXPORT:s(t)&&(n=o?r.constants.details.CACHE:r.constants.details.GENERATE),n}export{N as a,S as b,b as c,C as d,F as e};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- var l=Object.prototype.hasOwnProperty,u=Object.prototype.toString,p=function(r,a,t){if(u.call(a)!=="[object Function]")throw new TypeError("iterator must be a function");var e=r.length;if(e===+e)for(var s=0;s<e;s++)a.call(t,r[s],s,r);else for(var c in r)l.call(r,c)&&a.call(t,r[c],c,r)},h=p,g=n;function n(i,r,a){if(arguments.length===3)return n.set(i,r,a);if(arguments.length===2)return n.get(i,r);var t=n.bind(n,i);for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e].bind(t,i));return t}n.get=function(r,a){for(var t=Array.isArray(a)?a:n.parse(a),e=0;e<t.length;++e){var s=t[e];if(!(typeof r=="object"&&s in r))throw new Error("Invalid reference token: "+s);r=r[s]}return r};n.set=function(r,a,t){var e=Array.isArray(a)?a:n.parse(a),s=e[0];if(e.length===0)throw Error("Can not set the root object");for(var c=0;c<e.length-1;++c){var o=e[c];typeof o!="string"&&typeof o!="number"&&(o=String(o)),!(o==="__proto__"||o==="constructor"||o==="prototype")&&(o==="-"&&Array.isArray(r)&&(o=r.length),s=e[c+1],o in r||(s.match(/^(\d+|-)$/)?r[o]=[]:r[o]={}),r=r[o])}return s==="-"&&Array.isArray(r)&&(s=r.length),r[s]=t,this};n.remove=function(i,r){var a=Array.isArray(r)?r:n.parse(r),t=a[a.length-1];if(t===void 0)throw new Error('Invalid JSON pointer for remove: "'+r+'"');var e=n.get(i,a.slice(0,-1));if(Array.isArray(e)){var s=+t;if(t===""&&isNaN(s))throw new Error('Invalid array index: "'+t+'"');Array.prototype.splice.call(e,s,1)}else delete e[t]};n.dict=function(r,a){var t={};return n.walk(r,function(e,s){t[s]=e},a),t};n.walk=function(r,a,t){var e=[];t=t||function(s){var c=Object.prototype.toString.call(s);return c==="[object Object]"||c==="[object Array]"},(function s(c){h(c,function(o,f){e.push(String(f)),t(o)?s(o):a(o,n.compile(e)),e.pop()})})(r)};n.has=function(r,a){try{n.get(r,a)}catch{return!1}return!0};n.escape=function(r){return r.toString().replace(/~/g,"~0").replace(/\//g,"~1")};n.unescape=function(r){return r.replace(/~1/g,"/").replace(/~0/g,"~")};n.parse=function(r){if(r==="")return[];if(r.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+r);return r.substring(1).split(/\//).map(n.unescape)};n.compile=function(r){return r.length===0?"":"/"+r.map(n.escape).join("/")};var v=i=>i&&g.parse(i).filter((a,t,e)=>{let s=a!=="properties",c=a!=="items"||e[t-1]==="properties";return s&&c}).join("."),y=i=>i?.split("::")[0],w=i=>{let r=y(i);return r?.split(".")[0]};export{g as a,v as b,y as c,w as d};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{b as r}from"./RGKBSVQD.js";import{h as a}from"./FZ7ZK37I.js";async function m(n){var e;if(n.username)return encodeURIComponent(n.username);if(!((e=n.authentication)===null||e===void 0)&&e.username)return encodeURIComponent(n.authentication.username);if(n.authentication)return n.authentication.getUsername().then(encodeURIComponent)}async function u(n){let e,t={httpMethod:"GET"};if(typeof n=="string")e=`https://www.arcgis.com/sharing/rest/community/users/${n}`;else{let o=await m(n);e=`${r(n)}/community/users/${o}`,t=Object.assign(Object.assign({},n),t)}return a(e,t)}export{u as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import d from"./YDWT2GP5.js";import c from"./DZCEYSVA.js";import b from"./733IZVMO.js";import a from"./C27C7ZCS.js";import"./AJOXWMDO.js";import"./2PUMWMNI.js";import"./L3H4QXUA.js";import"./BMRPHSYL.js";import"./5V53QYYF.js";import"./7GTUV67W.js";import"./USNX342T.js";import"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([,,,,,,,,,,,,,,,,,,,,,{H:f,Ja:W,P:E,X:g,a:c,b:p,da:m,ka:R,m:w},{O:v,R:s,U:_,z:b},{a:S,b:I,c:C,d:L,e:T,i:$,j:A,k:D},F])=>{var V=t=>t.axes[0].needle?.visible??!0,G=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=g()),e.axes[0].needle.visible=t},j=t=>t.axes[0].needle?.symbol,M=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=g()),e.axes[0].needle.symbol=t},O=t=>t.axes[0].needle?.startWidth,q=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=g()),e.axes[0].needle.startWidth=t},H=t=>t.axes[0].needle?.endWidth,K=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=g()),e.axes[0].needle.endWidth=t},N=t=>t.axes[0].needle?.innerRadius,z=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=g()),e.axes[0].needle.innerRadius=t},B=t=>t.axes[0].needle?.displayPin??!1,J=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=g()),e.axes[0].needle.displayPin=t},Q=t=>t.axes[0].innerLabel?.visible??!0,U=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=f()),e.axes[0].innerLabel.visible=t},X=t=>t.axes[0].innerLabel?.content,Y=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=f()),t!==void 0&&(e.axes[0].innerLabel.content=t)},Z=t=>t.axes[0].ticks?.visible??!0,ee=(t,e)=>{e.axes[0].ticks===void 0&&(e.axes[0].ticks={type:c.GaugeAxisTick}),e.axes[0].ticks.visible=t},te=t=>t.axes[0].labelsIncrement,ie=(t,e)=>{e.axes[0].labelsIncrement=t},ne=t=>t.axes[0].onlyShowFirstAndLastLabels??!1,se=(t,e)=>{e.axes[0].onlyShowFirstAndLastLabels=t},oe=t=>t.series[0]?.valueConversion,re=(t,e)=>{e.series[0]!==void 0&&(e.series[0].valueConversion=t)},k=t=>t.series[0]?.featureIndex,P=t=>{let{featureIndex:e,config:i,layerInfo:a,commonStrings:o}=t,l=x(i),d=y(i);e===null?delete i.series[0].featureIndex:i.series[0]!==void 0&&(i.series[0].featureIndex=e),h({config:i,layerInfo:a,field:l,aggregationType:d,commonStrings:o})},ae=t=>t.subType??w.StatisticGauge,le=t=>{let{config:e,field:i,aggregationType:a}=t;if(a!==p.NoAggregation){let o=k(e),l=u(o)?{}:{outStatistics:[{statisticType:a,onStatisticField:i,outStatisticFieldName:`${a}_${i}`}]};e.series[0].query=l}},ge=t=>{let{config:e,layerInfo:i,commonStrings:a,field:o,aggregationType:l}=t;e.title&&(e.title.content.text=b({config:e,layerInfo:i,commonStrings:a,numericFields:[o],aggregationType:l}))},h=t=>{let{config:e,field:i,aggregationType:a}=t;e.series[0]===void 0&&(e.series=[m({})]);let o=u(e.series[0]?.featureIndex),l=o?i:`${a}_${i}`;o&&i.startsWith(`${a}_`)&&(l=i.replace(`${a}_`,"")),e.series[0].x=l,le({config:e,field:i,aggregationType:a}),ge(t)},y=t=>t.series[0]?.query?.outStatistics?.[0]?.statisticType??p.Count,de=t=>{let{config:e,layerInfo:i,commonStrings:a,aggregationType:o}=t,l=x(e);h({config:e,layerInfo:i,commonStrings:a,field:l,aggregationType:o})},u=t=>typeof t=="number"&&t>=0,x=t=>u(t.series[0]?.featureIndex)?t.series[0]?.x:t.series[0]?.query?.outStatistics?.[0]?.onStatisticField??"",ce=t=>{let{field:e,config:i,layerInfo:a,commonStrings:o}=t,l=y(i);h({config:i,layerInfo:a,commonStrings:o,field:e,aggregationType:l})},pe=t=>t.innerRadius??50,fe=(t,e)=>{e.innerRadius=t},me=t=>t.startAngle??-90,he=(t,e)=>{e.startAngle=t},ye=t=>t.endAngle??270,ue=(t,e)=>{e.endAngle=t};function xe(t){return E(t)}var be=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,r=(t,e,i,a)=>{for(var o=ve(e,i),l=t.length-1,d;l>=0;l--)(d=t[l])&&(o=d(e,i,o)||o);return o&&be(e,i,o),o},n=class extends _{constructor(){super(...arguments),this._chartType=c.GaugeSeries}generateChartTitle(){return xe(this.commonStrings)}async setup(e){await this.loadConfigFromLayer(e),typeof this.resolveSetup=="function"&&this.resolveSetup()}get field(){return x(this._config)}set field(e){ce({field:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get aggregationType(){return y(this._config)}set aggregationType(e){de({aggregationType:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get innerRadius(){return pe(this._config)}set innerRadius(e){fe(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get startAngle(){return me(this._config)}set startAngle(e){he(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get endAngle(){return ye(this._config)}set endAngle(e){ue(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}get valueConversion(){return oe(this._config)}set valueConversion(e){re(e,this._config)}get featureIndex(){return k(this._config)}set featureIndex(e){P({featureIndex:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}removeFeatureIndex(){P({featureIndex:null,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}get gaugeSubType(){return ae(this._config)}get needleVisibility(){return V(this._config)}set needleVisibility(e){G(e,this._config)}get needleSymbol(){return j(this._config)}set needleSymbol(e){M(e,this._config)}get needleStartWidth(){return O(this._config)}set needleStartWidth(e){q(e,this._config)}get needleEndWidth(){return H(this._config)}set needleEndWidth(e){K(e,this._config)}get needleInnerRadius(){return N(this._config)}set needleInnerRadius(e){z(e,this._config)}get needleDisplayPin(){return B(this._config)}set needleDisplayPin(e){J(e,this._config)}get innerLabelVisible(){return Q(this._config)}set innerLabelVisible(e){U(e,this._config)}get innerLabelContent(){return X(this._config)}set innerLabelContent(e){Y(e,this._config)}get axisTickVisibility(){return Z(this._config)}set axisTickVisibility(e){ee(e,this._config)}get labelsIncrement(){return te(this._config)}set labelsIncrement(e){ie(e,this._config)}get onlyShowFirstAndLastLabels(){return ne(this._config)}set onlyShowFirstAndLastLabels(e){se(e,this._config)}generateDefaultConfig(){let e=R(this.commonStrings);return e.series=[m({objectIDField:W(this.layerInfo.layer).idField})],e}};r([s],n.prototype,"field");r([s],n.prototype,"aggregationType");r([s],n.prototype,"innerRadius");r([s],n.prototype,"startAngle");r([s],n.prototype,"endAngle");r([s],n.prototype,"valueConversion");r([s],n.prototype,"featureIndex");r([s],n.prototype,"removeFeatureIndex");r([s],n.prototype,"needleVisibility");r([s],n.prototype,"needleSymbol");r([s],n.prototype,"needleStartWidth");r([s],n.prototype,"needleEndWidth");r([s],n.prototype,"needleInnerRadius");r([s],n.prototype,"needleDisplayPin");r([s],n.prototype,"innerLabelVisible");r([s],n.prototype,"innerLabelContent");r([s],n.prototype,"axisTickVisibility");r([s],n.prototype,"labelsIncrement");r([s],n.prototype,"onlyShowFirstAndLastLabels");var _e=[$,T,A,L,S,I,C,D,F];v(n,_e);return n},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","core/sql","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","layers/FeatureLayer","layers/support/Field","layers/support/fieldUtils","portal/Portal","rest/support/FeatureSet","applications/Components/reactiveUtils",a,b,c,d)
@@ -1,4 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as b,c as f}from"./VANWWSL3.js";import{a as O}from"./SZJPVJS6.js";import{a as g}from"./UADY5XO7.js";import{a as u}from"./DBFWM3C6.js";import{a as L}from"./XKUKAFLE.js";import"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import{a as c}from"./WJFIZ6DL.js";import{a as M}from"./ZVGAVULD.js";import"./V3U3RRL7.js";import"./LVCMKKG7.js";import"./UR5INQGU.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import{a as T}from"./MYXIS5RQ.js";import d from"./K5O2OVOP.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as H}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import{a as p}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import{a as k}from"./ZM3EAORZ.js";import{a as m}from"./YCEXTCZD.js";import"./5V53QYYF.js";import{c as C}from"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as i,c as y,d as v,e as _,h as E,i as x}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([,{c:R},{u:A}])=>{var l={header:"header",main:"main",footerStart:"footer-start",footerEnd:"footer-end"},S=`.sc-arcgis-hub-content-hero-h{display:flex}.vertical.sc-arcgis-hub-content-hero-h{display:block}.hero-media.sc-arcgis-hub-content-hero{display:flex;align-items:center}arcgis-hub-map-view.sc-arcgis-hub-content-hero{aspect-ratio:200 / 133;height:300px;width:100%}.hero-thumbnail.sc-arcgis-hub-content-hero{height:300px;width:auto;object-fit:contain;object-position:left}.vertical.sc-arcgis-hub-content-hero-h .hero-thumbnail.sc-arcgis-hub-content-hero{height:auto;width:100%}@media only screen and (min-width: 768px){.hero-media.sc-arcgis-hub-content-hero{margin-right:1.5rem}}.hero-content.sc-arcgis-hub-content-hero{display:grid;flex-grow:1;padding-top:0.75rem;padding-bottom:1rem;grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto;grid-template-areas:"header header"
3
- "main main"
4
- "footer-start footer-end"}.no-media.sc-arcgis-hub-content-hero-h .hero-content.sc-arcgis-hub-content-hero{padding-left:0px;padding-right:0px}.vertical.sc-arcgis-hub-content-hero-h .hero-content.sc-arcgis-hub-content-hero{padding-left:0px;padding-right:0px}@media only screen and (max-width: 768px){.vertical.sc-arcgis-hub-content-hero-h .hero-content.sc-arcgis-hub-content-hero{padding-left:1rem;padding-right:1rem}}.hero-header.sc-arcgis-hub-content-hero{grid-area:header}.hero-header.sc-arcgis-hub-content-hero h1.sc-arcgis-hub-content-hero{font-size:var(--calcite-font-size-4);line-height:2.5rem;font-weight:var(--calcite-font-weight-medium)}.vertical.sc-arcgis-hub-content-hero-h .hero-header.sc-arcgis-hub-content-hero{padding-top:1.5rem}.hero-main.sc-arcgis-hub-content-hero{grid-area:main;padding-bottom:1.5rem}.hero-footer-start.sc-arcgis-hub-content-hero{grid-area:footer-start}.hero-footer-start.sc-arcgis-hub-content-hero-s>calcite-button,.hero-footer-start .sc-arcgis-hub-content-hero-s>calcite-button{margin-right:0.5rem}.sc-arcgis-hub-content-hero-s>[slot='footer-start']{display:flex;column-gap:0.5rem}.hero-footer-end.sc-arcgis-hub-content-hero{grid-area:footer-end;display:flex;justify-content:flex-end}.hero-footer-end.sc-arcgis-hub-content-hero-s>calcite-button,.hero-footer-end .sc-arcgis-hub-content-hero-s>calcite-button{margin-left:0.5rem}`,U=S,j=class{get _thumbnailUrl(){let t="";if(this.thumbnailUrl){let e=new URL(this.thumbnailUrl);e.searchParams.set("w","800"),t=e.toString()}return t}get mediaClass(){let t="no-media";return this._thumbnailUrl?t="thumbnail-media":this.extent&&(t="map-media"),t}get hostClass(){return(this.mediaClass+" "+this.orientationClass).trim()}constructor(t){x(this,t),this.heroTitle=void 0,this.thumbnailUrl=void 0,this.basemap=void 0,this.extent=void 0,this.graphics=void 0,this.showMap=!0,this.mapSettings=void 0,this.orientationClass="",H(this,"handleResize")}async componentWillLoad(){this.intl=await p.loadIntlForComponent(this.element)}connectedCallback(){u.addHandler(this.element,this.handleResize)}disconnectedCallback(){u.unobserve(this.element)}async handleResize(){this.orientationClass=this.element.clientWidth<768?"vertical":""}renderMedia(){let t=null;return this._thumbnailUrl?t=this.renderThumbnail(this._thumbnailUrl):this.extent&&this.showMap&&(t=this.renderMap()),i("div",{class:"hero-media"},t)}renderThumbnail(t){return i("img",{alt:this.intl.t("thumbnail"),class:"hero-thumbnail",slot:"thumbnail",src:t})}renderMap(){return i("arcgis-hub-map-view",Object.assign({},A(this.mapSettings),{basemap:this.basemap,expand:1.5,extent:this.extent,graphics:this.graphics,"hide-zoom":!0}))}renderHeader(){return i("div",{class:"hero-header"},this.heroTitle&&i("h1",null,this.heroTitle),i("slot",{name:l.header}))}renderMain(){return i("div",{class:"hero-main"},i("slot",{name:l.main}))}renderFooter(){return i(E,null,i("div",{class:"hero-footer-start"},i("slot",{name:l.footerStart})),i("div",{class:"hero-footer-end"},i("slot",{name:l.footerEnd})))}render(){return i(y,{key:"2a5e4b75df49993c1b22d4cf8674952a0f533f46",class:this.hostClass,"data-element":"content-hero"},this.renderMedia(),i("div",{key:"a4b738e94dc85d4791b63b2751abcb737a6f5acc",class:"hero-content"},this.renderHeader(),this.renderMain(),this.renderFooter()))}static get assetsDirs(){return["locales"]}get element(){return v(this)}};j.style=U;var F=".sc-arcgis-hub-entity-hero-h{display:block}",z=F,w=function(t,e,r,n){var s=arguments.length,o=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(o=(s<3?a(o):s>3?a(e,r,o):a(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},d=class{constructor(t){x(this,t),this.arcgisEntityEdit=_(this,"arcgisEntityEdit",7),this.hubTelemetry=_(this,"hubTelemetry",7),this._heroActions=[],this.handleEditClick=()=>{this.arcgisEntityEdit.emit()},this.handleHeroActionClick=e=>{var r,n,s;let o=Number(e.currentTarget.getAttribute("data-index")),a=((s=(n=(r=this.entity)===null||r===void 0?void 0:r.view)===null||n===void 0?void 0:n.heroActions)!==null&&s!==void 0?s:[])[o],h;a&&(a.kind==="content"?h=m.dictionary.category.navigation.action.view.label.content:a.kind==="external"?h=Object.assign(Object.assign({},m.dictionary.category.navigation.action.external.label.link),{details:a.href}):a.kind==="well-known"&&(h={register:null}[a.action])),h&&this.hubTelemetry.emit({telemetry:h,composedPath:e.composedPath()})},this.entity=void 0,this.tooltipRefs={},this.showEdit=!1,this.preferThumbnail=!1}get _context(){return R()}get location(){return this.entity.location}get hasLocation(){var t;return!!(this.location&&((t=this.location)===null||t===void 0?void 0:t.type)!=="none")}get canEditEntity(){let t=`hub:${this.entityType}:edit`;return C(t,this._context,this.entity).access}get entityType(){return k(this.entity)}get heroActions(){return this._heroActions.slice(0,2)}get extent(){var t;return this.hasLocation?T((t=this.location)===null||t===void 0?void 0:t.extent):void 0}get graphics(){var t;if(!this.hasLocation)return[];let e=(t=this.location.geometries)!==null&&t!==void 0?t:[];return e.length?e.map(r=>({geometry:r,symbol:f[r.type](b.DEFAULT,g[r.type])})):[{symbol:f.polygon(b.DEFAULT,g.polygon),geometry:Object.assign({type:"extent"},this.extent)}]}get showMap(){var t,e;let r=this.entity.thumbnail||this.entity.thumbnailUrl;return this.preferThumbnail&&r?!1:(e=(t=this.entity.view)===null||t===void 0?void 0:t.showMap)!==null&&e!==void 0?e:!1}get mapSettings(){var t;return(t=this.entity.view)===null||t===void 0?void 0:t.mapSettings}async componentWillLoad(){this.intl=await p.loadIntlForComponent(this.element),await this.init()}async init(){var t,e;let r=((e=(t=this.entity.view)===null||t===void 0?void 0:t.heroActions)!==null&&e!==void 0?e:[]).map(s=>Object.assign({},M(this.intl,s))),n=[];for(let s of r)try{let o=await O([s],this._context.hubRequestOptions);o&&o.length&&n.push(o[0])}catch{}this._heroActions=n}renderEditButton(){return this.canEditEntity&&this.showEdit?i("calcite-button",{appearance:"solid","data-element":"primary-action",href:"#","icon-start":"gear",label:"Edit",onClick:this.handleEditClick,round:!0},"Edit"):null}renderHeroActions(t=[]){return i(E,null,i("div",{slot:"footer-start"},t.map((e,r)=>i("div",{key:e.label},i("calcite-button",{appearance:r===0?"solid":"outline-fill","data-element":r===0?"primary-action":"secondary-action","data-index":r,disabled:e.disabled,href:e.kind==="external"?e.href:void 0,label:e.label,onClick:this.handleHeroActionClick,ref:n=>{this.tooltipRefs=e.tooltip&&this.tooltipRefs[e.tooltip]!==n?Object.assign(Object.assign({},this.tooltipRefs),{[e.tooltip]:n}):this.tooltipRefs},round:!0},e.label),this.tooltipRefs[e.tooltip]&&i("calcite-tooltip",{referenceElement:this.tooltipRefs[e.tooltip]},e.tooltip)))),this.showEdit&&i("div",{slot:"footer-end"},this.renderEditButton()))}render(){var t;return i(y,{key:"d34b0b951902cd92820b3495f22e34a9d2ee9f01","data-element":"entity-hero"},i("arcgis-hub-content-hero",{key:"cb4a28edd9e7eee58b9c37a8846fecd564986ca1",extent:this.extent,graphics:this.graphics,"hero-title":(t=this.entity)===null||t===void 0?void 0:t.name,mapSettings:this.mapSettings,showMap:this.showMap,thumbnailUrl:this.hasLocation&&this.showMap?null:L(this.entity)},i("slot",{key:"e51a974818841f99e2a6b0b35f3ee6de4f5adae6",name:"footer-start"}),this._heroActions&&this.renderHeroActions(this._heroActions)))}static get assetsDirs(){return["locales"]}get element(){return v(this)}static get watchers(){return{entity:["init"]}}};w([c("_heroActions")],d.prototype,"heroActions",null);w([c("location.extent")],d.prototype,"extent",null);w([c("location.geometries")],d.prototype,"graphics",null);d.style=z;return{arcgis_hub_content_hero:j,arcgis_hub_entity_hero:d}},"config",a,d)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as C}from"./UN6MRXZW.js";import{a as i}from"./42NTJTRV.js";import{E as u,J as f}from"./VXJI546E.js";import{a as p}from"./WBUC7HJI.js";function b(){function a(n,r,t){let{value:e}=t,l=`_${r}Called`;Object.defineProperty(n,l,{writable:!0,value:!1});let o=`_${r}Cache`;Object.defineProperty(n,o,{writable:!0});let s=function(...h){return this[l]||(this[l]=!0,this[o]=e.apply(this,h)),this[o]};return Object.assign(Object.assign({},t),{value:s})}return a}var d=i((a,n)=>f(Object.assign({postId:a,data:{relations:[u.REACTIONS,u.REPLIES,u.CHANNEL,u.CHANNEL_ACL]}},n)).then(r=>(r.replyCount=r.replies.total,delete r.replies,r)),{scope:"channels",getKey(a){return a},ttl:3*1e3});async function O(a,n){let{postId:r,post:t}=a,e;if(t)r=t.id,e=null;else if(r)try{t=await d(r,n),e=null}catch(l){e=l,t=null}else r=null,t=null,e=null;return{postId:r,post:t,postError:e}}var g=i((a,n)=>p(Object.assign({username:a},n)),{scope:"users"});async function m(a,n){let{post:r}=a,{postCreator:t,postCreatorId:e,postCreatorOrg:l}=a,o=null,s=null;if(r){e=r.creator;try{t=await g(r.creator,n),o=null}catch(c){o=c,t=null}try{l=await C(t.orgId,n),s=null}catch(c){s=c,l=null}}else e=null,l=null,o=null,t=null,s=null;return{postCreator:t,postCreatorError:o,postCreatorId:e,postCreatorOrg:l,postCreatorOrgError:s}}async function w(a,n){let{post:r}=a,{parent:t,parentId:e}=a,l=null,o=async s=>{try{({post:t,postId:e,postError:l}=await O({postId:s},n))}catch(c){e=s,t=null,l=c}return{parentError:l,parentId:e,parent:t}};return r?r.parentId?t!==null&&r.parentId!==t?.id&&({parent:t,parentId:e,parentError:l}=await o(r.parentId)):(t=null,e=r.parentId,l=null):t?(e=t.id,l=null):e?{parent:t,parentId:e,parentError:l}=await o(e):(t=null,l=null,e=null),{parent:t,parentError:l,parentId:e}}async function j(a,n){let{parent:r,parentCreatorId:t,parentCreator:e,parentCreatorOrg:l}=a,o=null,s=null;return r?{postCreator:e,postCreatorError:o,postCreatorId:t,postCreatorOrg:l,postCreatorOrgError:s}=await m({post:r,postCreator:e,postCreatorOrg:l},n):(r=null,e=null,o=null,t=null,l=null,s=null),{parentCreatorId:t,parentCreator:e,parentCreatorError:o,parentCreatorOrg:l,parentCreatorOrgError:s}}export{b as a,O as b,g as c,m as d,w as e,j as f};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as o}from"./XP6ZXTST.js";var l={DOWNLOAD:"download",UPDATE:"update"};async function u(e,t){let r=["types","statuses"];if(r.some(n=>t[n]))throw new o("fetchItemJobRecords",`The following options are not yet implemented: ${r.join(", ")}`);let{context:a}=t,s=`${a.hubUrl}/api/download/v1/items/${e}/errors${d(t)}`,{errors:m}=await fetch(s).then(n=>n.json());return m.map(c)}function d(e){let t=new URLSearchParams;e.from&&t.append("fromDate",e.from),e.to&&t.append("toDate",e.to),e.limit&&t.append("limit",e.limit.toString());let r=t.toString();return r&&`?${r}`}function c(e){return{type:l.DOWNLOAD,message:e.message,created:new Date(e.timestamp).getTime(),layerId:e.layerId,id:null,status:null,messageId:null,modified:null}}export{l as a,u as b};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as b,b as _}from"./XIWVNNXH.js";import{b as d}from"./CH532URJ.js";import{a as C}from"./37IO4VH2.js";import{a as g}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import{a as p}from"./YCEXTCZD.js";import"./5V53QYYF.js";import{a as u}from"./P7D42LBQ.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as m,c as f,d as x,e as v,i as S}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var y=({items:e,values:t,selectionMode:i,translationFunc:s,onCalciteComboboxItemChange:a})=>{let n=o=>d(o,s)||o.value;function l(o){return o.type==="avatar"?m("calcite-avatar",{label:o.label,slot:"content-end",thumbnail:o.value}):m("calcite-icon",{icon:o.value,slot:"content-end"})}return e.map(o=>{var r;return m("calcite-combobox-item",{description:o.description,heading:n(o),icon:o.icon,key:o.value,label:n(o),onCalciteComboboxItemChange:a,selected:_(o,t,i),value:o.value},o.contentEnd&&l(o.contentEnd),!!(!((r=o.children)===null||r===void 0)&&r.length)&&m(y,{items:o.children,onCalciteComboboxItemChange:a,selectionMode:i,translationFunc:s,values:t}))})},q=class{constructor(e){S(this,e),this.arcgisConfigurationEditorFieldInputChange=v(this,"arcgisConfigurationEditorFieldInputChange",7),this.hubTelemetry=v(this,"hubTelemetry",7),this.handleCalciteComboboxItemChange=t=>{let{value:i,selected:s}=t.target;this.hubTelemetry.emit(Object.assign(Object.assign({},p.dictionary.category.interaction.action[s?"select":"deselect"]),{label:this.params.telemetryLabel,details:i}))},this.params=void 0,this.comboboxKey=0,this.items=[],C(this,"handleCalciteComboboxChange")}async componentWillLoad(){this.intl=await g.loadIntlForComponent(this.element),this.setComboboxItems()}onParamsChange(e,t){let i=u(e,"uiSchema.options.items",[]).map(l=>l.value).sort(),s=u(t,"uiSchema.options.items",[]).map(l=>l.value).sort(),a=this.getSchemaEnum(e).sort(),n=this.getSchemaEnum(t).sort();(!b(i,s)||!b(a,n))&&(this.setComboboxItems(),this.comboboxKey++)}setComboboxItems(){var e,t,i,s;let a=((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.items)||((i=this._schemaEnum)===null||i===void 0?void 0:i.map(n=>({label:n,value:n})));!((s=this._schemaEnum)===null||s===void 0)&&s.length&&(a=a.filter(n=>this._schemaEnum.includes(n.value))),this.items=a}getSchemaEnum(e){var t;return(this._isSingleSelect?e.schema.enum:(t=e.schema.items)===null||t===void 0?void 0:t.enum)||[]}get _isSingleSelect(){var e,t;return((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.selectionMode)==="single"}get _selectionMode(){var e,t;return((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.selectionMode)||"single"}get _groups(){var e,t,i;let s=((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.groups)||[];return!((i=this._schemaEnum)===null||i===void 0)&&i.length&&s.forEach(a=>{a.items=a.items.filter(n=>this._schemaEnum.includes(n.value))}),s}get _schemaEnum(){return this.getSchemaEnum(this.params)}handleCalciteComboboxChange(e){let{value:t}=e.target,i=t;!this._isSingleSelect&&typeof t=="string"&&(i=t.length?[t]:[]),this.arcgisConfigurationEditorFieldInputChange.emit(i)}renderComboboxGroups(){return this._groups.map(e=>m("calcite-combobox-item-group",{key:e.label,label:e.label},this.renderComboboxItems(e.items)))}renderComboboxItems(e){return m(y,{items:e,onCalciteComboboxItemChange:this.handleCalciteComboboxItemChange,selectionMode:this._selectionMode,translationFunc:this.params.t,values:this.params.value})}render(){var e,t,i,s,a,n,l,o,r,c,h;let{allowCustomValues:E,placeholder:I,placeholderIcon:M}=((e=this.params.uiSchema)===null||e===void 0?void 0:e.options)||{},w=this._schemaEnum.length?!1:E;return m(f,{key:"3f47484d1606057606f94db3cfbecc1c1b8ba7a6","data-element":"combobox-field"},m("calcite-combobox",{allowCustomValues:w,clearDisabled:(i=(t=this.params.uiSchema)===null||t===void 0?void 0:t.options)===null||i===void 0?void 0:i.clearDisabled,disabled:this.params.disabled||((a=(s=this.params.uiSchema)===null||s===void 0?void 0:s.options)===null||a===void 0?void 0:a.disabled),key:this.comboboxKey,label:d(this.params.uiSchema,this.params.t)||this.intl.t("label"),onCalciteComboboxChange:this.handleCalciteComboboxChange,overlayPositioning:(l=(n=this.params.uiSchema)===null||n===void 0?void 0:n.options)===null||l===void 0?void 0:l.overlayPositioning,placeholder:I,placeholderIcon:M,readOnly:(r=(o=this.params.uiSchema)===null||o===void 0?void 0:o.options)===null||r===void 0?void 0:r.readOnly,scale:this.params.scale,selectionDisplay:(h=(c=this.params.uiSchema)===null||c===void 0?void 0:c.options)===null||h===void 0?void 0:h.selectionDisplay,selectionMode:this._selectionMode},this._groups.length?this.renderComboboxGroups():this.renderComboboxItems(this.items)))}static get assetsDirs(){return["locales"]}get element(){return x(this)}static get watchers(){return{params:["onParamsChange"]}}};export{q as hub_field_input_combobox};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as m}from"./LVCMKKG7.js";import{a as s}from"./7GTUV67W.js";function C(...r){function a(l,z,i){let{get:u}=i,e=m(32),h=function(){this.hasOwnProperty("_memoizeCache")||(this._memoizeCache={});let c=()=>{let o=u.call(this),t=r.reduce((g,n)=>Object.assign(Object.assign({},g),{[n]:s(this,n)}),{});return this._memoizeCache[e]={previousPathValues:t,value:o},o};return this._memoizeCache[e]?r.some(t=>this._memoizeCache[e].previousPathValues[t]!==s(this,t))?c():this._memoizeCache[e].value:c()};return Object.assign(Object.assign({},i),{get:h})}return a}export{C as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{n as R}from"./K4VVZ2OR.js";import{a as J}from"./THLIDOGM.js";import{N as m}from"./VXJI546E.js";import{ba as k,n as S,s as O}from"./CBIG4EMI.js";import{y as b}from"./K3HMF5GC.js";import{a as f}from"./XP6ZXTST.js";import{e as _}from"./3WN3ZWUP.js";import{a as d}from"./CU2TSBCT.js";import{d as w}from"./KUB4GMLQ.js";import{a as v}from"./ZM3EAORZ.js";import{b as C}from"./A36IL72A.js";import{a as u}from"./HEPYE6RX.js";import{a as p}from"./7GTUV67W.js";function x(i){return typeof i=="string"&&/^c[a-z0-9]{24}$/.test(i)}async function P(i,t,e,o={}){let s={identifier:i,isContained:!1},r={};d(i)||x(i)?r.id=i:r.typekeywords=`slug|${i}`;let a=[];if(o.entityType)if(t.scopes&&t.scopes[o.entityType])a.push({targetEntity:o.entityType,filters:[{predicates:[r]}]});else{let n=(t.collections||[]).filter(l=>l.targetEntity===o.entityType);if(n.length)n.forEach(l=>{a.push({targetEntity:l.targetEntity,filters:[{predicates:[r]},...l.scope.filters]})});else return Promise.resolve(s)}else Object.keys(t.scopes).forEach(c=>{a.push({targetEntity:c,filters:[{predicates:[r]}]})});let g=await Promise.all(a.map(c=>(t.scopes[c.targetEntity]&&(c.filters=[...c.filters,...t.scopes[c.targetEntity].filters]),m(c,{targetEntity:c.targetEntity,num:10,requestOptions:e.hubRequestOptions}))));return s.isContained=g.reduce((c,n)=>(n.results.length&&(r.id?c=!0:c=n.results.reduce((l,h)=>(h.typeKeywords.includes(r.typekeywords)&&(l=!0),l),!1)),c),!1),s}function F(i){return v({type:i})}async function I(i,t,e){let o;if(i.indexOf("http")===0){let s=i;s=S(s),s.includes("#")||(s=s.split("/")[0]);let r=await O(s,t.hubRequestOptions),a=await k(r.siteId,t.hubRequestOptions);o=p(a,e?.prop||"catalog")}else if(d(i)){let s;if(e?.hubEntityType)s=e.hubEntityType;else{let a=await w(i,t.requestOptions);s=F(a.type)}let r=await R(s,i,t);o=p(r,e?.prop||"catalog")}else if(x(i)){let s=await J(i,t.hubRequestOptions);o=p(s,e?.prop||"catalog")}else throw new f("Catalog.init","Identifier must be a url, item or event id");return o}var y=class i{constructor(t,e){this._collection=t,this._context=e}static fromJson(t,e){return new i(t,e)}toJson(){return u(this._collection)}get label(){return this._collection.label}get key(){return this._collection.key}get include(){return this._collection.include||[]}get scope(){return this._collection.scope}get sortField(){return this._collection.sortField||"title"}get sortDirection(){return this._collection.sortDirection||"asc"}get targetEntity(){return this._collection.targetEntity}async search(t,e={}){let o;typeof t=="string"?o={targetEntity:this._collection.targetEntity,filters:[{predicates:[{term:t}]}]}:o=u(t),o.filters=[...o.filters,...this.scope.filters];let s=u(e);return s.requestOptions=this._context.hubRequestOptions,s.sortField=e.sortField||this.sortField,s.sortOrder=e.sortOrder||this.sortDirection,s.include=e.include||this.include,m(o,s)}},D=class i{constructor(t,e){this._containsCache={},this._catalog=t,this._context=e}static async init(t,e,o){e||(e=(await _.create()).context);let s=await I(t,e,o);if(s)return new i(s,e);throw new f("Catalog.fetch","No catalog found for the entity")}static fromJson(t,e){let o=b(t);return new i(o,e)}toJson(){return u(this._catalog)}get schemaVersion(){return this._catalog.schemaVersion}get title(){return this._catalog.title}set title(t){this._catalog.title=t}get scopes(){return this._catalog.scopes||{}}get availableScopes(){return Object.keys(this.scopes)}get displayConfig(){return this._catalog.displayConfig}getScope(t){var e;return(e=this._catalog.scopes)===null||e===void 0?void 0:e[t]}setScope(t,e){this._catalog.scopes[t]=e}get collections(){return this._catalog.collections||[]}get collectionNames(){return C("key",this.collections)}getCollection(t){let e=this.getCollectionJson(t);return y.fromJson(e,this._context)}addCollection(t){var e;!((e=this._catalog.collections)===null||e===void 0)&&e.length?this._catalog.collections.push(t):this._catalog.collections=[t]}getCollectionJson(t){let e=this.collections.find(o=>o.key===t);if(e){let o=u(e),s=this.getScope(o.scope.targetEntity);return s?.filters&&(o.scope.filters=[...o.scope.filters||[],...s.filters]),o}else throw new f("getCollectionJson",`Collection "${t}" is not present in the Catalog`)}getCustomCollection(t,e){let o=this.getCustomCollectionJson(t,e);return y.fromJson(o,this._context)}getCustomCollectionJson(t,e){let o=this.getScope(t);return{key:`${t}-custom`,label:`${t} Custom`,targetEntity:t,scope:{targetEntity:t,filters:[...o?.filters||[],...e]}}}async searchItems(t,e){if(e||(e=this.getDefaultSearchOptions("item")),this.getScope("item"))return e.targetEntity="item",this.search(t,e);{let o=this.getEmptyResult();return o.messages=[{code:"missingScope",message:"Catalog does not have a scope for items",data:{scope:"item"}}],Promise.resolve(o)}}async contains(t,e){let o=Date.now();if(this._containsCache[t]){let s=u(this._containsCache[t]);return s.duration=Date.now()-o,Promise.resolve(s)}else{let s=await P(t,this._catalog,this._context,e);return this._containsCache[t]=s,s.duration=Date.now()-o,s}}async searchGroups(t,e){if(e||(e=this.getDefaultSearchOptions("group")),this.getScope("group"))return e.targetEntity="group",this.search(t,e);{let o=this.getEmptyResult();return o.messages=[{code:"missingScope",message:"Catalog does not have a scope for groups",data:{scope:"group"}}],Promise.resolve(o)}}async searchUsers(t,e={}){if(this.getScope("user"))return e.targetEntity="user",this.search(t,e);{let o=this.getEmptyResult();return o.messages=[{code:"missingScope",message:"Catalog does not have a scope for user",data:{scope:"user"}}],Promise.resolve(o)}}async searchCollections(t,e={}){let o=!0,s;typeof t=="string"?(o=!1,s={targetEntity:"item",filters:[{predicates:[{term:t}]}]}):s=t;let r=[],a=this.collectionNames.reduce((n,l)=>{let h=this.getCollection(l);return o?h.targetEntity===s.targetEntity&&(r.push(l),n.push(h.search(s,e))):(r.push(l),s.targetEntity=h.targetEntity,n.push(h.search(s,e))),n},[]),g=await Promise.all(a),c={};for(let n=0;n<r.length;n++)c[r[n]]=g[n];return c}async searchScopes(t,e={},o){let s;typeof t=="string"?s={targetEntity:"item",filters:[{predicates:[{term:t}]}]}:s=t;let r=[],a=this.availableScopes.reduce((n,l)=>{if(!o||o.includes(l)){r.push(l);let h=u(s),E=u(e);h.targetEntity=l,E.targetEntity=l,n.push(this.search(h,E))}return n},[]),g=await Promise.all(a),c={};for(let n=0;n<r.length;n++)c[r[n]]=g[n];return c}async search(t,e){let o=e.targetEntity,s;typeof t=="string"?s={targetEntity:o,filters:[{predicates:[{term:t}]}]}:(o=t.targetEntity,s=u(t));let r=this.getScope(o);r&&(s.filters=[...s.filters,...r.filters]);let a=u(e);return delete a.authentication,a.requestOptions=this._context.hubRequestOptions,m(s,a)}getEmptyResult(){return{results:[],total:0,hasNext:!1,next:null}}getDefaultSearchOptions(t){return{targetEntity:t,num:10,start:1,requestOptions:this._context.hubRequestOptions}}};export{x as a,P as b,F as c,y as d,D as e};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as g}from"./DCLYV35L.js";import{a as p}from"./G4YSKUJY.js";import"./L6IQ6LTS.js";import{a as m}from"./75EIUMLW.js";import{a as i}from"./PM6CSPJD.js";import"./HM2SQ34E.js";import"./K4VVZ2OR.js";import"./THLIDOGM.js";import"./FZNKGW4A.js";import"./LK454DSU.js";import"./AYFB34A7.js";import"./53V23CCM.js";import"./SNSHV52T.js";import"./HITR5JF7.js";import"./E2RL5I2B.js";import"./4ZRQCNU2.js";import"./YLRR2XFD.js";import"./LEVMADAS.js";import"./U7SPPU37.js";import"./JSOZV4HA.js";import"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./ZUFDLSS7.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import"./LVCMKKG7.js";import"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import{b as d}from"./AM4QVJ44.js";import"./GVF26EON.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as f}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import{a as u}from"./JASFUUT6.js";import"./RL2IUUBA.js";import{a as h}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import b from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import{a as l}from"./HEPYE6RX.js";import"./7GTUV67W.js";import{a}from"./USNX342T.js";import{b as c,c as v,d as C,i as y}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:b,j:M}])=>{function _(e){try{return JSON.parse(d(e))}catch(r){a.error("could not parse prop JSON",r)}}var R=new Error("Timeout"),S=(e,r)=>{let t,o=r*1e3;return Promise.race([e,new Promise((s,n)=>t=setTimeout(n,o,R))]).finally(()=>clearTimeout(t))},T=":host{display:block}",L=T,w=class{constructor(e){y(this,e),this.metric=void 0,this.encodedMetric=void 0,this.cardConfig=void 0,this.encodedCardConfig=void 0,this.headingLevel=2,this.resolvedMetric=void 0,this.errorMessage=void 0,this.isLoading=!1,this._context=b(),f(this,"beginResolveMetric")}connectedCallback(){M(this)}disconnectedCallback(){this.disconnectContext()}async resolveMetric(){var e;let r=this.encodedMetric?_(this.encodedMetric):this.prepareMetric(this.metric);this.verifyCompleteSource(r)&&this._context?this.resolvedMetric=await this.resolveMetricWithTimeout(r,this._context,(e=this._cardConfig)===null||e===void 0?void 0:e.serverTimeout):(a.info("Incomplete metric source."),this.resolvedMetric=void 0,this.isLoading=!1)}beginResolveMetric(){this.isLoading=!0,this.resolveMetric()}componentWillLoad(){this.beginResolveMetric(),this.intl=h.getIntlForComponent(this.element)}async resolveMetricWithTimeout(e,r,t){let o;try{o=t&&!isNaN(t)?await S(p(e,r),t):await p(e,r),this.errorMessage=void 0}catch(s){s==R?(this.errorMessage={premadeType:m.timeout},a.error("Timeout error")):(a.error("Error resolving metric: ",s),this.errorMessage={premadeType:m.generic})}return this.isLoading=!1,o}verifyCompleteSource(e){let r=!1;if(e?.source){let{type:t}=e.source;t==="static-value"?r=this.verifyStaticQuery(e.source):t==="service-query"&&(r=this.verifyServiceQuery(e.source))}return r}verifyStaticQuery(e){let{value:r,type:t}=e;return!i(r)&&!i(t)}verifyServiceQuery(e){let{type:r,serviceUrl:t,layerId:o,field:s,statistic:n}=e;return s&&!i(r)&&!i(t)&&!i(o)&&!i(s)&&!i(n)}prepareMetric(e){let r=l(e);if(r?.source&&r.source.where){let t=r.source;t.where=decodeURIComponent(t.where)}return r}get cardComponent(){return{"stat-card":"arcgis-stat-card"}[this._cardConfig.displayType]||"arcgis-stat-card"}get _cardConfig(){let e={metricId:"",displayType:"stat-card"};return this.cardConfig?e=this.cardConfig:this.encodedCardConfig&&(e=_(this.encodedCardConfig)),e}render(){let e=g(this.resolvedMetric,this._cardConfig,this.intl),r=this.cardComponent;return c(v,{key:"8869689e53016c9b15fd9f040a67096cabcac7d6","data-element":"metrics-card"},c(u,{key:"e1554ec111b139112bfceb23bfa51ccfe4e947aa",context:{element:this.element,shareable:this._cardConfig.shareable,shareableOnHover:this._cardConfig.shareableOnHover,shareableByReference:this._cardConfig.shareableByReference,shareableByValue:this._cardConfig.shareableByValue},showShareUi:!0},c(r,Object.assign({key:"16d223ac0f54529f05cd573509d733bfa9a830e4",errorMessage:this.errorMessage,headingLevel:this.headingLevel},e,{isLoading:this.isLoading}))))}get element(){return C(this)}static get watchers(){return{metric:["beginResolveMetric"],encodedMetric:["beginResolveMetric"],_context:["beginResolveMetric"]}}};w.style=L;return w},b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{n as c}from"./K4VVZ2OR.js";import"./THLIDOGM.js";import"./FZNKGW4A.js";import"./LK454DSU.js";import"./AYFB34A7.js";import{k as p}from"./53V23CCM.js";import"./SNSHV52T.js";import"./HITR5JF7.js";import"./E2RL5I2B.js";import"./4ZRQCNU2.js";import"./YLRR2XFD.js";import"./LEVMADAS.js";import"./U7SPPU37.js";import"./JSOZV4HA.js";import"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./ZUFDLSS7.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import"./LVCMKKG7.js";import"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as s}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import{a as n}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import b from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import{a}from"./7GTUV67W.js";import{a as l}from"./USNX342T.js";import{b as o,c as m,d,e,i as h}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:u,j:f}])=>{var y=":host{display:block}calcite-notice{--calcite-color-foreground-1:#ffffff;--calcite-color-text-2:#000000}.cta-align-center{display:flex;justify-content:center}.cta-align-start{display:flex;justify-content:flex-start}.cta-align-end{display:flex;justify-content:flex-end}.cta-text{margin-bottom:0.75rem}",b=y,A=class{connectedCallback(){f(this)}disconnectedCallback(){this.disconnectContext()}constructor(t){h(this,t),this.arcgisHubFollowCardFollowChange=e(this,"arcgisHubFollowCardFollowChange",7),this.startFollowCardPopoutAuth=e(this,"startFollowCardPopoutAuth",7),this.cardConfig=void 0,this.isEditingSite=!1,this.followersGroup=void 0,this._context=u(),s(this,"handleArcgisHubFollowActionChange","handleStartFollowCardPopoutAuth")}async componentWillLoad(){this.intl=await n.loadIntlForComponent(this.element),await this.cardConfigUpdated()}async cardConfigUpdated(){let{entityId:t,entityType:i}=this.cardConfig;if(t)try{this._entity=await c(i,t,this._context),this.followersGroup=this._entity.followersGroupId&&await p(this._entity.followersGroupId,this._context.hubRequestOptions)}catch(r){l.error(`Error fetching followers group: ${r}`)}}get hasGroupAccess(){return!!this.followersGroup&&!!a(this.followersGroup,"access")}get callToActionClass(){return`cta-align-${this.cardConfig.callToActionAlign}`}handleArcgisHubFollowActionChange(t){t.preventDefault(),t.stopPropagation(),this.arcgisHubFollowCardFollowChange.emit(t.detail)}handleStartFollowCardPopoutAuth(t){t.preventDefault(),t.stopPropagation(),this.startFollowCardPopoutAuth.emit()}renderNotice(){return o("calcite-notice",{kind:"danger",open:!0},o("div",{slot:"message"},this.intl.t("inaccessibleFollowerGroup")))}render(){let{entityId:t,entityType:i,buttonText:r,unfollowButtonText:g,buttonStyle:w,buttonAlign:C}=this.cardConfig;return o(m,{key:"7ed4ccd572221547c4d2169912cafccd91f7e0f3","data-element":"follow-card"},this.hasGroupAccess?o("div",null,o("div",{class:`cta-text ${this.callToActionClass}`},this.cardConfig.callToActionText),o("arcgis-hub-follow-action",{buttonAlign:C,buttonStyle:w,buttonText:r,entityAccess:this._entity.access,entityId:t,entityType:i,followersGroup:this.followersGroup,onArcgisHubFollowActionChange:this.handleArcgisHubFollowActionChange,onStartFollowActionPopoutAuth:this.handleStartFollowCardPopoutAuth,unfollowButtonText:g})):this.isEditingSite&&this.renderNotice())}static get assetsDirs(){return["locales"]}get element(){return d(this)}static get watchers(){return{_context:["cardConfigUpdated"],cardConfig:["cardConfigUpdated"]}}};A.style=b;return A},b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as o}from"./UJZ32HDH.js";import{a as r}from"./7GTUV67W.js";function c(e,s){if(s.isPortal)return!1;let a=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=r(e,"extendedProps.server.layers.length")===1,n=o(e);return a||t||n}export{c as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import f from"./MT4BUGHF.js";import e from"./XX3BCLUI.js";import d from"./MAKNOF2E.js";import{b as R}from"./MUJK2PAB.js";import"./ALUW2GDJ.js";import"./DCLYV35L.js";import"./SDXNFZ6Q.js";import"./XLV625TR.js";import"./NFD3QJ6J.js";import"./Q4GV7FFJ.js";import"./HWUCFNAD.js";import"./LLGS7DKU.js";import"./TO5XR7VA.js";import"./DJ3H7LZE.js";import"./PJFE4OSA.js";import"./25TYOHZS.js";import"./XZDHV5BV.js";import"./L6IQ6LTS.js";import"./DCXY72PD.js";import"./YBDFIKTN.js";import"./QA5B2Y37.js";import"./HUVYHMSC.js";import"./FY3KPATI.js";import"./DH2QF3YA.js";import"./UOAJQR2X.js";import"./PM6CSPJD.js";import"./JG22JJ4C.js";import"./6M5DP7YF.js";import"./HM2SQ34E.js";import"./HF75SET4.js";import"./O247GUBF.js";import"./EIMMNTTE.js";import"./YMX7NNEY.js";import"./M5TH54YS.js";import"./HH5PXKUQ.js";import"./WL6CGZLR.js";import"./K4VVZ2OR.js";import"./THLIDOGM.js";import"./FZNKGW4A.js";import"./LK454DSU.js";import"./AYFB34A7.js";import"./53V23CCM.js";import"./SNSHV52T.js";import"./HITR5JF7.js";import"./E2RL5I2B.js";import"./4ZRQCNU2.js";import"./YLRR2XFD.js";import"./LEVMADAS.js";import"./U7SPPU37.js";import"./JSOZV4HA.js";import"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./ZUFDLSS7.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import"./ZVGAVULD.js";import"./V3U3RRL7.js";import"./LVCMKKG7.js";import"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import{b as M}from"./VQ6FS65F.js";import{h as k,i as E}from"./6VA6IJMP.js";import"./2PUMWMNI.js";import"./L3H4QXUA.js";import{A as b,B as v,H as D,a as x,b as u,o as S,z as g}from"./YTAOXT7K.js";import"./BMRPHSYL.js";import"./FMBEHWFY.js";import"./3WN3ZWUP.js";import"./AM4QVJ44.js";import"./GVF26EON.js";import"./K672BF4Z.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./PWESAKVV.js";import c from"./K5O2OVOP.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./FLC2JTMP.js";import"./RL2IUUBA.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([,,,,V])=>{var P={FINDER:"finder"};async function F(i){let{skillId:t,message:e,context:s,token:a,conversationId:o,apiUrl:n="https://api.example.com",pauseMs:c=1e3,retries:d=3}=i,y={Authorization:`Bearer ${a}`,Accept:"application/json","Content-Type":"application/json"},_=`${n}/skills/${t}/chat`,w={message:e,context:s};o&&(w.conversationId=o);try{let l=await fetch(_,{method:"POST",headers:y,body:JSON.stringify(w)});if(!l.ok)throw new Error(`HTTP error! status: ${l.status}`);let r=await l.json(),L=o??r.conversationId,U=r.inquiryId,$=r.hasMore||r.message==null,T=r.sequenceNumber,m=[];r.message&&m.push(r);let I=0;for(;$&&I<d;){await new Promise(C=>setTimeout(C,c));let p=await fetch(_,{method:"POST",headers:y,body:JSON.stringify({conversationId:L,inquiryId:U,ackSequenceNumber:T})});if(!p.ok)throw new Error(`HTTP error! status: ${p.status}`);let h=await p.json();h.message&&m.push(h),$=h.hasMore,h.message!=null&&(T+=1),I++}return m}catch(l){return console.error("Error during request:",l),[]}}async function q({message:i,context:t,token:e,conversationId:s,apiUrl:a="https://hub.arcgis.com/api/assistants/v1",pauseMs:o=1e3,retries:n=100}){return await F({skillId:P.FINDER,message:i,context:t,token:e,conversationId:s??void 0,apiUrl:a,pauseMs:o,retries:n})}var N=i=>{if(i?.length!==2||i[0].length!==2||i[1].length!==2)return"0, 0";let t=i[0][0],e=i[0][1],s=i[1][0],a=(i[1][1]+e)/2,o=(s+t)/2;return`${a}, ${o}`},z=i=>{if(i?.length!==2||i[0].length!==2||i[1].length!==2)return 1;let t=i[0][0],e=i[0][1],s=i[1][0],a=i[1][1],o=Math.abs(s-t),n=Math.abs(a-e),c=Math.log2(360/o),d=Math.log2(180/n);return Math.floor(Math.min(c,d))+2},G=x`@layer{arcgis-hub-ai-assistant{arcgis-feature-table{height:300px}esri-feature-table{height:300px}}}`;function H(i){return i.replace("http://","").replace("https://","").split(/[/?#]/u)[0]}async function j(i,t,e){try{let[s,a]=await Promise.all([k(i,{authentication:t,portal:e}),E(i,{authentication:t,portal:e})]);return{title:s.title,description:a.assistant?.description,extent:s.extent,hub:H(s.url),location:a.assistant?.location??"",defaultSuggestions:a.assistant?.examplePrompts??[],modified:s.modified}}catch(s){throw console.error("Error fetching configuration:",s),s}}function A(i,t){return t?.map?.layers.find(e=>e.portalItem?.id===i)}var f=class extends v{constructor(){super(...arguments),this.disconnectContext=()=>{},this._messages=M({blocking:!0}),this._mapView=null,this._featureTable=g(),this._mapElRef=g(),this.handleArcGISLocationClick=t=>{let e=t.detail;e.longitude&&e.latitude&&e.zoom&&(this.mapVisible=!0,this._mapView?.goTo({center:[e.longitude,e.latitude],zoom:e.zoom}))},this.handleFinderResponse=async(t,e)=>{let s=await q({message:t,conversationId:e,context:{kind:"FinderRequest",item:this.itemId??void 0,modified:this.itemModifiedDate},token:R(this._context,"session.token",""),apiUrl:this._context.assistantApiUrl});if(s.length===0)throw new Error("Finder response is empty or invalid");return s},this.handleUpdateMapVisibility=t=>{this.mapVisible=t.detail},this._mapReady=t=>{let{view:e,viewElement:s}=t.detail;this._mapView=e,this._mapRef=s},this.handleArcGISDataClick=async t=>{let e=t.detail.data.id;if(this.mapVisible=!0,this.mapShowTable=!0,!A(e,this._mapView))try{await this._mapElRef.value?.addLayer(e);let s=A(e,this._mapView);s&&(this.mapLayers.push(e),this._featureTable.value&&(this._featureTable.value.layer=s,this._layers=[...this._layers,s],this._featureTable.value.layers=this._layers))}catch(s){console.error("could not add layer:",s)}},this._context=V(this),this.mapEnabled=!0,this.mapVisible=!1,this.itemId=null,this.botTitle=void 0,this.extent=[[-77.119,38.791],[-76.909,38.995]],this.mapLayers=[],this._layers=[],this.mapShowTable=!0,this.location="USA",this.hub="https://hub.arcgis.com",this.botDescription=void 0,this.defaultSuggestions=[],this.itemModifiedDate=0}static{this.properties={_mapRef:16,_context:16,mapEnabled:5,mapVisible:5,itemId:1,botTitle:1,extent:0,mapLayers:0,_layers:0,mapShowTable:5,location:1,hub:1,botDescription:1,defaultSuggestions:0,itemModifiedDate:9}}static{this.shadowRootOptions=S}static{this.styles=G}get _botTitle(){return this.botTitle||this._messages.defaultBotTitle}get _botDescription(){return this.botDescription||this._messages.defaultBotDescription}async load(){if(this.itemId){let t=await j(this.itemId,this._context.session,`${this._context.portalUrl}/sharing/rest`);this.botTitle=t.title,this.botDescription=t.description??"",this.hub=t.hub,this.location=t.location,this.extent=t.extent,this.defaultSuggestions=t.defaultSuggestions,this.itemModifiedDate=t.modified}}render(){return u`<arcgis-chat-shell .aboutContent=${this._botDescription} .mapEnabled=${this.mapEnabled} .mapVisible=${this.mapEnabled&&this.mapVisible} @arcgisUpdateMapVisibility=${this.handleUpdateMapVisibility}><arcgis-chat-ui .ariaLabel=${this._messages.aria.chat} .botDescription=${this._botDescription} .botTitle=${this._botTitle} .defaultSuggestions=${this.defaultSuggestions} slot=leftPanel .getFinderResponse=${this.handleFinderResponse} @arcgisAddDataClick=${this.handleArcGISDataClick} @arcgisLocationClick=${this.handleArcGISLocationClick} .domain=${this.hub}></arcgis-chat-ui><arcgis-hub-map-view .ariaLabel=${this._messages.aria.map} slot=map .location=${`${N(this.extent)},${z(this.extent)}`} mouse-wheel=zoom legend search layer-list hide-error @arcgisHubMapViewReady=${this._mapReady} ${b(this._mapElRef)}></arcgis-hub-map-view>${this.mapShowTable&&u`<arcgis-feature-table .ariaLabel=${this._messages.aria.featureTable} .referenceElement=${this._mapRef} slot=featureTable show-layer-dropdown ${b(this._featureTable)}></arcgis-feature-table>`||""}</arcgis-chat-shell>`}};D("arcgis-hub-ai-assistant",f);return f},a,c,d,e,f)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- function t(e){if(typeof e=="string"){let r=e.trim().toLowerCase().replace(/['"]/g,"").replace(/[^a-z0-9-]+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"");return r===""||r==="-"?"":r}else return e}export{t as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import a from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as o,c as h,e as u,h as g,i as y}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:m}])=>{var C=":host{display:block}arcgis-hub-permissions{border-width:1px;border-top-width:0px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-color-border-3)}arcgis-hub-permissions:last-of-type{border-width:0px}",P=C,A=class{constructor(i){y(this,i),this.arcgisConfigurationEditorFieldInputChange=u(this,"arcgisConfigurationEditorFieldInputChange",7),this.handleAddClick=()=>{this.galleryPickerOpen=!0},this.handleRemoveClick=e=>{let{dataset:r}=e.target,n=this.params.value.filter(({entityId:s})=>r.entityId!==s);this.arcgisConfigurationEditorFieldInputChange.emit(n)},this.handleHubGalleryPickerClose=()=>{this.galleryPickerOpen=!1},this.handleHubGalleryPickerSelectionUpdate=e=>{var r;e.stopPropagation();let{entityType:n,defaultValues:s}=this.addActionConfig.options,t=(r=e.detail[n])!==null&&r!==void 0?r:[],c=this.params.value.filter(({entityId:a})=>t.includes(a)),l=t.reduce((a,d)=>{if(a.find(p=>p.entityId===d))return a;{let p={key:d,entityId:d,entityType:n,roles:Object.entries(s).reduce((b,[k,f])=>Object.assign(Object.assign({},b),{[k]:{value:f}}),{})};return[...a,p]}},c);this.arcgisConfigurationEditorFieldInputChange.emit(l)},this.handleArcgisHubPermissionsChange=e=>{e.stopPropagation();let r=e.target,s=this.params.value.map(t=>t.key===r.dataset.key?Object.assign(Object.assign({},t),{roles:r.roles.reduce((l,a)=>Object.assign(Object.assign({},l),{[a.roleType]:Object.assign(Object.assign({},t.roles[a.roleType]),{value:a.selectedPermission})}),{})}):t);this.arcgisConfigurationEditorFieldInputChange.emit(s)},this.handleHubPermissionAction=e=>{e.detail.action==="remove"&&this.handleRemoveClick(e)},this.params=void 0,this.galleryPickerOpen=!1}get _context(){return m()}get configurations(){return this.params.value.reduce((i,e)=>{let r=this.params.uiSchema.options.roles,n={key:e.key,entityId:e.entityId,entityType:e.entityType,actionLinks:(this.params.uiSchema.options.actions||[]).reduce((s,t)=>t.type==="add"?s:[...s,{action:t.type,ariaLabel:t.ariaLabel,label:t.label,buttonStyle:t.buttonStyle,buttonKind:t.buttonKind,icon:t.icon,disabled:this.params.disabled}],[]),roles:r.map(s=>{let t=this.params.schema.items.properties.roles.properties[s.roleType].properties.value,c=e.roles[s.roleType];return{roleType:s.roleType,description:s.description,label:s.label,disabled:this.params.disabled||s.disabled,selectedPermission:c.value,permissions:s.permissionLabels.reduce((l,a,d)=>[...l,{label:a,value:t.enum[d]}],[])}})};return[...i,n]},[])}get addActionConfig(){var i,e;return(e=(i=this.params.uiSchema.options.actions)===null||i===void 0?void 0:i.find(({type:r})=>r==="add"))!==null&&e!==void 0?e:null}get galleryPickerGallerySelection(){return{[this.addActionConfig.options.entityType]:this.configurations.map(i=>i.entityId)}}render(){return o(h,{key:"633618232a9b24e558d97dda7c7a65ae7eea202a"},this.configurations.map(i=>o("arcgis-hub-permissions",{actionLinks:i.actionLinks,"data-entity-id":i.entityId,"data-key":i.key,entityId:i.entityId,entityType:i.entityType,key:i.key,onArcgisHubPermissionsAction:this.handleHubPermissionAction,onArcgisHubPermissionsChange:this.handleArcgisHubPermissionsChange,roles:i.roles,scale:this.params.scale})),this.addActionConfig&&o(g,null,o("calcite-button",{appearance:"outline",disabled:this.params.disabled,onClick:this.handleAddClick,round:!0,scale:this.params.scale,type:"button"},this.addActionConfig.label),o("arcgis-wormhole",null,o("arcgis-hub-gallery-picker",{catalogs:this.addActionConfig.options.catalogs,facets:this.addActionConfig.options.facets,gallerySelection:this.galleryPickerGallerySelection,linkTarget:"siteRelative",modalTitle:this.addActionConfig.label,onArcgisHubGalleryPickerClose:this.handleHubGalleryPickerClose,onArcgisHubGalleryPickerSelectionUpdate:this.handleHubGalleryPickerSelectionUpdate,open:this.galleryPickerOpen,showSearch:!0,showThumbnail:!0}))))}};A.style=P;return A},a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a}from"./7GTUV67W.js";var f=(s,i,t,p)=>{let{i18nScope:o}=a(s,"options.enum")||{},{fallback:n,path:l}=p||{},r=n;if(t&&o){let e=`${o}.${i}`;l&&(e=`${e}.${l}`),r=t(e,void 0,{fallback:n})}return r};export{f as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as n}from"./YBDFIKTN.js";import"./QA5B2Y37.js";import{f as g}from"./TH5ZUUV3.js";import"./HUVYHMSC.js";import"./FY3KPATI.js";import"./MWFTBYF7.js";import"./DH2QF3YA.js";import"./UOAJQR2X.js";import"./AZKQPOHN.js";import"./CCX2K4AC.js";import"./NW2YTW26.js";import"./HM2SQ34E.js";import"./D4XKOLDN.js";import"./ETC47ZTE.js";import"./QK2OPJGK.js";import"./BFNODBIF.js";import"./SGM4YRBH.js";import"./XN55PVRJ.js";import"./5FBDGDSL.js";import"./GZOH7TH2.js";import"./6VE4Q3FO.js";import"./F4PVRAMX.js";import"./FZCPWCBD.js";import"./BPSQ3CGL.js";import"./SCTDVE2P.js";import"./VPJ4NGJ5.js";import"./JZB5X2MB.js";import"./CHXKFI5R.js";import"./4PQFUUUG.js";import"./FM3HYPTZ.js";import"./XKUKAFLE.js";import"./DLGNRZAS.js";import"./AJKLRRS4.js";import"./OQNAOTWQ.js";import"./2GWRW6YG.js";import"./WPADWRCH.js";import"./5LJT6UGG.js";import"./UJZ32HDH.js";import"./2DPSKE3B.js";import"./WL6CGZLR.js";import"./K4VVZ2OR.js";import"./THLIDOGM.js";import"./FZNKGW4A.js";import"./LK454DSU.js";import"./AYFB34A7.js";import"./53V23CCM.js";import"./SNSHV52T.js";import"./HITR5JF7.js";import"./E2RL5I2B.js";import"./4ZRQCNU2.js";import"./YLRR2XFD.js";import"./LEVMADAS.js";import"./U7SPPU37.js";import"./JSOZV4HA.js";import{x as l}from"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./ZUFDLSS7.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import"./MS3RNOP5.js";import"./LVCMKKG7.js";import"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./3WN3ZWUP.js";import"./AM4QVJ44.js";import"./GVF26EON.js";import"./K672BF4Z.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import{a as s}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import b from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import{a}from"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as o,c as h,d,e as r,i as c}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:m}])=>{var f=":host{display:block}",C=f,b=class{constructor(t){c(this,t),this.hubTelemetry=r(this,"hubTelemetry",7),this.arcgisHubPageMigrationWorkflowComplete=r(this,"arcgisHubPageMigrationWorkflowComplete",7),this.arcgisHubPageMigrationWorkflowClose=r(this,"arcgisHubPageMigrationWorkflowClose",7),this.handleButtonClick=()=>{this.hubTelemetry.emit(a.dictionary.category.interaction.action.open.label.modal.details.migratePage),this.shouldShowModal=!0},this.handleModalClose=()=>{this.shouldShowModal=!1,this.arcgisHubPageMigrationWorkflowClose.emit(),this.hubTelemetry.emit(a.dictionary.category.interaction.action.close.label.modal.details.migratePage)},this.handleClose=()=>{this.shouldShowModal=!1,this.arcgisHubPageMigrationWorkflowClose.emit()},this.handlePageMigrationWorkflowComplete=i=>{i.stopPropagation(),this.arcgisHubPageMigrationWorkflowComplete.emit(i.detail)},this.pageId=void 0,this.site=void 0,this.shouldShowModal=!1,this.catalogIsConfigured=!1,this.canShareToCatalog=void 0}get _context(){return m()}async componentWillLoad(){this.intl=await s.loadIntlForComponent(this.element),this.onSiteChanged()}get pageType(){var t;let i="Hub Page";return!((t=this._context)===null||t===void 0)&&t.isPortal&&(i="Site Page"),i}async onSiteChanged(){var t;let i=m();if(i&&this.site){let e=await g.fetch(this.site.id,i);this._site=e.toJson();let u=l("group",e.catalog.scopes.item);if(this.catalogIsConfigured=!!u.length,this.catalogIsConfigured){let p=n(i,e.catalog.scopes.item);this.canShareToCatalog=p.state==="enabled"&&((t=p.existing)===null||t===void 0?void 0:t.types.includes(this.pageType))}}}_renderButton(){if(this.canShareToCatalog)return o("calcite-button",{appearance:"transparent",onClick:this.handleButtonClick,scale:"s"},this.intl.t("buttonText"))}renderDialog(){if(this.canShareToCatalog)return o("arcgis-wormhole",{elAttributes:{unthemed:"true"},styles:{"--calcite-dialog-background-color":"#fff"}},o("calcite-dialog",{"escape-disabled":!0,heading:this.intl.t("modalHeading"),headingLevel:3,modal:!0,onCalciteDialogClose:this.handleModalClose,open:this.shouldShowModal,"outside-close-disabled":!0,scale:"l",widthScale:"l"},this.shouldShowModal&&o("arcgis-hub-page-migration-workflow",{onArcgisHubPageMigrationWorkflowClose:this.handleClose,onArcgisHubPageMigrationWorkflowComplete:this.handlePageMigrationWorkflowComplete,pageId:this.pageId,site:this._site})))}render(){return o(h,{key:"3f608e08fa889622fda9bd1cec5e289bf1dbd33b","data-element":"hub-page-migration"},this._renderButton(),this.renderDialog())}static get assetsDirs(){return["locales"]}get element(){return d(this)}static get watchers(){return{site:["onSiteChanged"]}}};b.style=C;return b},b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- function a(t){return t.tag==="arcgis-layout-section"}function r(t){return t.tag==="arcgis-layout-row"}function o(t){return t.tag==="arcgis-layout-column"}function u(t){let n=!1;return t&&typeof t=="object"&&"$ref"in t&&(n=!0),n}export{a,r as b,o as c,u as d};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as g}from"./J4D2HORK.js";import{a as b}from"./RLTWZY2Y.js";import"./5LEP3IWV.js";import{n as c}from"./TARH5FST.js";import"./HH5PXKUQ.js";import"./42NTJTRV.js";import"./KI2RNLIW.js";import"./4ZRQCNU2.js";import"./U7SPPU37.js";import"./JSOZV4HA.js";import{F as u,t as d,u as h,v as p,w as m}from"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import"./LVCMKKG7.js";import"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as r}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import{a as l}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import{a as s}from"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as n,c as f,d as y,e as C,i as v}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:k}])=>{var x=":host{display:block}calcite-dialog{z-index:1030}section{display:grid;gap:1rem}calcite-notice{display:none}calcite-notice[active]{display:block}calcite-stepper-item calcite-notice{margin-top:1rem}address{display:flex;gap:1rem}address div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0.125rem}address b{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);font-style:normal;color:var(--calcite-color-text-1)}address span{font-size:var(--calcite-font-size--1);line-height:1rem;font-style:normal;color:var(--calcite-color-text-2)}div{display:flex;align-items:center;justify-content:space-between}",D=x,T=class{get _context(){return k()}get isMember(){return!!this.channel&&b(this.channel,this._context.currentUser)}constructor(i){v(this,i),this.hubTelemetry=C(this,"hubTelemetry",7),this.channelId=void 0,this.open=void 0,this.channel=void 0,this.saving=!1,this.postTotal=void 0,this.activeStepIndex=void 0,this.notifications=void 0,this.activity=!0,this.notices=[],r(this,"handleStepperItemSelected","handleCancelButtonClicked","handleSaveButtonClicked","handleDialogClosed","handleTileSelect","handleNoticeClosed")}async componentWillLoad(){let[i,t]=await Promise.all([d(Object.assign({channelId:this.channelId},this._context.hubRequestOptions)).catch(()=>null),g({channelId:this.channelId},this._context.hubRequestOptions),this.loadIntl()]);this.notifications=!i,this.channel=t.channel,this.postTotal=await this.fetchTotalPosts(),this.activeStepIndex=this.isMember?0:1}async loadIntl(){this.intl=await l.loadIntlForComponent(this.element)}get stepItems(){let{isMember:i,intl:t,notifications:e,activity:a}=this;return[{name:"notifications",description:i?"":t.t("notificationsDisabled"),disabled:!i,heading:t.t("notifications"),options:[{checked:e,description:t.t("receiveDesc"),heading:t.t("receive"),icon:"email-address",value:!0},{checked:!e,description:t.t("stopDesc"),heading:t.t("stop"),icon:"circle-disallowed",value:!1}],notice:{title:t.t("stopNotice"),message:t.t("stopNoticeMessage"),link:t.t("noticeLink"),url:"https://doc.arcgis.com/en/hub/team/how-discussions-work.htm"}},{name:"activity",disabled:!1,heading:t.t("activity"),options:[{checked:a,description:t.t("keepDesc"),heading:t.t("keep"),icon:"speech-bubble-check",value:!0},{checked:!a,description:t.t("deleteDesc"),heading:t.t("delete"),icon:"trash",value:!1}],notice:{kind:"danger",title:t.t("deleteNotice"),message:t.t("deleteNoticeMessage"),link:t.t("noticeLink"),url:"https://doc.arcgis.com/en/hub/team/how-discussions-work.htm"}}]}async fetchTotalPosts(){let{channelId:i,_context:{hubRequestOptions:t,currentUser:e}}=this,{total:a}=await u(Object.assign({data:{start:1,num:1,channels:[i],creator:e.username}},t));return a}handleStepperItemSelected(i){let t=i.currentTarget,{activeStepIndex:e,stepItems:a}=this,o=a[e];if(!t.disabled&&t.dataset.name!==o.name){let O=t.dataset.name==="notifications"?"emailNotifications":"postActivity";this.hubTelemetry.emit(s.dictionary.category.interaction.action.open.label.stepper.details[O]),this.activeStepIndex=a.findIndex(({name:S})=>S===t.dataset.name)}}handleCancelButtonClicked(){this.open=!1}async removeChannelActivity(){let{channelId:i,intl:t,_context:e}=this;try{await m(Object.assign({channelId:i},e.hubRequestOptions)),this.hubTelemetry.emit(Object.assign(Object.assign({},s.dictionary.category.content.action.delete.details.allPosts),{response:s.constants.response.SUCCESS})),this.postTotal=await this.fetchTotalPosts()}catch{this.hubTelemetry.emit(Object.assign(Object.assign({},s.dictionary.category.content.action.delete.details.allPosts),{response:s.constants.response.FAILURE})),this.notices=[...this.notices,{kind:"danger",title:t.t("deleteError"),message:t.t("deleteErrorMessage")}]}}async createChannelNotificationOptOut(){let{channelId:i,intl:t,_context:e}=this;try{await h(Object.assign({channelId:i},e.hubRequestOptions)),this.hubTelemetry.emit(Object.assign(Object.assign({},s.dictionary.category.users.action.update.label.notifications.details.disabled),{response:s.constants.response.SUCCESS}))}catch{this.hubTelemetry.emit(Object.assign(Object.assign({},s.dictionary.category.users.action.update.label.notifications.details.disabled),{response:s.constants.response.FAILURE})),this.notices=[...this.notices,{kind:"danger",title:t.t("stopError"),message:t.t("stopErrorMessage")}]}}async removeChannelNotificationOptOut(){let{channelId:i,intl:t,_context:e}=this;try{await p(Object.assign({channelId:i},e.hubRequestOptions)),this.hubTelemetry.emit(Object.assign(Object.assign({},s.dictionary.category.users.action.update.label.notifications.details.enabled),{response:s.constants.response.SUCCESS}))}catch{this.hubTelemetry.emit(Object.assign(Object.assign({},s.dictionary.category.users.action.update.label.notifications.details.enabled),{response:s.constants.response.FAILURE})),this.notices=[...this.notices,{kind:"danger",title:t.t("receiveError"),message:t.t("receiveErrorMessage")}]}}handleSaveButtonClicked(){this.saving=!0,this.notices=[];let i=[];this.activity||i.push(this.removeChannelActivity()),i.push(this.notifications?this.removeChannelNotificationOptOut():this.createChannelNotificationOptOut()),Promise.all(i).then(()=>{this.saving=!1,this.notices.length||(this.notices=[{title:this.intl.t("updated"),message:this.intl.t("updatedMessage")}])})}handleDialogClosed(){this.hubTelemetry.emit(s.dictionary.category.interaction.action.close.label.modal.details.managePreferences)}handleTileSelect(i){let t=i.target;this[t.dataset.name]=t.dataset.value==="true"}handleNoticeClosed(){this.notices=[]}renderMetadata(){let{channel:i,postTotal:t,intl:e}=this;return n("address",null,n("calcite-avatar",{fullName:c(i,e.t("unnamedChannel")),scale:"l"}),n("div",null,n("b",null,c(i,e.t("unnamedChannel"))),n("span",null,t===1?e.t("totalPostsSingular"):e.t("totalPostsPlural",{count:t}))))}renderChannelDetails(){return n("calcite-card",null,n("div",null,this.renderMetadata()))}renderContent(){let{activeStepIndex:i,isMember:t}=this;return n("section",null,t&&this.renderChannelDetails(),n("calcite-stepper",{layout:"vertical"},this.stepItems.map((e,a)=>n("calcite-stepper-item",{"data-name":e.name,description:e.description,disabled:e.disabled,heading:e.heading,key:e.heading,onClick:this.handleStepperItemSelected,selected:a===i},n("calcite-tile-group",{selectionMode:"single"},e.options.map(o=>n("calcite-tile",{"data-name":e.name,"data-value":o.value.toString(),description:o.description,heading:o.heading,icon:o.icon,key:o.icon,onCalciteTileSelect:this.handleTileSelect,selected:o.checked}))),e.options[1].checked&&n("calcite-notice",{kind:e.notice.kind,open:!0,width:"full"},n("p",{slot:"title"},e.notice.title),n("p",{slot:"message"},e.notice.message),n("calcite-link",{href:e.notice.url,slot:"link"},e.notice.link))))),this.renderNotice())}renderNotice(){let{notices:i,intl:t}=this,e=i.length>1?{kind:"danger",title:t.t("multipleError"),message:t.t("multipleErrorMessage")}:i[0];if(e)return n("calcite-notice",{closable:!0,kind:e.kind,onCalciteNoticeClose:this.handleNoticeClosed,open:!0,width:"full"},n("p",{slot:"title"},e.title),n("p",{slot:"message"},e.message))}renderDialog(){let{intl:i,saving:t,open:e}=this;return n("calcite-dialog",{closeDisabled:t,escapeDisabled:t,heading:i.t("header"),loading:t,modal:!0,onCalciteDialogClose:this.handleDialogClosed,open:e,outsideCloseDisabled:!0,placement:"center",scale:"l"},this.renderContent(),n("calcite-button",{appearance:"outline",disabled:t,onClick:this.handleCancelButtonClicked,round:!0,scale:"l",slot:"footer-end"},i.t("cancel")),n("calcite-button",{disabled:t,loading:t,onClick:this.handleSaveButtonClicked,round:!0,scale:"l",slot:"footer-end"},i.t("save")))}render(){return n(f,{key:"0973dc52be7eb9abac08a47304f2bbbfa0361e94","data-element":"discussions-channel-settings-editor"},this.renderDialog())}static get assetsDirs(){return["locales"]}get element(){return y(this)}};T.style=D;return T},a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- function a(r,t={}){return(...e)=>r(...e).catch(n=>t)}export{a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- function s(r,e){return r===e?!0:!Array.isArray(r)||!Array.isArray(e)||r.length!==e.length?!1:r.every((t,i)=>r[i]===e[i])}function a(r,e,t){var i;let n=Array.isArray(e)?e.includes(r.value):e===r.value;return t==="ancestors"&&(n=n||!!(!((i=r.children)===null||i===void 0)&&i.length)&&r.children.some(l=>a(l,e,t))),n}export{s as a,a as b};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as t}from"./DELUZ744.js";import"./CH532URJ.js";import"./7GTUV67W.js";import{b as a,c as e,i as o}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var h=".sc-hub-section-basic-h{display:block}.sc-hub-section-basic-h:not(.configuration-editor__last-child){margin-bottom:2rem}.section-basic--s.sc-hub-section-basic .section-basic__header.sc-hub-section-basic .sc-hub-section-basic:is(h1,h2.sc-hub-section-basic,h3.sc-hub-section-basic,h4.sc-hub-section-basic,h5.sc-hub-section-basic,h6).sc-hub-section-basic{font-size:var(--calcite-font-size--1);margin-top:0px;margin-bottom:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.section-basic--m.sc-hub-section-basic .section-basic__header.sc-hub-section-basic .sc-hub-section-basic:is(h1,h2.sc-hub-section-basic,h3.sc-hub-section-basic,h4.sc-hub-section-basic,h5.sc-hub-section-basic,h6).sc-hub-section-basic{font-size:var(--calcite-font-size-0);margin-top:0px;margin-bottom:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.section-basic--l.sc-hub-section-basic .section-basic__header.sc-hub-section-basic .sc-hub-section-basic:is(h1,h2.sc-hub-section-basic,h3.sc-hub-section-basic,h4.sc-hub-section-basic,h5.sc-hub-section-basic,h6).sc-hub-section-basic{font-size:var(--calcite-font-size-1);margin-top:0px;margin-bottom:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.helper-text.sc-hub-section-basic{margin-top:-1.25rem;margin-bottom:1.5rem}.variant-workspace.sc-hub-section-basic{border-radius:0.25rem;padding:1.25rem;--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);background:white}@media screen and (max-width: 816px){.variant-workspace.sc-hub-section-basic .variant-workspace.sc-hub-section-basic{padding:0px}.variant-workspace.sc-hub-section-basic .variant-workspace.sc-hub-section-basic{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}}.variant-layout-editor.sc-hub-section-basic .section-basic__header.sc-hub-section-basic h5.sc-hub-section-basic,.variant-layout-editor.sc-hub-section-basic .section-basic__header.sc-hub-section-basic h6.sc-hub-section-basic{font-weight:var(--calcite-font-weight-bold)}.variant-layout-editor.sc-hub-section-basic-s>.section__content>.section__fields,.variant-layout-editor .sc-hub-section-basic-s>.section__content>.section__fields{font-weight:var(--calcite-font-weight-bold)}",b=h,d=class{constructor(s){o(this,s),this.params=void 0}get scale(){var s;return((s=this.params.uiSchema.options)===null||s===void 0?void 0:s.scale)||this.params.scale}render(){var s,c;let n=((s=this.params.uiSchema.options)===null||s===void 0?void 0:s.headerTag)||"h2",i=((c=this.params.uiSchema.options)===null||c===void 0?void 0:c.helperText)||{},r=!!(i.label||i.labelKey);return a(e,{key:"ccabd68e10645970b1dacca2b66304417f2cf1a8"},a("section",{key:"7f8472a262cdd6d7a3cf66d281659d1263d2e358",class:{[this.params.variant]:!!this.params.variant,[`section-basic--${this.scale}`]:!0},"data-label":this.params.label},this.params.label&&a("header",{class:"section-basic__header"},a(n,null,this.params.label)),r&&t(this.params.uiSchema,this.params.t),a("slot",{key:"fd6e6fd63002847caace02335571e7edaf595d46"})))}};d.style=b;export{d as hub_section_basic};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- var a=n=>{var l;return((l=n.links)===null||l===void 0?void 0:l.thumbnail)||n.thumbnailUrl};export{a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{h as n}from"./FZ7ZK37I.js";async function i(e,c){if(["Event","Hub Site Application","Site Application","Group","Hub Initiative"].includes(e.type))return!1;let t=`${c.portal}/content/users/${e.owner}/items/${e.id}/canRecycle`;return!!(await n(t,c)).success}export{i as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as u}from"./F4PVRAMX.js";import{d}from"./FZCPWCBD.js";import{a as h}from"./WBUC7HJI.js";import{b as t}from"./RGKBSVQD.js";import{h as i}from"./FZ7ZK37I.js";function b(r){return u(r).then(async o=>{if(!o)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,n=await r.authentication.getUsername();return Promise.all([d(r),h({username:n,authentication:r.authentication})]).then(([a,m])=>{let c=(e||n)===n,g=m.role==="org_admin"&&!m.roleId;if(!c&&!g&&["admin","owner"].indexOf(a)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${n} as they not the item owner, an org admin, group admin or group owner.`);return f(r)}).then(a=>{if(a.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return a})})}async function f(r){let o=await r.authentication.getUsername(),e=r.owner||o,n=`${t(r)}/content/items/${r.id}/unshare`;return e===o&&(n=`${t(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},i(n,r)}export{b as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as i}from"./II3OUQDN.js";import{a as c}from"./P7D42LBQ.js";var s=class extends i{constructor(a,t,r){t=t||"UNKNOWN_ERROR",r=c(r,"rootCause",r),super(a,t,r),this.name="HubError",this.stack=c(r,"stack",new Error().stack)}};export{s as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as r,b as n}from"./K4JVFZDS.js";import{b as N,c as b}from"./JXTLVDZ3.js";import{a as d,b as u,c as y,p as E}from"./MUJK2PAB.js";import"./6VA6IJMP.js";import{A as m,B as C,H as v,a as l,b as e,m as h,o as f,z as p}from"./YTAOXT7K.js";import"./BMRPHSYL.js";import"./IONZ3SDQ.js";function $({tagName:g,props:t}){let i=t.onInputChangeEvent||void 0,o={...t},a={[t.inputChangeEvent]:i},s;switch(g){case"arcgis-hub-gallery-card-editor":s=e`<arcgis-hub-gallery-card-editor .values=${t.values} ${r(o)} ${n(a)}></arcgis-hub-gallery-card-editor>`;break;case"arcgis-hub-embed-card-editor":s=e`<arcgis-hub-embed-card-editor ${r(o)} ${n(a)}></arcgis-hub-embed-card-editor>`;break;case"arcgis-hub-timeline-editor":s=e`<arcgis-hub-timeline-editor ${r(o)} ${n(a)}></arcgis-hub-timeline-editor>`;break;default:s=e`<div ${r(o)} ${n(a)}></div>`}return s}var _=l`@layer{arcgis-configuration-editor:focus{--focus-color: var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:solid 2px var(--focus-color)}}`,c=class extends C{constructor(){super(...arguments),this._configEditorRef=p(),this.#t=N({context:b}),this._values={},this.arcgisLayoutNodeChange=h()}static{this.properties={_values:16,node:0,layoutNodeConfig:0}}static{this.styles=_}static{this.shadowRootOptions=f}#t;get _messages(){return this.#t.value.messages}setFocus(){this._configEditorRef.value?.setFocus()}willUpdate(t){(t.has("layoutNodeConfig")||t.has("node"))&&this.init()}updated(t){(t.has("layoutNodeConfig")||t.has("node"))&&this.setFocus()}t(){return t=>d(this._messages,t)||t}init(){if(!this.node||!this.layoutNodeConfig)return;let t=d(this.layoutNodeConfig,"editor.valuesInCallback")||(i=>i);this._values=t(this.node.properties)}_handleConfigurationEditorChange(t){t.stopPropagation();let{values:i={},valid:o}=t.detail,a=E(this._values,i);this._values=a,this.arcgisLayoutNodeChange.emit({layoutNodeConfig:this.layoutNodeConfig,values:y(a),valid:o,id:this.node.id})}renderEditor(){let t=u(this.layoutNodeConfig||{},"editor.inputChangeEvent","arcgisHubGalleryCardEditorChange"),i=u(this.layoutNodeConfig||{},"editor.valuesProp","values");return this.layoutNodeConfig?.editor?.tag?$({tagName:this.layoutNodeConfig.editor.tag,props:{inputChangeEvent:t,onInputChangeEvent:this._handleConfigurationEditorChange,[i]:this._values,...this.layoutNodeConfig.editor.properties||{}}}):e`<arcgis-configuration-editor @keydown=${o=>o.stopPropagation()} @arcgisConfigurationEditorChange=${this._handleConfigurationEditorChange} @arcgisConfigurationEditorInitialized=${this._handleConfigurationEditorChange} .schema=${this.layoutNodeConfig?.editor?.schema||{type:"object",properties:{}}} .t=${this.t()} .uiSchema=${this.layoutNodeConfig?.editor?.uiSchema} .values=${this._values} ${m(this._configEditorRef)}></arcgis-configuration-editor>`}render(){return!this.node||!this.layoutNodeConfig?e`<arcgis-skeleton-loader active rows=3></arcgis-skeleton-loader>`:this.renderEditor()}};v("arcgis-layout-node-editor",c);export{c as ArcgisLayoutNodeEditor};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import a from"./BU6RNCBS.js";export default $arcgis.t(([{c:t,j:o}])=>{var n=t,a=o;return{a:n,b:a}},a)