@esri/hub-web-components 0.16.2 → 0.18.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 (1389) hide show
  1. package/dist/cdn/23IUESYL.js +4 -0
  2. package/dist/cdn/26QUYNSY.js +4 -0
  3. package/dist/cdn/27AKMXCZ.js +4 -0
  4. package/dist/cdn/27JHWYK6.js +4 -0
  5. package/dist/cdn/27VFOZNJ.js +4 -0
  6. package/dist/cdn/2ARFAQWR.js +4 -0
  7. package/dist/cdn/2ATRYXKE.js +4 -0
  8. package/dist/cdn/2C5CHKNT.js +4 -0
  9. package/dist/cdn/2EDOX5KD.js +4 -0
  10. package/dist/cdn/2GJRM4DJ.js +59 -0
  11. package/dist/cdn/2H7QFFBJ.js +12 -0
  12. package/dist/cdn/2HAF5HXF.js +4 -0
  13. package/dist/cdn/2IBJLFNP.js +4 -0
  14. package/dist/cdn/2N4JPLUE.js +4 -0
  15. package/dist/cdn/2OVC4FON.js +4 -0
  16. package/dist/cdn/2RBKQ43M.js +4 -0
  17. package/dist/cdn/2SFP4QGC.js +4 -0
  18. package/dist/cdn/2SQ3ZJGZ.js +4 -0
  19. package/dist/cdn/2T35IQA4.js +4 -0
  20. package/dist/cdn/2UJZ6EP7.js +4 -0
  21. package/dist/cdn/2WCNJHDQ.js +4 -0
  22. package/dist/cdn/2YEMMFLT.js +4 -0
  23. package/dist/cdn/2ZKRJ3NH.js +4 -0
  24. package/dist/cdn/334M3RG2.js +4 -0
  25. package/dist/cdn/33IVJBBH.js +4 -0
  26. package/dist/cdn/35XDDDY6.js +59 -0
  27. package/dist/cdn/37OQVB5D.js +4 -0
  28. package/dist/cdn/3AW7RD5M.js +4 -0
  29. package/dist/cdn/3BTS5HX5.js +4 -0
  30. package/dist/cdn/3CE4HE7L.js +4 -0
  31. package/dist/cdn/3CEIJLDC.js +4 -0
  32. package/dist/cdn/3DD5N7GX.js +4 -0
  33. package/dist/cdn/3FMEWMKW.js +4 -0
  34. package/dist/cdn/3FOKVO6C.js +4 -0
  35. package/dist/cdn/3FUP5MUD.js +4 -0
  36. package/dist/cdn/3GH7X76N.js +4 -0
  37. package/dist/cdn/3H3LJ5TT.js +4 -0
  38. package/dist/cdn/3HMLSJ3B.js +4 -0
  39. package/dist/cdn/3IIWQ5NC.js +4 -0
  40. package/dist/cdn/3JFHI7QS.js +4 -0
  41. package/dist/cdn/3MWVP7BR.js +4 -0
  42. package/dist/cdn/3P4UUURB.js +4 -0
  43. package/dist/cdn/3QSCTGDW.js +5 -0
  44. package/dist/cdn/3RJKFBHV.js +4 -0
  45. package/dist/cdn/3RRHVY5C.js +4 -0
  46. package/dist/cdn/3TXNZVP5.js +4 -0
  47. package/dist/cdn/3U7HWSCZ.js +4 -0
  48. package/dist/cdn/3VLZGGY3.js +4 -0
  49. package/dist/cdn/3WQZZTR2.js +4 -0
  50. package/dist/cdn/43L7P2AW.js +4 -0
  51. package/dist/cdn/47IFZNB3.js +4 -0
  52. package/dist/cdn/4A52E4TS.js +4 -0
  53. package/dist/cdn/4ATSK6CO.js +4 -0
  54. package/dist/cdn/4BKTEAMG.js +4 -0
  55. package/dist/cdn/4BLXJQGP.js +4 -0
  56. package/dist/cdn/4DSG5POJ.js +4 -0
  57. package/dist/cdn/4FMZ3XYA.js +4 -0
  58. package/dist/cdn/4GPRPVZE.js +9 -0
  59. package/dist/cdn/4IG3YDNZ.js +4 -0
  60. package/dist/cdn/4MQDGKZX.js +4 -0
  61. package/dist/cdn/4MRKY72Z.js +4 -0
  62. package/dist/cdn/4NTYTVKB.js +4 -0
  63. package/dist/cdn/4PSPASZ4.js +4 -0
  64. package/dist/cdn/4QG5TRVU.js +4 -0
  65. package/dist/cdn/4QJEELF3.js +4 -0
  66. package/dist/cdn/4RDSBHSY.js +4 -0
  67. package/dist/cdn/4STYIUDD.js +4 -0
  68. package/dist/cdn/4T6FJCCK.js +4 -0
  69. package/dist/cdn/4UKA54EG.js +4 -0
  70. package/dist/cdn/4V3WYBUM.js +4 -0
  71. package/dist/cdn/4V5NL34I.js +4 -0
  72. package/dist/cdn/4VYQCLB4.js +4 -0
  73. package/dist/cdn/4X6KGTMZ.js +4 -0
  74. package/dist/cdn/4Y6C4U5J.js +5470 -0
  75. package/dist/cdn/52HWY7VD.js +4 -0
  76. package/dist/cdn/5347RDHY.js +4 -0
  77. package/dist/cdn/53QCUPZO.js +4 -0
  78. package/dist/cdn/54FZUAVL.js +4 -0
  79. package/dist/cdn/54ID3MLJ.js +4 -0
  80. package/dist/cdn/55NITVPI.js +4 -0
  81. package/dist/cdn/566BG5MV.js +4 -0
  82. package/dist/cdn/5BZA4U23.js +4 -0
  83. package/dist/cdn/5DIJEZBB.js +4 -0
  84. package/dist/cdn/5DLWPPFT.js +4 -0
  85. package/dist/cdn/5E4MJBCH.js +4 -0
  86. package/dist/cdn/5EEMTUKK.js +4 -0
  87. package/dist/cdn/5F6BCIX4.js +4 -0
  88. package/dist/cdn/5ICSJRI6.js +4 -0
  89. package/dist/cdn/5L6ZPDOL.js +4 -0
  90. package/dist/cdn/5OKZS37P.js +4 -0
  91. package/dist/cdn/5PPYIUNE.js +4 -0
  92. package/dist/cdn/5QJTGDEG.js +4 -0
  93. package/dist/cdn/5QVTPPCZ.js +4 -0
  94. package/dist/cdn/5QZ6W2VK.js +4 -0
  95. package/dist/cdn/5S2SDED2.js +11 -0
  96. package/dist/cdn/5SPUCKWA.js +4 -0
  97. package/dist/cdn/5UIIG7RN.js +4 -0
  98. package/dist/cdn/5WH43MAE.js +4 -0
  99. package/dist/cdn/5XBJ6ROO.js +4 -0
  100. package/dist/cdn/5XDXSPJO.js +4 -0
  101. package/dist/cdn/5Z2SPSM6.js +4 -0
  102. package/dist/cdn/653QMSEO.js +4 -0
  103. package/dist/cdn/674MO6TQ.js +4 -0
  104. package/dist/cdn/6FACPXAD.js +4 -0
  105. package/dist/cdn/6FDSQNXP.js +4 -0
  106. package/dist/cdn/6HRR64YN.js +4 -0
  107. package/dist/cdn/6JZ66MZD.js +4 -0
  108. package/dist/cdn/6KWTNHNL.js +4 -0
  109. package/dist/cdn/6NPJ2OEA.js +4 -0
  110. package/dist/cdn/6ODSJ5FJ.js +4 -0
  111. package/dist/cdn/6TKEIOT7.js +4 -0
  112. package/dist/cdn/6TWKJJKN.js +4 -0
  113. package/dist/cdn/6UN55QVB.js +4 -0
  114. package/dist/cdn/6UZO6LAT.js +4 -0
  115. package/dist/cdn/6YXVR6EW.js +4 -0
  116. package/dist/cdn/73GXH2JX.js +4 -0
  117. package/dist/cdn/74BTDLF3.js +4 -0
  118. package/dist/cdn/76XK22NS.js +4 -0
  119. package/dist/cdn/772RJXJX.js +4 -0
  120. package/dist/cdn/7DBWNIJY.js +4 -0
  121. package/dist/cdn/7DHTCAIR.js +4 -0
  122. package/dist/cdn/7DSA65JJ.js +4 -0
  123. package/dist/cdn/7EENZZER.js +6 -0
  124. package/dist/cdn/7G6GRXSZ.js +4 -0
  125. package/dist/cdn/7GBWB64S.js +4 -0
  126. package/dist/cdn/7H5LBYTV.js +4 -0
  127. package/dist/cdn/7I63M5PQ.js +4 -0
  128. package/dist/cdn/7ICENQAA.js +4 -0
  129. package/dist/cdn/7JY6OXBS.js +4 -0
  130. package/dist/cdn/7OCTJ2LK.js +4 -0
  131. package/dist/cdn/7P7RYI4U.js +4 -0
  132. package/dist/cdn/7SHDNHVQ.js +4 -0
  133. package/dist/cdn/7U5EPFXT.js +4 -0
  134. package/dist/cdn/7VZ6GJBD.js +5 -0
  135. package/dist/cdn/7W2PSB64.js +4 -0
  136. package/dist/cdn/7XYRLQ6B.js +4 -0
  137. package/dist/cdn/7YROX3JO.js +4 -0
  138. package/dist/cdn/7ZLZBKDH.js +4 -0
  139. package/dist/cdn/A2RYBWKV.js +4 -0
  140. package/dist/cdn/A3XRC3FE.js +4 -0
  141. package/dist/cdn/A5V2LCUH.js +4 -0
  142. package/dist/cdn/A6U7YT4B.js +4 -0
  143. package/dist/cdn/A752ZRW7.js +4 -0
  144. package/dist/cdn/AB6IG565.js +4 -0
  145. package/dist/cdn/ACS4GCTS.js +4 -0
  146. package/dist/cdn/AD3T2H27.js +4 -0
  147. package/dist/cdn/ADGBSEQ2.js +4 -0
  148. package/dist/cdn/AF3VCAJC.js +4 -0
  149. package/dist/cdn/AFD2GQ53.js +4 -0
  150. package/dist/cdn/AHTKOABA.js +4 -0
  151. package/dist/cdn/AL3PFNVW.js +4 -0
  152. package/dist/cdn/ANJWTLZ7.js +4 -0
  153. package/dist/cdn/AOQCICVK.js +4 -0
  154. package/dist/cdn/APRUA56W.js +4 -0
  155. package/dist/cdn/APU2JU7Z.js +4 -0
  156. package/dist/cdn/APW42QYR.js +4 -0
  157. package/dist/cdn/AREDGACM.js +4 -0
  158. package/dist/cdn/ASPGJ5DH.js +4 -0
  159. package/dist/cdn/AVGAV3F6.js +4 -0
  160. package/dist/cdn/AXRR7BVA.js +24 -0
  161. package/dist/cdn/AY7CA26P.js +4 -0
  162. package/dist/cdn/AYAYIXO4.js +4 -0
  163. package/dist/cdn/AYGQSQ2H.js +4 -0
  164. package/dist/cdn/B3X2X63C.js +4 -0
  165. package/dist/cdn/B4FWGB27.js +4 -0
  166. package/dist/cdn/B6LQLUBV.js +4 -0
  167. package/dist/cdn/BCRM3M2T.js +4 -0
  168. package/dist/cdn/BCTPYVBB.js +4 -0
  169. package/dist/cdn/BDHA23ZF.js +4 -0
  170. package/dist/cdn/BE2PBXGX.js +4 -0
  171. package/dist/cdn/BFMSIGH7.js +4 -0
  172. package/dist/cdn/BGA5TRFK.js +4 -0
  173. package/dist/cdn/BKM3NB3H.js +4 -0
  174. package/dist/cdn/BKTEWW66.js +4 -0
  175. package/dist/cdn/BLSX7IEM.js +4 -0
  176. package/dist/cdn/BQ3DEWBJ.js +4 -0
  177. package/dist/cdn/BRENRS2P.js +4 -0
  178. package/dist/cdn/BRJDYVRH.js +4 -0
  179. package/dist/cdn/BVOYBCDW.js +4 -0
  180. package/dist/cdn/C3FH4PAV.js +4 -0
  181. package/dist/cdn/C3NCECMA.js +4 -0
  182. package/dist/cdn/C5WCWCIN.js +4 -0
  183. package/dist/cdn/CAS4JTPJ.js +4 -0
  184. package/dist/cdn/CDKRNKGX.js +4 -0
  185. package/dist/cdn/CDVUXX5U.js +4 -0
  186. package/dist/cdn/CFDS566H.js +4 -0
  187. package/dist/cdn/CFLNMEPX.js +4 -0
  188. package/dist/cdn/CFYCHZX2.js +4 -0
  189. package/dist/cdn/CJJ6RX7Z.js +4 -0
  190. package/dist/cdn/CKOX2EA4.js +4 -0
  191. package/dist/cdn/CL2FTWHN.js +4 -0
  192. package/dist/cdn/CORVV5PK.js +4 -0
  193. package/dist/cdn/CP424Q6X.js +4 -0
  194. package/dist/cdn/CRS5T5WM.js +4 -0
  195. package/dist/cdn/CS62SCQC.js +4 -0
  196. package/dist/cdn/CTI4NHKW.js +4 -0
  197. package/dist/cdn/CW53QHVR.js +4 -0
  198. package/dist/cdn/CWZGLIIU.js +4 -0
  199. package/dist/cdn/CXAZBPXA.js +4 -0
  200. package/dist/cdn/CYXR752I.js +4 -0
  201. package/dist/cdn/D23YZOVC.js +4 -0
  202. package/dist/cdn/D24TEAHP.js +4 -0
  203. package/dist/cdn/D2BEVPXR.js +4 -0
  204. package/dist/cdn/D3P27KVX.js +4 -0
  205. package/dist/cdn/D6ICPJ5Q.js +4 -0
  206. package/dist/cdn/D7Q3QB2N.js +4 -0
  207. package/dist/cdn/D7Q4UD4Y.js +4 -0
  208. package/dist/cdn/DAOQSEML.js +4 -0
  209. package/dist/cdn/DC72QDPF.js +4 -0
  210. package/dist/cdn/DCJ4NP4L.js +4 -0
  211. package/dist/cdn/DCMLVXYI.js +4 -0
  212. package/dist/cdn/DDUVNHUO.js +4 -0
  213. package/dist/cdn/DGRTXT4W.js +4 -0
  214. package/dist/cdn/DMQJPBWK.js +4 -0
  215. package/dist/cdn/DSYJTVIZ.js +4 -0
  216. package/dist/cdn/DVNLPCTQ.js +4 -0
  217. package/dist/cdn/DWBXJOVZ.js +4 -0
  218. package/dist/cdn/DWJOGA7F.js +4 -0
  219. package/dist/cdn/DYP3ID5W.js +4 -0
  220. package/dist/cdn/DZLM6E47.js +4 -0
  221. package/dist/cdn/E2ROWBJM.js +4 -0
  222. package/dist/cdn/E4K5EEAG.js +4 -0
  223. package/dist/cdn/E5ROBUYV.js +4 -0
  224. package/dist/cdn/E6JVRQZ4.js +4 -0
  225. package/dist/cdn/EBCJXZCC.js +4 -0
  226. package/dist/cdn/EBZILTH2.js +4 -0
  227. package/dist/cdn/ECCKKJHN.js +4 -0
  228. package/dist/cdn/ED6NG3PJ.js +4 -0
  229. package/dist/cdn/EEZAIKGX.js +4 -0
  230. package/dist/cdn/EFC2DBKG.js +4 -0
  231. package/dist/cdn/EH5OXO3M.js +4 -0
  232. package/dist/cdn/EHREB3NF.js +4 -0
  233. package/dist/cdn/EIEEPW3K.js +4 -0
  234. package/dist/cdn/EJQJ7X2L.js +4 -0
  235. package/dist/cdn/EJTCEJNM.js +4 -0
  236. package/dist/cdn/EKBRM6ZQ.js +4 -0
  237. package/dist/cdn/ENRGL6DT.js +4 -0
  238. package/dist/cdn/EOZBS2KQ.js +4 -0
  239. package/dist/cdn/ER5JYQ7V.js +4 -0
  240. package/dist/cdn/ERJ6L2VF.js +4 -0
  241. package/dist/cdn/ESADAV6F.js +4 -0
  242. package/dist/cdn/ESKVCUAH.js +4 -0
  243. package/dist/cdn/ETD7HSWI.js +4 -0
  244. package/dist/cdn/ETF7EOJO.js +4 -0
  245. package/dist/cdn/ETVCNDBO.js +4 -0
  246. package/dist/cdn/ETVFBWCU.js +4 -0
  247. package/dist/cdn/EUJCUZSO.js +4 -0
  248. package/dist/cdn/EYOBJDT7.js +4 -0
  249. package/dist/cdn/F23UFELG.js +4 -0
  250. package/dist/cdn/FAP5ONKG.js +4 -0
  251. package/dist/cdn/FBLPPK7C.js +4 -0
  252. package/dist/cdn/FBQKUURP.js +4 -0
  253. package/dist/cdn/FCY5GJIB.js +4 -0
  254. package/dist/cdn/FD2B47CB.js +4 -0
  255. package/dist/cdn/FFFXQ4YG.js +4 -0
  256. package/dist/cdn/FFG2SOWE.js +4 -0
  257. package/dist/cdn/FHQ4JEST.js +4 -0
  258. package/dist/cdn/FIZC2IFS.js +8 -0
  259. package/dist/cdn/FLXDZJAE.js +4 -0
  260. package/dist/cdn/FPVSNQOL.js +4 -0
  261. package/dist/cdn/FQMLAJP4.js +4 -0
  262. package/dist/cdn/FUIZ7FCN.js +4 -0
  263. package/dist/cdn/FVDDHZGB.js +4 -0
  264. package/dist/cdn/FXZPV2LJ.js +4 -0
  265. package/dist/cdn/FZP6G2BG.js +4 -0
  266. package/dist/cdn/G4AAB44F.js +4 -0
  267. package/dist/cdn/G4N22Z2V.js +4 -0
  268. package/dist/cdn/G5ACG375.js +4 -0
  269. package/dist/cdn/GCOKUEFB.js +4 -0
  270. package/dist/cdn/GDRLFGHZ.js +4 -0
  271. package/dist/cdn/GEBIXIOJ.js +4 -0
  272. package/dist/cdn/GK3CJFCP.js +4 -0
  273. package/dist/cdn/GM4NIPJE.js +4 -0
  274. package/dist/cdn/GO2VSR7L.js +4 -0
  275. package/dist/cdn/GOPDQJWC.js +4 -0
  276. package/dist/cdn/GOWOLUWD.js +4 -0
  277. package/dist/cdn/GPUTQYKX.js +4 -0
  278. package/dist/cdn/GQVOPDKA.js +4 -0
  279. package/dist/cdn/GSAH36AV.js +4 -0
  280. package/dist/cdn/GTRZQTZG.js +4 -0
  281. package/dist/cdn/GVT6CKXU.js +4 -0
  282. package/dist/cdn/GWTOAEHA.js +4 -0
  283. package/dist/cdn/GYZAO5KT.js +4 -0
  284. package/dist/cdn/H2J635SK.js +4 -0
  285. package/dist/cdn/H3LAVVE4.js +4 -0
  286. package/dist/cdn/H52FQWBB.js +4 -0
  287. package/dist/cdn/H5BLKOJS.js +4 -0
  288. package/dist/cdn/H5OUSI7W.js +4 -0
  289. package/dist/cdn/HA7ZBETK.js +4 -0
  290. package/dist/cdn/HGAHJSPW.js +4 -0
  291. package/dist/cdn/HHA547QI.js +4 -0
  292. package/dist/cdn/HI6KLMTN.js +4 -0
  293. package/dist/cdn/HKAYVUX6.js +4 -0
  294. package/dist/cdn/HRD7XXYD.js +4 -0
  295. package/dist/cdn/HT56P4RP.js +4 -0
  296. package/dist/cdn/HTC3H7UG.js +4 -0
  297. package/dist/cdn/HVJFMFYV.js +4 -0
  298. package/dist/cdn/HXS6JC3A.js +4 -0
  299. package/dist/cdn/HZDX3JAO.js +4 -0
  300. package/dist/cdn/HZTVMAGC.js +4 -0
  301. package/dist/cdn/I5EIM5HA.js +4 -0
  302. package/dist/cdn/IC24DJCQ.js +4 -0
  303. package/dist/cdn/IC3BUMM3.js +4 -0
  304. package/dist/cdn/IG4VVTPY.js +4 -0
  305. package/dist/cdn/IJ2LQWQ5.js +4 -0
  306. package/dist/cdn/IJSWHZM7.js +4 -0
  307. package/dist/cdn/IKKSHB6P.js +4 -0
  308. package/dist/cdn/ILJSPFN3.js +4 -0
  309. package/dist/cdn/IMF6ETUH.js +4 -0
  310. package/dist/cdn/IMFTJQ2R.js +4 -0
  311. package/dist/cdn/IN2TJK65.js +4 -0
  312. package/dist/cdn/IR73VHB4.js +4 -0
  313. package/dist/cdn/ISMMI7N3.js +4 -0
  314. package/dist/cdn/IWNYQDIR.js +4 -0
  315. package/dist/cdn/IYERGH44.js +4 -0
  316. package/dist/cdn/JAYMTDTH.js +4 -0
  317. package/dist/cdn/JEJIF3RT.js +4 -0
  318. package/dist/cdn/JEU7742G.js +4 -0
  319. package/dist/cdn/JEUVTJFF.js +4 -0
  320. package/dist/cdn/JEYMIADI.js +4 -0
  321. package/dist/cdn/JG7NSKDG.js +4 -0
  322. package/dist/cdn/JHACOP2S.js +4 -0
  323. package/dist/cdn/JIXBWIQ5.js +4 -0
  324. package/dist/cdn/JJAIDRIB.js +4 -0
  325. package/dist/cdn/JJD34STA.js +4 -0
  326. package/dist/cdn/JMCMHDIR.js +4 -0
  327. package/dist/cdn/JVGXSL5O.js +4 -0
  328. package/dist/cdn/JY77GCJP.js +4 -0
  329. package/dist/cdn/K3NHW3QQ.js +4 -0
  330. package/dist/cdn/K3YQZML3.js +4 -0
  331. package/dist/cdn/K67LUDPL.js +4 -0
  332. package/dist/cdn/K6VDWJW2.js +4 -0
  333. package/dist/cdn/K6XPLD5F.js +4 -0
  334. package/dist/cdn/K7JUHOJE.js +4 -0
  335. package/dist/cdn/K7UXJHVA.js +6 -0
  336. package/dist/cdn/KD6NWEC7.js +4 -0
  337. package/dist/cdn/KFPR6NBP.js +4 -0
  338. package/dist/cdn/KHC2HCVJ.js +4 -0
  339. package/dist/cdn/KJBG75JK.js +4 -0
  340. package/dist/cdn/KKN2PI3O.js +4 -0
  341. package/dist/cdn/KKNXRATS.js +4 -0
  342. package/dist/cdn/KL5VHB7E.js +4 -0
  343. package/dist/cdn/KOF3VNB5.js +4 -0
  344. package/dist/cdn/KPPXKUBV.js +4 -0
  345. package/dist/cdn/KSVSV344.js +4 -0
  346. package/dist/cdn/KU2PCAIW.js +4 -0
  347. package/dist/cdn/KUSTDRCT.js +4 -0
  348. package/dist/cdn/KYTKXN5S.js +4 -0
  349. package/dist/cdn/KYZ2S5LZ.js +4 -0
  350. package/dist/cdn/KZNQCFZB.js +4 -0
  351. package/dist/cdn/KZZRA6LM.js +4 -0
  352. package/dist/cdn/L3Z2GZXC.js +4 -0
  353. package/dist/cdn/L4257WYS.js +4 -0
  354. package/dist/cdn/L46J4GVQ.js +4 -0
  355. package/dist/cdn/L4BGT2DQ.js +4 -0
  356. package/dist/cdn/L7RK2HIO.js +4 -0
  357. package/dist/cdn/LAVJP7DW.js +4 -0
  358. package/dist/cdn/LBABUCRM.js +4 -0
  359. package/dist/cdn/LCNJNLYA.js +4 -0
  360. package/dist/cdn/LDVR56DL.js +4 -0
  361. package/dist/cdn/LEVCWMHO.js +4 -0
  362. package/dist/cdn/LF4GI6M2.js +4 -0
  363. package/dist/cdn/LG4EBIZP.js +4 -0
  364. package/dist/cdn/LJ74Z3NL.js +4 -0
  365. package/dist/cdn/LJS6EKNQ.js +4 -0
  366. package/dist/cdn/LKBB54OA.js +4 -0
  367. package/dist/cdn/LKWKPKIL.js +4 -0
  368. package/dist/cdn/LLHHBV3W.js +4 -0
  369. package/dist/cdn/LNBRJYIX.js +4 -0
  370. package/dist/cdn/LP62MHGW.js +4 -0
  371. package/dist/cdn/LQKRTR6W.js +4 -0
  372. package/dist/cdn/LQM6RV3F.js +4 -0
  373. package/dist/cdn/LREJJC3W.js +4 -0
  374. package/dist/cdn/LUAENMPN.js +4 -0
  375. package/dist/cdn/LUSOM74G.js +4 -0
  376. package/dist/cdn/LV67NU5R.js +6 -0
  377. package/dist/cdn/LWUUYWQF.js +4 -0
  378. package/dist/cdn/M3JXLSWK.js +4 -0
  379. package/dist/cdn/M3PCNN7S.js +4 -0
  380. package/dist/cdn/M3ZO774F.js +42 -0
  381. package/dist/cdn/M4DEBMEJ.js +4 -0
  382. package/dist/cdn/M5KXFS5Y.js +4 -0
  383. package/dist/cdn/M6DLJMSB.js +4 -0
  384. package/dist/cdn/MF3WL4LS.js +4 -0
  385. package/dist/cdn/MGEMJ7VA.js +4 -0
  386. package/dist/cdn/MIGRWBFQ.js +4 -0
  387. package/dist/cdn/MMRMTNAY.js +4 -0
  388. package/dist/cdn/MO7HS5QD.js +4 -0
  389. package/dist/cdn/MQ37V63X.js +4 -0
  390. package/dist/cdn/MT6DORQF.js +4 -0
  391. package/dist/cdn/MTJSDTGQ.js +4 -0
  392. package/dist/cdn/MTJTB24B.js +25 -0
  393. package/dist/cdn/MVYPMYBW.js +4 -0
  394. package/dist/cdn/MWGAKEO5.js +4 -0
  395. package/dist/cdn/MWKRBFGG.js +4 -0
  396. package/dist/cdn/MX5UM7HQ.js +4 -0
  397. package/dist/cdn/MXDXVV7P.js +4 -0
  398. package/dist/cdn/MYWGXXVT.js +4 -0
  399. package/dist/cdn/N3VUUB7J.js +4 -0
  400. package/dist/cdn/N67NTZZG.js +4 -0
  401. package/dist/cdn/NAJ3UIL5.js +4 -0
  402. package/dist/cdn/NCC5H6TW.js +4 -0
  403. package/dist/cdn/ND2QVEN6.js +4 -0
  404. package/dist/cdn/NE6DQ3U5.js +4 -0
  405. package/dist/cdn/NG4JPJWW.js +4 -0
  406. package/dist/cdn/NGPBFXGJ.js +4 -0
  407. package/dist/cdn/NH2R6FMY.js +4 -0
  408. package/dist/cdn/NHDXJGHR.js +4 -0
  409. package/dist/cdn/NI6XGKN6.js +4 -0
  410. package/dist/cdn/NIYSJ4R7.js +4 -0
  411. package/dist/cdn/NJFQA7NR.js +4 -0
  412. package/dist/cdn/NLFC2646.js +4 -0
  413. package/dist/cdn/NRHSUHDW.js +4 -0
  414. package/dist/cdn/NSGLWY77.js +4 -0
  415. package/dist/cdn/NSTO3KTP.js +8 -0
  416. package/dist/cdn/NTV4BYMV.js +4 -0
  417. package/dist/cdn/NU5URHSQ.js +4 -0
  418. package/dist/cdn/NYY6YK6Z.js +4 -0
  419. package/dist/cdn/NZ6QO3C3.js +4 -0
  420. package/dist/cdn/O5WHBS7F.js +4 -0
  421. package/dist/cdn/OBY4EBBN.js +4 -0
  422. package/dist/cdn/ODBHSTTJ.js +4 -0
  423. package/dist/cdn/ODO3SFMF.js +4 -0
  424. package/dist/cdn/OGDO4NVX.js +4 -0
  425. package/dist/cdn/OGWW6G7O.js +4 -0
  426. package/dist/cdn/OLJ24HZK.js +4 -0
  427. package/dist/cdn/ON53RAV4.js +4 -0
  428. package/dist/cdn/ONVVX264.js +4 -0
  429. package/dist/cdn/OOD6N4GB.js +5 -0
  430. package/dist/cdn/OODWLZK5.js +4 -0
  431. package/dist/cdn/OOYMVHOC.js +4 -0
  432. package/dist/cdn/OPTBWQV6.js +4 -0
  433. package/dist/cdn/OSUJKJBY.js +5 -0
  434. package/dist/cdn/OUHPVJ6O.js +4 -0
  435. package/dist/cdn/OWV2UHON.js +4 -0
  436. package/dist/cdn/OWVB47D4.js +4 -0
  437. package/dist/cdn/OXS3DFK4.js +4 -0
  438. package/dist/cdn/OXY7S7ND.js +4 -0
  439. package/dist/cdn/OY5DF4XZ.js +4 -0
  440. package/dist/cdn/OYCGWD3T.js +4 -0
  441. package/dist/cdn/OZCWHH4C.js +4 -0
  442. package/dist/cdn/OZLDJZHZ.js +4 -0
  443. package/dist/cdn/P2GH7ZUF.js +4 -0
  444. package/dist/cdn/P2REOXVZ.js +4 -0
  445. package/dist/cdn/P452NF5E.js +4 -0
  446. package/dist/cdn/P5ME7AYB.js +4 -0
  447. package/dist/cdn/P63CHL57.js +4 -0
  448. package/dist/cdn/PBLEE2CP.js +41 -0
  449. package/dist/cdn/PEZ3GDL2.js +4 -0
  450. package/dist/cdn/PFNZW3H2.js +4 -0
  451. package/dist/cdn/PGBB67XY.js +4 -0
  452. package/dist/cdn/PHHJVKSR.js +4 -0
  453. package/dist/cdn/PIP4T47U.js +4 -0
  454. package/dist/cdn/PJNSNIN3.js +4 -0
  455. package/dist/cdn/PNQCWXBG.js +4 -0
  456. package/dist/cdn/POUOKKUL.js +4 -0
  457. package/dist/cdn/PUQJ44NF.js +4 -0
  458. package/dist/cdn/PXGLXTMY.js +4 -0
  459. package/dist/cdn/PYXQIQVS.js +4 -0
  460. package/dist/cdn/PZ55JPBP.js +4 -0
  461. package/dist/cdn/Q2AE3RR6.js +4 -0
  462. package/dist/cdn/Q3WI6IRL.js +4 -0
  463. package/dist/cdn/Q54P5AD6.js +4 -0
  464. package/dist/cdn/Q6SG4KIO.js +4 -0
  465. package/dist/cdn/Q7ONETZX.js +4 -0
  466. package/dist/cdn/QBRXNYNT.js +4 -0
  467. package/dist/cdn/QD2OFV2J.js +4 -0
  468. package/dist/cdn/QD7NNKKW.js +4 -0
  469. package/dist/cdn/QHA56CBA.js +4 -0
  470. package/dist/cdn/QHS6XGEQ.js +4 -0
  471. package/dist/cdn/QIGYMY3T.js +4 -0
  472. package/dist/cdn/QJI6DWTP.js +4 -0
  473. package/dist/cdn/QKQQAFEZ.js +4 -0
  474. package/dist/cdn/QOMO3OEO.js +4 -0
  475. package/dist/cdn/QPME7XOG.js +4 -0
  476. package/dist/cdn/QPXZGXME.js +4 -0
  477. package/dist/cdn/QRZPSSZM.js +4 -0
  478. package/dist/cdn/QW2ZVXNC.js +4 -0
  479. package/dist/cdn/QXH3M66H.js +4 -0
  480. package/dist/cdn/QXSGEVKY.js +4 -0
  481. package/dist/cdn/QZPCC3NV.js +4 -0
  482. package/dist/cdn/R6LW6REX.js +4 -0
  483. package/dist/cdn/R7SICWW6.js +4 -0
  484. package/dist/cdn/RAWIUJQX.js +4 -0
  485. package/dist/cdn/RC4BXYNG.js +4 -0
  486. package/dist/cdn/RDVMWKPF.js +4 -0
  487. package/dist/cdn/RE4VRGDG.js +4 -0
  488. package/dist/cdn/RERSC74L.js +4 -0
  489. package/dist/cdn/REV6A3C2.js +4 -0
  490. package/dist/cdn/RG6Q7NUJ.js +4 -0
  491. package/dist/cdn/RK3ERC5X.js +4 -0
  492. package/dist/cdn/RLVEJV5U.js +4 -0
  493. package/dist/cdn/RMROOXNS.js +4 -0
  494. package/dist/cdn/ROUFWCZI.js +4 -0
  495. package/dist/cdn/RPI4I5AK.js +4 -0
  496. package/dist/cdn/RPY5YDSG.js +4 -0
  497. package/dist/cdn/RSRBHKVB.js +4 -0
  498. package/dist/cdn/RTAA52PD.js +4 -0
  499. package/dist/cdn/RTQXXIWA.js +4 -0
  500. package/dist/cdn/RUEK3344.js +4 -0
  501. package/dist/cdn/RXAYJTYR.js +4 -0
  502. package/dist/cdn/S4LGMGA2.js +4 -0
  503. package/dist/cdn/S5IPWUNS.js +4 -0
  504. package/dist/cdn/SEIUVXK6.js +4 -0
  505. package/dist/cdn/SJ6U4A77.js +4 -0
  506. package/dist/cdn/SJPGYIBQ.js +4 -0
  507. package/dist/cdn/SLMLNO4N.js +4 -0
  508. package/dist/cdn/SNFH5SRY.js +4 -0
  509. package/dist/cdn/SOJSJDRA.js +4 -0
  510. package/dist/cdn/SP2L7DP7.js +4 -0
  511. package/dist/cdn/SPQMKIGP.js +4 -0
  512. package/dist/cdn/SRNX5J6R.js +4 -0
  513. package/dist/cdn/SYY7TV4K.js +4 -0
  514. package/dist/cdn/SZ2WGYX7.js +4 -0
  515. package/dist/cdn/T2HCO4C2.js +4 -0
  516. package/dist/cdn/T2T4T324.js +4 -0
  517. package/dist/cdn/T3IKTS5T.js +4 -0
  518. package/dist/cdn/T3R356LP.js +4 -0
  519. package/dist/cdn/T7R2GGPI.js +4 -0
  520. package/dist/cdn/TA7JX4RX.js +4 -0
  521. package/dist/cdn/TAPHPQMD.js +4 -0
  522. package/dist/cdn/TBENOFZQ.js +4 -0
  523. package/dist/cdn/TEN6VNB7.js +4 -0
  524. package/dist/cdn/TFI2TVUO.js +4 -0
  525. package/dist/cdn/TNNI5ZDP.js +4 -0
  526. package/dist/cdn/TNRL7LJF.js +4 -0
  527. package/dist/cdn/TP6FMEE3.js +4 -0
  528. package/dist/cdn/TPOXZXIZ.js +4 -0
  529. package/dist/cdn/TQXADY2E.js +4 -0
  530. package/dist/cdn/TSTPIKTI.js +4 -0
  531. package/dist/cdn/TTPQISTO.js +4 -0
  532. package/dist/cdn/TWAQCQCC.js +4 -0
  533. package/dist/cdn/TZBHNFFU.js +4 -0
  534. package/dist/cdn/U4PBA5NQ.js +4 -0
  535. package/dist/cdn/UDHANQOD.js +4 -0
  536. package/dist/cdn/UGYONRSY.js +4 -0
  537. package/dist/cdn/UH7DVAMC.js +4 -0
  538. package/dist/cdn/UJDQLAUU.js +4 -0
  539. package/dist/cdn/UJMB7BVP.js +4 -0
  540. package/dist/cdn/UJWJUOSA.js +4 -0
  541. package/dist/cdn/ULEEEKXR.js +4 -0
  542. package/dist/cdn/ULTVT6GR.js +4 -0
  543. package/dist/cdn/UNLHFBGN.js +4 -0
  544. package/dist/cdn/UP6ZPTHZ.js +4 -0
  545. package/dist/cdn/USRU4HO5.js +4 -0
  546. package/dist/cdn/UV3FUU65.js +4 -0
  547. package/dist/cdn/UV3RMVNT.js +4 -0
  548. package/dist/cdn/UVVKMY5Q.js +4 -0
  549. package/dist/cdn/UW76XPMV.js +5 -0
  550. package/dist/cdn/UWRAOWV3.js +4 -0
  551. package/dist/cdn/UWYFFBNM.js +4 -0
  552. package/dist/cdn/UX5GVUMS.js +4 -0
  553. package/dist/cdn/UZ2D26AH.js +4 -0
  554. package/dist/cdn/V2V2QWDS.js +4 -0
  555. package/dist/cdn/V32B2XQX.js +4 -0
  556. package/dist/cdn/V3Y3TERE.js +51 -0
  557. package/dist/cdn/V5NH2NB4.js +4 -0
  558. package/dist/cdn/V5ZPEN6T.js +4 -0
  559. package/dist/cdn/V7AU2HEB.js +4 -0
  560. package/dist/cdn/V7THFSY7.js +4 -0
  561. package/dist/cdn/VA42NCE7.js +4 -0
  562. package/dist/cdn/VBO5SPHG.js +4 -0
  563. package/dist/cdn/VDZLJFM6.js +4 -0
  564. package/dist/cdn/VE3FVKUR.js +52 -0
  565. package/dist/cdn/VIOSX5P4.js +4 -0
  566. package/dist/cdn/VJ4ZHPEY.js +4 -0
  567. package/dist/cdn/VLNNKRSD.js +4 -0
  568. package/dist/cdn/VM7DLB4D.js +4 -0
  569. package/dist/cdn/VMGPRV6W.js +4 -0
  570. package/dist/cdn/VMWOQIEI.js +4 -0
  571. package/dist/cdn/VNQNU22Z.js +4 -0
  572. package/dist/cdn/VNWUJDII.js +4 -0
  573. package/dist/cdn/VNX5CRJZ.js +4 -0
  574. package/dist/cdn/VPVKVV7T.js +4 -0
  575. package/dist/cdn/VVSHHJLL.js +4 -0
  576. package/dist/cdn/VXEIAUXG.js +4 -0
  577. package/dist/cdn/VXQMV2ES.js +4 -0
  578. package/dist/cdn/VY5HZYAT.js +4 -0
  579. package/dist/cdn/VZAC2H7N.js +4 -0
  580. package/dist/cdn/W2QR3STN.js +4 -0
  581. package/dist/cdn/W37OBMS5.js +4 -0
  582. package/dist/cdn/W42YDAVX.js +4 -0
  583. package/dist/cdn/W72VV2TU.js +4 -0
  584. package/dist/cdn/W7G3XU5R.js +4 -0
  585. package/dist/cdn/W7ILHE6M.js +4 -0
  586. package/dist/cdn/W7TTGPJN.js +4 -0
  587. package/dist/cdn/WDXTSPL6.js +4 -0
  588. package/dist/cdn/WHB7UC4B.js +4 -0
  589. package/dist/cdn/WHZNE3V4.js +5 -0
  590. package/dist/cdn/WKKNICA3.js +4 -0
  591. package/dist/cdn/WMSSSASV.js +4 -0
  592. package/dist/cdn/WMW2OH6G.js +4 -0
  593. package/dist/cdn/WP25UYMU.js +4 -0
  594. package/dist/cdn/WPIVMAFO.js +4 -0
  595. package/dist/cdn/WPOLCNYN.js +4 -0
  596. package/dist/cdn/WPXU7TXW.js +4 -0
  597. package/dist/cdn/WVC6VXKH.js +4 -0
  598. package/dist/cdn/WWV7T6NO.js +4 -0
  599. package/dist/cdn/WZ3M5EWN.js +4 -0
  600. package/dist/cdn/WZJUWRBY.js +4 -0
  601. package/dist/cdn/X62E337L.js +4 -0
  602. package/dist/cdn/XAPQKQYQ.js +4 -0
  603. package/dist/cdn/XBU5F3OM.js +4 -0
  604. package/dist/cdn/XEA4X46Z.js +4 -0
  605. package/dist/cdn/XGORMHM5.js +4 -0
  606. package/dist/cdn/XJLF2KBN.js +4 -0
  607. package/dist/cdn/XJOVEXQJ.js +4 -0
  608. package/dist/cdn/XKL36I6I.js +4 -0
  609. package/dist/cdn/XQ43IQQ7.js +4 -0
  610. package/dist/cdn/XQHB3QIQ.js +4 -0
  611. package/dist/cdn/XQOKNMGV.js +4 -0
  612. package/dist/cdn/XV4NBXF5.js +4 -0
  613. package/dist/cdn/XWEGNFFY.js +4 -0
  614. package/dist/cdn/XZ4J332E.js +4 -0
  615. package/dist/cdn/Y26AUVWM.js +4 -0
  616. package/dist/cdn/Y2OSZDTK.js +4 -0
  617. package/dist/cdn/Y5HDCGEF.js +4 -0
  618. package/dist/cdn/Y6OFIALG.js +4 -0
  619. package/dist/cdn/Y6OOBURT.js +4 -0
  620. package/dist/cdn/YA5H7BHI.js +4 -0
  621. package/dist/cdn/YBFEH64E.js +4 -0
  622. package/dist/cdn/YC6ODAVS.js +12 -0
  623. package/dist/cdn/YDBR5EU2.js +4 -0
  624. package/dist/cdn/YDX6T5LM.js +4 -0
  625. package/dist/cdn/YI35WHZD.js +4 -0
  626. package/dist/cdn/YJW2PDXB.js +4 -0
  627. package/dist/cdn/YLLXURAD.js +4 -0
  628. package/dist/cdn/YPKQOOPX.js +4 -0
  629. package/dist/cdn/YSSP6ELS.js +4 -0
  630. package/dist/cdn/YT3RV2HT.js +4 -0
  631. package/dist/cdn/YTTDZ5EC.js +4 -0
  632. package/dist/cdn/YUQX3DFO.js +4 -0
  633. package/dist/cdn/YXCLKJHZ.js +4 -0
  634. package/dist/cdn/YYRUCSFM.js +4 -0
  635. package/dist/cdn/YZ56USWU.js +4 -0
  636. package/dist/cdn/YZVADNJB.js +4 -0
  637. package/dist/cdn/Z2TPWV7E.js +4 -0
  638. package/dist/cdn/Z3HUJEGK.js +4 -0
  639. package/dist/cdn/Z42FD7AX.js +4 -0
  640. package/dist/cdn/Z76OQ24P.js +16 -0
  641. package/dist/cdn/ZA7UIOU7.js +4 -0
  642. package/dist/cdn/ZF3ZEDPX.js +4 -0
  643. package/dist/cdn/ZIWW7OHV.js +4 -0
  644. package/dist/cdn/ZJQGX57B.js +4 -0
  645. package/dist/cdn/ZJQQCDSJ.js +4 -0
  646. package/dist/cdn/ZKB23CQR.js +4 -0
  647. package/dist/cdn/ZL3QS7FE.js +4 -0
  648. package/dist/cdn/ZLEN46XW.js +4 -0
  649. package/dist/cdn/ZMDRLGES.js +4 -0
  650. package/dist/cdn/ZN7OAHWZ.js +4 -0
  651. package/dist/cdn/ZNMRUPBS.js +4 -0
  652. package/dist/cdn/ZOEG5BAS.js +4 -0
  653. package/dist/cdn/ZOXOQIMO.js +4 -0
  654. package/dist/cdn/ZRX4T3BG.js +4 -0
  655. package/dist/cdn/ZT66S3TL.js +4 -0
  656. package/dist/cdn/ZXGEUXZG.js +4 -0
  657. package/dist/cdn/assets/hub-entity-view-layout/t9n/messages.en.json +1 -0
  658. package/dist/cdn/assets/layout-container/t9n/messages.en.json +1 -1
  659. package/dist/cdn/index.js +3 -3
  660. package/dist/cdn/main.css +1 -1
  661. package/dist/chunks/chat-action.js +2 -2
  662. package/dist/chunks/findColumnAndNodeIndex.js +2 -2
  663. package/dist/chunks/getResponsiveClasses.js +2 -2
  664. package/dist/chunks/interpolate-translations.js +2 -2
  665. package/dist/chunks/isNodeVisible.js +2 -2
  666. package/dist/chunks/memoizeAsync.js +2 -2
  667. package/dist/chunks/migrateTextCard.js +2 -2
  668. package/dist/chunks/processLayout.js +2 -2
  669. package/dist/chunks/runtime.js +3 -3
  670. package/dist/chunks/state.js +2 -2
  671. package/dist/chunks/typeGuards.js +2 -2
  672. package/dist/chunks/useT9n.js +2 -2
  673. package/dist/chunks/util.js +2 -2
  674. package/dist/components/arcgis-chat-shell/customElement.js +2 -2
  675. package/dist/components/arcgis-chat-ui/customElement.js +2 -2
  676. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -2
  677. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +2 -2
  678. package/dist/components/arcgis-chat-ui/functional/chat-status/customElement.js +2 -2
  679. package/dist/components/arcgis-hub-ai-assistant/customElement.js +2 -2
  680. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -2
  681. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +2 -2
  682. package/dist/components/arcgis-hub-entity-status-card/customElement.js +2 -2
  683. package/dist/components/arcgis-hub-entity-view-layout/customElement.d.ts +32 -0
  684. package/dist/components/arcgis-hub-entity-view-layout/customElement.js +750 -0
  685. package/dist/components/arcgis-hub-entity-view-layout/index.d.ts +4 -0
  686. package/dist/components/arcgis-hub-entity-view-layout/index.js +4 -0
  687. package/dist/components/arcgis-hub-entity-view-layout/utils/buildDefaultEntityLayout.d.ts +5 -0
  688. package/dist/components/arcgis-hub-entity-view-layout/utils/buildDefaultProjectLayout.d.ts +5 -0
  689. package/dist/components/arcgis-hub-entity-view-layout/utils/buildLayoutFromEntityView.d.ts +7 -0
  690. package/dist/components/arcgis-layout/customElement.d.ts +23 -8
  691. package/dist/components/arcgis-layout/customElement.js +2 -3
  692. package/dist/components/arcgis-layout-column/customElement.d.ts +15 -11
  693. package/dist/components/arcgis-layout-column/customElement.js +2 -3
  694. package/dist/components/arcgis-layout-container/customElement.d.ts +14 -5
  695. package/dist/components/arcgis-layout-container/customElement.js +242 -226
  696. package/dist/components/arcgis-layout-editor-toolbar/customElement.d.ts +3 -1
  697. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +7 -7
  698. package/dist/components/arcgis-layout-node-controls/customElement.d.ts +9 -7
  699. package/dist/components/arcgis-layout-node-controls/customElement.js +2 -2
  700. package/dist/components/arcgis-layout-node-editor/customElement.d.ts +1 -0
  701. package/dist/components/arcgis-layout-node-editor/customElement.js +2 -2
  702. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.d.ts +2 -1
  703. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -2
  704. package/dist/components/arcgis-layout-node-highlight/customElement.js +2 -2
  705. package/dist/components/arcgis-layout-node-overlay/customElement.d.ts +1 -5
  706. package/dist/components/arcgis-layout-node-overlay/customElement.js +2 -2
  707. package/dist/components/arcgis-layout-row/customElement.d.ts +7 -9
  708. package/dist/components/arcgis-layout-row/customElement.js +2 -2
  709. package/dist/components/arcgis-layout-section/customElement.d.ts +7 -9
  710. package/dist/components/arcgis-layout-section/customElement.js +2 -2
  711. package/dist/components/arcgis-nav-card/customElement.js +2 -2
  712. package/dist/components/arcgis-text-card/customElement.js +2 -2
  713. package/dist/components/layouts/components/layout-node/customElement.d.ts +22 -12
  714. package/dist/components/layouts/components/layout-node/customElement.js +2 -4
  715. package/dist/components/layouts/utils/findColumnAndNodeIndex.d.ts +9 -5
  716. package/dist/components/layouts/utils/findNodeById.d.ts +6 -4
  717. package/dist/components/layouts/utils/getAddableLayoutNodes.d.ts +10 -0
  718. package/dist/components/layouts/utils/getResponsiveClasses.d.ts +38 -0
  719. package/dist/components/layouts/utils/layoutContext.d.ts +11 -5
  720. package/dist/components/layouts/utils/lockLayout.d.ts +4 -3
  721. package/dist/components/layouts/utils/memoizeAsync.d.ts +2 -1
  722. package/dist/docs/api.json +198 -66
  723. package/dist/docs/docs.json +181 -54
  724. package/dist/docs/vscode.html-custom-data.json +9 -18
  725. package/dist/docs/web-types.json +60 -38
  726. package/dist/embed-config.js +2 -2
  727. package/dist/index.d.ts +18 -3
  728. package/dist/index.js +2 -2
  729. package/dist/loader.js +3 -2
  730. package/dist/types/lumina.d.ts +5 -3
  731. package/dist/types/preact.d.ts +6 -4
  732. package/dist/types/react.d.ts +7 -5
  733. package/dist/types/stencil.d.ts +5 -3
  734. package/package.json +2 -2
  735. package/dist/cdn/24KMXP4I.js +0 -4
  736. package/dist/cdn/267N6L6X.js +0 -4
  737. package/dist/cdn/27VSUTSU.js +0 -4
  738. package/dist/cdn/2BF52UAW.js +0 -4
  739. package/dist/cdn/2CBEBWF5.js +0 -4
  740. package/dist/cdn/2CNPF4SK.js +0 -4
  741. package/dist/cdn/2EQ2B7P6.js +0 -4
  742. package/dist/cdn/2HWRJ4SL.js +0 -4
  743. package/dist/cdn/2ID4SFGZ.js +0 -4
  744. package/dist/cdn/2LQH76SG.js +0 -4
  745. package/dist/cdn/2LW2HCSW.js +0 -4
  746. package/dist/cdn/2OM32RK2.js +0 -4
  747. package/dist/cdn/2OP3Q4HB.js +0 -4
  748. package/dist/cdn/2PRFRPP4.js +0 -41
  749. package/dist/cdn/2QTCZZMO.js +0 -4
  750. package/dist/cdn/2XHXDDWV.js +0 -4
  751. package/dist/cdn/324BCWPW.js +0 -4
  752. package/dist/cdn/32R4CNRQ.js +0 -4
  753. package/dist/cdn/334CKCLK.js +0 -4
  754. package/dist/cdn/36KB2AO6.js +0 -4
  755. package/dist/cdn/37WCO52K.js +0 -4
  756. package/dist/cdn/3A7FEH6P.js +0 -4
  757. package/dist/cdn/3DZZE24B.js +0 -4
  758. package/dist/cdn/3FATQSUX.js +0 -8
  759. package/dist/cdn/3JJ6ZRHY.js +0 -4
  760. package/dist/cdn/3QKBVZRW.js +0 -4
  761. package/dist/cdn/3R65O7KN.js +0 -4
  762. package/dist/cdn/3TFMDV5D.js +0 -4
  763. package/dist/cdn/3VPUIQKV.js +0 -4
  764. package/dist/cdn/3XFFA4JU.js +0 -4
  765. package/dist/cdn/427R3VIQ.js +0 -4
  766. package/dist/cdn/43VT2JJO.js +0 -4
  767. package/dist/cdn/47BCMNP6.js +0 -4
  768. package/dist/cdn/4G7MCIBN.js +0 -4
  769. package/dist/cdn/4IUA72J6.js +0 -4
  770. package/dist/cdn/4IZMXONL.js +0 -4
  771. package/dist/cdn/4LE6LVCB.js +0 -4
  772. package/dist/cdn/4MAXWZYT.js +0 -4
  773. package/dist/cdn/4MMEFX4G.js +0 -4
  774. package/dist/cdn/4MQ5OLLW.js +0 -4
  775. package/dist/cdn/4PPBOGSP.js +0 -4
  776. package/dist/cdn/4PVEIN7J.js +0 -4
  777. package/dist/cdn/4TTPCKNH.js +0 -4
  778. package/dist/cdn/4U7PEIIQ.js +0 -4
  779. package/dist/cdn/4V6KUDL5.js +0 -4
  780. package/dist/cdn/4WZGB2NK.js +0 -4
  781. package/dist/cdn/4X5Z5PB5.js +0 -4
  782. package/dist/cdn/4XBF2OPC.js +0 -4
  783. package/dist/cdn/4YPGXLE6.js +0 -4
  784. package/dist/cdn/4YWAVBKA.js +0 -4
  785. package/dist/cdn/54RXA63R.js +0 -4
  786. package/dist/cdn/56XJXANG.js +0 -4
  787. package/dist/cdn/5AGT4CJC.js +0 -4
  788. package/dist/cdn/5BGSBARZ.js +0 -4
  789. package/dist/cdn/5BWJ7O53.js +0 -4
  790. package/dist/cdn/5E2TECXB.js +0 -16
  791. package/dist/cdn/5EWXX2L5.js +0 -4
  792. package/dist/cdn/5GRQA7QJ.js +0 -4
  793. package/dist/cdn/5HTU5Q3O.js +0 -4
  794. package/dist/cdn/5MB7E7F4.js +0 -4
  795. package/dist/cdn/5PQKXF2L.js +0 -4
  796. package/dist/cdn/5RTP6AM5.js +0 -4
  797. package/dist/cdn/5TDFLF22.js +0 -4
  798. package/dist/cdn/5UR6S2PU.js +0 -4
  799. package/dist/cdn/5ZKQRSWO.js +0 -4
  800. package/dist/cdn/5ZTD45PG.js +0 -4
  801. package/dist/cdn/62WNGOAH.js +0 -4
  802. package/dist/cdn/62YJRMYP.js +0 -4
  803. package/dist/cdn/6A3RS5OM.js +0 -4
  804. package/dist/cdn/6BCOZX2Z.js +0 -4
  805. package/dist/cdn/6BJSJ43U.js +0 -4
  806. package/dist/cdn/6FG3MU7Y.js +0 -4
  807. package/dist/cdn/6FQ25VWB.js +0 -4
  808. package/dist/cdn/6HQOEKLI.js +0 -4
  809. package/dist/cdn/6NZG7TCM.js +0 -4
  810. package/dist/cdn/6PPLM7IX.js +0 -4
  811. package/dist/cdn/6QPTCZWW.js +0 -4
  812. package/dist/cdn/6S5DJPGT.js +0 -4
  813. package/dist/cdn/6TIOBAKE.js +0 -4
  814. package/dist/cdn/6UDOQ4Q2.js +0 -4
  815. package/dist/cdn/6UDTOTBB.js +0 -4
  816. package/dist/cdn/6YVDRMYG.js +0 -4
  817. package/dist/cdn/6ZOBMPXD.js +0 -4
  818. package/dist/cdn/733UNFNH.js +0 -4
  819. package/dist/cdn/756PDAZN.js +0 -4
  820. package/dist/cdn/7AMA2Q64.js +0 -4
  821. package/dist/cdn/7CFVCSBZ.js +0 -4
  822. package/dist/cdn/7DDGHWHM.js +0 -4
  823. package/dist/cdn/7EFJCLP5.js +0 -4
  824. package/dist/cdn/7FFF6LV7.js +0 -12
  825. package/dist/cdn/7G6SMWK3.js +0 -5
  826. package/dist/cdn/7IRDONN2.js +0 -4
  827. package/dist/cdn/7IT2KUV6.js +0 -4
  828. package/dist/cdn/7K4IRSL6.js +0 -4
  829. package/dist/cdn/7LA6WM6M.js +0 -4
  830. package/dist/cdn/7M6P6TPZ.js +0 -4
  831. package/dist/cdn/7MHEK7BA.js +0 -4
  832. package/dist/cdn/7OS2HNZ2.js +0 -4
  833. package/dist/cdn/7QEKP6OF.js +0 -4
  834. package/dist/cdn/7Y6SAX3M.js +0 -4
  835. package/dist/cdn/A4ZV6KS3.js +0 -4
  836. package/dist/cdn/A66OLP3X.js +0 -4
  837. package/dist/cdn/A6N7EOPS.js +0 -4
  838. package/dist/cdn/A6VCL6N6.js +0 -4
  839. package/dist/cdn/ACCGPCXB.js +0 -4
  840. package/dist/cdn/AFEUAMCQ.js +0 -4
  841. package/dist/cdn/AHBBQGHB.js +0 -4
  842. package/dist/cdn/AHLIMMQG.js +0 -4
  843. package/dist/cdn/AHXF6YSG.js +0 -4
  844. package/dist/cdn/AKACX3KT.js +0 -4
  845. package/dist/cdn/AL5SXB3M.js +0 -4
  846. package/dist/cdn/ALDAEPN2.js +0 -4
  847. package/dist/cdn/ALJF2W7R.js +0 -4
  848. package/dist/cdn/AMB64GFT.js +0 -4
  849. package/dist/cdn/AMURYRPJ.js +0 -4
  850. package/dist/cdn/ANEKUYJW.js +0 -4
  851. package/dist/cdn/APC3FKXJ.js +0 -4
  852. package/dist/cdn/APZ7IGWA.js +0 -4
  853. package/dist/cdn/AQKVSGXU.js +0 -4
  854. package/dist/cdn/AR2QBZDV.js +0 -4
  855. package/dist/cdn/AR3I2WAU.js +0 -4
  856. package/dist/cdn/AT7H5XHG.js +0 -4
  857. package/dist/cdn/ATSFB7TB.js +0 -4
  858. package/dist/cdn/AU7X6WZS.js +0 -4
  859. package/dist/cdn/AWGMRBPF.js +0 -4
  860. package/dist/cdn/B2OJXLMP.js +0 -4
  861. package/dist/cdn/B2RL3VSA.js +0 -4
  862. package/dist/cdn/B2TJQ4RK.js +0 -4
  863. package/dist/cdn/BF4YBJRW.js +0 -4
  864. package/dist/cdn/BFG3J6WN.js +0 -4
  865. package/dist/cdn/BH4EBTF3.js +0 -4
  866. package/dist/cdn/BI4SDDYR.js +0 -4
  867. package/dist/cdn/BJ4GCSFY.js +0 -4
  868. package/dist/cdn/BJH7TI4C.js +0 -4
  869. package/dist/cdn/BJZ6UCNI.js +0 -4
  870. package/dist/cdn/BLIDKORX.js +0 -4
  871. package/dist/cdn/BLRK2W7H.js +0 -4
  872. package/dist/cdn/BQ2S3FT2.js +0 -4
  873. package/dist/cdn/BS7VOH24.js +0 -4
  874. package/dist/cdn/BSEMZ2VG.js +0 -4
  875. package/dist/cdn/BTDRHZDQ.js +0 -4
  876. package/dist/cdn/BUD7NETS.js +0 -4
  877. package/dist/cdn/BUQYXN6R.js +0 -4
  878. package/dist/cdn/BUWHSS7N.js +0 -4
  879. package/dist/cdn/BV6AN5QI.js +0 -4
  880. package/dist/cdn/BV6PDVXQ.js +0 -4
  881. package/dist/cdn/BXHJSKYQ.js +0 -4
  882. package/dist/cdn/C26EMMAL.js +0 -4
  883. package/dist/cdn/C4GGI5SJ.js +0 -4
  884. package/dist/cdn/C6XFBCXQ.js +0 -4
  885. package/dist/cdn/C6ZNQ3ZO.js +0 -4
  886. package/dist/cdn/CEBJVHNF.js +0 -4
  887. package/dist/cdn/CEC336S7.js +0 -4
  888. package/dist/cdn/CEPTMQJU.js +0 -4
  889. package/dist/cdn/CHK4RI76.js +0 -4
  890. package/dist/cdn/CLTBAPBT.js +0 -4
  891. package/dist/cdn/CMJ3OOVT.js +0 -4
  892. package/dist/cdn/COE4HQ6X.js +0 -9
  893. package/dist/cdn/CPV7OJYT.js +0 -4
  894. package/dist/cdn/CQ2SNZGU.js +0 -4
  895. package/dist/cdn/CQRCQ4GF.js +0 -4
  896. package/dist/cdn/CR3PBRGM.js +0 -4
  897. package/dist/cdn/CR7RVDL3.js +0 -4
  898. package/dist/cdn/CWFNQSWF.js +0 -4
  899. package/dist/cdn/CWRO723I.js +0 -4
  900. package/dist/cdn/CXCMWTGA.js +0 -59
  901. package/dist/cdn/CXWY2H2Z.js +0 -4
  902. package/dist/cdn/D6662WYN.js +0 -4
  903. package/dist/cdn/D76CWOHT.js +0 -4
  904. package/dist/cdn/DAAAFN6X.js +0 -4
  905. package/dist/cdn/DAGUU6GC.js +0 -4
  906. package/dist/cdn/DAXND7BP.js +0 -4
  907. package/dist/cdn/DBW2QUG2.js +0 -4
  908. package/dist/cdn/DJN7XTKD.js +0 -4
  909. package/dist/cdn/DJQEYYGH.js +0 -4
  910. package/dist/cdn/DJZV7RKA.js +0 -4
  911. package/dist/cdn/DK4XWKLW.js +0 -4
  912. package/dist/cdn/DKZUDL6Y.js +0 -4
  913. package/dist/cdn/DMIAKVEW.js +0 -4
  914. package/dist/cdn/DOONIRFZ.js +0 -4
  915. package/dist/cdn/DPLMWLXR.js +0 -4
  916. package/dist/cdn/DTBKLF7F.js +0 -4
  917. package/dist/cdn/DTCCRGBZ.js +0 -4
  918. package/dist/cdn/DUCUHTFB.js +0 -4
  919. package/dist/cdn/DYO5ZNIJ.js +0 -4
  920. package/dist/cdn/E4HLEF7F.js +0 -4
  921. package/dist/cdn/E4OEK3YW.js +0 -4
  922. package/dist/cdn/E57ALNQB.js +0 -4
  923. package/dist/cdn/E5ONAMNY.js +0 -4
  924. package/dist/cdn/E6KLQKUH.js +0 -4
  925. package/dist/cdn/ECQ7Z3U3.js +0 -4
  926. package/dist/cdn/ED3ZFEBH.js +0 -4
  927. package/dist/cdn/EEW7WUO3.js +0 -4
  928. package/dist/cdn/EJGC4AZZ.js +0 -4
  929. package/dist/cdn/EK346N6J.js +0 -4
  930. package/dist/cdn/EK3YSO5Q.js +0 -4
  931. package/dist/cdn/EORC4C76.js +0 -4
  932. package/dist/cdn/EQHKZBJH.js +0 -4
  933. package/dist/cdn/ESOTMTGL.js +0 -4
  934. package/dist/cdn/ESXZP4GO.js +0 -4
  935. package/dist/cdn/EZV77H7X.js +0 -4
  936. package/dist/cdn/F2YBYKWL.js +0 -4
  937. package/dist/cdn/F3FNAXJQ.js +0 -4
  938. package/dist/cdn/F4ZFOLWK.js +0 -4
  939. package/dist/cdn/F6F6RIPA.js +0 -4
  940. package/dist/cdn/FCBCRW27.js +0 -4
  941. package/dist/cdn/FDPXHV5X.js +0 -4
  942. package/dist/cdn/FE5PGSZ5.js +0 -4
  943. package/dist/cdn/FERYZAMQ.js +0 -4
  944. package/dist/cdn/FGASGG3Y.js +0 -4
  945. package/dist/cdn/FGEUEGEN.js +0 -4
  946. package/dist/cdn/FGMTRSHC.js +0 -4
  947. package/dist/cdn/FHVT5GRF.js +0 -4
  948. package/dist/cdn/FJJKK2CU.js +0 -4
  949. package/dist/cdn/FM7TQIA6.js +0 -4
  950. package/dist/cdn/FQIACWJN.js +0 -4
  951. package/dist/cdn/FRZODVNW.js +0 -4
  952. package/dist/cdn/FTFPTUCK.js +0 -4
  953. package/dist/cdn/FTK2OKZM.js +0 -4
  954. package/dist/cdn/FUDGSWTG.js +0 -4
  955. package/dist/cdn/FUPQE2BA.js +0 -4
  956. package/dist/cdn/FVJYUVOO.js +0 -4
  957. package/dist/cdn/FYTTVAWM.js +0 -4
  958. package/dist/cdn/FZSJ7BD5.js +0 -4
  959. package/dist/cdn/FZYFFAXU.js +0 -4
  960. package/dist/cdn/G32YMATD.js +0 -4
  961. package/dist/cdn/G4SXBKQD.js +0 -4
  962. package/dist/cdn/G5ZXSHYL.js +0 -4
  963. package/dist/cdn/G6ITOLWZ.js +0 -4
  964. package/dist/cdn/G6L76XMD.js +0 -4
  965. package/dist/cdn/G7HJ5QBD.js +0 -4
  966. package/dist/cdn/GAQ4RMKZ.js +0 -4
  967. package/dist/cdn/GAXAV42G.js +0 -4
  968. package/dist/cdn/GCF4OWTM.js +0 -4
  969. package/dist/cdn/GDMHO77C.js +0 -4
  970. package/dist/cdn/GDQMA4DE.js +0 -4
  971. package/dist/cdn/GEEPRGR6.js +0 -4
  972. package/dist/cdn/GFUXSTUB.js +0 -4
  973. package/dist/cdn/GIQEM734.js +0 -4
  974. package/dist/cdn/GM6UNEYN.js +0 -4
  975. package/dist/cdn/GN5HRWFB.js +0 -4
  976. package/dist/cdn/GR2OHGMC.js +0 -4
  977. package/dist/cdn/GRS2QY5P.js +0 -4
  978. package/dist/cdn/GT6EOGZ6.js +0 -4
  979. package/dist/cdn/GTMK6V3D.js +0 -4
  980. package/dist/cdn/GVYPUT35.js +0 -4
  981. package/dist/cdn/GXJ5IYOR.js +0 -4
  982. package/dist/cdn/GZQAKLMC.js +0 -4
  983. package/dist/cdn/HAAU7WZM.js +0 -4
  984. package/dist/cdn/HB2PSUPM.js +0 -4
  985. package/dist/cdn/HDSFF3HE.js +0 -4
  986. package/dist/cdn/HE3LPKXN.js +0 -4
  987. package/dist/cdn/HE64BTSE.js +0 -24
  988. package/dist/cdn/HEDI53ZP.js +0 -4
  989. package/dist/cdn/HFLG5MNS.js +0 -4
  990. package/dist/cdn/HGA765MZ.js +0 -4
  991. package/dist/cdn/HGF7Z3Q3.js +0 -4
  992. package/dist/cdn/HKZXITBL.js +0 -4
  993. package/dist/cdn/HLU7RYHB.js +0 -4
  994. package/dist/cdn/HNFPSS2Z.js +0 -4
  995. package/dist/cdn/HOM37WQ7.js +0 -4
  996. package/dist/cdn/HPLFHJIO.js +0 -4
  997. package/dist/cdn/HPQ65HIO.js +0 -4
  998. package/dist/cdn/HQJXTN2U.js +0 -4
  999. package/dist/cdn/HRBTKCMD.js +0 -4
  1000. package/dist/cdn/HVFZEFND.js +0 -4
  1001. package/dist/cdn/HXUXRESK.js +0 -4
  1002. package/dist/cdn/HZRALMSV.js +0 -4
  1003. package/dist/cdn/I2F5WKXP.js +0 -4
  1004. package/dist/cdn/I3BQL42N.js +0 -4
  1005. package/dist/cdn/I5GKMCYE.js +0 -4
  1006. package/dist/cdn/IC5LPJNT.js +0 -4
  1007. package/dist/cdn/IDNRCBY2.js +0 -4
  1008. package/dist/cdn/IDYCU7FH.js +0 -4
  1009. package/dist/cdn/IFYWDQ3J.js +0 -4
  1010. package/dist/cdn/IG2PFI7K.js +0 -4
  1011. package/dist/cdn/IKYXVEGO.js +0 -4
  1012. package/dist/cdn/IN4MCADQ.js +0 -4
  1013. package/dist/cdn/INQBROVF.js +0 -4
  1014. package/dist/cdn/ISNKBJWW.js +0 -4
  1015. package/dist/cdn/IXAK7Z2P.js +0 -4
  1016. package/dist/cdn/IYGW2YE3.js +0 -4
  1017. package/dist/cdn/IYLM4C2F.js +0 -4
  1018. package/dist/cdn/IZDJZD2I.js +0 -4
  1019. package/dist/cdn/J2TYBEQW.js +0 -4
  1020. package/dist/cdn/J3ZUSQWQ.js +0 -4
  1021. package/dist/cdn/J65UH5J4.js +0 -4
  1022. package/dist/cdn/JAH2RPVW.js +0 -4
  1023. package/dist/cdn/JAQHN4NY.js +0 -4
  1024. package/dist/cdn/JBRHOESO.js +0 -4
  1025. package/dist/cdn/JC6AY56X.js +0 -4
  1026. package/dist/cdn/JCWZZZUV.js +0 -4
  1027. package/dist/cdn/JD3NAYYF.js +0 -4
  1028. package/dist/cdn/JDMTYYCY.js +0 -4
  1029. package/dist/cdn/JDX3ODLS.js +0 -4
  1030. package/dist/cdn/JETJYM7G.js +0 -4
  1031. package/dist/cdn/JJ6FTGZD.js +0 -4
  1032. package/dist/cdn/JKUJ7OGC.js +0 -4
  1033. package/dist/cdn/JLHZFM76.js +0 -4
  1034. package/dist/cdn/JMADCRIS.js +0 -4
  1035. package/dist/cdn/JN4QVSMG.js +0 -4
  1036. package/dist/cdn/JOH5LRK2.js +0 -4
  1037. package/dist/cdn/JQRYRCLI.js +0 -4
  1038. package/dist/cdn/JRCNOS6K.js +0 -4
  1039. package/dist/cdn/JREAHG7G.js +0 -4
  1040. package/dist/cdn/JSW2O6ZC.js +0 -4
  1041. package/dist/cdn/JT6MIKEJ.js +0 -4
  1042. package/dist/cdn/JVA2SONC.js +0 -4
  1043. package/dist/cdn/JXPBIZWF.js +0 -4
  1044. package/dist/cdn/JYVYSEAT.js +0 -4
  1045. package/dist/cdn/K4JZILP6.js +0 -4
  1046. package/dist/cdn/K7U6PRIW.js +0 -4
  1047. package/dist/cdn/KBCB7BAO.js +0 -4
  1048. package/dist/cdn/KCDBJ4EF.js +0 -4
  1049. package/dist/cdn/KCSUMLMP.js +0 -4
  1050. package/dist/cdn/KDYEX3F3.js +0 -4
  1051. package/dist/cdn/KFYG3U5M.js +0 -4
  1052. package/dist/cdn/KHWQGN4R.js +0 -4
  1053. package/dist/cdn/KHWYOLZI.js +0 -4
  1054. package/dist/cdn/KI7GTQTI.js +0 -4
  1055. package/dist/cdn/KJU3E5BQ.js +0 -4
  1056. package/dist/cdn/KK7UNEKI.js +0 -4
  1057. package/dist/cdn/KOSGSP4E.js +0 -4
  1058. package/dist/cdn/KPFDSLLN.js +0 -4
  1059. package/dist/cdn/KQM37P5U.js +0 -4
  1060. package/dist/cdn/KSWF42JR.js +0 -4
  1061. package/dist/cdn/KURDIWVF.js +0 -4
  1062. package/dist/cdn/KV3ZC75C.js +0 -4
  1063. package/dist/cdn/KVKG22QT.js +0 -4
  1064. package/dist/cdn/KVQ3QO67.js +0 -4
  1065. package/dist/cdn/KZSNJXWX.js +0 -4
  1066. package/dist/cdn/L2YVHBHP.js +0 -4
  1067. package/dist/cdn/LDMYJMMH.js +0 -4
  1068. package/dist/cdn/LELGX2WF.js +0 -4
  1069. package/dist/cdn/LEU3GGT4.js +0 -4
  1070. package/dist/cdn/LFWI5JTF.js +0 -5
  1071. package/dist/cdn/LFYUYU4T.js +0 -4
  1072. package/dist/cdn/LH7TVEZQ.js +0 -4
  1073. package/dist/cdn/LQHAWZKR.js +0 -4
  1074. package/dist/cdn/LSQUEXFK.js +0 -4
  1075. package/dist/cdn/LV3HMIG5.js +0 -4
  1076. package/dist/cdn/LVGINBTG.js +0 -4
  1077. package/dist/cdn/LVNGRVJ5.js +0 -4
  1078. package/dist/cdn/LVO7QKGM.js +0 -4
  1079. package/dist/cdn/LW24KSYA.js +0 -4
  1080. package/dist/cdn/LZOI57YJ.js +0 -4
  1081. package/dist/cdn/M256XJVZ.js +0 -25
  1082. package/dist/cdn/M3EYEAC3.js +0 -4
  1083. package/dist/cdn/M3XCVCVC.js +0 -4
  1084. package/dist/cdn/M45HHS5X.js +0 -4
  1085. package/dist/cdn/M4DURUI7.js +0 -4
  1086. package/dist/cdn/M4UARHCS.js +0 -4
  1087. package/dist/cdn/M5J43RIM.js +0 -6
  1088. package/dist/cdn/M5NDY5DI.js +0 -4
  1089. package/dist/cdn/M5YDGYZN.js +0 -4
  1090. package/dist/cdn/M7V37HD4.js +0 -4
  1091. package/dist/cdn/M7X3G7KX.js +0 -4
  1092. package/dist/cdn/MA23ELHD.js +0 -4
  1093. package/dist/cdn/MAAQMYUH.js +0 -4
  1094. package/dist/cdn/MAWWQZXT.js +0 -4
  1095. package/dist/cdn/MGJKZYQZ.js +0 -4
  1096. package/dist/cdn/MKDWF3OX.js +0 -4
  1097. package/dist/cdn/MKZDOEVY.js +0 -4
  1098. package/dist/cdn/MM2AFQVF.js +0 -4
  1099. package/dist/cdn/MMARV4P4.js +0 -4
  1100. package/dist/cdn/MNGNK6JH.js +0 -4
  1101. package/dist/cdn/MNVDHKHE.js +0 -4
  1102. package/dist/cdn/MPMIBVEG.js +0 -4
  1103. package/dist/cdn/MQDVHZLU.js +0 -4
  1104. package/dist/cdn/MQGYE7FD.js +0 -4
  1105. package/dist/cdn/MQYKJBHS.js +0 -4
  1106. package/dist/cdn/MUKIXIKE.js +0 -4
  1107. package/dist/cdn/MVFMFNMC.js +0 -4
  1108. package/dist/cdn/MWMXQKOQ.js +0 -4
  1109. package/dist/cdn/MWY2NW2E.js +0 -4
  1110. package/dist/cdn/MXVDKYBT.js +0 -4
  1111. package/dist/cdn/MYH6IKRB.js +0 -4
  1112. package/dist/cdn/N2CQG2XK.js +0 -4
  1113. package/dist/cdn/N4WWU5Z6.js +0 -42
  1114. package/dist/cdn/N5IW63ME.js +0 -4
  1115. package/dist/cdn/N62T4OHX.js +0 -4
  1116. package/dist/cdn/N76L3ROP.js +0 -4
  1117. package/dist/cdn/NAZGNXHX.js +0 -4
  1118. package/dist/cdn/NCZKWAIJ.js +0 -4
  1119. package/dist/cdn/NDAE2ZK7.js +0 -4
  1120. package/dist/cdn/NFRMAIOS.js +0 -4
  1121. package/dist/cdn/NKCQ7ZYZ.js +0 -59
  1122. package/dist/cdn/NLD63X4Z.js +0 -4
  1123. package/dist/cdn/NMBX7J7U.js +0 -4
  1124. package/dist/cdn/NN56OLRV.js +0 -4
  1125. package/dist/cdn/NN5QDF3E.js +0 -4
  1126. package/dist/cdn/NO6VPADI.js +0 -4
  1127. package/dist/cdn/NON77NUA.js +0 -4
  1128. package/dist/cdn/NP3WV2F3.js +0 -4
  1129. package/dist/cdn/NPI4TWSD.js +0 -4
  1130. package/dist/cdn/NPPLJVFM.js +0 -4
  1131. package/dist/cdn/NQVWTUJJ.js +0 -4
  1132. package/dist/cdn/NRJTNGWF.js +0 -4
  1133. package/dist/cdn/NTDOQHM6.js +0 -4
  1134. package/dist/cdn/NTV2WNES.js +0 -4
  1135. package/dist/cdn/NV3HRRKB.js +0 -4
  1136. package/dist/cdn/NW2BWMRM.js +0 -6
  1137. package/dist/cdn/NWXU22BU.js +0 -4
  1138. package/dist/cdn/NXRZUMI6.js +0 -4
  1139. package/dist/cdn/O22E2NZX.js +0 -4
  1140. package/dist/cdn/O2CL6PM3.js +0 -4
  1141. package/dist/cdn/O2KRQLO5.js +0 -4
  1142. package/dist/cdn/O3NWDBJH.js +0 -4
  1143. package/dist/cdn/O3XH6PXT.js +0 -4
  1144. package/dist/cdn/O4EGGNQD.js +0 -4
  1145. package/dist/cdn/O53D7LHU.js +0 -6
  1146. package/dist/cdn/O64R5HQE.js +0 -4
  1147. package/dist/cdn/O7XEU7PF.js +0 -4
  1148. package/dist/cdn/OBQCWAK5.js +0 -4
  1149. package/dist/cdn/ODDQRRM6.js +0 -4
  1150. package/dist/cdn/OG45V4AI.js +0 -4
  1151. package/dist/cdn/OG5MDHVQ.js +0 -4
  1152. package/dist/cdn/OGE7Y7BD.js +0 -5
  1153. package/dist/cdn/OHYC5RIK.js +0 -4
  1154. package/dist/cdn/OL7TAMJQ.js +0 -4
  1155. package/dist/cdn/OLNWAUFY.js +0 -4
  1156. package/dist/cdn/OMUFRDK7.js +0 -4
  1157. package/dist/cdn/ONP2PVQL.js +0 -4
  1158. package/dist/cdn/ONUNYMFO.js +0 -4
  1159. package/dist/cdn/OOIFCVLU.js +0 -4
  1160. package/dist/cdn/OQDPADD7.js +0 -4
  1161. package/dist/cdn/OSCH4J7P.js +0 -4
  1162. package/dist/cdn/OTPEYT3W.js +0 -4
  1163. package/dist/cdn/OTYLST6R.js +0 -4
  1164. package/dist/cdn/OTZFAGQX.js +0 -4
  1165. package/dist/cdn/OXS2BRKD.js +0 -4
  1166. package/dist/cdn/OYPL2ZRR.js +0 -4
  1167. package/dist/cdn/P2IN3BGL.js +0 -4
  1168. package/dist/cdn/P2JMH6AD.js +0 -4
  1169. package/dist/cdn/P4KDUIMT.js +0 -12
  1170. package/dist/cdn/P4NKV4O5.js +0 -4
  1171. package/dist/cdn/P5T2P3U5.js +0 -4
  1172. package/dist/cdn/PAL2EEMN.js +0 -4
  1173. package/dist/cdn/PEXJ26ZY.js +0 -4
  1174. package/dist/cdn/PHPCGLN4.js +0 -4
  1175. package/dist/cdn/PKPDA44C.js +0 -4
  1176. package/dist/cdn/PNFJUGQX.js +0 -4
  1177. package/dist/cdn/PRA6Q47A.js +0 -4
  1178. package/dist/cdn/PRMT3RMB.js +0 -4
  1179. package/dist/cdn/PRTSVVTZ.js +0 -4
  1180. package/dist/cdn/PW35OY7S.js +0 -4
  1181. package/dist/cdn/PYTUIZPE.js +0 -4
  1182. package/dist/cdn/PZHAG2EM.js +0 -4
  1183. package/dist/cdn/Q2GY24FD.js +0 -4
  1184. package/dist/cdn/Q3IOTXBF.js +0 -4
  1185. package/dist/cdn/Q4SBW6OZ.js +0 -4
  1186. package/dist/cdn/Q53QTJK6.js +0 -4
  1187. package/dist/cdn/Q7TJW7PD.js +0 -5
  1188. package/dist/cdn/Q7W6CFW2.js +0 -4
  1189. package/dist/cdn/QBZ7LPSE.js +0 -4
  1190. package/dist/cdn/QE4LZKV5.js +0 -4
  1191. package/dist/cdn/QEJDFTPG.js +0 -4
  1192. package/dist/cdn/QERA46JZ.js +0 -4
  1193. package/dist/cdn/QHLK7MLQ.js +0 -4
  1194. package/dist/cdn/QINO656L.js +0 -4
  1195. package/dist/cdn/QIZFQF3M.js +0 -4
  1196. package/dist/cdn/QJQUQDUA.js +0 -4
  1197. package/dist/cdn/QMT6HZNQ.js +0 -4
  1198. package/dist/cdn/QN3UUZWU.js +0 -4
  1199. package/dist/cdn/QQOG7HTV.js +0 -4
  1200. package/dist/cdn/QTTHA2WV.js +0 -4
  1201. package/dist/cdn/QZGU6VSM.js +0 -4
  1202. package/dist/cdn/R4IDIVEM.js +0 -4
  1203. package/dist/cdn/R5DU77KK.js +0 -4
  1204. package/dist/cdn/R6DAWUW3.js +0 -4
  1205. package/dist/cdn/R7A3TWGO.js +0 -4
  1206. package/dist/cdn/RC7MTKBT.js +0 -4
  1207. package/dist/cdn/RDUQYEZ2.js +0 -4
  1208. package/dist/cdn/RJAI4YRU.js +0 -4
  1209. package/dist/cdn/RJCGDUPC.js +0 -4
  1210. package/dist/cdn/RK3CNXNI.js +0 -4
  1211. package/dist/cdn/RONJYCOI.js +0 -4
  1212. package/dist/cdn/RQEHV66T.js +0 -4
  1213. package/dist/cdn/RT2FEAOP.js +0 -4
  1214. package/dist/cdn/RTCAHQHH.js +0 -4
  1215. package/dist/cdn/RXKCPUO7.js +0 -4
  1216. package/dist/cdn/RY3C2F5R.js +0 -4
  1217. package/dist/cdn/RYMN342G.js +0 -4
  1218. package/dist/cdn/RYTURVQW.js +0 -4
  1219. package/dist/cdn/RZRS57DF.js +0 -4
  1220. package/dist/cdn/S27W23MR.js +0 -4
  1221. package/dist/cdn/S53IO47P.js +0 -4
  1222. package/dist/cdn/S556FX7I.js +0 -4
  1223. package/dist/cdn/S5D35V34.js +0 -4
  1224. package/dist/cdn/S5ICQSXR.js +0 -4
  1225. package/dist/cdn/S77EUVIU.js +0 -4
  1226. package/dist/cdn/SB4I2EES.js +0 -4
  1227. package/dist/cdn/SC3AXIXZ.js +0 -4
  1228. package/dist/cdn/SCXVON4F.js +0 -4
  1229. package/dist/cdn/SD5SDHCC.js +0 -4
  1230. package/dist/cdn/SEMQHJLU.js +0 -4
  1231. package/dist/cdn/SEYYDED4.js +0 -4
  1232. package/dist/cdn/SF6K3URU.js +0 -4
  1233. package/dist/cdn/SGEFXXEL.js +0 -4
  1234. package/dist/cdn/SHZTLI2W.js +0 -4
  1235. package/dist/cdn/SJV2QLH6.js +0 -4
  1236. package/dist/cdn/SLYW4VH6.js +0 -4
  1237. package/dist/cdn/SMHVGXAL.js +0 -4
  1238. package/dist/cdn/SN3KAYYX.js +0 -4
  1239. package/dist/cdn/SPEPIABG.js +0 -4
  1240. package/dist/cdn/SPV4RXR4.js +0 -4
  1241. package/dist/cdn/SQIDEVND.js +0 -4
  1242. package/dist/cdn/SRODLZRE.js +0 -4
  1243. package/dist/cdn/SST2IOXX.js +0 -4
  1244. package/dist/cdn/SWLUXVL6.js +0 -4
  1245. package/dist/cdn/SXPSZXLH.js +0 -4
  1246. package/dist/cdn/T3JG2U4C.js +0 -4
  1247. package/dist/cdn/T42H3QXT.js +0 -4
  1248. package/dist/cdn/T437PV3H.js +0 -4
  1249. package/dist/cdn/TAILHIXQ.js +0 -5
  1250. package/dist/cdn/TAJMKGPZ.js +0 -4
  1251. package/dist/cdn/TCI2XX4A.js +0 -4
  1252. package/dist/cdn/TDMPNC2Q.js +0 -4
  1253. package/dist/cdn/TDOMKMCH.js +0 -4
  1254. package/dist/cdn/TEXBJUDM.js +0 -4
  1255. package/dist/cdn/TFUKS5AQ.js +0 -4
  1256. package/dist/cdn/TMOK3LWW.js +0 -4
  1257. package/dist/cdn/TNXQ6257.js +0 -4
  1258. package/dist/cdn/TQ4WV66J.js +0 -4
  1259. package/dist/cdn/TQHIYQI6.js +0 -4
  1260. package/dist/cdn/TSBJUZTP.js +0 -4
  1261. package/dist/cdn/TU64ZD24.js +0 -4
  1262. package/dist/cdn/TVDMSGG5.js +0 -4
  1263. package/dist/cdn/TWAQSR2S.js +0 -4
  1264. package/dist/cdn/U5CGPYA5.js +0 -11
  1265. package/dist/cdn/U62SUUIT.js +0 -4
  1266. package/dist/cdn/U7PIQUXL.js +0 -4
  1267. package/dist/cdn/UAGLGYOW.js +0 -4
  1268. package/dist/cdn/UBLSKE5L.js +0 -4
  1269. package/dist/cdn/UFQ7YELG.js +0 -4
  1270. package/dist/cdn/UFZEZV56.js +0 -4
  1271. package/dist/cdn/UGIORBGC.js +0 -4
  1272. package/dist/cdn/UH3YO42L.js +0 -4
  1273. package/dist/cdn/UHX7K2D4.js +0 -4
  1274. package/dist/cdn/UIOR4L22.js +0 -4
  1275. package/dist/cdn/UIRSJEAH.js +0 -4
  1276. package/dist/cdn/ULG2J25G.js +0 -4
  1277. package/dist/cdn/UMZAV2BP.js +0 -4
  1278. package/dist/cdn/UNRGTDAC.js +0 -4
  1279. package/dist/cdn/UOKUD72C.js +0 -4
  1280. package/dist/cdn/UPN3273Z.js +0 -4
  1281. package/dist/cdn/UQH26EK7.js +0 -4
  1282. package/dist/cdn/UXA7GF6G.js +0 -4
  1283. package/dist/cdn/UYUFJHKI.js +0 -4
  1284. package/dist/cdn/UZ2P3YSV.js +0 -4
  1285. package/dist/cdn/V25BCJSV.js +0 -4
  1286. package/dist/cdn/V2E3TZMA.js +0 -4
  1287. package/dist/cdn/V2WTL6AE.js +0 -4
  1288. package/dist/cdn/VAPAUWOG.js +0 -4
  1289. package/dist/cdn/VB3EKVPO.js +0 -4
  1290. package/dist/cdn/VCKSQKFR.js +0 -4
  1291. package/dist/cdn/VE46CPC6.js +0 -4
  1292. package/dist/cdn/VFQQNUNA.js +0 -5
  1293. package/dist/cdn/VGXHFI3Q.js +0 -4
  1294. package/dist/cdn/VHIFVMIX.js +0 -4
  1295. package/dist/cdn/VHOYJFVT.js +0 -4
  1296. package/dist/cdn/VJKJTXYG.js +0 -4
  1297. package/dist/cdn/VNIWEDQX.js +0 -4
  1298. package/dist/cdn/VQNNER7Z.js +0 -4
  1299. package/dist/cdn/VR2UDKVT.js +0 -4
  1300. package/dist/cdn/VUGPGARR.js +0 -4
  1301. package/dist/cdn/VUNKYYBK.js +0 -4
  1302. package/dist/cdn/VVPJJCIZ.js +0 -4
  1303. package/dist/cdn/VWDWGOYV.js +0 -4
  1304. package/dist/cdn/VX747S3I.js +0 -4
  1305. package/dist/cdn/VX7E2FMB.js +0 -4
  1306. package/dist/cdn/VYS3AN3Z.js +0 -4
  1307. package/dist/cdn/VZH3ED4H.js +0 -52
  1308. package/dist/cdn/W35X7526.js +0 -4
  1309. package/dist/cdn/W4ZIBH4C.js +0 -4
  1310. package/dist/cdn/W6WRL7VP.js +0 -4
  1311. package/dist/cdn/WAVBUXBN.js +0 -4
  1312. package/dist/cdn/WCPKR74A.js +0 -4
  1313. package/dist/cdn/WD34WKOO.js +0 -4
  1314. package/dist/cdn/WDBHENRJ.js +0 -4
  1315. package/dist/cdn/WDXBIUK2.js +0 -4
  1316. package/dist/cdn/WEWTMBSD.js +0 -4
  1317. package/dist/cdn/WFIFUTZX.js +0 -4
  1318. package/dist/cdn/WGPLL6CS.js +0 -4
  1319. package/dist/cdn/WM53WX4M.js +0 -4
  1320. package/dist/cdn/WMVEEPX3.js +0 -4
  1321. package/dist/cdn/WRH4OIJR.js +0 -4
  1322. package/dist/cdn/WSWMRQDV.js +0 -4
  1323. package/dist/cdn/WTNI3IEA.js +0 -4
  1324. package/dist/cdn/WTT6YGCE.js +0 -4
  1325. package/dist/cdn/WUPPGDDM.js +0 -4
  1326. package/dist/cdn/WW2IZOJZ.js +0 -4
  1327. package/dist/cdn/WWTUVEVY.js +0 -4
  1328. package/dist/cdn/WX65SSCL.js +0 -4
  1329. package/dist/cdn/WXHV7SUH.js +0 -4
  1330. package/dist/cdn/WXZOWWCO.js +0 -4
  1331. package/dist/cdn/X5YFOZ7W.js +0 -4
  1332. package/dist/cdn/X7XAV3NS.js +0 -4
  1333. package/dist/cdn/XAQQMTKP.js +0 -4
  1334. package/dist/cdn/XB5QZMU5.js +0 -4
  1335. package/dist/cdn/XBSNASGY.js +0 -4
  1336. package/dist/cdn/XC65MRV6.js +0 -4
  1337. package/dist/cdn/XDLYD4PS.js +0 -4
  1338. package/dist/cdn/XDSDA7LY.js +0 -4
  1339. package/dist/cdn/XGDY3ZVS.js +0 -4
  1340. package/dist/cdn/XKVHJAA3.js +0 -4
  1341. package/dist/cdn/XOAU63CI.js +0 -4
  1342. package/dist/cdn/XPGWK7MM.js +0 -51
  1343. package/dist/cdn/XPXR3Q7W.js +0 -4
  1344. package/dist/cdn/XRM3DVCS.js +0 -5470
  1345. package/dist/cdn/XSPEASD4.js +0 -4
  1346. package/dist/cdn/XTF76KN3.js +0 -4
  1347. package/dist/cdn/XTVERASR.js +0 -4
  1348. package/dist/cdn/XVGFJYRF.js +0 -4
  1349. package/dist/cdn/XX4UNFGF.js +0 -4
  1350. package/dist/cdn/XYHWTVFT.js +0 -4
  1351. package/dist/cdn/Y5A2XCH6.js +0 -4
  1352. package/dist/cdn/Y6BLR43L.js +0 -4
  1353. package/dist/cdn/Y7YIXYDY.js +0 -4
  1354. package/dist/cdn/YAS57MR2.js +0 -4
  1355. package/dist/cdn/YBJVEZMI.js +0 -4
  1356. package/dist/cdn/YBQDOCXE.js +0 -4
  1357. package/dist/cdn/YCRUNJKW.js +0 -4
  1358. package/dist/cdn/YDSNO2HY.js +0 -4
  1359. package/dist/cdn/YDYDGORJ.js +0 -4
  1360. package/dist/cdn/YECOV4PE.js +0 -4
  1361. package/dist/cdn/YEXUL3QE.js +0 -4
  1362. package/dist/cdn/YNDZL6R6.js +0 -4
  1363. package/dist/cdn/YOCIVBQ5.js +0 -4
  1364. package/dist/cdn/YPYXKZGC.js +0 -4
  1365. package/dist/cdn/YRGUABRG.js +0 -4
  1366. package/dist/cdn/YWBBQASZ.js +0 -4
  1367. package/dist/cdn/YY4EHMHP.js +0 -4
  1368. package/dist/cdn/YZHDXVM4.js +0 -4
  1369. package/dist/cdn/Z2SBGR6Z.js +0 -4
  1370. package/dist/cdn/Z4JULPK3.js +0 -4
  1371. package/dist/cdn/Z4KHYOJJ.js +0 -4
  1372. package/dist/cdn/Z6BXOTPX.js +0 -4
  1373. package/dist/cdn/ZAI2TABZ.js +0 -4
  1374. package/dist/cdn/ZDBQKIW4.js +0 -4
  1375. package/dist/cdn/ZF473CIW.js +0 -4
  1376. package/dist/cdn/ZF6JDLBF.js +0 -4
  1377. package/dist/cdn/ZH3QTPKA.js +0 -4
  1378. package/dist/cdn/ZHVYZ5OL.js +0 -4
  1379. package/dist/cdn/ZLY5PB43.js +0 -4
  1380. package/dist/cdn/ZMKTTDYR.js +0 -4
  1381. package/dist/cdn/ZNRWA23M.js +0 -4
  1382. package/dist/cdn/ZSQTZDYM.js +0 -4
  1383. package/dist/cdn/ZTIVQN4G.js +0 -4
  1384. package/dist/cdn/ZTRATMC4.js +0 -4
  1385. package/dist/cdn/ZU73I3KQ.js +0 -4
  1386. package/dist/cdn/ZUJGYXSR.js +0 -4
  1387. package/dist/cdn/ZY66CIJE.js +0 -4
  1388. package/dist/cdn/ZYDSP7BG.js +0 -4
  1389. package/dist/cdn/ZYSKPQEW.js +0 -4
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import b from"./GDRLFGHZ.js";import"./GTRZQTZG.js";import"./T7R2GGPI.js";import"./5XDXSPJO.js";import"./IR73VHB4.js";import"./YJW2PDXB.js";import{a as n}from"./GSAH36AV.js";import"./D7Q3QB2N.js";import"./ENRGL6DT.js";import{a}from"./7ICENQAA.js";import"./TQXADY2E.js";import{a as i}from"./MTJTB24B.js";import"./GOPDQJWC.js";import"./Q7ONETZX.js";import{b as o,c,d as r,e as h,i as m}from"./5F6BCIX4.js";import"./CFYCHZX2.js";import"./QXSGEVKY.js";import"./QOMO3OEO.js";import"./IG4VVTPY.js";import"./IKKSHB6P.js";import"./2RBKQ43M.js";import"./DSYJTVIZ.js";import"./XQHB3QIQ.js";import"./3HMLSJ3B.js";import"./C3NCECMA.js";export default $arcgis.t(([{watch:d},p,,{o:l}])=>{var P=class{constructor(t){m(this,t),this.hubTelemetry=h(this,"hubTelemetry",7),this.handles=[],this.view=void 0,this.scale="m",this.disabled=void 0,n(this,"zoomToInitialExtent","updateState")}async componentWillLoad(){let{el:t}=this;this.intl=await i.loadIntlForComponent(t);let[e]=await Promise.all([i.loadIntlForComponent(t),this.connectViewModel()]);this.intl=e,this.connectWatch(),l()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}handleViewChange(t,e){t&&t!==e&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}connectWatch(){let{view:t,handles:e,homeViewModel:s}=this;t&&s&&e.push(d(()=>s.state,this.updateState))}removeWatch(){let{handles:t}=this;t.forEach(e=>{e.remove()}),this.handles=[]}async connectViewModel(){let{view:t}=this;if(t){await t.when(),this.homeViewModel=new p({view:t});let{state:e}=this.homeViewModel;this.updateState(e)}}updateState(t){this.disabled=t==="disabled"||t==="going-home"}zoomToInitialExtent(){let{homeViewModel:t}=this;t&&(t.go(),this.hubTelemetry.emit(Object.assign(Object.assign({},a.dictionary.category.interaction.action.zoom.label.to),{details:"Home"})))}async setViewpoint(t){let{homeViewModel:e}=this;e&&(e.viewpoint=t)}render(){let{scale:t,disabled:e}=this;return o(c,{key:"ae9c45144d4a5eff056a08ee20498073de32c1d3","data-element":"map-widget-home"},o("arcgis-hub-map-widget-generic",{key:"1b3f989c5370297a0a28d09c3b7853c623c52192",disabled:e,icon:"home",onClick:this.zoomToInitialExtent,scale:t,text:this.intl.t("home")}))}static get assetsDirs(){return["locales"]}get el(){return r(this)}static get watchers(){return{view:["handleViewChange"]}}};return P},"core/reactiveUtils","widgets/Home/HomeViewModel","config",b)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{a as zl,b as Yl}from"./X62E337L.js";import{a as bd,b as Td}from"./P2GH7ZUF.js";import{a as Kl}from"./IYERGH44.js";import{a as Bm,b as zm,c as Ym,d as Km,e as Wm,f as qm}from"./M3PCNN7S.js";import{a as od,b as nd}from"./QIGYMY3T.js";import{a as hd}from"./P5ME7AYB.js";import{a as Et}from"./PZ55JPBP.js";import{a as De,b as Ne,c as Qm}from"./OY5DF4XZ.js";import{a as Jm,b as Xm,c as Zm}from"./RMROOXNS.js";import{a as ed,b as td,c as rd,d as sd}from"./RXAYJTYR.js";import{a as id}from"./2UJZ6EP7.js";import{a as tu}from"./CJJ6RX7Z.js";import{a as Em,b as Sm}from"./EBCJXZCC.js";import{a as eu}from"./VNQNU22Z.js";import{a as Wc,b as qc,c as ft,d as Qc,e as Jc}from"./R7SICWW6.js";import{a as ql,b as Ql}from"./VBO5SPHG.js";import{a as I,b as dd,c as pd,d as fd}from"./3GH7X76N.js";import{a as kl,b as Bl}from"./LQKRTR6W.js";import{a as we,b as jl}from"./LF4GI6M2.js";import{a as Fl,b as $l,c as Vl}from"./LREJJC3W.js";import{a as Nl,b as Hl,c as Gl}from"./5ICSJRI6.js";import{a as Tm}from"./QD7NNKKW.js";import{a as Wl}from"./TA7JX4RX.js";import{a as gd}from"./VY5HZYAT.js";import{a as hc}from"./LP62MHGW.js";import{a as Me}from"./CAS4JTPJ.js";import{a as Cm,b as Am,c as Pm,d as vm,e as Um,f as Om,g as _m,h as xm,i as H,j as Rm,k as wm,l as Mm,m as Dm,n as ht,o as yt,p as bt,q as Tt,r as Nm,s as Hm,t as Gm,u as Lm,v as Fm}from"./DCJ4NP4L.js";import{a as Im}from"./XZ4J332E.js";import{a as im,b as cm,c as um,d as lm,e as mm,f as dm,g as pm,h as fm}from"./A3XRC3FE.js";import{a as $m,b as Vm}from"./TAPHPQMD.js";import{a as Ll}from"./H5BLKOJS.js";import{a as Xc}from"./RC4BXYNG.js";import{a as Zc}from"./AY7CA26P.js";import{a as Yc,b as Kc}from"./L7RK2HIO.js";import{c as yc,g as bc}from"./WDXTSPL6.js";import{a as Jl,b as Xl}from"./HT56P4RP.js";import{b as He}from"./PFNZW3H2.js";import{a as jm}from"./XJLF2KBN.js";import{a as md}from"./LLHHBV3W.js";import{a as Fe}from"./5EEMTUKK.js";import{a as km}from"./NIYSJ4R7.js";import{a as em,b as tm,c as rm,d as sm,e as am,f as om,g as nm}from"./ON53RAV4.js";import{a as x,b as z}from"./HHA547QI.js";import{a as da}from"./AFD2GQ53.js";import{a as yd}from"./NU5URHSQ.js";import{a as cd,b as ud,c as ld}from"./OGDO4NVX.js";import{a as ym,b as bm}from"./S4LGMGA2.js";import{a as Ed}from"./GM4NIPJE.js";import{a as Zl}from"./V7THFSY7.js";import{a as gm}from"./NRHSUHDW.js";import{a as Le,b as ad}from"./D7Q4UD4Y.js";import{a as Ge}from"./RTQXXIWA.js";import{a as yl,b as bl,c as Tl,d as El,e as Sl,f as Il,g as Cl,h as Al,i as Pl,j as vl,k as Ul,l as Ol,m as _l,n as xl,o as Rl,p as wl,q as Ml,r as Dl}from"./WPXU7TXW.js";import{b as Ju}from"./7U5EPFXT.js";import{a as ml,b as dl,c as pl,d as fl,e as gl}from"./KYZ2S5LZ.js";import{a as nl}from"./JIXBWIQ5.js";import{d as il,e as cl,f as ul,g as ll}from"./MO7HS5QD.js";import{a as gt,b as zu,c as Yu,d as Ku,f as Wu,g as qu,h as Qu,i as xe}from"./AXRR7BVA.js";import{a as yu}from"./P63CHL57.js";import{a as ol}from"./CYXR752I.js";import{a as el}from"./6NPJ2OEA.js";import{a as J,b as Re}from"./UP6ZPTHZ.js";import{a as Zu}from"./YYRUCSFM.js";import{a as gu,b as hu}from"./EOZBS2KQ.js";import{a as pu}from"./VDZLJFM6.js";import{a as hl}from"./W42YDAVX.js";import"./4ATSK6CO.js";import"./UNLHFBGN.js";import{a as su,b as au}from"./SOJSJDRA.js";import"./P2REOXVZ.js";import{a as ru}from"./GO2VSR7L.js";import"./566BG5MV.js";import"./VNX5CRJZ.js";import"./772RJXJX.js";import"./4V5NL34I.js";import"./D6ICPJ5Q.js";import{a as Xu}from"./N3VUUB7J.js";import{a as ou,b as nu}from"./C3FH4PAV.js";import"./QXH3M66H.js";import{a as ju,b as ku,c as Bu}from"./QD2OFV2J.js";import{a as bu,b as Tu,c as Eu,d as Su,e as Iu,f as Cu,g as Au,h as Pu,i as vu,j as Uu,k as Ou,l as _u,m as xu,n as Ru,o as wu,p as Mu,q as Du,r as Nu,s as Hu}from"./XJOVEXQJ.js";import{a as Gu,b as Lu}from"./S5IPWUNS.js";import{c as Lc,d as Fc,e as $c,f as Vc,g as jc,h as kc,i as Bc,j as zc}from"./KOF3VNB5.js";import{a as du}from"./XQ43IQQ7.js";import{a as Fu}from"./653QMSEO.js";import{a as tl,b as rl,c as sl,d as al}from"./7DBWNIJY.js";import{a as fu}from"./VMWOQIEI.js";import{a as ki,b as Bi,c as zi,d as Yi,e as Ki,f as Wi,g as qi,h as Qi,i as Ji,j as Xi,l as Zi,m as ec,n as tc,o as rc,p as sc,q as ac,r as oc}from"./ZA7UIOU7.js";import{b as mc,c as dc,d as pc,e as fc,f as gc}from"./DWJOGA7F.js";import{e as Vo}from"./RTAA52PD.js";import"./XKL36I6I.js";import{a as cc,b as uc,c as lc}from"./5E4MJBCH.js";import"./OGWW6G7O.js";import{a as $o}from"./WPOLCNYN.js";import{a as Lo,b as Fo}from"./UDHANQOD.js";import{a as iu,b as cu,c as uu,d as lu,e as mu}from"./OBY4EBBN.js";import{a as vc,b as Uc,c as Oc,d as _c,e as xc,f as Rc,g as wc,h as Mc,j as Dc,k as Nc,m as Hc,n as Gc}from"./Y6OFIALG.js";import{a as Ec,b as Sc}from"./KL5VHB7E.js";import{a as dt,b as E,c as pt}from"./E4K5EEAG.js";import{b as Ho,c as Ee}from"./UWRAOWV3.js";import{a as D}from"./V5NH2NB4.js";import{b as lt,c as mt,d as Gi,e as Li,j as Fi,k as $i,l as Vi,m as ji}from"./WMSSSASV.js";import{a as ge}from"./VA42NCE7.js";import"./RAWIUJQX.js";import"./76XK22NS.js";import{a as nc,b as ic}from"./ODO3SFMF.js";import{a as _i,b as xi,c as Ri,d as wi,e as Mi,f as Di,g as Ni,h as Hi}from"./SLMLNO4N.js";import{a as _o,b as xo,c as Ro,d as wo,e as Mo,f as Do}from"./CXAZBPXA.js";import{a as Oe,b as N,c as Cc,d as _e,e as Ac,f as Pc,h as Q}from"./MIGRWBFQ.js";import{a as Vu}from"./ZOEG5BAS.js";import{a as Ic}from"./DMQJPBWK.js";import{c as Tc}from"./RK3ERC5X.js";import"./ACS4GCTS.js";import{$ as Ai,A as Jn,B as Xn,C as Zn,D as ei,E as ti,F as ri,G as si,H as ai,I as oi,J as ni,K as ii,L as ci,M as ui,N as li,O as mi,P as di,Q as pi,R as fi,S as gi,T as hi,U as yi,V as bi,W as Ti,X as Ei,Y as Si,Z as Ii,_ as Ci,a as vn,aa as Pi,b as Un,ba as vi,c as On,ca as Ui,d as _n,da as Oi,f as xn,g as Rn,h as wn,i as Mn,j as Dn,k as Nn,l as Hn,m as Gn,n as Ln,o as Fn,p as $n,q as Vn,r as jn,s as kn,t as Bn,u as zn,v as Yn,w as Kn,x as Wn,y as qn,z as Qn}from"./5QVTPPCZ.js";import{a as ve}from"./3VLZGGY3.js";import{a as Ue}from"./FZP6G2BG.js";import{b as Pn}from"./BQ3DEWBJ.js";import"./NE6DQ3U5.js";import"./3WQZZTR2.js";import{a as Go,b as Se}from"./674MO6TQ.js";import{a as q}from"./JY77GCJP.js";import{A as ln,B as mn,C as dn,D as pn,E as fn,F as gn,G as hn,J as Pe,L as yn,M as bn,N as Tn,O as En,P as Sn,Q as In,R as Cn,S as An,a as Wo,b as qo,c as Ae,d as Qo,e as Jo,g as Xo,h as Zo,j as en,l as tn,m as rn,n as sn,o as an,p as on,q as nn,r as cn,z as un}from"./POUOKKUL.js";import"./4BLXJQGP.js";import{a as Ko}from"./LJS6EKNQ.js";import{$ as yo,A as za,B as Ya,C as Ka,D as Wa,E as qa,F as Qa,G as Ja,H as Xa,I as Za,J as eo,K as to,L as ro,M as so,N as ao,O as oo,Q as no,R as io,S as fe,T as co,U as uo,V as lo,W as mo,X as po,Y as fo,Z as go,_ as ho,a as Ga,aa as bo,b as La,ba as To,ca as Eo,da as So,e as me,ea as Io,f as Fa,fa as Co,g as $a,ga as Ao,h as ut,ha as Po,ia as vo,ja as Uo,ka as Oo,q as de,s as Va,t as ja,u as ka,v as R,w,x as K,y as pe,z as Ba}from"./LG4EBIZP.js";import{a as ct}from"./NZ6QO3C3.js";import{d as Na,e as Y,f as Ha}from"./47IFZNB3.js";import{a as S,b as fa,c as ga,d,e as ha,f as ya,g as ba,h as Ta,i as Ea,j as Sa,k as Ia,l as Ca,m as Aa,n as Pa,o as va,p as Ua,t as Oa,u as _a,v as le}from"./2YEMMFLT.js";import{a as xa,b as Ra,c as wa,d as Ma}from"./CKOX2EA4.js";import"./JAYMTDTH.js";import{a as Ys}from"./ZF3ZEDPX.js";import{a as jo,b as ko,c as Bo}from"./OZCWHH4C.js";import{a as Ie,b as zo,c as Yo,d as Ce}from"./JEU7742G.js";import{a as ca,b as ua,c as la,d as ma}from"./2H7QFFBJ.js";import{a as it}from"./LWUUYWQF.js";import{a as zs}from"./MGEMJ7VA.js";import{a as qs,b as ie,c as ce,d as Qs,e as Js,f as Xs,g as ue,h as Zs,i as ea,j as ta,k as ra,l as _,m as sa,n as aa,o as oa,p as na,q as ia,r as B}from"./3CEIJLDC.js";import{a as Ks,b as Ws}from"./4QG5TRVU.js";import"./H3LAVVE4.js";import{a as Da}from"./5QJTGDEG.js";import{a as P}from"./CORVV5PK.js";import{a as gs,b as hs,c as ys,d as bs,e as Ts,f as Es,g as Ss,h as Is}from"./K6XPLD5F.js";import{a as wr,b as Mr}from"./HRD7XXYD.js";import{a as L}from"./WMW2OH6G.js";import"./UV3FUU65.js";import"./2OVC4FON.js";import{a as as,b as os,c as ns,e as is,f as cs,g as us,h as ls,i as ms,j as re,k as ds,l as ps}from"./HVJFMFYV.js";import{a as T}from"./PEZ3GDL2.js";import{a as Ms,b as Ds,c as Ze,d as et,g as Ns,h as Hs,i as Gs,j as Ls,k as Fs,l as $s,m as Vs,n as js,o as j}from"./OXY7S7ND.js";import{a as Rs,b as ws}from"./WHB7UC4B.js";import{a as _s}from"./5WH43MAE.js";import{a as xs}from"./7GBWB64S.js";import{a as fs}from"./UJWJUOSA.js";import"./W7G3XU5R.js";import"./RPY5YDSG.js";import{a as A,b as Jr,c as oe,d as Us,h as Os,n as Qe,o as Je,x as Xe}from"./K67LUDPL.js";import{a as $,b as vs}from"./ULEEEKXR.js";import{a as Tr,b as Er,c as Sr,d as Ir,e as Cr,f as Ar,g as Pr,h as vr,i as Ur,j as Or,k as _r,l as xr,m as Rr}from"./5BZA4U23.js";import"./EJTCEJNM.js";import{c as nt}from"./GTRZQTZG.js";import{a as ne}from"./T7R2GGPI.js";import{d as tt,e as rt,f as k,g as st,h as at,i as ot}from"./FD2B47CB.js";import"./5XDXSPJO.js";import"./IR73VHB4.js";import{b as ze,c as Ye,d as Ke,h as We}from"./YJW2PDXB.js";import{a as hm}from"./QJI6DWTP.js";import{a as $u}from"./PHHJVKSR.js";import{a as Bs}from"./EFC2DBKG.js";import{a as No,b as he,c as ye,d as be,e as Te,f as M,g as W}from"./3CE4HE7L.js";import{a as pa}from"./VLNNKRSD.js";import{a as ae}from"./ZMDRLGES.js";import{a as se}from"./VM7DLB4D.js";import{a as ks}from"./YSSP6ELS.js";import{a as Ps}from"./CFYCHZX2.js";import{k as Zr,l as es,m as ts,n as rs,o as ss}from"./QXSGEVKY.js";import{a as y}from"./QOMO3OEO.js";import{a as As}from"./IG4VVTPY.js";import{a as qe,c as V,d as Cs}from"./IKKSHB6P.js";import{a as Xr}from"./2RBKQ43M.js";import{a as f,b as Dr,c as Nr,d as te,e as Hr,f as Gr,g as Lr,h as Fr,i as $r,j as F,k as Vr,l as jr,m as kr,n as Br,o as zr,p as Yr,q as Kr,r as Wr,s as qr,t as Qr}from"./DSYJTVIZ.js";import{a as m}from"./XQHB3QIQ.js";import"./3HMLSJ3B.js";import"./C3NCECMA.js";function hg(e,t){let r=!1;if(x(t)){let s=e.initiative?m(e,"initiative.item.properties.collaborationGroupId"):m(e,"site.properties.collaborationGroupId"),{groups:a=[]}=t;r=!!s&&!!te(a,"id",s)}return r}function yg(e,t){let r=!1;return!m(e,"properties.isDefaultHubHome")&&x(t)&&(r=z(e,t)),r}var Sd=["portal:user:createGroup","portal:user:createItem","portal:user:shareToGroup","portal:user:viewOrgGroups","portal:user:viewOrgItems"];function bg(e,t){let r=!1,s=m(e,"properties.isDefaultHubHome"),a=x(t);if(!s&&a)r=z(e,t);else if(a){let o=t.orgId,n=e.orgId;if(!!o&&o===n){let c=t.privileges||[];r=Sd.every(l=>P(c,l))}}return r}var Tg=(e,t,r)=>{let s=f(e),a=_(e);return ae("type",a,s),Ee({item:s},t,r)};function Id(e=""){console.warn("DEPRECATED: Use getFamily() instead. getCategory will be removed at the next breaking version");let t=qe(e);return t==="feedback"?"app":t}function Eg(e=""){return ce[e.toLowerCase()]}function Sg(e={}){console.warn("DEPRECATED: getTypeCategories will be removed at the next breaking version");let t=_(e),r=Id(t);if(r){let s=Array.from(r);return s[0]=s[0].toUpperCase(),[s.join("")]}else return["Other"]}function Ig(e,t){if(P(["template","feedback"],e.family))return e.id;if(Je(e.type,e.typeKeywords)){let s=(m(t,"data.values.pages")||[]).find(o=>o.id===e.id);return s?s.slug:de(e.item).split(ut).pop()}if(e.slug){let r,s=m(t,"domainInfo.orgKey");return m(t,"data.values.isUmbrella")?r=e.slug:r=Ce(e.slug,s),r}return e.hubId||e.id}function Cg(e){return B(e)}function Ag(e){let t=Cd(e),{errors:r,boundary:s,metadata:a,slug:o,groupIds:n,orgId:i,orgName:c,organization:l,orgExtent:u,server:p,layers:h,layer:b,recordCount:v,statistics:U,extent:O,searchDescription:X}=e.attributes,Z=b&&b.id;return B(t,{layerId:Z,slug:o,errors:r,metadata:a||null,groupIds:n,org:i&&{id:i,name:c||l,extent:u},server:p,layers:h,recordCount:v,boundary:s,extent:O,searchDescription:X,statistics:U})}function Cd(e){if(!e)return;let{id:t,attributes:r}=e;if(!r)return;let{itemId:s}=Ie(t),{owner:a,orgId:o,created:n,modified:i,name:c,title:l,type:u,typeKeywords:p,description:h,snippet:b,tags:v,thumbnail:U,categories:O,contentStatus:X,spatialReference:Z,accessInformation:Be,licenseInfo:Yt,culture:Kt,url:ee,access:Wt,proxyFilter:qt,properties:Qt,appCategories:Jt,industries:Xt,languages:Zt,largeThumbnail:er,banner:tr,screenshots:rr,listed:sr,ownerFolder:ar,size:or,protected:nr,commentsEnabled:ir,numComments:cr,numRatings:ur,avgRating:lr,numViews:mr,itemControl:dr,scoreCompleteness:pr,itemExtent:fr,itemModified:gr,modifiedProvenance:hr,serviceSpatialReference:yr}=r,br=ee&&Se(ee);return{id:s,owner:a,orgId:o,created:n,modified:gr||hr==="item.modified"&&i,title:l||c,type:br||u,typeKeywords:p,description:h,tags:v,snippet:b,thumbnail:U,extent:fr||[],categories:O,contentStatus:X,spatialReference:Z||yr,accessInformation:Be,licenseInfo:Yt,culture:Kt,url:ee,access:Wt,size:or,protected:nr,proxyFilter:qt,properties:Qt,appCategories:Jt,industries:Xt,languages:Zt,largeThumbnail:er,banner:tr,screenshots:rr,listed:sr,ownerFolder:ar,commentsEnabled:ir,numComments:cr,numRatings:ur,avgRating:lr,numViews:mr,itemControl:dr,scoreCompleteness:pr}}var Pg=(e,t)=>{let r=_(Object.assign(Object.assign({},e.item),{type:t})),s=V(r),a=ue(r),o=Ad(r,e.isProxied),n=Object.assign(Object.assign({},e),{type:r,family:s,contentTypeIcon:a,contentTypeLabel:o});return Pd(n,{relative:vd(n)})},Ad=(e,t)=>t?"CSV":F(e||""),Pd=(e,t)=>{let r=Object.assign(Object.assign({},e.urls),t);return Object.assign(Object.assign({},e),{urls:r})},vd=(e,t)=>Qe(e.type,t||e.identifier,e.typeKeywords),C=e=>({kind:"service",service:{availability:e}});async function vg(e,t){let{timeout:r=3e3}=t,s=q(t,["timeout"]),{url:a}=e;if(!!!a)return C("available");let n=a.includes("?");if(ge(n?a.split("?")[0]:a)){let c=it(Object.assign({url:a},s)).then(()=>C("available")).catch(u=>{if(u.response){let p=u.response.error.code,h=[401,403,499].includes(p);return C(h?"auth-required":"unavailable")}else return C("auth-required")});return Promise.race([c,await we(r)]).then(u=>u||C("slow"))}else return C("available")}var St;(function(e){e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info"})(St||(St={}));var Ud=["portal","discussions","events","metrics","notifications","hub-search","domains","hub-downloads","hub-ai-assistant"];function Ug(e){return Ud.includes(e)}var It;(function(e){e.CREATED_AT="createdAt",e.CREATOR="creator",e.EDITOR="editor",e.ID="id",e.UPDATED_AT="updatedAt"})(It||(It={}));var Ct;(function(e){e.HUB="hub",e.AGO="ago",e.URBAN="urban"})(Ct||(Ct={}));var At;(function(e){e.POST="post"})(At||(At={}));function Og(e,t={}){let{access:r,groups:s,orgs:a}=e;return Od(t,{access:r,groups:s,orgs:a})}function Od(e,t){let{username:r,groups:s=[]}=e,{access:a,groups:o=[],orgs:n}=t;return r?a===d.PRIVATE?Pt(s,o):Pt(s,o)&&Rd(e,n):!1}function Pt(e,t){return t.every(r=>{let s=e.find(a=>a.id===r);return s&&_d(s)&&xd(s)})}function _d(e){let{userMembership:{memberType:t}}=e;return["owner","admin","member"].includes(t)}function xd(e){let{typeKeywords:t=[]}=e;return!t.includes(S)}function Rd(e,t){return N(e)&&t.includes(e.orgId)}function _g(e,t={}){return new Q(e).canCreateChannel(t)}var wd=Object.freeze(["owner","admin"]);function je(e={},t){let{username:r,groups:s=[]}=e,{access:a,groups:o=[],orgs:n=[],creator:i}=t;return r?r===i?!0:a===d.PRIVATE?vt(o,s):vt(o,s)||Md(n,e):!1}function vt(e,t){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o}}=s;return r===a&&wd.includes(o)}))}function Md(e,t){return N(t)&&e.includes(t.orgId)}function xg(e,t={}){return pt(t,e.orgId)?!0:je(t,e)}function Rg(e,t={}){return E(t,e.orgId)?!0:je(t,e)}function wg(e,t={}){return _e(t,e.orgId)?!0:je(t,e)}var Dd=Object.freeze(["owner","admin","member"]);function Mg(e,t={}){let{access:r,groups:s,orgs:a,allowAnonymous:o}=e;return E(t,e.orgId)?!0:Nd(t,{access:r,groups:s,orgs:a,allowAnonymous:o})}function Nd(e,t){let{username:r,groups:s,orgId:a}=e,{allowAnonymous:o,access:n,groups:i,orgs:c}=t;return o===!0?!0:r?n===d.PUBLIC?!0:n===d.PRIVATE?Hd(i,s):n===d.ORG?c.includes(a):!1:!1}function Hd(e=[],t=[]){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o},typeKeywords:n}=s;return r===a&&Dd.includes(o)&&!n.includes(S)}))}function Lt(e,t={}){return dt(t,e.orgId)?!0:e.access==="private"?Ut(["member","owner","admin"])(t,e):e.access==="org"?Ut(["member","owner","admin"])(t,e)||Gd(e,t):!0}function Dg(e,t={}){return Lt(e,t)}function Ut(e){return(t,r)=>{let{groups:s=[]}=r,{groups:a=[]}=t,o=a.reduce(Oe(e),[]);return s["some"](i=>o.indexOf(i)>-1)}}function Gd(e,t){return e.orgs.length===1&&e.orgs.indexOf(t.orgId)>-1}var Ld=Object.freeze(["owner","admin","member"]);function Ng(e,t={}){let{access:r,groups:s,orgs:a}=e;return E(t,e.orgId)?!0:Fd(t,{access:r,groups:s,orgs:a})}function Fd(e,t){let{username:r,groups:s,orgId:a}=e,{access:o,groups:n,orgs:i}=t;return r?o===d.PUBLIC?!0:o===d.PRIVATE?$d(n,s):o===d.ORG?i.includes(a):!1:!1}function $d(e=[],t=[]){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o},typeKeywords:n}=s;return r===a&&Ld.includes(o)&&!n.includes(S)}))}var Vd=Object.freeze(["owner","admin","member"]);function Hg(e,t={}){let{access:r,groups:s,orgs:a}=e;return E(t,e.orgId)?!0:jd(t,{access:r,groups:s,orgs:a})}function jd(e,t){let{username:r,groups:s,orgId:a}=e,{access:o,groups:n,orgs:i}=t;return r?o===d.PUBLIC?!0:o===d.PRIVATE?kd(n,s):o===d.ORG?i.includes(a):!1:!1}function kd(e=[],t=[]){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o},typeKeywords:n}=s;return r===a&&Vd.includes(o)&&!n.includes(S)}))}function Gg(e,t={}){return E(t,e.orgId)?!0:e.allowReply?new Q(e).canPostToChannel(t):!1}function Lg(e,t,r={}){return Bd(e,r)||zd(t,r)}function Bd(e,t){return!!t.username&&e.creator===t.username}function zd(e,t){return E(t,e.orgId)?!0:e.channelAcl?new Q(e).canModerateChannel(t):!1}function Fg(e,t={},r){return Yd(e,t,r)}function Yd(e,t={},r){let{access:s,groups:a,orgs:o,allowAnonymous:n}=r;return Kd(e,t)&&Wd(t,{access:s,groups:a,orgs:o,allowAnonymous:n})}function Kd(e,t){return!!t.username&&e.creator===t.username}function Wd(e,t){let{groups:r=[],orgId:s}=e,{access:a,groups:o=[],orgs:n=[]}=t;return a===d.PUBLIC?!0:a===d.ORG?Ot(o,r)||n.includes(s):Ot(o,r)}function Ot(e,t){return e.some(r=>t.some(s=>{let{id:a,typeKeywords:o=[]}=s;return r===a&&!o.includes(S)}))}var qd=Object.freeze(["owner","admin"]);function $g(e,t={}){return Qd(e,t)}function Qd(e,t={}){return E(t,e.orgId)?!0:Jd(t,e)}function Jd(e,t){let{username:r,groups:s=[]}=e,{access:a,groups:o=[],orgs:n=[],creator:i}=t;return r?i===r?!0:a===d.PRIVATE?_t(o,s):_t(o,s)||Xd(n,e):!1}function _t(e,t){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o}}=s;return r===a&&qd.includes(o)}))}function Xd(e,t){return N(t)&&e.includes(t.orgId)}function Vg(e,t,r={}){return Zd(e,t)?Lt(e,r):!1}function Zd(e,t){let{allowReaction:r,allowedReactions:s}=e;return r?s?s.includes(t):!0:!1}function jg(e,t,r={}){return ep(e,t)?Me(e,r):!1}function ep(e,t){let{allowReaction:r,allowedReactions:s}=e;return r?s?s.includes(t):!0:!1}function tp(e){let{autoAddResult:t,inviteResult:r,primaryEmailResult:s,secondaryEmailResult:a}=e,o;if(s||a){let i=[s,a].filter(u=>u),c=i.every(u=>u.success),l=i.reduce((u,p)=>u.concat(y(p,"errors",[])),[]);o={success:c},l.length&&(o.errors=l)}return{success:[t,r,o].filter(i=>i).every(i=>i.success),autoAdd:t,invite:r,email:o}}function rp(e,t){if(e){let r=!m(e,"notAdded.length")&&!e.errors;if(t.autoAddResult={success:r},!r){let s=e.errors||[];m(e,"notAdded.length")&&s.push(new ze(`Users not auto-added: ${e.notAdded.join(", ")}`)),t.autoAddResult.errors=s;let a=t.usersToAutoAdd.filter(o=>P(e.notAdded,o.username));t.usersToInvite=t.usersToInvite.concat(a)}}return t}function sp(e){return De(m(e,"groupId"),m(e,"usersToAutoAdd"),m(e,"primaryRO.authentication")).then(t=>rp(t,e))}function ap(e){return Ne(m(e,"groupId"),m(e,"usersToInvite"),m(e,"primaryRO.authentication")).then(t=>(e.inviteResult=t,e))}function Ft(e){return e.role==="org_admin"&&!e.roleId}function $t(e,t,r,s){let a=Promise.resolve(null);if(e.length){let o={authentication:r,message:t.body,subject:t.subject,notificationChannelType:"email",users:e.map(n=>n.username)};s||(o.batchSize=1),a=Et(o)}return a}function op(e){let t=Promise.resolve(e);return e.email&&m(e,"inviteResult.success")&&(t=$t(e.usersToEmail,e.email,e.primaryRO.authentication,Ft(e.requestingUser)).then(r=>(e.primaryEmailResult=r,e))),t}function Vt(e,t){return e.orgId===t.orgId}function np(e){let t=Promise.resolve(e);if(e.email&&e.secondaryRO&&m(e,"inviteResult.success")){let r=y(e,"secondaryRO.portalSelf.user",{}),s=e.usersToInvite.filter(a=>Vt(a,r));t=$t(s,e.email,e.secondaryRO.authentication,Ft(r)).then(a=>(e.secondaryEmailResult=a,e))}return t}function jt(e,t){let r=[];if(t.privileges.indexOf("portal:admin:assignToGroups")!==-1){let s=[t.orgId,t.cOrgId].filter(a=>a);r=e.filter(a=>s.indexOf(a.orgId)!==-1)}return r}function kt(e,t){let r=jt(e,t);return e.filter(s=>!r.some(a=>a.username===s.username))}function ip(e,t,r=!1){let a=kt(e,t).filter(o=>Vt(o,t));return r&&a.push(t),a}function kg(e,t,r,s,a){let o=f(y(r,"portalSelf.user",{}));o.cOrgId=m(r,"portalSelf.portalProperties.hub.settings.communityOrg.orgId");let n={groupId:e,allUsers:t,primaryRO:r,email:s,secondaryRO:a,requestingUser:o,usersToAutoAdd:jt(t,o),usersToInvite:kt(t,o),usersToEmail:ip(t,o,m(s,"copyMe"))};return sp(n).then(ap).then(op).then(np).then(tp)}function Bg(e){let t=T(lt,{success:!0}),r=T(mt,{success:!0});return t(e).then(()=>r(e))}var xt=["ar","bs","ca","cs","da","de","en","es","et","el","fi","fr","hr","he","hu","it","id","ja","ko","lt","lv","nb","nl","pl","pt","pt-br","pt-pt","ro","ru","sl","sr","sv","th","tr","uk","vi","zh","zh-cn","zh-tw","zh-hk"];function zg(e="en"){let t="en";if(e=e.toLowerCase(),xt.indexOf(e)>-1)t=e;else{let r=e.split("-");r.length>1&&xt.indexOf(r[0])>-1&&(t=r[0])}return t}var Rt={devext:"https://hubdevcdn.arcgis.com",qaext:"https://hubqacdn.arcgis.com",www:"https://hubcdn.arcgis.com"};function cp(e){if(e.isPortal)return`${$(e)}${re}`;{let t=e.portalHostname.split(".")[0];return`${Rt[t]||Rt.www}/opendata-ui/assets`}}function Yg(e,t,r="cors"){let a=`${cp(t)}/locales/${e}.json`.toLocaleLowerCase();return fetch(a,{method:"GET",credentials:"same-origin",mode:r}).then(n=>n.json()).catch(n=>{throw Error(`Attempt to fetch locale ${e} from ${a} failed: ${JSON.stringify(n)}`)})}function Kg(e){return m(e,"portalSelf.user.culture")||m(e,"portalSelf.culture")||"en-us"}function Wg(e){let t=T(He,{success:!0}),r=T(ct,{success:!0});return t(e).then(()=>r(e))}function qg(e,t){return e.map(r=>(r.properties||(r.properties={}),Object.assign(r.properties,t),r))}function up(e,t,r){let s=Object.keys(t).map(o=>`${o}:"${t[o]}"`).join(" AND "),a={q:`title:"${e}" AND ${s}`,authentication:r};return nt(a).then(o=>o.results.length>0).catch(o=>{throw Error(`Error in doesItemExistWithTitle ${o}`)})}function lp(e){let t=f(e.item);return t.text=JSON.stringify(e.data),t}function Qg(e,t){let r=T(Y,{id:e.item.id,success:!0}),s=Object.assign({item:lp(e)},t);return r(s)}var mp=100;function Jg(e,t,r=-1,s){let a=t.num||mp,o=t.start||1;return(r===-1?e(Object.assign(Object.assign({},t),{num:a,start:o})):Promise.resolve({nextStart:o,total:r,results:[],num:a})).then(i=>{if(i.nextStart===-1)return[i];let c=[];for(let u=i.nextStart;u<=i.total;u+=a)c.push(u);return Ue(c,u=>e(Object.assign(Object.assign({},t),{start:u,num:a})),s).then(u=>[i,...u])}).then(i=>{let c=i.reduce((u,p)=>[...u,...p.results],[]),l=r===-1?c.length:r;return c.slice(0,l)})}function Xg(e,t){let r=`${e}Model`,s=`${e}Id`;if(t[r])return Promise.resolve(t[r]);if(t[s])return T(me,{item:{id:t[s]},isMissing:!0})(t[s],t);throw new Error(`getModelFromOptions requires either a .${r} or .${s} property.`)}function dp(e,t,r,s=0){let a=e;return s&&(a=`${e} ${s}`),up(a,t,r).then(o=>o?(s++,dp(e,t,r,s)):a).catch(o=>{throw Error(`Error in getUniqueItemTitle ${o}`)})}function Zg(e){let t={item:{id:e.item.id},appid:e.item.id};return Ge(e,t,{toISO(s,a){return a}})}var pp=["id","isOrgItem","proxyFilter","ownerFolder","protected","owner","created","modified","guid","name","access","size","listed","numComments","numRatings","avgRating","numViews","scoreCompleteness","groupDesignations","listed","screenshots","banner","appCategories","industries","languages","largeThumbnail"];function eh(e){let t=f(e);return pp.forEach(r=>{delete t[r]}),t.extent="{{organization.defaultExtentBBox}}",t}function th(e,t,r){let s=`${A(r)}/oauth2/registerApp`,a={method:"POST",authentication:r.authentication,params:{itemId:e,appType:"browser",redirect_uris:JSON.stringify(t)}};return We(s,a)}function fp(e,t,r){return he(e,function(a){if(!ye(a))return a;let o;return W(t)?o=t:o=new RegExp(t,"g"),a.replace(o,r)})}function rh(e,t,r="{{appid}}"){let s=f(e),a=new RegExp(t,"g");return fp(s,a,r)}function sh(e,t){if(e.item.protected){let r=Object.assign({id:e.item.id},t);return He(r)}else return Promise.resolve({success:!0})}function ah(e,t,r){let s=e.map(o=>o.attributes[t]),a=null;switch(r){case"sum":a=s.reduce((o,n)=>o+n,0);break;case"count":a=s.length;break;case"avg":a=s.reduce((o,n)=>o+n,0)/s.length;break;case"min":a=s.reduce((o,n)=>Math.min(o,n),Number.MAX_VALUE);break;case"max":a=s.reduce((o,n)=>Math.max(o,n),Number.MIN_VALUE);break;case"countByValue":a=s.reduce((o,n)=>(o[n]?o[n]+=1:o[n]=1,o),{});break}return a}async function oh(e,t,r){return Object.entries(t).reduce(async(s,[a,o])=>{let i=await T(at,null)(e.id,Object.assign({fileName:o,readAs:o.split(".").pop()},r));return i&&(s[a]=i),s},{})}function nh(e,t){return Ae(e,t).then(r=>{let s=[Promise.resolve(r)];return r?s.push(rt(r.id,t)):s.push(Promise.resolve(null)),Promise.all(s)}).then(r=>r[0]?{item:r[0],data:r[1]}:null)}async function ih(e,t,r){let s=[];return t.forEach(a=>{s.push(xe(e.item.id,e.item.owner,a.resource,a.filename,r))}),Promise.all(s).then(()=>{let a=t.reduce((o,n)=>{let i=n.filename.split(".").shift();return o[i]=n.resource,o},{});return Object.assign({resources:a},e)})}function gp(e){let{token:t,authentication:r}=e;return r?r.getToken(r.portal):Promise.resolve(t)}async function hp(e,t){let{url:r,method:s,data:a}=e,{mode:o,cache:n,credentials:i}=t,{headers:c,params:l}=bp(e,t),p=`${yp(t.hubApiUrl)}${r}?${new URLSearchParams(l)}`,h={headers:c,method:s,cache:n,credentials:i,mode:o};a&&(h.body=JSON.stringify(a));let b=await fetch(p,h),{statusText:v,status:U}=b;if(b.ok)return b.json();let O=await b.json();throw new Ve(v,p,U,JSON.stringify(O.message))}function yp(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function bp(e,t){let r=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&r.set("Authorization",t.token);let s=Object.assign(Object.assign({},e.params),t.params);return{headers:r,params:s}}var Ve=class extends Error{constructor(t,r,s,a){super(t),this.status=s,this.url=r,this.error=a}},wt;(function(e){e.EMAIL="EMAIL"})(wt||(wt={}));var Mt;(function(e){e.TELEMETRY_REPORT="TELEMETRY_REPORT",e.EVENT="EVENT",e.DISCUSSION_ON_ENTITY="DISCUSSION_ON_ENTITY"})(Mt||(Mt={}));var Dt;(function(e){e.DISCUSSION="DISCUSSION"})(Dt||(Dt={}));var Nt;(function(e){e.ON_EVENT="ON_EVENT",e.DAILY="DAILY",e.WEEKLY="WEEKLY",e.MONTHLY="MONTHLY"})(Nt||(Nt={}));var Ht;(function(e){e.DISCUSSION_POST_PENDING="DISCUSSION_POST_PENDING"})(Ht||(Ht={}));var Tp=(e,t)=>hp({url:"/api/newsletters-scheduler/v1/subscriptions/notify",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);async function ch(e){return e.token=await gp(e),Tp(e.data,e)}async function uh(e){return e.token=await H(e),ht(e.data,e)}async function lh(e){return e.token=await H(e),yt(e.userId,e)}async function mh(e){return e.token=await H(e),bt(e.userId,e.data,e)}async function dh(e){return e.token=await H(e),Tt(e.userId,e)}function Gt(e,t){if(!D(e,t))return Array.isArray(e)?e.reduce((r,s)=>{if(Le(s)){let a=Gt(s,t);a!==void 0&&(r=[...r,a])}else s!==t&&(r=[...r,s]);return r},[]):M(e)?Object.keys(e).reduce((r,s)=>{if(Le(e[s])&&!D(e[s],t)){let a=Gt(e[s],t);r[s]=a}else D(e[s],t)||(r=Object.assign(Object.assign({},r),{[s]:e[s]}));return r},{}):e}function ph(e,t){return se(e,t)}function fh(e,t){return t.reduce((r,s)=>{let a=m(e,s);return a&&r.push(a),r},[])}function $e(e,t){let r=Object.keys(e);return t=t||f(e),r.reduce(function(a,o){if(Array.isArray(e[o]))a[o]=e[o].map(n=>$e(n,t));else if(e[o]&&M(e[o])&&!be(e[o])&&!W(e[o])&&!Te(e[o]))if(e[o]&&e[o].$use){let n=m(t,e[o].$use);M(n)?a[o]=$e(n,t):a[o]=n}else a[o]=$e(e[o],t);else a[o]=e[o];return a},{})}function Ep(e,t){let r=e;return e.indexOf("token")===-1&&e.indexOf(t.authentication.portal)>-1&&(r=`${e}?token=${t.authentication.token}`),r}function gh(e,t){let r=e.assets||e.resources||[];if(e.bundleItemId){let a=`${A(t.portalSelf)}/content/items/${e.bundleItemId}`,o=e.itemId;r=r.map(n=>({name:n.name,type:n.type||"resource",url:`${a}/resources/${o}-${n.name}`}))}return r}function hh(e,t){let r=[];if(e.resources&&e.bundleItemId){let a=`${A(t.portalSelf)}/content/items/${e.bundleItemId}`,o=e.itemId;r=e.resources.map(n=>({name:n,type:"resource",url:`${a}/resources/${o}-${n}`}))}return r}async function Bt(e,t={}){t.credentials||(t.credentials="same-origin");return Ke(e)&&await Ye(e),fetch(e,t).then(r=>r.blob())}function Sp(e){return Bt(e.url).then(t=>gt({id:e.id,owner:e.owner,name:e.fileName,resource:t,authentication:e.authentication}))}function Ip(e){return Bt(e.url).then(t=>Y({item:{id:e.id,owner:e.owner},params:{fileName:e.fileName,thumbnail:t},authentication:e.authentication}).catch(r=>Promise.resolve())).catch(t=>Promise.resolve())}function yh(e,t){let s=`${A(t.portalSelf)}/content/items/${e.id}`,a=ie(e,t),o=[];return a&&o.push({name:e.thumbnail,url:a,type:"thumbnail"}),st(e.id,t).then(n=>{let i=n.resources.map(c=>({name:c.resource,type:"resource",url:`${s}/resources/${c.resource}`}));return o.concat(i)})}function bh(e,t,r){if(Array.isArray(t)){let s=t.reduce((a,o)=>{if(o.url){let n={id:e.item.id,owner:e.item.owner,fileName:o.name,url:Ep(o.url,r),authentication:r.authentication};o.type==="thumbnail"?a.push(Ip(n)):a.push(Sp(n))}return a},[]);return Promise.all(s)}else return Promise.resolve([])}function Cp(e,t,r){throw new Error("Not implemented")}function Ap(e,t,r){throw new Error("Not implemented")}async function Pp(e,t,r){let s=Object.keys(e)[0],a=e[s],o={predicate:f(e),matched:!0,reasons:[]},n={};if(s==="group"){let c=await ot(t.id,r);n.groups=[...y(c,"admin",[]),...y(c,"member",[]),...y(c,"other",[])].map(l=>({id:l.id,title:l.title})),t.group=n.groups.map(l=>l.id)}let i=m(t,s);if(i){let c={any:vp,all:Up,not:Op};Object.keys(c).forEach(l=>{let u=m(a,l);if(u){let h=m(c,l)(s,u,i);h.meta=n,o.reasons.push(h)}}),o.matched=o.reasons.every(l=>l.matched)}else o.matched=!1,o.reasons.push({attribute:s,matched:!1,message:`Property ${s} not present on search result, cannot provide explanation`});return Promise.resolve(o)}function vp(e,t,r){let s={attribute:e,values:g(r).join(","),condition:"IN",matched:!1,requirement:g(t).join(","),message:"No match"},{matches:a}=ke(g(t),g(r));return s.matched=a.length>0,s.matched?s.message=`Value(s) ${s.values} contained at least one of value from [${s.requirement}]`:s.message=`Value(s) ${s.values} did not contain any of value from [${s.requirement}]`,s}function Up(e,t,r){let s={attribute:e,values:g(r).join(","),condition:"ALL",requirement:g(t).join(","),matched:!1,message:"No match"},{options:a,matches:o}=ke(g(t),g(r));return s.matched=o.length===a.length,s.matched?s.message=`Value(s) ${s.values} contained all values from [${s.requirement}]`:s.message=`Value(s) ${s.values} did not contain all values from [${s.requirement}]`,s}function Op(e,t,r){let s={attribute:e,values:g(r).join(","),condition:"NOT_IN",requirement:g(t).join(","),matched:!1,message:"No match"},{matches:a}=ke(g(t),g(r));return s.matched=a.length===0,s.matched?s.message=`Value(s) ${s.values} is not contained in [${s.requirement}]`:s.message=`Value(s) ${s.values} is contained in [${s.requirement}]`,s}function g(e){return Array.isArray(e)?e:[e]}function ke(e,t){let r={options:e,values:t,matches:[]};return r.matches=e.reduce((s,a)=>(t.includes(a)&&s.push(a),s),[]),r}async function _p(e,t,r){let s=Object.keys(e)[0],a=Pp;return et.includes(s)&&(Ze.includes(s)?a=Cp:a=Ap),a(e,t,r)}async function xp(e,t,r){let s={filter:f(e),matched:!1,reasons:[]};for(let a of e.predicates){let o=await _p(a,t,r);s.reasons.push(o)}return e.operation==="OR"?s.matched=s.reasons.some(a=>a.matched):s.matched=s.reasons.every(a=>a.matched),s}async function Th(e,t,r){if(t.targetEntity!=="item")throw new Error('explainQueryResult: Only queries with targetEntity: "item" are supported');let s=j(t),a=[];for(let c of s.filters){let l=await xp(c,e,r);a.push(l)}let o=a.reduce((c,l)=>(l.matched||(c=!1),c),!0),n=[];return a.forEach(c=>{c.reasons.forEach(l=>{l.reasons.forEach(u=>{n.push(u)})})}),{result:f(e),query:f(t),matched:o,reasons:a,summary:n}}async function Eh(e,t,r,s){let a=y(e,"catalogs",[]);return Fe(a,t,r,s)}function Sh(e,t){let s=le(e).scopes[t];if(!s)throw new Error(`No query found for scope: ${t}`);let a=j(s);return Pe(a)}function Ih(e,t){if(t.isPortal)return Promise.resolve([]);let r=`${R(t.hubApiUrl)}?siteId=${e}`,s=w(t);return fetch(r,{method:"GET",headers:s,mode:"cors"}).then(K).catch(a=>{throw Error(`Error in getDomainsForSite ${a.toString()}`)})}function Ch(e){return!ne(e.siteId)}function Ah(e,t,r){return pe(e,r).then(s=>s.siteId!==t).catch(()=>!1)}function Ph(e,t){if(t.isPortal)throw new Error("isValidDomain is not available in ArcGIS Enterprise.");let r=`${R(t.hubApiUrl)}/validate?hostname=${e}`,s=w(t);return fetch(r,{method:"GET",headers:s,mode:"cors"}).then(a=>a.json()).catch(a=>({success:!1,input:e,error:{code:400,detail:a,message:"lookupFailed"}}))}function vh(e,t){if(t.isPortal)throw new Error("updateDomain is not available in ArcGIS Enterprise. Instead, edit the hubdomain typekeyword on the item");let r=w(t);r["Content-Type"]="application/json";let s=`${R(t.hubApiUrl)}/${e.id}`,a=e.siteTitle;return typeof a=="number"&&(e.siteTitle=a.toString()),e.clientKey&&(e.clientKey=""),fetch(s,{method:"PUT",headers:r,mode:"cors",body:JSON.stringify(e)}).then(K)}function Uh(e,t){return ve(e,{},t)}function Oh(e,t,r){if(t==="dcat-us")return wp(e,r);if(t==="dcat-ap")return Rp(e,r);if(t==="rss")return Mp(e,r);throw new Error("Unsupported feed format")}function _h(e,t,r,s){if(t==="dcat-us"){Np(e,r,s);return}if(t==="dcat-ap"){Dp(e,r,s);return}if(t==="rss"){Hp(e,r,s);return}throw new Error("Unsupported feed format")}function Rp(e,t){if(I(t)==="2")return e.data.feeds.dcatAP2XX||e.data.feeds.dcatAP201;throw new Error("Unsupported DCAT AP version")}function wp(e,t){if(I(t)==="1")return e.data.feeds.dcatUS1X||e.data.feeds.dcatUS11;throw new Error("Unsupported DCAT US version")}function Mp(e,t){if(I(t)==="2")return e.data.feeds.rss2;throw new Error("Unsupported RSS version")}function Dp(e,t,r){if(I(t)==="2"){e.data.feeds.dcatAP2XX=r;return}throw new Error("Unsupported DCAT AP Version")}function Np(e,t,r){if(I(t)==="1"){e.data.feeds.dcatUS1X=r;return}throw new Error("Unsupported DCAT US Version")}function Hp(e,t,r){if(I(t)==="2"){e.data.feeds.rss2=r;return}throw new Error("Unsupported RSS Version")}var Gp=(e,t)=>k(Object.assign({id:e,relationshipType:"Survey2Service",direction:"forward"},t)).then(({relatedItems:[r]})=>{let s;return r&&(s={item:r}),s});function xh(e,t){return`${t.survey123Url}/share/${e}?portalUrl=${encodeURIComponent(t.portalUrl)}`}var Lp=(e,t)=>k(Object.assign({id:e,relationshipType:"Service2Data",direction:"forward"},t)).then(({relatedItems:[r]})=>{let s;return r&&(s={item:r}),s}),Fp=(e,t)=>k(Object.assign({id:e,relationshipType:"Survey2Data",direction:"forward"},t)).then(({relatedItems:[r]})=>{let s;return r&&(s={item:r}),s});function $p(e){let t=s=>e.typeKeywords.indexOf(s)>-1,r=t("FieldworkerView");return r||(r=["Survey123","Feature Service","View Service"].every(t)&&!t("StakeholderView")),r}var Rh=(e,t)=>{let r,s;return(typeof e=="string"?tt(e,t):Promise.resolve(e)).then(o=>{let n=[Gp(o.id,t),Fp(o.id,t)];return Promise.all(n).then(([i,c])=>(s=c,i&&$p(i.item)?(r=i,Lp(r.item.id,t)):i)).then(i=>({form:{item:o},featureService:i,fieldworker:r,stakeholder:s}))})};function wh(e){return e.typeKeywords.indexOf("Draft")>-1}var Mh=(e,t,r)=>{let{actionLinks:s=[],baseUrl:a="",locale:o="en-US",target:n="self"}=r||{},i=Re(e,t,n,a);return Object.assign(Object.assign(Object.assign({},zt(e,o)),{actionLinks:s,titleUrl:i}),e.thumbnailUrl&&{thumbnailUrl:e.thumbnailUrl})},Dh=(e,t)=>{let{actionLinks:r=[],baseUrl:s="",locale:a="en-US",target:o="self"}=t||{},n=J(e,o,s);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},zt(e,a)),{actionLinks:r}),!isNaN(e.index)&&{index:e.index}),{titleUrl:n}),e.links.thumbnail&&{thumbnailUrl:e.links.thumbnail})},zt=(e,t)=>{var r,s;let a=[{i18nKey:"type",value:e.type},{i18nKey:"dateUpdated",value:e.updatedDate.toLocaleDateString(t)},...!((r=e.tags)===null||r===void 0)&&r.length?[{i18nKey:"tags",value:e.tags.join(", ")}]:[],...!((s=e.categories)===null||s===void 0)&&s.length?[{i18nKey:"categories",value:Xe(e.categories).join(", ")}]:[],{i18nKey:"dateCreated",value:e.createdDate.toLocaleDateString(t)}];return{access:e.access,badges:[],id:e.id,family:V(e.type),source:e.owner,summary:e.summary,title:e.name,type:e.type,additionalInfo:a}};function Nh(e){if(!e)return[];let t=e.replace(/^http(s?):\/\//,"");return[`http://${t}`,`https://${t}`]}function Hh(){if(window)return window.location}function Gh(e){let t=e.match(/((((ftp|https?):\/\/)|(w{3}\.))[-\w@:%_+.~#?,&//=]+)/g);return t&&t.forEach(function(r){e=e.replace(r,'<a target="_blank" href="'+r+'">'+r+"</a>")}),e.replace("(","<br/>(")}function Lh(e){let{portal:t}=e,r=q(e,["portal"]),s=$(t),a=oe(s),o=new URL(`${a}/c`),n=L.btoa(JSON.stringify(r));return o.searchParams.set("d",n),o.toString()}function Vp(e){if(e.isPortal)throw new Error("Hub Url is not available in ArcGIS Enterprise");return oe(e.portalHostname)}function Fh(e){return`${Vp(e)}/api/v3`}var jp=new RegExp("^https?:\\/\\/([a-z0-9-]+\\.)*(arcgis|esri)\\.com"),kp=new RegExp("^https?:$");async function $h(e){let{url:t}=e,r=q(e,["url"]),s;try{if(s=jp.test(t),!s){let{protocol:a,hostname:o}=new URL(t);if(!kp.test(a))throw new Error("invalid protocol");s=await fe(o,r)}}catch{s=!1}return s}function Vh(e){return e.indexOf("http")===-1?`https://${e}`:e.indexOf("http://")!==-1?e.replace(/^http:/i,"https:"):e}var jh=(e,t)=>{let{actionLinks:r=[],baseUrl:s="",target:a="self"}=t||{},o=J(e,a,s);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Bp(e)),{actionLinks:r}),!isNaN(e.index)&&{index:e.index}),{titleUrl:o}),e.links.thumbnail&&{thumbnailUrl:e.links.thumbnail})},Bp=e=>{let t=[],r=e.memberType;return r&&(e.isGroupOwner?t.push({icon:"user-key",color:"gray",i18nKey:"badges.members.owner",hideLabel:!0,tooltip:{i18nKey:"badges.members.owner"}}):r==="admin"?t.push({icon:"user-up",color:"gray",i18nKey:"badges.members.admin",hideLabel:!0,tooltip:{i18nKey:"badges.members.admin"}}):t.push({icon:"user",color:"gray",i18nKey:"badges.members.member",hideLabel:!0,tooltip:{i18nKey:"badges.members.member"}})),{access:e.access,badges:t,family:e.family,id:e.id,source:e.name?`@${e.id}`:void 0,summary:e.summary,title:e.name||`@${e.id}`,type:e.type}};function kh(e,t){let r=!1,s=0,a=t;for(;!r;)P(e,a)?(s++,a=`${t}-${s}`):r=!0;return a}function Bh(e){let r=m(e,"portalProperties.hub.enabled")||!1?"premium":"basic";return e.isPortal&&e.portalMode==="singletenant"&&(r="portal"),r}var zh=e=>y(e,"subscriptionInfo.type","Enterprise");function Yh(e){let t=/-\s(\d+$)/.exec(e);if(t){let r=parseInt(t[1],10),s=r+1;e=e.replace(`- ${r}`,`- ${s}`)}else e=e+" - 1";return e}var zp=e=>e.reduce((t,r)=>t+=`_${typeof r=="object"?JSON.stringify(e):String(r)}_`,""),G={},Kh=e=>{if(!G[`_${e.name}`]){let t={},r=(...s)=>{let a=zp(s);if(t[a])return t[a];let o=e.call(void 0,...s);return t[a]=o,o};G[`_${e.name}`]=r}return G[`_${e.name}`]},Wh=e=>{if(e)delete G[`_${e}`];else{G={};return}};function qh(e){let t=e;return t=t.replace(/^[0-9]*/g,""),t=t.replace(/[^\w\s]/g,""),t=F(t),t}var Qh=(e,t)=>e().then(r=>({status:"fullfilled",results:r,revert:t})).catch(r=>({status:"rejected",error:r})),Jh=e=>Promise.all(e).then(t=>{let r=n=>n.status==="fullfilled",s=t.filter(r),a=t.filter(n=>!r(n));if(a.length){let n=s.map(i=>i.revert());throw Promise.all(n).catch(()=>{}),a[0].error}return s.map(n=>n.results)});function Xh(e,t,r){return r.filter(s=>s[e]!==t)}var Zh=["arcgis-layout-section","arcgis-layout-row","arcgis-layout-column","calcite-button","calcite-chip","calcite-avatar","arcgis-text-card","arcgis-hub-gallery-card","arcgis-hub-image","arcgis-hub-embed-card","arcgis-nav-card","arcgis-hub-timeline","arcgis-hub-entity-metadata","arcgis-hub-catalog","arcgis-hub-map-view","arcgis-hub-entity-metrics-card","arcgis-hub-entity-associations-card","arcgis-hub-entity-status-card","arcgis-hub-entity-metrics-view","arcgis-hub-project-initiatives-view","arcgis-hub-entity-hero","div"],ey=L.atob,ty=L.btoa;export{Is as ALPHA_ORGS,tu as ASSOCIATION_REFERENCE_LIMIT,ga as AclCategory,ha as AclSubCategory,ps as ArcGISContext,Ts as ArcGISContextManager,$l as ArcgisHubDownloadError,Vl as ArcgisHubDownloadFileTooLargeError,S as CANNOT_DISCUSS,em as CARD_TITLE_TAGS,_a as CATALOG_SCHEMA_VERSION,bu as CATALOG_SETUP_TYPES,Mc as COLLABORATION_TYPES,mu as Catalog,nm as CatalogSchema,Hn as ChannelFilter,Gn as ChannelRelation,Ln as ChannelSort,lu as Collection,om as CollectionSchema,It as CommonSort,po as DEFAULT_THEME,Uu as DISCUSSION_SETTINGS_SCHEMA,Rm as DeliveryMethod,Ct as DiscussionSource,Im as DiscussionType,Ll as DownloadOperationStatus,ds as ENTERPRISE_HOME_SUBDOMAIN,re as ENTERPRISE_SITES_PATH,Ss as ENTERPRISE_SITES_SERVICE_STATUS,Su as ENTERPRISE_SITE_ENTITY_NAME_SCHEMA,So as ENTERPRISE_SITE_ITEM_TYPE,Cu as ENTITY_ACCESS_SCHEMA,Nu as ENTITY_CATALOG_SETUP_SCHEMA,Pu as ENTITY_CATEGORIES_SCHEMA,Ou as ENTITY_FEATURED_CONTENT_SCHEMA,Ru as ENTITY_IMAGE_SCHEMA,vu as ENTITY_IS_DISCUSSABLE_SCHEMA,Hu as ENTITY_LAYOUT_SETUP_SCHEMA,_u as ENTITY_LOCATION_SCHEMA,xu as ENTITY_MAP_SCHEMA,Tu as ENTITY_NAME_SCHEMA,Iu as ENTITY_SUMMARY_SCHEMA,Au as ENTITY_TAGS_SCHEMA,wu as ENTITY_TIMELINE_SCHEMA,Tm as EmbedKind,Dl as EntityEditor,La as EntityResourceMap,Gi as EntitySettingType,pu as ExpressionRelationships,Kl as FeatureLayerStyle,_s as FileExtension,sm as FilterSchema,Cr as GLOBAL_EXTENT,tm as GalleryDisplayConfigSchema,Rr as GeoJSONPolygonToBBox,Rt as HUB_CDN_URLMAP,Ra as HUB_ENTITY_TYPES,xa as HUB_ITEM_ENTITY_TYPES,xt as HUB_LOCALES,Es as HUB_SERVICE_STATUS,Eo as HUB_SITE_ITEM_TYPE,El as HubChannel,Sl as HubContent,Il as HubDiscussion,Xo as HubEntityHero,Zo as HubEntityStatus,Ys as HubError,_l as HubEvent,nc as HubEventAttendanceType,ic as HubEventCapacityType,Rs as HubFamilies,Xu as HubGroup,Pl as HubInitiative,wl as HubInitiativeTemplate,Ju as HubPage,Zr as HubPermissionsPolicies,Ol as HubProject,gl as HubSite,Ml as HubTemplate,xs as ItemType,St as JobRecordStatus,kl as JobRecordType,Xr as Logger,Em as MAX_ENTITY_METRICS_ALLOWED,Sm as MAX_FEATURED_METRICS_ALLOWED,fa as MENTION_ATTRIBUTE,fu as MetricVisibility,wm as NewsletterCadence,zs as OperationError,ca as OperationStack,Fl as PORTAL_EXPORT_TYPES,Mu as PRIVACY_CONFIG_SCHEMA,Cm as PostReaction,mi as PostRelation,li as PostSort,ci as PostStatus,ui as PostType,rm as PredicateSchema,Os as PublisherSource,am as QuerySchema,Sd as REQUIRED_PRIVS,At as ReactionRelation,ko as RemoteServerError,Ic as Role,Eu as SITE_ENTITY_NAME_SCHEMA,Ba as SITE_SCHEMA_VERSION,Du as SLUG_SCHEMA,Ks as STANDARD_LICENSES,Nt as SchedulerCadence,wt as SchedulerDeliveryMethod,Ht as SchedulerSubscriptionAction,Mt as SchedulerSystemNotificationSpecNames,vn as SearchPostsFormat,Ho as ServiceCapabilities,$o as ServiceDownloadFormat,d as SharingAccess,Fn as SortOrder,Mm as SubscriptionAction,Dt as SubscriptionEntityType,Dm as SystemNotificationSpecNames,Wl as TIMELINE_STAGE_STATUSES,hm as UiSchemaElementTypes,$u as UiSchemaMessageTypes,Bs as UiSchemaRuleEffects,gm as UiSchemaSectionTypes,Xs as UpdateFrequency,$c as WELL_KNOWN_EVENT_CATALOGS,Fc as WELL_KNOWN_GROUP_CATALOGS,Lc as WELL_KNOWN_ITEM_CATALOGS,Bm as WGS84_WKID,Ep as _addTokenToResourceUrl,Vt as _canEmailUser,K as _checkStatusAndParseJson,tp as _consolidateResults,he as _deepMapValues,uo as _ensureSafeDomainLength,za as _ensureTelemetry,rp as _formatAutoAddResponse,w as _getAuthHeader,jt as _getAutoAddUsers,R as _getDomainServiceUrl,ip as _getEmailUsers,Nh as _getHttpAndHttpsUris,kt as _getInviteUsers,Hh as _getLocation,be as _isDate,Te as _isFunction,M as _isObject,Ft as _isOrgAdmin,W as _isRegExp,ye as _isString,ka as _lookupPortal,No as _mapValues,Ka as _migrateEventListCardConfigs,Ya as _migrateFeedConfig,Ja as _migrateLinkUnderlinesCapability,Wa as _migrateTelemetryConfig,to as _migrateToV2Catalog,sp as _processAutoAdd,ap as _processInvite,op as _processPrimaryEmail,np as _processSecondaryEmail,Bg as _unprotectAndRemoveGroup,Wg as _unprotectAndRemoveItem,ft as acceptAssociation,Yo as addContextToSlug,ws as addCreateItemTypes,Yr as addDays,Vs as addDefaultItemSearchPredicates,go as addDomain,Qm as addGroupMembers,as as addHistoryEntry,ou as addPermissionPolicy,ho as addSiteDomains,gh as addSolutionResourceUrlToAssets,kg as addUsersToGroup,ah as aggregateMetrics,xr as allCoordinatesPossiblyWGS84,qg as applyPropertiesToItems,ml as applyVersion,Dr as arrayToObject,nl as asyncForEach,ey as atob,De as autoAddUsers,Tr as bBoxToExtent,Mr as base64ToUnicode,Ue as batch,Er as bboxToString,Wc as breakAssociation,ty as btoa,Uh as buildDraft,Ym as buildExistingExportsPortalQuery,jo as buildUrl,hu as buildWhereClause,Fu as cacheBustUrl,F as camelize,Og as canCreateChannel,_g as canCreateChannelV2,Ng as canCreatePost,$m as canCreatePostV2,Vg as canCreateReaction,jg as canCreateReactionV2,Hg as canCreateReply,Gg as canCreateReplyV2,xg as canDeleteChannel,Nc as canDeleteChannelV2,Lg as canDeletePost,Om as canDeletePostV2,Rg as canEditChannel,Dc as canEditChannelV2,hg as canEditEvent,z as canEditItem,Yd as canEditPost,Qd as canEditPostStatus,_m as canEditPostStatusV2,jm as canEditPostV2,yg as canEditSite,bg as canEditSiteContent,wg as canModifyChannel,Fg as canModifyPost,$g as canModifyPostStatus,Mg as canPostToChannel,Lt as canReadChannel,Me as canReadChannelV2,Dg as canReadFromChannel,Lo as canUseCreateReplica,Nl as canUseHubDownloadApi,Fo as canUseHubDownloadSystem,Vm as cannotCreatePostGroupsBlockedV2,qr as capitalize,cu as catalogContains,ce as categories,va as channelToSearchResult,dl as checkForStaleVersion,ss as checkPermission,Kr as chunkArray,Wh as clearMemoizedCache,f as cloneObject,Ko as combineQueries,Ha as commitItemUpload,Ga as compareAccess,Gr as compose,B as composeContent,Tg as composeHubContent,Wo as constructSlug,Sc as convertClientEventToHubEvent,_c as convertItemToContent,Uc as convertItemToDiscussion,on as convertItemToInitiative,Rc as convertItemToInitiativeTemplate,fn as convertItemToPage,Cn as convertItemToProject,Uo as convertItemToSite,bn as convertItemToTemplate,pn as convertModelToPage,vo as convertModelToSite,hh as convertSolutionTemplateResourcesToAssets,zg as convertToWellKnownLocale,Gh as convertUrlsToAnchorTags,wn as convertUserToHubUser,jn as createChannel,Kn as createChannelNotificationOptOut,ti as createChannelNotificationOptOutV2,Qn as createChannelV2,ki as createContent,Ki as createDiscussion,Sr as createExtent,yl as createHubChannel,mc as createHubEvent,fc as createHubEventRegistration,Fi as createHubGroup,Lr as createId,tn as createInitiative,Zi as createInitiativeTemplate,Na as createItem,Jm as createItemFromFile,Xm as createItemFromUrl,Zm as createItemFromUrlOrFile,Fa as createModel,ma as createOperationPipeline,ln as createPage,fi as createPost,Ii as createPostV2,Qi as createProject,Am as createReaction,vm as createReactionV2,gi as createReply,Ci as createReplyV2,_i as createSetting,Mi as createSettingV2,Io as createSite,Hm as createSubscription,rc as createTemplate,uh as createUser,fl as createVersion,ks as dasherize,Ag as datasetToContent,Cd as datasetToItem,zl as deepCatalogContains,Gt as deepDeletePropByValue,D as deepEqual,ad as deepFilter,nd as deepFind,od as deepFindById,se as deepSet,fp as deepStringReplace,Xa as defaultSiteCollectionKeys,zi as deleteContent,qi as deleteDiscussion,Tl as deleteHubChannel,pc as deleteHubEvent,gc as deleteHubEventRegistration,ji as deleteHubGroup,an as deleteInitiative,tc as deleteInitiativeTemplate,Yu as deleteItemThumbnail,gn as deletePage,Xi as deleteProject,pa as deleteProp,Ao as deleteSite,oc as deleteTemplate,dh as deleteUser,ll as deleteVersion,ku as deriveUserRoleV2,Un as discussionsApiRequest,On as discussionsApiRequestV2,up as doesItemExistWithTitle,Wu as doesResourceExist,fe as domainExists,no as domainExistsPortal,Vc as dotifyString,Yi as editorToContent,gu as editorToMetric,ac as editorToTemplate,$t as emailOrgUsers,En as enrichContentSearchResult,Nn as enrichGroupSearchResult,Sn as enrichImageSearchResult,nn as enrichInitiativeSearchResult,wc as enrichInitiativeTemplateSearchResult,hn as enrichPageSearchResult,An as enrichProjectSearchResult,Oo as enrichSiteSearchResult,Tn as enrichTemplateSearchResult,Mn as enrichUserSearchResult,ph as ensureProp,lo as ensureUniqueDomainName,kh as ensureUniqueString,j as expandPortalQuery,Th as explainQueryResult,pi as exportPosts,Si as exportPostsV2,zr as extend,Ir as extentToBBox,Or as extentToPolygon,T as failSafe,Qg as failSafeUpdate,Jg as fetchAllPages,Sp as fetchAndUploadResource,Ip as fetchAndUploadThumbnail,Gu as fetchCategoriesUiSchemaElement,kn as fetchChannel,Yn as fetchChannelNotifcationOptOut,ei as fetchChannelNotifcationOptOutV2,Jn as fetchChannelV2,Tc as fetchContent,vc as fetchDiscussion,jl as fetchDownloadFile,Ec as fetchEvent,Hc as fetchHubChannel,Oc as fetchHubContent,Gc as fetchHubEntity,$i as fetchHubGroup,Yg as fetchHubTranslation,Dn as fetchHubUser,Bt as fetchImageAsBlob,sn as fetchInitiative,xc as fetchInitiativeTemplate,un as fetchItem,Bl as fetchItemJobRecords,ys as fetchMaxNumUserGroupsLimit,Va as fetchModelFromItem,oh as fetchModelResources,la as fetchOrg,hs as fetchOrgLimits,oi as fetchOrganization,dn as fetchPage,hi as fetchPost,Ai as fetchPostV2,In as fetchProject,xi as fetchSetting,Di as fetchSettingV2,Po as fetchSite,oo as fetchSiteModel,yn as fetchTemplate,ls as fetchUserHubSettings,cs as fetchUserSiteSettings,Br as filterBy,te as findBy,Qo as findItemsBySlug,Qr as flattenArray,rd as followEntity,Da as generateRandomString,bc as getAssociatedEntitiesQuery,Xc as getAssociationStats,Jc as getAvailableToRequestAssociationCatalogs,qc as getAvailableToRequestEntitiesQuery,Lh as getCampaignUrl,Re as getCardModelUrlFromEntity,J as getCardModelUrlFromResult,eo as getCatalogFromSiteModel,ld as getCatalogGroups,Id as getCategory,ju as getCdnAssetUrl,Ia as getChannelAccess,Aa as getChannelGroupIds,Ca as getChannelOrgIds,Pa as getChannelUsersQuery,yd as getContentHomeUrl,Ig as getContentIdentifier,ue as getContentTypeIcon,Ad as getContentTypeLabel,Kg as getCulture,uc as getDatePickerDate,Li as getDefaultEntitySettings,Ih as getDomainsForSite,Vo as getDownloadConfiguration,Gl as getDownloadFormats,Bu as getEditorConfig,ed as getEntityFollowersGroupId,ql as getEntityGroups,Zu as getEntityMetrics,Vu as getEntityThumbnailUrl,ol as getEntityTypeFromHubEntityType,Jr as getEnvironmentFromPortalUrl,hl as getEventGroups,Pn as getEventThumbnail,Wm as getExportItemTypeKeyword,qm as getExportLayerTypeKeyword,_r as getExtentCenter,V as getFamily,Cs as getFamilyTypes,Oh as getFeedConfiguration,dd as getFeedTemplate,_n as getGroupHomeUrl,Fs as getGroupPredicate,Ns as getGroupThumbnailUrl,gs as getHubApiFromPortalUrl,Us as getHubApiUrl,Fh as getHubApiUrlFromPortal,Hl as getHubDownloadApiFormats,sl as getHubEntityTypeFromPath,cp as getHubLocaleAssetUrl,Bh as getHubProduct,uu as getHubTypeFromItemType,Vp as getHubUrlFromPortal,Gp as getInputFeatureServiceModel,qs as getItemApiUrl,yh as getItemAssets,Ae as getItemBySlug,Js as getItemDataUrl,vs as getItemHomeUrl,aa as getItemHubId,de as getItemIdentifier,na as getItemLayer,sa as getItemLayerId,ie as getItemThumbnailUrl,js as getKilobyteSizeOfQuery,ta as getLayerIdFromUrl,me as getModel,nh as getModelBySlug,Xg as getModelFromOptions,ns as getObjectSize,fo as getOrgDefaultTheme,Pr as getOrgExtentAsBBox,ms as getOrgThumbnailUrl,rl as getPathForHubEntityType,Yc as getPendingEntitiesQuery,cn as getPendingProjectsQuery,es as getPermissionPolicy,A as getPortalApiUrl,fs as getPortalBaseFromOrgUrl,$ as getPortalUrl,Zs as getPortalUrls,Ua as getPostCSVFileName,ai as getPredicateValues,m as getProp,fh as getProps,ea as getProxyUrl,Zc as getReferencedEntityIds,Ma as getRelativeWorkspaceUrl,Kc as getRequestingEntitiesQuery,$s as getResultSiteRelativeLink,hd as getS123EditUrl,xh as getS123ShareUrl,Ls as getScopeGroupPredicate,vg as getServiceStatus,Se as getServiceTypeFromUrl,ao as getSiteById,Lp as getSourceFeatureServiceModelFromFieldworker,Km as getSpatialRefTypeKeyword,Fp as getStakeholderModel,Ws as getStructuredLicense,Lm as getSubscription,zh as getSubscriptionType,Gm as getSubscriptions,Rh as getSurveyModels,Lu as getTagItems,lc as getTimePickerTime,Sg as getTypeCategories,Ps as getTypeFromEntity,Eg as getTypes,yc as getTypesFromEntityType,co as getUniqueDomainName,io as getUniqueDomainNamePortal,dp as getUniqueItemTitle,Jo as getUniqueSlug,lh as getUser,cd as getUserGroupsByMembership,ud as getUserGroupsFromQuery,Rn as getUserHomeUrl,Hs as getUserThumbnailUrl,il as getVersion,Qc as getWellKnownAssociationsCatalog,kc as getWellKnownCatalog,jc as getWellKnownCatalogs,du as getWellKnownGroup,zc as getWellknownCollection,Bc as getWellknownCollections,y as getWithDefault,cc as guessTimeZone,x as hasBasePriv,Mo as hasServiceCapability,Bo as hubApiRequest,Oi as hubSearch,P as includes,Yh as incrementString,Al as initiativeResultToCardModel,Rl as initiativeTemplateResultToCardModel,xl as initiativeTemplateToCardModel,Cl as initiativeToCardModel,Ge as interpolate,Zg as interpolateItemId,Ne as inviteUsers,Ro as isAGOFeatureServiceUrl,bd as isArrayEqual,vr as isBBox,Td as isComboboxItemSelected,iu as isCuid,ya as isDiscussable,Ch as isDomainForLegacySite,Ah as isDomainUsedElsewhere,Qs as isDownloadable,wh as isDraft,bs as isEnterprisePortalUrl,ra as isFeatureService,$p as isFieldworkerView,ne as isGuid,xo as isHostedFeatureServiceMainEntity,_o as isHostedFeatureServiceMainItem,Ug as isHubService,ia as isLayerView,Go as isMapOrFeatureServerUrl,Wr as isNil,Yl as isOpenDataGroup,N as isOrgAdmin,_e as isOrgAdminInOrg,Ea as isOrgChannel,ts as isPermission,Sa as isPrivateChannel,Ta as isPublicChannel,$h as isSafeRedirectUrl,wo as isSecureProxyServiceUrl,ge as isService,ua as isServicesDirectoryDisabled,As as isSiteType,zo as isSlug,da as isUpdateGroup,td as isUserFollowing,Cc as isUserInOrg,Ph as isValidDomain,wa as isValidEntityType,Ur as isValidExtent,pp as itemPropsNotInTemplates,Cg as itemToContent,kr as last,Zh as layoutNodeTags,pe as lookupDomain,rs as mapBy,Fr as maybeAdd,$r as maybePush,Kh as memoize,ve as mergeObjects,qa as migrateBadBasemap,ro as migrateEnsureHeaderComponentName,Gs as migrateToCollectionKey,Qa as migrateWebMappingApplicationSites,Ee as modelToHubEditableContent,en as negateGroupPredicates,_ as normalizeItemType,eh as normalizeSolutionTemplateItem,ch as notify,Nr as objectToArray,yu as objectToJsonBlob,Ar as orgExtent,al as parseContainmentPath,Ie as parseDatasetId,km as parseDiscussionURI,oa as parseItemCategories,xm as parseMentionedUsers,tl as pathMap,xn as pickProps,ru as poll,ii as portalToOrganization,ni as portalToSearchResult,pd as previewFeed,Xl as processActionLink,Jl as processActionLinks,Jh as processRevertableTasks,Ul as projectResultToCardModel,vl as projectToCardModel,qh as propifyString,Oe as reduceByGroupMembership,th as registerBrowserApp,gd as reharvestSiteCatalog,Ds as relativeDateToDateRange,zn as removeChannel,qn as removeChannelActivity,si as removeChannelActivityV2,Wn as removeChannelNotificationOptOut,ri as removeChannelNotificationOptOutV2,Zn as removeChannelV2,Ce as removeContextFromSlug,bo as removeDomain,To as removeDomainByHostname,yo as removeDomainsBySiteId,mo as removeEmptyProps,os as removeHistoryEntry,nu as removePermissionPolicy,yi as removePost,Pi as removePostV2,Pm as removeReaction,Um as removeReactionV2,qu as removeResource,wi as removeSetting,Hi as removeSettingV2,rh as replaceItemId,ft as requestAssociation,el as resolveMetric,$e as resolveReferences,Qh as runRevertableTask,md as searchAssociatedContent,Fe as searchCatalogs,Za as searchCategoriesToCollections,$n as searchChannels,Vn as searchChannelsV2,Eh as searchEntityCatalogs,di as searchPosts,Ei as searchPostsV2,cl as searchVersions,Sh as serializeCatalogScope,lp as serializeModel,Pe as serializeQueryForPortal,zm as serializeSpatialReference,Pg as setContentType,ba as setDiscussableKeyword,Ql as setEntityAccess,eu as setEntityAssociationGroup,_h as setFeedConfiguration,fd as setFeedTemplate,Ku as setItemThumbnail,ae as setProp,qo as setSlugKeyword,ym as shareEntityWithGroups,au as shareItemToGroups,Oa as slugify,Qu as stringToBlob,ja as stripProtocol,Nm as subscribe,Zl as targetEntities,Dh as templateResultToCardModel,Mh as templateToCardModel,Ed as titleize,Do as toggleServiceCapability,sd as unfollowEntity,wr as unicodeToBase64,Vr as unique,jr as uniqueBy,sh as unprotectModel,bm as unshareEntityWithGroups,su as unshareItemFromGroups,Bn as updateChannel,Xn as updateChannelV2,Bi as updateContent,Wi as updateDiscussion,vh as updateDomain,bl as updateHubChannel,hc as updateHubEntity,dc as updateHubEvent,Vi as updateHubGroup,rn as updateInitiative,ec as updateInitiativeTemplate,Y as updateItem,$a as updateModel,mn as updatePage,bi as updatePost,Ti as updatePostStatus,Ui as updatePostStatusV2,vi as updatePostV2,Ji as updateProject,Ri as updateSetting,Ni as updateSettingV2,Co as updateSite,Fm as updateSubscription,sc as updateTemplate,mh as updateUser,us as updateUserHubSettings,is as updateUserSiteSettings,pl as updateVersion,ul as updateVersionMetadata,le as upgradeCatalogSchema,Vh as upgradeProtocol,so as upgradeSiteSchema,zu as uploadImageResource,bh as uploadResourcesFromUrl,ih as upsertModelResources,xe as upsertResource,Ac as userHasPrivilege,Pc as userHasPrivileges,jh as userResultToCardModel,pm as validCardEditorTypes,dm as validDiscussionSettingsEditorTypes,fm as validEditorTypes,mm as validEmbedCardEditorTypes,im as validEntityEditorTypes,lm as validEventGalleryCardEditorTypes,um as validFollowCardEditorTypes,cm as validStatCardEditorTypes,id as validateUrl,Ms as valueToMatchOptions,we as wait,Hr as without,Xh as withoutByProp};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{a as s}from"./EJQJ7X2L.js";import{g as a}from"./WDXTSPL6.js";import{da as r}from"./5QVTPPCZ.js";import"./3VLZGGY3.js";import"./FZP6G2BG.js";import"./BQ3DEWBJ.js";import"./NE6DQ3U5.js";import"./3WQZZTR2.js";import"./JY77GCJP.js";import"./POUOKKUL.js";import"./4BLXJQGP.js";import"./LJS6EKNQ.js";import"./LG4EBIZP.js";import"./NZ6QO3C3.js";import"./47IFZNB3.js";import"./2YEMMFLT.js";import"./CKOX2EA4.js";import"./JAYMTDTH.js";import"./ZF3ZEDPX.js";import"./OZCWHH4C.js";import"./JEU7742G.js";import"./2H7QFFBJ.js";import"./LWUUYWQF.js";import"./MGEMJ7VA.js";import"./3CEIJLDC.js";import"./4QG5TRVU.js";import"./5QJTGDEG.js";import"./CORVV5PK.js";import"./2OVC4FON.js";import"./HVJFMFYV.js";import"./PEZ3GDL2.js";import"./OXY7S7ND.js";import"./WHB7UC4B.js";import"./5WH43MAE.js";import"./7GBWB64S.js";import"./UJWJUOSA.js";import"./W7G3XU5R.js";import"./RPY5YDSG.js";import"./K67LUDPL.js";import"./ULEEEKXR.js";import"./5BZA4U23.js";import"./EJTCEJNM.js";import"./GTRZQTZG.js";import"./T7R2GGPI.js";import"./FD2B47CB.js";import"./5XDXSPJO.js";import"./IR73VHB4.js";import"./YJW2PDXB.js";import{a as e}from"./GSAH36AV.js";import{c as h}from"./D7Q3QB2N.js";import"./ENRGL6DT.js";import"./7ICENQAA.js";import"./TQXADY2E.js";import{a as o}from"./MTJTB24B.js";import"./GOPDQJWC.js";import"./Q7ONETZX.js";import{b as t,c as n,d as m,e as p,i as c}from"./5F6BCIX4.js";import"./VLNNKRSD.js";import"./ZMDRLGES.js";import"./VM7DLB4D.js";import"./YSSP6ELS.js";import"./CFYCHZX2.js";import"./QXSGEVKY.js";import"./QOMO3OEO.js";import"./IG4VVTPY.js";import"./IKKSHB6P.js";import"./2RBKQ43M.js";import"./DSYJTVIZ.js";import"./XQHB3QIQ.js";import"./3HMLSJ3B.js";import"./C3NCECMA.js";var b=4,l=".initiative-about__projects.sc-arcgis-hub-initiative-about calcite-button.sc-arcgis-hub-initiative-about{margin-top:1.5rem}h2.sc-arcgis-hub-initiative-about{margin:0 0 0.75rem 0;font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}@media only screen and (max-width: 768px){arcgis-hub-entity-about.sc-arcgis-hub-initiative-about{gap:2rem}}",d=l,g=class{constructor(i){c(this,i),this.arcgisHubEntityAboutTabChange=p(this,"arcgisHubEntityAboutTabChange",7),this.handleTabChange=u=>{this.arcgisHubEntityAboutTabChange.emit(u)},this.entity=void 0,this.path="",this._associatedProjectsCount=0,e(this,"handleTabChange")}async init(){if(this._associatedProjectsQuery=this.initiative&&await a(this.initiative,"project",this._context),this._associatedProjectsQuery){let{total:i}=await r(this._associatedProjectsQuery,{requestOptions:this._context.hubRequestOptions});this._associatedProjectsCount=i}}get initiative(){return this.entity}get _context(){return h()}async componentWillLoad(){this.intl=await o.loadIntlForComponent(this.element),this.init()}renderAssociatedProjects(){return t("div",{class:"initiative-about__projects"},t("h2",null,this.intl.t("project")),t("arcgis-hub-gallery",{layout:"grid",limit:b,"link-target":"siteRelative",path:this.path,query:this._associatedProjectsQuery,showAdditionalInfo:!1,sortField:"modified",sortOrder:"desc"}),t("calcite-button",{appearance:"outline","data-scroll":"scroll","data-tab":s.Projects,onClick:this.handleTabChange,round:!0},this.intl.t("exploreAllProjects")))}render(){return t(n,{key:"5401ed15537e29148eea95582e466be714955703","data-element":"initiative-about"},t("arcgis-hub-entity-about",{key:"3e1e71bd9ac2e17cd0422e8f4a84eb235590b131",entity:this.entity},t("div",{key:"a41b3d5196950c1ae36a1067d2cb8ffdbbc1d948",slot:"main"},this._associatedProjectsCount>0&&this.renderAssociatedProjects())))}static get assetsDirs(){return["locales"]}get element(){return m(this)}static get watchers(){return{entity:["init"]}}};g.style=d;export{g as arcgis_hub_initiative_about};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ function n(t){return typeof t!="string"||(t=t.trim(),t[t.length-1]==="/"&&(t=t.slice(0,-1))),t}function a(t={}){return t.portal?n(t.portal):t.authentication&&typeof t.authentication!="string"?t.authentication.portal:"https://www.arcgis.com/sharing/rest"}export{n as a,a as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{a as r}from"./2RBKQ43M.js";var c=async o=>{try{await navigator.clipboard.writeText(o)}catch{r.error("Unable to copy to clipboard")}};export{c as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ var t=i=>{if(!i?.visibility)return!0;switch(i.visibility.kind){case"static":return!i.visibility.isHidden;case"group":return!0;default:return!0}};export{t as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ var c;(function(i){i.Hub="hub",i.Item="item",i.Service="service"})(c||(c={}));export{c as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{a as u}from"./5XDXSPJO.js";import{b as e}from"./IR73VHB4.js";import{h as n}from"./YJW2PDXB.js";function c(o,t){let r=`${e(t)}/community/groups/${o}`,s=Object.assign({httpMethod:"GET"},t);return n(r,s)}function i(o,t){let r=`${e(t)}/community/groups/${o}/users`,s=Object.assign({httpMethod:"GET"},t);return n(r,s)}function g(o,t){let r=`${e(t)}/community/groups/${o}/userlist`,s=u(t||{},["name","num","start","sortField","sortOrder","joined","memberType"],{httpMethod:"GET"});return n(r,s)}export{c as a,i as b,g as c};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import"./C3NCECMA.js";var t={chart:"\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34",barChart:"\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E41\u0E17\u0E48\u0E07",lineChart:"\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E40\u0E2A\u0E49\u0E19",pieChart:"\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E17\u0E23\u0E07\u0E01\u0E25\u0E21",histogram:"\u0E2E\u0E35\u0E2A\u0E42\u0E15\u0E41\u0E01\u0E23\u0E21",scatterplot:"\u0E1E\u0E25\u0E47\u0E2D\u0E15\u0E01\u0E32\u0E23\u0E01\u0E23\u0E30\u0E08\u0E32\u0E22",boxPlot:"\u0E1E\u0E25\u0E47\u0E2D\u0E15\u0E41\u0E1A\u0E1A\u0E01\u0E25\u0E48\u0E2D\u0E07"},a={mean:"\u0E04\u0E48\u0E32\u0E40\u0E09\u0E25\u0E35\u0E48\u0E22",median:"\u0E04\u0E48\u0E32\u0E21\u0E31\u0E18\u0E22\u0E10\u0E32\u0E19",sum:"\u0E23\u0E27\u0E21",discretePercentile:"\u0E40\u0E1B\u0E2D\u0E23\u0E4C\u0E40\u0E0B\u0E19\u0E44\u0E17\u0E25\u0E4C\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E15\u0E48\u0E2D\u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07",minimum:"\u0E19\u0E49\u0E2D\u0E22\u0E2A\u0E38\u0E14",maximum:"\u0E2A\u0E39\u0E07\u0E2A\u0E38\u0E14",variance:"\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1B\u0E23\u0E1B\u0E23\u0E27\u0E19",count:"\u0E19\u0E31\u0E1A",aggregation:"${ statistics } \u0E08\u0E32\u0E01 ${ fieldName }",noAggregation:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E01\u0E32\u0E23\u0E23\u0E27\u0E21"},e="\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34",i="\u0E19\u0E31\u0E1A\u0E0B\u0E35\u0E23\u0E35\u0E2A\u0E4C",s="(\u0E41\u0E01\u0E19 x)",r="\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E43\u0E0A\u0E49\u0E44\u0E14\u0E49",n={start:"\u0E2A\u0E41\u0E19\u0E47\u0E1B\u0E40\u0E02\u0E49\u0E32\u0E01\u0E31\u0E1A\u0E08\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E41\u0E23\u0E01",end:"\u0E2A\u0E41\u0E19\u0E47\u0E1B\u0E40\u0E02\u0E49\u0E32\u0E01\u0E31\u0E1A\u0E08\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2A\u0E38\u0E14\u0E17\u0E49\u0E32\u0E22"},o={chartType:t,statistics:a,defaultTitle:e,countSeries:i,xAxis:s,notAvailable:r,timeAggregationTypes:n};export{t as chartType,i as countSeries,o as default,e as defaultTitle,r as notAvailable,a as statistics,n as timeAggregationTypes,s as xAxis};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{a as t}from"./T7R2GGPI.js";function n(e){let[r,i]=e?e.split("_"):[];return{itemId:r,layerId:i}}function s(e){let{itemId:r}=n(e);return!(!r||t(r))}function u(e,r){return/.+::.+/.test(e)?e:`${r}::${e}`}function a(e,r){return r&&RegExp(`^${r}::`).exec(e)?e.split(`${r}::`)[1]:e}export{n as a,s as b,u as c,a as d};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{b as C}from"./MF3WL4LS.js";import{a as _}from"./L4257WYS.js";import{b}from"./KZZRA6LM.js";import"./5QJTGDEG.js";import{a as f}from"./WKKNICA3.js";import{a as y}from"./GSAH36AV.js";import{c as w,j as E}from"./D7Q3QB2N.js";import"./ENRGL6DT.js";import{a as g}from"./7ICENQAA.js";import"./TQXADY2E.js";import{a as v}from"./MTJTB24B.js";import"./GOPDQJWC.js";import"./Q7ONETZX.js";import{b as o,c as S,d as I,e as m,h as d,i as k}from"./5F6BCIX4.js";import"./CFYCHZX2.js";import"./QXSGEVKY.js";import"./QOMO3OEO.js";import"./IG4VVTPY.js";import"./IKKSHB6P.js";import"./2RBKQ43M.js";import{s as u}from"./DSYJTVIZ.js";import{a as p}from"./XQHB3QIQ.js";import"./3HMLSJ3B.js";import"./C3NCECMA.js";function T(e,t){let i;if(e.length===0)return{targetEntity:t,filters:[{operation:"OR",predicates:[{type:["Code Attachment"]}]}]};switch(t){case"user":i={targetEntity:t,filters:[{operation:"OR",predicates:[{username:e}]}]};break;default:i={targetEntity:t,filters:[{operation:"OR",predicates:[{id:e}]}]}}return i}var G='hub-field-input-gallery-picker .gallery-picker__selected-entities{margin-bottom:1.5rem}hub-field-input-gallery-picker calcite-list-item [slot="actions-start"]{margin-top:10px;margin-left:0.75rem}hub-field-input-gallery-picker calcite-list-item{--calcite-font-size--2:var(--calcite-font-size--1);--tw-shadow:var(--twShadowNew, 0 1px 0 var(--calcite-color-border-3))}hub-field-input-gallery-picker calcite-link{display:flex;flex-direction:column;align-items:center;justify-content:center}hub-field-input-gallery-picker .gallery-picker__button-container{display:flex;flex-wrap:wrap;gap:0.75rem}arcgis-hub-gallery{margin-bottom:1rem}calcite-list-item>calcite-button{margin-inline-end:0.25rem}',P=G,O=function(e,t,i,l){var n=arguments.length,s=n<3?t:l===null?l=Object.getOwnPropertyDescriptor(t,i):l,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,i,l);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(n<3?a(s):n>3?a(t,i,s):a(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s},R=class{connectedCallback(){E(this)}disconnectedCallback(){this.disconnectContext()}constructor(e){k(this,e),this.arcgisConfigurationEditorFieldInputChange=m(this,"arcgisConfigurationEditorFieldInputChange",7),this.hubTelemetry=m(this,"hubTelemetry",7),this.setTriggerElement=t=>{this.triggerElement=t},this.handleHubTelemetry=t=>{t.stopPropagation(),this.hubTelemetry.emit(Object.assign({details:this.params.telemetryLabel},t.detail))},this.handleAddContentComplete=t=>{t.stopPropagation(),this.selectedIds=[...this.selectedIds,t.detail.entities[0].id],this.gallerySelection[this.targetEntity]=this.selectedIds,this.arcgisConfigurationEditorFieldInputChange.emit(this.selectedIds)},this.params=void 0,this.styles=void 0,this.isMobile=!1,this._context=w(),this.inaccessibleContentIds=[],this.isOpen=!1,this.gallerySelection=void 0,this.selectedIds=void 0,this.triggerElement=void 0,y(this,"handleGalleryPickerSelectionUpdate","handleGalleryPickerOpen","handleGalleryPickerClose","handleAddContentComplete","handleArcgisHubGalleryResultsChange","handleInaccessibleContentRemove")}async componentWillLoad(){this.selectedIds=Array.isArray(this.params.value)?this.params.value:[],this.gallerySelection=this.convertEntityIdsToGallerySelection(),this.intl=await v.loadIntlForComponent(this.element)}async onParamsChange(){let e=this.selectedIds||[],t=Array.isArray(this.params.value)?this.params.value:[],i=t.some(n=>!e.includes(n)),l=e.some(n=>!t.includes(n));(i||l)&&(this.selectedIds=t,this.gallerySelection=this.convertEntityIdsToGallerySelection())}get targetEntity(){var e,t;return((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.targetEntity)||"item"}get limit(){var e,t;return(t=(e=this.params)===null||e===void 0?void 0:e.schema)===null||t===void 0?void 0:t.maxItems}get selectionMode(){return this.params.schema.maxItems===1?"single":"multiple"}get canReorder(){var e,t,i,l,n,s;let a=!0;return f((i=(t=(e=this.params)===null||e===void 0?void 0:e.uiSchema)===null||t===void 0?void 0:t.options)===null||i===void 0?void 0:i.canReorder)||(a=(n=(l=this.params.uiSchema)===null||l===void 0?void 0:l.options)===null||n===void 0?void 0:n.canReorder),a&&((s=this.selectedIds)===null||s===void 0?void 0:s.length)>1}get pickerTitle(){var e,t;let i,l=((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.pickerTitle)&&b(this.params.uiSchema,this.params.t,"options.pickerTitle");return l?i=l:this.limit===1?i=this.intl.t(`select${u(this.targetEntity)}`):i=this.intl.t(`select${u(this.targetEntity)}s`),i}get query(){return T(this.selectedIds,this.targetEntity)}get allowRemoveAction(){var e,t,i,l;return!((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0)&&t.hasOwnProperty("allowRemove")?(l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.allowRemove:!0}get actionLinks(){let e=[];return this.allowRemoveAction&&e.push({action:"remove",ariaLabel:this.intl.t("remove"),buttonStyle:"outline",disabled:this.params.disabled,icon:"x",label:this.intl.t("remove")}),e}get _showThumbnail(){var e;return(e=p(this.params,"uiSchema.options.showThumbnail"))!==null&&e!==void 0?e:!0}convertEntityIdsToGallerySelection(){return{[this.targetEntity]:this.params.value}}convertGallerySelectionToEntityIds(e){return e[this.targetEntity]}handleGalleryPickerOpen(){this.isOpen=!0}handleGalleryPickerClose(){this.isOpen=!1}handleGalleryPickerSelectionUpdate(e){let t=this.convertGallerySelectionToEntityIds(e.detail);this.selectedIds=t,this.arcgisConfigurationEditorFieldInputChange.emit(t),this.isOpen=!1}handleArcgisHubGalleryResultsChange(e){let t=e.detail.map(i=>i.id);this.inaccessibleContentIds=this.selectedIds.filter(i=>!t.includes(i))}actionHandler(e){e.detail.action==="remove"&&this.handleGallerySelectionRemove(e)}handleGallerySelectionRemove(e){let t=e.detail.model.id;this.handleSelectionRemove(t)}handleInaccessibleContentRemove(e){let t=e.target.getAttribute("data-id");this.handleSelectionRemove(t),this.inaccessibleContentIds=this.inaccessibleContentIds.filter(i=>i!==t)}handleSelectionRemove(e){this.selectedIds=this.selectedIds.filter(i=>i!==e),this.gallerySelection[this.targetEntity]=this.gallerySelection[this.targetEntity].filter(i=>i!==e),this.arcgisConfigurationEditorFieldInputChange.emit(this.selectedIds);let t={item:"content",group:"groups",user:"users",channel:"channel"}[this.targetEntity]||"content";this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.remove.label[t]),{details:this.params.telemetryLabel,count:this.selectedIds.length}))}handleSelectEntitiesOrderChange(e){let{oldIndex:t,newIndex:i}=e.detail,l=[...this.selectedIds],[n]=l.splice(t,1);l.splice(i,0,n),this.selectedIds=l,this.gallerySelection[this.targetEntity]=l,this.arcgisConfigurationEditorFieldInputChange.emit(l)}renderSelectedEntities(){var e,t,i,l,n;return o(d,null,o("arcgis-hub-gallery",{cardActionLinks:this.actionLinks,include:(t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.include,layout:"compact",limit:this.selectedIds.length,linkTarget:(n=(l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.linkTarget)!==null&&n!==void 0?n:"siteRelative",mobileView:this.isMobile,onArcgisHubGalleryResultsChange:this.handleArcgisHubGalleryResultsChange,query:this.query,reorderable:this.canReorder,showEmptyState:!1,showThumbnail:this._showThumbnail,sortByIds:this.selectedIds}),this.inaccessibleContentIds.length>0&&this.renderInaccessibleContent())}renderGalleryPickerButton(){var e,t,i,l,n,s,a,r,c,h;let A=!((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0)&&t.appearance?(l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.appearance:!((s=(n=this.params.uiSchema)===null||n===void 0?void 0:n.options)===null||s===void 0)&&s.showAddContent?"solid":"outline-fill";return o(d,null,o("calcite-button",{appearance:A,class:"gallery-picker__select",disabled:this.isOpen||this.params.disabled,kind:(r=(a=this.params.uiSchema)===null||a===void 0?void 0:a.options)===null||r===void 0?void 0:r.kind,label:this.pickerTitle,onClick:this.handleGalleryPickerOpen,ref:this.setTriggerElement,round:!0,width:(h=(c=this.params.uiSchema)===null||c===void 0?void 0:c.options)===null||h===void 0?void 0:h.width},this.pickerTitle))}renderGalleryPicker(){var e,t,i,l,n,s,a;return o("arcgis-wormhole",{elAttributes:{unthemed:""}},o("arcgis-hub-gallery-picker",{catalogs:(t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.catalogs,facets:(l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.facets,gallerySelection:this.gallerySelection,isMobile:this.isMobile,limit:this.limit,linkTarget:"siteRelative",modalOptions:(n=this.params.uiSchema)===null||n===void 0?void 0:n.options,modalTitle:this.pickerTitle,onArcgisHubGalleryPickerClose:this.handleGalleryPickerClose,onArcgisHubGalleryPickerSelectionUpdate:this.handleGalleryPickerSelectionUpdate,onHubTelemetry:this.handleHubTelemetry,open:this.isOpen,selectionMode:this.selectionMode,showAllCollectionFacet:(a=(s=this.params.uiSchema)===null||s===void 0?void 0:s.options)===null||a===void 0?void 0:a.showAllCollectionFacet,showSearch:!0,triggerElement:this.triggerElement}))}get addContentConfig(){var e,t;let i=((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.addContentTypes)||C(this._context,[this.targetEntity]);return{state:"enabled",create:{workflow:"create",targetEntity:this.targetEntity,types:i}}}get shouldRenderSelectButton(){var e,t,i,l;let n=this.selectedIds.length<this.limit||this.limit===void 0;return!((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0)&&t.hasOwnProperty("showSelect")?((l=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||l===void 0?void 0:l.showSelect)&&n:n}get shouldRenderAddContent(){var e,t;return((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.showAddContent)&&(this.limit===void 0||this.selectedIds.length<this.limit)}renderAddContentPicker(){var e,t;return o("arcgis-hub-add-content",{allowGroupSelection:(t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.allowGroupSelection,buttonProps:{appearance:"outline-fill",disabled:this.params.disabled},config:this.targetEntity==="item"?this.addContentConfig:null,entityType:this.targetEntity,onArcgisHubAddContentWorkflowComplete:this.handleAddContentComplete})}renderInaccessibleContent(){let e=this.targetEntity==="item"||!this.targetEntity?"content":this.targetEntity;return o(d,null,this.inaccessibleContentIds.map(t=>o("calcite-list-item",{appearance:"outline",description:this.intl.t(`inaccessibleContent.${e}Description`),"icon-start":"exclamation-mark-triangle","interaction-mode":"static",label:this.intl.t("inaccessibleContent.label",{type:e,id:t}),"selection-mode":"none"},this.allowRemoveAction&&this.renderRemoveAction(t,e))))}renderRemoveAction(e,t){return o("calcite-button",{appearance:"outline","data-id":e,disabled:this.params.disabled,iconEnd:"x",label:this.intl.t("inaccessibleContent.removeActionAriaLabel",{type:t}),onClick:this.handleInaccessibleContentRemove,round:!0,slot:"actions-end"})}render(){return o(S,{key:"172608c06e3417faf0d9ce2b23141c85065e4fd5","data-element":"gallery-picker-field",style:this.styles},!!this.selectedIds.length&&this.renderSelectedEntities(),o("div",{key:"ccf0d9fe65a9786591260d8238c1b7e2f9727ef0",class:"gallery-picker__button-container"},this.shouldRenderSelectButton&&this.renderGalleryPickerButton(),this.shouldRenderAddContent&&this.renderAddContentPicker()),this.isOpen&&this.renderGalleryPicker())}static get assetsDirs(){return["locales"]}get element(){return I(this)}static get watchers(){return{params:["onParamsChange"]}}};O([_("selectedIds","targetEntity")],R.prototype,"query",null);R.style=P;export{R as hub_field_input_gallery_picker};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{c as d}from"./RK3ERC5X.js";import"./ACS4GCTS.js";import"./674MO6TQ.js";import"./JY77GCJP.js";import"./OZCWHH4C.js";import"./JEU7742G.js";import"./2H7QFFBJ.js";import"./LWUUYWQF.js";import"./MGEMJ7VA.js";import"./3CEIJLDC.js";import"./4QG5TRVU.js";import"./CORVV5PK.js";import"./UJWJUOSA.js";import"./W7G3XU5R.js";import"./RPY5YDSG.js";import"./K67LUDPL.js";import"./ULEEEKXR.js";import"./5BZA4U23.js";import"./T7R2GGPI.js";import"./FD2B47CB.js";import"./5XDXSPJO.js";import"./IR73VHB4.js";import"./YJW2PDXB.js";import{b as i,c as l,i as n}from"./5F6BCIX4.js";import{a as r}from"./QOMO3OEO.js";import"./IG4VVTPY.js";import"./IKKSHB6P.js";import"./DSYJTVIZ.js";import"./XQHB3QIQ.js";import"./3HMLSJ3B.js";import"./C3NCECMA.js";var c=":host{display:block;border:thin solid #DDD;margin:0.5rem 0}tr:nth-child(even){background-color:#f3f3f3}th,td{padding:0.8rem 1rem}tbody tr.active-row{font-weight:bold;color:#009879}",f=c,p=class{constructor(t){n(this,t),this.entityId=null,this.entity={},this.sort=null,this.fields=[],this.useLayers=!1}componentWillLoad(){this.entityId&&this.fetchEntity(this.entityId)}entityIdUpdated(t){t&&this.fetchEntity(t)}getMetadataAttributes(t){return r(t,"metadata.metadata.eainfo.detailed.attr",[]).map(a=>({label:a.attrdef,name:a.attrlabl,source:a.attrdefs,format:a.attrtype}))}getLayerAttributes(t){return r(t,"layer.fields",[]).map(a=>({label:a.alias,name:a.name,source:"layer",format:a.type}))}getFields(t){let e;if(this.useLayers||(e=this.getMetadataAttributes(t)),(!e||e.length===0)&&(e=this.getLayerAttributes(t)),this.sort){let[a,m]=this.sort.split(" ");e=e.sort((s,o)=>(console.log("compare: ",[s[a],o[a]]),s[a]<o[a]?-1:1)),console.log("Sort",[a,m,e])}return e}async fetchEntity(t){var e;this.entity=await d(t),this.fields=this.getFields(this.entity),console.log("ArcGISHubMetadataList: fetchEntity",[this.entity.title,this.entity,(e=this.entity.metadata)===null||e===void 0?void 0:e.metadata.eainfo.detailed.attr])}render(){return i(l,{key:"a82da854818d6c27ca78efe0c04e5efe13208011","data-element":"dataset-field-list"},i("slot",{key:"624be2a67d656ba6e1f7cb87648b9181e385b750"}),i("table",{key:"dfed1be2076eb49afcc60d5eacdfd85ca3c88f91"},i("thead",{key:"1c87273456aded9e24c185c63ca2ab1b62a9f5c1"},i("td",{key:"8f486faa35035302e26f706fde078e7858abc254"},"Field Name"),i("td",{key:"9d24590b267840a79845528ef528aec6d13b7e93"},"Field Label"),i("td",{key:"82f7315a5925b669a735b8a8f53125c9ec9731a9"},"Source"),i("td",{key:"ea1ff85648d0a471b08039b7be4cb9dd1ac86792"},"Format")),this.fields.map(t=>i("tr",{key:t.name},i("td",null,t.name),i("td",null,t.label),i("td",null,t.source),i("td",null,t.format)))))}static get watchers(){return{entityId:["entityIdUpdated"]}}};p.style=f;export{p as arcgis_hub_dataset_field_list};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{b as e,c as t,d as s,i as r}from"./5F6BCIX4.js";import"./C3NCECMA.js";var c=".sc-arcgis-hub-event-hero-h{display:block}",n=c,i=class{constructor(a){r(this,a),this.entity=void 0}render(){return e(t,{key:"8cb4e7b39f56091c44076695526ff6754f529a10","data-element":"event-hero"},e("arcgis-hub-entity-hero",{key:"00ceb13b49eb22449e32dfc9b5a3004cd5ca024c",entity:this.entity},e("div",{key:"b9bd41a5407ed78a6f3b9416ab7849ad6683a8ca",slot:"footer-start"},e("arcgis-hub-event-actions",{key:"e972b66e59ac1120f8e7bfa79cd7129d6399dc3d",entity:this.entity}))))}get element(){return s(this)}};i.style=n;export{i as arcgis_hub_event_hero};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{b as s,c as a}from"./Q54P5AD6.js";import{c}from"./D7Q3QB2N.js";import"./ENRGL6DT.js";import"./7ICENQAA.js";import"./TQXADY2E.js";import{b as r,c as i,d as o,i as l}from"./5F6BCIX4.js";import"./CFYCHZX2.js";import"./QXSGEVKY.js";import"./QOMO3OEO.js";import"./IG4VVTPY.js";import"./IKKSHB6P.js";import"./2RBKQ43M.js";import"./DSYJTVIZ.js";import"./XQHB3QIQ.js";import"./C3NCECMA.js";var u=":host{display:block}",h=u,d=class{constructor(e){l(this,e),this.resourceCallback=(t,n,g,m)=>(t.additionalInfo=[],t.actionLinks=[],t),this.headingText=void 0,this.headingLevel=3,this.tags=[],this.limit=4,this._context=c(),this.hasResults=!1}get resourceQuery(){let t={group:this._context.resourceGroupIDs||[],type:["Document Link"]};return this.tags.length&&(t.tags=this.tags),{targetEntity:"item",filters:[{predicates:[t]}]}}renderHeader(){let e=`h${this.headingLevel}`;return this.hasResults?r(e,null,this.headingText):null}onResourceGalleryResultsChanged(e){this.hasResults=e.detail.length>0}render(){return r(i,{key:"fccf54ab9ddb76861c25986d3bcd989b4ea18a2d","data-element":"resource-gallery"},this.renderHeader(),r("arcgis-hub-gallery",{key:"f16f8f756ae23857a845f55ea4bcfc78c525c4d5",baseUrl:this._context.hubHomeUrl,callback:this.resourceCallback,corners:s.round,galleryType:"item",layout:"compact",limit:this.limit,"link-target":"siteRelative",newTab:!0,query:this.resourceQuery,shadow:a.low,showEmptyState:!1,showSearch:!1,showThumbnail:!1,sortField:"modified",sortOrder:"desc"},r("div",{key:"8686a8a8bf87c8522e8448ad2c4f21b216d64674",slot:"loading-screen"})))}get element(){return o(this)}};d.style=h;export{d as arcgis_hub_resource_gallery};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{a as m}from"./CYXR752I.js";import{c as u,d as T}from"./7DBWNIJY.js";import{e as d}from"./OBY4EBBN.js";import{a as g}from"./4BLXJQGP.js";async function b(n,o){for(let a=0;a<n.length;a++)await o(n[a],a,n)}function h(n){let o=T(n);if(!o.valid)throw new Error(o.reason);let a=[];for(let e=0;e<o.parts.length;e+=2){let y=u(o.parts[e]);a.push({hubEntityType:y,id:o.parts[e+1]})}return a.reverse()}async function P(n,o,a,e){let y=Date.now(),i={identifier:n,isContained:!1,catalogInfo:{},duration:0};if(!a||a.length===0)return Promise.resolve(i);i.isContained=!0;let E=a.map((t,s,p)=>{let r=s===0,l={id:t.id,hubEntityType:t.hubEntityType,idToFind:r?n:p[s-1].id,entityType:r?g(o):m(p[s-1].hubEntityType)};return t.catalog&&(l.catalog=t.catalog),l});await b(E,async t=>{let s;if(t.catalog)s=d.fromJson(t.catalog,e);else{let r={hubEntityType:t.hubEntityType,prop:"catalog"};s=await d.init(t.id,e,r)}i.catalogInfo[t.id]={id:t.id,hubEntityType:t.hubEntityType,catalog:s.toJson()};let p=await s.contains(t.idToFind,{entityType:t.entityType});p.isContained||(i.isContained=p.isContained,i.reason=`Entity ${t.idToFind} not contained in catalog ${t.id}`)});let c=new Date().getTime();return i.duration=c-y,i}export{b as a,h as b,P as c};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{b as i}from"./Q54P5AD6.js";import{a as s}from"./MTJTB24B.js";import"./GOPDQJWC.js";import"./Q7ONETZX.js";import{b as t,c as r,d as a,i as n}from"./5F6BCIX4.js";import"./3HMLSJ3B.js";import"./C3NCECMA.js";var o=":host{display:block}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}h5{font-size:1.375rem;font-weight:var(--calcite-font-weight-normal)}.empty-state{height:20rem;width:100%;display:flex;align-items:center;justify-content:center}calcite-icon{height:60%;width:60%}.hide{display:none}",h=o,c=class{constructor(e){n(this,e),this.groups=[],this.newTab=!1,this.showThumbnail=!0,this.cardTitle=void 0,this.titleAlign="left",this.layout="grid",this.corners=i.square,this.showEmptyState=!0,this.baseUrl=void 0,this.searchResponseHasResults=void 0}async componentWillLoad(){this.intl=await s.loadIntlForComponent(this.element),this.generateCollection()}onGroupsChanged(){this.generateCollection()}onResultsChange(e){let l=e.detail;this.searchResponseHasResults=l.length>0}generateCollection(){this.groups.length&&(this.collection={key:"group-card-cpllection",label:"Group Card Collection",targetEntity:"group",include:[],scope:{targetEntity:"group",filters:[{predicates:[{id:{any:this.groups}}]}]}})}renderCardTitle(){if(this.cardTitle)return t("div",{class:{"title-wrapper":!0,[`text-${this.titleAlign}`]:!0,hide:!this.showEmptyState&&!this.searchResponseHasResults}},t("h5",null,this.cardTitle))}render(){return this.groups.length?t(r,null,this.renderCardTitle(),t("arcgis-hub-gallery",{baseUrl:this.baseUrl,corners:this.corners,layout:this.layout,limit:this.groups.length+1,linkTarget:"siteRelative",newTab:this.newTab,query:this.collection.scope,showBadges:!1,showEmptyState:this.showEmptyState,showThumbnail:this.showThumbnail,sortByIds:this.groups})):t("div",{class:"empty-state"},t("calcite-icon",{icon:"group",scale:"l"}))}static get assetsDirs(){return["locales"]}get element(){return a(this)}static get watchers(){return{groups:["onGroupsChanged"]}}};c.style=h;export{c as arcgis_hub_groups_card};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import"./C3NCECMA.js";var e={chart:"Diagramme",barChart:"Diagramme en barres",lineChart:"Diagramme lin\xE9aire",pieChart:"Diagramme \xE0 secteurs",histogram:"Histogramme",scatterplot:"Nuage de points",boxPlot:"Bo\xEEte \xE0 moustaches"},a={mean:"Moyenne",median:"M\xE9diane",sum:"Somme",discretePercentile:"Centile discret",minimum:"Minimum",maximum:"Maximum",variance:"Variance",count:"Total",aggregation:"${ statistics } de ${ fieldName }",noAggregation:"Pas d\u2019agr\xE9gation"},i="Diagramme",t="S\xE9rie de nombres",r="Axe\xA0X",s="Non disponible",n={start:"Capturer sur le premier point de donn\xE9es",end:"Capturer sur le dernier point de donn\xE9es"},m={chartType:e,statistics:a,defaultTitle:i,countSeries:t,xAxis:r,notAvailable:s,timeAggregationTypes:n};export{e as chartType,t as countSeries,m as default,i as defaultTitle,s as notAvailable,a as statistics,n as timeAggregationTypes,r as xAxis};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{a as p}from"./2SQ3ZJGZ.js";import{n as s}from"./Y6OFIALG.js";import"./KL5VHB7E.js";import"./E4K5EEAG.js";import"./UWRAOWV3.js";import"./V5NH2NB4.js";import"./WMSSSASV.js";import"./VA42NCE7.js";import"./RAWIUJQX.js";import"./76XK22NS.js";import"./ODO3SFMF.js";import"./SLMLNO4N.js";import"./CXAZBPXA.js";import"./MIGRWBFQ.js";import"./DMQJPBWK.js";import"./RK3ERC5X.js";import"./ACS4GCTS.js";import"./5QVTPPCZ.js";import"./3VLZGGY3.js";import"./FZP6G2BG.js";import"./BQ3DEWBJ.js";import"./NE6DQ3U5.js";import"./3WQZZTR2.js";import"./674MO6TQ.js";import"./JY77GCJP.js";import"./POUOKKUL.js";import"./4BLXJQGP.js";import"./LJS6EKNQ.js";import"./LG4EBIZP.js";import"./NZ6QO3C3.js";import"./47IFZNB3.js";import"./2YEMMFLT.js";import{b as n}from"./CKOX2EA4.js";import"./JAYMTDTH.js";import"./ZF3ZEDPX.js";import"./OZCWHH4C.js";import"./JEU7742G.js";import"./2H7QFFBJ.js";import"./LWUUYWQF.js";import"./MGEMJ7VA.js";import"./3CEIJLDC.js";import"./4QG5TRVU.js";import"./5QJTGDEG.js";import"./CORVV5PK.js";import"./2OVC4FON.js";import"./HVJFMFYV.js";import"./PEZ3GDL2.js";import"./OXY7S7ND.js";import"./WHB7UC4B.js";import"./5WH43MAE.js";import"./7GBWB64S.js";import"./UJWJUOSA.js";import"./W7G3XU5R.js";import"./RPY5YDSG.js";import"./K67LUDPL.js";import"./ULEEEKXR.js";import"./5BZA4U23.js";import"./EJTCEJNM.js";import"./GTRZQTZG.js";import"./T7R2GGPI.js";import"./FD2B47CB.js";import"./5XDXSPJO.js";import"./IR73VHB4.js";import"./YJW2PDXB.js";import{c,j as d}from"./D7Q3QB2N.js";import"./ENRGL6DT.js";import"./7ICENQAA.js";import"./TQXADY2E.js";import{b as r,c as a,e as h,i as m}from"./5F6BCIX4.js";import"./3CE4HE7L.js";import"./VLNNKRSD.js";import"./ZMDRLGES.js";import"./VM7DLB4D.js";import"./YSSP6ELS.js";import"./CFYCHZX2.js";import"./QXSGEVKY.js";import"./QOMO3OEO.js";import"./IG4VVTPY.js";import"./IKKSHB6P.js";import"./2RBKQ43M.js";import{s as o}from"./DSYJTVIZ.js";import"./XQHB3QIQ.js";import"./3HMLSJ3B.js";import"./C3NCECMA.js";var u=":host{display:flex;flex-direction:column;gap:1rem}.fetch-inputs{display:flex;gap:0.5rem}calcite-combobox{width:13rem}calcite-input{flex-grow:1}",y=u,g=class{constructor(i){m(this,i),this.harnessFetchEntity=h(this,"harnessFetchEntity",7),this.handleIdentifierChange=t=>{let e=t.target.value;this.setIdentifier(e)},this.handleTypeChange=t=>{let e=t.target.value;this.appendParams(Object.assign({type:e},this.defaults&&this.defaults[e]&&{identifier:this.defaults[e]})),this._type=e,this.defaults&&this.defaults[e]&&(this._identifier=this.defaults[e])},this.handleSlotChange=t=>{this._slottedElements=p(t)},this.appendParams=t=>{let e=new URL(window.location.href);Object.entries(t).forEach(([l,f])=>{e.searchParams.set(l,f)}),window.location.search=e.search},this.entityProp=void 0,this.identifier=void 0,this.type=void 0,this.defaults=void 0,this.showIdentifierInput=void 0,this.showTypeInput=void 0,this._context=c(),this._identifier=void 0,this._type=void 0,this._slottedElements=[]}connectedCallback(){d(this)}disconnectedCallback(){this.disconnectContext()}async fetchEntity(){try{let i=await s(this._type,this._identifier,this._context);this.harnessFetchEntity.emit(i),this._slottedElements.forEach(t=>{t[this.entityProp]=i})}catch{console.error(`harness-fetch: error fetching entity ${this._identifier}`)}}async componentWillLoad(){let i=new URL(window.location.href).searchParams;this._identifier=i.get("identifier")||this.identifier,this._type=i.get("type")||this.type,await this.fetchEntity()}async setIdentifier(i){this.appendParams({identifier:i}),this._identifier=i}renderTypeInput(){let i=["channel","org","organization"];return r("calcite-combobox",{clearDisabled:!0,onCalciteComboboxChange:this.handleTypeChange,overlayPositioning:"fixed",placeholder:"Select an entity type...",selectionMode:"single"},n.filter(t=>!i.includes(t)).map(t=>r("calcite-combobox-item",{heading:o(t),key:t,label:o(t),selected:t===this._type,textLabel:o(t),value:t})))}renderIdentifierInput(){return r("calcite-input",{onCalciteInputChange:this.handleIdentifierChange,placeholer:"Enter an entity identifier (id or slug)...",value:this._identifier},r("calcite-button",{slot:"action"},"GO"))}render(){return r(a,{key:"3d760d39b703f34b2958332b42471ac61cb4ebd9"},(this.showTypeInput||this.showIdentifierInput)&&r("div",{class:"fetch-inputs"},this.showTypeInput&&this.renderTypeInput(),this.showIdentifierInput&&this.renderIdentifierInput()),r("slot",{key:"a7a328ab461a05cd83249a8ecf46fad15494fab5",onSlotchange:this.handleSlotChange}))}static get watchers(){return{_context:["fetchEntity"],_identifier:["fetchEntity"],_type:["fetchEntity"],_slottedElements:["fetchEntity"]}}};g.style=y;export{g as harness_fetch};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ var r=a=>{let e;switch(a){case"public":e="globe";break;case"org":e="organization";break;case"shared":e="users";break;case"private":e="user";break}return e};export{r as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ function a(r,o){var n={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&o.indexOf(t)<0&&(n[t]=r[t]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var e=0,t=Object.getOwnPropertySymbols(r);e<t.length;e++)o.indexOf(t[e])<0&&Object.prototype.propertyIsEnumerable.call(r,t[e])&&(n[t[e]]=r[t[e]]);return n}var l=r=>{let o=[].concat.apply([],r.filter(Array.isArray));return o.length?o:void 0};function c(r,o){return r.reduce((n,t)=>{let e=n[n.length-1];return(!e||e.length===o)&&(e=[],n.push(e)),e.push(t),n},[])}export{a,l as b,c};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import d from"./LKWKPKIL.js";import"./BLSX7IEM.js";import{a as f}from"./FAP5ONKG.js";import c from"./MXDXVV7P.js";import"./GYZAO5KT.js";import"./MTJSDTGQ.js";import{a as b,b as Q,c as X,d as x}from"./VJ4ZHPEY.js";import{a as F}from"./HTC3H7UG.js";import{a as H}from"./NIYSJ4R7.js";import"./T2HCO4C2.js";import"./74BTDLF3.js";import"./PYXQIQVS.js";import"./UW76XPMV.js";import"./OSUJKJBY.js";import"./Q54P5AD6.js";import a from"./GDRLFGHZ.js";import"./SLMLNO4N.js";import"./DMQJPBWK.js";import"./RK3ERC5X.js";import"./ACS4GCTS.js";import{N as K,O as A,X as Y,o as q}from"./5QVTPPCZ.js";import"./3VLZGGY3.js";import"./FZP6G2BG.js";import"./BQ3DEWBJ.js";import"./NE6DQ3U5.js";import"./3WQZZTR2.js";import"./674MO6TQ.js";import"./JY77GCJP.js";import"./POUOKKUL.js";import"./4BLXJQGP.js";import"./LJS6EKNQ.js";import"./LG4EBIZP.js";import"./NZ6QO3C3.js";import"./47IFZNB3.js";import"./2YEMMFLT.js";import"./CKOX2EA4.js";import"./JAYMTDTH.js";import"./ZF3ZEDPX.js";import"./OZCWHH4C.js";import"./JEU7742G.js";import"./2H7QFFBJ.js";import"./LWUUYWQF.js";import"./MGEMJ7VA.js";import"./3CEIJLDC.js";import"./4QG5TRVU.js";import"./5QJTGDEG.js";import"./CORVV5PK.js";import"./2OVC4FON.js";import"./HVJFMFYV.js";import"./PEZ3GDL2.js";import"./OXY7S7ND.js";import"./WHB7UC4B.js";import"./5WH43MAE.js";import"./7GBWB64S.js";import"./UJWJUOSA.js";import"./W7G3XU5R.js";import"./RPY5YDSG.js";import{f as O,g as W}from"./K67LUDPL.js";import"./ULEEEKXR.js";import"./5BZA4U23.js";import"./EJTCEJNM.js";import"./GTRZQTZG.js";import"./T7R2GGPI.js";import"./FD2B47CB.js";import"./5XDXSPJO.js";import"./IR73VHB4.js";import"./YJW2PDXB.js";import{a as M}from"./GSAH36AV.js";import{c as ie,j as se}from"./D7Q3QB2N.js";import"./ENRGL6DT.js";import{a as w}from"./7ICENQAA.js";import"./TQXADY2E.js";import{a as P}from"./MTJTB24B.js";import"./GOPDQJWC.js";import"./Q7ONETZX.js";import{b as u,c as S,d as E,e as I,h as $,i as _}from"./5F6BCIX4.js";import"./VLNNKRSD.js";import"./ZMDRLGES.js";import"./VM7DLB4D.js";import"./YSSP6ELS.js";import"./CFYCHZX2.js";import"./QXSGEVKY.js";import"./QOMO3OEO.js";import"./IG4VVTPY.js";import"./IKKSHB6P.js";import{a as z}from"./2RBKQ43M.js";import"./DSYJTVIZ.js";import{a as T}from"./XQHB3QIQ.js";import"./3HMLSJ3B.js";import"./C3NCECMA.js";export default $arcgis.t(([k,{watch:L},{webMercatorToGeographic:B},ne,J,{isAbortError:ce},{generalize:he},le,de,,{o:V,p:j},{g:ee,h:Z,m:N},{b:te}])=>{var ae={type:"Polygon",coordinates:[[[180,-90],[180,90],[-180,90],[-180,-90],[180,-90]]]},ue=e=>new Promise(t=>setTimeout(t,e)),pe=(e,t,i,s,a)=>{let r=Math.ceil(e/t);return r>s?(z.warn(`Discussions requests exceeds desired threshold, throttling to ${a}ms per batch.`),a):i/r},ge=async(e,t,i=10,s=!0)=>{let a=async r=>{var o;let n=(o=r.start)!==null&&o!==void 0?o:1,h=Object.assign({data:Object.assign({num:i,relations:[A.REPLIES,A.CHANNEL,A.CHANNEL_ACL],sortBy:K.UPDATED_AT,sortOrder:q.DESC,start:n},r)},t),c=Y(h);if(n===1){let{total:l}=await c,d=n+i,g=[c],v=s?pe(l,i,2500,10,250):0;for(;d<=l;)await ue(v),g.push(...await a(Object.assign(Object.assign({geometry:ae},r),{start:d}))),d=d+i;return g}return[c]};try{let r=await Promise.all([...await a(Object.assign(Object.assign({},e),{discussion:`${e.discussion}%?id=%`})),...await a(Object.assign(Object.assign({},e),{geometry:ae,discussion:`${e.discussion}%`}))]),o=[],n=r.map(({items:h})=>h).flat().filter(h=>o.includes(h.id)?!1:(o.push(h.id),!0));return ee(n)}catch(r){let{message:o}=r;z.error("Could not fetch on-map discussions:",o)}},me=".sc-arcgis-hub-discussions-map-integrator-h{display:block}@media only screen and (min-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{padding:0px}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + 4.5rem);left:calc(var(--left-offset) - 5rem - 25rem);max-height:calc(var(--panel-height) - 6rem)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset));left:calc(var(--left-offset))}}@media only screen and (max-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) + 0.05rem);top:calc(var(--top-offset) + var(--panel-height) * .5);max-height:calc(var(--panel-height) * .5);height:calc(var(--panel-height) * .5);left:0.95rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:100%}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + var(--panel-height) * .45)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) - 0.95rem);top:calc(var(--panel-height) + 3.2rem);left:0.5rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:1rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:100%}}",fe=me,m=function(e,t,i,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},p=class{constructor(e){_(this,e),this.arcgisHubMapPopoverOpen=I(this,"arcgisHubMapPopoverOpen",7),this.arcgisHubMapPopoverClear=I(this,"arcgisHubMapPopoverClear",7),this.hubTelemetry=I(this,"hubTelemetry",7),this.initialized=!1,this.cachedFeatures=[],this.unsavedExistingGeometry=[],this.cachedRelatedFeatureGeometry={},this.layerIds=[],this.persistAttribute="__persist__",this.view=void 0,this.discussionsRef=void 0,this.drawRef=void 0,this.searchRef=void 0,this.theme={},this.discussion=void 0,this.entity=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.isHub=void 0,this.isMobile=void 0,this.activeFeature=void 0,this.activeMapDiscussion=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=ie(),this.viewHeight=void 0,this.viewWidth=void 0,this.preview=!0,this.previewHeight=void 0,this.leftOffset=void 0,this.topOffset=void 0,this.mapActionNoticeActive=void 0,this.activePost=void 0,this.activeGraphicDetails=void 0,M(this,"makeGraphic","makeCalloutGraphic","setCalloutSymbolOnPointerMove","calculateOffsets","handlePointerMove","handleMapClickDiscussions","handleViewSizeChange","handleMapDrawSelect","handleEditActiveGraphic","handleDeleteActiveGraphic","handlePostPendingGraphic","addRelatedFeature","removeRelatedFeature","cancelAddRelatedFeature","getRelatedFeature","renderAddLocation","renderRemoveLocation","renderPostLocationEditOptions","renderPostLocationPrimaryOptions")}async componentWillLoad(){this.initialize(),this.intl=await P.loadIntlForComponent(this.element),V()}connectedCallback(){se(this)}disconnectedCallback(){this.teardown(),this.disconnectContext()}eventTargetIsDiscussionsRef(e){return e.target===this.discussionsRef||e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef}emitHubTelemetry(e){this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:this.sketchPostId,channelId:this.currentDiscussionsRef.channelId}))}async initialize(){let{view:e,_context:t}=this;if(this.saveInitialDrawOptions(),e&&t){if(await e.when(),this.addGeometryGraphicsLayer(),this.addStagedGeometryGraphicsLayer(),this.addCalloutGraphicsLayer(),this.addHighlightGraphicsLayer(),await this.fetchSubject(),this.fetchPosts(),this.handleViewSizeChange(),this.cachedFeatures.length)try{await this.refreshFeatures(this.cachedFeatures)}catch(i){console.warn("Cannot add discussions features to the map",i.message)}this.setDiscussionsRefHasMap(!0),this.mapViewSizeChangeHandler=L(()=>[e.height,e.width],this.handleViewSizeChange),this.mapViewCenterChangeHandler=L(()=>e.center,this.calculateOffsets),this.initialized=!0}}attachView(e,t){let{initialized:i}=this;e&&e!==t?(i&&this.teardown(),this.initialize()):!e&&i&&this.teardown()}attachdiscussionsRef(e){let{initialized:t}=this;e&&!t&&this.initialize()}handleDrawRefUpdate(){this.saveInitialDrawOptions()}calculateOffsets(){let{view:e,preview:t,graphicGeometry:i,isOffset:s,previewHeight:a,activeMapDiscussion:r}=this;if(e&&r&&i){let{container:o}=e,{top:n,left:h,right:c}=o.getBoundingClientRect(),l=e.toScreen(i),d=s?l.x+5:l.x,g=s?l.y-34:l.y;this.leftOffset=t?d+h:c,this.topOffset=t?g+n-a:n}}handlePreviewDidLoad(e){let{detail:t}=e;this.previewHeight=0,this.previewHeight=t}handlePreviewExpanded(){this.preview=!1}handleSearchWidgetPanelToggled(e){let{target:t,detail:i}=e,{searchRef:s}=this;t===s&&!i&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}handleGeometryGoTo(e){let{detail:t}=e,i=[...this.geometryGraphicsLayer.graphics.toArray(),...this.calloutGraphicsLayer.graphics.toArray()],s=[];if(t){let a=t.id,r=t.parentId?t.parentId:t.id;s=i.filter(({attributes:{id:o,parentId:n}})=>o===r||a&&n===a)}else{let{activeMapDiscussion:{locationId:a}}=this;s=i.filter(({attributes:{relatedFeatureId:r}})=>r===a)}s.length&&this.goTo(s)}handleGeometryFeature(e){let{detail:{post:t,create:i}}=e;this.unsavedExistingGeometry=[],this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:a}})=>a!==t.id),Z(t)&&(this.cachedFeatures=[...this.cachedFeatures,...Z(t)],i&&this.cachedFeatures.map(a=>{let{properties:{id:r}}=a,{parentId:o}=t;return r===o&&("replyCount"in a.properties||(a.properties.replyCount=0),a.properties.replyCount+=1),a}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0))}handleGeometryFeatureDeleted(e){let{detail:{id:t,parentId:i}}=e;this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:s}})=>s!==t).map(s=>{let{properties:{id:a}}=s;return a===i&&(s.properties.replyCount-=1),s}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0)}handleGeometryFeatureSelect(e){this.selectFeature(e.detail)}selectFeature(e){let{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}=e;this.clearHoverActiveGraphics();let r=this.getMatchingGraphic(e);if(r&&this.addHighlightGraphic(!1,r,b.ACTIVE,!1),a){let o=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s);i&&(o=this.makeGraphic(e)),this.goTo(o)}else{let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:l}}=n;return i?i==h:c==t&&(l===null||s==l)});if(o){this.addHighlightGraphic(!0,o,b.ACTIVE,!1);let n=i?this.cachedRelatedFeatureGeometry[i].arcgis:this.getGraphicById(t,s);this.goTo(n)}}}handleGeometryFeatureHighlight(e){let{detail:{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}}=e;this.clearHoverActiveGraphics();let r=this.getMatchingGraphic(e.detail);if(r&&this.addHighlightGraphic(!1,r,b.HOVER,!1),!a){let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:l}}=n;return i?i==h:c==t&&(l===null||s==l)});o&&this.addHighlightGraphic(!0,o,b.HOVER,!1)}}handleFeatureRemove(e){let{detail:{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}}=e;this.removeGraphic(t,i,s,a)}removeGraphic(e,t,i,s){let{currentDiscussionsRef:{unsavedFeatures:a,unsavedRelatedFeatures:r,unsavedExistingFeatures:o}}=this;if(s)if(t)this.currentDiscussionsRef.unsavedRelatedFeatures=[...r.slice(0,i),...r.slice(i+1,r.length)];else{this.currentDiscussionsRef.unsavedFeatures=[...a.slice(0,i),...a.slice(i+1,a.length)];let n=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(i);this.unsavedGeometryGraphicsLayer.graphics.remove(n)}else{let n=d=>{let{attributes:{relatedFeatureId:g,id:v,__index__:y}}=d;return t?t==g:v==e&&(y===null||+i==+y)},h=this.calloutGraphicsLayer.graphics.find(n);h&&(h.visible=!1);let c=this.geometryGraphicsLayer.graphics.find(n);c&&(c.visible=!1);let l=this.postToGeoJSON(null,{id:e,index:+i});this.currentDiscussionsRef.unsavedExistingFeatures=[...o.filter(({properties:{id:d,index:g}})=>!(e===d&&+i==+g)),l]}this.clearHoverActiveGraphics(!0)}handleGeometryDrawCreate(e){let{detail:{post:t,postType:i}}=e;this.sketchPostType=i,this.sketchPostId=t?.id,this.drawRef.buffer=!1,this.drawRef.disablePrimaryOptions=!0,this.drawRef.disableEditOptions=!0,this.drawRef.drawTip=void 0,this.drawRef.enableMapTips=!0}handleGeometryDrawTypeSelect(e){this.mapActionNoticeActive=!0,this.drawRef.setActiveTool(e.detail)}handleGeometryDrawDone(){this.mapActionNoticeActive=!1,this.drawRef.setActiveTool(void 0),this.deletePendingGraphics()}handleGeometryDrawCancel(){this.drawRef.setActiveTool(void 0)}handleActiveToolChange(e){let{detail:t}=e;t&&(this.deletePendingGraphics(),this.arcgisHubMapPopoverClear.emit())}handleGeometryDrawEdit(e){let{detail:{properties:{id:t,index:i,unsaved:s}}}=e;this.preview=!1,this.editGraphic(t,i,s)}editGraphic(e,t,i){let{drawRef:s}=this,{geometry:a}=i?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(t):this.getGraphicById(e,t);this.hideLayers(),this.goTo(a),this.sketchPostId=e,this.sketchIndex=t,this.sketchIsUnsaved=i,this.drawRef.geometry=void 0,setTimeout(()=>{s.geometry=a,s.disablePrimaryOptions=!0,s.disableEditOptions=!1,s.buffer=!1,s.enableMapTips=!0},0)}handlePostEditorReady(e){this.activePost=e.detail}handleGeometryDrawEditCancel(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers()}handleDrawGraphicsChange(e){var t;let{detail:{graphics:i,save:s,canceled:a,unsaved:r}}=e,{sketchPostId:o,sketchIndex:n,sketchIsUnsaved:h}=this,c=i.getItemAt(0);if(c.geometry=he(c.geometry.clone(),Q(this.view),!1),s&&this.drawRef.disablePrimaryOptions){this.drawRef.disableEditOptions=!0;let l=B(c.geometry),d=O(l);if(h){let v=this.currentDiscussionsRef.unsavedFeatures.map((R,D)=>(D===n&&(R.geometry=d),R));this.currentDiscussionsRef.unsavedFeatures=v;let y=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(n);y.geometry=c.geometry,!((t=y.attributes)===null||t===void 0)&&t.pending&&setTimeout(()=>{this.activeGraphicDetails={id:o,index:n,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},150)}else{let v=this.postToGeoJSON(d,{index:n,id:o});this.currentDiscussionsRef.unsavedExistingFeatures=[...this.currentDiscussionsRef.unsavedExistingFeatures.filter(({properties:{index:D}})=>D!==n),v];let y=this.getGraphicById(o,n);this.unsavedExistingGeometry.filter(({id:D,index:C})=>D===o&&C===n).length||this.unsavedExistingGeometry.push({id:o,index:n,geometry:y.geometry.clone()}),y.geometry=c.geometry}this.drawRef.forceReset(),this.showLayers();let g=N(d);this.emitHubTelemetry(w.dictionary.category.content.action.update.label.location.details[g])}else if(a)this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers();else if(r){this.drawRef.forceReset(),c.symbol=x[c.geometry.type](b.DEFAULT,this.themeWithDefaults[c.geometry.type]),c.attributes={pending:!0},this.addGraphicsToGraphicsLayer(this.unsavedGeometryGraphicsLayer,[c]);let l=[];i.forEach(d=>{let g=B(d.geometry),v=O(g);l.push({type:"Feature",geometry:v,properties:{id:this.sketchPostId,pending:!0}});let y=N(v);this.emitHubTelemetry(w.dictionary.category.content.action.create.label.location.details[y])}),this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures,...l],setTimeout(()=>{this.activeGraphicDetails={id:o,index:this.unsavedGeometryGraphicsLayer.graphics.length-1,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},250)}}handleGeometryDrawReset(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.restoreInitialDrawOptions(),this.showLayers()}handleGeometryClearAll(){this.resetStagedFeatures(),this.restoreInitialDrawOptions(),this.showLayers(),this.unsavedGeometryGraphicsLayer.graphics.removeAll();let e=t=>{t.visible=!0};this.geometryGraphicsLayer.graphics.forEach(e),this.calloutGraphicsLayer.graphics.forEach(e),this.mapActionNoticeActive=!1,this.activePost=void 0}async handleMapDrawSelect(e){let{detail:t}=e,{targetLayer:i}=this,{results:s}=await this.view.hitTest(t,{include:i}),a=j(s);if(a?.graphic&&this.drawRef.disableEditOptions){let{graphic:r}=a,o=r.layer.objectIdField,n=r.attributes[o];if(this.cacheRelatedFeatureGeometry([n]),!r.attributes.hasOwnProperty(i.displayField)){let{features:[l]}=await i.queryFeatures({objectIds:[n],outFields:["*"],returnGeometry:!1});l&&(r.attributes=l.attributes)}let h=this.currentDiscussionsRef.unsavedRelatedFeatures.map(l=>l.objectId),c=this.renderAddLocation;h.includes(n)&&(c=this.renderRemoveLocation),this.selectedGraphic=r,this.drawRef.enableMapTips=!1,this.arcgisHubMapPopoverOpen.emit({geometry:r.geometry,view:this.view,render:c,source:"action"}),this.highlightGraphic(r)}else this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.highlightGraphic()}handleDiscussionsClose(e){(e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef)&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}addRelatedFeature(){let e=this.selectedGraphic.layer.objectIdField,t=this.selectedGraphic.attributes[e];this.selectedGraphic.geometry=B(this.selectedGraphic.geometry);let i={postId:this.sketchPostId,objectId:t,feature:O(this.selectedGraphic.toJSON())};this.currentDiscussionsRef.unsavedRelatedFeatures=[...this.currentDiscussionsRef.unsavedRelatedFeatures,i],this.highlightGraphic(),this.arcgisHubMapPopoverClear.emit(),this.drawRef.enableMapTips=!0,this.emitHubTelemetry(w.dictionary.category.interaction.action.select.label.content)}removeRelatedFeature(){let{currentDiscussionsRef:{unsavedRelatedFeatures:e}}=this,t=this.selectedGraphic.layer.objectIdField,i=this.selectedGraphic.attributes[t],s=this.currentDiscussionsRef.unsavedRelatedFeatures.findIndex(a=>a.objectId==i);this.currentDiscussionsRef.unsavedRelatedFeatures=[...e.slice(0,s),...e.slice(s+1,e.length)],this.cancelAddRelatedFeature(),this.emitHubTelemetry(w.dictionary.category.interaction.action.deselect.label.content)}cancelAddRelatedFeature(){this.arcgisHubMapPopoverClear.emit(),this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.clearHighlights()}setDiscussionsRefHasMap(e){this.discussionsRef&&(this.discussionsRef.hasMap=e)}teardown(){this.clearHighlights(),this.removeViewHandlers(),this.removeLayers(),this.resetSelect(),this.setDiscussionsRefHasMap(!1)}async fetchSubject(){let{discussion:e,entity:t,entityId:i,entityType:s,_context:a,discussionSettings:r}=this,o=await te({discussion:e,entity:t,entityId:i,entityType:s,discussionSettings:r},a.hubRequestOptions,!0);Object.assign(this,o)}fetchPosts(){ge(this.searchParams,this._context.hubRequestOptions).then(e=>{e?.features&&(this.cachedFeatures=e.features,this.initialized&&this.refreshFeatures(e.features))})}addGeometryGraphicsLayer(){this.geometryGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.geometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addStagedGeometryGraphicsLayer(){this.unsavedGeometryGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.unsavedGeometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addCalloutGraphicsLayer(){this.calloutGraphicsLayer=new k({graphics:[],effect:"drop-shadow(0px, 2px, 8px, rgba(0, 0, 0, .20))",elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.calloutGraphicsLayer),this.layerIds.push(this.calloutGraphicsLayer.id),this.mapPointerMoveHandler=this.view.on("pointer-move",this.handlePointerMove),this.mapClickDiscussionsHandler=this.view.on("click",this.handleMapClickDiscussions)}addHighlightGraphicsLayer(){this.highlightGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.highlightGraphicsLayer),this.layerIds.push(this.highlightGraphicsLayer.id)}addHighlightGraphic(e,t,i,s){var a,r,o;let{themeWithDefaults:n,highlightGraphicsLayer:h,persistAttribute:c,is3D:l}=this,d=t.clone();if(e)d.symbol=x.callout(i,Object.assign(Object.assign({},n.callout),{isOffset:(a=t?.attributes)===null||a===void 0?void 0:a.isOffset,is3D:l}),(r=d.attributes)===null||r===void 0?void 0:r.totalCount);else if(!((o=t?.geometry)===null||o===void 0)&&o.type){let g=t.geometry.type;d.symbol=x[t.geometry.type](i,Object.assign({},n[g])),this.clearHoverActiveGraphics(s)}d.attributes=Object.assign(Object.assign({},d.attributes),{[c]:s}),h.add(d)}setCalloutSymbolOnPointerMove(e){this.view.hitTest(e,{include:this.calloutGraphicsLayer}).then(t=>{if(this.clearHoverActiveGraphics(!1),t.results.length){let i=j(t.results),{graphic:s}=i;this.addHighlightGraphic(!0,s,b.HOVER,!1)}})}setLocationEditPopover(e){this.view.hitTest(e,{include:[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer]}).then(t=>{if(t.results.length){let{results:[i]}=t,s=i.layer===this.unsavedGeometryGraphicsLayer,a=i.layer===this.geometryGraphicsLayer,r,o,n;if(s){let h=this.unsavedGeometryGraphicsLayer.graphics.findIndex(c=>c===i.graphic);r=void 0,o=h,n=!0}if(a&&this.activePost){let{id:h}=this.activePost,{graphic:{attributes:{id:c,__index__:l}}}=i,d=l||null;h===c&&(r=h,o=d,n=!1)}if(o!==void 0){let{geometry:h,attributes:c}=i.graphic;this.activeGraphicDetails={id:r,index:o,unsaved:n,geometry:h};let l=c?.pending?this.renderPostLocationPrimaryOptions:this.renderPostLocationEditOptions;this.arcgisHubMapPopoverOpen.emit({geometry:h,view:this.view,render:l,source:"action"})}}})}publishPendingGraphics(){this.unsavedGeometryGraphicsLayer.graphics.forEach(e=>{e.attributes.pending&&delete e.attributes.pending}),this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.map(e=>(e.properties.pending&&delete e.properties.pending,e))}deletePendingGraphics(){let e=this.unsavedGeometryGraphicsLayer.graphics.find(t=>{var i;return(i=t.attributes)===null||i===void 0?void 0:i.pending});this.unsavedGeometryGraphicsLayer.remove(e),this.currentDiscussionsRef&&(this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.filter(t=>t.properties.pending?!t.properties.pending:!0))}removeLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>this.removeLayer(e))}hideLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=.1)}showLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=1)}removeLayer(e){e&&e.destroy()}emptyFeatures(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer].forEach(e=>e.removeAll())}addGraphicsToGraphicsLayer(e,t){e.addMany(t)}async refreshFeatures(e){this.emptyFeatures(),this.resetSelect(),e.forEach(d=>{var g;return d.properties.totalCount=(g=d.properties.replyCount)!==null&&g!==void 0?g:0});let t=({geometry:d})=>!!d,i=e.map(this.makeGraphic).filter(t),s=e.map(this.makeCalloutGraphic).filter(t),a=({properties:d})=>!!H(d.discussion).features,r=e.filter(a),o=Array.from(new Set(r.map(({properties:{discussion:d}})=>H(d).features.map(g=>g)).flat()));await this.cacheRelatedFeatureGeometry(o);let n=[],h=[];for(let d of r){if(h.includes(d.properties.id))continue;h.push(d.properties.id);let{properties:g}=d,{features:v}=H(g.discussion);g.totalCount=0,v.forEach(y=>{var R;let D=({properties:{relatedFeatureId:G}})=>G==y,C=n.find(D);if(C){let{properties:G}=C,oe=((R=g.totalCount)!==null&&R!==void 0?R:0)+1;G.totalCount+=oe}else try{let G=this.getRelatedFeature(y);G.properties=Object.assign(Object.assign({},d.properties),{relatedFeatureId:y}),n.push(G)}catch(G){console.warn("Failed to access post related feature:",G.message)}})}let c=n.map(this.makeCalloutGraphic),l=[...s,...c];this.addGraphicsToGraphicsLayer(this.geometryGraphicsLayer,i),this.addGraphicsToGraphicsLayer(this.calloutGraphicsLayer,l),this.activeFeature&&(this.selectFeature(this.activeFeature),this.activeFeature=void 0)}pointToExtent(e,t=.0025){let{x:i,y:s,spatialReference:a}=e;return new ne({xmin:i-t,ymin:s-t,xmax:i+t,ymax:s+t,spatialReference:a})}goTo(e){if(!this.view)return;let t=e;t.geometry&&t.geometry.type==="point"&&(t=this.pointToExtent(t.geometry)),t.extent&&(t=t.extent.clone().expand(2)),this.view.goTo({target:t},{duration:1e3}).catch(i=>{ce(i)||console.error("Failed to zoom map to target feature or extent:",i.message)})}postToGeoJSON(e,t){return{type:"Feature",geometry:e,properties:t}}makeGraphic(e){var t;let i=W(e),s=J.fromJSON(i);return!((t=s?.geometry)===null||t===void 0)&&t.type&&(s.symbol=x[s.geometry.type](b.DEFAULT,this.themeWithDefaults[s.geometry.type])),s}makeCalloutGraphic(e){var t;let{is3D:i}=this,{callout:s}=x,{geometry:a,properties:r}=e,[o,n]=a.coordinates.flat(1/0),h=!r.relatedFeatureId&&e.geometry.type==="Point",c=W({type:"Feature",geometry:{type:"Point",coordinates:[o,n]},properties:Object.assign(Object.assign({},r),{replyCount:r.replyCount||0,isOffset:h})}),l=J.fromJSON(c);return l.symbol=s(b.DEFAULT,Object.assign(Object.assign({},this.themeWithDefaults.callout),{isOffset:h,is3D:i}),(t=e.properties)===null||t===void 0?void 0:t.totalCount),l}getRelatedFeature(e){return{type:"Feature",geometry:this.cachedRelatedFeatureGeometry[e].geojson,properties:{}}}async cacheRelatedFeatureGeometry(e){let{cachedRelatedFeatureGeometry:t,targetLayer:i}=this;if(!i){console.warn("Discussions service layer not defined; ingnoring related features");return}let s=Object.keys(t),a=e.filter(r=>!s.includes(`${r}`));if(a.length){let r={where:"1=1",objectIds:a.map(n=>+n),returnGeometry:!0,outSpatialReference:{wkid:4326},outFields:[this.targetLayer.objectIdField,this.targetLayer.displayField]},{features:o}=await this.targetLayer.queryFeatures(r);o.forEach(({geometry:n,attributes:h})=>{let c=O(n);this.cachedRelatedFeatureGeometry[h[this.targetLayer.objectIdField]]={arcgis:n,geojson:c}})}}getMatchingGraphic(e){let{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}=e,r;return i&&this.cachedRelatedFeatureGeometry[i]?r=new J({geometry:this.cachedRelatedFeatureGeometry[i].arcgis}):r=a?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s):this.getGraphicById(t,s),r}getGraphicById(e,t){return this.geometryGraphicsLayer.graphics.find(({attributes:{id:s,__index__:a}})=>{let r=t!==null?t==a:!0;return s===e&&r})}highlightGraphic(e){this.clearHighlights(),e&&this.view.whenLayerView(e.layer).then(t=>{this.highlightHandle=t.highlight(e)})}clearHighlights(){this.highlightHandle&&(this.highlightHandle.remove(),this.highlightHandle=null)}clearHoverActiveGraphics(e){let{persistAttribute:t,highlightGraphicsLayer:i}=this;if(e)i.removeAll();else{let s=i.graphics.filter(({attributes:a})=>!a[t]);i.removeMany(s.toArray())}}removeViewHandlers(){[this.mapPointerMoveHandler,this.mapClickDiscussionsHandler,this.mapViewSizeChangeHandler,this.mapViewCenterChangeHandler].forEach(e=>{e&&(e.remove(),e=null)})}resetSelect(){this.clearHighlights()}saveInitialDrawOptions(){let{drawRef:{buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}=this;this.initialDrawOptions={buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}restoreInitialDrawOptions(){let{initialDrawOptions:{buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}=this;this.drawRef.buffer=e,this.drawRef.disableEditOptions=t,this.drawRef.disablePrimaryOptions=i,this.drawRef.enableMapTips=s,this.drawRef.setActiveTool(void 0),this.drawRef.forceReset()}resetStagedFeatures(){this.currentDiscussionsRef.unsavedFeatures=[],this.currentDiscussionsRef.unsavedRelatedFeatures=[],this.currentDiscussionsRef.unsavedExistingFeatures=[],this.unsavedExistingGeometry.forEach(({id:e,index:t,geometry:i})=>{let s=this.getGraphicById(e,t);s.geometry=i}),this.unsavedExistingGeometry=[]}handleMapClickDiscussions(e){this.view.hitTest(e,{include:[this.calloutGraphicsLayer]}).then(t=>{if(t.results.length){this.searchRef&&(this.searchRef.active=!1),this.preview=!1,this.clearHoverActiveGraphics(!0);let i=j(t.results),{graphic:s}=i;this.graphicGeometry=s.geometry,this.isOffset=s.attributes.isOffset;let{attributes:{parentId:a,channelId:r,id:o,relatedFeatureId:n}}=s;if(n){let h=n;this.activeMapDiscussion={channelId:r,locationId:h}}else this.activeMapDiscussion={channelId:r,postId:a?o:void 0,parentId:a||o};this.addHighlightGraphic(!0,s,b.ACTIVE,!0),setTimeout(()=>{this.preview=!0},0)}})}handleViewSizeChange(){let{view:{height:e,width:t}}=this;this.viewHeight=e,this.viewWidth=t}handlePointerMove(e){this.setCalloutSymbolOnPointerMove(e),this.setLocationEditPopover(e)}handleEditActiveGraphic(){let{id:e,index:t,unsaved:i}=this.activeGraphicDetails;this.editGraphic(e,t,i)}handleDeleteActiveGraphic(){let{id:e,index:t,unsaved:i}=this.activeGraphicDetails;this.removeGraphic(e,null,t,i),this.arcgisHubMapPopoverClear.emit()}handlePostPendingGraphic(){this.publishPendingGraphics(),this.arcgisHubMapPopoverClear.emit(),this.currentDiscussionsRef.unsavedFeatures.length===1&&(this.drawRef.drawTip=this.intl.t("draw.tip"))}get searchParams(){var e;let t={channels:(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds,discussion:this.discussion};return Object.entries(t).reduce((i,[s,a])=>a?Object.assign(Object.assign({},i),{[s]:a}):i,{})}get currentDiscussionsRef(){return this.activeMapDiscussion?this.onMapDiscussionsRef:this.discussionsRef}get themeWithDefaults(){let{theme:e}=this,t={};return["point","polyline","polygon","callout"].forEach(i=>{t[i]=Object.assign(Object.assign({},X[i]),e[i])}),t}get is3D(){let{view:e}=this;return e.hasOwnProperty("camera")}get targetLayer(){return this.view.map.allLayers.filter(e=>e.type==="feature"&&!this.layerIds.includes(e.id)).getItemAt(0)}get styles(){let{view:e,viewWidth:t,viewHeight:i,leftOffset:s,topOffset:a,previewHeight:r,preview:o}=this,n={};if(e){let{container:h}=e;if(!h)return;let{top:c,left:l,right:d,bottom:g}=h.getBoundingClientRect();n={"--left-offset":`${s??0}px`,"--top-offset":`${a??0}px`,"--panel-left":`${l??0}px`,"--panel-height":`${o?(i??0)-(r??0):(g??0)-(c??0)}px`,"--panel-width":`${(d??0)-(l??0)}px`,"--view-width":`${t??0}px`,"--view-height":`${i??0}px`}}return n}renderAddLocation(){let{intl:e,sketchPostType:t}=this;return u($,null,u("calcite-action-group",null,u("calcite-action",{icon:"check",onClick:this.addRelatedFeature,text:e.t(`prompt.add.${t}`),textEnabled:!0})),u("calcite-action-group",null,u("calcite-action",{icon:"undo",onClick:this.cancelAddRelatedFeature,text:e.t("prompt.remove.existing"),textEnabled:!0})))}renderRemoveLocation(){return u("calcite-action-pad",{"expand-disabled":!0,expanded:!0,layout:"horizontal"},u("calcite-action",{icon:"trash",onClick:this.removeRelatedFeature,text:this.intl.t("location.remove"),textEnabled:!0}))}renderPostLocationPrimaryOptions(){let{activeGraphicDetails:{geometry:{type:e}},intl:t,sketchPostType:i}=this;return u($,null,u("calcite-action-group",null,u("calcite-action",{icon:"check",onClick:this.handlePostPendingGraphic,text:t.t(`prompt.add.${i}`),"text-enabled":!0})),u("calcite-action-group",null,u("calcite-action",{icon:e==="point"?"move":"pencil",onClick:this.handleEditActiveGraphic,text:t.t(`prompt.edit.${e}`),"text-enabled":!0}),u("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:t.t(`prompt.remove.${e}`),"text-enabled":!0})))}renderPostLocationEditOptions(){let{intl:e}=this;return u("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal"},u("calcite-action",{icon:"pencil",onClick:this.handleEditActiveGraphic,text:e.t("prompt.location.edit")}),u("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:e.t("prompt.location.delete")}))}renderMapDiscussion(){let{activeMapDiscussion:e,discussion:t,isHub:i,entityId:s,entity:a,entityType:r,showChannelAvatar:o,showChannelName:n,discussionSettings:h}=this;return this.preview?u("arcgis-hub-discussions-map-preview",{channelId:e.channelId,discussion:t,locationId:e.locationId,parentId:e.postId?e.parentId:void 0,postId:e.postId||e.parentId,ref:c=>{this.onMapDiscussionsPreviewRef=c},showChannelAvatar:o}):u("arcgis-hub-discussions",{channelId:e.channelId,disableNavigation:!e.locationId,discussion:t,discussionSettings:h,dismissible:!0,enableGoTo:!0,entity:a,entityId:s,entityType:r,hasMap:!0,isHub:i,locationId:e.locationId,parentId:e.parentId,postId:e.postId,ref:c=>{this.onMapDiscussionsRef=c},showChannelAvatar:o,showChannelName:n})}render(){let{activeMapDiscussion:e,styles:t,view:i,mapActionNoticeActive:s}=this;return u(S,{key:"ce412a38001cdec7c0839f6e168e1cc9615d0d3a","data-element":"discussions-map-integrator",style:t},e&&this.renderMapDiscussion(),i&&s&&u("arcgis-hub-discussions-map-action-notice",{view:i}))}static get assetsDirs(){return["locales"]}get element(){return E(this)}static get watchers(){return{_context:["initialize"],view:["attachView"],discussionsRef:["attachdiscussionsRef"],drawRef:["handleDrawRefUpdate"],preview:["calculateOffsets"],previewHeight:["calculateOffsets"]}}};m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryGoTo",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeature",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureDeleted",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureSelect",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureHighlight",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleFeatureRemove",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawCreate",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawTypeSelect",null);m([f({when(e){return e.target===this.drawRef}})],p.prototype,"handleActiveToolChange",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawEdit",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handlePostEditorReady",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawEditCancel",null);m([f({when(e){return e.target===this.drawRef}})],p.prototype,"handleDrawGraphicsChange",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawReset",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryClearAll",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleDiscussionsClose",null);m([F({timeout:50})],p.prototype,"setLocationEditPopover",null);m([f({when(e){return e}}),F({timeout:50})],p.prototype,"refreshFeatures",null);m([f({when(){return this.geometryGraphicsLayer}})],p.prototype,"getGraphicById",null);m([f({when(){return this.highlightGraphicsLayer}})],p.prototype,"clearHoverActiveGraphics",null);m([f({when(){return this.drawRef}})],p.prototype,"saveInitialDrawOptions",null);m([f({when(){return this.drawRef&&this.initialDrawOptions}})],p.prototype,"restoreInitialDrawOptions",null);m([f({when(){return this.currentDiscussionsRef}})],p.prototype,"resetStagedFeatures",null);m([f({when(){return!this.mapActionNoticeActive}})],p.prototype,"handleMapClickDiscussions",null);m([F({timeout:50})],p.prototype,"handleViewSizeChange",null);m([F({timeout:15})],p.prototype,"handlePointerMove",null);m([f({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],p.prototype,"renderPostLocationPrimaryOptions",null);m([f({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],p.prototype,"renderPostLocationEditOptions",null);p.style=fe;function ye(e){return[{key:"point",text:e.t("point"),sourceIndex:0},{key:"rectangle",text:e.t("rectangle"),sourceIndex:0},{key:"draw",text:e.t("draw"),sourceIndex:0}]}var ve=":host{display:block}arcgis-hub-map-widget-search calcite-dropdown{position:absolute}arcgis-hub-map-widget-search calcite-input{width:var(--width)}arcgis-hub-map-widget-search calcite-dropdown-group{width:var(--width)}.hub-widget-search.top{position:absolute;width:var(--width)}.hub-widget-search.right{right:100%;margin-right:1rem}.hub-widget-search.left{left:100%;margin-left:1rem}",we=ve,re=function(e,t,i,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},U=class{get inputScale(){return this.scale==="s"?"m":"l"}constructor(e){_(this,e),this.arcgisHubGeometryResultSelection=I(this,"arcgisHubGeometryResultSelection",7),this.arcgisHubWidgetPanelToggled=I(this,"arcgisHubWidgetPanelToggled",7),this.hubTelemetry=I(this,"hubTelemetry",7),this.tools=void 0,this.scale="m",this.view=void 0,this.searchViewModelProperties={},this.active=void 0,this.openMenuOnSearchSelection=!1,this.completeValidSearch=void 0,this.loading=void 0,this.suggestions=[],this.value=void 0,this.width="25rem",M(this,"handleSetInputRef","searchIfEnter","toggleActive","setInputWidth")}async componentWillLoad(){let{el:e}=this,t=e&&e.closest("arcgis-hub-map-widget-container");this.viewPosition=t?.viewPosition,this.intl=await P.loadIntlForComponent(e),await this.connectViewModel()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}componentDidLoad(){V()}handleViewChange(e,t){e&&e!==t&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}handleActiveChange(e){let{hubTelemetry:t}=this,i=e?w.dictionary.category.interaction.action.open.label.search:w.dictionary.category.interaction.action.close.label.search;t.emit(i),this.setInputWidth()}handleValueChange(){let{value:e,searchViewModel:t}=this;t&&e===""&&t.clear()}handleSearchViewModelChange(){this.connectViewModel()}handlePanelToggled(e){let{target:t,detail:i}=e,{el:s}=this;t!==s&&!i&&(this.active=!1)}onCalciteAutocompleteClose(e){let t=e.target.value;this.completeValidSearch?(t!=="draw"&&this.arcgisHubGeometryResultSelection.emit({geometry:this._getGeometry(t),userSelection:t,locationName:T(this.completeValidSearch,"results[0].results[0].name")}),this.suggestions=[]):(this.selectedKey=t,this.value=this.selected.text,this.search())}onCalciteAutocompleteTextChange(e){this.value=e.target.inputValue}onCalciteAutocompleteTextInput(e){this.value=e.target.inputValue,this.value&&this.getSuggestions()}async handleSetInputRef(e){e&&(this.inputEl=e,await e.setFocus())}async getSuggestions(){let{value:e,completeValidSearch:t,hubTelemetry:i,searchViewModel:s}=this;i.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.search.label.query),{search:e}));let{results:[a]}=await s.suggest(e);t?this.completeValidSearch=null:this.suggestions=a?.results||[]}_getGeometry(e){let t;switch(e){case"point":t=T(this.completeValidSearch,"results[0].results[0].feature.geometry");break;case"rectangle":t=T(this.completeValidSearch,"results[0].results[0].extent");break}return t}async search(){let{value:e,hubTelemetry:t,searchViewModel:i}=this;this.loading=!0;let s=this.selected||e,a=await i.search(s);t.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.to),{details:a?.searchTerm})),this.loading=!1,this.selectedKey=null,setTimeout(()=>{this.completeValidSearch=a?.numResults===1?a:null,this.tools&&this.completeValidSearch?this.addLocationType():this.suggestions=[],this.openMenuOnSearchSelection&&(this.inputEl.open=!0)},150)}addLocationType(){let e=ye(this.intl).filter(t=>this.isValidLocationType(t.key+""));this.suggestions=e.length===1?[]:e}isValidLocationType(e){return this.tools.includes(e)&&!!this._getGeometry(e)||e==="draw"}searchIfEnter(e){let{key:t}=e;t==="Enter"&&this.search()}toggleActive(){let{active:e,arcgisHubWidgetPanelToggled:t}=this;this.active=!e,t.emit(e)}connectWatch(){let{view:e}=this;e&&(this.handle=L(()=>e.size,this.setInputWidth))}removeWatch(){let{handle:e}=this;e&&e.remove(),this.handle=void 0}async connectViewModel(){let{view:e}=this;e&&(await e.when(),this.searchViewModel=new le(Object.assign({autoSelect:!0,suggestionsEnabled:!0,maxResults:1,maxSuggestions:5,minSuggestCharacters:3,view:e},this.searchViewModelProperties)))}setInputWidth(){let{inputEl:e,view:{size:t}}=this;if(!e)return;let[i]=t;this.width=i<600?`${i*.65}px`:"25rem"}get positionClass(){let{viewPosition:e}=this;if(e)return`hub-widget-search ${e.split("-").join(" ")}`}get selected(){let{suggestions:e,selectedKey:t}=this;return e.filter(({key:i})=>i===t).pop()}get styles(){let{width:e}=this;return{"--width":e}}render(){let{value:e,loading:t,scale:i,active:s,styles:a}=this,r=this.intl.t("textOpen"),o=this.intl.t("textClose"),n=this.intl.t("placeholder");return u(S,{key:"e6f2f99d38252ee605da42ac7444c1081c6040a0","data-element":"map-widget-search",style:a},this.active&&u("section",{class:this.positionClass},u("calcite-autocomplete",{icon:"search",loading:t,onKeyPress:this.searchIfEnter,placeholder:n,ref:this.handleSetInputRef,scale:this.inputScale,value:e},this.suggestions.map(h=>u("calcite-autocomplete-item",{handle:!0,heading:h.text,key:h.key,value:h.key})))),u("arcgis-hub-map-widget-generic",{key:"75d5010ec337ce13d5e3cae92b2057a89f1bf843",active:s,"data-test":"map-widget-search",icon:"search",onClick:this.toggleActive,scale:i,text:s?o:r}))}static get assetsDirs(){return["locales"]}get el(){return E(this)}static get watchers(){return{view:["handleViewChange"],active:["handleActiveChange"],value:["handleValueChange"],searchViewModelProperties:["handleSearchViewModelChange"]}}};re([F({timeout:150})],U.prototype,"getSuggestions",null);re([F({timeout:25})],U.prototype,"setInputWidth",null);U.style=we;var be="",Ge=be,Ie=class{constructor(e){_(this,e),this.hubTelemetry=I(this,"hubTelemetry",7),this.handles=[],this.view=void 0,this.scale="m",this.canZoomIn=void 0,this.canZoomOut=void 0,M(this,"zoomIn","zoomOut","updateCanZoomIn","updateCanZoomOut")}async componentWillLoad(){let{el:e}=this;this.intl=await P.loadIntlForComponent(e),await this.connectViewModel(),this.connectWatch(),V()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}handleViewChange(e,t){e&&e!==t&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}connectWatch(){let{view:e,handles:t,zoomViewModel:i}=this;e&&i&&t.push(L(()=>i.canZoomIn,this.updateCanZoomIn),L(()=>i.canZoomOut,this.updateCanZoomOut))}removeWatch(){let{handles:e}=this;e.forEach(t=>{t.remove()}),this.handles=[]}async connectViewModel(){let{view:e}=this;if(e){await e.when(),this.zoomViewModel=new de({view:e});let{canZoomIn:t,canZoomOut:i}=this.zoomViewModel;this.canZoomIn=t,this.canZoomOut=i}}updateCanZoomIn(e){this.canZoomIn=e}updateCanZoomOut(e){this.canZoomOut=e}zoomIn(){let{zoomViewModel:e,canZoomIn:t,view:i}=this;e&&t&&(e.zoomIn(),this.hubTelemetry.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.in),{details:i.zoom})))}zoomOut(){let{zoomViewModel:e,canZoomOut:t,view:i}=this;e&&t&&(this.zoomViewModel.zoomOut(),this.hubTelemetry.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.out),{details:i.zoom})))}render(){let{zoomIn:e,zoomOut:t,canZoomIn:i,canZoomOut:s,scale:a}=this,r=this.intl.t("zoomIn"),o=this.intl.t("zoomOut");return u(S,{key:"72e18144a87ea9afdaa5c213bb1fec9417e60518","data-element":"map-widget-zoom"},u("arcgis-hub-map-widget-generic",{key:"d4500ad8e952c706e5f8452cc5826e5dd893e922","data-test":"map-widget-zoom-in",disabled:!i,icon:"plus",onClick:e,scale:a,text:r}),u("arcgis-hub-map-widget-generic",{key:"35705de04180d659268f4312a15d57e2bdc9dd5e","data-test":"map-widget-zoom-out",disabled:!s,icon:"minus",onClick:t,scale:a,text:o}))}static get assetsDirs(){return["locales"]}get el(){return E(this)}static get watchers(){return{view:["handleViewChange"]}}};Ie.style=Ge;return{arcgis_hub_discussions_map_integrator:p,arcgis_hub_map_widget_search:U,arcgis_hub_map_widget_zoom:Ie}},"layers/GraphicsLayer","core/reactiveUtils","geometry/support/webMercatorUtils","geometry/Extent","Graphic","core/promiseUtils","geometry/geometryEngine","widgets/Search/SearchViewModel","widgets/Zoom/ZoomViewModel","config",a,c,d)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{a as o}from"./GSAH36AV.js";import{b as l,e as r,i as c}from"./5F6BCIX4.js";import"./C3NCECMA.js";var u=class{constructor(e){c(this,e),this.arcgisConfigurationEditorFieldInputChange=r(this,"arcgisConfigurationEditorFieldInputChange",7),this.params=void 0,o(this,"handleCalciteInputTimePickerChange")}handleCalciteInputTimePickerChange(e){let i=e.target.value;i.split(":").length===2&&(i=`${i}:00`),this.arcgisConfigurationEditorFieldInputChange.emit(i)}render(){var e,t,i,a,n,s;return l("calcite-input-time-picker",{key:"56e8cb99eb29d5d33d2e821cfca6fecabc714f52",disabled:this.params.disabled,onCalciteInputTimePickerChange:this.handleCalciteInputTimePickerChange,overlayPositioning:(t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.overlayPositioning,placement:((a=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||a===void 0?void 0:a.placement)||"auto",scale:this.params.scale,step:((s=(n=this.params.uiSchema)===null||n===void 0?void 0:n.options)===null||s===void 0?void 0:s.step)||60,value:this.params.value})}};export{u as hub_field_input_time};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{a as w,b as g}from"./ULEEEKXR.js";import{a as b,d as k,h as v,j as $,k as P,l as E,m as N}from"./5BZA4U23.js";import{a as M,b as d}from"./IR73VHB4.js";import{a as z}from"./IG4VVTPY.js";import{c as D}from"./IKKSHB6P.js";import{a as u}from"./XQHB3QIQ.js";function A(t){return`${w(t)}/sharing/rest`}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function J(t){let e;return/(qaext|\.mapsqa)\.arcgis.com/.exec(t)?e="https://hubqa.arcgis.com":/(devext|\.mapsdevext)\.arcgis.com/.exec(t)?e="https://hubdev.arcgis.com":/(www|\.maps)\.arcgis.com/.exec(t)&&(e="https://hub.arcgis.com"),e}function T(t){let e=t&&t.hubApiUrl;return e||J(A(t))}var q=new RegExp(/.+(?:map|feature|image)server/i);function L(t){let e=t.match(q);return e?e[0]:_(t)}function _(t){let e=t.split("?")[0];return M(e)}var V=function(e,n,a,r){var o=(r[0]-a[0])*(e[1]-a[1])-(r[1]-a[1])*(e[0]-a[0]),i=(n[0]-e[0])*(e[1]-a[1])-(n[1]-e[1])*(e[0]-a[0]),s=(r[1]-a[1])*(n[0]-e[0])-(r[0]-a[0])*(n[1]-e[1]);if(s!==0){var l=o/s,p=i/s;if(l>=0&&l<=1&&p>=0&&p<=1)return!0}return!1},Z=function(e,n){for(var a=!1,r=-1,o=e.length,i=o-1;++r<o;i=r)(e[r][1]<=n[1]&&n[1]<e[i][1]||e[i][1]<=n[1]&&n[1]<e[r][1])&&n[0]<(e[i][0]-e[r][0])*(n[1]-e[r][1])/(e[i][1]-e[r][1])+e[r][0]&&(a=!a);return a},Y=function(e,n){for(var a=0;a<e.length;a++)if(e[a]!==n[a])return!1;return!0},B=function(e,n){for(var a=0;a<e.length-1;a++)for(var r=0;r<n.length-1;r++)if(V(e[a],e[a+1],n[r],n[r+1]))return!0;return!1},R=function(e){return Y(e[0],e[e.length-1])||e.push(e[0]),e},U=function(e){var n=0,a=0,r=e.length,o=e[a],i;for(a;a<r-1;a++)i=e[a+1],n+=(i[0]-o[0])*(i[1]+o[1]),o=i;return n>=0},F=function(e){var n={};for(var a in e)e.hasOwnProperty(a)&&(n[a]=e[a]);return n},Q=function(e,n){var a=B(e,n),r=Z(e,n[0]);return!!(!a&&r)},X=function(e){for(var n=[],a=[],r,o,i,s=0;s<e.length;s++){var l=R(e[s].slice(0));if(!(l.length<4))if(U(l)){var p=[l.slice().reverse()];n.push(p)}else a.push(l.slice().reverse())}for(var y=[];a.length;){i=a.pop();var C=!1;for(r=n.length-1;r>=0;r--)if(o=n[r][0],Q(o,i)){n[r].push(i),C=!0;break}C||y.push(i)}for(;y.length;){i=y.pop();var S=!1;for(r=n.length-1;r>=0;r--)if(o=n[r][0],B(o,i)){n[r].push(i),S=!0;break}S||n.push([i.reverse()])}return n.length===1?{type:"Polygon",coordinates:n[0]}:{type:"MultiPolygon",coordinates:n}},K=function(e,n){for(var a=n?[n,"OBJECTID","FID"]:["OBJECTID","FID"],r=0;r<a.length;r++){var o=a[r];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},Pe=function t(e,n){var a={};if(e.features){a.type="FeatureCollection",a.features=[];for(var r=0;r<e.features.length;r++)a.features.push(t(e.features[r],n))}if(typeof e.x=="number"&&typeof e.y=="number"&&(a.type="Point",a.coordinates=[e.x,e.y],typeof e.z=="number"&&a.coordinates.push(e.z)),e.points&&(a.type="MultiPoint",a.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(a.type="LineString",a.coordinates=e.paths[0].slice(0)):(a.type="MultiLineString",a.coordinates=e.paths.slice(0))),e.rings&&(a=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(a.type="Polygon",a.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(a.type="Feature",a.geometry=e.geometry?t(e.geometry):null,a.properties=e.attributes?F(e.attributes):null,e.attributes))try{a.id=K(e.attributes,n)}catch{}return JSON.stringify(a.geometry)===JSON.stringify({})&&(a.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),a},O=function(e){var n=[],a=e.slice(0),r=R(a.shift().slice(0));if(r.length>=4){U(r)||r.reverse(),n.push(r);for(var o=0;o<a.length;o++){var i=R(a[o].slice(0));i.length>=4&&(U(i)&&i.reverse(),n.push(i))}}return n},j=function(e){for(var n=[],a=0;a<e.length;a++)for(var r=O(e[a]),o=r.length-1;o>=0;o--){var i=r[o].slice(0);n.push(i)}return n},ee=function t(e,n){n=n||"OBJECTID";var a={wkid:4326},r={},o;switch(e.type){case"Point":r.x=e.coordinates[0],r.y=e.coordinates[1],e.coordinates[2]!=null&&(r.z=e.coordinates[2]),r.spatialReference=a;break;case"MultiPoint":r.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"LineString":r.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"MultiLineString":r.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"Polygon":r.rings=O(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"MultiPolygon":r.rings=j(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(r.hasZ=!0),r.spatialReference=a;break;case"Feature":e.geometry&&(r.geometry=t(e.geometry,n)),r.attributes=e.properties?F(e.properties):{},e.id&&(r.attributes[n]=e.id);break;case"FeatureCollection":for(r=[],o=0;o<e.features.length;o++)r.push(t(e.features[o],n));break;case"GeometryCollection":for(r=[],o=0;o<e.geometries.length;o++)r.push(t(e.geometries[o],n));break}return r},c;(function(t){t.CitationContact="metadata.resource.citation.contact",t.ResourceContact="metadata.resource.contact",t.MetadataContact="metadata.contact",t.ItemOwner="item.owner",t.None="none"})(c||(c={}));var f;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(f||(f={}));var h={devext:"dev",qaext:"qa",production:""},Ee=t=>{var e;let n=t.extent,a=v(n),r=((e=t.properties)===null||e===void 0?void 0:e.boundary)||(a?"item":void 0),o={geometry:null,provenance:r};if(r==="item"&&a){let i=b(n),s=P(i);o.center=[s.x,s.y],o.geometry=Object.assign(Object.assign({},$(i)),{type:"polygon"}),o.spatialReference=o.geometry.spatialReference}return o},te=t=>v(t)?Object.assign(Object.assign({},b(t)),{type:"extent"}):void 0,Ne=t=>{let{properties:e,extent:n}=t,a=e?.location;if(a)return a;if(e?.boundary==="none")return{type:"none"};let r=te(n);if(r)return{type:z(t.type)?"org":"custom",extent:n,geometries:[r],spatialReference:r.spatialReference};try{let o=N(n),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},ee(n)),{spatialReference:E(o)?i:ie(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}},H=t=>t&&t.isPortal,Me=(t,e)=>!!t&&t.access==="public"&&!H(e),we=(t,e)=>!H(e)&&t.access==="public"&&t.type==="CSV"&&t.size<=5e6,De=(t,e,n)=>{let a=ae(t,e,n)||re(t,e,n),r=D(t);if(!a){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";r==="feedback"?s=e?"/feedback/surveys":"":ne(t,n)?s="/pages":i.indexOf(r)>-1&&(s=`/${r}s`),a=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(r)&&(a=""),a},ne=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ae=(t,e,n)=>{let a;return t==="Solution"?n?.indexOf("Deployed")>-1?a=`/content/${e}/about`:a=`/templates/${e}/about`:t==="Web Mapping Application"&&n?.indexOf("hubSolutionTemplate")>-1&&(a=`/templates/${e}/about`),a},re=(t,e,n)=>{if(t==="Hub Initiative"&&n?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};function oe(t){return{updateFrequency:"metadata.dataIdInfo.resMaint.maintFreq.MaintFreqCd.@_value",reviseDate:"metadata.dataIdInfo.idCitation.date.reviseDate",pubDate:"metadata.dataIdInfo.idCitation.date.pubDate",createDate:"metadata.dataIdInfo.idCitation.date.createDate",metadataUpdateFrequency:"metadata.mdMaint.maintFreq.MaintFreqCd.@_value",metadataUpdatedDate:"metadata.mdDateSt"}[t]}function ze(t,e){let n=oe(e);return n&&u(t,n)}function Ae(t){t=`${t}`;let e,n;if(/^\d{4}$/.test(t))e=new Date(+t,0,1),n=f.Year;else if(/^\d{4}-\d{1,2}$/.test(t)){let a=t.split("-");e=new Date(+a[0],+a[1]-1,1),n=f.Month}else if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(t)){let a=t.split("-");e=new Date(+a[0],+a[1]-1,+a[2]),n=f.Day}else Number.isNaN(Date.parse(t))||(e=new Date(t),n=t.includes("T")?f.Time:f.Day);return e&&n&&{date:e,precision:n}}var ie=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let n=e+"",a=parseInt(n,10);return isNaN(a)?null:{wkid:a}},Te=(t,e,n)=>{let a=se(e);return a&&a.map(r=>({name:r.orName,url:ce(r,t,n),isDataSource:W(r,t)}))},se=t=>{let e=[];return x(u(t,"metadata.distInfo")||[]).forEach(n=>{x(n.distTranOps||[]).forEach(a=>{x(a.onLineSrc||[]).forEach(r=>{e.push(r)})})}),e.length?e:null},x=t=>Array.isArray(t)?t:[t],W=(t,e)=>{let n=e.url&&L(e.url);return n&&t.linkage&&t.linkage.includes(n)},ce=(t,e,n)=>{let a=t.linkage,r=u(n,"authentication.token");if(r&&W(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",r),o.search=i.toString(),a=o.toString()}return a},Be=(t,e,n)=>{let a=v(t.extent)?t.extent:void 0,r=v(e?.coordinates)?e.coordinates:void 0,o=u(n,"extent.spatialReference.wkid")===4326?k(n.extent):void 0;return a||r||o},I=(t,e)=>{let n=u(t,e)||{},{rpIndName:a,rpOrgName:r}=Array.isArray(n)?n[0]:n;return{individualName:a,organizationName:r}},le=(t,e)=>t.orgId||e?.orgId,Fe=(t,e,n,a)=>{let r={nameSource:c.None,organizationSource:c.None},o=I(e,"metadata.dataIdInfo.idCitation.citRespParty"),i=I(e,"metadata.dataIdInfo.idPoC"),s=I(e,"metadata.mdContact"),l=u(a,"fullName");o.individualName?(r.name=o.individualName,r.nameSource=c.CitationContact):i.individualName?(r.name=i.individualName,r.nameSource=c.ResourceContact):s.individualName?(r.name=s.individualName,r.nameSource=c.MetadataContact):l&&(r.name=l,r.username=a.username,r.nameSource=c.ItemOwner);let p=u(n,"name");return o.organizationName?(r.organization=o.organizationName,r.organizationSource=c.CitationContact):i.organizationName?(r.organization=i.organizationName,r.organizationSource=c.ResourceContact):s.organizationName?(r.organization=s.organizationName,r.organizationSource=c.MetadataContact):p&&(r.organization=p,r.orgId=le(t,a),r.organizationSource=c.ItemOwner),r.isExternal=r.organizationSource===c.None&&t.access!=="public",r},Oe=t=>t.reduce((e,n)=>{let a=n.split("/"),r=a[a.length-1];return r&&e.push(r),e},[]),He=(t,e)=>{let n;switch(ue(t)){case"Dashboard":n=fe(t,e);break;case"Insights Workbook":n=ge(t,e);break;case"Experience":n=pe(t,e);break;case"Web AppBuilder":n=me(t,e);break;case"Form":n=ve(t,e);break;case"StoryMap":n=de(t,e);break;case"Urban Model":n=he(t,e);break;default:n=g(t.id,e)}return n},ue=t=>{let e=t.typeKeywords||[],n=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?n="StoryMap":t.type==="Insights Page"?n="Insights Page":t.type==="Insights Workbook"?n="Insights Workbook":t.type&&t.type.includes("Insights")?n="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?n="Experience":e.includes("Web AppBuilder")&&(n="Web AppBuilder"),n},de=(t,e)=>{let n={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},a=d(e),r=m(a);return`${`https://${n[r]}.arcgis.com`}/stories/${t.id}/edit`},pe=(t,e)=>{let n=d(e),a=m(n);return`${`https://experience${h[a]}.arcgis.com`}/builder/?id=${t.id}`},fe=(t,e)=>{let n=d(e),a=`${n}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(a=`${n}/apps/dashboards/${t.id}#mode=edit`),a},me=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,ve=(t,e)=>{let n=d(e),a=m(n),r=`https://survey123${h[a]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=g(t.id,n):o=`${r}/surveys/${t.id}/design?portalUrl=${n}`,o},ge=(t,e)=>{let n=d(e),a=m(n),r=`https://insights${h[a]}.arcgis.com`,o=g(t.id,n);return G(n)?o:`${r}/#/edit/${t.id}`},he=(t,e)=>{let n=d(e),a=m(n),r=`https://urban${h[a]}.arcgis.com`,o=g(t.id,n);return G(n)?o:`${r}/?id=${t.id}`},G=t=>t.indexOf("arcgis.com")===-1;function We(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return T(t).replace(/\/api\/v3$/,"")}var Ge=async(t,e)=>{let a=`${T(e)}/api/v3/jobs/item/${t}/forceUpdate`,r={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(a,r)).ok};export{A as a,m as b,J as c,T as d,L as e,Pe as f,ee as g,c as h,f as i,Ee as j,Ne as k,Me as l,we as m,De as n,ne as o,oe as p,ze as q,Ae as r,ie as s,Te as t,Be as u,le as v,Fe as w,Oe as x,He as y,We as z,Ge as A};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import"./C3NCECMA.js";var e="An error occurred while loading the chart.",a="Cannot apply a log transformation to negative or zero values.",t="Cannot apply a square root transformation to negative values.",r="An error occurred while loading the layer. URL = ${ url }. Portal item ID = ${ portalItemId }.",o="The fields [${ fieldNames }] defined in the config were not found in the layer.",s="${ dataPath } must be unique. The series named ${ seriesName } has an ID (${ seriesID }) that is already used by another series.",n="${ dataPath } cannot perform non-count aggregation on non-numeric field.",i="${ dataPath } is missing a property named ${ missingProperty }.",l="${ dataPath } must not be shorter than ${ limit } characters.",d="${ dataPath } must not have fewer than ${ limit } items.",u="${ dataPath } must not have more than ${ limit } items.",h="${ dataPath } must have at least one non-whitespace character.",m="${ dataPath } must not have ${ additionalProperty }.",p="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",y="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",c="Scatterplots with proportional symbols are not supported. Default symbol size has been applied.",g="Failure to read input data.",$="The queryBins operation is not supported on this service.",f="The expected series type at index ${ seriesIndex } is '${ expectedType }' but '${ receivedType }' was received instead",P="or",v={defaultError:e,negativeValueInDataForLogTransformation:a,negativeValueInDataForSqrtTransformation:t,layerLoadFailure:r,layerFieldsNotFound:o,duplicateSeriesID:s,nonNumericAggregation:n,requiredProperty:i,minLength:l,minItems:d,maxItems:u,whiteSpacePattern:h,additionalProperty:m,enumValues:p,anyOfValues:y,bubbleChartValidateMsg:c,queryError:g,queryBinsNotSupported:$,invalidSeriesType:f,or:"or"};export{m as additionalProperty,y as anyOfValues,c as bubbleChartValidateMsg,v as default,e as defaultError,s as duplicateSeriesID,p as enumValues,f as invalidSeriesType,o as layerFieldsNotFound,r as layerLoadFailure,u as maxItems,d as minItems,l as minLength,a as negativeValueInDataForLogTransformation,t as negativeValueInDataForSqrtTransformation,n as nonNumericAggregation,P as or,$ as queryBinsNotSupported,g as queryError,i as requiredProperty,h as whiteSpacePattern};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.18/esri/copyright.txt for details.
3
+ v0.18.0 */
4
+ import{a as O,b as U}from"./HRD7XXYD.js";import{a as A}from"./UV3FUU65.js";import{a as k}from"./2OVC4FON.js";import{d as w,g as T,l}from"./HVJFMFYV.js";import{a as g}from"./PEZ3GDL2.js";import{a as E}from"./UJWJUOSA.js";import{a as v}from"./W7G3XU5R.js";import{a as x}from"./RPY5YDSG.js";import{h as f}from"./YJW2PDXB.js";import{a as d}from"./QOMO3OEO.js";import{a as p}from"./2RBKQ43M.js";import{a as o,h}from"./DSYJTVIZ.js";import{a as c}from"./XQHB3QIQ.js";function H(s,t,e="https://www.arcgis.com/sharing/rest"){let a=`${e}/oauth2/exchangeToken`;return f(a,{method:"POST",params:{f:"json",client_id:t,token:s}}).then(i=>i.token)}function S(s){let t;return/(qaext|\.mapsqa)\.arcgis.com/.exec(s)?t="https://hubqa.arcgis.com":/(devext|\.mapsdevext)\.arcgis.com/.exec(s)?t="https://hubdev.arcgis.com":/(www|\.maps)\.arcgis.com/.exec(s)&&(t="https://hub.arcgis.com"),t}function I(s,t,e,a){let i=`${a.authentication.portal}/portals/${s}/limits?limitsType=${t}&limitName=${e}&f=json`;return f(i,a)}function at(s,t){return I(s,"Groups","MaxNumUserGroups",t).then(e=>e.limitValue).catch(e=>512)}function F(s){return!s||typeof s!="string"||!s.startsWith("https://")?!1:!/^https?:\/\/([^.]+\.)*arcgis\.com(\/|$)/i.test(s)}var b=["portalUrl","serviceStatus","featureFlags","properties","resourceConfigs","trustedOrgIds","trustedOrgs"],P=["resourceTokens","portal","currentUser","portalSettings"],R=class s{constructor(t){this._portalUrl="https://www.arcgis.com",this._properties={},this._featureFlags={},this._trustedOrgIds=[],this._trustedOrgs=[],this._resourceConfigs=[],this._userResourceTokens=[],this.id=new Date().getTime(),p.debug(`ArcGISContextManager:ctor: Creating ${this.id}`),t.properties&&(this._properties=t.properties),this._properties.alphaOrgs||(this._properties.alphaOrgs=[...q]),t.authentication?(this._authentication=t.authentication,this._portalUrl=this._authentication.portal.replace("/sharing/rest",""),this._hubUrl=S(this._portalUrl)):t.portalUrl?(this._portalUrl=t.portalUrl,this._hubUrl=S(this._portalUrl)):this._hubUrl=S(this._portalUrl),t.portal&&(this._portal=o(t.portal)),t.portalSettings&&(this._portalSettings=o(t.portalSettings)),t.currentUser&&(this._currentUser=o(t.currentUser)),t.serviceStatus&&(this._serviceStatus=t.serviceStatus),t.featureFlags&&(this._featureFlags=o(t.featureFlags)),t.serviceFlags&&(this._serviceFlags=o(t.serviceFlags)),t.trustedOrgIds&&(this._trustedOrgIds=o(t.trustedOrgIds)),t.trustedOrgs&&(this._trustedOrgs=o(t.trustedOrgs)),t.resourceConfigs&&(this._resourceConfigs=o(t.resourceConfigs)),t.resourceTokens&&(this._userResourceTokens=o(t.resourceTokens)),t.userHubSettings&&(this._userHubSettings=o(t.userHubSettings))}static async create(t={}){let e=new s(t);return await e.initialize(),e}static async deserialize(t){let e=U(t),a=JSON.parse(e),r={};if(b.forEach(i=>{r=h(i,c(a,i),r)}),a.session){let i=k.deserialize(a.session);i.tokenExpires.getTime()>Date.now()&&(P.forEach(n=>{r=h(n,c(a,n),r)}),r.authentication=i)}return s.create(r)}serialize(){let t={};return b.forEach(e=>{t=h(e,c(this,`_${e}`),t)}),this._authentication&&(t.session=this._authentication.serialize(),P.forEach(e=>{t=h(e,c(this,`_${e}`),t)})),O(JSON.stringify(t))}async setAuthentication(t){this._authentication=t,this._portalUrl=t.portal.replace("/sharing/rest",""),await this.initialize()}setProperties(t){this._properties=t,this._context=new l(this.contextOpts)}clearAuthentication(){this._context.isPortal||(this._portalUrl=E(this._portalUrl)),this._authentication=null,this._portal=null,this._currentUser=null,this._userResourceTokens=[],this._context=new l(this.contextOpts)}get context(){return this._context}async updateUserHubSettings(t){if(!this._authentication)throw new Error("Cannot update user hub settings without an authenticated user");await T(t,this.context,!0),this._userHubSettings=t,Object.keys(d(t,"features",{})).forEach(e=>{let a=c(t,`features.${e}`);this._featureFlags[`hub:feature:${e}`]=a}),this._context=new l(this.contextOpts)}async initialize(){let t=[],e=[];if(this._serviceStatus||(t.push(C(this._portalUrl)),e.push("serviceStatus")),this._authentication){let i=await this._authentication.getToken(this._authentication.portal);if(this._portal||(t.push(j(this._authentication)),e.push("portal")),!this._portalSettings){let n=g(A,{});t.push(n("self",{authentication:this._authentication})),e.push("portalSettings")}if(this._portal&&!this._portal.limits&&(t.push(y(this._portal.id,this._authentication)),e.push("portalLimits")),!this._currentUser){let n=this._authentication.username;t.push(x({username:n,authentication:this._authentication})),e.push("user")}this._trustedOrgs.length||(t.push(L(this._portalUrl,this._authentication)),e.push("trustedOrgs")),!this._userResourceTokens.length&&this._resourceConfigs.length&&(t.push(G(this._resourceConfigs,i,this._portalUrl+"/sharing/rest")),e.push("tokens")),this._userResourceTokens.push({app:"self",token:i,clientId:this._authentication.clientId||"self"})}let a;try{a=await Promise.all(t)}catch(i){let n=`ArcGISContextManager failed while initializing for "${this._authentication.username}" using ${this._authentication.portal}.`;throw p.error(n),console.error(n),i}e.forEach((i,n)=>{let u=a[n];switch(i){case"portal":this._portal=u;break;case"portalSettings":this._portalSettings=u;break;case"portalLimits":this._portal.limits=u;break;case"user":this._currentUser=u;break;case"trustedOrgs":this._trustedOrgs=u,this._trustedOrgIds=$(this._trustedOrgs);break;case"tokens":this._userResourceTokens=[...this._userResourceTokens,...u];break;case"serviceStatus":let _=u;this._serviceFlags&&Object.keys(this._serviceFlags).forEach(m=>{_[m]&&(_[m]=this._serviceFlags[m])}),this._serviceStatus=_;break}});let r=this._userResourceTokens.find(i=>i.app==="hubforarcgis");this._authentication&&r&&(this._userHubSettings=await w(this._authentication.username,this._portalUrl,r.token),Object.keys(d(this._userHubSettings,"features",{})).forEach(i=>{let n=c(this._userHubSettings,`features.${i}`);this._featureFlags[`hub:feature:${i}`]=n})),p.debug(`ArcGISContextManager-${this.id}: updating context`),this._context=new l(this.contextOpts)}get contextOpts(){let t=["hubUrl",...b],e=["currentUser","userResourceTokens","userHubSettings","portalSettings"],a={id:this.id,portalUrl:this._portalUrl};return t.forEach(r=>{a=h(r,c(this,`_${r}`),a)}),this._authentication&&(e.forEach(r=>{a=h(r,c(this,`_${r}`),a)}),a.authentication=this._authentication),a.portalSelf=this._portal,a}};async function C(s){let t=z;return F(s)&&(t=M),Promise.resolve(t)}async function L(s,t){return(await g(f,{trustedOrgs:[]})(`${s}/sharing/rest/portals/self/trustedOrgs?f=json`,{params:{token:t.token}})).trustedOrgs}function $(s){return s.map(t=>t.to.orgId)}async function j(s){let t=await v({authentication:s}),e=await y(t.id,s);return t.limits=e,t}async function y(s,t){let e=[{type:"Groups",name:"MaxNumUserGroups",fallback:512}];return(await Promise.all(e.map(async r=>{try{return await I(s,r.type,r.name,{authentication:t,portal:t.portal})}catch{return{type:r.type,name:r.name,limitValue:r.fallback}}}))).reduce((r,i)=>(r[i.name]=i.limitValue,r),{})}async function G(s,t,e){let a=g(H,null),r=s.map(n=>a(t,n.clientId,e).then(u=>{if(u)return Object.assign(Object.assign({},n),{token:u})}));return(await Promise.all(r)).filter(n=>!!n)}var z={portal:"online",discussions:"online",events:"online",metrics:"online",notifications:"online","hub-search":"online",domains:"online","hub-downloads":"online","hub-ai-assistant":"online"},M={portal:"online",discussions:"not-available",events:"not-available",metrics:"not-available",notifications:"not-available","hub-search":"not-available",domains:"not-available","hub-downloads":"not-available","hub-ai-assistant":"not-available"},N=["LjjARY1mkhxulWPq","q2ikdtW0bkt5EgtQ","yHYVvboBBOdmcKci"],V=["97KLIFOSt5CxbiRI","MiFBHFxEZWumnKCx","8HRYeOqprj872mxP","Xj56SBi2udA78cC9","uFEMdY4VMonzH8sG"],B=["CrA5hYOKgL3Vwan8","zj227gjeSqEyG4HF","bkrWlSKcjUDFDtgw","vIu5NCxQFilhVymO"],q=[...B,...V,...N];export{S as a,I as b,at as c,F as d,R as e,z as f,M as g,q as h};