@esri/hub-web-components 0.17.0 → 0.19.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 (1391) hide show
  1. package/dist/cdn/22ULHNS7.js +4 -0
  2. package/dist/cdn/256OZCCZ.js +4 -0
  3. package/dist/cdn/26SBDLVX.js +4 -0
  4. package/dist/cdn/2BLIBHVE.js +4 -0
  5. package/dist/cdn/2BTTOHDP.js +4 -0
  6. package/dist/cdn/2C2HXDPJ.js +4 -0
  7. package/dist/cdn/2FKW5GCC.js +4 -0
  8. package/dist/cdn/2JEFH54X.js +4 -0
  9. package/dist/cdn/2KJ32FJJ.js +4 -0
  10. package/dist/cdn/2M7YUILE.js +4 -0
  11. package/dist/cdn/2QVSTAOQ.js +4 -0
  12. package/dist/cdn/2QYHPZWD.js +4 -0
  13. package/dist/cdn/2RDI7SJ4.js +4 -0
  14. package/dist/cdn/2VYJNXMT.js +4 -0
  15. package/dist/cdn/2W6CY3O5.js +4 -0
  16. package/dist/cdn/2Y2GXYPQ.js +4 -0
  17. package/dist/cdn/347DCVIF.js +4 -0
  18. package/dist/cdn/36KI6AIO.js +4 -0
  19. package/dist/cdn/37OEJUPV.js +4 -0
  20. package/dist/cdn/3AQBA56K.js +4 -0
  21. package/dist/cdn/3CLEOWY3.js +4 -0
  22. package/dist/cdn/3D6L333Z.js +4 -0
  23. package/dist/cdn/3HBJHE2P.js +4 -0
  24. package/dist/cdn/3J25B6NM.js +4 -0
  25. package/dist/cdn/3JKNARCY.js +4 -0
  26. package/dist/cdn/3JWHUZVG.js +4 -0
  27. package/dist/cdn/3KCLV7CA.js +4 -0
  28. package/dist/cdn/3KTAQUSE.js +4 -0
  29. package/dist/cdn/3L37ZFFU.js +4 -0
  30. package/dist/cdn/3LVUQMI6.js +4 -0
  31. package/dist/cdn/3NBBAH6G.js +4 -0
  32. package/dist/cdn/3NTTDD6F.js +4 -0
  33. package/dist/cdn/3QY5IGBL.js +4 -0
  34. package/dist/cdn/3RC77BYX.js +4 -0
  35. package/dist/cdn/3RPZ5QIC.js +4 -0
  36. package/dist/cdn/3SCB4KMM.js +4 -0
  37. package/dist/cdn/3SSBIR4F.js +4 -0
  38. package/dist/cdn/3VEUZB7Z.js +4 -0
  39. package/dist/cdn/3WMITHQ7.js +4 -0
  40. package/dist/cdn/3XASI3DV.js +4 -0
  41. package/dist/cdn/3YNA7MLB.js +4 -0
  42. package/dist/cdn/3YUEMSAO.js +4 -0
  43. package/dist/cdn/3Z26GXO2.js +4 -0
  44. package/dist/cdn/3Z4D23XJ.js +4 -0
  45. package/dist/cdn/42CO2RUY.js +4 -0
  46. package/dist/cdn/43GQCZ4U.js +4 -0
  47. package/dist/cdn/446UBN74.js +4 -0
  48. package/dist/cdn/44LBX4HS.js +4 -0
  49. package/dist/cdn/45ESUSAS.js +4 -0
  50. package/dist/cdn/46ONVMVL.js +4 -0
  51. package/dist/cdn/47UQFRWV.js +4 -0
  52. package/dist/cdn/4AIMTPUS.js +4 -0
  53. package/dist/cdn/4AIXIU3O.js +4 -0
  54. package/dist/cdn/4BSSBFI2.js +4 -0
  55. package/dist/cdn/4CWH4KTG.js +4 -0
  56. package/dist/cdn/4DCWNCOS.js +4 -0
  57. package/dist/cdn/4DULAPVO.js +4 -0
  58. package/dist/cdn/4FLK5VTF.js +4 -0
  59. package/dist/cdn/4FYJKJL3.js +4 -0
  60. package/dist/cdn/4GQFX2BO.js +4 -0
  61. package/dist/cdn/4H3UP67X.js +4 -0
  62. package/dist/cdn/4HFGTDA6.js +4 -0
  63. package/dist/cdn/4IQ2L4YV.js +4 -0
  64. package/dist/cdn/4MWE5BIM.js +4 -0
  65. package/dist/cdn/4NZN72QJ.js +4 -0
  66. package/dist/cdn/4O7WSS4R.js +4 -0
  67. package/dist/cdn/4OJV2IAI.js +4 -0
  68. package/dist/cdn/4OKGMHFV.js +4 -0
  69. package/dist/cdn/4PGBFWS4.js +4 -0
  70. package/dist/cdn/4QSKD3NL.js +4 -0
  71. package/dist/cdn/4V33V6C4.js +4 -0
  72. package/dist/cdn/4VYR4CRW.js +4 -0
  73. package/dist/cdn/4XN3LXJ5.js +4 -0
  74. package/dist/cdn/4YILEAGH.js +4 -0
  75. package/dist/cdn/4YPEIW2A.js +4 -0
  76. package/dist/cdn/4ZNCOFAW.js +4 -0
  77. package/dist/cdn/4ZW57OAO.js +4 -0
  78. package/dist/cdn/54HIM4D7.js +4 -0
  79. package/dist/cdn/54TYO5N4.js +4 -0
  80. package/dist/cdn/572CP7Z6.js +4 -0
  81. package/dist/cdn/57FEAF7J.js +4 -0
  82. package/dist/cdn/5AOHN2H3.js +4 -0
  83. package/dist/cdn/5DN3TOTF.js +4 -0
  84. package/dist/cdn/5FBG6LCO.js +4 -0
  85. package/dist/cdn/5FST6A3M.js +4 -0
  86. package/dist/cdn/5JZIDNDP.js +4 -0
  87. package/dist/cdn/5KOJJPIR.js +4 -0
  88. package/dist/cdn/5KTPV7CF.js +4 -0
  89. package/dist/cdn/5LI3NXAQ.js +4 -0
  90. package/dist/cdn/5MAFOYWF.js +4 -0
  91. package/dist/cdn/5MEPVV7Z.js +9 -0
  92. package/dist/cdn/5MO5N65B.js +4 -0
  93. package/dist/cdn/5MUCUXAO.js +4 -0
  94. package/dist/cdn/5NJBWAQP.js +4 -0
  95. package/dist/cdn/5OBLY6LT.js +4 -0
  96. package/dist/cdn/5QNU5YA5.js +4 -0
  97. package/dist/cdn/5RUJUVIN.js +4 -0
  98. package/dist/cdn/5SEEOTCJ.js +4 -0
  99. package/dist/cdn/5UTYL2L2.js +4 -0
  100. package/dist/cdn/5VKNDIUH.js +4 -0
  101. package/dist/cdn/5XUWTNQC.js +4 -0
  102. package/dist/cdn/5XUZLG3L.js +4 -0
  103. package/dist/cdn/5ZAWQ3UC.js +4 -0
  104. package/dist/cdn/5ZDOYPLE.js +4 -0
  105. package/dist/cdn/64DWZPNC.js +4 -0
  106. package/dist/cdn/65OO4GX7.js +4 -0
  107. package/dist/cdn/6FCXKJLA.js +5470 -0
  108. package/dist/cdn/6GHHPKEP.js +4 -0
  109. package/dist/cdn/6GYAPYFM.js +4 -0
  110. package/dist/cdn/6HOL5N2O.js +4 -0
  111. package/dist/cdn/6IMWBIFN.js +4 -0
  112. package/dist/cdn/6L66PQSV.js +4 -0
  113. package/dist/cdn/6ONVSVK5.js +4 -0
  114. package/dist/cdn/6PR7QUKA.js +4 -0
  115. package/dist/cdn/6Q7ZWKLL.js +4 -0
  116. package/dist/cdn/6RTAF2ZJ.js +4 -0
  117. package/dist/cdn/6RV5TU75.js +4 -0
  118. package/dist/cdn/6XAWVIF3.js +4 -0
  119. package/dist/cdn/6ZCBR7VE.js +4 -0
  120. package/dist/cdn/77BWOTXY.js +4 -0
  121. package/dist/cdn/7AZIFZOF.js +4 -0
  122. package/dist/cdn/7D3DG654.js +4 -0
  123. package/dist/cdn/7E6CITS6.js +4 -0
  124. package/dist/cdn/7E7QUHTC.js +4 -0
  125. package/dist/cdn/7IYANYPL.js +4 -0
  126. package/dist/cdn/7JVBNDLH.js +4 -0
  127. package/dist/cdn/7KX225UF.js +4 -0
  128. package/dist/cdn/7KYGYTLR.js +4 -0
  129. package/dist/cdn/7KZALKVT.js +4 -0
  130. package/dist/cdn/7TUTFLUJ.js +4 -0
  131. package/dist/cdn/7VRROFO3.js +4 -0
  132. package/dist/cdn/7VSNR7OW.js +4 -0
  133. package/dist/cdn/7VUBALRR.js +4 -0
  134. package/dist/cdn/7VVC3AXJ.js +4 -0
  135. package/dist/cdn/7XHGADHP.js +4 -0
  136. package/dist/cdn/7XOFZOKD.js +4 -0
  137. package/dist/cdn/7YSKMRJJ.js +4 -0
  138. package/dist/cdn/A4NTAWA3.js +4 -0
  139. package/dist/cdn/A6VV2Q4I.js +4 -0
  140. package/dist/cdn/A7BPMOZ6.js +4 -0
  141. package/dist/cdn/AC4ZDIKI.js +4 -0
  142. package/dist/cdn/ACDYM6SK.js +4 -0
  143. package/dist/cdn/ACEUDN46.js +4 -0
  144. package/dist/cdn/ACSEK223.js +4 -0
  145. package/dist/cdn/AG6ALO4A.js +4 -0
  146. package/dist/cdn/ANBRFF3L.js +4 -0
  147. package/dist/cdn/ARVX2DVX.js +4 -0
  148. package/dist/cdn/ASSP4NRE.js +4 -0
  149. package/dist/cdn/ATCKPO2P.js +4 -0
  150. package/dist/cdn/ATQANVSI.js +4 -0
  151. package/dist/cdn/AVVSDTR6.js +4 -0
  152. package/dist/cdn/AXYYLA44.js +4 -0
  153. package/dist/cdn/AYGDOKXT.js +4 -0
  154. package/dist/cdn/AYQEFA54.js +4 -0
  155. package/dist/cdn/AZ5YGAX6.js +16 -0
  156. package/dist/cdn/B2F2O2BL.js +4 -0
  157. package/dist/cdn/B2SJHZ7L.js +4 -0
  158. package/dist/cdn/B357O6D4.js +4 -0
  159. package/dist/cdn/B3AAI7L2.js +4 -0
  160. package/dist/cdn/B3BWMSAA.js +4 -0
  161. package/dist/cdn/B4ZFZINE.js +42 -0
  162. package/dist/cdn/BA5ECTOX.js +4 -0
  163. package/dist/cdn/BAERSMDD.js +4 -0
  164. package/dist/cdn/BANGYXEB.js +4 -0
  165. package/dist/cdn/BFXG7TMW.js +4 -0
  166. package/dist/cdn/BH3FLTEP.js +4 -0
  167. package/dist/cdn/BILSHU5X.js +4 -0
  168. package/dist/cdn/BK3ZBUJP.js +4 -0
  169. package/dist/cdn/BLSDK7M3.js +4 -0
  170. package/dist/cdn/BLWTIELH.js +4 -0
  171. package/dist/cdn/BN3CAPWR.js +4 -0
  172. package/dist/cdn/BP5X4ENP.js +4 -0
  173. package/dist/cdn/BU7RXE3L.js +4 -0
  174. package/dist/cdn/BUJVLU6T.js +4 -0
  175. package/dist/cdn/BVJHGIFX.js +4 -0
  176. package/dist/cdn/BWNCGCZL.js +4 -0
  177. package/dist/cdn/BXSZWRJN.js +4 -0
  178. package/dist/cdn/C3GCQVMN.js +4 -0
  179. package/dist/cdn/C3M5HOCG.js +4 -0
  180. package/dist/cdn/C5URJ4NT.js +4 -0
  181. package/dist/cdn/C6LMUKQ3.js +4 -0
  182. package/dist/cdn/CCQVZVJT.js +4 -0
  183. package/dist/cdn/CHEMPV6R.js +4 -0
  184. package/dist/cdn/CJNPR3CI.js +4 -0
  185. package/dist/cdn/CL2WRNEM.js +4 -0
  186. package/dist/cdn/CLFL7W5V.js +4 -0
  187. package/dist/cdn/CNSWCJPZ.js +4 -0
  188. package/dist/cdn/CRHGXUN5.js +4 -0
  189. package/dist/cdn/CRLLSCLY.js +4 -0
  190. package/dist/cdn/CRQHR2J7.js +4 -0
  191. package/dist/cdn/CWX6ZUA2.js +4 -0
  192. package/dist/cdn/CX6OBEM4.js +4 -0
  193. package/dist/cdn/CYSW53NW.js +4 -0
  194. package/dist/cdn/D2CU62K4.js +4 -0
  195. package/dist/cdn/D3BQQPWZ.js +4 -0
  196. package/dist/cdn/D47B62KA.js +4 -0
  197. package/dist/cdn/D4G7NZHJ.js +4 -0
  198. package/dist/cdn/D5OQF6QP.js +4 -0
  199. package/dist/cdn/D6W4LFUI.js +4 -0
  200. package/dist/cdn/DAPJU2PV.js +4 -0
  201. package/dist/cdn/DAUW6EF7.js +4 -0
  202. package/dist/cdn/DFZJXLVB.js +4 -0
  203. package/dist/cdn/DKNVNN6S.js +4 -0
  204. package/dist/cdn/DLEUWOTS.js +25 -0
  205. package/dist/cdn/DM47KHZB.js +4 -0
  206. package/dist/cdn/DNO7LM3I.js +4 -0
  207. package/dist/cdn/DO4T44UU.js +4 -0
  208. package/dist/cdn/DOWUI4QF.js +4 -0
  209. package/dist/cdn/DT3DHYFN.js +4 -0
  210. package/dist/cdn/DUMQFUTQ.js +4 -0
  211. package/dist/cdn/DVEGDPOK.js +4 -0
  212. package/dist/cdn/DW7I2UQ4.js +4 -0
  213. package/dist/cdn/DWR2NWQ3.js +4 -0
  214. package/dist/cdn/DXORVFEZ.js +4 -0
  215. package/dist/cdn/DZ4GMNYS.js +4 -0
  216. package/dist/cdn/E2GWDWLA.js +4 -0
  217. package/dist/cdn/E4V6BH4A.js +4 -0
  218. package/dist/cdn/E56MA566.js +4 -0
  219. package/dist/cdn/EAB6RRUA.js +4 -0
  220. package/dist/cdn/ECR4O2RE.js +4 -0
  221. package/dist/cdn/EDBGNHVO.js +4 -0
  222. package/dist/cdn/EE4WVTJF.js +4 -0
  223. package/dist/cdn/EGSSZ6E5.js +4 -0
  224. package/dist/cdn/EHMLMHE5.js +4 -0
  225. package/dist/cdn/EJKU7K2N.js +4 -0
  226. package/dist/cdn/EJSOPV4Q.js +4 -0
  227. package/dist/cdn/ET5BOQ6B.js +4 -0
  228. package/dist/cdn/ETPV3MUT.js +4 -0
  229. package/dist/cdn/EUZJ3KSG.js +4 -0
  230. package/dist/cdn/EXS52KZX.js +4 -0
  231. package/dist/cdn/EYIMJ4UV.js +4 -0
  232. package/dist/cdn/EYJSRMNY.js +4 -0
  233. package/dist/cdn/EZBAEYVO.js +4 -0
  234. package/dist/cdn/EZZOLCSS.js +4 -0
  235. package/dist/cdn/F2JCGNR2.js +4 -0
  236. package/dist/cdn/FBHXR2UO.js +4 -0
  237. package/dist/cdn/FC2D7FGV.js +4 -0
  238. package/dist/cdn/FE55OMTS.js +4 -0
  239. package/dist/cdn/FFI4NI35.js +4 -0
  240. package/dist/cdn/FGJ4HWTT.js +4 -0
  241. package/dist/cdn/FH2STVUR.js +4 -0
  242. package/dist/cdn/FIO3DC6H.js +4 -0
  243. package/dist/cdn/FMRLXM2X.js +4 -0
  244. package/dist/cdn/FN7NXJJW.js +4 -0
  245. package/dist/cdn/FP3WAH73.js +4 -0
  246. package/dist/cdn/FSO44MOH.js +8 -0
  247. package/dist/cdn/FTWZALKE.js +4 -0
  248. package/dist/cdn/FUTKWJRV.js +4 -0
  249. package/dist/cdn/FWOBGIFN.js +4 -0
  250. package/dist/cdn/FXAM4A77.js +4 -0
  251. package/dist/cdn/G34CSFOV.js +4 -0
  252. package/dist/cdn/G5XGSKI3.js +5 -0
  253. package/dist/cdn/G7BG33RE.js +4 -0
  254. package/dist/cdn/GA22P3BH.js +4 -0
  255. package/dist/cdn/GBMLJ7QC.js +4 -0
  256. package/dist/cdn/GCLHHU7X.js +4 -0
  257. package/dist/cdn/GDMB2DH4.js +4 -0
  258. package/dist/cdn/GE2P64TI.js +4 -0
  259. package/dist/cdn/GFQXCEDO.js +4 -0
  260. package/dist/cdn/GGCQAP3H.js +4 -0
  261. package/dist/cdn/GIBLLMHM.js +4 -0
  262. package/dist/cdn/GJ2RPTHH.js +4 -0
  263. package/dist/cdn/GK5ABULF.js +4 -0
  264. package/dist/cdn/GLBLUSWM.js +4 -0
  265. package/dist/cdn/GN7VPB4G.js +4 -0
  266. package/dist/cdn/GQNBRSHH.js +4 -0
  267. package/dist/cdn/GRVMJEIQ.js +4 -0
  268. package/dist/cdn/GU7ZE6VU.js +4 -0
  269. package/dist/cdn/GV7UYO4J.js +4 -0
  270. package/dist/cdn/GW7EP7PS.js +4 -0
  271. package/dist/cdn/GXGFMZJD.js +4 -0
  272. package/dist/cdn/H25DOYL3.js +4 -0
  273. package/dist/cdn/H2UOQCXC.js +4 -0
  274. package/dist/cdn/H5V26OUP.js +4 -0
  275. package/dist/cdn/H62C7JA6.js +4 -0
  276. package/dist/cdn/HCU7FAQH.js +4 -0
  277. package/dist/cdn/HE54NCPW.js +4 -0
  278. package/dist/cdn/HEK6PGCB.js +4 -0
  279. package/dist/cdn/HEYHO5TS.js +4 -0
  280. package/dist/cdn/HHKE6IQW.js +4 -0
  281. package/dist/cdn/HMWBM5TZ.js +5 -0
  282. package/dist/cdn/HN2ZWITE.js +4 -0
  283. package/dist/cdn/HNBKA2CF.js +4 -0
  284. package/dist/cdn/HOFFZNLE.js +4 -0
  285. package/dist/cdn/HUFTU6G6.js +4 -0
  286. package/dist/cdn/HVAWW47Y.js +4 -0
  287. package/dist/cdn/HXHYQL7M.js +4 -0
  288. package/dist/cdn/I5CKW5NA.js +4 -0
  289. package/dist/cdn/I6H3KLWY.js +4 -0
  290. package/dist/cdn/IAI7DBUB.js +4 -0
  291. package/dist/cdn/IAZWKI3W.js +4 -0
  292. package/dist/cdn/IBZ2HCJA.js +4 -0
  293. package/dist/cdn/ICOSXNDB.js +4 -0
  294. package/dist/cdn/IE4ORFO4.js +4 -0
  295. package/dist/cdn/IE4YDBZP.js +4 -0
  296. package/dist/cdn/IFPAEPIS.js +4 -0
  297. package/dist/cdn/IIHQWNGB.js +4 -0
  298. package/dist/cdn/IL3ZKOHB.js +4 -0
  299. package/dist/cdn/IN7H6RN5.js +4 -0
  300. package/dist/cdn/IOF33VEF.js +4 -0
  301. package/dist/cdn/IOQYWVDT.js +4 -0
  302. package/dist/cdn/IPATTA5Y.js +4 -0
  303. package/dist/cdn/IQPJVAZA.js +4 -0
  304. package/dist/cdn/IRWMC42W.js +4 -0
  305. package/dist/cdn/IRXTE2P3.js +4 -0
  306. package/dist/cdn/IZ7MBZKH.js +4 -0
  307. package/dist/cdn/J23INDZR.js +4 -0
  308. package/dist/cdn/J2Q5OXQS.js +4 -0
  309. package/dist/cdn/J3M32DSJ.js +4 -0
  310. package/dist/cdn/J5EAQLEW.js +4 -0
  311. package/dist/cdn/J5JMIO2U.js +4 -0
  312. package/dist/cdn/JB5JDU5Y.js +4 -0
  313. package/dist/cdn/JBOYIMAS.js +4 -0
  314. package/dist/cdn/JC5B2LPO.js +4 -0
  315. package/dist/cdn/JDJWIDDM.js +4 -0
  316. package/dist/cdn/JEDGV35W.js +4 -0
  317. package/dist/cdn/JEOYKGEG.js +4 -0
  318. package/dist/cdn/JHCJVL2Y.js +4 -0
  319. package/dist/cdn/JHZCZRSM.js +8 -0
  320. package/dist/cdn/JMHHIAWA.js +4 -0
  321. package/dist/cdn/JNYCNRJX.js +4 -0
  322. package/dist/cdn/JOEKNDH5.js +41 -0
  323. package/dist/cdn/JQAOYDRU.js +4 -0
  324. package/dist/cdn/JROIHX2U.js +4 -0
  325. package/dist/cdn/JRZY5ZFK.js +4 -0
  326. package/dist/cdn/JSUYZ2FB.js +4 -0
  327. package/dist/cdn/JSZ2YHXJ.js +4 -0
  328. package/dist/cdn/JXK5A45G.js +4 -0
  329. package/dist/cdn/K24BFRH6.js +4 -0
  330. package/dist/cdn/K3C756MN.js +4 -0
  331. package/dist/cdn/KAJMD2NS.js +4 -0
  332. package/dist/cdn/KDBAJOMC.js +4 -0
  333. package/dist/cdn/KFDLN5LD.js +4 -0
  334. package/dist/cdn/KFKKJQGY.js +4 -0
  335. package/dist/cdn/KFQQ7FXH.js +4 -0
  336. package/dist/cdn/KHGDNCFY.js +4 -0
  337. package/dist/cdn/KIKQ45C7.js +4 -0
  338. package/dist/cdn/KISHVOK7.js +4 -0
  339. package/dist/cdn/KK7GE43X.js +4 -0
  340. package/dist/cdn/KKDI7NPI.js +4 -0
  341. package/dist/cdn/KKUZREI4.js +4 -0
  342. package/dist/cdn/KQIQHCLC.js +4 -0
  343. package/dist/cdn/KQR6YE46.js +4 -0
  344. package/dist/cdn/KR3VCCYV.js +4 -0
  345. package/dist/cdn/KRFRRBTJ.js +4 -0
  346. package/dist/cdn/KROTT6BN.js +4 -0
  347. package/dist/cdn/KSED4OFD.js +4 -0
  348. package/dist/cdn/KTWL2U4E.js +4 -0
  349. package/dist/cdn/KUXYJUSR.js +59 -0
  350. package/dist/cdn/KY3RNEB5.js +4 -0
  351. package/dist/cdn/KYJC3GMQ.js +4 -0
  352. package/dist/cdn/KYNPZLUD.js +4 -0
  353. package/dist/cdn/KZAISFWP.js +4 -0
  354. package/dist/cdn/L3DHODTU.js +4 -0
  355. package/dist/cdn/L4NUGZ3D.js +4 -0
  356. package/dist/cdn/L4TVX6JB.js +4 -0
  357. package/dist/cdn/LDZ3XYJL.js +4 -0
  358. package/dist/cdn/LFY4AA5H.js +4 -0
  359. package/dist/cdn/LGGOWVWM.js +4 -0
  360. package/dist/cdn/LGL6XQ4L.js +4 -0
  361. package/dist/cdn/LGWSPFAO.js +4 -0
  362. package/dist/cdn/LJB52HUH.js +4 -0
  363. package/dist/cdn/LL6G4GNC.js +4 -0
  364. package/dist/cdn/LNOVOVA6.js +4 -0
  365. package/dist/cdn/LOLAP4ZI.js +4 -0
  366. package/dist/cdn/LROBLBIJ.js +4 -0
  367. package/dist/cdn/LTNHXX3L.js +4 -0
  368. package/dist/cdn/LZ4KVHCC.js +4 -0
  369. package/dist/cdn/M3LPE4A3.js +4 -0
  370. package/dist/cdn/M3X55RP2.js +4 -0
  371. package/dist/cdn/M4SVTLCV.js +4 -0
  372. package/dist/cdn/M5332ILE.js +4 -0
  373. package/dist/cdn/M5KYLVPG.js +4 -0
  374. package/dist/cdn/MAWHUMJW.js +4 -0
  375. package/dist/cdn/MB6UZICZ.js +4 -0
  376. package/dist/cdn/MBTD3CS2.js +4 -0
  377. package/dist/cdn/MIF2FPDX.js +4 -0
  378. package/dist/cdn/MJ4N2GJ5.js +4 -0
  379. package/dist/cdn/MKWR53O5.js +4 -0
  380. package/dist/cdn/MM4EP4BG.js +4 -0
  381. package/dist/cdn/MNM3TKM2.js +4 -0
  382. package/dist/cdn/MOYJEOZN.js +4 -0
  383. package/dist/cdn/MQRF4FC2.js +4 -0
  384. package/dist/cdn/MR47YLP2.js +4 -0
  385. package/dist/cdn/MRU6AVHS.js +4 -0
  386. package/dist/cdn/MSKRXQDC.js +4 -0
  387. package/dist/cdn/MT23QKRG.js +4 -0
  388. package/dist/cdn/MUMHN7CO.js +4 -0
  389. package/dist/cdn/MXG73VEK.js +4 -0
  390. package/dist/cdn/N3HYWK4H.js +4 -0
  391. package/dist/cdn/N3UHRY5V.js +4 -0
  392. package/dist/cdn/N4A2KC7B.js +4 -0
  393. package/dist/cdn/NA7QMMDU.js +4 -0
  394. package/dist/cdn/NBVOVTXJ.js +4 -0
  395. package/dist/cdn/NCDNWLV5.js +4 -0
  396. package/dist/cdn/NFTCALSF.js +4 -0
  397. package/dist/cdn/NFTLXZKQ.js +4 -0
  398. package/dist/cdn/NG3B34XD.js +4 -0
  399. package/dist/cdn/NH7DYX2E.js +4 -0
  400. package/dist/cdn/NHCBPQK2.js +4 -0
  401. package/dist/cdn/NIBB3EXG.js +4 -0
  402. package/dist/cdn/NJTT3AOC.js +4 -0
  403. package/dist/cdn/NJYFZ2TM.js +4 -0
  404. package/dist/cdn/NLNQFIK3.js +4 -0
  405. package/dist/cdn/NMAPYNWD.js +4 -0
  406. package/dist/cdn/NMJNKTGD.js +4 -0
  407. package/dist/cdn/NMTKS7K7.js +4 -0
  408. package/dist/cdn/NN6OAJ2K.js +4 -0
  409. package/dist/cdn/NNJ3SEMF.js +4 -0
  410. package/dist/cdn/NOHIDTNM.js +4 -0
  411. package/dist/cdn/NPF6DN6N.js +24 -0
  412. package/dist/cdn/NQT7HXQO.js +4 -0
  413. package/dist/cdn/NSDHI5XR.js +4 -0
  414. package/dist/cdn/NTSZYENY.js +4 -0
  415. package/dist/cdn/NW2OZLUJ.js +4 -0
  416. package/dist/cdn/NWR4PFFF.js +4 -0
  417. package/dist/cdn/NXENISZ2.js +12 -0
  418. package/dist/cdn/O3TGM2V5.js +4 -0
  419. package/dist/cdn/O426JOP4.js +4 -0
  420. package/dist/cdn/O4V4ZEBE.js +4 -0
  421. package/dist/cdn/O52W7R4B.js +4 -0
  422. package/dist/cdn/O66Q33H6.js +4 -0
  423. package/dist/cdn/O6SA242C.js +4 -0
  424. package/dist/cdn/O7HC2K35.js +4 -0
  425. package/dist/cdn/OARTVXLO.js +4 -0
  426. package/dist/cdn/OJKTGIHB.js +4 -0
  427. package/dist/cdn/OJLRVI3I.js +4 -0
  428. package/dist/cdn/OMHQJ4Q7.js +4 -0
  429. package/dist/cdn/ORDIOXAY.js +4 -0
  430. package/dist/cdn/OU22WGP7.js +4 -0
  431. package/dist/cdn/OU5C7545.js +4 -0
  432. package/dist/cdn/OXDEHOQ2.js +4 -0
  433. package/dist/cdn/OZHEDXSF.js +4 -0
  434. package/dist/cdn/P3V524S5.js +4 -0
  435. package/dist/cdn/P4RTKYZJ.js +4 -0
  436. package/dist/cdn/P4RU2KUH.js +4 -0
  437. package/dist/cdn/P52YRVUV.js +4 -0
  438. package/dist/cdn/P7GXK4PJ.js +4 -0
  439. package/dist/cdn/PCCNMQNS.js +4 -0
  440. package/dist/cdn/PD4AXEKF.js +4 -0
  441. package/dist/cdn/PD4UCM7L.js +4 -0
  442. package/dist/cdn/PDJJTEQR.js +6 -0
  443. package/dist/cdn/PGRNGCZH.js +4 -0
  444. package/dist/cdn/PHMDJ65S.js +4 -0
  445. package/dist/cdn/PIP7C5XB.js +4 -0
  446. package/dist/cdn/PKLLSBE6.js +4 -0
  447. package/dist/cdn/PM2IKFK4.js +4 -0
  448. package/dist/cdn/POUGGCQQ.js +4 -0
  449. package/dist/cdn/PSAIVSS7.js +4 -0
  450. package/dist/cdn/PSQY52XC.js +4 -0
  451. package/dist/cdn/PWCEWUW4.js +4 -0
  452. package/dist/cdn/PWZYRQ77.js +4 -0
  453. package/dist/cdn/PZY2SW6S.js +4 -0
  454. package/dist/cdn/Q2BNFQJM.js +4 -0
  455. package/dist/cdn/Q4GDGGVW.js +4 -0
  456. package/dist/cdn/Q5P2VL4W.js +4 -0
  457. package/dist/cdn/Q63GQH5L.js +4 -0
  458. package/dist/cdn/Q7ZI3UJD.js +4 -0
  459. package/dist/cdn/QB4AXRIJ.js +4 -0
  460. package/dist/cdn/QBAKAJH4.js +4 -0
  461. package/dist/cdn/QBYASTRM.js +4 -0
  462. package/dist/cdn/QDE7HIEY.js +4 -0
  463. package/dist/cdn/QEJBTSZ7.js +4 -0
  464. package/dist/cdn/QEP4HDU6.js +4 -0
  465. package/dist/cdn/QHSHYRA3.js +4 -0
  466. package/dist/cdn/QHYO4NQT.js +4 -0
  467. package/dist/cdn/QI6MF7RJ.js +4 -0
  468. package/dist/cdn/QIL24W7E.js +4 -0
  469. package/dist/cdn/QJ2JG2FI.js +4 -0
  470. package/dist/cdn/QKFMRL5W.js +4 -0
  471. package/dist/cdn/QKJX5TS5.js +4 -0
  472. package/dist/cdn/QOQS6P5U.js +4 -0
  473. package/dist/cdn/QPDFS2LX.js +4 -0
  474. package/dist/cdn/QSMBHD7V.js +4 -0
  475. package/dist/cdn/QSPOLOFN.js +4 -0
  476. package/dist/cdn/R2CIDPUO.js +4 -0
  477. package/dist/cdn/R3YINZTR.js +4 -0
  478. package/dist/cdn/R6N2JQDL.js +4 -0
  479. package/dist/cdn/R7J2IORS.js +4 -0
  480. package/dist/cdn/RBAVWDVT.js +4 -0
  481. package/dist/cdn/RBQAHX55.js +6 -0
  482. package/dist/cdn/RDDRH4AZ.js +4 -0
  483. package/dist/cdn/REGIGC64.js +4 -0
  484. package/dist/cdn/RFC2DHBW.js +4 -0
  485. package/dist/cdn/RHBM7YZB.js +4 -0
  486. package/dist/cdn/RI62QKLT.js +52 -0
  487. package/dist/cdn/RJ77TLKR.js +4 -0
  488. package/dist/cdn/RJ7EJAKR.js +4 -0
  489. package/dist/cdn/RKT56MH2.js +4 -0
  490. package/dist/cdn/RM4QI57Z.js +4 -0
  491. package/dist/cdn/RNEGQYLS.js +4 -0
  492. package/dist/cdn/RSC4KSPY.js +51 -0
  493. package/dist/cdn/RSIZPDQW.js +4 -0
  494. package/dist/cdn/RUPB324H.js +4 -0
  495. package/dist/cdn/RW3LABI4.js +4 -0
  496. package/dist/cdn/RW5XTUCB.js +4 -0
  497. package/dist/cdn/RWT6NYXM.js +4 -0
  498. package/dist/cdn/RXTAMAUR.js +4 -0
  499. package/dist/cdn/RXVMY3VY.js +4 -0
  500. package/dist/cdn/RYMWWFKI.js +4 -0
  501. package/dist/cdn/RZIHQYZU.js +4 -0
  502. package/dist/cdn/S3H5VGFQ.js +4 -0
  503. package/dist/cdn/S3OT36DQ.js +4 -0
  504. package/dist/cdn/S5774OLB.js +4 -0
  505. package/dist/cdn/SB2JGBSH.js +4 -0
  506. package/dist/cdn/SB3WVPYB.js +4 -0
  507. package/dist/cdn/SB4PJXM5.js +4 -0
  508. package/dist/cdn/SDGEUMR3.js +4 -0
  509. package/dist/cdn/SEP4YTNL.js +4 -0
  510. package/dist/cdn/SETOV2SA.js +4 -0
  511. package/dist/cdn/SF2E3JPO.js +4 -0
  512. package/dist/cdn/SHUW7BWD.js +4 -0
  513. package/dist/cdn/SHVIZAG7.js +4 -0
  514. package/dist/cdn/SK6HEDWU.js +4 -0
  515. package/dist/cdn/SQJKVSOO.js +4 -0
  516. package/dist/cdn/SQJTVJ5I.js +4 -0
  517. package/dist/cdn/SS3LSY3X.js +4 -0
  518. package/dist/cdn/SSMRK5GO.js +4 -0
  519. package/dist/cdn/SSX6RLLT.js +4 -0
  520. package/dist/cdn/STEPFE47.js +4 -0
  521. package/dist/cdn/SW7FUOUR.js +4 -0
  522. package/dist/cdn/SZKNU7SC.js +4 -0
  523. package/dist/cdn/T2GPOJ3Q.js +4 -0
  524. package/dist/cdn/T3CNUFW2.js +4 -0
  525. package/dist/cdn/T7ZZZEPD.js +4 -0
  526. package/dist/cdn/TADDIQFR.js +4 -0
  527. package/dist/cdn/TAS2UOLC.js +4 -0
  528. package/dist/cdn/TDLVC4OI.js +4 -0
  529. package/dist/cdn/TE7KWYR5.js +4 -0
  530. package/dist/cdn/TFDIPCOT.js +4 -0
  531. package/dist/cdn/TH7ECV6P.js +4 -0
  532. package/dist/cdn/TIUAAMQP.js +4 -0
  533. package/dist/cdn/TKFYT2BJ.js +4 -0
  534. package/dist/cdn/TNYPI2XI.js +4 -0
  535. package/dist/cdn/TOPPV3O2.js +4 -0
  536. package/dist/cdn/TSH55IH3.js +4 -0
  537. package/dist/cdn/TSYSLYAH.js +4 -0
  538. package/dist/cdn/TUIK4CYN.js +4 -0
  539. package/dist/cdn/TVCEGWUO.js +4 -0
  540. package/dist/cdn/TW42VLA5.js +4 -0
  541. package/dist/cdn/TZGWZMZ7.js +4 -0
  542. package/dist/cdn/U6JUHTEK.js +4 -0
  543. package/dist/cdn/UDU43I6J.js +4 -0
  544. package/dist/cdn/UEXIPL6Q.js +4 -0
  545. package/dist/cdn/UG3U6JSM.js +4 -0
  546. package/dist/cdn/UMIHYBZ5.js +4 -0
  547. package/dist/cdn/USXCXWDZ.js +4 -0
  548. package/dist/cdn/UUAXYWTC.js +4 -0
  549. package/dist/cdn/UUUIKZQ2.js +4 -0
  550. package/dist/cdn/UVKHLRR2.js +4 -0
  551. package/dist/cdn/UVQFRNXJ.js +4 -0
  552. package/dist/cdn/UWQUJJV7.js +4 -0
  553. package/dist/cdn/UZA4CLS6.js +4 -0
  554. package/dist/cdn/UZCS6H5K.js +4 -0
  555. package/dist/cdn/V4PZLGEI.js +4 -0
  556. package/dist/cdn/V6O5ZM62.js +4 -0
  557. package/dist/cdn/V6UFTD2R.js +4 -0
  558. package/dist/cdn/V7ZPVX35.js +5 -0
  559. package/dist/cdn/VCRHWA5F.js +4 -0
  560. package/dist/cdn/VDUQUUL2.js +4 -0
  561. package/dist/cdn/VE4H6VUX.js +4 -0
  562. package/dist/cdn/VHRIVK55.js +4 -0
  563. package/dist/cdn/VIIGHGXT.js +4 -0
  564. package/dist/cdn/VJQESRR6.js +4 -0
  565. package/dist/cdn/VK5KUJKU.js +4 -0
  566. package/dist/cdn/VMFTIVPA.js +4 -0
  567. package/dist/cdn/VMNFQYKZ.js +4 -0
  568. package/dist/cdn/VPY3PMGS.js +4 -0
  569. package/dist/cdn/VQNV7GTG.js +4 -0
  570. package/dist/cdn/VRKSGHER.js +4 -0
  571. package/dist/cdn/VSDJ7YMA.js +4 -0
  572. package/dist/cdn/VXDVVMMR.js +4 -0
  573. package/dist/cdn/VZBAMAYZ.js +4 -0
  574. package/dist/cdn/W2SJDTIW.js +4 -0
  575. package/dist/cdn/W4CHFVDI.js +4 -0
  576. package/dist/cdn/W4ITKLFK.js +4 -0
  577. package/dist/cdn/W4TH7S7P.js +4 -0
  578. package/dist/cdn/W5ABA635.js +4 -0
  579. package/dist/cdn/WAGXJ4QF.js +4 -0
  580. package/dist/cdn/WBZGN6CY.js +4 -0
  581. package/dist/cdn/WDMEW2J2.js +4 -0
  582. package/dist/cdn/WEDTL37D.js +4 -0
  583. package/dist/cdn/WERIUJHC.js +4 -0
  584. package/dist/cdn/WGD5N4TW.js +4 -0
  585. package/dist/cdn/WHYH6I7R.js +4 -0
  586. package/dist/cdn/WI372REI.js +4 -0
  587. package/dist/cdn/WO5VK4WA.js +4 -0
  588. package/dist/cdn/WOAKACXY.js +4 -0
  589. package/dist/cdn/WPI5W274.js +4 -0
  590. package/dist/cdn/WU52PYS3.js +4 -0
  591. package/dist/cdn/WUC2UHGS.js +4 -0
  592. package/dist/cdn/WUDZTSIK.js +4 -0
  593. package/dist/cdn/WVE2ZYHU.js +5 -0
  594. package/dist/cdn/WWDYRKEY.js +4 -0
  595. package/dist/cdn/WX7O7DBC.js +4 -0
  596. package/dist/cdn/WXOK6XPO.js +4 -0
  597. package/dist/cdn/WYHFOJOS.js +4 -0
  598. package/dist/cdn/X2KRPNQV.js +4 -0
  599. package/dist/cdn/X5DN3B5T.js +4 -0
  600. package/dist/cdn/X5K6OLDD.js +4 -0
  601. package/dist/cdn/X63CG6CS.js +4 -0
  602. package/dist/cdn/XBA462SO.js +4 -0
  603. package/dist/cdn/XF2GIAR7.js +4 -0
  604. package/dist/cdn/XF4AIMCV.js +4 -0
  605. package/dist/cdn/XGCRDGIW.js +4 -0
  606. package/dist/cdn/XGTKSZBO.js +4 -0
  607. package/dist/cdn/XL7B3QHD.js +4 -0
  608. package/dist/cdn/XLNS4RP5.js +4 -0
  609. package/dist/cdn/XLQEH22V.js +4 -0
  610. package/dist/cdn/XLXR76IV.js +4 -0
  611. package/dist/cdn/XQ76UFVM.js +4 -0
  612. package/dist/cdn/XUHQNX3B.js +11 -0
  613. package/dist/cdn/XXOJKA7E.js +5 -0
  614. package/dist/cdn/XYFWSYAD.js +5 -0
  615. package/dist/cdn/XYI3H24L.js +4 -0
  616. package/dist/cdn/XYQ7O7Y5.js +4 -0
  617. package/dist/cdn/Y4HWQ5ER.js +4 -0
  618. package/dist/cdn/Y5A3CRL3.js +4 -0
  619. package/dist/cdn/Y5VCUHZ6.js +4 -0
  620. package/dist/cdn/Y6D4P7Z3.js +4 -0
  621. package/dist/cdn/Y6QX2RII.js +4 -0
  622. package/dist/cdn/YB4LULNR.js +4 -0
  623. package/dist/cdn/YBG2KXIG.js +4 -0
  624. package/dist/cdn/YCDRX2E3.js +4 -0
  625. package/dist/cdn/YHI47UDB.js +4 -0
  626. package/dist/cdn/YHRV2AU6.js +4 -0
  627. package/dist/cdn/YMQU4Q5Z.js +4 -0
  628. package/dist/cdn/YNQDPYXM.js +6 -0
  629. package/dist/cdn/YNR5B5Y6.js +4 -0
  630. package/dist/cdn/YOCMOAHJ.js +4 -0
  631. package/dist/cdn/YPF3NRC7.js +4 -0
  632. package/dist/cdn/YPHJNIZP.js +4 -0
  633. package/dist/cdn/YPJZDXO6.js +4 -0
  634. package/dist/cdn/YPXO2RKZ.js +4 -0
  635. package/dist/cdn/YQNDDJMM.js +4 -0
  636. package/dist/cdn/YSEFU3KT.js +4 -0
  637. package/dist/cdn/YV2EOBJC.js +4 -0
  638. package/dist/cdn/YWZQ4UXV.js +4 -0
  639. package/dist/cdn/YXPOW5XR.js +4 -0
  640. package/dist/cdn/YZFAZMWY.js +4 -0
  641. package/dist/cdn/YZQ3SH7Z.js +4 -0
  642. package/dist/cdn/YZU7QBQB.js +4 -0
  643. package/dist/cdn/Z5UP45NJ.js +59 -0
  644. package/dist/cdn/Z6XHBDJ5.js +4 -0
  645. package/dist/cdn/Z75VOD7H.js +4 -0
  646. package/dist/cdn/ZD4PSG5G.js +4 -0
  647. package/dist/cdn/ZFDYCAWD.js +4 -0
  648. package/dist/cdn/ZKKAXOLH.js +12 -0
  649. package/dist/cdn/ZKXC55NI.js +4 -0
  650. package/dist/cdn/ZLMJI5Z2.js +4 -0
  651. package/dist/cdn/ZOX7YRRU.js +4 -0
  652. package/dist/cdn/ZTCT5B7P.js +4 -0
  653. package/dist/cdn/ZTE7VTPU.js +4 -0
  654. package/dist/cdn/ZVPMG6O2.js +4 -0
  655. package/dist/cdn/ZZFLA4JE.js +4 -0
  656. package/dist/cdn/ZZGEGLDV.js +4 -0
  657. package/dist/cdn/index.js +3 -3
  658. package/dist/cdn/main.css +1 -1
  659. package/dist/chunks/chat-action.js +17 -15
  660. package/dist/chunks/findColumnAndNodeIndex.js +2 -2
  661. package/dist/chunks/getResponsiveClasses.js +2 -2
  662. package/dist/chunks/interpolate-translations.js +2 -2
  663. package/dist/chunks/isNodeVisible.js +2 -2
  664. package/dist/chunks/memoizeAsync.js +2 -2
  665. package/dist/chunks/migrateTextCard.js +2 -2
  666. package/dist/chunks/processLayout.js +2 -2
  667. package/dist/chunks/runtime.js +3 -3
  668. package/dist/chunks/state.js +5 -4
  669. package/dist/chunks/typeGuards.js +2 -2
  670. package/dist/chunks/useGlobalContext.js +13 -0
  671. package/dist/chunks/useT9n.js +2 -2
  672. package/dist/chunks/util.js +2 -2
  673. package/dist/components/arcgis-chat-shell/customElement.js +2 -2
  674. package/dist/components/arcgis-chat-ui/customElement.d.ts +2 -10
  675. package/dist/components/arcgis-chat-ui/customElement.js +33 -26
  676. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.d.ts +1 -3
  677. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +6 -4
  678. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.d.ts +1 -3
  679. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +19 -19
  680. package/dist/components/arcgis-chat-ui/functional/chat-status/customElement.js +2 -2
  681. package/dist/components/arcgis-hub-ai-assistant/customElement.d.ts +1 -8
  682. package/dist/components/arcgis-hub-ai-assistant/customElement.js +49 -54
  683. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -2
  684. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +2 -2
  685. package/dist/components/arcgis-hub-entity-status-card/customElement.js +2 -2
  686. package/dist/components/arcgis-hub-entity-view-layout/customElement.d.ts +7 -5
  687. package/dist/components/arcgis-hub-entity-view-layout/customElement.js +2 -2
  688. package/dist/components/arcgis-hub-entity-view-layout/utils/buildLayoutFromEntityView.d.ts +2 -1
  689. package/dist/components/arcgis-layout/customElement.d.ts +23 -8
  690. package/dist/components/arcgis-layout/customElement.js +2 -3
  691. package/dist/components/arcgis-layout-column/customElement.d.ts +15 -11
  692. package/dist/components/arcgis-layout-column/customElement.js +2 -3
  693. package/dist/components/arcgis-layout-container/customElement.d.ts +12 -3
  694. package/dist/components/arcgis-layout-container/customElement.js +25 -25
  695. package/dist/components/arcgis-layout-editor-toolbar/customElement.d.ts +3 -1
  696. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +7 -7
  697. package/dist/components/arcgis-layout-node-controls/customElement.d.ts +9 -7
  698. package/dist/components/arcgis-layout-node-controls/customElement.js +2 -2
  699. package/dist/components/arcgis-layout-node-editor/customElement.d.ts +1 -0
  700. package/dist/components/arcgis-layout-node-editor/customElement.js +2 -2
  701. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.d.ts +2 -1
  702. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -2
  703. package/dist/components/arcgis-layout-node-highlight/customElement.js +2 -2
  704. package/dist/components/arcgis-layout-node-overlay/customElement.d.ts +1 -5
  705. package/dist/components/arcgis-layout-node-overlay/customElement.js +2 -2
  706. package/dist/components/arcgis-layout-row/customElement.d.ts +7 -9
  707. package/dist/components/arcgis-layout-row/customElement.js +2 -2
  708. package/dist/components/arcgis-layout-section/customElement.d.ts +7 -9
  709. package/dist/components/arcgis-layout-section/customElement.js +2 -2
  710. package/dist/components/arcgis-nav-card/customElement.js +2 -2
  711. package/dist/components/arcgis-text-card/customElement.js +2 -2
  712. package/dist/components/layouts/components/layout-node/customElement.d.ts +22 -12
  713. package/dist/components/layouts/components/layout-node/customElement.js +2 -4
  714. package/dist/components/layouts/utils/findColumnAndNodeIndex.d.ts +9 -5
  715. package/dist/components/layouts/utils/findNodeById.d.ts +6 -4
  716. package/dist/components/layouts/utils/getAddableLayoutNodes.d.ts +10 -0
  717. package/dist/components/layouts/utils/getResponsiveClasses.d.ts +38 -0
  718. package/dist/components/layouts/utils/layoutContext.d.ts +11 -5
  719. package/dist/components/layouts/utils/lockLayout.d.ts +4 -3
  720. package/dist/components/layouts/utils/memoizeAsync.d.ts +2 -1
  721. package/dist/controllers/useGlobalContext.d.ts +6 -0
  722. package/dist/docs/api.json +33 -276
  723. package/dist/docs/docs.json +29 -250
  724. package/dist/docs/vscode.html-custom-data.json +6 -44
  725. package/dist/docs/web-types.json +27 -112
  726. package/dist/embed-config.js +2 -2
  727. package/dist/index.d.ts +0 -5
  728. package/dist/index.js +2 -2
  729. package/dist/loader.js +4 -4
  730. package/dist/types/lumina.d.ts +2 -7
  731. package/dist/types/preact.d.ts +2 -8
  732. package/dist/types/react.d.ts +2 -9
  733. package/dist/types/stencil.d.ts +2 -7
  734. package/dist/util/state.d.ts +3 -0
  735. package/package.json +1 -1
  736. package/dist/cdn/22DTN7JK.js +0 -4
  737. package/dist/cdn/23BISED4.js +0 -4
  738. package/dist/cdn/256H4J7J.js +0 -4
  739. package/dist/cdn/26XIP4D6.js +0 -4
  740. package/dist/cdn/27CGQQ2U.js +0 -4
  741. package/dist/cdn/2ACDL76Q.js +0 -4
  742. package/dist/cdn/2AE7FWZI.js +0 -4
  743. package/dist/cdn/2EOGMAWF.js +0 -4
  744. package/dist/cdn/2H5WQNTH.js +0 -4
  745. package/dist/cdn/2HX3VTUT.js +0 -4
  746. package/dist/cdn/2I4TEECN.js +0 -4
  747. package/dist/cdn/2J7QMJH4.js +0 -4
  748. package/dist/cdn/2JIK64E6.js +0 -4
  749. package/dist/cdn/2JNOEYBB.js +0 -4
  750. package/dist/cdn/2MK7B7NZ.js +0 -4
  751. package/dist/cdn/2QA2WUQG.js +0 -4
  752. package/dist/cdn/2QHV7J7P.js +0 -4
  753. package/dist/cdn/2RCY44HH.js +0 -4
  754. package/dist/cdn/2SDTS54U.js +0 -4
  755. package/dist/cdn/2SV6KORH.js +0 -4
  756. package/dist/cdn/2TZB6NHC.js +0 -4
  757. package/dist/cdn/2UH3KNG5.js +0 -4
  758. package/dist/cdn/2V3HZQOK.js +0 -4
  759. package/dist/cdn/2VRB6QBI.js +0 -4
  760. package/dist/cdn/2WW7P2IL.js +0 -4
  761. package/dist/cdn/2XGBUWAB.js +0 -4
  762. package/dist/cdn/2XTMIAUC.js +0 -4
  763. package/dist/cdn/2YCYU2XM.js +0 -4
  764. package/dist/cdn/33E3LTJR.js +0 -4
  765. package/dist/cdn/36OKO3MY.js +0 -4
  766. package/dist/cdn/37OAVYDX.js +0 -4
  767. package/dist/cdn/37OXKRTX.js +0 -4
  768. package/dist/cdn/3B3PLQQR.js +0 -4
  769. package/dist/cdn/3BR5UA34.js +0 -4
  770. package/dist/cdn/3EW6ZLJT.js +0 -4
  771. package/dist/cdn/3HZIH53B.js +0 -4
  772. package/dist/cdn/3J2KY43R.js +0 -4
  773. package/dist/cdn/3J4WDTKG.js +0 -4
  774. package/dist/cdn/3OAOLWMX.js +0 -4
  775. package/dist/cdn/3OXJH42M.js +0 -4
  776. package/dist/cdn/3QIY5D7Y.js +0 -4
  777. package/dist/cdn/3QRQQ3V6.js +0 -4
  778. package/dist/cdn/3QXPM4FT.js +0 -4
  779. package/dist/cdn/3RTYRXRB.js +0 -4
  780. package/dist/cdn/3SFW7RH7.js +0 -4
  781. package/dist/cdn/3SRPD5NN.js +0 -4
  782. package/dist/cdn/3T4HNI2X.js +0 -4
  783. package/dist/cdn/3UGES3WJ.js +0 -4
  784. package/dist/cdn/3WGHJDWJ.js +0 -4
  785. package/dist/cdn/3ZRJHH6P.js +0 -4
  786. package/dist/cdn/3ZZDZGQB.js +0 -4
  787. package/dist/cdn/436SKMXU.js +0 -4
  788. package/dist/cdn/43SCGVLE.js +0 -4
  789. package/dist/cdn/4AH7GEJK.js +0 -4
  790. package/dist/cdn/4BWPLR2C.js +0 -4
  791. package/dist/cdn/4C6MSJBZ.js +0 -4
  792. package/dist/cdn/4C744A4R.js +0 -4
  793. package/dist/cdn/4DRK6D46.js +0 -4
  794. package/dist/cdn/4EFGJY5Q.js +0 -4
  795. package/dist/cdn/4HJ3HLJH.js +0 -4
  796. package/dist/cdn/4HX5LBUJ.js +0 -4
  797. package/dist/cdn/4JBT7HJG.js +0 -4
  798. package/dist/cdn/4MFK345E.js +0 -4
  799. package/dist/cdn/4NVQUTLD.js +0 -4
  800. package/dist/cdn/4PARMCHB.js +0 -4
  801. package/dist/cdn/4T7IHO6E.js +0 -4
  802. package/dist/cdn/4VSLCK6N.js +0 -4
  803. package/dist/cdn/4WGGIZAQ.js +0 -4
  804. package/dist/cdn/4YRBWDTE.js +0 -4
  805. package/dist/cdn/4ZSPWGOR.js +0 -4
  806. package/dist/cdn/4ZY5L4HG.js +0 -4
  807. package/dist/cdn/54NWJBI7.js +0 -4
  808. package/dist/cdn/55FE6INE.js +0 -4
  809. package/dist/cdn/5673LPXT.js +0 -4
  810. package/dist/cdn/57U4ICQX.js +0 -4
  811. package/dist/cdn/5E44DCND.js +0 -4
  812. package/dist/cdn/5EMHTX3P.js +0 -4
  813. package/dist/cdn/5FRI2X4K.js +0 -4
  814. package/dist/cdn/5FY3EO2L.js +0 -4
  815. package/dist/cdn/5GVXXSZZ.js +0 -4
  816. package/dist/cdn/5H6NSEUE.js +0 -4
  817. package/dist/cdn/5JPJROUG.js +0 -4
  818. package/dist/cdn/5KCGULZJ.js +0 -4
  819. package/dist/cdn/5KIKQCD2.js +0 -4
  820. package/dist/cdn/5LH6Y6AF.js +0 -4
  821. package/dist/cdn/5LQXDSGH.js +0 -4
  822. package/dist/cdn/5MMU36GE.js +0 -4
  823. package/dist/cdn/5NEU4ONW.js +0 -4
  824. package/dist/cdn/5NO4ETSX.js +0 -4
  825. package/dist/cdn/5OGFD7YG.js +0 -4
  826. package/dist/cdn/5RFJRREQ.js +0 -4
  827. package/dist/cdn/5SL3FNVJ.js +0 -4
  828. package/dist/cdn/5TCPOWXN.js +0 -4
  829. package/dist/cdn/5UXUZ4IQ.js +0 -4
  830. package/dist/cdn/5WBZ35RZ.js +0 -4
  831. package/dist/cdn/5XNJ3UNT.js +0 -4
  832. package/dist/cdn/5YCLLASW.js +0 -4
  833. package/dist/cdn/5Z5D7XA4.js +0 -4
  834. package/dist/cdn/5ZFUSWWJ.js +0 -4
  835. package/dist/cdn/62VP5TO6.js +0 -4
  836. package/dist/cdn/67ICPAUW.js +0 -4
  837. package/dist/cdn/67WXIKQL.js +0 -4
  838. package/dist/cdn/6ABK6H57.js +0 -4
  839. package/dist/cdn/6AEACQ6R.js +0 -4
  840. package/dist/cdn/6APAVRNM.js +0 -4
  841. package/dist/cdn/6BGAMMOV.js +0 -4
  842. package/dist/cdn/6BQSWVVM.js +0 -4
  843. package/dist/cdn/6CNXY4OB.js +0 -4
  844. package/dist/cdn/6F4N23L4.js +0 -4
  845. package/dist/cdn/6GXFQMNL.js +0 -4
  846. package/dist/cdn/6HP22HL2.js +0 -4
  847. package/dist/cdn/6I25GFA4.js +0 -4
  848. package/dist/cdn/6IB3SCHG.js +0 -6
  849. package/dist/cdn/6JM5NGDY.js +0 -4
  850. package/dist/cdn/6KCWDVBB.js +0 -4
  851. package/dist/cdn/6LFC62J3.js +0 -4
  852. package/dist/cdn/6PYAW2HU.js +0 -4
  853. package/dist/cdn/6QW523S5.js +0 -4
  854. package/dist/cdn/6TAS6PZS.js +0 -4
  855. package/dist/cdn/6WEHBPYV.js +0 -4
  856. package/dist/cdn/6YIDPV3P.js +0 -4
  857. package/dist/cdn/6ZO732NW.js +0 -4
  858. package/dist/cdn/6ZSB6MTG.js +0 -4
  859. package/dist/cdn/7267SYAW.js +0 -24
  860. package/dist/cdn/754KT7C4.js +0 -16
  861. package/dist/cdn/76URBCMS.js +0 -4
  862. package/dist/cdn/77QIYZJU.js +0 -4
  863. package/dist/cdn/7ALDFIMX.js +0 -4
  864. package/dist/cdn/7CWFJ3JN.js +0 -4
  865. package/dist/cdn/7FAX7KMI.js +0 -4
  866. package/dist/cdn/7FS4K4YR.js +0 -4
  867. package/dist/cdn/7GW72HER.js +0 -4
  868. package/dist/cdn/7NT2O3MX.js +0 -25
  869. package/dist/cdn/7P3IKV5W.js +0 -4
  870. package/dist/cdn/7PFOZ3NP.js +0 -4
  871. package/dist/cdn/7PI7OIRR.js +0 -4
  872. package/dist/cdn/7SB4C37T.js +0 -4
  873. package/dist/cdn/7SGJCVA5.js +0 -4
  874. package/dist/cdn/7ST6UZLJ.js +0 -4
  875. package/dist/cdn/7TUV3YW2.js +0 -4
  876. package/dist/cdn/7WTXM4OP.js +0 -4
  877. package/dist/cdn/7YD27CE6.js +0 -4
  878. package/dist/cdn/7ZXEVYYS.js +0 -4
  879. package/dist/cdn/A2QCQT5M.js +0 -4
  880. package/dist/cdn/ADEMWCS3.js +0 -4
  881. package/dist/cdn/AEBG25HZ.js +0 -4
  882. package/dist/cdn/AES2SL63.js +0 -4
  883. package/dist/cdn/AFBUBVK2.js +0 -4
  884. package/dist/cdn/AH67B3BJ.js +0 -4
  885. package/dist/cdn/AHSN7XOU.js +0 -4
  886. package/dist/cdn/AISWRBJ7.js +0 -4
  887. package/dist/cdn/AITPB6U6.js +0 -4
  888. package/dist/cdn/ALUUQGPQ.js +0 -4
  889. package/dist/cdn/AO4DBUDF.js +0 -4
  890. package/dist/cdn/AOEGIOXP.js +0 -4
  891. package/dist/cdn/APHVWLB2.js +0 -4
  892. package/dist/cdn/AQ6GMQ62.js +0 -4
  893. package/dist/cdn/AQOHWXXK.js +0 -4
  894. package/dist/cdn/ASFP7TCX.js +0 -4
  895. package/dist/cdn/B3W2VZ6X.js +0 -4
  896. package/dist/cdn/B42G5CIW.js +0 -4
  897. package/dist/cdn/B4MDYEY2.js +0 -4
  898. package/dist/cdn/B5FEBR3X.js +0 -4
  899. package/dist/cdn/B6SGUYXM.js +0 -4
  900. package/dist/cdn/B7GV4HQV.js +0 -4
  901. package/dist/cdn/BBD5C7QP.js +0 -4
  902. package/dist/cdn/BCNKHTRO.js +0 -9
  903. package/dist/cdn/BDSOAC2S.js +0 -4
  904. package/dist/cdn/BFFEGLGW.js +0 -4
  905. package/dist/cdn/BH43L6YW.js +0 -4
  906. package/dist/cdn/BJVMJWC5.js +0 -4
  907. package/dist/cdn/BNSMSR2J.js +0 -4
  908. package/dist/cdn/BP5K2JZA.js +0 -4
  909. package/dist/cdn/BW3AE4XR.js +0 -4
  910. package/dist/cdn/BXUAVTHQ.js +0 -4
  911. package/dist/cdn/C33HGNXZ.js +0 -4
  912. package/dist/cdn/C4TPJJKY.js +0 -4
  913. package/dist/cdn/C5QLC7CN.js +0 -4
  914. package/dist/cdn/C64LSADP.js +0 -4
  915. package/dist/cdn/C6LAICOE.js +0 -4
  916. package/dist/cdn/C7QAKCA4.js +0 -51
  917. package/dist/cdn/CA4M2TX2.js +0 -4
  918. package/dist/cdn/CAGGYVLW.js +0 -4
  919. package/dist/cdn/CDTE22PZ.js +0 -4
  920. package/dist/cdn/CFC4VODC.js +0 -4
  921. package/dist/cdn/CHP7OFKT.js +0 -4
  922. package/dist/cdn/CLMLBZVF.js +0 -4
  923. package/dist/cdn/CLOYRCWH.js +0 -4
  924. package/dist/cdn/CLUBS5ME.js +0 -4
  925. package/dist/cdn/CN5GPHA7.js +0 -4
  926. package/dist/cdn/CN5ZQ7L4.js +0 -4
  927. package/dist/cdn/CSEXWJKA.js +0 -4
  928. package/dist/cdn/CSVAVZBM.js +0 -4
  929. package/dist/cdn/CTDME6U2.js +0 -4
  930. package/dist/cdn/CWAICBUC.js +0 -4
  931. package/dist/cdn/CWALSH72.js +0 -4
  932. package/dist/cdn/D47WZTYS.js +0 -4
  933. package/dist/cdn/D5AQU54G.js +0 -4
  934. package/dist/cdn/D5U3LGFG.js +0 -4
  935. package/dist/cdn/D6JQOU3F.js +0 -4
  936. package/dist/cdn/D7IUYBA5.js +0 -4
  937. package/dist/cdn/D7PI5GKV.js +0 -4
  938. package/dist/cdn/DAA4KU5J.js +0 -4
  939. package/dist/cdn/DAGPEUPS.js +0 -5
  940. package/dist/cdn/DBOK3AWM.js +0 -4
  941. package/dist/cdn/DFH42HYH.js +0 -4
  942. package/dist/cdn/DGLVWP5E.js +0 -4
  943. package/dist/cdn/DI6FQU7M.js +0 -4
  944. package/dist/cdn/DKKGH7EM.js +0 -4
  945. package/dist/cdn/DKT3HJ6Z.js +0 -4
  946. package/dist/cdn/DLQCB2FV.js +0 -4
  947. package/dist/cdn/DMEXJHNQ.js +0 -4
  948. package/dist/cdn/DN2QPEN7.js +0 -4
  949. package/dist/cdn/DNAFENYK.js +0 -4
  950. package/dist/cdn/DNGGI3MM.js +0 -4
  951. package/dist/cdn/DPNK2TK2.js +0 -6
  952. package/dist/cdn/DQARYKUH.js +0 -4
  953. package/dist/cdn/DQIZC7ZD.js +0 -4
  954. package/dist/cdn/DQVTP47F.js +0 -4
  955. package/dist/cdn/DSK4PNZT.js +0 -6
  956. package/dist/cdn/DTV63Y6M.js +0 -4
  957. package/dist/cdn/DUFYQY6D.js +0 -4
  958. package/dist/cdn/DUJUZO2O.js +0 -8
  959. package/dist/cdn/DVPZP5P6.js +0 -4
  960. package/dist/cdn/DYMXKJHD.js +0 -4
  961. package/dist/cdn/DZTNMG52.js +0 -4
  962. package/dist/cdn/E66MWWTY.js +0 -4
  963. package/dist/cdn/E6A53BL2.js +0 -4
  964. package/dist/cdn/E6QQOVYR.js +0 -4
  965. package/dist/cdn/E6SRAXMN.js +0 -4
  966. package/dist/cdn/EA6ZOVFR.js +0 -4
  967. package/dist/cdn/EAXZVYTP.js +0 -4
  968. package/dist/cdn/ECRNHU7P.js +0 -8
  969. package/dist/cdn/ED3NQQVR.js +0 -5
  970. package/dist/cdn/EDAGVOSP.js +0 -4
  971. package/dist/cdn/EDTJI5VT.js +0 -4
  972. package/dist/cdn/EF2E4ALP.js +0 -4
  973. package/dist/cdn/EG5ECUFW.js +0 -4
  974. package/dist/cdn/EIGWV3DX.js +0 -4
  975. package/dist/cdn/EKYSTJI4.js +0 -4
  976. package/dist/cdn/EMAO7B3C.js +0 -4
  977. package/dist/cdn/EMVWRCMC.js +0 -4
  978. package/dist/cdn/ENOTKH3X.js +0 -4
  979. package/dist/cdn/ESPKWHYD.js +0 -4
  980. package/dist/cdn/ETTUECNO.js +0 -4
  981. package/dist/cdn/EVTYCRA5.js +0 -4
  982. package/dist/cdn/EYDG6NLS.js +0 -4
  983. package/dist/cdn/EYFRZTS7.js +0 -4
  984. package/dist/cdn/F2MEKC7P.js +0 -4
  985. package/dist/cdn/F2XQNSP4.js +0 -4
  986. package/dist/cdn/F4DBGR6Q.js +0 -4
  987. package/dist/cdn/F5HTMOP2.js +0 -4
  988. package/dist/cdn/F7GZEPBQ.js +0 -4
  989. package/dist/cdn/FCQ5TOKL.js +0 -4
  990. package/dist/cdn/FDL4QSK3.js +0 -4
  991. package/dist/cdn/FF4W5SYZ.js +0 -4
  992. package/dist/cdn/FF5HH6QI.js +0 -4
  993. package/dist/cdn/FGA7KK3H.js +0 -4
  994. package/dist/cdn/FID2NNZR.js +0 -4
  995. package/dist/cdn/FIR2RAQU.js +0 -4
  996. package/dist/cdn/FJ4RTBKN.js +0 -4
  997. package/dist/cdn/FKNUYIDS.js +0 -4
  998. package/dist/cdn/FP4W33XU.js +0 -4
  999. package/dist/cdn/FSLZ7745.js +0 -4
  1000. package/dist/cdn/FV5JC4Q4.js +0 -4
  1001. package/dist/cdn/G2DZIBRT.js +0 -4
  1002. package/dist/cdn/G2SSZWCB.js +0 -4
  1003. package/dist/cdn/G2WAUTHT.js +0 -4
  1004. package/dist/cdn/G37H6FND.js +0 -4
  1005. package/dist/cdn/G3ZGLROO.js +0 -4
  1006. package/dist/cdn/G5OWJLYS.js +0 -4
  1007. package/dist/cdn/G6MLHZSB.js +0 -4
  1008. package/dist/cdn/G7BPDEMI.js +0 -4
  1009. package/dist/cdn/GB2LXGDA.js +0 -4
  1010. package/dist/cdn/GBIAVW7E.js +0 -4
  1011. package/dist/cdn/GDJCZM7I.js +0 -4
  1012. package/dist/cdn/GDSA2NXR.js +0 -4
  1013. package/dist/cdn/GGYYWPMX.js +0 -4
  1014. package/dist/cdn/GI4M6PVY.js +0 -4
  1015. package/dist/cdn/GQLJZI27.js +0 -4
  1016. package/dist/cdn/GSBCWFMH.js +0 -4
  1017. package/dist/cdn/GSJKTVWH.js +0 -4
  1018. package/dist/cdn/GT4TYY56.js +0 -4
  1019. package/dist/cdn/GVDLXO4H.js +0 -4
  1020. package/dist/cdn/GVV67WKI.js +0 -4
  1021. package/dist/cdn/GWG7V3O2.js +0 -4
  1022. package/dist/cdn/GX2B7JAS.js +0 -4
  1023. package/dist/cdn/GXALT5UP.js +0 -4
  1024. package/dist/cdn/GXQZSSUT.js +0 -4
  1025. package/dist/cdn/H7I646O4.js +0 -4
  1026. package/dist/cdn/HA2KBQXE.js +0 -4
  1027. package/dist/cdn/HA2YTFI3.js +0 -4
  1028. package/dist/cdn/HB32BLR7.js +0 -4
  1029. package/dist/cdn/HB6VWHZZ.js +0 -4
  1030. package/dist/cdn/HF4TPNQ3.js +0 -4
  1031. package/dist/cdn/HFWFHA23.js +0 -4
  1032. package/dist/cdn/HGPJOQRH.js +0 -4
  1033. package/dist/cdn/HIANEQ5D.js +0 -4
  1034. package/dist/cdn/HJO43VXZ.js +0 -4
  1035. package/dist/cdn/HJOT2PGA.js +0 -4
  1036. package/dist/cdn/HJZ7RLCV.js +0 -4
  1037. package/dist/cdn/HNUBVAMV.js +0 -4
  1038. package/dist/cdn/HPFEKMVP.js +0 -4
  1039. package/dist/cdn/HULIUYRR.js +0 -4
  1040. package/dist/cdn/HVRDXWVY.js +0 -4
  1041. package/dist/cdn/HXIVUPM7.js +0 -4
  1042. package/dist/cdn/HYAGHU25.js +0 -4
  1043. package/dist/cdn/HYFRXTRV.js +0 -4
  1044. package/dist/cdn/HZGQOS2K.js +0 -4
  1045. package/dist/cdn/I2AVZSWC.js +0 -4
  1046. package/dist/cdn/I4AEZAFU.js +0 -4
  1047. package/dist/cdn/I5TSLWKD.js +0 -4
  1048. package/dist/cdn/IBBQ6WMW.js +0 -4
  1049. package/dist/cdn/IBKN3OIK.js +0 -4
  1050. package/dist/cdn/IDFC4JF4.js +0 -4
  1051. package/dist/cdn/IDRHYCLS.js +0 -4
  1052. package/dist/cdn/IFCZPV7R.js +0 -4
  1053. package/dist/cdn/IHWSGIIB.js +0 -4
  1054. package/dist/cdn/IISX6DYN.js +0 -4
  1055. package/dist/cdn/IJEBPEAQ.js +0 -4
  1056. package/dist/cdn/IKOX5LCY.js +0 -4
  1057. package/dist/cdn/IKY6VK72.js +0 -4
  1058. package/dist/cdn/IOFTI3VA.js +0 -4
  1059. package/dist/cdn/IOKH4PIO.js +0 -4
  1060. package/dist/cdn/IP3UPS4V.js +0 -4
  1061. package/dist/cdn/IUWWA7WU.js +0 -4
  1062. package/dist/cdn/IVTKRR2M.js +0 -4
  1063. package/dist/cdn/IWILDG6N.js +0 -4
  1064. package/dist/cdn/IWVYVE6M.js +0 -4
  1065. package/dist/cdn/IXP3WQC7.js +0 -4
  1066. package/dist/cdn/IYTREZVI.js +0 -4
  1067. package/dist/cdn/J2OUWH3F.js +0 -4
  1068. package/dist/cdn/JA4GOWCX.js +0 -4
  1069. package/dist/cdn/JBPILZPY.js +0 -4
  1070. package/dist/cdn/JBSMLZJO.js +0 -4
  1071. package/dist/cdn/JCDX62BP.js +0 -4
  1072. package/dist/cdn/JFW42WYL.js +0 -4
  1073. package/dist/cdn/JGQOEB4P.js +0 -4
  1074. package/dist/cdn/JHNNMLEF.js +0 -4
  1075. package/dist/cdn/JHQEFJRP.js +0 -4
  1076. package/dist/cdn/JILR3AT4.js +0 -4
  1077. package/dist/cdn/JLUTFHM4.js +0 -4
  1078. package/dist/cdn/JM3GNMXW.js +0 -5
  1079. package/dist/cdn/JNJRJ2X3.js +0 -4
  1080. package/dist/cdn/JOIBW6OF.js +0 -4
  1081. package/dist/cdn/JS6G5MRL.js +0 -4
  1082. package/dist/cdn/JSFBAM7J.js +0 -4
  1083. package/dist/cdn/JT4KC7CJ.js +0 -4
  1084. package/dist/cdn/JWEE7O7X.js +0 -4
  1085. package/dist/cdn/JWKTZODP.js +0 -4
  1086. package/dist/cdn/JXP2L6ML.js +0 -4
  1087. package/dist/cdn/JYEIOQUU.js +0 -4
  1088. package/dist/cdn/K42O6QXS.js +0 -59
  1089. package/dist/cdn/K5KNOJEQ.js +0 -4
  1090. package/dist/cdn/KA2DNM7C.js +0 -4
  1091. package/dist/cdn/KBLI4F74.js +0 -4
  1092. package/dist/cdn/KDMGA3S2.js +0 -4
  1093. package/dist/cdn/KE2LQJ2J.js +0 -4
  1094. package/dist/cdn/KEHBZS6G.js +0 -4
  1095. package/dist/cdn/KEVHYFI6.js +0 -4
  1096. package/dist/cdn/KJXFF6Q5.js +0 -4
  1097. package/dist/cdn/KMFLB5NC.js +0 -4
  1098. package/dist/cdn/KN67J2HK.js +0 -4
  1099. package/dist/cdn/KNIZDHSU.js +0 -4
  1100. package/dist/cdn/KNVEYTFO.js +0 -4
  1101. package/dist/cdn/KPFH7Z2G.js +0 -4
  1102. package/dist/cdn/KT7AQLTB.js +0 -4
  1103. package/dist/cdn/KUZPTIQX.js +0 -4
  1104. package/dist/cdn/KZEEZAUE.js +0 -4
  1105. package/dist/cdn/KZR6WBD2.js +0 -4
  1106. package/dist/cdn/KZZWFMFN.js +0 -4
  1107. package/dist/cdn/L5XADYLB.js +0 -4
  1108. package/dist/cdn/LD74LSLT.js +0 -4
  1109. package/dist/cdn/LDCK5ULK.js +0 -4
  1110. package/dist/cdn/LFNJRI4I.js +0 -4
  1111. package/dist/cdn/LFZHPQFR.js +0 -4
  1112. package/dist/cdn/LGDQM3DT.js +0 -4
  1113. package/dist/cdn/LGLVSNST.js +0 -42
  1114. package/dist/cdn/LIXKCNU2.js +0 -4
  1115. package/dist/cdn/LJRUSILL.js +0 -4
  1116. package/dist/cdn/LK76G5IO.js +0 -4
  1117. package/dist/cdn/LKXNR4MW.js +0 -4
  1118. package/dist/cdn/LP3AFVRO.js +0 -4
  1119. package/dist/cdn/LWXLMK5N.js +0 -4
  1120. package/dist/cdn/LXTOR5DM.js +0 -4
  1121. package/dist/cdn/LZ3F5BJB.js +0 -4
  1122. package/dist/cdn/LZ67NCEN.js +0 -4
  1123. package/dist/cdn/M2QQEHAL.js +0 -4
  1124. package/dist/cdn/M3OGPO4X.js +0 -4
  1125. package/dist/cdn/M4K4CR72.js +0 -4
  1126. package/dist/cdn/M4M2JSPK.js +0 -4
  1127. package/dist/cdn/M6OV6DAD.js +0 -4
  1128. package/dist/cdn/MFFDO7EU.js +0 -4
  1129. package/dist/cdn/MGEEDXFI.js +0 -4
  1130. package/dist/cdn/MKKWELZV.js +0 -4
  1131. package/dist/cdn/MLWAILYY.js +0 -4
  1132. package/dist/cdn/MMG7EWE5.js +0 -4
  1133. package/dist/cdn/MNLWE33L.js +0 -4
  1134. package/dist/cdn/MNWBNJKP.js +0 -4
  1135. package/dist/cdn/MPODBFV7.js +0 -4
  1136. package/dist/cdn/MSP2PQBZ.js +0 -4
  1137. package/dist/cdn/MUJTXPJD.js +0 -4
  1138. package/dist/cdn/N24MGRYL.js +0 -4
  1139. package/dist/cdn/N2B3PJV5.js +0 -4
  1140. package/dist/cdn/N2XEGODC.js +0 -4
  1141. package/dist/cdn/N3QVXZSQ.js +0 -4
  1142. package/dist/cdn/NAKV3ZFT.js +0 -4
  1143. package/dist/cdn/NCWPJ7MN.js +0 -4
  1144. package/dist/cdn/NDBXTSEE.js +0 -4
  1145. package/dist/cdn/NFJ6YKFA.js +0 -4
  1146. package/dist/cdn/NGYFQYAT.js +0 -4
  1147. package/dist/cdn/NHEA4CXP.js +0 -4
  1148. package/dist/cdn/NHJL7JT5.js +0 -4
  1149. package/dist/cdn/NIUVR6SA.js +0 -4
  1150. package/dist/cdn/NJHJN2HR.js +0 -4
  1151. package/dist/cdn/NJLT75UU.js +0 -4
  1152. package/dist/cdn/NJR7NGOG.js +0 -4
  1153. package/dist/cdn/NJTMAYBO.js +0 -4
  1154. package/dist/cdn/NJWRPOAB.js +0 -4
  1155. package/dist/cdn/NNDOABAS.js +0 -4
  1156. package/dist/cdn/NNKTDZU3.js +0 -4
  1157. package/dist/cdn/NOSLRY4N.js +0 -4
  1158. package/dist/cdn/NTFBGX5I.js +0 -4
  1159. package/dist/cdn/NVIA7GTL.js +0 -4
  1160. package/dist/cdn/NVXCK2SG.js +0 -4
  1161. package/dist/cdn/NWHJHFNZ.js +0 -4
  1162. package/dist/cdn/O3SFZO5P.js +0 -4
  1163. package/dist/cdn/O4II2AQY.js +0 -4
  1164. package/dist/cdn/O5DA36PA.js +0 -4
  1165. package/dist/cdn/O6HC2T4N.js +0 -4
  1166. package/dist/cdn/ODYOX2LR.js +0 -4
  1167. package/dist/cdn/OE5I3APA.js +0 -4
  1168. package/dist/cdn/OEXQWDBK.js +0 -4
  1169. package/dist/cdn/OF43ZY2H.js +0 -4
  1170. package/dist/cdn/OI7BJ2LB.js +0 -4
  1171. package/dist/cdn/OKDU5LZD.js +0 -4
  1172. package/dist/cdn/OOJXXGFN.js +0 -4
  1173. package/dist/cdn/OQWJIMAV.js +0 -4
  1174. package/dist/cdn/OR4MBW7D.js +0 -4
  1175. package/dist/cdn/ORWN652T.js +0 -4
  1176. package/dist/cdn/OUMM6VU6.js +0 -4
  1177. package/dist/cdn/OV2KWZPO.js +0 -4
  1178. package/dist/cdn/OWDKV6UT.js +0 -4
  1179. package/dist/cdn/OXUVV4OH.js +0 -4
  1180. package/dist/cdn/OZBSPSRV.js +0 -4
  1181. package/dist/cdn/P2B7A5QJ.js +0 -4
  1182. package/dist/cdn/P4KAQGXP.js +0 -4
  1183. package/dist/cdn/P6E6Q5R2.js +0 -4
  1184. package/dist/cdn/P7FMCK4T.js +0 -4
  1185. package/dist/cdn/P7P4GDIB.js +0 -4
  1186. package/dist/cdn/PAMWHIMT.js +0 -4
  1187. package/dist/cdn/PBNVELZX.js +0 -4
  1188. package/dist/cdn/PCCHI2CO.js +0 -4
  1189. package/dist/cdn/PJN5HH3K.js +0 -4
  1190. package/dist/cdn/PJVXPTAI.js +0 -4
  1191. package/dist/cdn/PJZUTZMJ.js +0 -4
  1192. package/dist/cdn/PKIHNICE.js +0 -4
  1193. package/dist/cdn/PKP732ZJ.js +0 -4
  1194. package/dist/cdn/PKTGLIZK.js +0 -4
  1195. package/dist/cdn/PLFTM63P.js +0 -4
  1196. package/dist/cdn/PLO7N5I2.js +0 -4
  1197. package/dist/cdn/PS2IDCUQ.js +0 -4
  1198. package/dist/cdn/PSPMYO3Y.js +0 -4
  1199. package/dist/cdn/PTMDDGGD.js +0 -4
  1200. package/dist/cdn/PVC4LIGO.js +0 -4
  1201. package/dist/cdn/PVYJ5MVH.js +0 -4
  1202. package/dist/cdn/PX23OBV7.js +0 -4
  1203. package/dist/cdn/PXGKDSVW.js +0 -4
  1204. package/dist/cdn/PZX4TE4A.js +0 -4
  1205. package/dist/cdn/Q7HJGJ3V.js +0 -5470
  1206. package/dist/cdn/QBHWQP5B.js +0 -4
  1207. package/dist/cdn/QEHFVVUO.js +0 -4
  1208. package/dist/cdn/QFKDEUU5.js +0 -4
  1209. package/dist/cdn/QK22FASU.js +0 -4
  1210. package/dist/cdn/QKFOOWQU.js +0 -4
  1211. package/dist/cdn/QKL4WCOD.js +0 -4
  1212. package/dist/cdn/QM5CI3BR.js +0 -4
  1213. package/dist/cdn/QOCKZ3T2.js +0 -4
  1214. package/dist/cdn/QWMGKPHS.js +0 -4
  1215. package/dist/cdn/R2VL4R62.js +0 -4
  1216. package/dist/cdn/R4ESLD5N.js +0 -4
  1217. package/dist/cdn/RAROKTCE.js +0 -4
  1218. package/dist/cdn/RDSGIAYE.js +0 -59
  1219. package/dist/cdn/RF7P4DMJ.js +0 -4
  1220. package/dist/cdn/RGDPT4KJ.js +0 -4
  1221. package/dist/cdn/RIME2XA4.js +0 -4
  1222. package/dist/cdn/RKSNJNJV.js +0 -4
  1223. package/dist/cdn/RLDMOBOW.js +0 -4
  1224. package/dist/cdn/RRILOZAY.js +0 -4
  1225. package/dist/cdn/RSGOGQJH.js +0 -4
  1226. package/dist/cdn/RTQGBKED.js +0 -4
  1227. package/dist/cdn/RU7MRZUF.js +0 -4
  1228. package/dist/cdn/RUKUS3DX.js +0 -4
  1229. package/dist/cdn/RW5FC3ML.js +0 -4
  1230. package/dist/cdn/RX3HFB5C.js +0 -4
  1231. package/dist/cdn/RXROB3XB.js +0 -4
  1232. package/dist/cdn/RZMDXUQ6.js +0 -4
  1233. package/dist/cdn/S236FYV6.js +0 -4
  1234. package/dist/cdn/S2VQGPSM.js +0 -4
  1235. package/dist/cdn/S2WPVWL2.js +0 -4
  1236. package/dist/cdn/S47BP22K.js +0 -4
  1237. package/dist/cdn/S554MO27.js +0 -4
  1238. package/dist/cdn/S5SEK5PR.js +0 -4
  1239. package/dist/cdn/S6PDQ65R.js +0 -4
  1240. package/dist/cdn/SBKFRY5F.js +0 -4
  1241. package/dist/cdn/SDGAICEB.js +0 -4
  1242. package/dist/cdn/SF2MZ37O.js +0 -4
  1243. package/dist/cdn/SFZ6YHEA.js +0 -4
  1244. package/dist/cdn/SM5Z7QDR.js +0 -4
  1245. package/dist/cdn/SMEZPMGJ.js +0 -4
  1246. package/dist/cdn/SRFK4E32.js +0 -4
  1247. package/dist/cdn/SSUFZZTD.js +0 -4
  1248. package/dist/cdn/SUHFKC4O.js +0 -4
  1249. package/dist/cdn/SW7LHODP.js +0 -4
  1250. package/dist/cdn/SZET6KXU.js +0 -4
  1251. package/dist/cdn/T2XS4TJH.js +0 -4
  1252. package/dist/cdn/T3GNPCQW.js +0 -4
  1253. package/dist/cdn/T5GXIUN2.js +0 -4
  1254. package/dist/cdn/T62RBLEM.js +0 -4
  1255. package/dist/cdn/TD5WMF5R.js +0 -4
  1256. package/dist/cdn/TDKXL3EO.js +0 -4
  1257. package/dist/cdn/TENN5HCS.js +0 -4
  1258. package/dist/cdn/TF3F4EC4.js +0 -4
  1259. package/dist/cdn/TG3GNE2E.js +0 -4
  1260. package/dist/cdn/TG4NDJ3M.js +0 -4
  1261. package/dist/cdn/TJGNMJP5.js +0 -4
  1262. package/dist/cdn/TODZUHM7.js +0 -11
  1263. package/dist/cdn/TQWULBF5.js +0 -4
  1264. package/dist/cdn/TRLPVGC2.js +0 -4
  1265. package/dist/cdn/TWHVWBF4.js +0 -4
  1266. package/dist/cdn/TXE7MFX7.js +0 -4
  1267. package/dist/cdn/TZENYTQF.js +0 -4
  1268. package/dist/cdn/U3SUHFIQ.js +0 -4
  1269. package/dist/cdn/U4ROPPMI.js +0 -4
  1270. package/dist/cdn/UBBYNAIH.js +0 -4
  1271. package/dist/cdn/UCJBU4RZ.js +0 -5
  1272. package/dist/cdn/UDYIUKVI.js +0 -4
  1273. package/dist/cdn/UH36XPO5.js +0 -4
  1274. package/dist/cdn/UJDBTYNR.js +0 -4
  1275. package/dist/cdn/UJXMB6VE.js +0 -4
  1276. package/dist/cdn/UKD2VMDC.js +0 -4
  1277. package/dist/cdn/ULMPEL23.js +0 -4
  1278. package/dist/cdn/UNVG3JLG.js +0 -4
  1279. package/dist/cdn/UQB4FC66.js +0 -4
  1280. package/dist/cdn/UQIRP2VS.js +0 -4
  1281. package/dist/cdn/URJPABPO.js +0 -4
  1282. package/dist/cdn/URRU4GI5.js +0 -4
  1283. package/dist/cdn/UTPWSKHM.js +0 -4
  1284. package/dist/cdn/UUPTNTAA.js +0 -4
  1285. package/dist/cdn/UVVFZM3S.js +0 -5
  1286. package/dist/cdn/UZVQM4SS.js +0 -4
  1287. package/dist/cdn/V27EQQPT.js +0 -4
  1288. package/dist/cdn/V5INLOEQ.js +0 -4
  1289. package/dist/cdn/V6FXOQ62.js +0 -4
  1290. package/dist/cdn/V6IPPQU4.js +0 -4
  1291. package/dist/cdn/V7HU2SLS.js +0 -4
  1292. package/dist/cdn/VALNVCA3.js +0 -4
  1293. package/dist/cdn/VAZHEEPH.js +0 -4
  1294. package/dist/cdn/VB6QQUVX.js +0 -4
  1295. package/dist/cdn/VBJC5CYC.js +0 -4
  1296. package/dist/cdn/VCP4PWJR.js +0 -4
  1297. package/dist/cdn/VGVS665S.js +0 -4
  1298. package/dist/cdn/VH2TULPG.js +0 -52
  1299. package/dist/cdn/VH7FO7SJ.js +0 -4
  1300. package/dist/cdn/VHCT4E5J.js +0 -4
  1301. package/dist/cdn/VKE55CPN.js +0 -4
  1302. package/dist/cdn/VLA6T4K4.js +0 -4
  1303. package/dist/cdn/VLHMCPTM.js +0 -4
  1304. package/dist/cdn/VR64O6RL.js +0 -4
  1305. package/dist/cdn/VRDA4XRH.js +0 -4
  1306. package/dist/cdn/VRU2J6YF.js +0 -4
  1307. package/dist/cdn/VTNURIRR.js +0 -4
  1308. package/dist/cdn/VUED5PP6.js +0 -4
  1309. package/dist/cdn/VUENPWQO.js +0 -12
  1310. package/dist/cdn/VV2ISAPJ.js +0 -4
  1311. package/dist/cdn/VXILYM2C.js +0 -4
  1312. package/dist/cdn/VYOOLZ6S.js +0 -4
  1313. package/dist/cdn/W4BD26BK.js +0 -4
  1314. package/dist/cdn/WCFMOMBH.js +0 -4
  1315. package/dist/cdn/WCJUMDO5.js +0 -4
  1316. package/dist/cdn/WDK4CDYB.js +0 -4
  1317. package/dist/cdn/WJK7VCLR.js +0 -4
  1318. package/dist/cdn/WKALU32X.js +0 -41
  1319. package/dist/cdn/WO7FG3QY.js +0 -4
  1320. package/dist/cdn/WSNGTTJA.js +0 -4
  1321. package/dist/cdn/WT4NWR7S.js +0 -4
  1322. package/dist/cdn/WTSAPSRG.js +0 -4
  1323. package/dist/cdn/WTW4HQDW.js +0 -4
  1324. package/dist/cdn/WTX6225J.js +0 -4
  1325. package/dist/cdn/WV2L7ALV.js +0 -4
  1326. package/dist/cdn/WWC5VVF4.js +0 -4
  1327. package/dist/cdn/X2WPWCWN.js +0 -4
  1328. package/dist/cdn/X3F7VKXZ.js +0 -4
  1329. package/dist/cdn/X3O44FNX.js +0 -4
  1330. package/dist/cdn/X5KWR6PT.js +0 -4
  1331. package/dist/cdn/XAOH3KDW.js +0 -4
  1332. package/dist/cdn/XAYLKQAC.js +0 -4
  1333. package/dist/cdn/XCDMEJPF.js +0 -4
  1334. package/dist/cdn/XCRZY4GL.js +0 -4
  1335. package/dist/cdn/XD5MCXKV.js +0 -4
  1336. package/dist/cdn/XEHGE6PJ.js +0 -4
  1337. package/dist/cdn/XEWBBVXB.js +0 -4
  1338. package/dist/cdn/XGRBJ3AA.js +0 -4
  1339. package/dist/cdn/XIJRV2OS.js +0 -4
  1340. package/dist/cdn/XJTTTSOH.js +0 -4
  1341. package/dist/cdn/XKBUV6Y3.js +0 -4
  1342. package/dist/cdn/XN6NTLPK.js +0 -4
  1343. package/dist/cdn/XRI6YXLM.js +0 -4
  1344. package/dist/cdn/XRICSV66.js +0 -4
  1345. package/dist/cdn/XS3DVNW4.js +0 -4
  1346. package/dist/cdn/XTOE5LD2.js +0 -4
  1347. package/dist/cdn/XTOSCCMN.js +0 -4
  1348. package/dist/cdn/XTZH6QBV.js +0 -4
  1349. package/dist/cdn/XXAVDH5Y.js +0 -12
  1350. package/dist/cdn/XXL42TR2.js +0 -4
  1351. package/dist/cdn/XY7HGY2O.js +0 -4
  1352. package/dist/cdn/XYZCSM4Z.js +0 -4
  1353. package/dist/cdn/Y3NVZGKE.js +0 -4
  1354. package/dist/cdn/Y5ZO5S6U.js +0 -4
  1355. package/dist/cdn/Y7EPXUAR.js +0 -4
  1356. package/dist/cdn/Y7L3N5EB.js +0 -4
  1357. package/dist/cdn/Y7LE7IDP.js +0 -4
  1358. package/dist/cdn/Y7PCVFZ5.js +0 -4
  1359. package/dist/cdn/YCMTMCVB.js +0 -4
  1360. package/dist/cdn/YIYQV2IM.js +0 -4
  1361. package/dist/cdn/YJLRXCUG.js +0 -4
  1362. package/dist/cdn/YLHIQ7WU.js +0 -4
  1363. package/dist/cdn/YOMYP2IA.js +0 -4
  1364. package/dist/cdn/YOZY2GMO.js +0 -4
  1365. package/dist/cdn/YQP3DLMX.js +0 -4
  1366. package/dist/cdn/YRRMNMCL.js +0 -4
  1367. package/dist/cdn/YSTEVXNT.js +0 -5
  1368. package/dist/cdn/YUKUNY7E.js +0 -4
  1369. package/dist/cdn/YWMQLTDK.js +0 -4
  1370. package/dist/cdn/YX7MIP22.js +0 -4
  1371. package/dist/cdn/YXCOHJG2.js +0 -4
  1372. package/dist/cdn/YYSWG5U6.js +0 -4
  1373. package/dist/cdn/Z2W3L6DT.js +0 -4
  1374. package/dist/cdn/Z4RGFGKS.js +0 -4
  1375. package/dist/cdn/Z5HS7PSF.js +0 -4
  1376. package/dist/cdn/Z77PHJ5J.js +0 -4
  1377. package/dist/cdn/ZAH726N7.js +0 -4
  1378. package/dist/cdn/ZCOJLAHL.js +0 -4
  1379. package/dist/cdn/ZFCFZS6E.js +0 -4
  1380. package/dist/cdn/ZGNXLAYX.js +0 -4
  1381. package/dist/cdn/ZH6TUOKM.js +0 -4
  1382. package/dist/cdn/ZHQPHAMK.js +0 -4
  1383. package/dist/cdn/ZJYUP4R4.js +0 -4
  1384. package/dist/cdn/ZKZXTYRB.js +0 -4
  1385. package/dist/cdn/ZNEEVP6J.js +0 -4
  1386. package/dist/cdn/ZRV2D5ZI.js +0 -4
  1387. package/dist/cdn/ZVEHBXLB.js +0 -4
  1388. package/dist/cdn/ZXA2VV4D.js +0 -4
  1389. package/dist/cdn/ZZ3SQ4HG.js +0 -4
  1390. package/dist/cdn/ZZJB7ZKL.js +0 -4
  1391. package/dist/cdn/ZZWU3QFX.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.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{b as e,c as o,i as s}from"./HHKE6IQW.js";import"./B2SJHZ7L.js";var t=":host{display:none}:host([active]){display:block}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}.thumbnail,.heading,.row,.footer>div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);border-radius:4px}.thumbnail{margin-bottom:1rem;aspect-ratio:200 / 133}.heading{margin-bottom:1rem;height:1.5rem}.row{margin-bottom:0.5rem;height:1rem}.footer{margin-top:2rem;display:flex;justify-content:space-between}.footer>*{height:1.5rem;width:33.333333%}",n=t,d=class{constructor(r){s(this,r),this.active=!1,this.showThumbnail=!1,this.showHeading=!0,this.headingRows=1,this.rows=3,this.showFooter=!1}renderRows(r,i){return[...Array(r).keys()].map(a=>e("div",{class:i,key:a}))}render(){if(this.active)return e(o,{key:"fef6899a008d896809354ade00d3791dac5aad8d",role:"progressbar"},this.showThumbnail&&e("div",{class:"thumbnail"}),this.showHeading&&this.renderRows(this.headingRows,"heading"),this.renderRows(this.rows,"row"),e("slot",{key:"d7d4ee50c1d647acb5ae40a0a96e848f6f6be17a"}),this.showFooter&&e("div",{class:"footer"},e("div",null),e("div",null)))}};d.style=n;export{d as arcgis_skeleton_loader};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{a as et,c as It,d as Ct,e as Pt}from"./5UTYL2L2.js";import"./NJTT3AOC.js";import{b as Dt}from"./5MEPVV7Z.js";import{a as tt}from"./JC5B2LPO.js";import{a as X}from"./T7ZZZEPD.js";import{a as $}from"./R2CIDPUO.js";import{a as Z}from"./JDJWIDDM.js";import{a as J}from"./ZLMJI5Z2.js";import b from"./EZZOLCSS.js";import"./VDUQUUL2.js";import{a as wt}from"./GFQXCEDO.js";import{a as Y,b as _}from"./DNO7LM3I.js";import a from"./6RTAF2ZJ.js";import"./3HBJHE2P.js";import"./H25DOYL3.js";import{b as yt}from"./GXGFMZJD.js";import{a as V}from"./WO5VK4WA.js";import{a as mt}from"./3JKNARCY.js";import{h as gt}from"./SSMRK5GO.js";import{b as bt}from"./RSIZPDQW.js";import"./X5K6OLDD.js";import{b as B}from"./NMAPYNWD.js";import"./YNR5B5Y6.js";import{b as dt}from"./6RV5TU75.js";import"./VZBAMAYZ.js";import"./PWCEWUW4.js";import"./HEYHO5TS.js";import"./V7ZPVX35.js";import"./WVE2ZYHU.js";import"./WOAKACXY.js";import{n as pt}from"./X2KRPNQV.js";import"./SB4PJXM5.js";import"./2JEFH54X.js";import"./BLWTIELH.js";import"./B3BWMSAA.js";import"./WBZGN6CY.js";import"./YV2EOBJC.js";import"./REGIGC64.js";import"./DT3DHYFN.js";import"./EJKU7K2N.js";import"./RJ7EJAKR.js";import"./DAPJU2PV.js";import"./OU5C7545.js";import"./KFKKJQGY.js";import"./OXDEHOQ2.js";import"./B2F2O2BL.js";import{N as ht,O as K,X as ut,o as ct}from"./YWZQ4UXV.js";import"./6L66PQSV.js";import"./TSYSLYAH.js";import"./BP5X4ENP.js";import"./X63CG6CS.js";import"./EXS52KZX.js";import"./M5332ILE.js";import"./QEJBTSZ7.js";import"./SQJTVJ5I.js";import"./PZY2SW6S.js";import"./IIHQWNGB.js";import"./Q7ZI3UJD.js";import"./WUDZTSIK.js";import"./GIBLLMHM.js";import"./KQR6YE46.js";import{f as z,k as U}from"./ATQANVSI.js";import{d as q}from"./YMQU4Q5Z.js";import"./OZHEDXSF.js";import"./YB4LULNR.js";import"./7VVC3AXJ.js";import"./NXENISZ2.js";import"./43GQCZ4U.js";import"./QPDFS2LX.js";import"./CCQVZVJT.js";import"./3J25B6NM.js";import"./TE7KWYR5.js";import"./NHCBPQK2.js";import"./DAUW6EF7.js";import"./M5KYLVPG.js";import"./XYQ7O7Y5.js";import{h as lt}from"./M4SVTLCV.js";import"./OU22WGP7.js";import"./D2CU62K4.js";import"./TFDIPCOT.js";import"./7TUTFLUJ.js";import"./7KYGYTLR.js";import"./P4RU2KUH.js";import"./VSDJ7YMA.js";import"./Q5P2VL4W.js";import"./4AIXIU3O.js";import"./VXDVVMMR.js";import"./TZGWZMZ7.js";import"./WGD5N4TW.js";import"./YZU7QBQB.js";import"./OARTVXLO.js";import"./37OEJUPV.js";import"./46ONVMVL.js";import{c as N,g as Tt,j as it}from"./MSKRXQDC.js";import"./3RC77BYX.js";import"./5NJBWAQP.js";import"./KFDLN5LD.js";import"./7KX225UF.js";import"./44LBX4HS.js";import"./FN7NXJJW.js";import{j as rt}from"./WXOK6XPO.js";import{o as ot}from"./A7BPMOZ6.js";import"./RW5XTUCB.js";import"./KAJMD2NS.js";import"./DO4T44UU.js";import{a as k}from"./KDBAJOMC.js";import{a as j}from"./DLEUWOTS.js";import"./LFY4AA5H.js";import"./PCCNMQNS.js";import{a as h}from"./5XUZLG3L.js";import"./QDE7HIEY.js";import{b as s,c as A,d as L,e as d,h as F,i as G}from"./HHKE6IQW.js";import"./5OBLY6LT.js";import"./DKNVNN6S.js";import"./2Y2GXYPQ.js";import"./446UBN74.js";import"./B2SJHZ7L.js";export default $arcgis.t(([,{n:ft,o:vt,s:W},{b:Q}])=>{var _t='.sc-arcgis-hub-discussions-h{display:block;max-height:100%;overflow:auto;background-color:var(--calcite-color-foreground-1);--arcgis-hub-layout-list-gap:0rem}calcite-panel.sc-arcgis-hub-discussions{height:max-content}section.sc-arcgis-hub-discussions{margin-top:1rem;margin-bottom:1rem;margin-left:0.75rem;margin-right:0.75rem;display:grid;gap:0.75rem;border-radius:0.25rem;padding:0.75rem;--tw-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.12);--tw-shadow-colored:0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}header.sc-arcgis-hub-discussions{margin:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}p.sc-arcgis-hub-discussions{margin:0px;font-size:var(--calcite-font-size-0);line-height:1.375rem}section.sc-arcgis-hub-discussions calcite-button.sc-arcgis-hub-discussions{width:-moz-fit-content;width:fit-content}calcite-button[icon-start="speech-bubble-plus"].sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:0.5rem;display:block}arcgis-hub-subscription.sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem;display:block}arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}calcite-notice[slot="list-before"].sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}.empty.sc-arcgis-hub-discussions arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions{margin:0px;margin-top:0.25rem}.empty.sc-arcgis-hub-discussions calcite-notice.sc-arcgis-hub-discussions{width:100%}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions{overflow:hidden;padding-top:1rem;padding-bottom:1rem}arcgis-hub-discussions-post-list.sc-arcgis-hub-discussions{background-color:var(--calcite-color-foreground-1);padding-top:1.5rem}arcgis-hub-discussions-post-list.location-list.sc-arcgis-hub-discussions{padding-top:0.25rem;padding-bottom:0.25rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions{background-color:var(--calcite-color-foreground-1);padding:1rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions div.sc-arcgis-hub-discussions{display:flex;justify-content:flex-end;padding-top:0.5rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions div.sc-arcgis-hub-discussions+calcite-notice.sc-arcgis-hub-discussions{margin-top:1rem;width:100%}.discussions-options.sc-arcgis-hub-discussions:active .discussions-options-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-go-to.sc-arcgis-hub-discussions:active .discussions-go-to-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-back.sc-arcgis-hub-discussions{border-width:0px;border-right-width:1px;border-style:solid;border-right-color:var(--calcite-color-border-3)}.discussions-back.sc-arcgis-hub-discussions:active .discussions-back-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor[slot="list-before"].sc-arcgis-hub-discussions{margin-top:1.5rem;margin-bottom:1.5rem;margin-left:0.75rem;margin-right:0.75rem}',kt=_t,st=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},M=class{constructor(t){G(this,t),this.arcgisHubPostEditorReady=d(this,"arcgisHubPostEditorReady",7),this.arcgisHubGeometryGoTo=d(this,"arcgisHubGeometryGoTo",7),this.arcgisHubDiscussionsFeature=d(this,"arcgisHubDiscussionsFeature",7),this.arcgisHubDiscussionsFeatureDeleted=d(this,"arcgisHubDiscussionsFeatureDeleted",7),this.arcgisHubGeometryFeatureSelect=d(this,"arcgisHubGeometryFeatureSelect",7),this.arcgisHubGeometryFeatureHover=d(this,"arcgisHubGeometryFeatureHover",7),this.arcgisHubGeometryDrawCreate=d(this,"arcgisHubGeometryDrawCreate",7),this.arcgisHubGeometryDrawTypeSelect=d(this,"arcgisHubGeometryDrawTypeSelect",7),this.arcgisHubGeometryDrawEdit=d(this,"arcgisHubGeometryDrawEdit",7),this.arcgisHubGeometryDrawEditCancel=d(this,"arcgisHubGeometryDrawEditCancel",7),this.arcgisHubGeometryDrawReset=d(this,"arcgisHubGeometryDrawReset",7),this.arcgisHubGeometrySelect=d(this,"arcgisHubGeometrySelect",7),this.arcgisHubGeometryDeselect=d(this,"arcgisHubGeometryDeselect",7),this.arcgisHubDiscussionsViewThread=d(this,"arcgisHubDiscussionsViewThread",7),this.arcgisHubDiscussionsDismiss=d(this,"arcgisHubDiscussionsDismiss",7),this.arcgisHubDiscussionsClose=d(this,"arcgisHubDiscussionsClose",7),this.arcgisHubFeatureRemove=d(this,"arcgisHubFeatureRemove",7),this.arcgisHubGeometryClearAll=d(this,"arcgisHubGeometryClearAll",7),this.arcgisAppIdentityStartSignIn=d(this,"arcgisAppIdentityStartSignIn",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.handleSignInClicked=e=>{e.preventDefault(),this.arcgisAppIdentityStartSignIn.emit()},this.discussion=void 0,this.parentId=void 0,this.postId=void 0,this.channelId=void 0,this.locationId=void 0,this.unsavedFeatures=[],this.unsavedRelatedFeatures=[],this.unsavedExistingFeatures=[],this.hasMap=void 0,this.isHub=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this.dismissible=void 0,this.enableGoTo=void 0,this.disableNavigation=void 0,this.entityId=void 0,this.entityType=void 0,this.entity=void 0,this.discussionSettings=void 0,this.threadScrollTarget=void 0,this._context=N(),this.postListProps=void 0,this.threadProps=void 0,this.listScrollTarget=void 0,this._loading=!0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.error=null,this.optionsError=null,this.optionsSaving=!1,this.showPostEditor=!1,this.isMobile=void 0,this.showOptions=!1,this.numPostableChannels=null,k(this,"handleCheckStatus","handleBackToList","handleBackToThread","handleGeometryGoTo","handleNewPost","renderLoading","renderAddOrCreatePostButton","renderPostEditor","renderThread","renderPostList","renderError","handleDiscussionOptionsClick","handleDiscussionsDownloadClick","handleOptionsBack","checkIsMobile","handleSaveOptions","handleResetOptionsError","handlePostListUpdated","renderRequiresAuth","handleThreadReady","handlePostListReady")}async componentWillLoad(){this.initialize()}componentDidLoad(){this.observe()}connectedCallback(){it(this),this.observe()}disconnectedCallback(){this.disconnect(),this.disconnectContext()}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(t=>{Object.assign(this,t),this.threadProps=this.channelId&&this.parentId?{channelId:this.channelId,parentId:this.parentId,postId:this.postId}:null}).catch(t=>{this.error=t}).finally(()=>{this._loading=!1})}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}async fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){var t;let[e,i]=await Promise.all([J({isHub:this.isHub},this._context.hubRequestOptions),Q({discussion:this.discussion,entityId:this.entityId,entityType:this.entityType,entity:this.entity,locationId:this.locationId},this._context.hubRequestOptions,!0)]),{total:n}=await W({allowedChannelIds:(t=i.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds,requestOptions:this._context.hubRequestOptions,num:1});return Object.assign(Object.assign(Object.assign({},e),i),{numPostableChannels:n})}handleContextChanged(t,e){var i,n;((i=t?.currentUser)===null||i===void 0?void 0:i.username)!==((n=e?.currentUser)===null||n===void 0?void 0:n.username)&&(this.resetState(),this.loadDependencies())}resetState(){this.error=null,this._loading=!1,this.threadScrollTarget=null,this.listScrollTarget=null,this.optionsError=null,this.optionsSaving=!1,this.showPostEditor=!1,this.showOptions=!1,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.postListProps=null,this.threadProps=null}async handleBackToList(){let{thread:t}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.close.label.thread),{postId:t.postId,parentId:t.parentId,channelId:t.channelId,channelAccess:t.channel?U(t.channel):void 0})),this.threadScrollTarget=null,this.threadProps=null,this.channelId=null,this.parentId=null,this.postId=null,this.arcgisHubDiscussionsViewThread.emit({parentId:null,channelId:null})}observe(){$.addHandler(window.document.body,this.checkIsMobile)}disconnect(){$.removeHandler(window.document.body,this.checkIsMobile)}scrollToTarget(t){this.element.scrollTo({behavior:"smooth",left:t.offsetLeft,top:t.offsetTop})}async scrollToThreadTarget(){var t,e;let i;this.threadScrollTarget==="list"?i=await((t=this.thread)===null||t===void 0?void 0:t.getPostListRef()):this.threadScrollTarget==="editor"&&(i=await((e=this.thread)===null||e===void 0?void 0:e.getPostEditorRef())),i&&(this.threadScrollTarget=null,this.scrollToTarget(i))}async scrollToListTarget(){var t;let e=await((t=this.postListEl)===null||t===void 0?void 0:t.getPostRefByPostId(this.listScrollTarget));e&&(this.listScrollTarget=null,this.scrollToTarget(e))}handleNewPost(){this.hubTelemetry.emit(h.dictionary.category.interaction.action.open.label.editor),this.showPostEditor=!0}handlePostListUpdated(t){let e=t.target,{nextStart:i,start:n,total:a,items:o}=e;this.postListProps={nextStart:i,start:n,total:a,items:o}}handlePostEditorReady(t){let{detail:e}=t;t.stopPropagation(),this.arcgisHubPostEditorReady.emit(e)}handlePostCanceled(t){t.stopPropagation(),this.showPostEditor=!1}handlePostCreate(t){this.arcgisHubDiscussionsFeature.emit({post:t.detail,create:!0})}handleThreadReady(){setTimeout(()=>this.scrollToThreadTarget(),500)}handlePostListReady(){setTimeout(()=>this.scrollToListTarget(),500)}async handlePostDeleted(t){var e,i;let{postListProps:n,threadProps:a}=this,o=({id:l})=>l===t.detail.id;!((e=this.postListProps)===null||e===void 0)&&e.items.find(o)&&(this.postListProps=Object.assign(Object.assign({},n),{items:n.items.filter(l=>!o(l)),nextStart:n.nextStart>-1?n.nextStart-1:n.nextStart,total:n.total-1})),t.detail.id===((i=a?.parent)===null||i===void 0?void 0:i.id)&&(this.threadProps=Object.assign(Object.assign({},a),{parent:null})),this.arcgisHubDiscussionsFeatureDeleted.emit(t.detail)}async handlePostEdited(t){var e,i;let{postListProps:n,threadProps:a}=this,o=({id:l})=>l===t.detail.id;!((e=this.postListProps)===null||e===void 0)&&e.items.find(o)&&(this.postListProps=Object.assign(Object.assign({},n),{items:n.items.map(l=>o(l)?t.detail:l)})),t.detail.id===((i=a?.parent)===null||i===void 0?void 0:i.id)&&(this.threadProps=Object.assign(Object.assign({},a),{parent:t.detail})),this.arcgisHubDiscussionsFeature.emit({post:t.detail,create:!1})}handlePostSelect(t){let{parentId:e,channelId:i,channel:n,channelGroups:a,parent:o,parentCreator:l,parentCreatorOrg:r,scrollTarget:f,postId:b,post:v,postCreator:w,postCreatorOrg:D}=t.detail;Object.assign(this,{parentId:e,channelId:i,threadScrollTarget:f,listScrollTarget:e,postId:b,showPostEditor:!1,threadProps:e?{channelId:i,channel:n,channelGroups:a,parentId:e,parent:o,parentCreator:l,parentCreatorOrg:r,postId:b,post:v,postCreator:w,postCreatorOrg:D}:null}),this.arcgisHubDiscussionsViewThread.emit({parentId:e,channelId:i})}handleBackToThread(){let{thread:{channel:t},threadProps:{postId:e,parentId:i,channelId:n}}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.open.label.thread),{postId:e,parentId:i,channelId:n,channelAccess:t?U(t):void 0})),this.postId=null,this.threadProps=Object.assign(Object.assign({},this.threadProps),{postId:null}),this.arcgisHubDiscussionsViewThread.emit({parentId:i,channelId:n})}handleGeometryGoTo(){let{thread:t}=this;this.arcgisHubGeometryGoTo.emit(t?.parent)}handleGeometryFeatureSelect(t){t.stopPropagation(),this.arcgisHubGeometryFeatureSelect.emit(t.detail)}handleGeometryFeatureHover(t){t.stopPropagation(),this.arcgisHubGeometryFeatureHover.emit(t.detail)}handleGeometryDrawCreate(t){t.stopPropagation(),this.arcgisHubGeometryDrawCreate.emit(t.detail)}handleGeometryDrawTypeSelect(t){t.stopPropagation(),this.arcgisHubGeometryDrawTypeSelect.emit(t.detail)}handleGeometryDrawEdit(t){t.stopPropagation(),this.arcgisHubGeometryDrawEdit.emit(t.detail)}handleGeometryDrawEditCancel(t){t.stopPropagation(),this.arcgisHubGeometryDrawEditCancel.emit()}handleGeometryDrawReset(t){t.stopPropagation(),this.arcgisHubGeometryDrawReset.emit()}handleGeometrySelect(t){t.stopPropagation(),this.arcgisHubGeometrySelect.emit(t.detail)}handleGeometryDeselect(t){t.stopPropagation(),this.arcgisHubGeometryDeselect.emit()}handleFeatureRemove(t){t.stopPropagation(),this.arcgisHubFeatureRemove.emit(t.detail)}handleGeometryClearAll(t){t.stopPropagation(),this.arcgisHubGeometryClearAll.emit()}handleCalcitePanelDismissedChange(t){t.stopPropagation(),this.arcgisHubDiscussionsDismiss.emit()}handleCalcitePanelDismissChange(t){t.stopPropagation(),this.arcgisHubDiscussionsClose.emit()}captureEmptyListImpression(){this.hubTelemetry.emit(h.dictionary.category.interaction.action.viewed.label.empty)}handleCheckStatus(t){t.preventDefault();let e=t.target;this.hubTelemetry.emit(h.dictionary.category.navigation.action.external.label.hubStatus),setTimeout(()=>rt(e.href),250)}checkIsMobile(){this._checkIsMobile(globalThis.document.body)}_checkIsMobile(t){this.isMobile=t.clientWidth<768}handleDiscussionOptionsClick(){this.showOptions=!0,this.showPostEditor=!1,this.hubTelemetry.emit(h.dictionary.category.interaction.action.open.label.panel.details.discussionOptions)}async handleDiscussionsDownloadClick(){try{let{size:t,count:e,duration:i}=await vt({entityTitle:this.entity.title,discussion:this.discussion,channels:this.areChannelsConfigured?this.discussionSettings.allowedChannelIds:void 0,requestOptions:this._context.hubRequestOptions});this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.download.label.csv.details.export),{size:t,count:e,duration:i,response:h.constants.response.SUCCESS}))}catch{this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.download.label.csv.details.export),{response:h.constants.response.FAILURE})),Tt({title:this.intl.t("download.error"),message:"",configuration:{autoClose:!0,autoCloseDuration:"fast",icon:!0,noticeType:"alert",kind:"danger",label:this.intl.t("notice.label")}})}this.discussionOptionsPopoverEl.open=!1}handleOptionsBack(){this.showOptions=!1}async handleSaveOptions(t){this.entity=Object.assign(Object.assign({},this.entity),{typeKeywords:t.detail.typeKeywords}),this.discussionSettings=t.detail.discussionSettings,this.optionsSaving=!1}handleResetOptionsError(){this.optionsError=null}get loading(){return!this.intl||this._loading}get areChannelsConfigured(){var t,e;return!!(!((e=(t=this.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds)===null||e===void 0)&&e.length)}get discussionSettingsWorkspaceUrl(){return(this.isHub?"":this._context.hubHomeUrl)+q(this.entity.type,this.entityId,"settings-discussions")}get isRtl(){return this.intl.direction==="rtl"}get view(){let{error:t,loading:e,showOptions:i,threadProps:n}=this,a;return t?a=this.renderError:e?a=this.renderLoading:i?a=this.renderOptions:n?a=this.renderThread:a=this.renderPostList,a}get shouldRenderOptions(){let t=!1;return this.dismissible||(t=this.entityType===mt.CONTENT?this.canEditEntity:!1),t}get isDiscussable(){return!!this.entity&&z(this.entity)}get canEditEntity(){return!!this._context.currentUser&&B(this.entity.item,this._context.currentUser)}get hubEntityType(){return yt(Dt(this.entityType))}get shouldRenderSubscribe(){var t,e;let i=ot("hub:feature:discussions:subscription",this._context).access;return((t=this._context)===null||t===void 0?void 0:t.currentUser)&&((e=this.postListProps)===null||e===void 0?void 0:e.total)>0&&!this.locationId&&i}renderRequiresAuth(){let{intl:t}=this;if(t)return s("section",{class:"requires-auth"},s("calcite-icon",{icon:"frown",scale:"l"}),s("header",null,t.t("auth.title")),s("p",null,t.t("auth.text")))}renderEmpty(){var t;if(((t=this.postListProps)===null||t===void 0?void 0:t.total)===0&&!this.showPostEditor)return this.deletedDuringSession||this.captureEmptyListImpression(),s("section",{class:"empty",slot:"empty"},s("calcite-icon",{flipRtl:this.isRtl,icon:"speech-bubble",scale:"l"}),s("header",null,this.intl.t("emptyHeading")),s("p",null,this.intl.t("emptyMessage")),this._context.currentUser&&s("calcite-button",{disabled:!this.isDiscussable||!this.numPostableChannels,label:this.intl.t("addPost"),onClick:this.handleNewPost,round:!0,scale:"l"},this.intl.t("addPost")),this.renderNotice())}renderOptions(){let{entity:t,optionsSaving:e,intl:i,optionsError:n}=this;return s("calcite-panel",{"data-element":"discussions-options-panel",description:t.title,disabled:e,heading:i.t("options.heading")},s("calcite-action",{class:"discussions-back",onClick:this.handleOptionsBack,scale:"s",slot:"header-actions-start",text:this.intl.t("back")},s("calcite-icon",{class:"discussions-back-icon",flipRtl:this.isRtl,icon:"chevron-left",scale:"s"})),s("div",null,s("arcgis-hub-discussions-options",{entityId:t.id,entityType:this.hubEntityType,onArcgisHubDiscussionsOptionsEntitySaved:this.handleSaveOptions}),n&&s("calcite-notice",{closable:!0,kind:"danger",onCalciteNoticeClose:this.handleResetOptionsError,open:!0},s("header",{slot:"title"},i.t("options.failure.title")),s("p",{slot:"message"},i.t("options.failure.message")))))}renderPostEditor(){return s(F,null,s("arcgis-hub-discussions-post-editor",{discussion:this.discussion,discussionSettings:this.discussionSettings,entity:this.entity,entityId:this.entityId,entityType:this.entityType,hasMap:this.hasMap,isHub:this.isHub,isMobile:this.isMobile,locationId:this.locationId,showHeader:!0,showLocations:!0,slot:"list-before",unsavedExistingFeatures:this.unsavedExistingFeatures,unsavedFeatures:this.unsavedFeatures,unsavedRelatedFeatures:this.unsavedRelatedFeatures}))}renderAddOrCreatePostButton(){var t;if(((t=this.postListProps)===null||t===void 0?void 0:t.total)===void 0)return null;if(this.postListProps.total)return s(F,null,this._context.currentUser&&s("calcite-button",{appearance:"outline",disabled:!this.isDiscussable||!this.numPostableChannels,iconFlipRtl:"start",iconStart:"speech-bubble-plus",kind:"brand",label:this.intl.t("addPost"),onClick:this.handleNewPost,scale:"l",slot:"list-before",type:"button",width:"auto"},this.intl.t("addPost")),this.renderNotice("list-before"))}renderNotice(t){let e;return this.isDiscussable?this._context.currentUser?this.numPostableChannels||(e=this.renderParticipationUnavailableNotice(t)):e=this.renderSignInNotice(t):e=this.renderBlockedNotice(t),e}renderParticipationUnavailableNotice(t){return s("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m",slot:t},s("div",{slot:"title"},this.intl.t("participationUnavailable.title")),s("div",{slot:"message"},this.intl.t(this.areChannelsConfigured?"participationUnavailable.allowed":"participationUnavailable.any")),this.areChannelsConfigured&&this.canEditEntity&&this._context.hubLicense==="hub-premium"&&s("calcite-link",{href:this.discussionSettingsWorkspaceUrl,slot:"link"},this.intl.t("participationUnavailable.action")))}renderSignInNotice(t){return s("calcite-notice",{icon:"information",kind:"info",open:!0,scale:"m",slot:t},s("div",{slot:"title"},this.intl.t("signIn.title")),s("calcite-link",{onClick:this.handleSignInClicked,slot:"link"},this.intl.t("signIn.action")))}renderBlockedNotice(t){return s("arcgis-hub-discussions-blocked-notice",{slot:t,variant:this.entityType==="group"?_.Group:_.Item})}renderGoToAction(){let{enableGoTo:t,intl:e}=this;if(t)return s("calcite-action",{class:"discussions-go-to",onClick:this.handleGeometryGoTo,slot:"header-actions-end",text:e.t("showFullDiscussion")},s("calcite-icon",{class:"discussions-go-to-icon",icon:"extent",scale:"s"}))}renderSubscribeButton(){return s("arcgis-hub-subscription",{entityId:this.entityId,entityType:this.hubEntityType,slot:"list-before",subscribeButtonProps:{scale:"l",round:!1,width:"full"},types:[wt.DISCUSSION]})}renderPostList(){let{discussion:t,entity:e,entityId:i,entityType:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,showChannelAvatar:r,showChannelName:f,hasMap:b,isHub:v,unsavedFeatures:w,unsavedRelatedFeatures:D,unsavedExistingFeatures:C,showPostEditor:P,locationId:u,intl:g,shouldRenderOptions:T,isMobile:I,dismissible:y,postListProps:c,discussionSettings:m,handlePostListUpdated:O,handlePostListReady:p}=this,R={"location-list":!!u},x=u&&l?l:g.t("list.heading"),S=u?g.t("location.summary"):e.title;return s("calcite-panel",{closable:y,description:S,heading:x},this.renderGoToAction(),s(F,null,s("calcite-action",{class:"discussions-options",ref:E=>{this.discussionOptionsActionEl=E},scale:"m",slot:"header-actions-end",text:g.t("options")},s("calcite-icon",{class:"discussions-options-icon",icon:"ellipsis",scale:"s"})),s("calcite-popover",{autoClose:!0,flipPlacements:["top-end","bottom-end"],offsetDistance:0,overlayPositioning:"absolute",placement:"bottom-end",pointerDisabled:!0,ref:E=>{this.discussionOptionsPopoverEl=E},referenceElement:this.discussionOptionsActionEl},s("calcite-action-group",{layout:"vertical"},s("calcite-action",{alignment:"center",disabled:!c?.total,onClick:this.handleDiscussionsDownloadClick,scale:"m",text:g.t("download"),textEnabled:!0}),T&&s("calcite-action",{alignment:"left",onClick:this.handleDiscussionOptionsClick,scale:"m",text:g.t("settings"),textEnabled:!0})))),s("arcgis-hub-discussions-post-list",{channelIds:m?.allowedChannelIds,class:R,discussion:u?`${t}%?id=%${u}`:`${t}`,discussionSettings:m,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:e,entityId:i,entityType:n,hasMap:b,isHub:v,isMobile:I,items:c?.items,locationId:u,nextStart:c?.nextStart,onArcgisHubDiscussionsPostListReady:p,onArcgisHubDiscussionsPostListUpdated:O,parentIds:!u&&[],ref:E=>{this.postListEl=E},showChannelAvatar:r,showChannelName:f,showLocations:!0,start:c?.start,total:c?.total,unsavedExistingFeatures:C,unsavedFeatures:w,unsavedRelatedFeatures:D},!u&&(P?this.renderPostEditor():this.renderAddOrCreatePostButton()),this.shouldRenderSubscribe&&this.renderSubscribeButton(),this.renderEmpty()))}renderLoading(){return null}renderError(){let{intl:t}=this;return s("section",null,s("calcite-icon",{icon:"frown",scale:"l"}),s("header",null,t.t("error.title")),s("p",null,t.t("error.text")),s("calcite-button",{appearance:"transparent",href:"https://hubstatus.arcgis.com/",kind:"error",onClick:this.handleCheckStatus,round:!0,scale:"l"},t.t("error.button")))}renderThread(){let{hasMap:t,isHub:e,unsavedFeatures:i,unsavedRelatedFeatures:n,unsavedExistingFeatures:a,discussion:o,entity:l,entityId:r,entityType:f,discussionSettings:b,dismissible:v,displayFieldKey:w,displayFieldValid:D,displayFieldValue:C,showChannelAvatar:P,showChannelName:u,intl:g,handleBackToList:T,locationId:I,handleBackToThread:y,handleThreadReady:c,disableNavigation:m,isMobile:O,threadProps:p}=this,R="generic.heading",x="thread.summary",S=T;return p.postId?(R="reply.heading",x="reply.summary",S=y):I&&(R="location.heading"),m&&(R="list.heading"),s("calcite-panel",{closable:v,description:g.t(x),heading:g.t(R)},!m&&s("calcite-action",{class:"discussions-back",onClick:S,scale:"s",slot:"header-actions-start",text:g.t("back")},s("calcite-icon",{class:"discussions-back-icon",icon:"chevron-left",scale:"s"})),this.renderGoToAction(),s("arcgis-hub-discussions-thread",{channel:p.channel,channelGroups:p.channelGroups,channelId:p.channelId,discussion:o,discussionSettings:b,displayFieldKey:w,displayFieldValid:D,displayFieldValue:C,entity:l,entityId:r,entityType:f,hasMap:t,isHub:e,isMobile:O,locationId:I,onArcgisHubDiscussionsThreadReady:c,parent:p.parent,parentCreator:p.parentCreator,parentCreatorOrg:p.parentCreatorOrg,parentId:p.parentId,post:p.post,postCreator:p.postCreator,postCreatorOrg:p.postCreatorOrg,postId:p.postId,ref:E=>{this.thread=E},showChannelAvatar:P,showChannelName:u,showLocations:!0,unsavedExistingFeatures:a,unsavedFeatures:i,unsavedRelatedFeatures:n}))}render(){return s(A,{key:"4748fbfecea4988f6a628bce1c2aeb3e182dbe9d","data-element":"discussions"},this.view())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{_context:["handleContextChanged"]}}};st([Y({delay:300})],M.prototype,"fetchDependencies",null);st([tt()],M.prototype,"captureEmptyListImpression",null);st([V({timeout:250})],M.prototype,"checkIsMobile",null);M.style=kt;var At=':host{left:50%;width:auto;display:var(--display);transform:translate(-50%, 0)}:host([aria-hidden="true"]){display:none}div{border-bottom-right-radius:0.75rem;border-bottom-left-radius:0.75rem;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.75rem;padding-bottom:0.75rem;text-align:center;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));background-color:var(--hub-map-outline);font-weight:var(--calcite-font-weight-bold);font-size:var(--calcite-font-size--1)}calcite-button{margin-left:1rem}',Lt=At,Ht=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},Rt="#9747FF",nt=class{constructor(t){G(this,t),this.arcgisHubDrawDone=d(this,"arcgisHubDrawDone",7),this.activeStyles={outline:`.25rem solid ${Rt}`,padding:".25rem",outlineOffset:"-.25rem"},this.view=void 0,this.isConnected=void 0,k(this,"handleDone")}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.el)}connectedCallback(){this._connect()}disconnectedCallback(){this._disconnect()}_connect(){let{view:t,el:e,activeStyles:i}=this,n=a=>t.ui.container.style[a]=i[a];Object.keys(i).forEach(n),t.ui.add(e),setTimeout(()=>{this.isConnected=!0},50)}_disconnect(){let{view:t,activeStyles:e,el:i}=this,n=a=>t.ui.container.style.removeProperty(a);Object.keys(e).forEach(n),t.ui.remove(i),this.isConnected=!1}handleDone(){this.arcgisHubDrawDone.emit()}get hasViewUI(){let{view:t}=this;return!!(t&&t.ui)}get styles(){let{isConnected:t}=this;return{"--display":t?"block":"none","--hub-map-outline":Rt}}render(){let{intl:t,styles:e,isConnected:i}=this;return s(A,{key:"ae82736952f2c980dc72663d763460924414be67","aria-hidden":i,"data-element":"discussions-map-action-notice",style:e,tabindex:0},s("div",{key:"508f112b133fd28a9754f464781a9fac2cfbdeb8"},s("span",{key:"80c7ec9cb87a46a856caf4e2acf8e46de5af5034"},t.t("adding.notice")),s("calcite-button",{key:"14efbdfc5d47ab0b2dc859d19b6b3c379a4900b6",appearance:"outline-fill",kind:"neutral",onClick:this.handleDone,round:!0,scale:"s"},t.t("adding.action"))))}static get assetsDirs(){return["locales"]}get el(){return L(this)}};Ht([V({timeout:100}),Z({when(){return this.hasViewUI&&!this.isConnected}})],nt.prototype,"_connect",null);Ht([Z({when(){return this.hasViewUI&&this.isConnected}})],nt.prototype,"_disconnect",null);nt.style=Lt;var Gt=":host{display:block;background-color:var(--calcite-color-foreground-1);padding:1rem;padding-bottom:0.5rem;--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)}address{margin-bottom:0.125rem;display:grid;font-size:var(--calcite-font-size--1);font-style:normal;line-height:1.25rem;grid-template-columns:minmax(0, max-content) 1rem minmax(0, max-content)}address b{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}address span{display:flex;justify-content:center;color:var(--calcite-color-text-2)}address arcgis-relative-date{color:var(--calcite-color-text-2)}arcgis-multiline-ellipsis{font-size:var(--calcite-font-size-0);line-height:1.375}calcite-action-group{margin-left:2.75rem}.avatars{position:relative;grid-row:span 2 / span 2;float:left;margin-right:1.25rem;display:flex}.avatars:has(calcite-avatar:only-child){margin-right:0.5rem}.avatars calcite-avatar+calcite-avatar{position:absolute;top:1rem;left:1rem;z-index:10;border-radius:9999px;border:3px solid var(--calcite-color-foreground-1)}.avatars calcite-avatar:only-child{block-size:2.5rem;inline-size:2.5rem}@media only screen and (max-width: 640px){:host{border-radius:1.75rem}}@media only screen and (min-width: 640px){:host{border-radius:1.75rem 1.75rem 1.75rem 0}}",jt=Gt,Ut=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},Ot=class{constructor(t){G(this,t),this.arcgisHubDiscussionsViewFull=d(this,"arcgisHubDiscussionsViewFull",7),this.arcgisHubDiscussionsGeometryZoomTo=d(this,"arcgisHubDiscussionsGeometryZoomTo",7),this.arcgisHubDiscussionsPreviewDidRender=d(this,"arcgisHubDiscussionsPreviewDidRender",7),this.arcgisHubDiscussionsPreviewDismiss=d(this,"arcgisHubDiscussionsPreviewDismiss",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.locationId=void 0,this.postId=void 0,this.parentId=void 0,this.channelId=void 0,this.discussion=void 0,this.showChannelAvatar=void 0,this.loading=!0,this.post=void 0,this.postCreator=void 0,this.channel=void 0,k(this,"handleViewFullThread","handleZoomTo","handleDismiss")}get _context(){return N()}get creatorFullName(){let{intl:t,post:e,postCreator:i}=this,n=t.t("anonymous");return(i||e?.creator)&&(n=i?.fullName||t.t("privateUser")),n}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.element),this.initialize()}componentDidRender(){this.arcgisHubDiscussionsPreviewDidRender.emit(this.element.offsetHeight)}async initialize(){this._initialize()}async _initialize(){let{channelId:t,postId:e,parentId:i,locationId:n}=this;if(t&&(i||e||n)){this.loading=!0;let a=n&&!i?await this.fetchDetailsByLocationId():await this.fetchDetails(e);Object.assign(this,a,{loading:!1}),this.emitHubTelemetry(h.dictionary.category.interaction.action.open.label.popUp.details.post)}}async fetchDetailsByLocationId(){let{locationId:t,_context:e,discussion:i}=this,{items:[n]}=await ut(Object.assign({data:{discussion:`${i}%?id=%${t}%`,num:1,sortBy:ht.UPDATED_AT,sortOrder:ct.DESC,start:1,relations:[K.CHANNEL,K.CHANNEL_ACL]}},e.hubRequestOptions));return this.fetchDetails(n.id,n)}async fetchDetails(t,e){let{_context:i}=this,n=await et({postId:t,post:e},i.hubRequestOptions),[a,o]=await Promise.all([X(n,i.hubRequestOptions),It(n,i.hubRequestOptions)]);return Object.assign(Object.assign(Object.assign({},n),a),o)}emitHubTelemetry(t){let{postId:e,parentId:i,channelId:n,channel:a}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},t),{postId:e,parentId:i,channelId:n,channelAccess:U(a)}))}handleViewFullThread(){this.emitHubTelemetry(h.dictionary.category.interaction.action.open.label.thread.details[this.locationId?"location":"post"]),this.arcgisHubDiscussionsViewFull.emit()}handleZoomTo(){this.emitHubTelemetry(h.dictionary.category.interaction.action.zoom.label.in),this.arcgisHubDiscussionsGeometryZoomTo.emit(this.post)}handleDismiss(){this.emitHubTelemetry(h.dictionary.category.interaction.action.close.label.popUp.details.post),this.arcgisHubDiscussionsPreviewDismiss.emit()}renderAvatars(){var t;let{_context:e,channel:i,postCreator:n,post:a,showChannelAvatar:o,intl:l}=this,r=!n&&a?{username:a.creator}:n;return s(F,null,s("calcite-avatar",{"full-name":r?.fullName,scale:"m",thumbnail:r?.thumbnail&&lt(e.hubRequestOptions.portal,r,(t=e.hubRequestOptions.authentication)===null||t===void 0?void 0:t.token),"user-id":r?.id,username:r?.username}),o&&s("calcite-avatar",{"full-name":ft(i,l.t("unnamedChannel")),scale:"s"}))}renderContent(){let{post:t}=this;return s(F,null,s("div",{class:"avatars"},this.renderAvatars()),s("address",null,s("b",null,this.creatorFullName),s("span",null,"\xB7"),s("arcgis-relative-date",{dateTime:t.createdAt,formatStyle:"short"})),s("arcgis-multiline-ellipsis",{innerHTML:t.body,lines:2}),s("calcite-action-group",{layout:"horizontal"},s("calcite-action",{onClick:this.handleViewFullThread,scale:"s",text:this.intl.t("view"),textEnabled:!0}),!1,s("calcite-action",{onClick:this.handleDismiss,scale:"s",text:this.intl.t("dismiss"),textEnabled:!0})))}renderLoading(){return s("arcgis-hub-discussions-post-skeleton",null)}render(){return s(A,{key:"a2b6cdd27fe230cdcf980c6bc82f4f1ee8dfabb3","data-element":"discussions-map-preview"},this.loading?this.renderLoading():this.renderContent())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{channelId:["initialize"],parentId:["initialize"],locationId:["initialize"],postId:["initialize"]}}};Ut([V({timeout:0})],Ot.prototype,"initialize",null);Ot.style=jt;var Nt=":host{display:block}",Vt=Nt,Mt={content:"hub:content:settings:discussions:compact"},Bt=class{constructor(t){G(this,t),this.arcgisHubDiscussionsOptionsEntitySaved=d(this,"arcgisHubDiscussionsOptionsEntitySaved",7),this.entityId=void 0,this.entityType=void 0,this.entity=void 0,k(this,"handleEntityEditorSaved")}get _context(){return N()}async componentWillLoad(){await this.initialize()}async initialize(){!this.entity&&this.entityId&&this.entityType&&(this.entity=await pt(this.entityType,this.entityId,this._context))}get editorType(){return Mt[this.entityType]||null}handleEntityEditorSaved(t){this.arcgisHubDiscussionsOptionsEntitySaved.emit(t.detail.entity)}get isValidEditorType(){return gt.includes(this.editorType)}renderEntityEditor(){if(this.isValidEditorType)return s("arcgis-hub-entity-editor",{editorType:this.editorType,entity:this.entity,onArcgisHubEntityEditorSaved:this.handleEntityEditorSaved,variant:dt.workspace})}render(){return s(A,{key:"fa955ff196da9daf90a4c80310cc654c16713241","data-element":"discussions-options"},this.renderEntityEditor())}get element(){return L(this)}};Bt.style=Vt;var zt=".sc-arcgis-hub-discussions-thread-h{--arcgis-hub-layout-list-gap:0;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);padding-top:0.75rem;padding-bottom:0.75rem}arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;padding-left:0.75rem;padding-right:0.75rem}arcgis-hub-discussions-post-list.sc-arcgis-hub-discussions-thread{margin-left:1rem;margin-right:1rem}arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-thread:not([parent-id]){margin-left:1rem;margin-right:1rem;margin-bottom:1rem}arcgis-hub-discussions-post[parent-id].sc-arcgis-hub-discussions-thread{padding-left:1rem;padding-right:1rem}arcgis-hub-discussions-post.sc-arcgis-hub-discussions-thread:not([parent-id])+arcgis-hub-discussions-post[parent-id].sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem}calcite-notice.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;padding-left:1rem;padding-right:1rem}calcite-notice.sc-arcgis-hub-discussions-thread:first-child{margin-top:0px}arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions-thread,arcgis-hub-notice.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;margin-left:1rem;margin-right:1rem}",qt=zt,xt=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},H;(function(t){t.Loading="loading",t.ParentAndReply="parent_and_reply",t.ParentAndReplies="parent_and_replies",t.ThreadDeleted="thread_deleted",t.ChannelDeleted="channel_deleted"})(H||(H={}));var at=class{constructor(t){G(this,t),this.arcgisHubDiscussionsPostSelect=d(this,"arcgisHubDiscussionsPostSelect",7),this.arcgisAppIdentityStartSignIn=d(this,"arcgisAppIdentityStartSignIn",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.arcgisHubDiscussionsThreadReady=d(this,"arcgisHubDiscussionsThreadReady",7),this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.postId=void 0,this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.parent=void 0,this.parentId=void 0,this.parentCreator=void 0,this.parentCreatorOrg=void 0,this.channelId=void 0,this.channel=void 0,this.channelGroups=void 0,this.discussion=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.isMobile=void 0,this.locationId=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=N(),this.intl=void 0,this._loading=void 0,this.parentReady=!1,this.postReady=!1,this.postListReady=!1,this.postEditorReady=!1,this.ready=!1,this.numPostableChannels=null,k(this,"renderParentAndReply","renderParentAndReplies","renderThreadDeleted","renderChannelInaccessible","handleViewAllReplies","handleViewAllPosts","renderLoading","handleParentReady","handlePostReady","handlePostListReady","handlePostEditorReady","handleSignInClicked")}componentWillLoad(){this.initialize()}connectedCallback(){it(this)}disconnectedCallback(){this.disconnectContext()}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(t=>{Object.assign(this,t),this._loading=!1})}fetchDependencies(){return this._fetchDependencies()}handleContextChanged(t,e){var i,n;((i=t?.currentUser)===null||i===void 0?void 0:i.username)!==((n=e?.currentUser)===null||n===void 0?void 0:n.username)&&this.loadDependencies()}handleParentReady(){this.parentReady=!0,this.updateReady()}handlePostReady(){this.postReady=!0,this.updateReady()}handlePostEditorReady(){this.postEditorReady=!0,this.updateReady()}handlePostListReady(){this.postListReady=!0,this.updateReady()}handleReadyChange(t){t&&this.arcgisHubDiscussionsThreadReady.emit()}updateReady(){let t=[[this.postEditorRef,this.postEditorReady],[this.parentRef,this.parentReady],[this.postRef,this.postReady],[this.postListRef,this.postListReady]];this.ready=t.filter(([e])=>!!e).every(([e,i])=>i)}async getPostEditorRef(){return this.postEditorRef}async getPostListRef(){return this.postListRef}async _fetchDependencies(){let{isHub:t,_context:e,postId:i,post:n,parent:a,parentId:o,discussion:l,entityId:r,entityType:f,discussionSettings:b,entity:v,locationId:w,parentCreator:D,channelId:C,channel:P,channelGroups:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I}=this,[y,c]=await Promise.all([et({postId:i,post:n},e.hubRequestOptions),J({isHub:t},e.hubRequestOptions)]),m=await Ct(Object.assign({parentId:o,parent:a},y),e.hubRequestOptions),[O,p,R]=await Promise.all([Pt(Object.assign({parentCreator:D},m),e.hubRequestOptions),Q(Object.assign(Object.assign({discussion:l,entityId:r,entityType:f,entity:v,locationId:w,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I,discussionSettings:b},y),m),e.hubRequestOptions),X(Object.assign(Object.assign({channelId:C,channel:P,channelGroups:u},y),m),e.hubRequestOptions)]),{total:x}=await W({allowedChannelIds:[this.channelId],requestOptions:this._context.hubRequestOptions,num:1});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},y),m),O),c),p),R),{numPostableChannels:x})}get loading(){let{intl:t,_loading:e,_context:i,channel:n}=this;return!t||!i||e||n===void 0}get areChannelsConfigured(){var t,e;return!!(!((e=(t=this.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds)===null||e===void 0)&&e.length)}get canEditEntity(){return!!this._context.currentUser&&B(this.entity.item,this._context.currentUser)}get discussionSettingsWorkspaceUrl(){return(this.isHub?"":this._context.hubHomeUrl)+q(this.entity.type,this.entityId,"settings-discussions")}handlePostOrReplyDeleted(t){let{parent:e,post:i}=this;(t.detail.id===e?.id||t.detail.id===i?.id)&&(t.detail.id===e?.id?this.parent=null:this.post=null,this.deletedDuringSession=!0)}handleViewAllReplies(){let{channelId:t,channel:e,channelGroups:i,parent:n,parentId:a,postId:o,parentCreator:l,parentCreatorOrg:r}=this;this.arcgisHubDiscussionsPostSelect.emit({channel:e,channelId:t,channelGroups:i,parentId:a,parent:n,parentCreator:l,parentCreatorOrg:r}),this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.open.label.thread),{postId:o,parentId:a}))}handleViewAllPosts(){let{parentId:t,postId:e}=this;this.arcgisHubDiscussionsPostSelect.emit({channelId:null,channel:null,channelGroups:null,parent:null,parentId:null,parentCreator:null,parentCreatorOrg:null}),this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.close.label.thread),{postId:e,parentId:t}))}emitHubTelemetry(t){let{channelId:e,channel:i}=this;this.hubTelemetry.emit(Object.assign({channelId:e,channelAccess:i?U(i):void 0},t))}get views(){let{renderLoading:t,renderParentAndReply:e,renderParentAndReplies:i,renderThreadDeleted:n,renderChannelInaccessible:a}=this;return{[H.Loading]:{render:t},[H.ParentAndReply]:{render:e},[H.ParentAndReplies]:{render:i},[H.ThreadDeleted]:{render:n},[H.ChannelDeleted]:{render:a}}}get view(){let{views:t,parentId:e,postId:i,parent:n,post:a,loading:o,channel:l}=this,r;return o?r=H.Loading:l===null?r=H.ChannelDeleted:e&&i&&n===null&&a===null?r=H.ThreadDeleted:i?r=H.ParentAndReply:r=H.ParentAndReplies,t[r]}handleHubTelemetry(t){let e=[{from:h.dictionary.category.interaction.action.viewed.label.post.details.postList,to:h.dictionary.category.interaction.action.viewed.label.post.details.thread},{from:h.dictionary.category.interaction.action.open.label.postList,to:null}],i=a=>Object.entries(a).every(([o,l])=>{var r;return((r=t.detail)===null||r===void 0?void 0:r[o])===l}),n=e.find(({from:a})=>i(a));n&&(n.to?Object.assign(t.detail,n.to):t.stopPropagation())}handleSignInClicked(t){t.preventDefault(),this.arcgisAppIdentityStartSignIn.emit()}captureThreadDeletedImpression(){let{postId:t,parentId:e}=this;this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.viewed.label.post.details.thread),{postId:t,parentId:e,response:h.constants.response.FAILURE}))}get blockedNotice(){let t=bt(this.channel,this._context.currentUser),e=!z(this.entity),i;return t&&e?i=_.Reply:t?i=_.Group:e&&(i=this.entityType==="group"?_.Group:_.Item),i}renderChannelInaccessible(){return this._context.currentUser?s("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t("thread.inaccessible.title")),s("div",{slot:"message"},this.intl.t("thread.inaccessible.message")),s("calcite-link",{onClick:this.handleViewAllPosts,slot:"link"},this.intl.t("thread.inaccessible.action"))):this.renderSignInNotice()}renderParent(){let{channel:t,channelGroups:e,channelId:i,discussion:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,showChannelAvatar:r,showChannelName:f,entity:b,entityId:v,entityType:w,hasMap:D,isHub:C,isMobile:P,locationDescriptionText:u,locationId:g,parentId:T,parent:I,unsavedExistingFeatures:y,unsavedFeatures:c,unsavedRelatedFeatures:m,parentCreator:O,parentCreatorOrg:p,handleParentReady:R,showLocations:x}=this;return s("arcgis-hub-discussions-post",{channel:t,channelGroups:e,channelId:i,discussion:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:b,entityId:v,entityType:w,hasMap:D,isHub:C,isMobile:P,locationDescriptionText:u,locationId:g,onArcgisHubDiscussionsPostReady:R,parentCreatorOrg:p,post:I,postCreator:O,postId:T,ref:S=>{this.parentRef=S},showChannelAvatar:r,showChannelName:f,showLocations:x,unsavedExistingFeatures:y,unsavedFeatures:c,unsavedRelatedFeatures:m})}renderReplyEditor(){let{hasMap:t,unsavedFeatures:e,unsavedRelatedFeatures:i,unsavedExistingFeatures:n,isHub:a,discussion:o,parentId:l,parent:r,entity:f,entityId:b,entityType:v,discussionSettings:w,channelId:D,channel:C,channelGroups:P,isMobile:u,locationId:g,handlePostEditorReady:T,showLocations:I,disableSelectExistingLocation:y,blockedNotice:c,numPostableChannels:m}=this;if(r&&!c&&m)return s("arcgis-hub-discussions-post-editor",{channel:C,channelGroups:P,channelId:D,disableSelectExistingLocation:y,discussion:o,discussionSettings:w,entity:f,entityId:b,entityType:v,hasMap:t,isHub:a,isMobile:u,locationId:g,onArcgisHubDiscussionsPostEditorReady:T,parent:r,parentId:l,ref:O=>{this.postEditorRef=O},showLocations:I,unsavedExistingFeatures:n,unsavedFeatures:e,unsavedRelatedFeatures:i})}renderNotice(){let{blockedNotice:t,_context:e}=this,i;return t?i=s("arcgis-hub-discussions-blocked-notice",{variant:t}):e.currentUser?this.numPostableChannels||(i=this.renderParticipationUnavailableNotice()):i=this.renderSignInNotice(),i}renderParticipationUnavailableNotice(){return s("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t("participationUnavailable.title")),s("div",{slot:"message"},this.intl.t(this.areChannelsConfigured?"participationUnavailable.allowed":"participationUnavailable.any")),this.areChannelsConfigured&&this.canEditEntity&&this._context.hubLicense==="hub-premium"&&s("calcite-link",{href:this.discussionSettingsWorkspaceUrl,slot:"link"},this.intl.t("participationUnavailable.action")))}renderSignInNotice(){return s("calcite-notice",{icon:"information",kind:"info",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t("signInTitle")),s("calcite-link",{onClick:this.handleSignInClicked,slot:"link"},this.intl.t("signInAction")))}renderParentAndReplies(){let{hasMap:t,unsavedFeatures:e,unsavedRelatedFeatures:i,unsavedExistingFeatures:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,intl:r,isHub:f,discussion:b,parentId:v,entity:w,entityId:D,entityType:C,discussionSettings:P,isMobile:u,locationDescriptionText:g,locationId:T,handlePostListReady:I,showLocations:y}=this;return s(F,null,this.renderParent(),this.renderReplyEditor(),this.renderNotice(),s("arcgis-hub-discussions-post-list",{discussion:b,discussionSettings:P,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:w,entityId:D,entityType:C,hasMap:t,isHub:f,isMobile:u,locationDescriptionText:g,locationId:T,onArcgisHubDiscussionsPostListReady:I,parentIds:[v],ref:c=>{this.postListRef=c},showLocations:y,unsavedExistingFeatures:n,unsavedFeatures:e,unsavedRelatedFeatures:i},s("calcite-notice",{kind:"danger",open:!0,scale:"m",slot:"error"},s("div",{slot:"title"},r.t("error")),s("div",{slot:"message"},r.t("repliesFailure")))))}renderParentAndReply(){let{intl:t,handleViewAllReplies:e,post:i,postCreator:n,postCreatorOrg:a,unsavedFeatures:o,hasMap:l,isHub:r,unsavedRelatedFeatures:f,unsavedExistingFeatures:b,channel:v,channelGroups:w,channelId:D,isMobile:C,locationId:P,discussion:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I,showChannelAvatar:y,showChannelName:c,entity:m,entityId:O,entityType:p,parentId:R,parent:x,parentCreator:S,parentCreatorOrg:E,postId:Et,handlePostReady:St}=this;return s(F,null,this.renderParent(),!!i&&s("calcite-notice",{open:!0,scale:"s"},s("div",{slot:"title"},t.t("reply.single.title")),s("calcite-link",{onClick:e,slot:"link"},t.t("reply.single.link"))),s("arcgis-hub-discussions-post",{channel:v,channelGroups:w,channelId:D,discussion:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I,entity:m,entityId:O,entityType:p,hasMap:l,isHub:r,isMobile:C,locationDescriptionText:this.locationDescriptionText,locationId:P,onArcgisHubDiscussionsPostReady:St,parent:x,parentCreator:S,parentCreatorOrg:E,parentId:R,post:i,postCreator:n,postCreatorOrg:a,postId:Et,ref:Ft=>{this.postRef=Ft},showChannelAvatar:y,showChannelName:c,showLocations:this.showLocations,unsavedExistingFeatures:b,unsavedFeatures:o,unsavedRelatedFeatures:f}))}renderThreadDeleted(){let{intl:t,deletedDuringSession:e}=this;return e||this.captureThreadDeletedImpression(),s("calcite-notice",{kind:"danger",open:!0,scale:"m"},s("div",{slot:"title"},t.t("thread.deleted.title")),s("div",{slot:"message"},t.t("thread.deleted.message")),s("calcite-link",{onClick:this.handleViewAllPosts,slot:"link"},t.t("thread.deleted.action")))}renderLoading(){return null}render(){let{view:t}=this;return s(A,{key:"725a9c3f718ae5178c7ad5258befa329b55e62d6","data-element":"discussions-thread"},t.render())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{_context:["handleContextChanged"],ready:["handleReadyChange"]}}};xt([Y({delay:300})],at.prototype,"fetchDependencies",null);xt([tt()],at.prototype,"captureThreadDeletedImpression",null);at.style=qt;return{arcgis_hub_discussions:M,arcgis_hub_discussions_map_action_notice:nt,arcgis_hub_discussions_map_preview:Ot,arcgis_hub_discussions_options:Bt,arcgis_hub_discussions_thread:at}},"config",a,b)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{b as t,c as l,i as a}from"./HHKE6IQW.js";import"./B2SJHZ7L.js";var c=":host{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:1rem}section{border:solid 1px lightgray;border-radius:5px;flex:1}section h2{background-color:#f0f0f0;font-size:1rem;margin:0;padding:0.25rem 0.5rem;border-bottom:solid 1px lightgray}ul{padding:0;margin:0;list-style-type:none}li{padding:0.5rem;border-bottom:solid 1px lightgray;display:flex;justify-content:space-between;align-items:center}li:last-child{border-bottom:none}li div:last-child{display:flex;gap:0.5rem}.modifier-key{border:solid 1px lightgray;background-color:#f0f0f0;border-radius:3px;padding-inline:0.2rem;display:inline-flex;align-items:center}",p=c,y=class{constructor(n){a(this,n),this.intl=void 0,this.config=void 0}mapKeyToLabel(n){var e,i;let o=(((i=(e=window.navigator)===null||e===void 0?void 0:e.userAgentData)===null||i===void 0?void 0:i.platform)||window.navigator.platform).toLowerCase().startsWith("mac")?"mac":"win";return this.intl.t(`metaKeys.${o}.${n}`)}renderConfig(){let n=this.config.reduce((e,i)=>{var r;let{categoryKey:o}=i;return e[o]=(r=e[o])!==null&&r!==void 0?r:[],e[o].push(i),e},{});return Object.entries(n).map(([e,i])=>t("section",{key:e},t("h2",null,this.intl.t(e)),t("ul",null,i.map(r=>{let o=r.key||r.code.replace(/^Key/,"").toLowerCase();return t("li",{key:r.labelKey},t("div",null,this.intl.t(r.labelKey)),t("div",null,r.modifiers.map(d=>{let s=this.mapKeyToLabel(d);return t("span",{class:"modifier-key",key:s},s)}),t("span",{class:"modifier-key"},o)))}))))}render(){return t(l,{key:"7236311391b52dd314bec16d65cd340d5a103507","data-element":"keyboard-shortcuts"},this.renderConfig())}};y.style=p;export{y as arcgis_hub_keyboard_shortcuts_help};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{a as n}from"./TAS2UOLC.js";import{b as c}from"./POUGGCQQ.js";import"./LNOVOVA6.js";import{b as o,c as r,e as h,i as b}from"./HHKE6IQW.js";import{g as l}from"./DKNVNN6S.js";import{a}from"./2Y2GXYPQ.js";import"./B2SJHZ7L.js";var m=".section-subblock--l.sc-hub-section-subblock{--calcite-font-size--1:var(--calcite-font-size-1)}.section-subblock--m.sc-hub-section-subblock{--calcite-font-size--1:var(--calcite-font-size-0)}.section-subblock--s.sc-hub-section-subblock{--calcite-font-size--1:0.875rem}calcite-block-section.sc-hub-section-subblock-s>*,calcite-block-section .sc-hub-section-subblock-s>*{--calcite-font-size--1:14px}.helper-text.sc-hub-section-subblock{margin-top:-0.9rem;margin-bottom:1.5rem}.variant-layout-editor.sc-hub-section-subblock{--calcite-font-weight-medium:var(--calcite-font-weight-bold)}.variant-layout-editor.sc-hub-section-subblock-s>.section__content>.section__fields,.variant-layout-editor .sc-hub-section-subblock-s>.section__content>.section__fields{font-weight:var(--calcite-font-weight-bold)}",g=m,k=class{constructor(t){b(this,t),this.arcgisConfigurationEditorFieldChange=h(this,"arcgisConfigurationEditorFieldChange",7),this.handleCalciteBlockSectionToggle=e=>{let s=e.target;this._isOpen=s.expanded;let i=c(this.params.uiSchema.scope);i&&this.arcgisConfigurationEditorFieldChange.emit({property:i,value:this._isOpen})},this.params=void 0,this._isOpen=void 0,this._key=void 0}componentWillLoad(){var t,e,s;this._key=l("subblock");let i=(t=this.params.uiSchema)===null||t===void 0?void 0:t.scope,{open:u}=((e=this.params.uiSchema)===null||e===void 0?void 0:e.options)||{};if(this._isOpen=u,this.toggleDisplay==="switch"&&i){let p=c(i),d=a((s=this.params.model)===null||s===void 0?void 0:s.values,p);this._isOpen=!!d}}get toggleDisplay(){var t;return(t=this.params.uiSchema.options)===null||t===void 0?void 0:t.toggleDisplay}get scale(){var t;return((t=this.params.uiSchema.options)===null||t===void 0?void 0:t.scale)||this.params.scale||"l"}render(){var t;let e=((t=this.params.uiSchema.options)===null||t===void 0?void 0:t.helperText)||{},s=!!(e.label||e.labelKey);return o(r,{key:"1051426377bc8b5cd5bdebe5cece57f71b2fcc99"},o("calcite-block-section",{class:{[this.params.variant]:!!this.params.variant,[`section-subblock--${this.scale}`]:!0},"data-label":this.params.label,expanded:this._isOpen,key:this._key,onCalciteBlockSectionToggle:this.handleCalciteBlockSectionToggle,text:this.params.label,toggleDisplay:this.toggleDisplay||"button"},s&&n(this.params.uiSchema,this.params.t),o("slot",{key:"0164688c61421d6c119686705d6923634e10840a"})))}};k.style=g;export{k as hub_section_subblock};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{b as n,c as s}from"./NQT7HXQO.js";import{b as i}from"./3J25B6NM.js";import{a as r}from"./DKNVNN6S.js";function m(e){return u(i(e))}function u(e){let t=r(e);return t.type=="custom"&&(t.text=n(e.text),t.url=s(e.url),!t.text&&!t.url&&(t.type="none")),t}export{m as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{b as Ie}from"./PZY2SW6S.js";import{a as Ae}from"./IIHQWNGB.js";import{a as we}from"./Q7ZI3UJD.js";import{c as K,d as E,e as z,f as B,g as G,i as W,j as T,k as Y,ka as X,m as Ke,n as J,o as b,p as D,q as Ee,r as A,s as I}from"./WUDZTSIK.js";import{a as Q}from"./GIBLLMHM.js";import{g as C,q as p,t as Pe,v as H}from"./ATQANVSI.js";import{d as Se}from"./YMQU4Q5Z.js";import{b as Te}from"./YB4LULNR.js";import{c as De}from"./7VVC3AXJ.js";import{f as w}from"./NXENISZ2.js";import{b as S,e as be}from"./CCQVZVJT.js";import{a as M}from"./DAUW6EF7.js";import{e as fe,f as ye,m as me,n as V,o as ge}from"./M4SVTLCV.js";import{k as h,n as O}from"./VSDJ7YMA.js";import{b as pe}from"./Q5P2VL4W.js";import{c as x}from"./TZGWZMZ7.js";import{a as v}from"./WGD5N4TW.js";import{d as y}from"./YZU7QBQB.js";import{a as he}from"./FN7NXJJW.js";import{a as $,b as le,g as ue,j as de,n as m}from"./A7BPMOZ6.js";import{c as g}from"./DO4T44UU.js";import{a as f,k as d,s as ce}from"./DKNVNN6S.js";import{a as u}from"./2Y2GXYPQ.js";function Re(e,t=""){let n=Pe(e);return n?Y(n,t.toLowerCase(),4):""}function Ye(e,t){let r=e.filter(n=>!n.startsWith(`${T}|`));return r.push([T,t.toLowerCase()].join("|")),r}function ee(e,t){let r=W(e);return _({slug:r},t).then(n=>n.length?y(n[0].id,t):null)}async function _(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${T}|`)?e.slug:[T,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await x(n)).results}function Ue(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return _({slug:n,exclude:e.existingId},t).then(s=>s.length?Ue(e,t,r+1):n).catch(s=>{throw Error(`Error in getUniqueSlug ${s}`)})}var F=async(e,t)=>{let r=e.slug,n=e.orgUrlKey.toLowerCase();r&&!r.startsWith(`${n}|`)&&(r=Y(r,n));let{id:s}=e,a=s?{slug:r,existingId:s}:{slug:r};return e.slug=await Ue(a,t),e.typeKeywords=Ye(e.typeKeywords,e.slug),e},k;(function(e){e.map="map",e.image="image"})(k||(k={}));var P;(function(e){e.notStarted="notStarted",e.inProgress="inProgress",e.onHold="onHold",e.complete="complete"})(P||(P={}));var Je="Hub Initiative",$e=2.2,Xe={name:"",tags:[],typeKeywords:["hubInitiativeV2"],catalog:{schemaVersion:0},permissions:[],schemaVersion:$e,status:P.notStarted,features:$,view:{featuredContentIds:[],hero:k.map,metricDisplays:[]}},Ze={item:{type:Je,title:"",description:"",snippet:"",tags:[],typeKeywords:["hubInitiativeV2"],properties:{slug:"",schemaVersion:$e}},data:{catalog:{schemaVersion:0},status:P.notStarted,view:{featuredContentIds:[],hero:k.map,metricDisplays:[]}}};function te(){let e=K();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"contacts",storeKey:"data.contacts"}),e.push({entityKey:"timeline",storeKey:"data.timeline"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e.push({entityKey:"followersGroupId",storeKey:"item.properties.followersGroupId"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e}function ve(e,t){return A(e,t)}function re(e,t,r){var n,s;let a;return r.authentication&&(a=r.authentication.token),t=E(e.item,t),t.thumbnailUrl=S(e.item,r,a),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(n=e.data.view)===null||n===void 0?void 0:n.featuredImageUrl}),t.catalog=H(t.catalog||{}),t.features=D(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},$),t.links=ve(e.item,r),t}function qe(e){if(!e)return;let t=ye(e);return t.filters.forEach(r=>{r.predicates.forEach(n=>{n.group&&(n.group.not=[...n.group.any||[],...n.group.all||[]],n.group.any=[],n.group.all=[])})}),t}function xe(e,t){let r=e.filter(n=>!n.startsWith("status|"));return r.push(`status|${t}`),r}async function Kr(e,t){let r=Object.assign(Object.assign({},Xe),e);r.orgUrlKey=r.orgUrlKey.toLowerCase(),r.slug||(r.slug=Re(r.name,r.orgUrlKey)),await F(r,t),r.typeKeywords=xe(r.typeKeywords,r.status),r.typeKeywords=C(r.typeKeywords,r.isDiscussable);let n=new p(te()),s=n.entityToStore(r,f(Ze));s=await B(s,t);let a=n.storeToEntity(s,{});return a=re(s,a,t),a}async function Er(e,t){await F(e,t),e.typeKeywords=xe(e.typeKeywords,e.status),e.typeKeywords=C(e.typeKeywords,e.isDiscussable);let r=await z(e.id,t),n=new p(te()),s=n.entityToStore(e,r),a=await G(s,t),o=n.storeToEntity(a,e);return o=re(r,o,t),o}function Tr(e,t){let r;return v(e)?r=y(e,t):r=ee(e,t),r.then(n=>n?et(n,t):null)}async function Dr(e,t){let r=Object.assign(Object.assign({},t),{id:e});await Q(r)}async function et(e,t){let r=await I(e,t),s=new p(te()).storeToEntity(r,{});return re(r,s,t)}async function tt(e,t,r){let n={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:h(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{n[c.prop]=u(i,c.path)}),n.links=ve(e,r),n}function Ar(e){let t=Ie("Hub Project",`initiative|${e.id}`),r=u(e,"catalog.scopes.item");return t=Ae([t,qe(r)]),t}var q="Hub Project",ne=1.2,Ir={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:ne,status:P.notStarted,tags:[],typeKeywords:[q],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:$},Rr={item:{type:q,title:"",description:"",snippet:"",tags:[],typeKeywords:[q],properties:{slug:"",schemaVersion:ne}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:P.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function _e(e,t){return A(e,t)}function rt(e){if(e.schemaVersion>=1.2)return e;let t=f(e);return t.view&&t.view.timeline&&t.view.timeline.stages&&Array.isArray(t.view.timeline.stages)&&(t.view.timeline.stages=t.view.timeline.stages.filter(r=>!!r.title)),t.schemaVersion=1.2,t}function nt(e){if(e.schemaVersion>=1.1)return e;let t=f(e),{slug:r,orgUrlKey:n,typeKeywords:s}=J(t.slug||"",t.orgUrlKey||"",t.typeKeywords||[]);return t.slug=r,t.orgUrlKey=n,t.typeKeywords=s,t.schemaVersion=1.1,t}function st(e){if(e.schemaVersion===ne)return e;let t=nt(e);return t=rt(t),t}function at(e,t,r){var n,s;let a;return r.authentication&&(a=r.authentication.token),t=E(e.item,t),t.thumbnailUrl=S(e.item,r,a),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(n=e.data.view)===null||n===void 0?void 0:n.featuredImageUrl}),t.catalog=H(t.catalog||{}),t.features=D(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},le),t.links=_e(e.item,r),t=st(t),t}function ot(){let e=K();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function se(){let e=K();return["headContent","layout"].forEach(r=>{e.push({entityKey:r,storeKey:`data.values.${r}`})}),e}function ke(e,t){let r=A(e,t),n=O(e.type,Ee(e,!0),e.typeKeywords);return Object.assign(Object.assign({},r),{siteRelative:n,layoutRelative:`/pages/${e.id}/edit`})}var it="Hub Page",Ur="Site Page",Ne="hubPage",ae=1.1,ct={name:"",permissions:[],schemaVersion:ae,tags:[],typeKeywords:[Ne],view:{contacts:[],featuredContentIds:[],showMap:!0},layout:{sections:[]}},lt={item:{type:it,title:"",description:"",snippet:"",tags:[],typeKeywords:[Ne],properties:{slug:"",schemaVersion:ae}},data:{values:{layout:{}}}};function ut(e){if(e.schemaVersion>=1.1)return e;let t=f(e),{slug:r,orgUrlKey:n,typeKeywords:s}=J(t.slug||"",t.orgUrlKey||"",t.typeKeywords||[]);return t.slug=r,t.orgUrlKey=n,t.typeKeywords=s,t.schemaVersion=1.1,t}function dt(e){return e.schemaVersion===ae?e:ut(e)}function oe(e,t,r){var n;let s;r.authentication&&(s=r.authentication.token),t=E(e.item,t);let a=S(e.item,r,s);return t.thumbnailUrl=a,t.links=ke(e.item,r),t.features=D(((n=e.data.settings)===null||n===void 0?void 0:n.features)||{},ue),t=dt(t),t}function pt(e,t){let{id:r,slug:n,orgKey:s}=Ke(e);if(r)return y(r,t);let a=De(n,s||t.siteOrgKey),o=W(a);return _({slug:o},t).then(i=>{if(i.length)return i;{let c=o.split("|").slice(1).join("|");return _({slug:c},t)}}).then(i=>i.length?y(i[0].id,t):null)}async function $r(e,t){let r=Object.assign(Object.assign({},ct),e);r.orgUrlKey=r.orgUrlKey.toLowerCase(),r.slug||(r.slug=Re(r.name,r.orgUrlKey)),await F(r,t);let n=new p(se()),s=n.entityToStore(r,f(lt));s=await B(s,t);let a=n.storeToEntity(s,{});return a=oe(s,a,t),a}async function vr(e,t){await F(e,t);let r=await z(e.id,t),n=new p(se()),s=n.entityToStore(e,r),a=await G(s,t),o=n.storeToEntity(a,e);return o=oe(r,o,t),o}async function xr(e,t){let r=await pt(e,t);return r?yt(r,t):null}function ft(e,t){let n=new p(se()).storeToEntity(e,{});return oe(e,n,t)}async function yt(e,t){let r=await I(e,t);return ft(r,t)}async function _r(e,t){let r=Object.assign(Object.assign({},t),{id:e});await Q(r)}async function mt(e,t,r){let n={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,tags:e.tags,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},location:h(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{n[c.prop]=u(i,c.path)}),n.links=ke(e,r),n}function gt(){let e=K();return e.push({entityKey:"previewUrl",storeKey:"item.properties.previewUrl"}),e}function je(e,t){var r;let n=A(e,t),s=(r=e.typeKeywords)===null||r===void 0?void 0:r.includes("Deployed"),{self:a,siteRelative:o,workspaceRelative:i}=n,c=`${o.split("/").slice(0,-1).join("/")}/edit/advanced`;return Object.assign(Object.assign({},n),{workspaceRelative:s?a:i,advancedEditRelative:c})}var Fe=e=>{let t="Solution",r=e.typeKeywords.find(n=>n.startsWith("hubSolutionType|"));if(r){let n=r.split("|")[1];t=he(n).split("-").map(a=>ce(a)).join(" ");let s={storyMap:"StoryMap"};s[n]&&(t=s[n])}return t};function ht(e,t,r){return t=E(e.item,t),t.links=je(e.item,r),t.thumbnailUrl=t.links.thumbnail,t.features=D(u(e,"data.settings.features")||{},de),t.isDeployed=(u(e,"item.typeKeywords")||[]).includes("Deployed"),t.deployedType=Fe(e.item),t}function N(e){return e==null||e===""}function R(e,t){let r=null,n=t.filter(s=>s.predicates.find(a=>!N(a[e])));if(n.length>1)throw new Error(`Only 1 IFilter can have a '${e}' predicate but ${n.length} were detected`);if(n.length){let s=n[0],a=s.predicates.filter(l=>!N(l[e]));if(a.length>1)throw new Error(`Only 1 '${e}' predicate is allowed but ${a.length} were detected`);if(s.operation!=="AND"&&s.predicates.length>1)throw new Error(`'${e}' predicates cannot be OR'd to other predicates`);let o=a[0],i=o[e];if(!(typeof i=="string"||typeof i=="boolean"))throw new Error(`'${e}' predicate must be a string or boolean primitive. string[] and IMatchOptions are not allowed.`);r=o}return r}function wt(e){let r=e.filters.map(bt).filter(Le),n=ie(r,"AND"),s=R("bbox",e.filters);return s&&(n.params={bbox:s.bbox}),n}function Le(e){return!(typeof e>"u"||e===null||e==="")}function ie(e,t){return e.reduce((n,s)=>(Object.entries(s).forEach(([a,o])=>{n[a]&&o!==""?n[a]=`${n[a]} ${t} ${o}`:o!==""&&(n[a]=o)}),n),{q:""})}function bt(e){let t=e.operation||"AND",r=e.predicates.map(fe),n=r.map(Pt).filter(a=>a!=null),s=ie(n,t);return r.length>1&&(s.q=`(${s.q})`),s}function Pt(e){let t=["created","modified"],r=["isopendata","isviewonly"],n=["searchUserAccess","searchUserName","memberType","name","categoriesAsParam","categoryFilter","bbox","joined"],s=["filterType","term",...t,...r,...n],a=["access","capabilities","created","categories","categoriesAsParam","categoryFilter","contentstatus","description","disabled","email","emailstatus","firstname","fullname","group","id","isInvitationOnly","isopendata","joined","lastlogin","lastname","memberType","modified","name","orgid","orgIds","owner","provider","role","searchUserAccess","searchUserName","snippet","tags","term","title","type","typekeywords","userlicensetype","username","isviewonly"],o=Object.entries(e).map(([i,c])=>{if(a.includes(i)){let l={q:""};return!s.includes(i)&&i!=="term"&&(l.q=St(i,c)),(t.includes(i)||Et(c))&&(l.q=Kt(i,c)),r.includes(i)&&(l.q=`${i}:${c}`),n.includes(i)&&(i==="joined"?l[i]=`${c.from},${c.to}`:l[i]=c),i==="term"&&(l.q=c),l}}).filter(Le);if(o.length){let i=ie(o,"AND");return i.q&&(i.q=`(${i.q})`),i}else return null}function St(e,t){var r,n,s;let a="";return!((r=t.any)===null||r===void 0)&&r.length&&(a=`${Z("OR",e,t.any)}`),!((n=t.all)===null||n===void 0)&&n.length&&(a=(a?a+" AND ":"")+`${Z("AND",e,t.all)}`),!((s=t.not)===null||s===void 0)&&s.length&&(a=(a?a+" AND ":"")+`${Z("OR",`-${e}`,t.not)}`),a}function Kt(e,t){return`${e}:[${t.from} TO ${t.to}]`}function Z(e,t,r){let n="";return Array.isArray(r)&&r.length?(n=`${t}:"${r.join(`" ${e} ${t}:"`)}"`,r.length>1&&(n=`(${n})`)):n=`${t}:"${r}"`,n}function Et(e){return typeof e=="object"&&e!==null&&["from","to"].every(t=>typeof e[t]<"u")}function Me(e,t,r,n){let s=f(e);return e.authentication&&(s.authentication=M.deserialize(e.authentication.serialize())),u(e,"requestOptions.authentication")&&(s.requestOptions.authentication=M.deserialize(e.requestOptions.authentication.serialize())),s.start=t>-1?t:r+1,()=>n(s)}async function kr(e,t){let r;return v(e)?r=y(e,t):r=ee(e,t),r.then(n=>n?Tt(n,t):null)}async function Tt(e,t){let r=await I(e,t),s=new p(gt()).storeToEntity(r,{});return ht(r,s,t)}async function Dt(e,t,r){let n={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,tags:e.tags,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:h(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{n[c.prop]=u(i,c.path)}),n.links=je(e,r),n.deployedType=Fe(e),n}function Oe(e){var t;return!((t=e.aggregations)===null||t===void 0)&&t.counts?e.aggregations.counts.map(r=>({mode:"terms",field:r.fieldName,values:r.fieldValues})):[]}async function Ve(e,t,r){let n={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,tags:e.tags,typeKeywords:e.typeKeywords,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},location:h(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{n[c.prop]=u(i,c.path)}),n.links.thumbnail=S(e,r),n.links.self=pe(n.id,r),n.links.siteRelative=O(n.type,n.id,e.typeKeywords),n.links.workspaceRelative=Se(n.type,n.id),n}async function At(e,t,r){let n=await Ve(e,t,r),s=be(e,r);return n.links.thumbnail||(n.links.thumbnail=s),n}async function Nr(e,t){let r;return v(e)?r=y(e,t):r=ee(e,t),r.then(n=>n?It(n,t):null)}async function It(e,t){let r=await I(e,t),s=new p(ot()).storeToEntity(r,{});return at(r,s,t)}async function Rt(e,t,r){let n={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,tags:e.tags,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:h(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{n[c.prop]=u(i,c.path)}),n.links=_e(e,r),n}async function jr(e,t){let r=me(e),n=Ce(t,r);return Qe(n)}function Fr(e,t){let r=Ce(t,e);return He(r)}function Ce(e,t){var r;if(!e.requestOptions)throw new we("portalSearchItems","options.requestOptions is required.");let n=ge(t),s=wt(n);return["num","sortField","sortOrder","include","start","httpMethod","requestOptions"].forEach(o=>{Object.prototype.hasOwnProperty.call(e,o)&&(s[o]=e[o])}),e.requestOptions.authentication?s.authentication=e.requestOptions.authentication:s.portal=e.requestOptions.portal,!((r=e.aggFields)===null||r===void 0)&&r.length&&(s.countFields=e.aggFields.join(","),s.countSize=e.aggLimit||10),s}async function He(e){let t=await x(e),r=Oe(t);return{total:t.total,results:t.results,aggregations:r,hasNext:t.nextStart>-1,next:Me(e,t.nextStart,t.total,He),executedQuerySize:V(e.q)}}async function Qe(e){let t=await x(e),r=a=>ze(a,e.include,e.requestOptions),n=await Promise.all(t.results.map(r)),s=Oe(t);return{total:t.total,results:n,aggregations:s,hasNext:t.nextStart>-1,next:Me(e,t.nextStart,t.total,Qe),executedQuerySize:V(e.q)}}async function ze(e,t=[],r){let n=Ve;switch(e.type){case"Hub Site Application":case"Site Application":n=X;break;case"Hub Page":case"Site Page":n=mt;break;case"Hub Project":n=Rt;break;case"Hub Initiative":n=tt;break;case"Solution":n=Dt;break;case"Web Mapping Application":e.typeKeywords.includes("hubSite")&&(n=X);break;case"Image":n=At;break}return n(e,t,r)}function Lr(e,t){let r=new URL(t.requestOptions.hubApiUrl).hostname;return e.targetEntity==="discussionPost"?`https://${r}/api/search/v2/collections/discussion-post`:`https://${r}/api/search/v1/collections/all`}function Ut(e){return e.filters.map($t).filter(Be).join(" AND ")}function $t(e){let t=e.operation||"OR";return`(${e.predicates.map(vt).filter(Be).join(` ${t} `)})`}function vt(e){return`(${Object.entries(e).filter(([r,n])=>r!=="term"&&r!=="bbox"&&r!=="fields"&&r!=="flatten"&&!N(n)).reduce((r,[n,s])=>{let a;return typeof s=="string"||typeof s=="boolean"?a=j(n,s):Array.isArray(s)?a=kt(n,s):xt(s)?a=_t(n,s):a=Nt(n,s),r.push(a),r},[]).join(" AND ")})`}function xt(e){return Number.isInteger(e.from)&&Number.isInteger(e.to)}function _t(e,t){return`${e} BETWEEN ${t.from} AND ${t.to}`}function j(e,t){let r=typeof t=="string"?L(t):t;return`${e}=${r.toString()}`}function kt(e,t){let r=t.map(L);return`${e} IN (${r.join(", ")})`}function Nt(e,t){let r=jt(e,t.any),n=Ft(e,t.all),s=Lt(e,t.not);return[r,n,s].filter(a=>!!a).join(" AND ")}function jt(e,t){let r;if(Array.isArray(t)){let n=t.map(L);r=`${e} IN (${n.join(", ")})`}else t&&(r=j(e,t));return r}function Ft(e,t){let r;return Array.isArray(t)?r=t.map(n=>j(e,n)).join(" AND "):t&&(r=j(e,t)),r}function Lt(e,t){let r;if(t){let s=(Array.isArray(t)?t:[t]).map(L);r=`${e} NOT IN (${s.join(", ")})`}return r}function L(e){return/\s/.test(e)?`'${e}'`:e}function Be(e){return e!=="()"}function Mt(e){let t=R("term",e.filters);return t?.term}function Ot(e){let t=R("bbox",e.filters);return t?.bbox}function Vt(e){let t=Object.entries(e).filter(([r,n])=>!N(n)).map(([r,n])=>`${r}=${encodeURIComponent(n)}`).join("&");return t&&`?${t}`}async function Ct(e,t,r){let n=f(t),s=e+Vt(n),o=await(r.requestOptions.fetch||fetch)(s,{method:"GET"});if(!o.ok)throw new Te(o.statusText,s,o.status);return o.json()}function Ht(e){let t=R("fields",e.filters);return t?.fields}function Qt(e){let t=R("flatten",e.filters);return t?.flatten}function zt(e){let{sortField:t,sortOrder:r}=e,n;return t&&(n=r==="desc"?`-properties.${t}`:`properties.${t}`),n}function Bt(e,t){let r=Ut(e),n=u(t,"requestOptions.authentication.token"),s=t.num,a=t.start,o=Mt(e),i=zt(t),c=Ot(e),l=Qt(e),We=Ht(e);return{filter:r,token:n,limit:s,startindex:a,q:o,sortBy:i,bbox:c,flatten:l,fields:We}}async function Gt(e,t,r){let n=e.properties,s=await ze(n,t,r);return s.source=e.properties.source,s.license=e.properties.license,s}function Wt(e){return Promise.resolve({id:e.id,name:e.properties.title,summary:e.properties.body,createdDate:new Date(e.properties.createdAt),createdDateSource:"properties.createdAt",updatedDate:new Date(e.properties.updatedAt),updatedDateSource:"properties.updatedAt",type:"post",owner:e.properties.creator,location:null,created:new Date(e.properties.createdAt),modified:new Date(e.properties.updatedAt),title:e.properties.title,rawResult:e,access:null,family:null})}var U={searchOgcItems:Yt,formatOgcItemsResponse:Jt,formatDiscussionPostTargetEntityResponse:Xt,formatItemTargetEntityResponse:Ge,getNextOgcCallback:Zt};async function Yt(e,t,r){let n=Bt(t,r),s=await Ct(e,n,r);return U.formatOgcItemsResponse(s,e,t,r)}async function Jt(e,t,r,n){return r.targetEntity==="discussionPost"?U.formatDiscussionPostTargetEntityResponse(e,t,r,n):Ge(e,t,r,n)}async function Xt(e,t,r,n){let s=await Promise.all(e.features.map(i=>Wt(i))),a=U.getNextOgcCallback(e,t,r,n),o=e.links.find(i=>i.rel==="next");return{total:e.numberMatched,results:s,hasNext:!!o,next:a}}async function Ge(e,t,r,n){let s=await Promise.all(e.features.map(i=>Gt(i,n.include,n.requestOptions))),a=U.getNextOgcCallback(e,t,r,n),o=e.links.find(i=>i.rel==="next");return{total:e.numberMatched,results:s,hasNext:!!o,next:a}}function Zt(e,t,r,n){let s=e.links.find(o=>o.rel==="next"),a=()=>null;return s&&(a=()=>{let i=+new URL(s.href).searchParams.get("startindex"),c=Object.assign(Object.assign({},n),{start:i});return U.searchOgcItems(t,r,c)}),a}export{Re as a,Ye as b,ee as c,_ as d,Ue as e,F as f,k as g,P as h,Xe as i,qe as j,xe as k,Kr as l,Er as m,Tr as n,Dr as o,et as p,tt as q,Ar as r,Ir as s,Rr as t,at as u,ot as v,it as w,Ur as x,ct as y,pt as z,$r as A,vr as B,xr as C,ft as D,yt as E,_r as F,mt as G,gt as H,ht as I,wt as J,Me as K,kr as L,Tt as M,Dt as N,Ve as O,At as P,Nr as Q,It as R,Rt as S,jr as T,Fr as U,Lr as V,Ut as W,Mt as X,Ot as Y,Ct as Z,Yt as _};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ var e;(function(t){t.Overview="about",t.Metrics="metrics",t.Content="content",t.Events="events",t.Members="members",t.Initiatives="initiatives",t.Projects="projects"})(e||(e={}));export{e as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ var t=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],s=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],e=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:settings","hub:site:assistant","hub:site:settings:discussions"],i=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],n=["hub:page:edit","hub:page:create"],o=["hub:content:edit","hub:content:settings","hub:content:settings:discussions","hub:content:settings:discussions:compact"],u=["hub:template:edit"],c=["hub:group:edit","hub:group:settings","hub:group:settings:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],a=["hub:initiativeTemplate:edit"],r=["hub:event:create","hub:event:edit","hub:event:registrants"],d=["hub:user:settings"],b=["hub:channel:create","hub:channel:edit"],h=[...t,...o,...s,...e,...i,...n,...u,...c,...a,...r,...d,...b],p=["hub:card:stat"],g=["hub:card:follow"],l=["hub:card:eventGallery"],v=["hub:card:embed"],y=["hub:discussion:settings:discussions","hub:site:settings:discussions","hub:content:settings:discussions","hub:content:settings:discussions:compact","hub:group:settings:discussions"],E=[...p,...g,...l,...v],T=[...h,...E];export{h as a,p as b,g as c,l as d,v as e,y as f,E as g,T as h};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{e as D}from"./EYIMJ4UV.js";import"./JQAOYDRU.js";import{a as H}from"./WYHFOJOS.js";import{a as B}from"./HUFTU6G6.js";import{f as G}from"./TSH55IH3.js";import"./Q4GDGGVW.js";import"./CRHGXUN5.js";import"./MM4EP4BG.js";import"./MT23QKRG.js";import"./WERIUJHC.js";import"./GLBLUSWM.js";import{e as w}from"./UMIHYBZ5.js";import"./X2KRPNQV.js";import"./SB4PJXM5.js";import"./2JEFH54X.js";import"./BLWTIELH.js";import"./B3BWMSAA.js";import"./WBZGN6CY.js";import"./YV2EOBJC.js";import"./REGIGC64.js";import"./DT3DHYFN.js";import"./EJKU7K2N.js";import"./RJ7EJAKR.js";import"./DAPJU2PV.js";import"./OU5C7545.js";import"./KFKKJQGY.js";import"./OXDEHOQ2.js";import"./B2F2O2BL.js";import{da as P}from"./YWZQ4UXV.js";import"./6L66PQSV.js";import"./TSYSLYAH.js";import"./BP5X4ENP.js";import"./X63CG6CS.js";import"./EXS52KZX.js";import"./M5332ILE.js";import"./QEJBTSZ7.js";import"./SQJTVJ5I.js";import"./PZY2SW6S.js";import"./IIHQWNGB.js";import"./Q7ZI3UJD.js";import{H as L}from"./WUDZTSIK.js";import"./GIBLLMHM.js";import"./KQR6YE46.js";import"./ATQANVSI.js";import"./YMQU4Q5Z.js";import"./OZHEDXSF.js";import"./YB4LULNR.js";import"./7VVC3AXJ.js";import"./NXENISZ2.js";import"./43GQCZ4U.js";import"./QPDFS2LX.js";import"./CCQVZVJT.js";import"./3J25B6NM.js";import"./TE7KWYR5.js";import"./NHCBPQK2.js";import"./NW2OZLUJ.js";import"./UUUIKZQ2.js";import"./GGCQAP3H.js";import"./HCU7FAQH.js";import"./DAUW6EF7.js";import"./M5KYLVPG.js";import"./XYQ7O7Y5.js";import"./M4SVTLCV.js";import"./OU22WGP7.js";import"./D2CU62K4.js";import"./TFDIPCOT.js";import"./7TUTFLUJ.js";import"./7KYGYTLR.js";import"./P4RU2KUH.js";import"./VSDJ7YMA.js";import"./Q5P2VL4W.js";import{a as A}from"./4AIXIU3O.js";import"./VXDVVMMR.js";import"./TZGWZMZ7.js";import"./WGD5N4TW.js";import"./YZU7QBQB.js";import"./OARTVXLO.js";import"./37OEJUPV.js";import"./46ONVMVL.js";import{c as M,j}from"./MSKRXQDC.js";import"./3RC77BYX.js";import"./5NJBWAQP.js";import"./KFDLN5LD.js";import"./7KX225UF.js";import"./44LBX4HS.js";import"./FN7NXJJW.js";import"./WXOK6XPO.js";import"./A7BPMOZ6.js";import"./RW5XTUCB.js";import"./KAJMD2NS.js";import"./DO4T44UU.js";import{a as _}from"./KDBAJOMC.js";import{a as b}from"./DLEUWOTS.js";import"./LFY4AA5H.js";import"./PCCNMQNS.js";import{a as m}from"./5XUZLG3L.js";import"./QDE7HIEY.js";import{b as o,c as k,d as S,e as g,h as x,i as F}from"./HHKE6IQW.js";import{a as C}from"./5OBLY6LT.js";import{a as f,d as T,g as E,s as O,t as v}from"./DKNVNN6S.js";import"./2Y2GXYPQ.js";import"./446UBN74.js";import"./B2SJHZ7L.js";async function K(t,e,i,l){var r,a;let s=t.targetEntity,n=[...((r=e?.scopes[s])===null||r===void 0?void 0:r.filters)||[],...((a=t?.scope)===null||a===void 0?void 0:a.filters)||[]],h={targetEntity:s,filters:n},c={api:i,requestOptions:l.hubRequestOptions,num:1};try{return(await P(h,c)).total}catch(d){C.error("Error fetching collection count",d)}}var q=":host{display:block}calcite-radio-group{margin-bottom:1rem}",I=q,J=class{connectedCallback(){j(this)}disconnectedCallback(){this.disconnectContext()}async initialize(){var t,e,i;let l=f(this.catalogs);typeof this.catalogs[0]!="string"&&(l=l.reduce((s,n)=>{var h,c,d;n.collections=(h=n.collections)===null||h===void 0?void 0:h.filter(u=>{var p;let U=this.targetEntity?u.targetEntity===this.targetEntity:!0,R=!(!((p=u.displayConfig)===null||p===void 0)&&p.hidden);return U&&R}),(c=n.collections)===null||c===void 0||c.forEach(u=>{!u.label&&L.includes(u.key)&&(u.label=this.intl.t(`defaultSiteCollections.${u.key}`))});let y=this.targetEntity||((d=n.collections[0])===null||d===void 0?void 0:d.targetEntity);if(this.showAllCollectionFacet&&Object.keys(n.scopes).includes(y)){let p={key:"all",label:this.intl.t(`all${O(y)}s`),targetEntity:y,scope:D(y)};n.collections.unshift(p)}return[...s,n]},[]));let r=l.reduce((s,n)=>(typeof n=="string"?s.push(w.init(n,this._context)):s.push(w.fromJson(n,this._context)),s),[]);this._catalogs=await Promise.all(r),this._catalogs.forEach(s=>{(this.targetEntity?[this.targetEntity]:s.availableScopes).forEach(h=>{var c;if(!(!((c=s.collections)===null||c===void 0)&&c.some(d=>d.targetEntity===h))){let d={label:this.intl.t(`targetEntity.${h}`),key:E("collection"),targetEntity:h,scope:{targetEntity:h,filters:[{predicates:[]}]}};s.addCollection(d)}})}),this.activeCatalog=this.activeCatalog?this._catalogs.find(s=>s.title===this.activeCatalog.title):this._catalogs[0];let a;this.activeCatalog&&(this.arcgisHubCatalogActiveCatalogChange.emit(this.activeCatalog.title),a=this.activeCatalog.getCollection((e=(t=this.activeCatalog)===null||t===void 0?void 0:t.collections[0])===null||e===void 0?void 0:e.key)),this.activeCollectionKey&&(a=this.setActiveCollectionByKey(this.activeCollectionKey)||a),this.activeCollection=a,!((i=this.activeCollection)===null||i===void 0)&&i.key&&this.arcgisHubCatalogActiveCollectionChange.emit(this.activeCollection.key)}async refresh(){this._galleryEl.refresh()}constructor(t){F(this,t),this.arcgisHubCatalogActiveCatalogChange=g(this,"arcgisHubCatalogActiveCatalogChange",7),this.arcgisHubCatalogActiveCollectionChange=g(this,"arcgisHubCatalogActiveCollectionChange",7),this.arcgisHubCatalogCollectionCountsChange=g(this,"arcgisHubCatalogCollectionCountsChange",7),this.hubTelemetry=g(this,"hubTelemetry",7),this.accordionOpen=!0,this._catalogs=[],this._activeCollectionProgrammaticallySet=!1,this.term=void 0,this.showAddContent=!1,this.catalogs=void 0,this.targetEntity=void 0,this.activeCollectionKey=void 0,this.cardActionLinks=[],this.path="",this.callback=void 0,this.isMobile=!1,this.showAddContentTemplatesDropdown=void 0,this.matchRecent=!1,this.matchSearch=!1,this.galleryMapSettings=void 0,this.limit=void 0,this.state=void 0,this.api=void 0,this.baseUrl=void 0,this._context=M(),this.layout="list",this.layoutOptions=["grid","list","table"],this.facets=void 0,this.gallerySelection=void 0,this.selectionMode=void 0,this.showThumbnail=void 0,this.showBadges=!1,this.showSearch=!1,this.showLayoutSwitcher=!1,this.newTab=!1,this.linkTarget=void 0,this.showFacetForSingleCatalog=void 0,this.sortOptions=void 0,this.sortField=null,this.sortOrder=null,this.sourceLabel=void 0,this.addContentProps={},this.showAllCollectionFacet=!1,this.entity=void 0,this.activeCollection=void 0,this._activeCollectionJson=void 0,this.activeCatalog=void 0,this.collectionCounts=[],this._displayConfig=void 0,this._showThumbnail=void 0,_(this,"handleCatalogFacetChange","handleCollectionFacetChange")}async componentWillLoad(){this.intl=await b.loadIntlForComponent(this.element),this.catalogs?await this.initialize():C.error("<arcgis-hub-catalog> component requires one or more catalogs be provided"),this.updateDisplayConfig()}componentDidRender(){this._activeCollectionProgrammaticallySet&&(this._activeCollectionProgrammaticallySet=!1,this.arcgisHubCatalogActiveCollectionChange.emit(this.activeCollection.key))}get _targetEntityDisplayConfig(){var t;return(((t=this.activeCatalog)===null||t===void 0?void 0:t.displayConfig)||{})[this.targetEntity]||{}}get showCollectionFacet(){var t;return((t=this.activeCatalog)===null||t===void 0?void 0:t.collections.length)>1}get showCatalogFacet(){return this.showFacetForSingleCatalog||this._catalogs.length>1}get _hasSlottedGalleryActions(){return!!this.element.querySelector('[slot="gallery-actions"]')}get _hasSlottedNoResultAction(){return!!this.element.querySelector('[slot="no-results-action"]')}get _hasSlottedSearchErrorAction(){return!!this.element.querySelector('[slot="search-error-action"]')}get location(){let t=this.entity;return t&&t.location}handleLayoutButtonSelect(t){this._displayConfig.layout=t.detail;let e=this._displayConfig.showThumbnail,i={grid:t.detail==="grid",show:!0,hide:!1};this._showThumbnail=i.hasOwnProperty(e)?i[e]:this.showThumbnail}updateDisplayConfig(){var t,e,i,l;this._displayConfig=Object.assign({},this._targetEntityDisplayConfig),this._displayConfig.layout=(l=(e=(t=this.state)===null||t===void 0?void 0:t.layout)!==null&&e!==void 0?e:(i=this._displayConfig)===null||i===void 0?void 0:i.layout)!==null&&l!==void 0?l:this.layout;let r={grid:this._displayConfig.layout==="grid",show:!0,hide:!1};this._showThumbnail=r.hasOwnProperty(this._displayConfig.showThumbnail)?r[this._displayConfig.showThumbnail]:this.showThumbnail}handleActiveCollectionKeyChange(t){(!this.activeCollection||this.activeCollection.key!==t)&&this.setActiveCollectionByKey(t)}setActiveCollectionByKey(t){if(t&&this.activeCatalog)try{let e=this.activeCatalog.getCollection(t);return e&&(this.activeCollection=e),e&&(this._activeCollectionProgrammaticallySet=!0),e}catch{C.info("Collection with key",t,"does not yet exist in the active catalog")}}setSortAndFacets(){var t,e,i,l,r;let a=(t=this.activeCollection)===null||t===void 0?void 0:t.toJson(),s=((e=a?.displayConfig)===null||e===void 0?void 0:e.sort)||this.sortField,n=this.facets,h=f((i=a?.displayConfig)===null||i===void 0?void 0:i.filters);!((l=a?.displayConfig)===null||l===void 0)&&l.customFiltersEnabled&&h&&h.length>0&&(n=h.reduce((c,d)=>d.hidden?c:[...c,d.key],[])),this.location&&((r=this.location)===null||r===void 0?void 0:r.type)!=="none"&&(n=n.map(c=>{if(c==="location"){let d={facetExtent:B(A(this.location.extent))};return G(this._context,this.intl,d)}return c})),this._sortField=s==="relevance"?null:s,this._facets=n,this._activeCollectionJson=a}async fetchCollectionCounts(){var t,e,i;try{this._activeCollectionJson=(t=this.activeCollection)===null||t===void 0?void 0:t.toJson(),this.collectionCounts=await Promise.all((i=(e=this.activeCatalog)===null||e===void 0?void 0:e.collections)===null||i===void 0?void 0:i.map(r=>K(r,this.activeCatalog,this.api,this._context)));let l=this.activeCatalog.collections.reduce((r,a,s)=>(r[a.key]=this.collectionCounts[s],r),{});this.arcgisHubCatalogCollectionCountsChange.emit(l)}catch(l){C.error("Error fetching collection counts:",l)}}handleCatalogFacetChange(t){let e=T(this._catalogs,"title",t.target.selectedItem.value);e&&(this.activeCatalog=e,this.arcgisHubCatalogActiveCatalogChange.emit(this.activeCatalog.title),this.activeCollection=this.activeCatalog.collections.find(i=>i.key===this.activeCollection.key)?this.activeCatalog.getCollection(this.activeCollection.key):this.activeCatalog.getCollection(this.activeCatalog.collections[0].key),this.arcgisHubCatalogActiveCollectionChange.emit(this.activeCollection.key),this.hubTelemetry.emit(Object.assign(Object.assign({},m.dictionary.category.interaction.action.search.label.filter),{details:"Catalog",search:e.title})))}handleCollectionFacetChange(t){this.activeCollection=this.activeCatalog.getCollection(t.target.selectedItem.value),this.arcgisHubCatalogActiveCollectionChange.emit(this.activeCollection.key),this.hubTelemetry.emit(Object.assign(Object.assign({},m.dictionary.category.interaction.action.search.label.filter),{details:"Collection",search:this.activeCollection.label}))}renderCatalogFacet(){return o("calcite-accordion",{appearance:"transparent",scale:"l"},o("calcite-accordion-item",{expanded:this.accordionOpen,heading:this.sourceLabel||this.intl.t("source")},o("calcite-radio-button-group",{layout:"vertical",name:"catalog-group",onCalciteRadioButtonGroupChange:this.handleCatalogFacetChange},this._catalogs.map(t=>o("calcite-label",{key:t.title,layout:"inline"},o("calcite-radio-button",{checked:this.activeCatalog.title===t.title,id:t.title,name:t.title,value:t.title}),o("span",{class:"catalog"},t.title))))))}renderCollectionFacetLabel(t,e){return this.intl.direction==="ltr"?`${t} (${e})`:`(${e}) ${t}`}renderCollectionFacet(){let{collections:t}=this.activeCatalog;return o("calcite-accordion",{appearance:"transparent",scale:"l"},o("calcite-accordion-item",{expanded:this.accordionOpen,heading:this.intl.t("collectionFacetLabel")},o("calcite-radio-button-group",{layout:"vertical",name:"collection-group",onCalciteRadioButtonGroupChange:this.handleCollectionFacetChange},t.map((e,i)=>o("calcite-label",{key:e.key,layout:"inline"},o("calcite-radio-button",{checked:this.activeCollection.key===e.key,id:e.key,name:e.label,value:e.key}),o("span",{class:"catalog"},this.renderCollectionFacetLabel(e.label,this.collectionCounts[i])))))))}renderAdditionalFacets(){return o(x,null,this.showCatalogFacet&&this.renderCatalogFacet(),this.showCollectionFacet&&this.renderCollectionFacet())}render(){let t=this._activeCollectionJson,e=t?.include&&t.include.join("|");return o(k,{key:"00d54e8b687910b509fcb9fb0b990699bb6f05d0","data-element":"catalog"},o("arcgis-hub-gallery",{key:"6e9ad2ae3ae685d83882d5d3998688c906355b43",addContentProps:this.addContentProps,additionalFacet:this.renderAdditionalFacets(),api:this.api,baseUrl:this.baseUrl,callback:this.callback,cardActionLinks:this.cardActionLinks,cardTitleTag:this._displayConfig.cardTitleTag,corners:this._displayConfig.corners,facets:this._facets,galleryMapSettings:this.galleryMapSettings,gallerySelection:this.gallerySelection,include:e,layout:this.selectionMode==="single"?"compact":this._displayConfig.layout,layoutOptions:this.layoutOptions,limit:this.limit,linkButtonStyle:this._displayConfig.linkButtonStyle,linkButtonText:this._displayConfig.linkButtonText,linkTarget:this.linkTarget,matchRecent:this.matchRecent,matchSearch:this.matchSearch,mobileView:this.isMobile,newTab:this.newTab,path:this.path,query:t?.scope,ref:i=>{this._galleryEl=i},selectionMode:this.selectionMode,shadow:this._displayConfig.shadow,"show-add-content-templates-dropdown":this.showAddContentTemplatesDropdown,showAddContent:this.showAddContent,showBackToTopBtn:!0,showBadges:this.showBadges,showChips:!0,showFacets:this.facets&&this.facets.length>0,showLayoutSwitcher:this.showLayoutSwitcher,showLinkButton:this._displayConfig.showLinkButton,showMoreResultsBtn:!0,showResultsCount:!0,showSearch:this.showSearch,showSort:!0,showThumbnail:this._showThumbnail,sortField:this._sortField,sortOptions:this.sortOptions,sortOrder:this.sortOrder,state:this.state,term:this.term||""},this._hasSlottedGalleryActions&&o("slot",{name:"gallery-actions",slot:"gallery-actions"}),this._hasSlottedNoResultAction&&o("slot",{name:"no-results-action",slot:"no-results-action"}),this._hasSlottedSearchErrorAction&&o("slot",{name:"search-error-action",slot:"search-error-action"})))}static get assetsDirs(){return["locales"]}get element(){return S(this)}static get watchers(){return{catalogs:["initialize"],targetEntity:["initialize"],activeCatalog:["updateDisplayConfig","fetchCollectionCounts"],activeCollectionKey:["handleActiveCollectionKeyChange"],activeCollection:["setSortAndFacets"]}}};J.style=I;var $=':host{display:block;--calcite-color-border-1:#CACACA;--calcite-color-border-2:#D4D4D4;--calcite-color-border-3:#D3D3D3}[slot="footer-start"]{display:flex;align-items:baseline;border-radius:0.25rem;padding:0.5rem;background-color:var(--calcite-ui-foreground-current);--calcite-label-margin-bottom:0;--calcite-color-text-1:var(--calcite-color-text-1)}.warning{color:white;background-color:var(--calcite-color-status-danger-hover)}:host(:not([is-mobile])) calcite-dialog{--calcite-dialog-size-y:80vh}.gallery-picker-dialog-content{--calcite-card-border-color:var(--calcite-color-border-3)}',z=$,N=class{constructor(t){F(this,t),this.arcgisHubGalleryPickerSelectionUpdate=g(this,"arcgisHubGalleryPickerSelectionUpdate",7),this.arcgisHubGalleryPickerClose=g(this,"arcgisHubGalleryPickerClose",7),this.hubTelemetry=g(this,"hubTelemetry",7),this._gallerySelection=H,this.modalTitle=void 0,this.open=!1,this.limit=void 0,this.catalogs=void 0,this.facets=void 0,this.gallerySelection=void 0,this.currentSelection={},this.showBadges=void 0,this.showSearch=void 0,this.showThumbnail=void 0,this.showFacetForSingleCatalog=void 0,this.sortOptions=void 0,this.sortField=null,this.sourceLabel=void 0,this.primaryButtonLabel=void 0,this.callback=void 0,this.selectionMode="multiple",this.linkTarget=void 0,this.modalOptions={},this.enablePrimaryButton=!1,this.isMobile=!1,this.showAllCollectionFacet=void 0,this.triggerElement=void 0,_(this,"handleGalleryPickerOpen","handleGalleryPickerClose","handleGalleryPickerAdd")}async componentWillLoad(){this.intl=await b.loadIntlForComponent(this.element),this.gallerySelection&&(this._gallerySelection=this.gallerySelection),this.currentSelection=Object.assign({},this._gallerySelection)}get effectiveLimit(){return this.limit||100}get previousCount(){return v(Object.values(this._gallerySelection)).length}get totalCount(){return v(Object.values(this.currentSelection)).length}get currentCount(){return this.totalCount-this.previousCount}get currentLimit(){return this.effectiveLimit-this.previousCount}get targetEntity(){var t,e,i,l;return((l=(i=(e=(t=this.catalogs)===null||t===void 0?void 0:t[0])===null||e===void 0?void 0:e.collections)===null||i===void 0?void 0:i[0])===null||l===void 0?void 0:l.targetEntity)||"item"}get isPrimaryButtonEnabled(){return this.enablePrimaryButton||this.currentCount>0&&this.currentCount<=this.currentLimit}setFocusOnTriggerElement(){let t=this.triggerElement;t&&("setFocus"in t&&typeof t.setFocus=="function"?t.setFocus():t.focus())}handleGalleryPickerClose(t){t.preventDefault(),this.open=!1,this.arcgisHubGalleryPickerClose.emit();let e={item:"addContent",group:"addGroups",user:"addUsers",communityUser:"addUsers",channel:"addChannels"}[this.targetEntity]||"addContent";this.hubTelemetry.emit(m.dictionary.category.interaction.action.close.label.modal.details[e]),this.setFocusOnTriggerElement()}handleGalleryPickerOpen(t){t.preventDefault(),this.open=!0;let e={item:"addContent",group:"addGroups",user:"addUsers",communityUser:"addUsers",channel:"addChannels"}[this.targetEntity]||"addContent";this.hubTelemetry.emit(m.dictionary.category.interaction.action.open.label.modal.details[e])}handleHubGallerySelect(t){t.preventDefault(),this.currentSelection=Object.assign(Object.assign({},this.currentSelection),t.detail)}handleGalleryPickerAdd(t){t.preventDefault(),this.open=!1,this._gallerySelection=Object.assign(this.gallerySelection||{},this.currentSelection),this.arcgisHubGalleryPickerSelectionUpdate.emit(this._gallerySelection),this.arcgisHubGalleryPickerClose.emit();let e={item:"content",group:"groups",user:"users",communityUser:"users",channel:"channel"}[this.targetEntity]||"content";this.hubTelemetry.emit(Object.assign(Object.assign({},m.dictionary.category.interaction.action.add.label[e]),{count:this.totalCount})),this.setFocusOnTriggerElement()}renderCountChip(){return o("div",{class:this.currentCount>this.currentLimit?"warning":"",slot:"footer-start"},o("calcite-label",null,this.intl.t("selected",{count:this.currentCount,limit:this.currentLimit})))}render(){return this.open?o(k,{"data-element":"gallery-picker"},o("calcite-dialog",{"data-element":"dialog",heading:this.modalTitle,modal:!0,onCalciteDialogClose:this.handleGalleryPickerClose,onCalciteDialogOpen:this.handleGalleryPickerOpen,open:this.open,"width-scale":this.modalOptions.widthScale},o("div",{class:"gallery-picker-dialog-content"},o("arcgis-hub-catalog",{callback:this.callback,catalogs:this.catalogs,facets:this.facets,gallerySelection:this._gallerySelection,isMobile:this.isMobile,layout:this.isMobile?"compact":void 0,linkTarget:this.linkTarget,newTab:!0,selectionMode:this.selectionMode,showAllCollectionFacet:this.showAllCollectionFacet,showBadges:this.showBadges,showFacetForSingleCatalog:this.showFacetForSingleCatalog,showSearch:this.showSearch,showThumbnail:this.showThumbnail,sortField:this.sortField,sortOptions:this.sortOptions,sourceLabel:this.sourceLabel,targetEntity:this.targetEntity})),this.limit!==void 0&&this.renderCountChip(),o("calcite-button",{appearance:"transparent",kind:"neutral",onClick:this.handleGalleryPickerClose,round:!0,slot:"footer-end"},this.intl.t("cancel")),o("calcite-button",{disabled:!this.isPrimaryButtonEnabled,onClick:this.handleGalleryPickerAdd,round:!0,slot:"footer-end"},this.primaryButtonLabel||this.intl.t("add")))):void 0}static get assetsDirs(){return["locales"]}get element(){return S(this)}};N.style=z;export{J as arcgis_hub_catalog,N as arcgis_hub_gallery_picker};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import"./B2SJHZ7L.js";var e="Si \xE8 verificato un errore durante il caricamento del grafico.",a="Impossibile applicare la trasformazione di log su valori negativi o zero.",i="Impossibile applicare la trasformazione di radice quadrata su valori negativi.",r="Si \xE8 verificato un errore durante il caricamento del layer. URL = ${ url }. ID elemento del portale = ${ portalItemId }.",t="I campi [${ fieldNames }] definiti nel config non sono stati trovati nel layer.",o="${ dataPath } deve essere univoco. La serie denominata ${ seriesName } ha un ID (${ seriesID }) che \xE8 gi\xE0 utilizzato da un'altra serie.",n="${ dataPath } non pu\xF2 effettuare l'aggregazione senza conteggio su un campo non numerico.",s="A ${ dataPath } manca una propriet\xE0 denominata ${ missingProperty }.",l="${ dataPath } non deve essere pi\xF9 corto di ${ limit } caratteri.",d="${ dataPath } non deve contenere meno di ${ limit } elementi.",u="${ dataPath } non deve contenere pi\xF9 di ${ limit } elementi.",p="${ dataPath } deve contenere almeno un carattere.",m="${ dataPath } non deve contenere ${ additionalProperty }.",c="${ dataPath } deve essere uguale a uno di questi valori consentiti: ${ allowedValues }.",g="${ dataPath } deve corrispondere allo schema di uno di questi\u200E: ${ schemaOptions }.",v="I grafici a dispersione con simboli proporzionali non sono supportati. Sono state applicate delle dimensioni simbolo predefinite.",$="Impossibile leggere i dati di input.",y="L'operazione queryBins non \xE8 supportata da questo servizio.",I="Il tipo di serie atteso all'indice ${ seriesIndex } \xE8 '${ expectedType }' ma invece \xE8 stato ricevuto '${ receivedType }'",f="oppure",h={defaultError:e,negativeValueInDataForLogTransformation:a,negativeValueInDataForSqrtTransformation:i,layerLoadFailure:r,layerFieldsNotFound:t,duplicateSeriesID:o,nonNumericAggregation:n,requiredProperty:s,minLength:l,minItems:d,maxItems:u,whiteSpacePattern:p,additionalProperty:m,enumValues:c,anyOfValues:g,bubbleChartValidateMsg:v,queryError:$,queryBinsNotSupported:y,invalidSeriesType:I,or:f};export{m as additionalProperty,g as anyOfValues,v as bubbleChartValidateMsg,h as default,e as defaultError,o as duplicateSeriesID,c as enumValues,I as invalidSeriesType,t as layerFieldsNotFound,r as layerLoadFailure,u as maxItems,d as minItems,l as minLength,a as negativeValueInDataForLogTransformation,i as negativeValueInDataForSqrtTransformation,n as nonNumericAggregation,f as or,y as queryBinsNotSupported,$ as queryError,s as requiredProperty,p as whiteSpacePattern};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import"./B2SJHZ7L.js";var e={percent:"\u0E40\u0E1B\u0E2D\u0E23\u0E4C\u0E40\u0E0B\u0E47\u0E19\u0E15\u0E4C",values:"\u0E04\u0E48\u0E32",standardizedValues:"\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E1B\u0E23\u0E31\u0E1A\u0E21\u0E32\u0E15\u0E23\u0E10\u0E32\u0E19\u0E41\u0E25\u0E49\u0E27",count:"\u0E19\u0E31\u0E1A",aggregationOfValues:"${ aggregation } \u0E02\u0E2D\u0E07\u0E04\u0E48\u0E32",aggregationOfFieldName:"${ aggregation } \u0E08\u0E32\u0E01 ${ fieldName }"},g={aggrFieldsByCategory:"${ aggregationFields } \u0E42\u0E14\u0E22 ${ category }",aggrTypeCategory:"${ aggregationType } \u0E42\u0E14\u0E22 ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } \u0E42\u0E14\u0E22 ${ category } \u0E42\u0E14\u0E22 ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } \u0E08\u0E32\u0E01 ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } \u0E02\u0E2D\u0E07 ${ aggregationField } \u0E42\u0E14\u0E22 ${ category } \u0E42\u0E14\u0E22 ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } \u0E02\u0E2D\u0E07 ${ aggregationFields } \u0E42\u0E14\u0E22 ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } \u0E42\u0E14\u0E22 ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } \u0E42\u0E14\u0E22 ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } \u0E42\u0E14\u0E22 ${ xAxisField } \u0E42\u0E14\u0E22 ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } \u0E02\u0E2D\u0E07 ${ aggregationField } \u0E42\u0E14\u0E22 ${ xAxisField } \u0E42\u0E14\u0E22 ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } \u0E02\u0E2D\u0E07 ${ aggregationFields } \u0E42\u0E14\u0E22 ${ xAxisField }",distributionOfField:"\u0E01\u0E32\u0E23\u0E01\u0E23\u0E30\u0E08\u0E32\u0E22\u0E02\u0E2D\u0E07 ${ valueField }",distributionOfFields:"\u0E01\u0E32\u0E23\u0E01\u0E23\u0E30\u0E08\u0E32\u0E22\u0E02\u0E2D\u0E07 ${ valueFields }",distributionOfFieldsByCategory:"\u0E01\u0E32\u0E23\u0E01\u0E23\u0E30\u0E08\u0E32\u0E22\u0E02\u0E2D\u0E07 ${ valueFields } \u0E15\u0E32\u0E21 ${ category }",distributionOfFieldsByCategoryAndSplitBy:"\u0E01\u0E32\u0E23\u0E01\u0E23\u0E30\u0E08\u0E32\u0E22\u0E02\u0E2D\u0E07 ${ valueFields } \u0E15\u0E32\u0E21 ${ category } \u0E41\u0E25\u0E30 ${ splitByField }",xAndY:"${ x } \u0E41\u0E25\u0E30 ${ y }"},i={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"},a={axisLabels:e,titleLabels:g,chartType:i};export{e as axisLabels,i as chartType,a as default,g as titleLabels};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{a as y}from"./ECR4O2RE.js";import{a as k}from"./WXOK6XPO.js";import{o as m}from"./A7BPMOZ6.js";async function b(s,r){let t=k(s);return y(t).reduce((e,n)=>{let{i18nLabel:a,icon:d,pane:f,children:i}=n,h=g(n,s,r),p=[];h&&i?.length&&(p=i.reduce((u,o)=>(g(o,s,r)&&u.push({i18nKey:o.i18nLabel,icon:o.icon,pane:o.pane}),u),[]));let l=!n.component,W=!!p.length;return h&&(W||!l)&&e.push({i18nKey:a,icon:d,pane:f,children:p,displayOnly:l}),e},[])}function g(s,r,t){let c,{permissions:e}=s,n=e?.length;if(!n)throw new Error("getWorkspaceLinks: permissions must be defined on workspace links");return n&&(c=e.every(a=>m(a,t,r).access)),c}export{b as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import"./B2SJHZ7L.js";var e="Se ha producido un error al cargar el gr\xE1fico.",a="No se puede aplicar una transformaci\xF3n del registro a valores negativos o de cero.",r="No se puede aplicar una transformaci\xF3n de ra\xEDz cuadrada a valores negativos.",o="Se ha producido un error al cargar la capa. URL = ${ url }. Id. de elemento de portal = ${ portalItemId }.",n="Los campos [${ fieldNames }] definidos en la configuraci\xF3n no se han encontrado en la capa.",t="El elemento ${ dataPath } debe ser \xFAnico. La serie denominada ${ seriesName } tiene un Id. (${ seriesID }) que ya se utiliza en otra serie.",i="${ dataPath } no puede realizar una agregaci\xF3n no num\xE9rica en un campo no num\xE9rico.",s="A ${ dataPath } le falta la propiedad denominada ${ missingProperty }.",d="${ dataPath } no debe tener menos de ${ limit } caracteres.",l="${ dataPath } no debe tener menos de ${ limit } elementos.",u="${ dataPath } no debe tener m\xE1s de ${ limit } elementos.",m="${ dataPath } debe tener al menos un car\xE1cter que no sea un espacio en blanco.",c="${ dataPath } no debe tener ${ additionalProperty }",p="${ dataPath } debe ser igual a uno de los siguientes valores permitidos: ${ allowedValues }.",g="${ dataPath } debe coincidir con el esquema de uno de estos: ${ schemaOptions }.",$="No se admiten diagramas de dispersi\xF3n con s\xEDmbolos proporcionales. Se ha aplicado el tama\xF1o de s\xEDmbolo predeterminado.",y="Error al leer los datos de entrada.",h="En este servicio no se admite la operaci\xF3n queryBins.",b='El tipo de serie esperado en el \xEDndice ${ seriesIndex } es "${ expectedType }", pero en su lugar se ha recibido "${ receivedType }"',P="o",f={defaultError:e,negativeValueInDataForLogTransformation:a,negativeValueInDataForSqrtTransformation:r,layerLoadFailure:o,layerFieldsNotFound:n,duplicateSeriesID:t,nonNumericAggregation:i,requiredProperty:s,minLength:d,minItems:l,maxItems:u,whiteSpacePattern:m,additionalProperty:c,enumValues:p,anyOfValues:g,bubbleChartValidateMsg:$,queryError:y,queryBinsNotSupported:h,invalidSeriesType:b,or:"o"};export{c as additionalProperty,g as anyOfValues,$ as bubbleChartValidateMsg,f as default,e as defaultError,t as duplicateSeriesID,p as enumValues,b as invalidSeriesType,n as layerFieldsNotFound,o as layerLoadFailure,u as maxItems,l as minItems,d as minLength,a as negativeValueInDataForLogTransformation,r as negativeValueInDataForSqrtTransformation,i as nonNumericAggregation,P as or,h as queryBinsNotSupported,y as queryError,s as requiredProperty,m as whiteSpacePattern};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{n as a}from"./X2KRPNQV.js";import"./SB4PJXM5.js";import"./2JEFH54X.js";import"./BLWTIELH.js";import"./B3BWMSAA.js";import"./WBZGN6CY.js";import"./YV2EOBJC.js";import"./REGIGC64.js";import"./DT3DHYFN.js";import"./EJKU7K2N.js";import"./RJ7EJAKR.js";import"./DAPJU2PV.js";import"./OU5C7545.js";import"./KFKKJQGY.js";import"./OXDEHOQ2.js";import"./B2F2O2BL.js";import"./YWZQ4UXV.js";import"./6L66PQSV.js";import"./TSYSLYAH.js";import"./BP5X4ENP.js";import"./X63CG6CS.js";import"./EXS52KZX.js";import"./M5332ILE.js";import"./QEJBTSZ7.js";import"./SQJTVJ5I.js";import"./PZY2SW6S.js";import"./IIHQWNGB.js";import"./Q7ZI3UJD.js";import"./WUDZTSIK.js";import"./GIBLLMHM.js";import"./KQR6YE46.js";import"./ATQANVSI.js";import"./YMQU4Q5Z.js";import"./OZHEDXSF.js";import"./YB4LULNR.js";import"./7VVC3AXJ.js";import"./NXENISZ2.js";import"./43GQCZ4U.js";import"./QPDFS2LX.js";import"./CCQVZVJT.js";import"./3J25B6NM.js";import"./TE7KWYR5.js";import"./NHCBPQK2.js";import"./DAUW6EF7.js";import"./M5KYLVPG.js";import"./XYQ7O7Y5.js";import"./M4SVTLCV.js";import"./OU22WGP7.js";import"./D2CU62K4.js";import"./TFDIPCOT.js";import"./7TUTFLUJ.js";import"./7KYGYTLR.js";import"./P4RU2KUH.js";import"./VSDJ7YMA.js";import"./Q5P2VL4W.js";import"./4AIXIU3O.js";import"./VXDVVMMR.js";import"./TZGWZMZ7.js";import"./WGD5N4TW.js";import"./YZU7QBQB.js";import"./OARTVXLO.js";import"./37OEJUPV.js";import"./46ONVMVL.js";import{c as l}from"./MSKRXQDC.js";import"./3RC77BYX.js";import"./5NJBWAQP.js";import"./KFDLN5LD.js";import"./7KX225UF.js";import"./44LBX4HS.js";import"./FN7NXJJW.js";import"./WXOK6XPO.js";import"./A7BPMOZ6.js";import{a as o}from"./RW5XTUCB.js";import"./KAJMD2NS.js";import"./DO4T44UU.js";import"./5XUZLG3L.js";import"./QDE7HIEY.js";import{b as e,c as s,h as p,i as n}from"./HHKE6IQW.js";import"./5OBLY6LT.js";import"./DKNVNN6S.js";import"./2Y2GXYPQ.js";import"./446UBN74.js";import"./B2SJHZ7L.js";var c=".sc-arcgis-hub-site-search-wrapper-h{display:block}",m=c,d=class{constructor(i){n(this,i),this.entity=void 0,this.identifier="",this.type=void 0,this.view="browseAll",this.mode="separate",this.term="",this.loading=!0}get _context(){return l()}async onIdentifierChange(){await this.loadEntity()}async loadEntity(){this.loading=!0,this.type&&this.identifier&&this._context&&(this.entity=await a(this.type,this.identifier,this._context),this.loading=!1)}componentWillLoad(){this.entity?this.loading=!1:!this.entity&&this._context&&this.identifier&&this.type&&this.loadEntity()}get catalogs(){return o(this.entity,"catalogs",[])}get showBrowseAll(){return this.catalogs.length>1}onSearchChange(i){this.term=i.detail}renderLoading(){return e("div",null,"Loading...")}renderContent(){let i=this.mode==="separate";return e(p,null,this.mode==="unified"&&e("arcgis-hub-search-input",{placeholder:"Search..."}),e("calcite-tabs",null,e("calcite-tab-nav",{slot:"title-group"},e("calcite-tab-title",{name:"browseAll",selected:this.view==="browseAll"},"Browse All"),this.catalogs.map((t,r)=>e("calcite-tab-title",{key:r,name:t.title,selected:this.view===t.title},t.emojii," ",t.title))),e("calcite-tab",{name:"browseAll"},e("arcgis-hub-browse-all",{entity:this.entity,mode:"combined",showSearch:i,term:this.term})),this.catalogs.map((t,r)=>e("calcite-tab",{key:r,name:t.title},e("arcgis-hub-catalog",{catalogs:[t],facets:h,layout:"grid",showSearch:i,term:this.term})))))}render(){return e(s,{key:"edcc5776e68a71572c2295ac48c1bb099ae1e81c","data-element":"entity-view-wrapper"},this.loading?this.renderLoading():this.renderContent())}static get watchers(){return{type:["onIdentifierChange"],identifier:["onIdentifierChange"]}}},h=[{label:"Access",key:"access",display:"multi-select",operation:"OR",options:[{label:"Public",key:"public",selected:!1,predicates:[{access:"public"}]},{label:"Shared",key:"shared",selected:!1,predicates:[{access:"shared"}]},{label:"Org",key:"org",selected:!1,predicates:[{access:"org"}]},{label:"Mine",key:"mine",selected:!1,predicates:[{owner:"dbouwman_dc"}]}]},{label:"Types",key:"types",display:"multi-select",pageSize:4,operation:"OR",options:[{label:"Projects",key:"projects",selected:!1,predicates:[{type:"Hub Project"}]},{label:"Web Maps",key:"webmaps",selected:!1,predicates:[{type:"Web Map"}]},{label:"Sites",key:"sites",selected:!1,predicates:[{type:"Hub Site Application"}]},{label:"Services",key:"services",selected:!1,predicates:[{type:["Feature Service","Map Service"]}]},{label:"Apps",key:"apps",selected:!1,predicates:[{type:{any:["Code Sample","Web Mapping Application","Mobile Application","Application","Desktop Application Template","Desktop Application","Operation View","Dashboard","Operations Dashboard Extension","Workforce Project","Insights Workbook","Insights Page","Insights Model","Hub Page","Hub Initiative","Hub Site Application","StoryMap","Web Experience","Web Experience Template","Form"],not:["Code Attachment","Featured Items","Symbol Set","Color Set","Windows Viewer Add In","Windows Viewer Configuration","Map Area","Indoors Map Configuration"]},typekeywords:{not:["MapAreaPackage","SMX"]}}]},{label:"Story Maps",key:"storymaps",selected:!1,predicates:[{type:"StoryMap"},{type:"Web Mapping Application",typekeywords:"Story Map"}]},{label:"Dashboards",key:"dashboards",selected:!1,predicates:[{type:"Dashboard",typekeywords:{any:["Dashboard"],not:["ArcGIS Operation View","Add In","Extension"]}}]},{label:"Document",key:"documents",selected:!1,predicates:[{typekeywords:{any:["Document"],not:["MapAreaPackage","SMX"]},type:{any:["Image","Layout","Desktop Style","Project Template","Report Template","Pro Report","Statistical Data Collection","360 VR Experience","netCDF","PDF","CSV","Administrative Report","Raster function template"],not:["Image Service","Explorer Document","Explorer Map","Globe Document","Scene Document","Code Attachment","Featured Items","Symbol Set","ColorSet","Windows Viewer Add In","Windows Viewer Configuration","Map Area","Indoors Map Configuration"]}}]}]}];d.style=m;export{d as arcgis_hub_site_search_wrapper};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{a as I}from"./VDUQUUL2.js";import{a as y}from"./H25DOYL3.js";import{A as C,m as p}from"./YWZQ4UXV.js";import{m}from"./ATQANVSI.js";var v=y((h,o)=>C(Object.assign({channelId:h,data:{relations:[p.CHANNEL_ACL]}},o)),{scope:"channels",getKey(h){return h},ttl:3*1e3});async function E(h,o){let{post:i,parent:u}=h,{channelId:e,channel:n,channelGroups:a}=h,c=null,d=async l=>{let s,t,r;try{s=await v(l,o),r=null,t=s.id}catch(f){s=null,r=f,t=l}return{channel:s,channelError:r,channelId:t}};if(n)c=null,e=n.id;else if(i||u){let l=i||u;l.channel?(n=l.channel,e=l.channelId,c=null):l.channelId&&l.channelId!==n?.id?{channelId:e,channelError:c,channel:n}=await d(l.channelId):(e=n.id,c=null)}else e?{channel:n,channelId:e,channelError:c}=await d(e):(n=null,e=null,c=null);if(n){a=a??[];let l=m(n);(l.length!==a.length||!a.every(t=>l.includes(t?.id)))&&(a=await Promise.all(l.map(async t=>{let r;try{r=await I(t,o)}catch{r=null}return r})))}else a=null;return{channelId:e,channel:n,channelError:c,channelGroups:a}}export{E as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{a as r}from"./X63CG6CS.js";import{q as t}from"./EXS52KZX.js";async function m(o,e){let{editGroups:a,readGroups:u}=await t(Object.assign({eventId:o},e.hubRequestOptions)),n=s=>s.length?r(Object.assign({q:`id:(${s.join(" OR ")})`,num:s.length},e.requestOptions)):Promise.resolve({results:[]}),[{results:i},{results:p}]=await Promise.all([u,a].map(n));return[...i,...p]}export{m as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{b as r}from"./LNOVOVA6.js";import{b as e}from"./HHKE6IQW.js";function l(t,i,n){let o=r(t,i,"options.helperText");return e("calcite-input-message",{class:"helper-text"}," ",e("div",{id:n,innerHTML:o})," ")}export{l as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import d from"./RWT6NYXM.js";import c from"./WDMEW2J2.js";import b from"./HNBKA2CF.js";import a from"./Z5UP45NJ.js";export default $arcgis.t(([,,,,,,,{Bb:oe,Ca:ae,Wa:u,a:te,lb:C,m:y,pa:ie,qa:se,va:ne},{A:v,C:w,D:A,E:x,F:O,G:B,H:E,I:b,J:D,K:M,L:N,M:k,O:L,P:V,Q:$,S:l,T:X,U:j,V:z,W:a,X:h,Y:P,Z:f,_:K,aa:d,ba:W,ca:Y,da:m,ea:p,ga:Z,ha:H,ia:J,j:o,l:r,p:I,q:T,r:F,s:U,y:g,z:c},{a:Q,b:R,c:q,d:G},ee])=>{var _=class extends p{getTemporalBinningSize(){return w(this._config)}setTemporalBinningSize(e){E(e,this._config),this.emitConfigUpdate("setTemporalBinningSize")}getTemporalBinningUnit(){return A(this._config)}setTemporalBinningUnit(e){D(e,this._config),this.emitConfigUpdate("setTemporalBinningUnit")}getTimeAggregationType(){return x(this._config)}setTimeAggregationType(e){M(e,this._config),this.emitConfigUpdate("setTimeAggregationType")}getTrimIncompleteTimeInterval(){return O(this._config)}setTrimIncompleteTimeInterval(e){N(e,this._config),this.emitConfigUpdate("setTrimIncompleteTimeInterval")}getNullPolicy(){return B(this._config)}setNullPolicy(e){b(e,this._config),this.emitConfigUpdate("setNullPolicy")}resetTimeInterval(){k(this._config),this.emitConfigUpdate("resetTimeInterval")}},ce=(s,e)=>e.series?.[s].assignToSecondValueAxis??!1,le=(s,e,t)=>{t.series?.[e]&&(t.series[e].assignToSecondValueAxis=s)},he=(s,e)=>e.series?.[s]?.name,fe=(s,e,t)=>{t.series?.[e]&&(t.series[e].name=s)},de=(s,e)=>{let t=e.series?.[s],i;return r(t)?i=t.fillSymbol?.color:o(t)&&(i=t.lineSymbol?.color),i},me=(s,e,t)=>{let i=t.series?.[e];i&&(r(i)?i.fillSymbol={...ae(e),...i.fillSymbol,color:s}:o(i)&&(i.lineSymbol={...ne(e),...i.lineSymbol,color:s}))},pe=s=>s.series.map(e=>e.id),ye=(s,e)=>{e.series?.sort((t,i)=>s.findIndex(n=>t.id===n)-s.findIndex(n=>i.id===n))},ue=s=>s.stackedType??y.Side,Ce=async s=>{let{newStackedType:e,config:t,layerInfo:i}=s;if(t.stackedType=e,i!==void 0){let n=await T({config:t,layerInfo:i,numericFields:a(t),aggregationType:l(t)});I(t,1,n)}t.axes?.[1]&&(e===y.Stacked100?t.axes[1].valueFormat=se():t.axes[1].valueFormat=ie()),await U(t,null),await F(t,null)},S=class extends p{getXAxisField(){return v(this._config)}async setXAxisField(e){let t=e.trim()==="";t||await P(e,this._config,this.layerInfo);let i=a(this._config),n=C(this._config.series)===u.BarAndLineFromFields,re=i.includes(this.layerInfo?.objectIdField??"");if(t||n&&re){await this.resetConfig();let ge=i.length===1&&i[0]===this.layerInfo?.objectIdField;this.layerInfo&&i.length>0&&!ge&&await h(i,this._config,this.layerInfo)}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setXAxisField")}getAggregationType(){return l(this._config)}async setAggregationType(e){this.layerInfo&&(await X(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setAggregationType"))}getAssignToSecondValueAxis(e){return ce(e,this._config)}setAssignToSecondValueAxis(e,t){le(e,t,this._config),this.emitConfigUpdate("setAssignToSecondValueAxis")}getSplitByField(){return j(this._config)}async setSplitByField(e){this.layerInfo?.layerFieldsInfo&&L(this.layerInfo?.layerFieldsInfo,e)&&(await z(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setSplitByField"))}getNumericFields(){return a(this._config)}async setNumericFields(e){if(typeof e=="string"&&(e=[e]),V(this.layerInfo?.layerFieldsInfo??[],e)&&this.layerInfo){await h(e,this._config,this.layerInfo);let t=a(this._config);C(this._config.series)===u.BarAndLineFromFields&&t.some(i=>i===this.layerInfo?.objectIdField)&&await this.resetConfig(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setNumericFields")}}getDataFilter(){return W(this._config)}async setDataFilter(e){Y(e,this._config);let t=f(this._config);if(t===te.customSort){let i=await m(this._config,this.layerInfo);c(t,this._config,i)}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setDataFilter")}async getCustomSortValues(){return await m(this._config,this.layerInfo)}getSortOrder(){return f(this._config)}setSortOrder(e,t){c(e,this._config,t),this.emitConfigUpdate("setSortOrder")}getOrderByList(){return g(this._config)}setOrderByList(e){!oe(this._config)&&(d(e,this._config),this.emitConfigUpdate("setOrderByList"))}async updateSeriesFromLayerFilter(){this.layerInfo!==void 0&&(await K({splitByField:this.getSplitByField(),numericFields:this.getNumericFields(),aggregationType:this.getAggregationType(),config:this._config,layerInfo:this.layerInfo}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("updateSeriesFromLayerFilter"))}getSeriesName(e){return he(e,this._config)}setSeriesName(e,t){fe(e,t,this._config),this.emitConfigUpdate("setSeriesName")}getSeriesColor(e){return de(e,this._config)}setSeriesColor(e,t){me(e,t,this._config),this.emitConfigUpdate("setSeriesColor")}getOrderOfSeries(){return pe(this._config)}setOrderOfSeries(e){ye(e,this._config),this.emitConfigUpdate("setOrderOfSeries")}getStackedType(){return ue(this._config)}async setStackedType(e){await Ce({newStackedType:e,config:this._config,layerInfo:this.layerInfo}),this.emitConfigUpdate("setStackedType")}moveSeries(e,t){let i=this.getOrderOfSeries(),[n]=i.splice(e,1);i.splice(t,0,n),this.setOrderOfSeries(i),this.emitConfigUpdate("moveSeries")}moveCustomSortValuesInOrderByList(e,t){let i=g(this._config),[n]=i.splice(e,1);i.splice(t,0,n),d(i,this._config),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")}async resetConfig(){let e=this._config.id;this._config=await this.generateDefaultConfig(),this._config.id=e,this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("resetConfig")}};$(S,[Z,R,q,Q,ee,G,H,J,_]);return{a:fe,b:me,c:S}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b,c,d)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ function u(e){let t=new Date().getTime();return Array(e).fill(0).reduce(function(r){let n=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),r=`${r}${n.toString(16)}`,r},"")}export{u as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ var e;(function(r){r["360 VR Experience"]="360 VR Experience",r["Apache Parquet"]="Apache Parquet",r["AppBuilder Widget Package"]="AppBuilder Widget Package",r["Desktop Add In"]="Desktop Add In",r["Explorer Add In"]="Explorer Add In",r["Explorer Map"]="Explorer Map",r["Explorer Layer"]="Explorer Layer",r["Windows Mobile Package"]="Windows Mobile Package",r["ArcGIS Pro Add In"]="ArcGIS Pro Add In",r["ArcGIS Pro Configuration"]="ArcGIS Pro Configuration",r["Globe Document"]="Globe Document",r["Map Document"]="Map Document",r["ArcPad Package"]="ArcPad Package",r["Published Map"]="Published Map",r["Scene Document"]="Scene Document",r["CityEngine Web Scene"]="CityEngine Web Scene",r["Code Sample"]="Code Sample",r["CSV Collection"]="CSV Collection",r.CSV="CSV",r["CAD Drawing"]="CAD Drawing",r["Deep Learning Package"]="Deep Learning Package",r["Desktop Application"]="Desktop Application",r["Desktop Application Template"]="Desktop Application Template",r["Desktop Style"]="Desktop Style",r["Earth Configuration"]="Earth Configuration",r["Feature Collection"]="Feature Collection",r["File Geodatabase"]="File Geodatabase",r.GeoJson="GeoJson",r["Geoprocessing Package"]="Geoprocessing Package",r.GeoPackage="GeoPackage",r["Geoprocessing Sample"]="Geoprocessing Sample",r.GML="GML",r["Image Collection"]="Image Collection",r.Image="Image",r["iWork Keynote"]="iWork Keynote",r["iWork Numbers"]="iWork Numbers",r["iWork Pages"]="iWork Pages",r["KML Collection"]="KML Collection",r.KML="KML",r.Layer="Layer",r["Layer Package"]="Layer Package",r.Layout="Layout",r["Locator Package"]="Locator Package",r["Map Package"]="Map Package",r["Map Template"]="Map Template",r["Microsoft Excel"]="Microsoft Excel",r["Microsoft Powerpoint"]="Microsoft Powerpoint",r["Visio Document"]="Visio Document",r["Microsoft Word"]="Microsoft Word",r["Mobile Basemap Package"]="Mobile Basemap Package",r["Mobile Map Package"]="Mobile Map Package",r["Mobile Scene Package"]="Mobile Scene Package",r.Notebook="Notebook",r.PDF="PDF",r["Pro Map"]="Pro Map",r["Pro Report"]="Pro Report",r["Project Package"]="Project Package",r["Project Template"]="Project Template",r["Raster function template"]="Raster function template",r["Rule Package"]="Rule Package",r["Scene Package"]="Scene Package",r["Service Definition"]="Service Definition",r.Shapefile="Shapefile",r["Survey123 Add In"]="Survey123 Add In",r["Tile Package"]="Tile Package",r["Vector Tile Package"]="Vector Tile Package",r["Workflow Manager Package"]="Workflow Manager Package",r["Document Link"]="Document Link",r["Feature Service"]="Feature Service",r["Geocoding Service"]="Geocoding Service",r["Geodata Service"]="Geodata Service",r["Geometry Service"]="Geometry Service",r["Geoprocessing Service"]="Geoprocessing Service",r["Geoenrichment Service"]="Geoenrichment Service",r["Globe Service"]="Globe Service",r["Image Service"]="Image Service",r["Map Service"]="Map Service",r["Network Analysis Service"]="Network Analysis Service",r["Vector Tile Service"]="Vector Tile Service",r.WFS="WFS",r.WMS="WMS",r.WMTS="WMTS",r.OGCFeatureServer="OGCFeatureServer",r["Scene Service"]="Scene Service",r["Stream Service"]="Stream Service",r["Workflow Manager Service"]="Workflow Manager Service",r["Web Mapping Application"]="Web Mapping Application",r["Mobile Application"]="Mobile Application",r["AppBuilder Extension"]="AppBuilder Extension",r["Google Drive"]="Google Drive",r.Dropbox="Dropbox",r.OneDrive="OneDrive",r.StoryMap="StoryMap",r.Dashboard="Dashboard",r["Hub Project"]="Hub Project",r["Hub Initiative"]="Hub Initiative",r["Hub Site Application"]="Hub Site Application",r["Web Experience"]="Web Experience",r["Insights Workbook Package"]="Insights Workbook Package",r.Application="Application",r["ArcGIS Explorer Application Configuration"]="ArcGIS Explorer Application Configuration",r["ArcMap Document"]="ArcMap Document",r["Layer File"]="Layer File",r.ogcFeature="ogcFeature",r.FeatureServer="Feature Service",r.GeocodeServer="GeocodeServer",r.GeoDataServer="GeoDataServer",r.GeometryServer="GeometryServer",r.GeoenrichmentServer="GeoenrichmentServer",r.GPServer="GPServer",r.GlobeServer="GlobeServer",r.ImageServer="ImageServer",r.MapServer="MapServer",r.NAServer="NAServer",r.ElevationServer="ElevationServer",r.VectorTileServer="VectorTileServer",r["Scene Server"]="Scene Server",r.StreamServer="StreamServer",r.WMServer="WMServer",r.TiledImageServer="TiledImageServer"})(e||(e={}));export{e as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{a as c}from"./DLEUWOTS.js";import"./LFY4AA5H.js";import"./PCCNMQNS.js";import{b as t,d as o,e as r,h as l,i as h}from"./HHKE6IQW.js";import"./446UBN74.js";import"./B2SJHZ7L.js";var u=":host{display:block}",g=u,s;(function(e){e.PUBLIC="public",e.ORG="org",e.PRIVATE="private"})(s||(s={}));var d={public:"public",publicInfo:"publicInfo",organization:"organization",organizationInfo:"organizationInfo",owner:"owner",ownerInfo:"ownerInfo"},p={discussion:["publicInfo","organization","organizationInfo","owner","ownerInfo"]},m=class{constructor(e){h(this,e),this.arcgisHubItemAccessLevelChange=r(this,"arcgisHubItemAccessLevelChange",7),this.updateAccessLevel=i=>{let{access:n}=i.detail.values;i.stopPropagation(),this.arcgisHubItemAccessLevelChange.emit(n)},this.accessLevel=void 0,this.accessOptions=void 0,this.orgName=void 0,this.itemType=void 0}async componentWillLoad(){this.intl=await c.loadIntlForComponent(this.element)}get values(){return{access:this.accessLevel}}get canShareToPublic(){var e;return!!(!((e=this.accessOptions)===null||e===void 0)&&e.canSetAccessToPublic)}get canShareToOrg(){var e;return!!(!((e=this.accessOptions)===null||e===void 0)&&e.canSetAccessToOrg)}get canSetPrivate(){var e;return!!(!((e=this.accessOptions)===null||e===void 0)&&e.canSetAccessToPrivate)}get canSetAnyAccessLevel(){return this.canShareToPublic&&this.canShareToOrg&&this.canSetPrivate}get schema(){return{type:"object",properties:{access:{type:"string",enum:[s.PUBLIC,s.ORG,s.PRIVATE]}}}}get strings(){var e;let i=(e=p[this.itemType])!==null&&e!==void 0?e:[];return Object.assign(Object.assign({},d),i.reduce((n,a)=>Object.assign(Object.assign({},n),{[a]:[this.itemType,a].join(".")}),{}))}get uiSchema(){let{strings:e}=this;return{type:"Layout",elements:[{scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",layout:"vertical",labels:[this.intl.t(e.public),this.intl.t(e.organization),this.intl.t(e.owner)],descriptions:[this.intl.t(e.publicInfo,{itemType:this.itemType}),this.intl.t(e.organizationInfo,{orgName:this.orgName,itemType:this.itemType}),this.intl.t(e.ownerInfo,{itemType:this.itemType})],icons:["globe","organization","user"],type:"radio",disabled:[!this.canShareToPublic,!this.canShareToOrg,!this.canSetPrivate]}}]}}renderSharingLimitedNotice(){return!this.canSetAnyAccessLevel&&t("calcite-notice",{icon:"exclamation-mark-triangle",kind:"danger",open:!0,width:"full"},t("div",{slot:"title"},this.intl.t("disabledNotice.title")),t("div",{slot:"message"},this.intl.t("disabledNotice.message")))}render(){return t(l,{key:"5c3d14aafa6a2c03e8f6069d176d7206d1149f1a"},t("arcgis-configuration-editor",{key:"c69bb98765de502667fc2f9c3fcd9eb1d9485bb3",onArcgisConfigurationEditorChange:this.updateAccessLevel,schema:this.schema,uiSchema:this.uiSchema,values:this.values}),this.renderSharingLimitedNotice())}static get assetsDirs(){return["locales"]}get element(){return o(this)}};m.style=g;export{m as arcgis_hub_access_level_controls};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{c as X,d as Z,e as tt,f as et}from"./YPXO2RKZ.js";import"./LTNHXX3L.js";import"./VZBAMAYZ.js";import"./PWCEWUW4.js";import"./HEYHO5TS.js";import"./V7ZPVX35.js";import"./WVE2ZYHU.js";import"./WOAKACXY.js";import{a as Q}from"./G7BG33RE.js";import"./5ZAWQ3UC.js";import{a as V}from"./B2F2O2BL.js";import{a as W}from"./GIBLLMHM.js";import{a as Y,e as J}from"./KQR6YE46.js";import"./OZHEDXSF.js";import{a as k}from"./7VVC3AXJ.js";import{a as B}from"./43GQCZ4U.js";import"./GGCQAP3H.js";import{a as U}from"./DAUW6EF7.js";import{c as G}from"./VXDVVMMR.js";import{c as z}from"./TZGWZMZ7.js";import"./WGD5N4TW.js";import{a as O,d as H,j as q}from"./YZU7QBQB.js";import"./OARTVXLO.js";import{b as L}from"./37OEJUPV.js";import{h as _}from"./46ONVMVL.js";import"./3RC77BYX.js";import{j}from"./WXOK6XPO.js";import"./A7BPMOZ6.js";import"./RW5XTUCB.js";import"./KAJMD2NS.js";import"./DO4T44UU.js";import{a as N}from"./KDBAJOMC.js";import{a as K}from"./DLEUWOTS.js";import"./LFY4AA5H.js";import"./PCCNMQNS.js";import{a as D}from"./5XUZLG3L.js";import"./QDE7HIEY.js";import{b as m,c as rt,d as nt,e as A,i as ot}from"./HHKE6IQW.js";import"./5OBLY6LT.js";import"./DKNVNN6S.js";import{a as P}from"./2Y2GXYPQ.js";import"./446UBN74.js";import"./B2SJHZ7L.js";export default $arcgis.t(([])=>{var ut=t=>{let{folderId:e,start:r=1,num:n=10,authentication:d}=t,h=e?`/${e}`:"";return O(t).then(c=>`${L(t)}/content/users/${c}${h}`).then(c=>_(c,{httpMethod:"GET",authentication:d,params:{start:r,num:n}}))},ft=t=>{let{authentication:e,id:r,title:n,exportFormat:d,exportParameters:h}=t;return O(t).then(c=>`${L(t)}/content/users/${c}/export`).then(c=>_(c,{httpMethod:"POST",authentication:e,params:{itemId:r,title:n,exportFormat:d,exportParameters:h}}))},lt={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function d(a,o,s){this.fn=a,this.context=o,this.once=s||!1}function h(a,o,s,i,w){if(typeof s!="function")throw new TypeError("The listener must be a function");var f=new d(s,i||a,w),p=r?r+o:o;return a._events[p]?a._events[p].fn?a._events[p]=[a._events[p],f]:a._events[p].push(f):(a._events[p]=f,a._eventsCount++),a}function c(a,o){--a._eventsCount===0?a._events=new n:delete a._events[o]}function l(){this._events=new n,this._eventsCount=0}l.prototype.eventNames=function(){var o=[],s,i;if(this._eventsCount===0)return o;for(i in s=this._events)e.call(s,i)&&o.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(s)):o},l.prototype.listeners=function(o){var s=r?r+o:o,i=this._events[s];if(!i)return[];if(i.fn)return[i.fn];for(var w=0,f=i.length,p=new Array(f);w<f;w++)p[w]=i[w].fn;return p},l.prototype.listenerCount=function(o){var s=r?r+o:o,i=this._events[s];return i?i.fn?1:i.length:0},l.prototype.emit=function(o,s,i,w,f,p){var y=r?r+o:o;if(!this._events[y])return!1;var u=this._events[y],E=arguments.length,I,g;if(u.fn){switch(u.once&&this.removeListener(o,u.fn,void 0,!0),E){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,s),!0;case 3:return u.fn.call(u.context,s,i),!0;case 4:return u.fn.call(u.context,s,i,w),!0;case 5:return u.fn.call(u.context,s,i,w,f),!0;case 6:return u.fn.call(u.context,s,i,w,f,p),!0}for(g=1,I=new Array(E-1);g<E;g++)I[g-1]=arguments[g];u.fn.apply(u.context,I)}else{var ht=u.length,x;for(g=0;g<ht;g++)switch(u[g].once&&this.removeListener(o,u[g].fn,void 0,!0),E){case 1:u[g].fn.call(u[g].context);break;case 2:u[g].fn.call(u[g].context,s);break;case 3:u[g].fn.call(u[g].context,s,i);break;case 4:u[g].fn.call(u[g].context,s,i,w);break;default:if(!I)for(x=1,I=new Array(E-1);x<E;x++)I[x-1]=arguments[x];u[g].fn.apply(u[g].context,I)}}return!0},l.prototype.on=function(o,s,i){return h(this,o,s,i,!1)},l.prototype.once=function(o,s,i){return h(this,o,s,i,!0)},l.prototype.removeListener=function(o,s,i,w){var f=r?r+o:o;if(!this._events[f])return this;if(!s)return c(this,f),this;var p=this._events[f];if(p.fn)p.fn===s&&(!w||p.once)&&(!i||p.context===i)&&c(this,f);else{for(var y=0,u=[],E=p.length;y<E;y++)(p[y].fn!==s||w&&!p[y].once||i&&p[y].context!==i)&&u.push(p[y]);u.length?this._events[f]=u.length===1?u[0]:u:c(this,f)}return this},l.prototype.removeAllListeners=function(o){var s;return o?(s=r?r+o:o,this._events[s]&&c(this,s)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(lt);var pt=lt.exports,v=class extends Error{constructor(e,r,n){super(e),this.status=n,this.url=r}};function T(t){let{host:e,route:r,query:n}=t,d=e.endsWith("/")?e:`${e}/`,h=new URL(r,d);return h.search=mt(n),h.toString()}function mt(t={}){let e=Object.keys(t).filter(r=>t[r]!==void 0).reduce((r,n)=>(r[n]=t[n],r),{});return new URLSearchParams(e).toString()}function $(t){let{datasetId:e,format:r,spatialRefId:n,geometry:d,where:h}=t;return`${e}:${r}:${n}:${d}:${h}`}var at={Shapefile:"shp",CSV:"csv","File Geodatabase":"fgdb",GeoJson:"geojson",KML:"kml"};function dt(t){if(!at[t])throw new Error(`Unsupported Hub download format: ${t}`);return at[t]}function wt(t){let{host:e,datasetId:r,spatialRefId:n,geometry:d,where:h}=t,c={spatialRefId:n,format:dt(t.format),geometry:d,where:h},l=T({host:e,route:`/api/v3/datasets/${r}/downloads`});return fetch(l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)}).then(a=>{let{ok:o,status:s,statusText:i}=a;if(!o)throw new v(i,l,s)}).then(()=>({downloadId:$(t)}))}function gt(t){let{datasetId:e,title:r,format:n,authentication:d}=t,[h]=e.split("_");return ft({id:h,exportFormat:n,exportParameters:yt(t),title:r,authentication:d}).then(c=>{let{size:l,jobId:a,exportItemId:o}=c;return{downloadId:o,jobId:a,size:l,exportCreated:Date.now()}})}function yt(t){let{datasetId:e,spatialRefId:r,where:n}=t,d=e.split("_")[1];if(!d)return r?{targetSR:{wkid:Number(r)}}:{};let h=[{id:Number(d),where:n}];return r?{layers:h,targetSR:{wkid:Number(r)}}:{layers:h}}function bt(t){let{host:e,datasetId:r,format:n,spatialRefId:d,geometry:h,where:c,title:l,target:a,authentication:o}=t;return!a||a==="hub"?wt({host:e,datasetId:r,format:n,spatialRefId:d,geometry:h,where:c}):gt({datasetId:r,format:n,title:l,authentication:o,spatialRefId:d,where:c})}var S;(function(t){t.Shapefile="Shapefile",t.CSV="CSV",t.KML="KML",t.GeoJson="GeoJson",t.Excel="Excel",t["File Geodatabase"]="File Geodatabase",t["Feature Collection"]="Feature Collection",t["Scene Package"]="Scene Package"})(S||(S={}));function ct(t){let{host:e,datasetId:r,spatialRefId:n,geometry:d,where:h}=t,c={spatialRefId:n,formats:dt(t.format),geometry:d?JSON.stringify(d):void 0,where:h},l=T({host:e,route:`/api/v3/datasets/${r}/downloads`,query:c});return fetch(l).then(a=>{let{ok:o,status:s,statusText:i}=a;if(!o)throw new v(i,l,s);return a.json()}).then(a=>(Et(a),It(a,$(t))))}function Et({data:t}){if(!t)throw new Error('Unexpected API response; no "data" property.');if(!Array.isArray(t))throw new Error('Unexpected API response; "data" is not an array.');if(t.length>1)throw new Error('Unexpected API response; "data" contains more than one download.')}function It(t,e){let{data:[r]}=t;if(!r)return{downloadId:e,status:"not_ready"};let{attributes:{contentLastModified:n,lastModified:d,status:h,errors:c,contentLength:l,cacheTime:a,source:{lastEditDate:o}},links:{content:s}}=r;return{downloadId:e,contentLastModified:n,lastEditDate:o,lastModified:d,status:h,errors:c||[],downloadUrl:s,contentLength:l,cacheTime:a}}var M=class{disablePoll(){clearInterval(this.pollTimer),this.pollTimer=null}activatePoll(e){let{downloadId:r,eventEmitter:n,pollingInterval:d,existingFileDate:h=new Date(0).toISOString()}=e,c=new Date(h).getTime();this.pollTimer=setInterval(()=>{ct(e).then(l=>{if(Dt(l,c))return n.emit(`${r}ExportComplete`,{detail:{metadata:l}}),this.disablePoll();if(vt(l)){let{errors:[a]}=l;return n.emit(`${r}ExportError`,{detail:{error:a,metadata:l}}),this.disablePoll()}}).catch(l=>(n.emit(`${r}PollingError`,{detail:{error:l,metadata:{status:"error"}}}),this.disablePoll()))},d)}};function xt(t){let e=new M;return e.activatePoll(t),e}function Dt(t,e){let{status:r,lastModified:n}=t,d=new Date(n).getTime();return r==="ready"||r==="ready_unknown"&&d>e}function vt(t){return t&&(t.status==="error_updating"||t.status==="error_creating")}function St(t){return ut({authentication:t}).then(e=>{let r=e.folders.find(n=>n.title==="item-exports");return r?{folder:r}:Y({authentication:t,title:"item-exports"})}).then(e=>{let{folder:r}=e;return r.id})}var b;(function(t){t.READY="ready",t.READY_UNKNOWN="ready_unknown",t.STALE="stale",t.NOT_READY="not_ready",t.LOCKED="locked",t.STALE_LOCKED="stale_locked",t.DISABLED="disabled",t.CREATING="creating",t.UPDATING="updating",t.ERROR_CREATING="error_creating",t.ERROR_UPDATING="error_updating",t.ERROR="error"})(b||(b={}));var C=class t extends Error{constructor(e){super(e),Object.setPrototypeOf(this,t.prototype)}};function Ct(t){let{downloadId:e,datasetId:r,exportCreated:n,spatialRefId:d,eventEmitter:h,authentication:c}=t,{itemId:l,layerId:a}=k(r),o=[tt(l),et(a),`modified:${n}`,Z(d)];return J({item:{id:e,typekeywords:o.join(",")},authentication:c}).then(()=>Q({id:e,authentication:c,access:"private"})).then(()=>St(c)).then(s=>G({itemId:e,folderId:s,authentication:c})).catch(s=>{if(!(s&&s.code==="CONT_0011"))throw W({id:e,authentication:c}),new C(s.message)}).then(()=>h.emit(`${e}ExportComplete`,{detail:{metadata:{downloadId:e,status:b.READY,lastModified:new Date().toISOString(),downloadUrl:T({host:c.portal,route:`content/items/${e}/data`,query:{token:c.token}})}}}))}var F=class{disablePoll(){clearInterval(this.pollTimer),this.pollTimer=null}activatePoll(e){let{downloadId:r,datasetId:n,format:d,spatialRefId:h,jobId:c,authentication:l,exportCreated:a,eventEmitter:o,pollingInterval:s}=e;this.pollTimer=setInterval(()=>{q({id:r,jobId:c,jobType:"export",authentication:l}).then(i=>{if(i.status==="completed")return Ct({datasetId:n,format:d,authentication:l,downloadId:r,spatialRefId:h,exportCreated:a,eventEmitter:o}).then(()=>{this.disablePoll()});if(i.status==="failed")return o.emit(`${r}ExportError`,{detail:{error:new Error(i.statusMessage),metadata:{status:b.ERROR,errors:[new Error(i.statusMessage)]}}}),this.disablePoll()}).catch(i=>(i instanceof C?o.emit(`${r}ExportError`,{detail:{error:i,metadata:{status:b.ERROR,errors:[i]}}}):o.emit(`${r}PollingError`,{detail:{error:i,metadata:{status:b.ERROR,errors:[i]}}}),this.disablePoll()))},s)}};function Rt(t){let e=new F;return e.activatePoll(t),e}function Tt(t){let{target:e,downloadId:r,datasetId:n,jobId:d,format:h,authentication:c,exportCreated:l,eventEmitter:a,pollingInterval:o,spatialRefId:s,geometry:i,where:w,host:f,existingFileDate:p}=t;return!e||e==="hub"?xt({host:f,downloadId:r,datasetId:n,format:h,eventEmitter:a,pollingInterval:o,spatialRefId:s,geometry:i,where:w,existingFileDate:p}):Rt({downloadId:r,datasetId:n,jobId:d,authentication:c,exportCreated:l,format:h,spatialRefId:s,eventEmitter:a,pollingInterval:o,geometry:i,where:w})}var Pt=600*1e3;function _t(t,e){return t==="portal"&&e&&new Date().getTime()-e<=Pt}function Lt(t,e){let r=e?e.toLowerCase():"",n=P(t,"properties.downloadsConfig.enabled")!==!1,d=P(t,"properties.downloadsConfig.formats")||{},h=!d[r]||d[r].enabled!==!1;return n?h:!1}var R;(function(t){t.FeatureService="Feature Service",t.MapService="Map Service"})(R||(R={}));var Ot=t=>t===S.CSV||t===S.KML;function kt(t){let{datasetId:e,authentication:r,format:n,spatialRefId:d,target:h,portal:c}=t,{itemId:l,layerId:a}=k(e),o,s,i,w;return H(l,{authentication:r,portal:c}).then(f=>{let{type:p,modified:y,url:u}=f;return w=f,s=y,i=p,At({url:u,authentication:r,type:p,modified:y,format:n,layerId:a,portal:c})}).then(f=>{let{modified:p,format:y}=f;return o=p,z({q:X(l,{layerId:a,onlyTypes:[y],spatialRefId:d}),num:1,sortField:"modified",sortOrder:"DESC",authentication:r,portal:c})}).then(f=>Ut({cachedDownload:f.results[0],datasetId:e,format:n,spatialRefId:d,serviceLastEditDate:o,itemModifiedDate:s,itemType:i,authentication:r,target:h,item:w,portal:c})).catch(f=>{throw f})}function At(t){let{format:e,layerId:r,url:n,type:d,modified:h,authentication:c,portal:l}=t;return d!==R.FeatureService&&d!==R.MapService?Promise.resolve({modified:h,format:e}):st(B({url:n,authentication:c,portal:l})).then(a=>{let s=(a.layers||[]).map(i=>st(V({url:`${n}/${i.id}`,authentication:c,portal:l})));return Promise.all(s)}).then(a=>({format:Mt({format:e,layerId:r,layers:a}),modified:$t(a)}))}function Mt(t){let{format:e,layerId:r,layers:n}=t;return Ft(r,n)&&Ot(e)?`${e} Collection`:e}function Ft(t,e){return t===void 0&&e.length>1}function $t(t){return t.map(r=>{let{editingInfo:{lastEditDate:n}={}}=r;return n}).filter(r=>r!==void 0).sort((r,n)=>n-r)[0]}function Ut(t){let{cachedDownload:e,serviceLastEditDate:r,authentication:n,target:d,item:h,format:c,portal:l}=t,a=r===void 0?void 0:new Date(r).toISOString(),{created:o,id:s}=e||{},i=_t(d,r),f=Lt(h,c)?Kt(r,o,i):b.DISABLED;return e?{downloadId:s,status:f,lastEditDate:a,contentLastModified:new Date(o).toISOString(),lastModified:new Date(o).toISOString(),downloadUrl:T({host:l||n.portal,route:`content/items/${s}/data`,query:{token:n?.token}})}:{downloadId:$(t),status:f,lastEditDate:a}}function Kt(t,e,r){return e?t?t>e?r?b.STALE_LOCKED:b.STALE:b.READY:b.READY_UNKNOWN:r?b.LOCKED:b.NOT_READY}function st(t){return t.catch(e=>{if(e.name==="ArcGISAuthError")return e.retry(()=>Promise.resolve(null),1);throw e})}function Nt(t){let{host:e,datasetId:r,spatialRefId:n,format:d,geometry:h,where:c,target:l,authentication:a}=t;return!l||l==="hub"?ct({host:e,datasetId:r,format:d,spatialRefId:n,geometry:h,where:c}):kt({portal:`${e}/sharing/rest`,datasetId:r,format:d,authentication:a,spatialRefId:n,target:l})}function jt(t){let e=["Bytes","KB","MB","GB","TB"],r=t;if(r===0)return"n/a";let n=Math.floor(Math.log(r)/Math.log(1024));return n===0?[r,e[n]]:[(r/1024**n).toFixed(1),e[n]]}var Ht=`:host{font-size:1em}calcite-card div{font-size:1em}h3{font-size:1.25em}dl{font-size:inherit}dt,dd,calcite-dropdown-item{font-size:0.875em}dt{float:left;clear:left;margin-right:0.25rem}dt.ltr::after{content:':'}dd.rtl::after{content:':'}dd{margin:0px;padding:0px;margin-left:110px;margin-inline-start:0}a{vertical-align:middle}calcite-icon{margin-left:0.25rem}a:visited{color:inherit}calcite-dropdown{width:100%;--calcite-dropdown-width:100%;position:relative}calcite-dropdown-item span{color:#323232}calcite-button{width:100%}calcite-card div{width:100%}div[slot="footer-start"]{display:block}`,qt=Ht,Gt=5e3,zt={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};function it(t,e){return t==="hub"||!!e}var Bt=class{constructor(t){ot(this,t),this.hubTelemetry=A(this,"hubTelemetry",7),this.hubDownloadCardSuccess=A(this,"hubDownloadCardSuccess",7),this.contentLengthString=null,this.poller=null,this.loading=void 0,this.metadata=void 0,this.exportRequested=!1,this.apiError=void 0,this.host=void 0,this.datasetId=void 0,this.format=void 0,this.name=void 0,this.target="hub",this.spatialRefId="4326",this.where=void 0,this.geometry=void 0,this.filename=void 0,this.username=void 0,this.token=void 0,N(this,"exportDatasetComplete","exportDatasetError","exportPollingError","download","downloadKeyDown","exportDataset","exportDatasetKeyDown")}async componentWillLoad(){this.resetUndefinedProps(),await this.setLocalization(),this.setAuthentication(),await this.fetchMetadataAndSetState(),this.setTranslations()}buildDownloadTelemetry({isSuccess:t=!0,isCached:e=!0}={}){return Object.assign(Object.assign({},e?D.dictionary.category.interaction.action.download.details.cache:D.dictionary.category.interaction.action.download.details.export),{label:this.format,response:t?D.constants.response.SUCCESS:D.constants.response.FAILURE})}resetUndefinedProps(){["spatialRefId","where","geometry","filename","target"].forEach(t=>{this[t]=this[t]==="undefined"?void 0:this[t]}),this.spatialRefId||(this.spatialRefId="4326")}async setLocalization(){this.intl=await K.loadIntlForComponent(this.element),this.dateTimeFormatter=new Intl.DateTimeFormat(this.intl.locale,zt),this.setLabels()}setLabels(){let t=["buttonDownload","fileCreated","fileSize","buttonOptions","menuRequest"];this.labels=t.reduce((e,r)=>(e[r]=this.intl.t(r),e),{})}setAuthentication(){this.username&&this.token&&(this.authentication=new U({username:this.username,portal:`${this.host}/sharing/rest`,token:this.token}),this.authentication.getToken=()=>new Promise(t=>{t(this.token)}))}setTranslations(){this.setContentLengthString()}setContentLengthString(){let{metadata:{contentLength:t}={}}=this;if(t){let e=jt(t);this.contentLengthString=typeof e=="string"?this.intl.t(e.toLowerCase()):`${e[0]} ${this.intl.t(e[1].toLowerCase())}`}}async watchHandler(){this.resetUndefinedProps(),await this.fetchMetadataAndSetState()}async disconnectedCallback(){this.resetUndefinedProps(),this.poller&&this.poller.disablePoll()}async fetchMetadataAndSetState(){this.poller&&this.poller.disablePoll();let t=this.getServiceParams();try{this.metadata=await Nt(t),this.pollingEvent=new pt,this.exportInProgress()&&this.poll()}catch(e){this.apiError=e}}getServiceParams(){let t={host:this.host,datasetId:this.datasetId,format:this.format,target:this.target,authentication:this.authentication,spatialRefId:this.spatialRefId};return this.where&&(t.where=this.where),this.geometry&&(t.geometry=this.geometry),t}poll(){let t=this.getServiceParams();this.pollingEvent.on(`${this.metadata.downloadId}ExportComplete`,this.exportDatasetComplete),this.pollingEvent.on(`${this.metadata.downloadId}ExportError`,this.exportDatasetError),this.pollingEvent.on(`${this.metadata.downloadId}PollingError`,this.exportPollingError),this.poller=Tt(Object.assign(Object.assign({},t),{downloadId:this.metadata.downloadId,jobId:this.metadata.jobId,exportCreated:this.metadata.exportCreated,eventEmitter:this.pollingEvent,pollingInterval:Gt,existingFileDate:new Date(this.metadata.lastModified||0).toISOString()}))}async download(){if(this.metadata&&this.metadata.downloadUrl)try{let t=this.transferFile(this.metadata.downloadUrl);return this.hubTelemetry.emit(this.buildDownloadTelemetry()),this.hubDownloadCardSuccess.emit(),t}catch(t){throw this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1})),t}return await this.exportDataset()}transferFile(t){return this.format==="Feature Collection"?window.open(t):j(t)}async exportDataset(){this.exportRequested=!0,this.metadata.status=this.downloadCached()?"updating":"creating";let t=Object.assign({title:this.filename},this.getServiceParams());try{let e=await bt(t);this.metadata=Object.assign(Object.assign({},this.metadata),e),this.poll()}catch(e){this.apiError=e,this.metadata.status="error",this.metadata.errors=[e]}}exportDatasetComplete(t){if(this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isCached:!1})),this.hubDownloadCardSuccess.emit(),this.exportRequested){let{downloadUrl:e}=this.metadata;if(e)return this.transferFile(e)}}exportDatasetError(t){this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1,isCached:!1}))}exportPollingError(t){this.apiError=t.detail.error,this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1,isCached:!1}))}exportDatasetHandler(t){this.metadata=Object.assign(Object.assign({},this.metadata),t.detail.metadata),this.pollingEvent.off(`${this.metadata.downloadId}ExportComplete`,this.exportDatasetComplete),this.pollingEvent.off(`${this.metadata.downloadId}ExportError`,this.exportDatasetError),this.pollingEvent.off(`${this.metadata.downloadId}PollingError`,this.exportDatasetError)}renderNotice(){let{metadata:t,apiError:e,exportRequested:r}=this,{status:n}=t||{},d=n;n==="locked"?d="not_ready":n==="stale_locked"&&(d="stale");let h=e?e.status||e.message:void 0;return m("hub-download-notice",{"api-error":h,"cannot-export":!it(this.target,this.username),"export-requested":r,"file-status":d})}exportInProgress(){let{metadata:{status:t}={}}=this;return t==="creating"||t==="updating"}downloadCached(){let{metadata:{status:t}={}}=this;return["ready","ready_unknown","stale","stale_locked","updating","error_updating"].includes(t)}downloadUpToDate(){return this.metadata&&this.metadata.status==="ready"}isFormatDownloadDisabled(){return this.metadata&&this.metadata.status==="disabled"}renderFileDescription(){let t=[],{metadata:{lastModified:e}={}}=this;return this.downloadCached()?(e&&(this.intl.direction==="rtl"?t.push(m("dt",null,this.dateTimeFormatter.format(new Date(e))),m("dd",{class:"rtl"},this.labels.fileCreated)):t.push(m("dt",{class:"ltr"},this.labels.fileCreated),m("dd",null,this.dateTimeFormatter.format(new Date(e))))),this.contentLengthString&&(this.intl.direction==="rtl"?t.push(m("dt",null,this.contentLengthString),m("dd",{class:"rtl"},this.labels.fileSize)):t.push(m("dt",{class:"ltr"},this.labels.fileSize),m("dd",null,this.contentLengthString))),t):null}exportDatasetKeyDown(t){["Enter"," "].includes(t.key)&&this.exportDataset()}downloadKeyDown(t){["Enter"," "].includes(t.key)&&this.download()}renderDownloadControl(){return this.shouldUseDownloadButton()?m("calcite-button",{appearance:"solid",color:"blue",disabled:this.shouldDisableDownload(),"icon-position":"start",onClick:this.download,scale:"m",width:"full"},this.labels.buttonDownload):m("calcite-dropdown",{open:!1,placement:"top",scale:"m",type:"click"},m("calcite-button",{appearance:"solid",color:"blue","icon-end":"caretUp",scale:"m",slot:"trigger"},this.labels.buttonOptions),m("calcite-dropdown-group",{"selection-mode":"none"},m("calcite-dropdown-item",{hidden:this.exportInProgress(),onClick:this.exportDataset,onKeyDown:this.exportDatasetKeyDown,role:"menuitem","selection-mode":"none",tabindex:"0"},m("span",null,this.labels.menuRequest)),m("calcite-dropdown-item",{onClick:this.download,onKeyDown:this.downloadKeyDown,role:"menuitem","selection-mode":"none",tabindex:"0"},m("span",null,this.intl.t("menuDownload",{createdDate:this.dateTimeFormatter.format(new Date(this.metadata.lastModified))})))))}shouldUseDownloadButton(){return this.downloadUpToDate()||!this.downloadCached()||this.isFormatDownloadDisabled()||!it(this.target,this.username)}shouldDisableDownload(){return this.isFormatDownloadDisabled()||this.exportInProgress()&&!this.downloadCached()}render(){return m(rt,{key:"7bdf71eb74bfc58f41207d66486f451665953c2e","data-element":"download-card"},m("calcite-card",{key:"26c771ef86687e629a04f8e17a23c785d1b95965",dir:this.intl.direction},m("h3",{key:"0a5d94589614f5b61eb738111ea00e1db45489cd",slot:"title"},this.name),m("dl",{key:"eab178e4d5b2d5a2cd56d01106e38c341fc74c8b",slot:"subtitle"},this.renderFileDescription()),m("div",{key:"12843da8e9e9b8881b359086366c86cff78182b7",slot:"footer-start"},this.renderNotice(),this.renderDownloadControl())))}static get assetsDirs(){return["locales"]}get element(){return nt(this)}static get watchers(){return{host:["watchHandler"],datasetId:["watchHandler"],format:["watchHandler"],spatialRefId:["watchHandler"],where:["watchHandler"],geometry:["watchHandler"],target:["watchHandler"],username:["watchHandler"],token:["watchHandler"]}}};Bt.style=qt;return Bt},"config")
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{c as y}from"./TSH55IH3.js";import{b as m,e as b}from"./P7GXK4PJ.js";import{g as d}from"./NN6OAJ2K.js";import{a as u}from"./IIHQWNGB.js";import{a as s}from"./5QNU5YA5.js";import{o as r}from"./A7BPMOZ6.js";import{a as i}from"./DKNVNN6S.js";function g(o){let e=i(o),t=e.properties.layout;t.enum=["grid-filled",...t.enum],t.default="grid-filled";let a=e.properties.layouts.items;return a.enum=["grid-filled",...a.enum],e}var f=i(b);delete f.properties.filters.minItems;var w=g(m),v=o=>({type:"object",properties:{targetEntity:{type:"string",enum:r("hub:feature:gallery-card:enterprise",o).access?["item"]:["item","event"],default:"item"},source:{type:"string",enum:["all","references"],default:"all"},sortField:{type:"string",enum:["numviews","title","created","modified","manual"],default:"numviews"},sortOrder:{type:"string",enum:["asc","desc"],default:"desc"},entityIds:{type:"array",items:{type:"string"},maxItems:1,default:[]},query:f,shouldLimitResults:{type:"boolean",default:!0,enum:[!0,!1]},limit:{type:["integer","null"],minimum:1,maximum:100,default:8},appearance:w,options:{type:"object",properties:{openInNewTab:{type:"boolean",default:!1,enum:[!1,!0]}}}},allOf:[{if:{properties:{source:{const:"references"},entityIds:{type:"array",minItems:1}}},then:{properties:{query:{type:"object",properties:{filters:{type:"array",minItems:0}}}}}},{if:{anyOf:[{properties:{source:{const:"all"}}},{properties:{source:{const:"references"},entityIds:{type:"array",maxItems:0}}}]},then:{properties:{query:{type:"object",properties:{filters:{type:"array",minItems:1}}}}}}]}),F=o=>{let{context:e,targetEntity:t,source:n,hasCatalogSource:a,predicateOptionScopes:l}=o,c=e.hubLicense,h={allowConfig:!0,filters:{max:10,isMinItemsErrorHidden:a,predicates:{categories:Object.assign({},l?.length&&{scope:u(l)}),id:{canReorder:!0}}}},p=[];return t!=="event"&&p.push("calendar","map"),{type:"Layout",elements:[{type:"Section",label:"{{source.section.label:translate}}",options:{section:"block",open:!0},elements:[{scope:"/properties/targetEntity",label:"{{source.targetEntity.label:translate}}",type:"Control",options:{control:"hub-field-input-tile-select",labels:r("hub:feature:gallery-card:enterprise",e).access?["{{source.targetEntity.item.label:translate}}"]:["{{source.targetEntity.item.label:translate}}","{{source.targetEntity.event.label:translate}}"],disabled:r("hub:feature:gallery-card:enterprise",e).access?[!1]:[!1,c!=="hub-premium"]},rules:[{effect:s.HIDE,conditions:[r("hub:feature:gallery-card:enterprise",e).access]}]},{type:"Notice",options:{notice:{configuration:{id:"gallery-card-edit-license-notice",noticeType:"notice",icon:"lock",closable:!1,kind:"brand",scale:"m"},title:"{{eventsTypeUnavailable.notice.title:translate}}",message:"{{eventsTypeUnavailable.notice.body:translate}}",autoShow:!0,actions:[{label:"{{eventsTypeUnavailable.notice.link:translate}}",ariaLabel:"{{eventsTypeUnavailable.notice.link:translate}}",href:"https://www.esri.com/en-us/arcgis/products/arcgis-hub/purchase-options"}]}},rules:[{effect:s.SHOW,conditions:[!r("hub:feature:gallery-card:enterprise",e).access&&c==="hub-basic"]}]},{scope:"/properties/source",label:"{{source.source.label:translate}}",type:"Control",options:{control:"hub-field-input-tile-select",labels:[r("hub:feature:gallery-card:enterprise",e).access?`{{source.source.org.label.${t}:translate}}`:`{{source.source.all.label.${t}:translate}}`,"{{source.source.references.label:translate}}"],descriptions:[r("hub:feature:gallery-card:enterprise",e).access?`{{source.source.org.description.${t}:translate}}`:`{{source.source.all.description.${t}:translate}}`,`{{source.source.references.description.${t}:translate}}`]}},{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",canReorder:!1,pickerTitle:{label:"{{source.entityIds.label:translate}}"},catalogs:d("source.entityIds","item",r("hub:feature:gallery-card:enterprise",e).access?["myContent","organization"]:["myContent","organization","world"],e,{collectionNames:r("hub:feature:gallery-card:enterprise",e).access?["site"]:["site","project","initiative"]}),facets:y,widthScale:"l"},rules:[{effect:s.SHOW,conditions:[n==="references"]}]},{scope:"/properties/sortField",label:"{{source.sortField.label:translate}}",type:"Control",options:{control:"hub-field-input-select",labels:["{{source.sortField.numviews.label:translate}}","{{source.sortField.title.label:translate}}","{{source.sortField.created.label:translate}}","{{source.sortField.modified.label:translate}}","{{source.sortField.manual.label:translate}}"],messages:[{type:"CUSTOM",display:"notice",kind:"info",titleKey:"source.sortField.manual.filtersNotice.title",labelKey:"source.sortField.manual.filtersNotice.body",allowShowBeforeInteract:!0,conditions:[{scope:"/properties/sortField",schema:{const:"manual"}}]}]},rules:[{effect:s.SHOW,conditions:[{scope:"/properties/targetEntity",schema:{const:"item"}}]}]},{scope:"/properties/sortOrder",label:"{{source.sortOrder.label:translate}}",type:"Control",options:{control:"hub-field-input-select",labels:["{{source.sortOrder.asc.label:translate}}","{{source.sortOrder.desc.label:translate}}"]},rules:[{effect:s.SHOW,conditions:[{scope:"/properties/targetEntity",schema:{const:"item"}}]},{effect:s.HIDE,conditions:[{scope:"/properties/sortField",schema:{const:"manual"}}]}]},{scope:"/properties/shouldLimitResults",label:"{{source.shouldLimitResults.label:translate}}",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:"{{source.shouldLimitResults.helperText:translate}}"}}},{scope:"/properties/limit",label:"{{source.limit.label:translate}}",type:"Control",options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"minimum",icon:!0,label:"{{source.limit.minimumError:translate}}"},{type:"ERROR",keyword:"maximum",icon:!0,label:"{{source.limit.maximumError:translate}}"}]},rules:[{effect:s.SHOW,conditions:[{scope:"/properties/shouldLimitResults",schema:{const:!0}}]}]}]},{type:"Section",label:"{{query.section.label:translate}}",options:{section:"block"},elements:[{scope:"/properties/query",type:"Control",options:{control:"arcgis-hub-query-builder",targetEntity:t,uiOptions:h}}]},{type:"Section",label:"{{appearance.section.label:translate}}",options:{section:"block"},elements:[{scope:"/properties/appearance",type:"Control",options:{control:"arcgis-hub-gallery-appearance-builder",visibleSections:["layout","cards"],targetEntity:t,layoutOptionsConfig:{exclude:p}}}]},{type:"Section",label:"{{options.section.label:translate}}",options:{section:"block"},elements:[{scope:"/properties/options/properties/openInNewTab",label:"{{options.openInNewTab.label:translate}}",type:"Control",options:{control:"hub-field-input-select",labels:["{{options.openInNewTab.sameTab.label:translate}}","{{options.openInNewTab.newTab.label:translate}}"]}},{type:"Notice",options:{notice:{configuration:{id:"gallery-card-open-in-notice",noticeType:"notice",closable:!1,kind:"brand",scale:"m"},title:"{{options.openInNewTab.notice.title:translate}}",message:"{{options.openInNewTab.notice.body:translate}}",autoShow:!0,actions:[{label:"{{options.openInNewTab.notice.link:translate}}",ariaLabel:"{{options.openInNewTab.notice.linkAriaLabel:translate}}",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}};export{w as a,v as b,F as c};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.19/esri/copyright.txt for details.
3
+ v0.19.0 */
4
+ import{a as s,b as n}from"./W4TH7S7P.js";import{a as v,b as d,o as y}from"./ZKKAXOLH.js";import{a as m,b as C}from"./VK5KUJKU.js";import"./HXHYQL7M.js";import{C as f,I as p,a as g,d as t,n as l,p as h}from"./PDJJTEQR.js";import"./B2SJHZ7L.js";function E({tagName:u,props:o}){let i=o.onInputChangeEvent||void 0,a={...o},e={[o.inputChangeEvent]:i},r;switch(u){case"arcgis-hub-gallery-card-editor":r=t`<arcgis-hub-gallery-card-editor .values=${o.values} ${s(a)} ${n(e)}></arcgis-hub-gallery-card-editor>`;break;case"arcgis-hub-embed-card-editor":r=t`<arcgis-hub-embed-card-editor ${s(a)} ${n(e)}></arcgis-hub-embed-card-editor>`;break;case"arcgis-hub-timeline-editor":r=t`<arcgis-hub-timeline-editor ${s(a)} ${n(e)}></arcgis-hub-timeline-editor>`;break;default:r=t`<div ${s(a)} ${n(e)}></div>`}return r}var N=g`@layer{arcgis-configuration-editor:focus{--focus-color: var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:solid 2px var(--focus-color)}}`,c=class extends f{constructor(){super(...arguments),this._configEditorRef=m(),this._values={},this.arcgisLayoutNodeChange=l()}static{this.properties={_values:16,node:0,layoutNodeConfig:0}}static{this.styles=N}static{this.shadowRootOptions=h}setFocus(){this._configEditorRef.value?.setFocus()}willUpdate(o){(o.has("layoutNodeConfig")||o.has("node"))&&this.init()}updated(o){(o.has("layoutNodeConfig")||o.has("node"))&&this.setFocus()}init(){if(!this.node||!this.layoutNodeConfig)return;let o=v(this.layoutNodeConfig,"editor.valuesInCallback")||(i=>i);this._values=o(this.node.properties)}_handleConfigurationEditorChange(o){o.stopPropagation();let{values:i={},valid:a}=o.detail,e=y(i,this._values);this._values=e,this.arcgisLayoutNodeChange.emit({layoutNodeConfig:this.layoutNodeConfig,values:e,valid:a,id:this.node.id})}renderEditor(){let o=d(this.layoutNodeConfig||{},"editor.inputChangeEvent","arcgisHubGalleryCardEditorChange"),i=d(this.layoutNodeConfig||{},"editor.valuesProp","values");return this.layoutNodeConfig?.editor?.tag?E({tagName:this.layoutNodeConfig.editor.tag,props:{inputChangeEvent:o,onInputChangeEvent:this._handleConfigurationEditorChange,[i]:this._values,...this.layoutNodeConfig.editor.properties||{}}}):t`<arcgis-configuration-editor @arcgisConfigurationEditorChange=${this._handleConfigurationEditorChange} @arcgisConfigurationEditorInitialized=${this._handleConfigurationEditorChange} .schema=${this.layoutNodeConfig?.editor?.schema||{type:"object",properties:{}}} .uiSchema=${this.layoutNodeConfig?.editor?.uiSchema} .values=${this._values} ${C(this._configEditorRef)}></arcgis-configuration-editor>`}render(){return!this.node||!this.layoutNodeConfig?t`<arcgis-skeleton-loader active rows=3></arcgis-skeleton-loader>`:this.renderEditor()}};p("arcgis-layout-node-editor",c);export{c as ArcgisLayoutNodeEditor};