@esri/hub-web-components 0.13.2 → 0.13.4

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 (1356) hide show
  1. package/dist/cdn/23AH7MAR.js +4 -0
  2. package/dist/cdn/24MV4I4I.js +4 -0
  3. package/dist/cdn/256ZLAP4.js +4 -0
  4. package/dist/cdn/25JFLGEU.js +4 -0
  5. package/dist/cdn/26SGCXG3.js +5 -0
  6. package/dist/cdn/2A2YRPRP.js +4 -0
  7. package/dist/cdn/2DTLIGA3.js +4 -0
  8. package/dist/cdn/2FWNT4BC.js +4 -0
  9. package/dist/cdn/2HOVA3OA.js +4 -0
  10. package/dist/cdn/2IH7MVRA.js +4 -0
  11. package/dist/cdn/2IMI5BKH.js +4 -0
  12. package/dist/cdn/2LEQDQYQ.js +4 -0
  13. package/dist/cdn/2QT6MJQX.js +4 -0
  14. package/dist/cdn/2SGLVNWH.js +4 -0
  15. package/dist/cdn/2UK22TTI.js +4 -0
  16. package/dist/cdn/2VCIXYHS.js +4 -0
  17. package/dist/cdn/2ZCECYAQ.js +4 -0
  18. package/dist/cdn/2ZKZDFJ4.js +4 -0
  19. package/dist/cdn/32GUQGAK.js +4 -0
  20. package/dist/cdn/32HD7AQ5.js +4 -0
  21. package/dist/cdn/335VTVV7.js +4 -0
  22. package/dist/cdn/342OTISQ.js +4 -0
  23. package/dist/cdn/35RA7QTQ.js +4 -0
  24. package/dist/cdn/37NO3JPW.js +4 -0
  25. package/dist/cdn/3ANV22GL.js +4 -0
  26. package/dist/cdn/3BMIQXAW.js +4 -0
  27. package/dist/cdn/3D6DIDYM.js +4 -0
  28. package/dist/cdn/3GJQHBR7.js +4 -0
  29. package/dist/cdn/3GPBN72U.js +4 -0
  30. package/dist/cdn/3HAGACBV.js +4 -0
  31. package/dist/cdn/3J26Q2YH.js +4 -0
  32. package/dist/cdn/3KVF2LGZ.js +4 -0
  33. package/dist/cdn/3KZJ42T5.js +4 -0
  34. package/dist/cdn/3L2EBGN4.js +4 -0
  35. package/dist/cdn/3MJU6EKT.js +4 -0
  36. package/dist/cdn/3OSXNAOG.js +4 -0
  37. package/dist/cdn/3RUD6WV3.js +4 -0
  38. package/dist/cdn/3SI5E7KD.js +4 -0
  39. package/dist/cdn/3U3KJO6S.js +5 -0
  40. package/dist/cdn/3UYPLXEI.js +4 -0
  41. package/dist/cdn/3VQE5VRR.js +4 -0
  42. package/dist/cdn/3X6UBNWZ.js +4 -0
  43. package/dist/cdn/3XOUSWWC.js +4 -0
  44. package/dist/cdn/4226D2JU.js +4 -0
  45. package/dist/cdn/44O3NTOS.js +4 -0
  46. package/dist/cdn/44RQ6VW4.js +4 -0
  47. package/dist/cdn/4AJ7UJOA.js +4 -0
  48. package/dist/cdn/4CHBFO6U.js +4 -0
  49. package/dist/cdn/4CXWTDJM.js +4 -0
  50. package/dist/cdn/4E7FSOK4.js +4 -0
  51. package/dist/cdn/4FEO5HBY.js +4 -0
  52. package/dist/cdn/4FFEJIQI.js +4 -0
  53. package/dist/cdn/4H7ORU45.js +4 -0
  54. package/dist/cdn/4HDMKPII.js +4 -0
  55. package/dist/cdn/4LFO6EXO.js +4 -0
  56. package/dist/cdn/4MPBOQPA.js +4 -0
  57. package/dist/cdn/4MSBVAQE.js +4 -0
  58. package/dist/cdn/4MVD6O5U.js +4 -0
  59. package/dist/cdn/4PQZOGVI.js +4 -0
  60. package/dist/cdn/4XVIHVVB.js +4 -0
  61. package/dist/cdn/53K2NSYR.js +4 -0
  62. package/dist/cdn/554C4AXS.js +4 -0
  63. package/dist/cdn/57SVQCJY.js +4 -0
  64. package/dist/cdn/5ALWMVCF.js +4 -0
  65. package/dist/cdn/5C6QLO6T.js +4 -0
  66. package/dist/cdn/5DV5PO4D.js +4 -0
  67. package/dist/cdn/5FGZPQHB.js +4 -0
  68. package/dist/cdn/5K6HVGF2.js +4 -0
  69. package/dist/cdn/5LXCK5S3.js +4 -0
  70. package/dist/cdn/5MLTZMRG.js +4 -0
  71. package/dist/cdn/5ON6LFLG.js +4 -0
  72. package/dist/cdn/5R7XEGWB.js +4 -0
  73. package/dist/cdn/5UNHCYBI.js +4 -0
  74. package/dist/cdn/5V4VJLXU.js +4 -0
  75. package/dist/cdn/5WJPNLTC.js +4 -0
  76. package/dist/cdn/5YSP3YPP.js +4 -0
  77. package/dist/cdn/663YTBYD.js +4 -0
  78. package/dist/cdn/66E5RA7T.js +4 -0
  79. package/dist/cdn/677PIPEM.js +4 -0
  80. package/dist/cdn/6ADOVUEZ.js +4 -0
  81. package/dist/cdn/6AVKGJGS.js +4 -0
  82. package/dist/cdn/6CST6LVH.js +4 -0
  83. package/dist/cdn/6D6ZWTGC.js +4 -0
  84. package/dist/cdn/6F7PJVSG.js +4 -0
  85. package/dist/cdn/6FN3TTJV.js +16 -0
  86. package/dist/cdn/6HZHR6YH.js +4 -0
  87. package/dist/cdn/6K7GECVP.js +4 -0
  88. package/dist/cdn/6LPS72UP.js +4 -0
  89. package/dist/cdn/6MFQBKJS.js +4 -0
  90. package/dist/cdn/6MX2ZSXU.js +4 -0
  91. package/dist/cdn/6PBX4GCA.js +4 -0
  92. package/dist/cdn/6QQVEKI7.js +4 -0
  93. package/dist/cdn/6RMN7LV2.js +4 -0
  94. package/dist/cdn/6TKKVAYM.js +4 -0
  95. package/dist/cdn/6TSQFG7R.js +4 -0
  96. package/dist/cdn/6UO6RKXL.js +4 -0
  97. package/dist/cdn/6XLAPHVR.js +4 -0
  98. package/dist/cdn/725WMSXI.js +4 -0
  99. package/dist/cdn/72R5JDLH.js +4 -0
  100. package/dist/cdn/73IPOD4V.js +4 -0
  101. package/dist/cdn/75KVJCCR.js +4 -0
  102. package/dist/cdn/75V2JIXU.js +4 -0
  103. package/dist/cdn/7CPRKQKB.js +4 -0
  104. package/dist/cdn/7DCLAZP4.js +4 -0
  105. package/dist/cdn/7EVX4XU7.js +4 -0
  106. package/dist/cdn/7GWRSHGA.js +11 -0
  107. package/dist/cdn/7HPDJP4J.js +4 -0
  108. package/dist/cdn/7HW36IWL.js +4 -0
  109. package/dist/cdn/7IDWBNRL.js +4 -0
  110. package/dist/cdn/7LLVHHG3.js +4 -0
  111. package/dist/cdn/7MIANK2R.js +4 -0
  112. package/dist/cdn/7NDINQGU.js +4 -0
  113. package/dist/cdn/7NYDBGZ3.js +4 -0
  114. package/dist/cdn/7OZLWHX5.js +4 -0
  115. package/dist/cdn/7PBUYRPY.js +4 -0
  116. package/dist/cdn/7PITZLI4.js +4 -0
  117. package/dist/cdn/7PU7T34E.js +4 -0
  118. package/dist/cdn/7QRXVBZN.js +4 -0
  119. package/dist/cdn/7QSUEBYX.js +4 -0
  120. package/dist/cdn/7RFZXJ5T.js +4 -0
  121. package/dist/cdn/7T23JTH4.js +4 -0
  122. package/dist/cdn/7VFUST6Y.js +4 -0
  123. package/dist/cdn/7WZI2EXQ.js +4 -0
  124. package/dist/cdn/7X3N7A2O.js +4 -0
  125. package/dist/cdn/7XWOYGRD.js +4 -0
  126. package/dist/cdn/7Y2FSCZD.js +4 -0
  127. package/dist/cdn/7YC7QTU3.js +4 -0
  128. package/dist/cdn/A23XV4EI.js +4 -0
  129. package/dist/cdn/A3MQ6C4S.js +4 -0
  130. package/dist/cdn/AAECOO6O.js +4 -0
  131. package/dist/cdn/AE5SDMMQ.js +4 -0
  132. package/dist/cdn/AEMM2OSR.js +4 -0
  133. package/dist/cdn/AF5PX7M4.js +4 -0
  134. package/dist/cdn/AI3EQKZW.js +4 -0
  135. package/dist/cdn/AIJQPTYS.js +4 -0
  136. package/dist/cdn/AMHO24VC.js +4 -0
  137. package/dist/cdn/AMWOZCQM.js +4 -0
  138. package/dist/cdn/AOQ5CUSN.js +4 -0
  139. package/dist/cdn/AOSUUTFI.js +4 -0
  140. package/dist/cdn/AP35IDFS.js +4 -0
  141. package/dist/cdn/APMMRXXF.js +4 -0
  142. package/dist/cdn/AQTLHDLC.js +4 -0
  143. package/dist/cdn/AQVRCK3U.js +4 -0
  144. package/dist/cdn/ARKXGUKO.js +4 -0
  145. package/dist/cdn/AWXBPGN4.js +4 -0
  146. package/dist/cdn/AXJ66LID.js +4 -0
  147. package/dist/cdn/AYG27ZHO.js +4 -0
  148. package/dist/cdn/AYNOY3ZL.js +4 -0
  149. package/dist/cdn/B3BR53E4.js +4 -0
  150. package/dist/cdn/B3KSS2ED.js +4 -0
  151. package/dist/cdn/B6I6MTYB.js +4 -0
  152. package/dist/cdn/BASXOPQG.js +4 -0
  153. package/dist/cdn/BCCVROIU.js +4 -0
  154. package/dist/cdn/BDG5D3XJ.js +4 -0
  155. package/dist/cdn/BDVQLY5X.js +4 -0
  156. package/dist/cdn/BEOJB73O.js +4 -0
  157. package/dist/cdn/BF4E4QG4.js +4 -0
  158. package/dist/cdn/BFCIWJMB.js +8 -0
  159. package/dist/cdn/BFL65ZL4.js +4 -0
  160. package/dist/cdn/BFYRTQII.js +4 -0
  161. package/dist/cdn/BHCRAFVX.js +4 -0
  162. package/dist/cdn/BKDQVI67.js +4 -0
  163. package/dist/cdn/BPTLE44T.js +4 -0
  164. package/dist/cdn/BUFGMOZN.js +4 -0
  165. package/dist/cdn/BUNUWPVV.js +4 -0
  166. package/dist/cdn/BVMEF4CV.js +4 -0
  167. package/dist/cdn/BWBZS5FT.js +4 -0
  168. package/dist/cdn/BYO54VG4.js +4 -0
  169. package/dist/cdn/C2MCHQA4.js +4 -0
  170. package/dist/cdn/C4YI7JY4.js +4 -0
  171. package/dist/cdn/C6MVZRLU.js +4 -0
  172. package/dist/cdn/C7ABHGNQ.js +4 -0
  173. package/dist/cdn/C7O6J6AG.js +4 -0
  174. package/dist/cdn/CB52U2AU.js +4 -0
  175. package/dist/cdn/CBBL4N7A.js +4 -0
  176. package/dist/cdn/CCZBXHCK.js +6 -0
  177. package/dist/cdn/CDBAJYRD.js +4 -0
  178. package/dist/cdn/CDDLCK6P.js +4 -0
  179. package/dist/cdn/CDT5WPFH.js +4 -0
  180. package/dist/cdn/CDYVMFLL.js +4 -0
  181. package/dist/cdn/CH5DUXKM.js +4 -0
  182. package/dist/cdn/CHKM4UW5.js +4 -0
  183. package/dist/cdn/CIARKPVT.js +4 -0
  184. package/dist/cdn/CIN2WM3W.js +4 -0
  185. package/dist/cdn/CKPXECWL.js +4 -0
  186. package/dist/cdn/CLBTPY5C.js +4 -0
  187. package/dist/cdn/CPWPXGVL.js +4 -0
  188. package/dist/cdn/CPZPDHZD.js +4 -0
  189. package/dist/cdn/CR2BNBGK.js +4 -0
  190. package/dist/cdn/CUU7SHJE.js +4 -0
  191. package/dist/cdn/CXC76P6Z.js +4 -0
  192. package/dist/cdn/CYQTKMX5.js +4 -0
  193. package/dist/cdn/D3AJ7RQP.js +4 -0
  194. package/dist/cdn/D3TNTRQ5.js +4 -0
  195. package/dist/cdn/D6LE5DES.js +4 -0
  196. package/dist/cdn/DA4SVMES.js +4 -0
  197. package/dist/cdn/DAMCUJMI.js +4 -0
  198. package/dist/cdn/DG5B5Y2F.js +4 -0
  199. package/dist/cdn/DGQYRJHI.js +4 -0
  200. package/dist/cdn/DLOWCWPA.js +4 -0
  201. package/dist/cdn/DNBMG7FX.js +4 -0
  202. package/dist/cdn/DNJYDW5L.js +4 -0
  203. package/dist/cdn/DPYBRGHM.js +4 -0
  204. package/dist/cdn/DSQ36D5F.js +4 -0
  205. package/dist/cdn/DT5UUXWZ.js +4 -0
  206. package/dist/cdn/DTFQ2TMS.js +4 -0
  207. package/dist/cdn/DY2OIRYC.js +4 -0
  208. package/dist/cdn/E443AJC5.js +4 -0
  209. package/dist/cdn/E5GOINMT.js +4 -0
  210. package/dist/cdn/E62ZSTQL.js +4 -0
  211. package/dist/cdn/E6MNHXPG.js +4 -0
  212. package/dist/cdn/E6RXFQCA.js +4 -0
  213. package/dist/cdn/E7HTRGSB.js +4 -0
  214. package/dist/cdn/EAPXSD4V.js +4 -0
  215. package/dist/cdn/EG7X4U7T.js +4 -0
  216. package/dist/cdn/EGDATVSX.js +4 -0
  217. package/dist/cdn/EGWDDIAU.js +4 -0
  218. package/dist/cdn/EK7QAVA5.js +4 -0
  219. package/dist/cdn/EKQ6RN7D.js +4 -0
  220. package/dist/cdn/EMXCL6GI.js +4 -0
  221. package/dist/cdn/ENB3SNPP.js +4 -0
  222. package/dist/cdn/EQNWOAAG.js +4 -0
  223. package/dist/cdn/ERBTNBNY.js +24 -0
  224. package/dist/cdn/ERVBPWEO.js +4 -0
  225. package/dist/cdn/ESD4SIN7.js +4 -0
  226. package/dist/cdn/ESMZ3MY7.js +4 -0
  227. package/dist/cdn/EUSZHKPL.js +4 -0
  228. package/dist/cdn/EWMQWMS3.js +4 -0
  229. package/dist/cdn/EXEL34L3.js +4 -0
  230. package/dist/cdn/EZFQEITP.js +4 -0
  231. package/dist/cdn/F2WQQ6KN.js +4 -0
  232. package/dist/cdn/F5WWQA5C.js +4 -0
  233. package/dist/cdn/F6RFOEX4.js +4 -0
  234. package/dist/cdn/F7C5KQWZ.js +4 -0
  235. package/dist/cdn/F7UJY4FR.js +4 -0
  236. package/dist/cdn/FH4MN4IF.js +4 -0
  237. package/dist/cdn/FHFZOKNF.js +4 -0
  238. package/dist/cdn/FIPO3VIO.js +4 -0
  239. package/dist/cdn/FJ4TZBYS.js +4 -0
  240. package/dist/cdn/FJCUYTYF.js +4 -0
  241. package/dist/cdn/FL4GENOX.js +41 -0
  242. package/dist/cdn/FLF6XDPI.js +4 -0
  243. package/dist/cdn/FM5HAYMJ.js +4 -0
  244. package/dist/cdn/FOGAPMVQ.js +4 -0
  245. package/dist/cdn/FOU2Z7YT.js +4 -0
  246. package/dist/cdn/FVEYL3H7.js +4 -0
  247. package/dist/cdn/FWOHCJC2.js +4 -0
  248. package/dist/cdn/G6VT7TRW.js +4 -0
  249. package/dist/cdn/GCF6G3ZM.js +4 -0
  250. package/dist/cdn/GF5W3KN5.js +4 -0
  251. package/dist/cdn/GF6N4TN2.js +4 -0
  252. package/dist/cdn/GFCWKWM4.js +4 -0
  253. package/dist/cdn/GFDE5UD2.js +4 -0
  254. package/dist/cdn/GFUBYZ5L.js +4 -0
  255. package/dist/cdn/GJGFIIJ2.js +4 -0
  256. package/dist/cdn/GO7IFNU3.js +4 -0
  257. package/dist/cdn/GTGDOLUL.js +4 -0
  258. package/dist/cdn/GUJUC6MF.js +4 -0
  259. package/dist/cdn/GUWCBF7O.js +4 -0
  260. package/dist/cdn/GXJXIGMR.js +4 -0
  261. package/dist/cdn/H3EZUTXX.js +4 -0
  262. package/dist/cdn/HADSL2ZE.js +4 -0
  263. package/dist/cdn/HBJU7KWF.js +4 -0
  264. package/dist/cdn/HC4QIKDV.js +4 -0
  265. package/dist/cdn/HCKRFCL2.js +4 -0
  266. package/dist/cdn/HCSA26FV.js +4 -0
  267. package/dist/cdn/HEIPIIKA.js +4 -0
  268. package/dist/cdn/HEOLYWFZ.js +4 -0
  269. package/dist/cdn/HEUIUIFP.js +4 -0
  270. package/dist/cdn/HFXPXDQC.js +4 -0
  271. package/dist/cdn/HKNMZGUW.js +4 -0
  272. package/dist/cdn/HKW6Y3H5.js +4 -0
  273. package/dist/cdn/HL7LXGIW.js +4 -0
  274. package/dist/cdn/HLONSKAX.js +4 -0
  275. package/dist/cdn/HNAL5ROO.js +4 -0
  276. package/dist/cdn/HO4HZO57.js +4 -0
  277. package/dist/cdn/HQK5AOV6.js +4 -0
  278. package/dist/cdn/HQX4VCPR.js +4 -0
  279. package/dist/cdn/HSSIWG4E.js +4 -0
  280. package/dist/cdn/HTBGLNQM.js +4 -0
  281. package/dist/cdn/HTOQG4N6.js +4 -0
  282. package/dist/cdn/HUPTID2Q.js +4 -0
  283. package/dist/cdn/HVDXMWIA.js +4 -0
  284. package/dist/cdn/HXS6QN3Y.js +4 -0
  285. package/dist/cdn/I4NBBKIL.js +4 -0
  286. package/dist/cdn/I7LFARP4.js +4 -0
  287. package/dist/cdn/IAICMTF7.js +51 -0
  288. package/dist/cdn/IAVASDAH.js +4 -0
  289. package/dist/cdn/ICNKIF7T.js +4 -0
  290. package/dist/cdn/ICR6AD63.js +4 -0
  291. package/dist/cdn/ID7QGONX.js +4 -0
  292. package/dist/cdn/IEVCET4T.js +4 -0
  293. package/dist/cdn/IEXBG6YI.js +4 -0
  294. package/dist/cdn/IFCIRIUE.js +4 -0
  295. package/dist/cdn/IFK4MSHK.js +4 -0
  296. package/dist/cdn/IFKI4GT7.js +4 -0
  297. package/dist/cdn/IFYEGLGE.js +4 -0
  298. package/dist/cdn/IIRTPQKV.js +4 -0
  299. package/dist/cdn/IISZPQNT.js +4 -0
  300. package/dist/cdn/ILWANAGU.js +4 -0
  301. package/dist/cdn/IM6N5DB2.js +4 -0
  302. package/dist/cdn/IN6Q5ESF.js +4 -0
  303. package/dist/cdn/IOIUZVRC.js +4 -0
  304. package/dist/cdn/IOMJNXSK.js +4 -0
  305. package/dist/cdn/IPPXCAR6.js +4 -0
  306. package/dist/cdn/IPRA3ZMP.js +4 -0
  307. package/dist/cdn/IPRDMWYN.js +4 -0
  308. package/dist/cdn/IPUOCY4F.js +4 -0
  309. package/dist/cdn/IPXCWFAW.js +4 -0
  310. package/dist/cdn/IR7CBNW3.js +4 -0
  311. package/dist/cdn/ISJZIDWS.js +4 -0
  312. package/dist/cdn/ITF7KYEY.js +4 -0
  313. package/dist/cdn/IUCD6L67.js +4 -0
  314. package/dist/cdn/IWU4E5GY.js +4 -0
  315. package/dist/cdn/J3XEV3DQ.js +4 -0
  316. package/dist/cdn/J72UJQQF.js +4 -0
  317. package/dist/cdn/JC45W53G.js +4 -0
  318. package/dist/cdn/JDCCKOPD.js +4 -0
  319. package/dist/cdn/JDHOPAJ7.js +4 -0
  320. package/dist/cdn/JFW2SFTB.js +4 -0
  321. package/dist/cdn/JGPKVAVD.js +4 -0
  322. package/dist/cdn/JGRUTITX.js +4 -0
  323. package/dist/cdn/JHBLVHYE.js +4 -0
  324. package/dist/cdn/JHL4GD7D.js +4 -0
  325. package/dist/cdn/JJELQUDF.js +4 -0
  326. package/dist/cdn/JJTJ22X3.js +4 -0
  327. package/dist/cdn/JKVHUJT5.js +4 -0
  328. package/dist/cdn/JMZZ3ZYB.js +4 -0
  329. package/dist/cdn/JNP3ISHN.js +4 -0
  330. package/dist/cdn/JNW2Q67B.js +4 -0
  331. package/dist/cdn/JOUSQ6DD.js +4 -0
  332. package/dist/cdn/JRN2CWE5.js +4 -0
  333. package/dist/cdn/JT4VDC5F.js +4 -0
  334. package/dist/cdn/JUM43E4U.js +4 -0
  335. package/dist/cdn/JWW4JTN3.js +4 -0
  336. package/dist/cdn/JXTUDIFI.js +4 -0
  337. package/dist/cdn/JYBGSKNS.js +4 -0
  338. package/dist/cdn/K4CHMUHR.js +4 -0
  339. package/dist/cdn/K5RNC6KG.js +4 -0
  340. package/dist/cdn/K5YT57QM.js +4 -0
  341. package/dist/cdn/K7C5EJGU.js +4 -0
  342. package/dist/cdn/K7ZWSVFI.js +4 -0
  343. package/dist/cdn/KASPUAPE.js +4 -0
  344. package/dist/cdn/KDOGUSXE.js +4 -0
  345. package/dist/cdn/KKZODOMZ.js +4 -0
  346. package/dist/cdn/KNHV2W3X.js +5 -0
  347. package/dist/cdn/KPICENOW.js +4 -0
  348. package/dist/cdn/KPRX75ZX.js +4 -0
  349. package/dist/cdn/KQQGQKVK.js +4 -0
  350. package/dist/cdn/KTHXNUPB.js +4 -0
  351. package/dist/cdn/KTKJEPRD.js +4 -0
  352. package/dist/cdn/KTV6WQ3H.js +4 -0
  353. package/dist/cdn/KURKUIIR.js +4 -0
  354. package/dist/cdn/KUZOW2TE.js +4 -0
  355. package/dist/cdn/KXZUS3L4.js +4 -0
  356. package/dist/cdn/L3QYXT3I.js +4 -0
  357. package/dist/cdn/L7SXMZF4.js +4 -0
  358. package/dist/cdn/LDEJY6JA.js +4 -0
  359. package/dist/cdn/LDYL4IKX.js +4 -0
  360. package/dist/cdn/LEWSO7TR.js +4 -0
  361. package/dist/cdn/LG4HMEXK.js +4 -0
  362. package/dist/cdn/LLH63FAA.js +4 -0
  363. package/dist/cdn/LMT2EPHT.js +4 -0
  364. package/dist/cdn/LR2LSDF2.js +4 -0
  365. package/dist/cdn/LSCRGTKV.js +4 -0
  366. package/dist/cdn/LU2KWC37.js +4 -0
  367. package/dist/cdn/LUJZZRVU.js +4 -0
  368. package/dist/cdn/LURHBMUG.js +4 -0
  369. package/dist/cdn/LW3HDFVY.js +4 -0
  370. package/dist/cdn/LWY2MNU5.js +4 -0
  371. package/dist/cdn/LXW7ZPRG.js +4 -0
  372. package/dist/cdn/LY4YBWLT.js +4 -0
  373. package/dist/cdn/LZBJ457N.js +4 -0
  374. package/dist/cdn/LZHU5CMV.js +4 -0
  375. package/dist/cdn/M2IUAOVA.js +4 -0
  376. package/dist/cdn/M36N4CBG.js +4 -0
  377. package/dist/cdn/M3UADBQF.js +4 -0
  378. package/dist/cdn/M3YBKPJ5.js +4 -0
  379. package/dist/cdn/MA64QS2R.js +4 -0
  380. package/dist/cdn/MB7EBUJC.js +4 -0
  381. package/dist/cdn/MDIP43C6.js +4 -0
  382. package/dist/cdn/MERV3TTS.js +4 -0
  383. package/dist/cdn/MEWRGCMC.js +4 -0
  384. package/dist/cdn/MGA5WX7L.js +4 -0
  385. package/dist/cdn/MGMJ3GAD.js +4 -0
  386. package/dist/cdn/MJRSVA2D.js +4 -0
  387. package/dist/cdn/MLY6SZC3.js +5 -0
  388. package/dist/cdn/MMZW5TTW.js +4 -0
  389. package/dist/cdn/MOYGANSI.js +4 -0
  390. package/dist/cdn/MPAOPMHA.js +4 -0
  391. package/dist/cdn/MRXFRDZU.js +4 -0
  392. package/dist/cdn/MV7ZEXGO.js +4 -0
  393. package/dist/cdn/MWBUIFJY.js +4 -0
  394. package/dist/cdn/MWUD44PI.js +4 -0
  395. package/dist/cdn/N2SIOUIA.js +12 -0
  396. package/dist/cdn/N4XTPHPI.js +4 -0
  397. package/dist/cdn/N5UQW4CX.js +4 -0
  398. package/dist/cdn/N6RAUQVZ.js +4 -0
  399. package/dist/cdn/NA53Y4IW.js +4 -0
  400. package/dist/cdn/NAVMCLP6.js +4 -0
  401. package/dist/cdn/NBP3BQOT.js +4 -0
  402. package/dist/cdn/NCCG3R3O.js +4 -0
  403. package/dist/cdn/NE2T6JRP.js +4 -0
  404. package/dist/cdn/NENNWMCX.js +4 -0
  405. package/dist/cdn/NEZV757L.js +4 -0
  406. package/dist/cdn/NFMGNIYF.js +4 -0
  407. package/dist/cdn/NFMXXZTY.js +4 -0
  408. package/dist/cdn/NH64KMMG.js +4 -0
  409. package/dist/cdn/NIKUFGWP.js +4 -0
  410. package/dist/cdn/NJZ3FBRV.js +4 -0
  411. package/dist/cdn/NKG3WJPZ.js +4 -0
  412. package/dist/cdn/NLOZPAGX.js +4 -0
  413. package/dist/cdn/NMARXAJR.js +4 -0
  414. package/dist/cdn/NMONPVXB.js +4 -0
  415. package/dist/cdn/NMY63IMJ.js +4 -0
  416. package/dist/cdn/NNTFCGEL.js +4 -0
  417. package/dist/cdn/NPDK7V3N.js +4 -0
  418. package/dist/cdn/NQ62QGJN.js +4 -0
  419. package/dist/cdn/NQJXWD4D.js +4 -0
  420. package/dist/cdn/NUBYMNG5.js +4 -0
  421. package/dist/cdn/NUNUE5G2.js +4 -0
  422. package/dist/cdn/NWN22ITO.js +4 -0
  423. package/dist/cdn/O4QXH2ZZ.js +4 -0
  424. package/dist/cdn/O7VXDEDK.js +4 -0
  425. package/dist/cdn/OAIEYZ6G.js +4 -0
  426. package/dist/cdn/OARMG6DM.js +12 -0
  427. package/dist/cdn/OCGMDO73.js +6 -0
  428. package/dist/cdn/OCP4MQL6.js +4 -0
  429. package/dist/cdn/OHZBDABT.js +4 -0
  430. package/dist/cdn/OKC7IMD6.js +4 -0
  431. package/dist/cdn/OKWPNJJY.js +4 -0
  432. package/dist/cdn/OLJQAR3C.js +4 -0
  433. package/dist/cdn/OMFJT7ER.js +4 -0
  434. package/dist/cdn/ONSKUGGR.js +4 -0
  435. package/dist/cdn/OP2C5V5W.js +4 -0
  436. package/dist/cdn/ORL7NRZP.js +4 -0
  437. package/dist/cdn/ORN5L2JZ.js +4 -0
  438. package/dist/cdn/OW3AXUYU.js +4 -0
  439. package/dist/cdn/OYOKOLZ4.js +4 -0
  440. package/dist/cdn/OYWTJGCQ.js +4 -0
  441. package/dist/cdn/P3ET6XTZ.js +4 -0
  442. package/dist/cdn/P3HKQC6S.js +5 -0
  443. package/dist/cdn/P5CYRBJQ.js +4 -0
  444. package/dist/cdn/P5TI6AYG.js +4 -0
  445. package/dist/cdn/P5UMONGQ.js +4 -0
  446. package/dist/cdn/P7NSYUQ2.js +4 -0
  447. package/dist/cdn/PBQBVRPE.js +4 -0
  448. package/dist/cdn/PFXIGLN5.js +25 -0
  449. package/dist/cdn/PH74QOO6.js +4 -0
  450. package/dist/cdn/PJVVFO2O.js +4 -0
  451. package/dist/cdn/PLEIRPVW.js +4 -0
  452. package/dist/cdn/PPXLE2OE.js +4 -0
  453. package/dist/cdn/PQ32VAS3.js +4 -0
  454. package/dist/cdn/PR53TA46.js +4 -0
  455. package/dist/cdn/PRKG2FHP.js +4 -0
  456. package/dist/cdn/PVEQZSH2.js +4 -0
  457. package/dist/cdn/PVMT46AP.js +4 -0
  458. package/dist/cdn/PWRK4UMQ.js +4 -0
  459. package/dist/cdn/PWWN6DIP.js +4 -0
  460. package/dist/cdn/PY7GMKUZ.js +4 -0
  461. package/dist/cdn/Q4KH6SZN.js +4 -0
  462. package/dist/cdn/Q5U3CZC3.js +4 -0
  463. package/dist/cdn/Q5WLSCNB.js +4 -0
  464. package/dist/cdn/QASRAHDW.js +4 -0
  465. package/dist/cdn/QC2LV4C6.js +4 -0
  466. package/dist/cdn/QCLBTDNK.js +4 -0
  467. package/dist/cdn/QDTSQIXQ.js +4 -0
  468. package/dist/cdn/QFOLNYEL.js +4 -0
  469. package/dist/cdn/QHFC77SM.js +4 -0
  470. package/dist/cdn/QI4UEMH4.js +4 -0
  471. package/dist/cdn/QIR7CZTK.js +4 -0
  472. package/dist/cdn/QJHQIE7I.js +4 -0
  473. package/dist/cdn/QNJLA7AB.js +4 -0
  474. package/dist/cdn/QNKIAPJP.js +4 -0
  475. package/dist/cdn/QOB2EM7X.js +4 -0
  476. package/dist/cdn/QOG6I4NT.js +4 -0
  477. package/dist/cdn/QOY5PYU2.js +4 -0
  478. package/dist/cdn/QQLKXPAZ.js +4 -0
  479. package/dist/cdn/QQRN6YUY.js +4 -0
  480. package/dist/cdn/QWICRBIS.js +4 -0
  481. package/dist/cdn/QXHLWGPM.js +4 -0
  482. package/dist/cdn/QYKJQSK3.js +4 -0
  483. package/dist/cdn/R2CRN7J3.js +4 -0
  484. package/dist/cdn/R46RBLUO.js +4 -0
  485. package/dist/cdn/R4OIZ7Y5.js +4 -0
  486. package/dist/cdn/R4ZZO3EI.js +4 -0
  487. package/dist/cdn/R5NJO6ST.js +4 -0
  488. package/dist/cdn/R6UEQC57.js +4 -0
  489. package/dist/cdn/RBL6BXMO.js +4 -0
  490. package/dist/cdn/RFN4JHN3.js +4 -0
  491. package/dist/cdn/RH6JH2NQ.js +4 -0
  492. package/dist/cdn/RI2F5FP6.js +4 -0
  493. package/dist/cdn/RIUO3JPP.js +59 -0
  494. package/dist/cdn/RKWKJ7RZ.js +4 -0
  495. package/dist/cdn/RMKUICUK.js +4 -0
  496. package/dist/cdn/RO2C5O7S.js +4 -0
  497. package/dist/cdn/RRJRQLVG.js +4 -0
  498. package/dist/cdn/RU7PH3RH.js +4 -0
  499. package/dist/cdn/RUO4Z2KX.js +4 -0
  500. package/dist/cdn/RW6V4OHW.js +4 -0
  501. package/dist/cdn/RXVXXZCP.js +4 -0
  502. package/dist/cdn/RYMVPLYX.js +4 -0
  503. package/dist/cdn/RZYRVRZG.js +4 -0
  504. package/dist/cdn/S3OGPVAB.js +4 -0
  505. package/dist/cdn/SBE6DU6E.js +4 -0
  506. package/dist/cdn/SDRWN56W.js +4 -0
  507. package/dist/cdn/SEKUOA4O.js +4 -0
  508. package/dist/cdn/SFQGJUJS.js +4 -0
  509. package/dist/cdn/SQ4ABBB5.js +4 -0
  510. package/dist/cdn/SQM3SWY7.js +4 -0
  511. package/dist/cdn/SQYHJQ7F.js +4 -0
  512. package/dist/cdn/SRLG7OAV.js +4 -0
  513. package/dist/cdn/STK46JTD.js +5470 -0
  514. package/dist/cdn/STRFCDMN.js +4 -0
  515. package/dist/cdn/SWLOMLLZ.js +4 -0
  516. package/dist/cdn/SWZQLYYR.js +4 -0
  517. package/dist/cdn/SXLWSHUN.js +4 -0
  518. package/dist/cdn/SXOYMJHC.js +5 -0
  519. package/dist/cdn/SXXOBFGT.js +4 -0
  520. package/dist/cdn/SYEVQIG5.js +4 -0
  521. package/dist/cdn/SZZ3PYI3.js +4 -0
  522. package/dist/cdn/T3HZNKUR.js +4 -0
  523. package/dist/cdn/T3YAO2UH.js +4 -0
  524. package/dist/cdn/T444U4US.js +4 -0
  525. package/dist/cdn/T72JX6WB.js +4 -0
  526. package/dist/cdn/T7AJSICT.js +4 -0
  527. package/dist/cdn/T7GEHVMC.js +4 -0
  528. package/dist/cdn/TADYIO3J.js +4 -0
  529. package/dist/cdn/TAMXSLG7.js +4 -0
  530. package/dist/cdn/TAUOIUCO.js +4 -0
  531. package/dist/cdn/TB6NUIFW.js +4 -0
  532. package/dist/cdn/TEZZGZHJ.js +4 -0
  533. package/dist/cdn/TFFUMVOI.js +4 -0
  534. package/dist/cdn/TGN5CWXQ.js +4 -0
  535. package/dist/cdn/TGNX2KPW.js +4 -0
  536. package/dist/cdn/TJQVSUIX.js +4 -0
  537. package/dist/cdn/TJXMMSGQ.js +4 -0
  538. package/dist/cdn/TKW3GJGX.js +4 -0
  539. package/dist/cdn/TKZHHZ2R.js +4 -0
  540. package/dist/cdn/TLLIEZJJ.js +4 -0
  541. package/dist/cdn/TMZJLQS2.js +4 -0
  542. package/dist/cdn/TOKQ6HRI.js +4 -0
  543. package/dist/cdn/TPCIDBV3.js +42 -0
  544. package/dist/cdn/TRZQ4AKS.js +4 -0
  545. package/dist/cdn/TVDSVYYZ.js +4 -0
  546. package/dist/cdn/TVUX5SCP.js +4 -0
  547. package/dist/cdn/TXGTTUFH.js +4 -0
  548. package/dist/cdn/TZVH2BSS.js +4 -0
  549. package/dist/cdn/U3SUIHKO.js +4 -0
  550. package/dist/cdn/U4NOUSIV.js +4 -0
  551. package/dist/cdn/U5TMUZPL.js +4 -0
  552. package/dist/cdn/U7SVDSYJ.js +4 -0
  553. package/dist/cdn/UCS5CQKE.js +4 -0
  554. package/dist/cdn/UCYGBXWZ.js +4 -0
  555. package/dist/cdn/UGY6OXOZ.js +4 -0
  556. package/dist/cdn/UHL22JFO.js +4 -0
  557. package/dist/cdn/UI6NZURU.js +4 -0
  558. package/dist/cdn/UJVL3DCS.js +4 -0
  559. package/dist/cdn/UKS7S5U7.js +6 -0
  560. package/dist/cdn/UMJI74FE.js +4 -0
  561. package/dist/cdn/UORERBBG.js +4 -0
  562. package/dist/cdn/UOZE7UUC.js +4 -0
  563. package/dist/cdn/UPJ7Y7VX.js +4 -0
  564. package/dist/cdn/USZAKGOL.js +4 -0
  565. package/dist/cdn/UTHSG3SX.js +4 -0
  566. package/dist/cdn/UTVC6W25.js +4 -0
  567. package/dist/cdn/UUDFH3HV.js +4 -0
  568. package/dist/cdn/UUT3YREX.js +4 -0
  569. package/dist/cdn/UV22YIGX.js +4 -0
  570. package/dist/cdn/UVVKZL7F.js +4 -0
  571. package/dist/cdn/UWHSCXFD.js +4 -0
  572. package/dist/cdn/UX5RU256.js +4 -0
  573. package/dist/cdn/V36F46NA.js +4 -0
  574. package/dist/cdn/V4MFETDA.js +4 -0
  575. package/dist/cdn/VCA4YHRM.js +4 -0
  576. package/dist/cdn/VEB3NSOD.js +4 -0
  577. package/dist/cdn/VF53JV5S.js +4 -0
  578. package/dist/cdn/VG5M6UXN.js +4 -0
  579. package/dist/cdn/VGYOYBJX.js +4 -0
  580. package/dist/cdn/VHN6QIEZ.js +4 -0
  581. package/dist/cdn/VHTRVASD.js +4 -0
  582. package/dist/cdn/VICPUSUP.js +4 -0
  583. package/dist/cdn/VJVDISXY.js +4 -0
  584. package/dist/cdn/VLNY7FHS.js +4 -0
  585. package/dist/cdn/VOEZVOAD.js +4 -0
  586. package/dist/cdn/VPZODL26.js +4 -0
  587. package/dist/cdn/VRKPOKVZ.js +4 -0
  588. package/dist/cdn/VS6V66W5.js +4 -0
  589. package/dist/cdn/VSSPARC5.js +4 -0
  590. package/dist/cdn/VU2Y4PW7.js +4 -0
  591. package/dist/cdn/VUJQYRHD.js +4 -0
  592. package/dist/cdn/VVL7VPFS.js +4 -0
  593. package/dist/cdn/VXWXNFGA.js +4 -0
  594. package/dist/cdn/VYH7S47Q.js +4 -0
  595. package/dist/cdn/VZ2MWCHT.js +4 -0
  596. package/dist/cdn/W3FCMUSY.js +4 -0
  597. package/dist/cdn/W4B3BWJV.js +4 -0
  598. package/dist/cdn/W4UBTJ5H.js +4 -0
  599. package/dist/cdn/W6K4GURH.js +4 -0
  600. package/dist/cdn/W6QOHIRQ.js +4 -0
  601. package/dist/cdn/W6UG6Q3O.js +4 -0
  602. package/dist/cdn/WAIEBIFA.js +4 -0
  603. package/dist/cdn/WB7NUUTN.js +4 -0
  604. package/dist/cdn/WBS6DWVQ.js +4 -0
  605. package/dist/cdn/WFZNLYM6.js +4 -0
  606. package/dist/cdn/WGCCDA53.js +4 -0
  607. package/dist/cdn/WJSR6YAL.js +4 -0
  608. package/dist/cdn/WMDUJG7C.js +4 -0
  609. package/dist/cdn/WMO4ZQFG.js +4 -0
  610. package/dist/cdn/WNVXG25W.js +4 -0
  611. package/dist/cdn/WQ6K25NG.js +4 -0
  612. package/dist/cdn/WT5D3U6K.js +4 -0
  613. package/dist/cdn/WURQLWKX.js +4 -0
  614. package/dist/cdn/WWJZBD7Z.js +4 -0
  615. package/dist/cdn/WXA5BGGC.js +4 -0
  616. package/dist/cdn/WZNPJNMH.js +4 -0
  617. package/dist/cdn/X43MPMVM.js +4 -0
  618. package/dist/cdn/X7AD66MI.js +4 -0
  619. package/dist/cdn/XAAQENJ4.js +4 -0
  620. package/dist/cdn/XB66V7HT.js +9 -0
  621. package/dist/cdn/XE6PMZ6H.js +4 -0
  622. package/dist/cdn/XEYBFFJ4.js +4 -0
  623. package/dist/cdn/XFL5OF4O.js +4 -0
  624. package/dist/cdn/XNMNEW2K.js +4 -0
  625. package/dist/cdn/XTQUNF5O.js +4 -0
  626. package/dist/cdn/XUB7GJ3U.js +4 -0
  627. package/dist/cdn/XX62BYZI.js +4 -0
  628. package/dist/cdn/Y7CAPQJN.js +59 -0
  629. package/dist/cdn/YCB6XS2D.js +4 -0
  630. package/dist/cdn/YCKKTSXP.js +4 -0
  631. package/dist/cdn/YELBGR4J.js +4 -0
  632. package/dist/cdn/YFKSCETT.js +4 -0
  633. package/dist/cdn/YG6WTP4H.js +4 -0
  634. package/dist/cdn/YGUSDEHQ.js +4 -0
  635. package/dist/cdn/YKFYQGPN.js +4 -0
  636. package/dist/cdn/YO3PVZFX.js +4 -0
  637. package/dist/cdn/YOADXBJ5.js +4 -0
  638. package/dist/cdn/YOK56Y2B.js +4 -0
  639. package/dist/cdn/YRQJUGFK.js +4 -0
  640. package/dist/cdn/YSQEDCWX.js +4 -0
  641. package/dist/cdn/YT3NDHXD.js +52 -0
  642. package/dist/cdn/YW6XDA3Y.js +3 -0
  643. package/dist/cdn/YWA3PK7L.js +4 -0
  644. package/dist/cdn/Z3LKIQOR.js +4 -0
  645. package/dist/cdn/Z6BYA32W.js +4 -0
  646. package/dist/cdn/Z752YYLR.js +4 -0
  647. package/dist/cdn/ZC7XDJ6Z.js +4 -0
  648. package/dist/cdn/ZEOULM6B.js +4 -0
  649. package/dist/cdn/ZGVK3IDZ.js +4 -0
  650. package/dist/cdn/ZMNPM5KJ.js +4 -0
  651. package/dist/cdn/ZNWYHF24.js +4 -0
  652. package/dist/cdn/ZRH4OXTK.js +4 -0
  653. package/dist/cdn/ZVQ7KYW3.js +4 -0
  654. package/dist/cdn/ZXTGVAIT.js +4 -0
  655. package/dist/cdn/ZXW2TERG.js +4 -0
  656. package/dist/cdn/ZZB3JPRU.js +4 -0
  657. package/dist/cdn/index.js +2 -2
  658. package/dist/chunks/chat-action.js +1 -1
  659. package/dist/chunks/getResponsiveClasses.js +1 -1
  660. package/dist/chunks/interpolate-translations.js +1 -1
  661. package/dist/chunks/isNodeVisible.js +1 -1
  662. package/dist/chunks/memoizeAsync.js +1 -1
  663. package/dist/chunks/messagesContext.js +1 -1
  664. package/dist/chunks/migrateTextCard.js +1 -1
  665. package/dist/chunks/processLayout.js +1 -1
  666. package/dist/chunks/runtime.js +1 -1
  667. package/dist/chunks/state.js +1 -1
  668. package/dist/chunks/typeGuards.js +1 -1
  669. package/dist/chunks/useT9n.js +1 -1
  670. package/dist/chunks/util.js +1 -1
  671. package/dist/components/arcgis-chat-shell/customElement.js +1 -1
  672. package/dist/components/arcgis-chat-ui/customElement.js +1 -1
  673. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +1 -1
  674. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +1 -1
  675. package/dist/components/arcgis-chat-ui/functional/chat-status/customElement.js +1 -1
  676. package/dist/components/arcgis-hub-ai-assistant/customElement.js +1 -1
  677. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +1 -1
  678. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +1 -1
  679. package/dist/components/arcgis-hub-entity-status-card/customElement.js +1 -1
  680. package/dist/components/arcgis-layout/customElement.js +2 -2
  681. package/dist/components/arcgis-layout-column/customElement.js +1 -1
  682. package/dist/components/arcgis-layout-container/customElement.js +1 -1
  683. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +1 -1
  684. package/dist/components/arcgis-layout-node-controls/customElement.js +1 -1
  685. package/dist/components/arcgis-layout-node-editor/customElement.js +1 -1
  686. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +1 -1
  687. package/dist/components/arcgis-layout-node-highlight/customElement.js +1 -1
  688. package/dist/components/arcgis-layout-node-overlay/customElement.js +1 -1
  689. package/dist/components/arcgis-layout-row/customElement.js +1 -1
  690. package/dist/components/arcgis-layout-section/customElement.js +1 -1
  691. package/dist/components/arcgis-nav-card/customElement.js +1 -1
  692. package/dist/components/arcgis-text-card/customElement.js +1 -1
  693. package/dist/components/layouts/components/layout-node/customElement.js +1 -1
  694. package/dist/docs/api.json +1 -1
  695. package/dist/docs/docs.json +1 -1
  696. package/dist/docs/web-types.json +1 -1
  697. package/dist/embed-config.js +1 -1
  698. package/dist/index.js +1 -1
  699. package/dist/loader.js +1 -1
  700. package/package.json +2 -2
  701. package/dist/cdn/23BRE4OB.js +0 -4
  702. package/dist/cdn/246RHHUF.js +0 -4
  703. package/dist/cdn/26IVAQIJ.js +0 -4
  704. package/dist/cdn/27RUJV2T.js +0 -4
  705. package/dist/cdn/2AFAAWHY.js +0 -4
  706. package/dist/cdn/2CGYCZKF.js +0 -4
  707. package/dist/cdn/2CXNVGPV.js +0 -4
  708. package/dist/cdn/2DHFP53W.js +0 -4
  709. package/dist/cdn/2E4RUOEK.js +0 -4
  710. package/dist/cdn/2G7PI3W4.js +0 -4
  711. package/dist/cdn/2GHJUJDX.js +0 -4
  712. package/dist/cdn/2JFJWLXF.js +0 -4
  713. package/dist/cdn/2KJEWZWO.js +0 -4
  714. package/dist/cdn/2MZAIUQ7.js +0 -4
  715. package/dist/cdn/2N74XZ6E.js +0 -4
  716. package/dist/cdn/2OMWUQR6.js +0 -4
  717. package/dist/cdn/2Q423UCM.js +0 -4
  718. package/dist/cdn/2RYEXOFM.js +0 -4
  719. package/dist/cdn/2VKIWQD6.js +0 -4
  720. package/dist/cdn/2YACHLHX.js +0 -4
  721. package/dist/cdn/2YFLYNAG.js +0 -4
  722. package/dist/cdn/327XMNOT.js +0 -4
  723. package/dist/cdn/33HGKHXZ.js +0 -4
  724. package/dist/cdn/34IP2DHG.js +0 -4
  725. package/dist/cdn/35535FBS.js +0 -4
  726. package/dist/cdn/36U5YSO7.js +0 -4
  727. package/dist/cdn/3BGJNORL.js +0 -4
  728. package/dist/cdn/3BJJW5MR.js +0 -4
  729. package/dist/cdn/3BMGRGZE.js +0 -4
  730. package/dist/cdn/3CFKE7UB.js +0 -4
  731. package/dist/cdn/3CXH2DSB.js +0 -4
  732. package/dist/cdn/3F6E36WD.js +0 -4
  733. package/dist/cdn/3I76BQVV.js +0 -4
  734. package/dist/cdn/3IUKY2JD.js +0 -4
  735. package/dist/cdn/3O3C4OAQ.js +0 -4
  736. package/dist/cdn/3QN37YN6.js +0 -4
  737. package/dist/cdn/3SLUVYGW.js +0 -4
  738. package/dist/cdn/3TK4DI33.js +0 -4
  739. package/dist/cdn/3TZCC4H5.js +0 -4
  740. package/dist/cdn/3YFYQFLX.js +0 -4
  741. package/dist/cdn/42OPNUMF.js +0 -4
  742. package/dist/cdn/45LDQJIJ.js +0 -4
  743. package/dist/cdn/4EH73LPH.js +0 -4
  744. package/dist/cdn/4FJGFYDV.js +0 -4
  745. package/dist/cdn/4G6LFC66.js +0 -4
  746. package/dist/cdn/4IZX4NXA.js +0 -4
  747. package/dist/cdn/4K4S3EVD.js +0 -4
  748. package/dist/cdn/4MQ4CYSU.js +0 -4
  749. package/dist/cdn/4O5TGMWQ.js +0 -4
  750. package/dist/cdn/4OBYPH4J.js +0 -4
  751. package/dist/cdn/4OUXHE6H.js +0 -4
  752. package/dist/cdn/4SDXDK3E.js +0 -4
  753. package/dist/cdn/4VTWY7RD.js +0 -4
  754. package/dist/cdn/4X66ER3X.js +0 -4
  755. package/dist/cdn/4ZWBYOLT.js +0 -4
  756. package/dist/cdn/55WIJKZL.js +0 -4
  757. package/dist/cdn/5AHAIWP6.js +0 -4
  758. package/dist/cdn/5AJKFPNT.js +0 -4
  759. package/dist/cdn/5F5M4DBM.js +0 -4
  760. package/dist/cdn/5HFMEY6A.js +0 -4
  761. package/dist/cdn/5HXWIYM3.js +0 -4
  762. package/dist/cdn/5J2RN4N2.js +0 -4
  763. package/dist/cdn/5KDAWTKA.js +0 -4
  764. package/dist/cdn/5KEKSYNP.js +0 -4
  765. package/dist/cdn/5KR2IVJB.js +0 -4
  766. package/dist/cdn/5L3BP4KT.js +0 -4
  767. package/dist/cdn/5LJ2QPTE.js +0 -4
  768. package/dist/cdn/5M5KFLGD.js +0 -4
  769. package/dist/cdn/5MI5MIKU.js +0 -4
  770. package/dist/cdn/5MNB7JGK.js +0 -4
  771. package/dist/cdn/5O6UMPJK.js +0 -4
  772. package/dist/cdn/5QPICGIH.js +0 -4
  773. package/dist/cdn/5RYOZJE3.js +0 -12
  774. package/dist/cdn/5S4XKY22.js +0 -4
  775. package/dist/cdn/5SPSAV6M.js +0 -4
  776. package/dist/cdn/5UTMZNSZ.js +0 -4
  777. package/dist/cdn/5WQEP7AP.js +0 -4
  778. package/dist/cdn/5XOOBHDV.js +0 -4
  779. package/dist/cdn/5XUQMYJP.js +0 -4
  780. package/dist/cdn/5YAXF7VL.js +0 -4
  781. package/dist/cdn/63WNWWHI.js +0 -4
  782. package/dist/cdn/6A4NLU5A.js +0 -4
  783. package/dist/cdn/6BRUXITN.js +0 -4
  784. package/dist/cdn/6CB47K5M.js +0 -4
  785. package/dist/cdn/6CMN4SEL.js +0 -4
  786. package/dist/cdn/6CYXNSJW.js +0 -4
  787. package/dist/cdn/6D7PSVGV.js +0 -4
  788. package/dist/cdn/6ERDQBHM.js +0 -4
  789. package/dist/cdn/6ICVNLOK.js +0 -4
  790. package/dist/cdn/6J3BIRE2.js +0 -4
  791. package/dist/cdn/6KAAJTRF.js +0 -4
  792. package/dist/cdn/6MGFTBD7.js +0 -4
  793. package/dist/cdn/6OEN4EC6.js +0 -4
  794. package/dist/cdn/6OWQDAO6.js +0 -4
  795. package/dist/cdn/6P4HKDWS.js +0 -4
  796. package/dist/cdn/6QTUTY62.js +0 -4
  797. package/dist/cdn/6SR6YHKR.js +0 -4
  798. package/dist/cdn/6TZWPUUR.js +0 -4
  799. package/dist/cdn/6UHR7LGL.js +0 -4
  800. package/dist/cdn/6UOGQ4ET.js +0 -4
  801. package/dist/cdn/6WAVK5RN.js +0 -4
  802. package/dist/cdn/6X5Y4Q4R.js +0 -4
  803. package/dist/cdn/72DOADB5.js +0 -4
  804. package/dist/cdn/753X5ZJH.js +0 -4
  805. package/dist/cdn/772IA2ZW.js +0 -4
  806. package/dist/cdn/7AJ3BYKQ.js +0 -6
  807. package/dist/cdn/7KYOAYAN.js +0 -4
  808. package/dist/cdn/7KYUHDE3.js +0 -4
  809. package/dist/cdn/7L2QEQ3Z.js +0 -4
  810. package/dist/cdn/7LJ66MXA.js +0 -4
  811. package/dist/cdn/7LON3SHO.js +0 -4
  812. package/dist/cdn/7MJIMKKW.js +0 -4
  813. package/dist/cdn/7O4LQKUJ.js +0 -4
  814. package/dist/cdn/7OVQ3ZCF.js +0 -4
  815. package/dist/cdn/7Q2XBQWO.js +0 -4
  816. package/dist/cdn/7SHUV3EE.js +0 -4
  817. package/dist/cdn/7XZC2AUK.js +0 -4
  818. package/dist/cdn/7Y3LOJVL.js +0 -4
  819. package/dist/cdn/7YVDK5B2.js +0 -4
  820. package/dist/cdn/7ZMOED4J.js +0 -4
  821. package/dist/cdn/7ZV6LA7B.js +0 -4
  822. package/dist/cdn/A2WA3FLF.js +0 -4
  823. package/dist/cdn/A3FGXXXW.js +0 -4
  824. package/dist/cdn/A3J4J7TX.js +0 -4
  825. package/dist/cdn/A4RGCC2Z.js +0 -5
  826. package/dist/cdn/A5C6TITH.js +0 -4
  827. package/dist/cdn/A6V6AUQF.js +0 -4
  828. package/dist/cdn/A732D72Z.js +0 -4
  829. package/dist/cdn/A7MVU7Z3.js +0 -4
  830. package/dist/cdn/AA4JJ5ZW.js +0 -4
  831. package/dist/cdn/AAELR64M.js +0 -4
  832. package/dist/cdn/AAHMIMTM.js +0 -4
  833. package/dist/cdn/ABDYWJY7.js +0 -4
  834. package/dist/cdn/ABJG2FYD.js +0 -4
  835. package/dist/cdn/AC4GFDLZ.js +0 -4
  836. package/dist/cdn/ADO6DCED.js +0 -4
  837. package/dist/cdn/AEAMYD4V.js +0 -4
  838. package/dist/cdn/AEAYTCNI.js +0 -4
  839. package/dist/cdn/AEK6ILJQ.js +0 -4
  840. package/dist/cdn/AF7N6SQH.js +0 -4
  841. package/dist/cdn/AI5RCQGW.js +0 -4
  842. package/dist/cdn/AII6S2AA.js +0 -4
  843. package/dist/cdn/AIW4RCKE.js +0 -4
  844. package/dist/cdn/AJ45E4BU.js +0 -4
  845. package/dist/cdn/AK6TCRNM.js +0 -4
  846. package/dist/cdn/ALF6FW3P.js +0 -4
  847. package/dist/cdn/APTLLXJC.js +0 -4
  848. package/dist/cdn/ARRR3WHH.js +0 -4
  849. package/dist/cdn/ASFROY2D.js +0 -4
  850. package/dist/cdn/AU35CECY.js +0 -4
  851. package/dist/cdn/B32LLVRZ.js +0 -4
  852. package/dist/cdn/B3K2OPKA.js +0 -4
  853. package/dist/cdn/B5GFMI66.js +0 -4
  854. package/dist/cdn/B7LTYEFM.js +0 -4
  855. package/dist/cdn/B7POMZVY.js +0 -4
  856. package/dist/cdn/BCNVX3K4.js +0 -4
  857. package/dist/cdn/BCWP6QV7.js +0 -4
  858. package/dist/cdn/BDCG223O.js +0 -4
  859. package/dist/cdn/BE44TDZ5.js +0 -4
  860. package/dist/cdn/BE7764WO.js +0 -4
  861. package/dist/cdn/BEG4UO2U.js +0 -4
  862. package/dist/cdn/BGAVPXSY.js +0 -4
  863. package/dist/cdn/BIPPRYIS.js +0 -4
  864. package/dist/cdn/BKZIK6DQ.js +0 -4
  865. package/dist/cdn/BOIQ7XW7.js +0 -4
  866. package/dist/cdn/BOL4VDGK.js +0 -4
  867. package/dist/cdn/BPTMTRJL.js +0 -4
  868. package/dist/cdn/BRFQJODL.js +0 -4
  869. package/dist/cdn/BTPLMLNF.js +0 -4
  870. package/dist/cdn/BTVZ2EYQ.js +0 -4
  871. package/dist/cdn/BV5N56NX.js +0 -4
  872. package/dist/cdn/BVBIHC24.js +0 -4
  873. package/dist/cdn/BWE6BWTJ.js +0 -4
  874. package/dist/cdn/BX2PYUR4.js +0 -4
  875. package/dist/cdn/BXT4RS44.js +0 -4
  876. package/dist/cdn/BY6RKAJL.js +0 -4
  877. package/dist/cdn/BYKT5QQC.js +0 -4
  878. package/dist/cdn/BZ5RK3IC.js +0 -4
  879. package/dist/cdn/C2LIBCU5.js +0 -4
  880. package/dist/cdn/C2NDYPEV.js +0 -4
  881. package/dist/cdn/C4ZYQVSA.js +0 -4
  882. package/dist/cdn/CAIOZTND.js +0 -4
  883. package/dist/cdn/CC7A2AVY.js +0 -4
  884. package/dist/cdn/CCABA7WZ.js +0 -4
  885. package/dist/cdn/CCFQI5OQ.js +0 -4
  886. package/dist/cdn/CDDBU6VX.js +0 -4
  887. package/dist/cdn/CG475VHU.js +0 -4
  888. package/dist/cdn/CGRVO5SY.js +0 -4
  889. package/dist/cdn/CHAJ7KVK.js +0 -4
  890. package/dist/cdn/CJPABIHI.js +0 -4
  891. package/dist/cdn/CLGD3KL5.js +0 -4
  892. package/dist/cdn/CLNJIZOB.js +0 -4
  893. package/dist/cdn/CMLZASTL.js +0 -4
  894. package/dist/cdn/CNSSK2Q3.js +0 -4
  895. package/dist/cdn/COZSNP2D.js +0 -4
  896. package/dist/cdn/COZTNRBE.js +0 -4
  897. package/dist/cdn/CPGFUI6B.js +0 -4
  898. package/dist/cdn/CRCUYTJD.js +0 -4
  899. package/dist/cdn/CROVQN5N.js +0 -4
  900. package/dist/cdn/CU2QJJ5M.js +0 -4
  901. package/dist/cdn/CUDC7ORS.js +0 -4
  902. package/dist/cdn/D23OFNYV.js +0 -4
  903. package/dist/cdn/D5KE3NVK.js +0 -4
  904. package/dist/cdn/DA2BGYIT.js +0 -52
  905. package/dist/cdn/DCMVD43A.js +0 -4
  906. package/dist/cdn/DFFVHDM6.js +0 -4
  907. package/dist/cdn/DG6DKIS2.js +0 -4
  908. package/dist/cdn/DGMVMYSL.js +0 -4
  909. package/dist/cdn/DHBRETEU.js +0 -4
  910. package/dist/cdn/DJBUSGYA.js +0 -4
  911. package/dist/cdn/DJMTBGD3.js +0 -4
  912. package/dist/cdn/DJOKAGVX.js +0 -4
  913. package/dist/cdn/DKE36R5M.js +0 -4
  914. package/dist/cdn/DO7UK4JT.js +0 -4
  915. package/dist/cdn/DOJ5M5IA.js +0 -4
  916. package/dist/cdn/DR2O3RLL.js +0 -4
  917. package/dist/cdn/DUHVJM6S.js +0 -4
  918. package/dist/cdn/DW57ZH6G.js +0 -4
  919. package/dist/cdn/DWX32M5L.js +0 -4
  920. package/dist/cdn/DXX5XJRG.js +0 -4
  921. package/dist/cdn/DYNVCXJW.js +0 -4
  922. package/dist/cdn/DZC32L7G.js +0 -4
  923. package/dist/cdn/DZE6SLZA.js +0 -4
  924. package/dist/cdn/DZESTUXK.js +0 -4
  925. package/dist/cdn/E4CEHS5R.js +0 -4
  926. package/dist/cdn/E5ZUL63D.js +0 -4
  927. package/dist/cdn/E6UVE34X.js +0 -4
  928. package/dist/cdn/ED25RER3.js +0 -4
  929. package/dist/cdn/EEN52RL7.js +0 -4
  930. package/dist/cdn/EFHRWXGC.js +0 -4
  931. package/dist/cdn/EFQOQVE7.js +0 -4
  932. package/dist/cdn/EI4AFVBT.js +0 -4
  933. package/dist/cdn/EIHKPZVS.js +0 -4
  934. package/dist/cdn/EINX4HFT.js +0 -4
  935. package/dist/cdn/EJLK62YT.js +0 -4
  936. package/dist/cdn/EO2G4QIU.js +0 -4
  937. package/dist/cdn/EQS53QMD.js +0 -4
  938. package/dist/cdn/ESI3655A.js +0 -4
  939. package/dist/cdn/ETVANAWW.js +0 -4
  940. package/dist/cdn/EVS35ZYX.js +0 -4
  941. package/dist/cdn/EYBUA23F.js +0 -4
  942. package/dist/cdn/EZ5ONHDV.js +0 -4
  943. package/dist/cdn/F42L4SQZ.js +0 -4
  944. package/dist/cdn/F5A2PJAI.js +0 -4
  945. package/dist/cdn/F6JGCGYE.js +0 -4
  946. package/dist/cdn/F7KHPTCY.js +0 -4
  947. package/dist/cdn/FAHYSWII.js +0 -4
  948. package/dist/cdn/FCXLV2TW.js +0 -4
  949. package/dist/cdn/FEX6GEGZ.js +0 -59
  950. package/dist/cdn/FFMYJXXN.js +0 -4
  951. package/dist/cdn/FFZ2N2SR.js +0 -4
  952. package/dist/cdn/FGYMXCS6.js +0 -4
  953. package/dist/cdn/FJK2GVLD.js +0 -4
  954. package/dist/cdn/FK64UKPK.js +0 -4
  955. package/dist/cdn/FKH3MV3Z.js +0 -4
  956. package/dist/cdn/FKJBKU5O.js +0 -4
  957. package/dist/cdn/FLILC5KH.js +0 -4
  958. package/dist/cdn/FLSBDOEF.js +0 -4
  959. package/dist/cdn/FNWGEHHB.js +0 -4
  960. package/dist/cdn/FO4OYX3H.js +0 -4
  961. package/dist/cdn/FOQFVJPH.js +0 -4
  962. package/dist/cdn/FOYVZHZK.js +0 -4
  963. package/dist/cdn/FQRVDYRO.js +0 -4
  964. package/dist/cdn/FTL6QD3B.js +0 -4
  965. package/dist/cdn/FZVORFNL.js +0 -4
  966. package/dist/cdn/G3JF22H2.js +0 -4
  967. package/dist/cdn/G3LFTWIJ.js +0 -4
  968. package/dist/cdn/G6BRH65E.js +0 -4
  969. package/dist/cdn/G6L7SR3Q.js +0 -4
  970. package/dist/cdn/G7X63WZR.js +0 -24
  971. package/dist/cdn/GA4ETBPI.js +0 -4
  972. package/dist/cdn/GBM7JXYC.js +0 -4
  973. package/dist/cdn/GC7Y76DW.js +0 -4
  974. package/dist/cdn/GFWFGZHK.js +0 -4
  975. package/dist/cdn/GH6XSAEQ.js +0 -4
  976. package/dist/cdn/GIZKDLMN.js +0 -12
  977. package/dist/cdn/GM43GKJ2.js +0 -4
  978. package/dist/cdn/GNXHOH2F.js +0 -4
  979. package/dist/cdn/GOGC5P2M.js +0 -4
  980. package/dist/cdn/GOPXJGSC.js +0 -4
  981. package/dist/cdn/GT3GDR3B.js +0 -4
  982. package/dist/cdn/GU5NF3SB.js +0 -4
  983. package/dist/cdn/GVV2VRP5.js +0 -4
  984. package/dist/cdn/GWS4IYAT.js +0 -4
  985. package/dist/cdn/GX4LIK7X.js +0 -4
  986. package/dist/cdn/GYR53D7S.js +0 -4
  987. package/dist/cdn/H2COQ3FI.js +0 -4
  988. package/dist/cdn/H2QZC2IP.js +0 -4
  989. package/dist/cdn/H36ZCEO5.js +0 -4
  990. package/dist/cdn/H6TLLTCH.js +0 -4
  991. package/dist/cdn/H7K42STG.js +0 -4
  992. package/dist/cdn/H7NEIFFT.js +0 -4
  993. package/dist/cdn/H7UOCM5P.js +0 -8
  994. package/dist/cdn/HA7C7KJJ.js +0 -4
  995. package/dist/cdn/HADXLWLX.js +0 -4
  996. package/dist/cdn/HB6TFZEB.js +0 -4
  997. package/dist/cdn/HBSBNZTF.js +0 -4
  998. package/dist/cdn/HGC76XYA.js +0 -4
  999. package/dist/cdn/HHWNGQRB.js +0 -4
  1000. package/dist/cdn/HIUXLGD4.js +0 -4
  1001. package/dist/cdn/HM26DYCT.js +0 -4
  1002. package/dist/cdn/HNEDVBUN.js +0 -4
  1003. package/dist/cdn/HNWPMUM6.js +0 -4
  1004. package/dist/cdn/HP6NSK7K.js +0 -4
  1005. package/dist/cdn/HQE5W4RC.js +0 -4
  1006. package/dist/cdn/HTGW4PPB.js +0 -9
  1007. package/dist/cdn/HTH6FGIP.js +0 -4
  1008. package/dist/cdn/HWTZW62T.js +0 -4
  1009. package/dist/cdn/HWX63RQV.js +0 -4
  1010. package/dist/cdn/HXTHWU6G.js +0 -4
  1011. package/dist/cdn/HYSDKVFV.js +0 -4
  1012. package/dist/cdn/I7YE6SGP.js +0 -4
  1013. package/dist/cdn/IBD3JCAZ.js +0 -4
  1014. package/dist/cdn/ICQ2PTGA.js +0 -4
  1015. package/dist/cdn/ID5IQTJP.js +0 -4
  1016. package/dist/cdn/IEGKMAR4.js +0 -4
  1017. package/dist/cdn/IFD5AZJT.js +0 -4
  1018. package/dist/cdn/IFQP4OK4.js +0 -4
  1019. package/dist/cdn/IH44FGF5.js +0 -4
  1020. package/dist/cdn/II3ONRLY.js +0 -4
  1021. package/dist/cdn/IK5ULE6G.js +0 -4
  1022. package/dist/cdn/IKEMMKMQ.js +0 -4
  1023. package/dist/cdn/IKMPL6A3.js +0 -4
  1024. package/dist/cdn/ILXTJEYQ.js +0 -4
  1025. package/dist/cdn/IP3G3MZ3.js +0 -4
  1026. package/dist/cdn/IVTLKEEP.js +0 -4
  1027. package/dist/cdn/IXGLBB6T.js +0 -4
  1028. package/dist/cdn/IY43H25W.js +0 -4
  1029. package/dist/cdn/IYK6BA4U.js +0 -4
  1030. package/dist/cdn/J2RHA3IN.js +0 -4
  1031. package/dist/cdn/J2SAX32T.js +0 -4
  1032. package/dist/cdn/J3WYBKPL.js +0 -4
  1033. package/dist/cdn/J6VCKZVQ.js +0 -4
  1034. package/dist/cdn/JBHZ3EAM.js +0 -4
  1035. package/dist/cdn/JBJ4RN4E.js +0 -4
  1036. package/dist/cdn/JC5Z5BU6.js +0 -3
  1037. package/dist/cdn/JCMOAHUZ.js +0 -4
  1038. package/dist/cdn/JFUTDVI3.js +0 -4
  1039. package/dist/cdn/JFWQEPZG.js +0 -4
  1040. package/dist/cdn/JLJBRS2D.js +0 -4
  1041. package/dist/cdn/JMFTYPEH.js +0 -4
  1042. package/dist/cdn/JMQ63L3Y.js +0 -4
  1043. package/dist/cdn/JNM35QBG.js +0 -4
  1044. package/dist/cdn/JNTEZKEC.js +0 -4
  1045. package/dist/cdn/JP2WNVJW.js +0 -4
  1046. package/dist/cdn/JQGAC2QV.js +0 -4
  1047. package/dist/cdn/JRFRCS4F.js +0 -4
  1048. package/dist/cdn/JRMCBRYB.js +0 -4
  1049. package/dist/cdn/JS4RYOPJ.js +0 -5
  1050. package/dist/cdn/JTOPCDC3.js +0 -5
  1051. package/dist/cdn/JUDRKSS2.js +0 -4
  1052. package/dist/cdn/JWXIKB6O.js +0 -25
  1053. package/dist/cdn/JYTYY4MI.js +0 -4
  1054. package/dist/cdn/K3XWA4NM.js +0 -4
  1055. package/dist/cdn/K4IJRLSW.js +0 -4
  1056. package/dist/cdn/K4LEM7FU.js +0 -4
  1057. package/dist/cdn/K5EHYHM3.js +0 -4
  1058. package/dist/cdn/K5N2WJE6.js +0 -4
  1059. package/dist/cdn/K5SVEZES.js +0 -4
  1060. package/dist/cdn/K6HQ2NSP.js +0 -4
  1061. package/dist/cdn/KA3LSRYR.js +0 -4
  1062. package/dist/cdn/KDAV3G2G.js +0 -4
  1063. package/dist/cdn/KDEEPMAZ.js +0 -51
  1064. package/dist/cdn/KESNNBE3.js +0 -4
  1065. package/dist/cdn/KFEY3MN3.js +0 -4
  1066. package/dist/cdn/KGB3F7C5.js +0 -5
  1067. package/dist/cdn/KGY2GVJP.js +0 -4
  1068. package/dist/cdn/KKBEYBPS.js +0 -4
  1069. package/dist/cdn/KLGIEUEQ.js +0 -42
  1070. package/dist/cdn/KOMJX6DD.js +0 -4
  1071. package/dist/cdn/KQ6RHRLQ.js +0 -4
  1072. package/dist/cdn/KQGLNXOZ.js +0 -4
  1073. package/dist/cdn/KU52PEXV.js +0 -4
  1074. package/dist/cdn/KVJMPCHB.js +0 -4
  1075. package/dist/cdn/L2VTDOFB.js +0 -4
  1076. package/dist/cdn/L2XWZFWZ.js +0 -4
  1077. package/dist/cdn/L5VSN7UK.js +0 -4
  1078. package/dist/cdn/L6VARAKM.js +0 -4
  1079. package/dist/cdn/LAXTQ2NX.js +0 -4
  1080. package/dist/cdn/LEW5WFEM.js +0 -4
  1081. package/dist/cdn/LEYSEXSA.js +0 -4
  1082. package/dist/cdn/LFK2M337.js +0 -4
  1083. package/dist/cdn/LFZOX5FU.js +0 -4
  1084. package/dist/cdn/LG3PV3UZ.js +0 -4
  1085. package/dist/cdn/LGBRUHLU.js +0 -4
  1086. package/dist/cdn/LGQ3UELH.js +0 -4
  1087. package/dist/cdn/LIFNCSZ6.js +0 -4
  1088. package/dist/cdn/LJJZML5C.js +0 -4
  1089. package/dist/cdn/LK4ABPVP.js +0 -4
  1090. package/dist/cdn/LKW7OOW7.js +0 -4
  1091. package/dist/cdn/LKZMDOYT.js +0 -4
  1092. package/dist/cdn/LNSHT5YN.js +0 -4
  1093. package/dist/cdn/LQFOR2BP.js +0 -4
  1094. package/dist/cdn/LTOMTI6W.js +0 -4
  1095. package/dist/cdn/LW3GIMAC.js +0 -4
  1096. package/dist/cdn/LXPJ36DH.js +0 -4
  1097. package/dist/cdn/LXZ5VVQB.js +0 -4
  1098. package/dist/cdn/M25MRPNV.js +0 -4
  1099. package/dist/cdn/M4EGZ6JL.js +0 -4
  1100. package/dist/cdn/M5DIQHME.js +0 -4
  1101. package/dist/cdn/MACI2WTJ.js +0 -4
  1102. package/dist/cdn/MIQ4OAK5.js +0 -4
  1103. package/dist/cdn/MIWOBHUU.js +0 -4
  1104. package/dist/cdn/MJ7BUMJG.js +0 -4
  1105. package/dist/cdn/MLRMRK5D.js +0 -4
  1106. package/dist/cdn/MLYGRYB7.js +0 -4
  1107. package/dist/cdn/MNO5CKFV.js +0 -4
  1108. package/dist/cdn/MNWVQKXQ.js +0 -4
  1109. package/dist/cdn/MO44ENXJ.js +0 -4
  1110. package/dist/cdn/MOJ4EJ7V.js +0 -4
  1111. package/dist/cdn/MPMBDZBE.js +0 -4
  1112. package/dist/cdn/MRCFXQXZ.js +0 -4
  1113. package/dist/cdn/MRGV2WWU.js +0 -4
  1114. package/dist/cdn/MW6MUFC2.js +0 -4
  1115. package/dist/cdn/MXZSNHQC.js +0 -4
  1116. package/dist/cdn/N7OPNFK3.js +0 -4
  1117. package/dist/cdn/NAOKWPYC.js +0 -4
  1118. package/dist/cdn/NFODNE3N.js +0 -4
  1119. package/dist/cdn/NKH5RSWJ.js +0 -4
  1120. package/dist/cdn/NMO3AW4T.js +0 -4
  1121. package/dist/cdn/NNF7XFIL.js +0 -4
  1122. package/dist/cdn/NNWZMV2T.js +0 -4
  1123. package/dist/cdn/NPZKUZMM.js +0 -4
  1124. package/dist/cdn/NTWB4BSN.js +0 -6
  1125. package/dist/cdn/NTXM6TFU.js +0 -4
  1126. package/dist/cdn/NZBNVOGH.js +0 -6
  1127. package/dist/cdn/NZQSDQE3.js +0 -4
  1128. package/dist/cdn/O25GCGCE.js +0 -4
  1129. package/dist/cdn/O4IWFIH4.js +0 -4
  1130. package/dist/cdn/OAAGV7AX.js +0 -4
  1131. package/dist/cdn/OAERCPNT.js +0 -4
  1132. package/dist/cdn/OAMLJQSJ.js +0 -4
  1133. package/dist/cdn/ODMEXQ5P.js +0 -4
  1134. package/dist/cdn/OFKO5N7E.js +0 -4
  1135. package/dist/cdn/OI34WS5X.js +0 -4
  1136. package/dist/cdn/OI7FIIWI.js +0 -4
  1137. package/dist/cdn/OLHQB3O7.js +0 -4
  1138. package/dist/cdn/OMECHPYK.js +0 -4
  1139. package/dist/cdn/ON4SYZPJ.js +0 -4
  1140. package/dist/cdn/OUTXSQNJ.js +0 -5470
  1141. package/dist/cdn/OWNNPZDI.js +0 -4
  1142. package/dist/cdn/OZYNZQIA.js +0 -4
  1143. package/dist/cdn/P6ZBWPD5.js +0 -4
  1144. package/dist/cdn/P7S7TPAP.js +0 -4
  1145. package/dist/cdn/PIVPA5WO.js +0 -4
  1146. package/dist/cdn/PJWYIOQV.js +0 -4
  1147. package/dist/cdn/POGQQOFL.js +0 -4
  1148. package/dist/cdn/POHIJ5TX.js +0 -4
  1149. package/dist/cdn/PPSQTKA2.js +0 -4
  1150. package/dist/cdn/PRLP7RUI.js +0 -4
  1151. package/dist/cdn/PTE5FU7Y.js +0 -4
  1152. package/dist/cdn/PUJQ47DJ.js +0 -4
  1153. package/dist/cdn/PUMFVABR.js +0 -4
  1154. package/dist/cdn/Q4WXYRBM.js +0 -4
  1155. package/dist/cdn/Q5AD3DOK.js +0 -4
  1156. package/dist/cdn/Q7VAYGIT.js +0 -4
  1157. package/dist/cdn/QB3HCK4R.js +0 -4
  1158. package/dist/cdn/QC7TP4VK.js +0 -4
  1159. package/dist/cdn/QCFKRKMU.js +0 -4
  1160. package/dist/cdn/QGHT7LZV.js +0 -4
  1161. package/dist/cdn/QH5SFRM2.js +0 -4
  1162. package/dist/cdn/QHU6OEME.js +0 -4
  1163. package/dist/cdn/QIZKP2N3.js +0 -4
  1164. package/dist/cdn/QJ54CAPF.js +0 -4
  1165. package/dist/cdn/QL66D6V5.js +0 -4
  1166. package/dist/cdn/QLM5NUOE.js +0 -4
  1167. package/dist/cdn/QMFGVVFC.js +0 -4
  1168. package/dist/cdn/QQATUWZF.js +0 -4
  1169. package/dist/cdn/QQXMIAQB.js +0 -4
  1170. package/dist/cdn/QR3C32BS.js +0 -4
  1171. package/dist/cdn/QSJQA2JK.js +0 -4
  1172. package/dist/cdn/QSJYCQMX.js +0 -4
  1173. package/dist/cdn/QTHFZ2RU.js +0 -4
  1174. package/dist/cdn/QWZLBLSD.js +0 -4
  1175. package/dist/cdn/QZJGGWRS.js +0 -4
  1176. package/dist/cdn/R3KDJPF3.js +0 -4
  1177. package/dist/cdn/R63VRZNG.js +0 -4
  1178. package/dist/cdn/R6RCVWU6.js +0 -4
  1179. package/dist/cdn/RDBBRCW7.js +0 -4
  1180. package/dist/cdn/REZYY5TM.js +0 -4
  1181. package/dist/cdn/RIHTOXJJ.js +0 -4
  1182. package/dist/cdn/RMKTICDO.js +0 -4
  1183. package/dist/cdn/RTUO7YL6.js +0 -4
  1184. package/dist/cdn/RULJ5GS2.js +0 -4
  1185. package/dist/cdn/RVCWHLMJ.js +0 -4
  1186. package/dist/cdn/RXFR2SOC.js +0 -4
  1187. package/dist/cdn/S2AJR3L7.js +0 -4
  1188. package/dist/cdn/S2YHPNVL.js +0 -4
  1189. package/dist/cdn/S3KHEJBV.js +0 -4
  1190. package/dist/cdn/S4PP4WMG.js +0 -4
  1191. package/dist/cdn/S55BGDHX.js +0 -4
  1192. package/dist/cdn/S5OAWIQT.js +0 -4
  1193. package/dist/cdn/S7XI5ZYS.js +0 -4
  1194. package/dist/cdn/SEQZHLK2.js +0 -4
  1195. package/dist/cdn/SF7HWWFS.js +0 -5
  1196. package/dist/cdn/SKPBLGZ2.js +0 -4
  1197. package/dist/cdn/SMDKHSY6.js +0 -4
  1198. package/dist/cdn/SMJQ6NLW.js +0 -16
  1199. package/dist/cdn/SNUHES6H.js +0 -4
  1200. package/dist/cdn/SOEKAD3U.js +0 -4
  1201. package/dist/cdn/SQK2A6TV.js +0 -4
  1202. package/dist/cdn/SQPKSQ4W.js +0 -4
  1203. package/dist/cdn/SQYPHMKH.js +0 -4
  1204. package/dist/cdn/STS3T6C2.js +0 -4
  1205. package/dist/cdn/SUCNNJ3G.js +0 -4
  1206. package/dist/cdn/SUZKJLNK.js +0 -4
  1207. package/dist/cdn/SVKUZ7DP.js +0 -4
  1208. package/dist/cdn/SWYPZHE4.js +0 -4
  1209. package/dist/cdn/SXVVW4TY.js +0 -4
  1210. package/dist/cdn/T2274HAL.js +0 -4
  1211. package/dist/cdn/T2CWYVC5.js +0 -4
  1212. package/dist/cdn/T5LXIRCF.js +0 -4
  1213. package/dist/cdn/TAIUHS56.js +0 -4
  1214. package/dist/cdn/TCUGLN6I.js +0 -4
  1215. package/dist/cdn/TDJXT3C2.js +0 -4
  1216. package/dist/cdn/TF2OI3LG.js +0 -4
  1217. package/dist/cdn/THBF5AJE.js +0 -4
  1218. package/dist/cdn/TJ4ATBAT.js +0 -4
  1219. package/dist/cdn/TLVUI42M.js +0 -4
  1220. package/dist/cdn/TM7RM3N7.js +0 -4
  1221. package/dist/cdn/TOGJ7EAX.js +0 -4
  1222. package/dist/cdn/TS5KRAE3.js +0 -4
  1223. package/dist/cdn/TUX6HFFQ.js +0 -4
  1224. package/dist/cdn/TWFCPQAF.js +0 -4
  1225. package/dist/cdn/TWGRQKUU.js +0 -4
  1226. package/dist/cdn/TXSU4AJX.js +0 -4
  1227. package/dist/cdn/TY36FLKF.js +0 -4
  1228. package/dist/cdn/TZN7UXIK.js +0 -4
  1229. package/dist/cdn/TZZ4CK2Y.js +0 -4
  1230. package/dist/cdn/U3VUCHZG.js +0 -4
  1231. package/dist/cdn/U77Q6M5G.js +0 -4
  1232. package/dist/cdn/U7UJ4GQ4.js +0 -4
  1233. package/dist/cdn/UB3SFE2H.js +0 -4
  1234. package/dist/cdn/UBBE3JVH.js +0 -4
  1235. package/dist/cdn/UDJHGP6P.js +0 -4
  1236. package/dist/cdn/UEPTIXTG.js +0 -4
  1237. package/dist/cdn/UFP2AGXW.js +0 -4
  1238. package/dist/cdn/UGZLDLCX.js +0 -4
  1239. package/dist/cdn/UH55HKKM.js +0 -4
  1240. package/dist/cdn/UI5NZJBQ.js +0 -4
  1241. package/dist/cdn/UITQV6BS.js +0 -4
  1242. package/dist/cdn/UJCLMANX.js +0 -4
  1243. package/dist/cdn/ULOSKY7T.js +0 -4
  1244. package/dist/cdn/UPKHIWPU.js +0 -4
  1245. package/dist/cdn/UQKJSAMI.js +0 -4
  1246. package/dist/cdn/UUUYDT4M.js +0 -4
  1247. package/dist/cdn/UV7NTDAG.js +0 -4
  1248. package/dist/cdn/UXN32UBO.js +0 -4
  1249. package/dist/cdn/UY3254EE.js +0 -4
  1250. package/dist/cdn/UYC4AJB7.js +0 -4
  1251. package/dist/cdn/UYNLZFXU.js +0 -4
  1252. package/dist/cdn/UZE4EF3M.js +0 -4
  1253. package/dist/cdn/UZEVS53O.js +0 -4
  1254. package/dist/cdn/UZI5W2RF.js +0 -4
  1255. package/dist/cdn/V2US55JF.js +0 -41
  1256. package/dist/cdn/V4OGL2CC.js +0 -4
  1257. package/dist/cdn/V4PFAUUV.js +0 -4
  1258. package/dist/cdn/V7GNW4W7.js +0 -4
  1259. package/dist/cdn/VB5AU66N.js +0 -4
  1260. package/dist/cdn/VELV2ZIO.js +0 -4
  1261. package/dist/cdn/VFZCOYR2.js +0 -4
  1262. package/dist/cdn/VJBSLM34.js +0 -4
  1263. package/dist/cdn/VJQWCGWB.js +0 -4
  1264. package/dist/cdn/VJUH7XXH.js +0 -4
  1265. package/dist/cdn/VNZZRJ7R.js +0 -4
  1266. package/dist/cdn/VOWCV7Z7.js +0 -4
  1267. package/dist/cdn/VPAYALF4.js +0 -4
  1268. package/dist/cdn/VPYCKLQ3.js +0 -4
  1269. package/dist/cdn/VQ2BNO2G.js +0 -4
  1270. package/dist/cdn/VQ4RP5XB.js +0 -4
  1271. package/dist/cdn/VU3GELKB.js +0 -4
  1272. package/dist/cdn/VVVU2QG3.js +0 -4
  1273. package/dist/cdn/VWZGQK2O.js +0 -4
  1274. package/dist/cdn/VXKN4IFR.js +0 -4
  1275. package/dist/cdn/W2U2PVJ2.js +0 -4
  1276. package/dist/cdn/W527FOSN.js +0 -4
  1277. package/dist/cdn/W6JRJ7LC.js +0 -4
  1278. package/dist/cdn/W6RGT2WI.js +0 -4
  1279. package/dist/cdn/W7KIG6MS.js +0 -4
  1280. package/dist/cdn/WCYSJRR2.js +0 -4
  1281. package/dist/cdn/WDAFYIM5.js +0 -59
  1282. package/dist/cdn/WHI7EEKO.js +0 -4
  1283. package/dist/cdn/WHKPWRXN.js +0 -4
  1284. package/dist/cdn/WHO5TMWB.js +0 -4
  1285. package/dist/cdn/WI6AVLEQ.js +0 -4
  1286. package/dist/cdn/WNF237VL.js +0 -4
  1287. package/dist/cdn/WOZKCPKE.js +0 -4
  1288. package/dist/cdn/WP52OYF5.js +0 -4
  1289. package/dist/cdn/WPGYHDOL.js +0 -4
  1290. package/dist/cdn/WSVFYHKW.js +0 -4
  1291. package/dist/cdn/WUYPQKN5.js +0 -4
  1292. package/dist/cdn/WVTNKXWF.js +0 -4
  1293. package/dist/cdn/WWMWWJD4.js +0 -4
  1294. package/dist/cdn/WXRYYM2Z.js +0 -4
  1295. package/dist/cdn/X6VK7NMQ.js +0 -4
  1296. package/dist/cdn/XANCIVCT.js +0 -4
  1297. package/dist/cdn/XBDCRFAJ.js +0 -4
  1298. package/dist/cdn/XCT4GJK2.js +0 -4
  1299. package/dist/cdn/XD6BW5RF.js +0 -4
  1300. package/dist/cdn/XDI277WO.js +0 -4
  1301. package/dist/cdn/XDVGGY6E.js +0 -4
  1302. package/dist/cdn/XEBYDVWE.js +0 -4
  1303. package/dist/cdn/XEXC5DFU.js +0 -4
  1304. package/dist/cdn/XFCNSE6N.js +0 -4
  1305. package/dist/cdn/XGGPZKAL.js +0 -4
  1306. package/dist/cdn/XKR2KVAH.js +0 -4
  1307. package/dist/cdn/XLIOQWJ7.js +0 -4
  1308. package/dist/cdn/XLL5WMQQ.js +0 -4
  1309. package/dist/cdn/XMAGYSUJ.js +0 -4
  1310. package/dist/cdn/XR5SQOSL.js +0 -4
  1311. package/dist/cdn/XTWM6POF.js +0 -4
  1312. package/dist/cdn/Y3AHB3KC.js +0 -4
  1313. package/dist/cdn/Y3FAYQZA.js +0 -4
  1314. package/dist/cdn/Y5MYSHBM.js +0 -4
  1315. package/dist/cdn/Y6R2O6P4.js +0 -4
  1316. package/dist/cdn/Y7EHRTAK.js +0 -4
  1317. package/dist/cdn/YCCWPZ6X.js +0 -4
  1318. package/dist/cdn/YD3DS5SG.js +0 -4
  1319. package/dist/cdn/YDCEQGWM.js +0 -4
  1320. package/dist/cdn/YFU322P3.js +0 -4
  1321. package/dist/cdn/YHEHL6NO.js +0 -4
  1322. package/dist/cdn/YJZYJK4E.js +0 -4
  1323. package/dist/cdn/YK6LAZ4Y.js +0 -4
  1324. package/dist/cdn/YL6N6LLY.js +0 -4
  1325. package/dist/cdn/YLB2BTXL.js +0 -4
  1326. package/dist/cdn/YMQRQDIX.js +0 -4
  1327. package/dist/cdn/YN242O7Y.js +0 -5
  1328. package/dist/cdn/YN6JTL5T.js +0 -4
  1329. package/dist/cdn/YSKTRK5U.js +0 -11
  1330. package/dist/cdn/YUDVFGZ4.js +0 -4
  1331. package/dist/cdn/YV3XDUIG.js +0 -4
  1332. package/dist/cdn/YYDZW5FW.js +0 -4
  1333. package/dist/cdn/Z36VZFSJ.js +0 -4
  1334. package/dist/cdn/Z3YNXZDJ.js +0 -4
  1335. package/dist/cdn/Z524DHPM.js +0 -4
  1336. package/dist/cdn/Z57L6TKV.js +0 -4
  1337. package/dist/cdn/Z5Y6BX4W.js +0 -4
  1338. package/dist/cdn/Z75K54IQ.js +0 -4
  1339. package/dist/cdn/ZB2MC4PB.js +0 -4
  1340. package/dist/cdn/ZCQKFX4J.js +0 -4
  1341. package/dist/cdn/ZCVMCVQY.js +0 -4
  1342. package/dist/cdn/ZICCR6P7.js +0 -4
  1343. package/dist/cdn/ZINC3YJ2.js +0 -4
  1344. package/dist/cdn/ZIRYBPNU.js +0 -4
  1345. package/dist/cdn/ZMDJLA6H.js +0 -4
  1346. package/dist/cdn/ZONUJ5CH.js +0 -4
  1347. package/dist/cdn/ZP6GMUCW.js +0 -4
  1348. package/dist/cdn/ZQWKZPL7.js +0 -4
  1349. package/dist/cdn/ZR7DYRBL.js +0 -4
  1350. package/dist/cdn/ZRWYNZS5.js +0 -4
  1351. package/dist/cdn/ZSYWZJRC.js +0 -4
  1352. package/dist/cdn/ZVFF7Q5T.js +0 -4
  1353. package/dist/cdn/ZWJKDDQN.js +0 -4
  1354. package/dist/cdn/ZX75NBEW.js +0 -4
  1355. package/dist/cdn/ZXJ6YFFN.js +0 -4
  1356. package/dist/cdn/ZZM3DH27.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.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import{a as j}from"./KASPUAPE.js";import{a as P}from"./U3SUIHKO.js";import"./3HAGACBV.js";import"./M3UADBQF.js";import"./ZC7XDJ6Z.js";import"./SXOYMJHC.js";import"./KNHV2W3X.js";import"./4MVD6O5U.js";import"./A23XV4EI.js";import{h as F,j as w}from"./DTFQ2TMS.js";import{da as M}from"./YWA3PK7L.js";import"./3GPBN72U.js";import"./R5NJO6ST.js";import"./C7ABHGNQ.js";import"./WGCCDA53.js";import"./XFL5OF4O.js";import"./2UK22TTI.js";import"./C6MVZRLU.js";import"./UWHSCXFD.js";import"./Q5WLSCNB.js";import"./UVVKZL7F.js";import"./HEIPIIKA.js";import"./GJGFIIJ2.js";import"./25JFLGEU.js";import"./OMFJT7ER.js";import"./VYH7S47Q.js";import"./LDYL4IKX.js";import"./E62ZSTQL.js";import"./75V2JIXU.js";import"./N2SIOUIA.js";import"./3OSXNAOG.js";import"./JJTJ22X3.js";import"./3J26Q2YH.js";import"./LZHU5CMV.js";import"./4MSBVAQE.js";import"./W6UG6Q3O.js";import"./MGA5WX7L.js";import"./7XWOYGRD.js";import"./WT5D3U6K.js";import"./VVL7VPFS.js";import"./RH6JH2NQ.js";import"./O7VXDEDK.js";import"./GCF6G3ZM.js";import"./YGUSDEHQ.js";import"./GUJUC6MF.js";import"./NH64KMMG.js";import"./LMT2EPHT.js";import"./MWUD44PI.js";import"./5DV5PO4D.js";import"./TVUX5SCP.js";import"./72R5JDLH.js";import"./SYEVQIG5.js";import"./FH4MN4IF.js";import"./BVMEF4CV.js";import"./ENB3SNPP.js";import"./KPICENOW.js";import{c as I}from"./VICPUSUP.js";import"./YOK56Y2B.js";import"./ILWANAGU.js";import"./NNTFCGEL.js";import{a as T}from"./PFXIGLN5.js";import{a as x}from"./PVMT46AP.js";import"./HEOLYWFZ.js";import{b as C,c as H,d as U,e as R,i as W}from"./FOGAPMVQ.js";import{a as p}from"./725WMSXI.js";import"./24MV4I4I.js";import{a as D}from"./AEMM2OSR.js";import"./G6VT7TRW.js";import"./NCCG3R3O.js";import"./SXXOBFGT.js";import"./7T23JTH4.js";import"./OCP4MQL6.js";import"./W4B3BWJV.js";import{c as B}from"./DGQYRJHI.js";import"./7HW36IWL.js";import{a as h,g as V}from"./Q4KH6SZN.js";import{a as k}from"./QWICRBIS.js";import"./6TKKVAYM.js";import"./YKFYQGPN.js";export default $arcgis.t(([])=>{var b={app:["id","height","isScrollable"],map:["id","height"],feedback:["id","height"],external:["url","height"]},A=[...new Set(Object.values(b).reduce((t,e)=>t.concat(e),[]))],K={source:{type:"string",enum:["content","external"],default:"content"},id:{type:"array",items:{type:"string"},maxItems:1,default:[]},url:{type:"string",format:"uri",default:""},height:{type:"number",default:500,minimum:0,maximum:2e3},isScrollable:{type:"boolean",default:!1}},z=(t,e,i)=>{var l,o,r,s,n,a;let c=(l=e.split("/").filter(O=>O&&O!=="properties"))===null||l===void 0?void 0:l[0],{kind:m,id:u,url:y,source:d}=((o=i.embed)===null||o===void 0?void 0:o[c])||{},E={scope:`${e}/source`,schema:{not:{const:""}}},f=!!u?.length&&d==="content",v=!!y&&d==="external";return{source:{type:"Control",scope:`${e}/source`,label:i.intl.t("sourceLabel"),options:{control:"hub-field-input-tile-select",labels:[i.intl.t("contentLabel"),i.intl.t("externalLabel")],descriptions:[i.intl.t("contentDescription"),i.intl.t("externalDescription")],icons:["arcgis-online","brackets-curly"],layout:"horizontal"}},id:{type:"Control",scope:`${e}/id`,options:{control:"hub-field-input-gallery-picker",linkTarget:"siteRelative",catalogs:i.catalogs,facets:i.facets,pickerTitle:{label:i.pickerTitle},widthScale:"l"},rules:[{effect:p.SHOW,conditions:[E,(r=b[m])===null||r===void 0?void 0:r.includes("id")]},{effect:p.RESET,conditions:[v]}]},height:{type:"Control",scope:`${e}/height`,label:i.intl.t("height"),options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"minimum",labelKey:"errors.heightMinimum",icon:!0},{type:"ERROR",keyword:"type",labelKey:"errors.heightMinimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"errors.heightMaximum",icon:!0}]},rules:[{effect:p.SHOW,conditions:[!!d&&((s=b[m])===null||s===void 0?void 0:s.includes("height"))&&(f||v)]}]},url:{type:"Control",scope:`${e}/url`,options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"format",labelKey:"errors.urlError",icon:!0},{type:"SUCCESS",keyword:"format",labelKey:"success.urlSuccess",icon:!0}]},rules:[{effect:p.SHOW,conditions:[!!d&&((n=b[m])===null||n===void 0?void 0:n.includes("url"))]},{effect:p.RESET,conditions:[f]}]},isScrollable:{type:"Control",scope:`${e}/isScrollable`,label:i.intl.t("isScrollable"),options:{control:"hub-field-input-switch",layout:"inline-space-between"},rules:[{effect:p.SHOW,conditions:[E,f&&((a=b[m])===null||a===void 0?void 0:a.includes("isScrollable"))]}]}}[t]},_=()=>["source",...A].reduce((t,e)=>(t[e]=K[e],t),{}),S=(t,e)=>["source",...A].map(i=>z(i,t,e)),N=()=>({type:"object",properties:{viewportAll:{type:"object",properties:_()},shouldApplyBreakpoints:{type:"boolean",default:!1},viewportMobile:{type:"object",properties:_()},viewportTablet:{type:"object",properties:_()},viewportDesktop:{type:"object",properties:_()}}}),q=t=>({type:"Layout",elements:[{type:"Section",label:t.intl.t("viewportAll.label"),options:{section:"block",scale:"m",iconStart:"desktop",description:t.intl.t("viewportAll.description")},elements:S("/properties/viewportAll/properties",t),rules:[{effect:p.DISABLE,conditions:[{scope:"/properties/shouldApplyBreakpoints",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/shouldApplyBreakpoints",label:t.intl.t("shouldApplyBreakpoints.label"),options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Section",label:t.intl.t("viewportMobile.label"),options:{section:"block",scale:"m",iconStart:"mobile",description:t.intl.t("viewportMobile.description")},elements:S("/properties/viewportMobile/properties",t),rules:[{effect:p.SHOW,conditions:[{scope:"/properties/shouldApplyBreakpoints",schema:{const:!0}}]}]},{type:"Section",label:t.intl.t("viewportTablet.label"),options:{section:"block",scale:"m",iconStart:"tablet",description:t.intl.t("viewportTablet.description")},elements:S("/properties/viewportTablet/properties",t),rules:[{effect:p.SHOW,conditions:[{scope:"/properties/shouldApplyBreakpoints",schema:{const:!0}}]}]},{type:"Section",label:t.intl.t("viewportDesktop.label"),options:{section:"block",scale:"m",iconStart:"monitor",description:t.intl.t("viewportDesktop.description")},elements:S("/properties/viewportDesktop/properties",t),rules:[{effect:p.SHOW,conditions:[{scope:"/properties/shouldApplyBreakpoints",schema:{const:!0}}]}]}]}),g=["viewportMobile","viewportTablet","viewportDesktop"],L=["viewportAll",...g],G=t=>{let e=t.currentUser;return[...e?["myContent","organization","livingAtlas"]:[],"world"].map(o=>{let s=h(F("",o,"item",{user:e,collectionNames:[]})),n=w("","item","feedback");return n.scope.filters[0].predicates.push({typekeywords:{not:"Draft"}}),s.collections=[w("","item","appAndMap"),n],s})},Y=t=>[{label:t.t("facets.type"),key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:t.t("facets.tags"),key:"tags",field:"tags",aggLimit:15,operation:"OR",display:"multi-select",options:[]},{label:t.t("facets.categories"),key:"categories",field:"categories",aggLimit:15,operation:"OR",display:"tree",options:[]},{label:t.t("facets.modified"),key:"modified",display:"date-range",state:"open",field:"modified",max:new Date().toString()}],J="",Q=J,X=function(t,e,i,l){var o=arguments.length,r=o<3?e:l===null?l=Object.getOwnPropertyDescriptor(e,i):l,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,l);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(r=(o<3?s(r):o>3?s(e,i,r):s(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r},$=class{constructor(t){W(this,t),this.arcgisCompositeEmbedFieldChange=R(this,"arcgisCompositeEmbedFieldChange",7),this.arcgisEmbedFieldChange=R(this,"arcgisEmbedFieldChange",7),this._schema=N(),this.translationFunc=(e,i,l)=>this._intl.t(e,i,l),this.handleEmbedEditorChange=async e=>{let{values:i,valid:l}=e.detail;e.stopPropagation();let o=x(h(this._embed),h(i)),r=k(o,"shouldApplyBreakpoints");o.key||D("key",V("embed"),o),await Promise.all((r?g:["viewportAll"]).map(async n=>{var a,c,m,u;let y=this.getEmbedValue(o,n,"source");if(y!=="external"){let d=(a=this.getEmbedValue(o,n,"id"))===null||a===void 0?void 0:a[0],E=(c=this.getEmbedValue(this._embed,n,"id"))===null||c===void 0?void 0:c[0],f=this.getEmbedValue(this._embed,n,"source");if(d){if(d!==E||y!==f){let{results:v}=await M({targetEntity:"item",filters:[{predicates:[{id:d}]}]},{requestOptions:(m=this._context)===null||m===void 0?void 0:m.hubRequestOptions});this.setEmbedValue(o,n,"kind",B((u=v[0])===null||u===void 0?void 0:u.type)||void 0)}}else this.setEmbedValue(o,n,"kind","app")}else this.setEmbedValue(o,n,"kind","external")})),this._embed=o;let s=this.transformEmbedToEmit(this._embed);this.arcgisCompositeEmbedFieldChange.emit(s),this.arcgisEmbedFieldChange.emit({values:s,valid:l})},this.embed=void 0,this.catalogs=void 0,this.facets=void 0,this.pickerTitle=void 0}async componentWillLoad(){this._intl=await T.loadIntlForComponent(this.element),this._embed=this.transformEmbedForEditor(this.embed)}get _context(){return I()}get _uiSchema(){return P(this._intl,q({intl:this._intl,catalogs:this.catalogs||G(this._context),facets:this.facets||Y(this._intl),pickerTitle:this.pickerTitle||this._intl.t("pickerTitle"),embed:this._embed}))}getEmbedValue(t,e,i){return k(t,`${e}.${i}`)}setEmbedValue(t,e,i,l){let o=t[e];(o||{})[i]=l}transformEmbedForEditor(t){let e=h(t);return e.shouldApplyBreakpoints=g.some(i=>Object.keys(t[i]||{}).length>0),L.forEach(i=>{if(this.getEmbedValue(t,i,"kind")!=="external"){let l=this.getEmbedValue(t,i,"id");l&&this.setEmbedValue(e,i,"id",[l]),this.setEmbedValue(e,i,"source","content")}else this.setEmbedValue(e,i,"source","external")}),e}transformEmbedToEmit(t){let e=h(t),i=k(t,"shouldApplyBreakpoints");return L.forEach(o=>{let r=this.getEmbedValue(e,o,"kind"),s=this.getEmbedValue(e,o,r==="external"?"url":"id");!s?.length&&delete e[o]}),(i?g:["viewportAll"]).forEach(o=>{var r;let s=this.getEmbedValue(e,o,"kind");if(s!=="external"){let a=this.getEmbedValue(t,o,"id");a&&this.setEmbedValue(e,o,"id",a[0])}A.filter(a=>{var c;return!(!((c=b[s])===null||c===void 0)&&c.includes(a))}).forEach(a=>{var c;return(c=e[o])===null||c===void 0?!0:delete c[a]}),(r=e[o])===null||r===void 0||delete r.source}),i&&delete e.viewportAll,i||g.forEach(o=>{delete e[o]}),delete e.shouldApplyBreakpoints,e}render(){return C(H,{key:"c8e8451678b031dce0c2964a150eb9d65b4134d4","data-element":"embed-field"},C("arcgis-configuration-editor",{key:"c20dfaca4be00be7464d88e83325eb9b21285b2a",onArcgisConfigurationEditorChange:this.handleEmbedEditorChange,schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this._embed}))}static get assetsDirs(){return["locales"]}get element(){return U(this)}};X([j("_embed")],$.prototype,"_uiSchema",null);$.style=Q;return $},"config")
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import{b as e,c as a,i as r}from"./FOGAPMVQ.js";import{g as t}from"./Q4KH6SZN.js";import"./QWICRBIS.js";import"./YKFYQGPN.js";var c=".sc-hub-section-stepper-h{display:block}.sc-hub-section-stepper-h:not(.configuration-editor__last-child){margin-bottom:2rem}",o=c,i=class{constructor(s){r(this,s),this.params=void 0}componentWillLoad(){this._key=t("stepper")}render(){let{scale:s}=this.params.uiSchema.options||{};return e(a,{key:this._key},e("calcite-stepper",{key:"b23abf99b32c3c7c76c9ed8819b10c9f8cdd543b",class:{[this.params.variant]:!!this.params.variant},scale:s||this.params.scale},e("slot",{key:"f261d6e7765b5193bbbd43d2eb97764d2a51533f"})))}};i.style=o;export{i as hub_section_stepper};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import"./YKFYQGPN.js";var a="Pri na\u010D\xEDtavan\xED grafu sa vyskytla chyba.",e="Nie je mo\u017En\xE9 aplikova\u0165 Log transform\xE1ciu na z\xE1porn\xE9 alebo nulov\xE9 hodnoty.",o="Nie je mo\u017En\xE9 aplikova\u0165 Square Root transform\xE1ciu na z\xE1porn\xE9 hodnoty.",n="Pri na\u010D\xEDtavan\xED vrstvy sa vyskytla chyba. URL = ${ url }. ID polo\u017Eky port\xE1lu = ${ portalItemId }.",t="Polia [${ fieldNames }] definovan\xE9 v konfigur\xE1cii sa nena\u0161li vo vrstve.",r="${ dataPath } mus\xED by\u0165 jedine\u010Dn\xFD. S\xE9ria pomenovan\xE1 ${ seriesName } m\xE1 id (${ seriesID }), ktor\xE9 u\u017E je pou\u017E\xEDvan\xE9 inou s\xE9riou.",i="${ dataPath } nem\xF4\u017Ee vykon\xE1va\u0165 agreg\xE1ciu bez po\u010Dtov na ne\u010D\xEDselnom poli.",s="${ dataPath } ch\xFDba vlastnos\u0165 s n\xE1zvom ${ missingProperty }.",l="${ dataPath } mus\xED by\u0165 krat\u0161\xED ne\u017E ${ limit } znakov.",d="${ dataPath } nesmie ma\u0165 menej ne\u017E ${ limit } polo\u017Eiek.",m="${ dataPath } nesmie ma\u0165 viac ne\u017E ${ limit } polo\u017Eiek.",u="${ dataPath } mus\xED ma\u0165 aspo\u0148 jeden znak bez pr\xE1zdneho miesta.",p="${ dataPath } nesmie ma\u0165 ${ additionalProperty }.",v="${ dataPath } mus\xED by\u0165 rovn\xE9 jednej z t\xFDchto povolen\xFDch hodn\xF4t: ${ allowedValues }.",y="${ dataPath } sa mus\xED zhodova\u0165 so sch\xE9mou jednej z t\xFDchto: ${ schemaOptions }.",h="Korela\u010Dn\xE9 grafy s proporcion\xE1lnymi symbolmi nie s\xFA podporovan\xE9. Bola aplikovan\xE1 predvolen\xE1 ve\u013Ekos\u0165 symbolu.",c="Zlyhanie na\u010D\xEDtania vstupn\xFDch \xFAdajov.",$="Oper\xE1cia queryBins nie je v tejto slu\u017Ebe podporovan\xE1.",g="O\u010Dak\xE1van\xFD typ s\xE9rie pri indexe ${ seriesIndex } je '${ expectedType }', ale namiesto toho bolo prijat\xE9 '${ receivedType }'",P="alebo",b={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:o,layerLoadFailure:n,layerFieldsNotFound:t,duplicateSeriesID:r,nonNumericAggregation:i,requiredProperty:s,minLength:l,minItems:d,maxItems:m,whiteSpacePattern:u,additionalProperty:p,enumValues:v,anyOfValues:y,bubbleChartValidateMsg:h,queryError:c,queryBinsNotSupported:$,invalidSeriesType:g,or:P};export{p as additionalProperty,y as anyOfValues,h as bubbleChartValidateMsg,b as default,a as defaultError,r as duplicateSeriesID,v as enumValues,g as invalidSeriesType,t as layerFieldsNotFound,n as layerLoadFailure,m as maxItems,d as minItems,l as minLength,e as negativeValueInDataForLogTransformation,o as negativeValueInDataForSqrtTransformation,i as nonNumericAggregation,P as or,$ as queryBinsNotSupported,c as queryError,s as requiredProperty,u as whiteSpacePattern};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ function f(i,t,l){var o,v,n,d,s,a;let e;if(t==="event")e="#";else if(t==="none")e=void 0;else switch(i.type){default:e={self:(o=i.links)===null||o===void 0?void 0:o.self,siteRelative:l?`${l}${((v=i.links)===null||v===void 0?void 0:v.siteRelative)||""}`:(n=i.links)===null||n===void 0?void 0:n.siteRelative,workspaceRelative:l?`${l}${((d=i.links)===null||d===void 0?void 0:d.workspaceRelative)||""}`:(s=i.links)===null||s===void 0?void 0:s.workspaceRelative}[t];break;case"Hub Site Application":e=(a=i.links)===null||a===void 0?void 0:a.self;break}return e}function c(i,t,l,o){var v,n,d,s,a,e;let k;if(l==="event")k="#";else if(l==="none")k=void 0;else switch(i.type){default:k={self:(v=i.links)===null||v===void 0?void 0:v.self,siteRelative:o?`${o}${((n=i.links)===null||n===void 0?void 0:n.siteRelative)||""}`:(d=i.links)===null||d===void 0?void 0:d.siteRelative,workspaceRelative:o?`${o}${((s=i.links)===null||s===void 0?void 0:s.workspaceRelative)||""}`:(a=i.links)===null||a===void 0?void 0:a.workspaceRelative}[l];break;case"Hub Site Application":k=(e=i.links)===null||e===void 0?void 0:e.self;break}return k}export{f as a,c as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import{a as t}from"./ENB3SNPP.js";import{h as e}from"./KPICENOW.js";function m(r){return e(t(r.url),r)}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.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import{a as et,c as It,d as Ct,e as Pt}from"./BFL65ZL4.js";import"./GFUBYZ5L.js";import{b as Dt}from"./XB66V7HT.js";import{a as tt}from"./MRXFRDZU.js";import{a as J}from"./5R7XEGWB.js";import{a as X}from"./SBE6DU6E.js";import b from"./F7UJY4FR.js";import"./44O3NTOS.js";import{a as $}from"./MGMJ3GAD.js";import{a as wt}from"./CDDLCK6P.js";import{a as Z}from"./PY7GMKUZ.js";import{a as Y,b as _}from"./E7HTRGSB.js";import a from"./3VQE5VRR.js";import"./P7NSYUQ2.js";import"./CDT5WPFH.js";import{b as yt}from"./ZXW2TERG.js";import{a as V}from"./FHFZOKNF.js";import{a as mt}from"./PVEQZSH2.js";import{h as gt}from"./T7GEHVMC.js";import{b as bt}from"./LURHBMUG.js";import"./QI4UEMH4.js";import{b as B}from"./W3FCMUSY.js";import"./4HDMKPII.js";import{b as dt}from"./K7C5EJGU.js";import"./3HAGACBV.js";import"./M3UADBQF.js";import"./ZC7XDJ6Z.js";import"./SXOYMJHC.js";import"./KNHV2W3X.js";import"./4MVD6O5U.js";import{n as pt}from"./SWZQLYYR.js";import"./3ANV22GL.js";import"./XX62BYZI.js";import"./I4NBBKIL.js";import"./OKWPNJJY.js";import"./UGY6OXOZ.js";import"./UPJ7Y7VX.js";import"./73IPOD4V.js";import"./HKW6Y3H5.js";import"./VJVDISXY.js";import"./TAUOIUCO.js";import"./6PBX4GCA.js";import"./HTBGLNQM.js";import"./PLEIRPVW.js";import"./GO7IFNU3.js";import"./MPAOPMHA.js";import{N as ht,O as K,X as ut,o as ct}from"./YWA3PK7L.js";import"./3GPBN72U.js";import"./R5NJO6ST.js";import"./C7ABHGNQ.js";import"./WGCCDA53.js";import"./XFL5OF4O.js";import"./2DTLIGA3.js";import"./2UK22TTI.js";import"./C6MVZRLU.js";import"./UWHSCXFD.js";import"./Q5WLSCNB.js";import"./UVVKZL7F.js";import"./HEIPIIKA.js";import"./GJGFIIJ2.js";import{f as z,k as U}from"./25JFLGEU.js";import{d as q}from"./OMFJT7ER.js";import"./VYH7S47Q.js";import"./LDYL4IKX.js";import"./E62ZSTQL.js";import"./75V2JIXU.js";import"./N2SIOUIA.js";import"./3OSXNAOG.js";import"./JJTJ22X3.js";import"./3J26Q2YH.js";import"./LZHU5CMV.js";import"./4MSBVAQE.js";import"./W6UG6Q3O.js";import"./MGA5WX7L.js";import"./7XWOYGRD.js";import"./WT5D3U6K.js";import{h as lt}from"./VVL7VPFS.js";import"./RH6JH2NQ.js";import"./O7VXDEDK.js";import"./GCF6G3ZM.js";import"./YGUSDEHQ.js";import"./GUJUC6MF.js";import"./NH64KMMG.js";import"./LMT2EPHT.js";import"./MWUD44PI.js";import"./5DV5PO4D.js";import"./TVUX5SCP.js";import"./72R5JDLH.js";import"./SYEVQIG5.js";import"./FH4MN4IF.js";import"./BVMEF4CV.js";import"./ENB3SNPP.js";import"./KPICENOW.js";import{a as k}from"./FLF6XDPI.js";import{c as N,g as Tt,j as it}from"./VICPUSUP.js";import"./YOK56Y2B.js";import{a as h}from"./ILWANAGU.js";import"./NNTFCGEL.js";import{a as j}from"./PFXIGLN5.js";import"./PVMT46AP.js";import"./HEOLYWFZ.js";import{b as s,c as A,d as L,e as d,h as F,i as G}from"./FOGAPMVQ.js";import"./WWJZBD7Z.js";import"./24MV4I4I.js";import"./AEMM2OSR.js";import"./G6VT7TRW.js";import"./NCCG3R3O.js";import{j as rt}from"./SXXOBFGT.js";import{o as ot}from"./7T23JTH4.js";import"./OCP4MQL6.js";import"./W4B3BWJV.js";import"./DGQYRJHI.js";import"./7HW36IWL.js";import"./Q4KH6SZN.js";import"./QWICRBIS.js";import"./6TKKVAYM.js";import"./YKFYQGPN.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.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ function f(t){let s=t;if(/^#(?:[0-9a-fA-F]{3})$/.test(t)){let[n,r,i]=t.substring(1).split("");s=`#${n}${n}${r}${r}${i}${i}`}return s}export{f as a};
@@ -0,0 +1,5 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import{b}from"./APMMRXXF.js";import{a as h}from"./FLF6XDPI.js";import{b as e,c as d,e as f,i as s}from"./FOGAPMVQ.js";import{k as g}from"./SXXOBFGT.js";import"./7T23JTH4.js";import"./OCP4MQL6.js";import"./W4B3BWJV.js";import"./DGQYRJHI.js";import"./7HW36IWL.js";import"./QWICRBIS.js";import"./YKFYQGPN.js";var u=`:host{visibility:hidden;position:fixed;bottom:1.5rem;display:block;opacity:0;inset-inline-end:1.5rem;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),
5
+ opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:1100;--nonmodal-padding-block:0.75rem;--nonmodal-padding-inline:1rem}:host(.open){visibility:visible;opacity:1;transition-delay:0ms}.container{display:flex;align-items:center;justify-content:center;overflow-y:hidden;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -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)}.nonmodal{display:flex;flex-direction:column;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -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);border-radius:0.25rem;max-height:80vh;max-inline-size:45rem}.header{display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);border-block-end-width:1px;border-start-end-radius:0.25rem;border-start-start-radius:0.25rem;flex:0 0 auto;max-inline-size:100%;min-inline-size:0px}.title{display:flex;flex:1 1 auto;align-items:center;padding-block:var(--nonmodal-padding-block);padding-inline:var(--nonmodal-padding-inline)}slot[name="header"]::slotted(*),::slotted([slot="header"]){margin:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;color:var(--calcite-color-text-1)}.content{display:block;overflow:auto;background-color:var(--calcite-color-foreground-1);block-size:100%;max-block-size:100%;padding:var(--nonmodal-padding-block)}.footer{box-sizing:border-box;display:flex;justify-content:space-between;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);border-block-start-width:1px;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;flex:0 0 auto;inline-size:100%;margin-block-start:auto;padding-block:var(--nonmodal-padding-block);padding-inline:var(--nonmodal-padding-inline);z-index:var(--calcite-z-index-header)}.back{display:block;margin-inline-end:auto}.secondary{display:block;margin-inline:0.25rem}slot[name="primary"]{display:block}@media (max-width: 576px){:host{bottom:0px}:host{left:0px}:host{right:0px}.footer{flex-direction:column}.back,.secondary{margin:0px}.back,.secondary{margin-block-end:0.25rem}}`,m=u,y=class{constructor(i){s(this,i),this.open=!1}render(){return e(d,{key:"5fa2edaf9a2c549a21a48e1d45ebbe54959963fd",class:{open:this.open},"data-element":"nonmodal"},e("div",{key:"13b801586ab65bed63b1c25670db76985996d6fd",class:"container"},e("div",{key:"7e5c26d9d4de77afdf9b8557c46506554db39022",class:"nonmodal"},e("div",{key:"516c7a14df6cf38085aac92917879d444d33805f",class:"header"},e("header",{key:"289699e760eda4279bf87312582b6d26a582ccc0",class:"title"},e("slot",{key:"96508bb939231fd2b28dcecc9fca7ccd268895d8",name:"header"}))),e("div",{key:"cdd82bc382348d772791e6887073ef1511ab4918",class:"content"},e("slot",{key:"8a41fb3520b6d590a9a0eabb72080b4d830bc2a7",name:"content"})),e("div",{key:"5eb79173a966b8f2bf9f3ef03f4094f5b931a80d",class:"footer"},e("span",{key:"af377b46d6682effd31aa42696fe31f35610a8d1",class:"back"},e("slot",{key:"8046dc24aa050b1a159a2cb9f1cf6be3ff689331",name:"back"})),e("span",{key:"6b5b44a8df456a77f57cd66c7e3f03ec92d4bc79",class:"secondary"},e("slot",{key:"9de26083cbbfd18b143465dee6cab2f9430c83ce",name:"secondary"})),e("span",{key:"a421614f0d1784f1e63ea47d6539a605677254bf",class:"primary"},e("slot",{key:"6b5e3bbffcfccb4fa19f9fe3e920cd84f8ba3f69",name:"primary"}))))))}};y.style=m;var v=":host{display:flex;flex-direction:column;gap:0.5rem;line-height:1.375}calcite-notice{margin-bottom:1rem}",k=v,x=class{constructor(i){s(this,i),this.config={},this.intl=void 0,this.anonTrackingConfigured=!1,this.thirdPartyTrackingConfigured=!1,this.orgInfo=void 0,this.globalPrivacyControl=navigator?.globalPrivacyControl||!1}get allTrackingConfigured(){return this.anonTrackingConfigured&&this.thirdPartyTrackingConfigured}get eueiDisabled(){var i;return((i=this.orgInfo)===null||i===void 0?void 0:i.eueiEnabled)===!1}renderEueiNotice(){let i;return this.eueiDisabled&&(i=e("calcite-notice",{kind:"info",open:!0,slot:"content",width:"full"},e("span",{slot:"title"},this.intl.t("eueiNotice.title",{orgName:this.orgInfo.name})),e("span",{slot:"message"},this.intl.t("eueiNotice.message",{orgName:this.orgInfo.name})),e("calcite-link",{href:"https://doc.arcgis.com/en/arcgis-online/administer/configure-general.htm#ESRI_SECTION1_1530A7E7A1644852B30CDFCB060A46E9",iconEnd:"launch",slot:"link",target:"_blank"},this.intl.t("eueiNotice.link")))),i}renderGpcNotice(){let i;return this.globalPrivacyControl&&(i=e("calcite-notice",{kind:"info",open:!0,slot:"content",width:"full"},e("span",{slot:"title"},this.intl.t("gpcNotice.title")),e("span",{slot:"message"},this.intl.t("gpcNotice.message")))),i}renderConsentMessage(){var i,t,n,a;let c=(n=(t=(i=this.config)===null||i===void 0?void 0:i.disclaimer)===null||t===void 0?void 0:t[0])===null||n===void 0?void 0:n.text,o=(a=this.config)===null||a===void 0?void 0:a.policyURL,p=o&&g(o)?"launch":void 0,r="consentNotice.noTracking";this.allTrackingConfigured?r="consentNotice.allTracking":this.anonTrackingConfigured?r="consentNotice.anonymousTracking":this.thirdPartyTrackingConfigured&&(r="consentNotice.thirdPartyTracking");let l=[this.renderGpcNotice(),this.renderEueiNotice(),e("div",{key:"esri-privacy-policy"},this.intl.t(r)),e("calcite-link",{href:"https://www.esri.com/privacy","icon-end":"launch",key:"esri-privacy-link"},this.intl.t("consent.esriPrivacyLink"))];return c&&l.push(e("div",{innerHTML:b(c||"")})),o&&l.push(e("calcite-link",{href:o,"icon-end":p},this.intl.t("consent.customerConsentLink"))),l}render(){return e(d,{key:"db39d3b37807fdb7c1992b1e5f14fd65f493b8c5"},this.renderConsentMessage())}};x.style=k;var w=":host{margin-top:1.5rem;display:block}calcite-switch{margin-inline-end:0.5rem}",C=w,P=class{get eueiDisabled(){var i;return((i=this.orgInfo)===null||i===void 0?void 0:i.eueiEnabled)===!1}get controlsDisabled(){return this.eueiDisabled||this.globalPrivacyControl}constructor(i){s(this,i),this.hubInternalUserPrivacySettingsChanged=f(this,"hubInternalUserPrivacySettingsChanged",7),this.userSettings=void 0,this.intl=void 0,this.anonTrackingConfigured=!1,this.thirdPartyTrackingConfigured=!1,this.orgInfo=void 0,this.globalPrivacyControl=navigator?.globalPrivacyControl||!1,h(this,"handleSettingsChange")}handleSettingsChange(i){let{value:t,checked:n}=i.target,a={};t.split(",").forEach(o=>{a[o]=n}),this.hubInternalUserPrivacySettingsChanged.emit(Object.assign(Object.assign({},this.userSettings),a))}render(){var i,t,n;return e("form",{key:"bceb0cb5882d9f5c8ea59bb79b12c487580e6671"},e("calcite-accordion",{key:"ed86774aa5671942cbaf365a82ef666f33f5f327","icon-position":"start"},e("calcite-accordion-item",{key:"917e93eaaa93f0f531ecec94aabeeb44dcebd47f",heading:this.intl.t("necessary.heading")},e("p",{key:"6409497db7c180312b4774f133a853135e0888b2"},this.intl.t("necessary.helpText"))),this.anonTrackingConfigured&&e("calcite-accordion-item",{heading:this.intl.t("anonymous.heading")},e("calcite-switch",{checked:(i=this.userSettings)===null||i===void 0?void 0:i.performance,disabled:this.controlsDisabled,label:this.intl.t("anonymous.heading"),onCalciteSwitchChange:this.handleSettingsChange,slot:"actions-end",value:"performance"}),e("p",null,this.intl.t("anonymous.helpText"))),this.thirdPartyTrackingConfigured&&e("calcite-accordion-item",{heading:this.intl.t("thirdParty.heading")},e("calcite-switch",{checked:((t=this.userSettings)===null||t===void 0?void 0:t.targeting)||((n=this.userSettings)===null||n===void 0?void 0:n.functional),disabled:this.controlsDisabled,label:this.intl.t("thirdParty.heading"),onCalciteSwitchChange:this.handleSettingsChange,slot:"actions-end",value:"targeting,functional"}),e("p",null,this.intl.t("anonymous.helpText")))))}};P.style=C;export{y as arcgis_hub_nonmodal,x as arcgis_privacy_consent,P as arcgis_privacy_settings};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import{d as p}from"./5K6HVGF2.js";import{a as y,b as w,c as f}from"./IN6Q5ESF.js";import{a as c}from"./NH64KMMG.js";import{c as b}from"./72R5JDLH.js";import{b as l}from"./ENB3SNPP.js";import{h as I}from"./KPICENOW.js";function E(e){let o={q:`id: ${e.id} AND group: ${e.groupId}`,start:1,num:10,sortField:"title",authentication:e.authentication,httpMethod:"POST"};return b(o).then(d=>{let i=!1;if(d.total>0)return i=d.results.some(r=>r.id===e.id),i})}async function W(e){return E(e).then(async o=>{if(o)return{itemId:e.id,shortcut:!0,notSharedWith:[]};let{owner:d,confirmItemControl:i}=e,r=await e.authentication.getUsername(),a=d||r;if(a!==r){let h=!1,u=!1;return Promise.all([c({username:r,authentication:e.authentication}),c({username:a,authentication:e.authentication}),p(e)]).then(([m,t,n])=>{let g=!!i;return h=m.role==="org_admin"&&!m.roleId,u=m.orgId!==t.orgId,C(m,g,n,h,t,e)}).then(m=>{let[{revert:t}={promise:Promise.resolve({notAdded:[]}),revert:n=>Promise.resolve(n)}]=m;return Promise.all(m.map(({promise:n})=>n)).then(()=>v(e,h,u)).then(n=>t(n))})}return v(e)}).then(o=>{if(o.notSharedWith.length)throw Error(`Item ${e.id} could not be shared to group ${e.groupId}.`);return o})}function C(e,o,d,i,r,a){let h=[];if(a.groupId!==e.favGroupId){if(o){if(!i)throw Error(`This item can not be shared to shared editing group ${a.groupId} by ${e.username} as they not the item owner or org admin.`);h.push(s(e,e,!1,`Error adding ${e.username} as member to edit group ${a.groupId}. Consequently item ${a.id} was not shared to the group.`,a),s(e,r,!0,d==="none"?`Error adding user ${r.username} to edit group ${a.groupId}. Consequently item ${a.id} was not shared to the group.`:`Error promoting user ${r.username} to admin in edit group ${a.groupId}. Consequently item ${a.id} was not shared to the group.`,a))}else if(i)h.push(s(e,e,!1,`Error adding ${e.username} as member to view group ${a.groupId}. Consequently item ${a.id} was not shared to the group.`,a));else if(d==="none")throw new Error(`This item can not be shared by ${e.username} as they are not a member of the specified group ${a.groupId}.`)}return h}async function v(e,o=!1,d=!1){let i=await e.authentication.getUsername(),r=e.owner||i,a=`${l(e)}/content/items/${e.id}/share`;return(r===i||o&&!d)&&(a=`${l(e)}/content/users/${r}/items/${e.id}/share`),e.params={groups:e.groupId,confirmItemControl:e.confirmItemControl},I(a,e)}function s(e,o,d,i,r){let a=o.groups||[],h=a.find(t=>t.id===r.groupId);if(e.orgId!==o.orgId)throw Error(`User ${o.username} is not a member of the same org as ${e.username}. Consequently they can not be added added to group ${r.groupId} nor can item ${r.id} be shared to the group.`);if(!h&&a.length>511)throw Error(`User ${o.username} already has 512 groups, and can not be added to group ${r.groupId}. Consequently item ${r.id} can not be shared to the group.`);let u,m;if(h)d&&h.userMembership.memberType==="member"?(u=f({id:r.groupId,users:[o.username],newMemberType:"admin",authentication:r.authentication}).then(t=>{let n=t.results.reduce((g,$)=>($.success||g.push($.username),g),[]);return Promise.resolve({notAdded:n})}).catch(()=>({notAdded:[o.username]})),m=t=>f({id:r.groupId,users:[o.username],newMemberType:"member",authentication:r.authentication}).then(()=>t).catch(()=>t)):(u=Promise.resolve({notAdded:[]}),m=t=>Promise.resolve(t));else{let t=d?"admins":"users";u=y({id:r.groupId,[t]:[o.username],authentication:r.authentication}).then(n=>{if(n.errors&&n.errors.length)throw n.errors[0];return n}).catch(()=>({notAdded:[o.username]})),m=n=>w({id:r.groupId,users:[o.username],authentication:r.authentication}).then(()=>n)}return{promise:u.then(t=>{if(t.notAdded.length)throw new Error(i);return t}),revert:m}}export{E as a,W as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import{a as A}from"./P7NSYUQ2.js";import{a as m}from"./CDT5WPFH.js";import{a as f}from"./QI4UEMH4.js";import{a as o}from"./PLEIRPVW.js";import{a as P,c as C}from"./GO7IFNU3.js";import{N as E,X as v,Y as R,da as i,o as b}from"./YWA3PK7L.js";import{p as y}from"./25JFLGEU.js";import{j as O}from"./3J26Q2YH.js";import{f as p}from"./LMT2EPHT.js";import{a as h}from"./7HW36IWL.js";export default $arcgis.t(([])=>{var _=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},re=50,j=512,ae=j-37,I=m((e,t)=>P({url:e,id:t}).then(n=>p(n)).catch(n=>(h.warn(`Failed to fetch related feature ${t}`,n.message),null)),{scope:"relatedFeatures",getKey(e,t){return t.toString()}});async function oe(e,t){let n=[];return Number(O(e))>=0&&(n=await Promise.all(t.map(r=>I(e,r))),n.forEach((r,a)=>{r&&(r.id=t[a])})),n.filter(Boolean)}var se=m(C,{scope:"content",ttl:3e3});function le(e){let t=n=>!!(n.geometry||D(n.discussion));return{type:"FeatureCollection",features:e.filter(t).map(N).flat()}}function N(e){let t={type:"Point",coordinates:[]},{geometry:n}=e,r=_(e,["geometry"]),a=[];return n?.type==="GeometryCollection"?n.geometries.forEach((s,l)=>{a.push({type:"Feature",geometry:s||t,properties:Object.assign(Object.assign({},r),{__index__:l})})}):a.push({type:"Feature",geometry:n||t,properties:r}),a}function ie(e){let t=e.map(r=>r.geometry).filter(r=>{var a;return!!(!((a=r?.coordinates)===null||a===void 0)&&a.length)}),n=null;return t.length>1?n={type:"GeometryCollection",geometries:t}:t.length===1&&(n=t[0]),n}function ce(e,t,n){let{source:r,type:a,id:s,features:l}=f(e),c=`${r}://${a}/${s}_${t}`,u=l||[],d=Array.from(new Set([...u,...n]));return d.length&&(c+=`?id=${d.join(",")}`),c}function D(e){if(!e)return;let{features:t}=f(e);if(t)return t}var ue=e=>{if(!e.layer)return!1;let{layer:{displayField:t,fields:n}}=e,{name:r}=n.find(({type:a})=>a==="esriFieldTypeOID");return!!t&&t!==r};function de({type:e}){if(e==="Point"||e==="MultiPoint")return"point";if(e==="LineString"||e==="MultiLineString")return"line";if(e==="Polygon"||e==="MultiPolygon")return"polygon"}function fe(e,t){var n;return(n=e?.name)!==null&&n!==void 0?n:t}async function me({entityTitle:e,discussion:t,channels:n,requestOptions:r}){let a=Date.now(),s=Object.assign({data:{discussion:t&&!t.endsWith("%")?`${t}%`:t,sortBy:E.UPDATED_AT,sortOrder:b.DESC}},r);n&&(s.data.channels=n);let[l,{total:c}]=await Promise.all([R(s),v(Object.assign(Object.assign({},s),{data:Object.assign(Object.assign({},s.data),{num:1})}))]),u=new Blob([l],{type:"text/csv"}),d=URL.createObjectURL(u),T=y(e);return A(d,T),{duration:(Date.now()-a)/1e3,count:c,size:u.size}}function g(){return{role:[o.WRITE,o.READWRITE,o.MANAGE,o.MODERATE,o.OWNER]}}function F(e){let t=g();return Object.assign(Object.assign({},t),{id:e})}function ge(){let e=g();return Object.assign(Object.assign({},e),{hasUserPosts:!0})}function w(){return{role:[o.READ,o.WRITE,o.READWRITE,o.MANAGE,o.MODERATE,o.OWNER]}}function S(e){let t=w();return Object.assign(Object.assign({},t),{id:e})}function M(e){let t={role:[o.READ,o.READWRITE,o.MANAGE,o.MODERATE,o.OWNER]};return Object.assign(Object.assign({},t),{id:e})}async function he(e){var t;return i({targetEntity:"channel",filters:[{predicates:[!((t=e.allowedChannelIds)===null||t===void 0)&&t.length?F(e.allowedChannelIds):g()]}]},{num:e.num,requestOptions:e.requestOptions})}async function pe(e){var t;return i({targetEntity:"channel",filters:[{predicates:[!((t=e.allowedChannelIds)===null||t===void 0)&&t.length?S(e.allowedChannelIds):w()]}]},{num:e.num,requestOptions:e.requestOptions})}function Oe(e){var t;return!((t=e.allowedChannelIds)===null||t===void 0)&&t.length?i({targetEntity:"channel",filters:[{predicates:[M(e.allowedChannelIds)]}]},{num:e.num,requestOptions:e.requestOptions}):Promise.resolve({total:0,results:[],hasNext:!1,next(){throw new Error("No more results")}})}function ye(e){var t;return!((t=e.allowedChannelIds)===null||t===void 0)&&t.length?i({targetEntity:"channel",filters:[{predicates:[{role:[o.MANAGE,o.MODERATE,o.OWNER],id:e.allowedChannelIds}]}]},{num:e.num,requestOptions:e.requestOptions}):Promise.resolve({total:0,results:[],hasNext:!1,next(){throw new Error("No more results")}})}return{a:re,b:j,c:ae,d:I,e:oe,f:se,g:le,h:N,i:ie,j:ce,k:D,l:ue,m:de,n:fe,o:me,p:g,q:F,r:ge,s:he,t:pe,u:Oe,v:ye}},"config")
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import{a as $}from"./SEKUOA4O.js";import{a as v}from"./4FEO5HBY.js";import{a as n}from"./OARMG6DM.js";import"./ICNKIF7T.js";import{a as p}from"./6ADOVUEZ.js";import{C as h,D as g,E as u,G as b,I as m,d as a,p as d}from"./UKS7S5U7.js";import"./YKFYQGPN.js";function f(s,e,t,i){{let o=s,r=n(i,`${e}.${s}`);if(r)o=r;else{let c=n(t,s);c&&(o=c)}return o}}var l=class extends h{constructor(){super(...arguments),this._messages=p(),this.layoutNodeConfig={tag:"arcgis-nav-card",name:"Nav Card",canEdit:!0,canMove:!0,defaults:{},i18n:{label:"Nav card",description:"A card for navigation",editLabel:"Edit nav card",deleteLabel:"Delete nav card",repositionUpLabel:"Move nav card up",repositionDownLabel:"Move nav card down"}},this.sections=[],this.translations={},this.isEditMode=!1,this.debug=!1}static{this.properties={layoutNodeConfig:32,node:0,sections:0,translations:0,isEditMode:5,highlightedNode:0,utils:0,debug:5,highlightHandler:0,unHighlightHandler:0}}static{this.shadowRootOptions=d}get _visibleSections(){return this.sections.filter(e=>$(e))}get _hasSections(){return this._visibleSections.length>0}_getSectionClasses(e){let t=v(e);return e.id===this.highlightedNode?.id&&t.push("current-node"),t}renderTabs(){let e;return this._hasSections&&(e=a`<calcite-tabs scale=l><calcite-tab-nav data-node-id=${this.node.id??b} @mouseenter=${this.highlightHandler} @mouseleave=${this.unHighlightHandler} slot=title-group>${this._visibleSections.map((t,i)=>a`<calcite-tab-title .selected=${i===0} .tab=${t.label}>${f(t.label??"",this._messages._t9nLocale,this._messages,this.translations)}</calcite-tab-title>`)}</calcite-tab-nav>${this._visibleSections.map((t,i)=>a`<calcite-tab .selected=${i===0} .tab=${t.label}><arcgis-layout-section class=${g(this._getSectionClasses(t).join(" "))} .highlightedNode=${this.highlightedNode} .debug=${this.debug} .isEditMode=${this.isEditMode} .node=${t} style=${u(t.styles)} .utils=${this.utils}></arcgis-layout-section></calcite-tab>`)}</calcite-tabs>`),e}render(){return this.renderTabs()}};m("arcgis-nav-card",l);export{l as ArcgisNavCard};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import{a as w,b as x}from"./GFDE5UD2.js";import{a as m,b as g,c as p,d as f,e as b}from"./GF6N4TN2.js";import{a as u}from"./DA4SVMES.js";import{a as d,b as l}from"./BDG5D3XJ.js";import{a as r}from"./QWICRBIS.js";function A(a,o){var t;return((t=o.serviceStatus)===null||t===void 0?void 0:t["hub-downloads"])==="online"&&(l(a)||d(a))}function D(a){let o=[];return d(a)?o=m(a):l(a)&&(o=!!r(a,"extendedProps.serverExtractCapability")?f():p()),o}function U(a){let{entity:o,context:t}=a,e=[];A(o,t)?e=D(o):u(o)&&(e=g(o));let F=(r(o,"extendedProps.additionalResources")||[]).map(E);return b(o).formats.reduce((c,n)=>{if(!n.hidden){let s;if(w(n)){let i=x(n);s=F[i]}else e.forEach(i=>{i.format===n.key&&(s=i)});c.push(s)}return c},[])}function E(a){return{type:"static",label:a.name||a.isDataSource&&"{{dataSource:translate}}"||"{{noTitle:translate}}",url:a.url}}export{A as a,D as b,U as c};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import d from"./F7UJY4FR.js";import"./44O3NTOS.js";import{a as f}from"./PY7GMKUZ.js";import c from"./3VQE5VRR.js";import"./P7NSYUQ2.js";import"./CDT5WPFH.js";import{a as b,b as Q,c as X,d as x}from"./AP35IDFS.js";import{a as F}from"./FHFZOKNF.js";import{a as H}from"./QI4UEMH4.js";import"./3HAGACBV.js";import"./M3UADBQF.js";import"./ZC7XDJ6Z.js";import"./SXOYMJHC.js";import"./KNHV2W3X.js";import"./4MVD6O5U.js";import a from"./WMO4ZQFG.js";import"./TAUOIUCO.js";import"./PLEIRPVW.js";import"./GO7IFNU3.js";import"./MPAOPMHA.js";import{N as K,O as A,X as Y,o as q}from"./YWA3PK7L.js";import"./3GPBN72U.js";import"./R5NJO6ST.js";import"./C7ABHGNQ.js";import"./WGCCDA53.js";import"./XFL5OF4O.js";import"./2DTLIGA3.js";import"./2UK22TTI.js";import"./C6MVZRLU.js";import"./UWHSCXFD.js";import"./Q5WLSCNB.js";import"./UVVKZL7F.js";import"./HEIPIIKA.js";import"./GJGFIIJ2.js";import"./25JFLGEU.js";import"./OMFJT7ER.js";import"./VYH7S47Q.js";import"./LDYL4IKX.js";import"./E62ZSTQL.js";import"./75V2JIXU.js";import"./N2SIOUIA.js";import"./3OSXNAOG.js";import"./JJTJ22X3.js";import"./3J26Q2YH.js";import"./LZHU5CMV.js";import"./4MSBVAQE.js";import"./W6UG6Q3O.js";import"./MGA5WX7L.js";import"./7XWOYGRD.js";import"./WT5D3U6K.js";import"./VVL7VPFS.js";import"./RH6JH2NQ.js";import"./O7VXDEDK.js";import"./GCF6G3ZM.js";import"./YGUSDEHQ.js";import"./GUJUC6MF.js";import"./NH64KMMG.js";import{f as O,g as W}from"./LMT2EPHT.js";import"./MWUD44PI.js";import"./5DV5PO4D.js";import"./TVUX5SCP.js";import"./72R5JDLH.js";import"./SYEVQIG5.js";import"./FH4MN4IF.js";import"./BVMEF4CV.js";import"./ENB3SNPP.js";import"./KPICENOW.js";import{a as M}from"./FLF6XDPI.js";import{c as ie,j as se}from"./VICPUSUP.js";import"./YOK56Y2B.js";import{a as w}from"./ILWANAGU.js";import"./NNTFCGEL.js";import{a as P}from"./PFXIGLN5.js";import"./PVMT46AP.js";import"./HEOLYWFZ.js";import{b as u,c as S,d as E,e as I,h as $,i as _}from"./FOGAPMVQ.js";import"./24MV4I4I.js";import"./AEMM2OSR.js";import"./G6VT7TRW.js";import"./NCCG3R3O.js";import"./SXXOBFGT.js";import"./7T23JTH4.js";import"./OCP4MQL6.js";import"./W4B3BWJV.js";import"./DGQYRJHI.js";import{a as z}from"./7HW36IWL.js";import"./Q4KH6SZN.js";import{a as T}from"./QWICRBIS.js";import"./6TKKVAYM.js";import"./YKFYQGPN.js";export default $arcgis.t(([k,{watch:L},{webMercatorToGeographic:B},ne,J,{isAbortError:ce},{generalize:he},le,de,,{o:V,p:j},{g:ee,h:Z,m:N},{b:te}])=>{var ae={type:"Polygon",coordinates:[[[180,-90],[180,90],[-180,90],[-180,-90],[180,-90]]]},ue=e=>new Promise(t=>setTimeout(t,e)),pe=(e,t,i,s,a)=>{let r=Math.ceil(e/t);return r>s?(z.warn(`Discussions requests exceeds desired threshold, throttling to ${a}ms per batch.`),a):i/r},ge=async(e,t,i=10,s=!0)=>{let a=async r=>{var o;let n=(o=r.start)!==null&&o!==void 0?o:1,h=Object.assign({data:Object.assign({num:i,relations:[A.REPLIES,A.CHANNEL,A.CHANNEL_ACL],sortBy:K.UPDATED_AT,sortOrder:q.DESC,start:n},r)},t),c=Y(h);if(n===1){let{total:l}=await c,d=n+i,g=[c],v=s?pe(l,i,2500,10,250):0;for(;d<=l;)await ue(v),g.push(...await a(Object.assign(Object.assign({geometry:ae},r),{start:d}))),d=d+i;return g}return[c]};try{let r=await Promise.all([...await a(Object.assign(Object.assign({},e),{discussion:`${e.discussion}%?id=%`})),...await a(Object.assign(Object.assign({},e),{geometry:ae,discussion:`${e.discussion}%`}))]),o=[],n=r.map(({items:h})=>h).flat().filter(h=>o.includes(h.id)?!1:(o.push(h.id),!0));return ee(n)}catch(r){let{message:o}=r;z.error("Could not fetch on-map discussions:",o)}},me=".sc-arcgis-hub-discussions-map-integrator-h{display:block}@media only screen and (min-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{padding:0px}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + 4.5rem);left:calc(var(--left-offset) - 5rem - 25rem);max-height:calc(var(--panel-height) - 6rem)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset));left:calc(var(--left-offset))}}@media only screen and (max-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) + 0.05rem);top:calc(var(--top-offset) + var(--panel-height) * .5);max-height:calc(var(--panel-height) * .5);height:calc(var(--panel-height) * .5);left:0.95rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:100%}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + var(--panel-height) * .45)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) - 0.95rem);top:calc(var(--panel-height) + 3.2rem);left:0.5rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:1rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:100%}}",fe=me,m=function(e,t,i,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},p=class{constructor(e){_(this,e),this.arcgisHubMapPopoverOpen=I(this,"arcgisHubMapPopoverOpen",7),this.arcgisHubMapPopoverClear=I(this,"arcgisHubMapPopoverClear",7),this.hubTelemetry=I(this,"hubTelemetry",7),this.initialized=!1,this.cachedFeatures=[],this.unsavedExistingGeometry=[],this.cachedRelatedFeatureGeometry={},this.layerIds=[],this.persistAttribute="__persist__",this.view=void 0,this.discussionsRef=void 0,this.drawRef=void 0,this.searchRef=void 0,this.theme={},this.discussion=void 0,this.entity=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.isHub=void 0,this.isMobile=void 0,this.activeFeature=void 0,this.activeMapDiscussion=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=ie(),this.viewHeight=void 0,this.viewWidth=void 0,this.preview=!0,this.previewHeight=void 0,this.leftOffset=void 0,this.topOffset=void 0,this.mapActionNoticeActive=void 0,this.activePost=void 0,this.activeGraphicDetails=void 0,M(this,"makeGraphic","makeCalloutGraphic","setCalloutSymbolOnPointerMove","calculateOffsets","handlePointerMove","handleMapClickDiscussions","handleViewSizeChange","handleMapDrawSelect","handleEditActiveGraphic","handleDeleteActiveGraphic","handlePostPendingGraphic","addRelatedFeature","removeRelatedFeature","cancelAddRelatedFeature","getRelatedFeature","renderAddLocation","renderRemoveLocation","renderPostLocationEditOptions","renderPostLocationPrimaryOptions")}async componentWillLoad(){this.initialize(),this.intl=await P.loadIntlForComponent(this.element),V()}connectedCallback(){se(this)}disconnectedCallback(){this.teardown(),this.disconnectContext()}eventTargetIsDiscussionsRef(e){return e.target===this.discussionsRef||e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef}emitHubTelemetry(e){this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:this.sketchPostId,channelId:this.currentDiscussionsRef.channelId}))}async initialize(){let{view:e,_context:t}=this;if(this.saveInitialDrawOptions(),e&&t){if(await e.when(),this.addGeometryGraphicsLayer(),this.addStagedGeometryGraphicsLayer(),this.addCalloutGraphicsLayer(),this.addHighlightGraphicsLayer(),await this.fetchSubject(),this.fetchPosts(),this.handleViewSizeChange(),this.cachedFeatures.length)try{await this.refreshFeatures(this.cachedFeatures)}catch(i){console.warn("Cannot add discussions features to the map",i.message)}this.setDiscussionsRefHasMap(!0),this.mapViewSizeChangeHandler=L(()=>[e.height,e.width],this.handleViewSizeChange),this.mapViewCenterChangeHandler=L(()=>e.center,this.calculateOffsets),this.initialized=!0}}attachView(e,t){let{initialized:i}=this;e&&e!==t?(i&&this.teardown(),this.initialize()):!e&&i&&this.teardown()}attachdiscussionsRef(e){let{initialized:t}=this;e&&!t&&this.initialize()}handleDrawRefUpdate(){this.saveInitialDrawOptions()}calculateOffsets(){let{view:e,preview:t,graphicGeometry:i,isOffset:s,previewHeight:a,activeMapDiscussion:r}=this;if(e&&r&&i){let{container:o}=e,{top:n,left:h,right:c}=o.getBoundingClientRect(),l=e.toScreen(i),d=s?l.x+5:l.x,g=s?l.y-34:l.y;this.leftOffset=t?d+h:c,this.topOffset=t?g+n-a:n}}handlePreviewDidLoad(e){let{detail:t}=e;this.previewHeight=0,this.previewHeight=t}handlePreviewExpanded(){this.preview=!1}handleSearchWidgetPanelToggled(e){let{target:t,detail:i}=e,{searchRef:s}=this;t===s&&!i&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}handleGeometryGoTo(e){let{detail:t}=e,i=[...this.geometryGraphicsLayer.graphics.toArray(),...this.calloutGraphicsLayer.graphics.toArray()],s=[];if(t){let a=t.id,r=t.parentId?t.parentId:t.id;s=i.filter(({attributes:{id:o,parentId:n}})=>o===r||a&&n===a)}else{let{activeMapDiscussion:{locationId:a}}=this;s=i.filter(({attributes:{relatedFeatureId:r}})=>r===a)}s.length&&this.goTo(s)}handleGeometryFeature(e){let{detail:{post:t,create:i}}=e;this.unsavedExistingGeometry=[],this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:a}})=>a!==t.id),Z(t)&&(this.cachedFeatures=[...this.cachedFeatures,...Z(t)],i&&this.cachedFeatures.map(a=>{let{properties:{id:r}}=a,{parentId:o}=t;return r===o&&("replyCount"in a.properties||(a.properties.replyCount=0),a.properties.replyCount+=1),a}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0))}handleGeometryFeatureDeleted(e){let{detail:{id:t,parentId:i}}=e;this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:s}})=>s!==t).map(s=>{let{properties:{id:a}}=s;return a===i&&(s.properties.replyCount-=1),s}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0)}handleGeometryFeatureSelect(e){this.selectFeature(e.detail)}selectFeature(e){let{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}=e;this.clearHoverActiveGraphics();let r=this.getMatchingGraphic(e);if(r&&this.addHighlightGraphic(!1,r,b.ACTIVE,!1),a){let o=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s);i&&(o=this.makeGraphic(e)),this.goTo(o)}else{let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:l}}=n;return i?i==h:c==t&&(l===null||s==l)});if(o){this.addHighlightGraphic(!0,o,b.ACTIVE,!1);let n=i?this.cachedRelatedFeatureGeometry[i].arcgis:this.getGraphicById(t,s);this.goTo(n)}}}handleGeometryFeatureHighlight(e){let{detail:{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}}=e;this.clearHoverActiveGraphics();let r=this.getMatchingGraphic(e.detail);if(r&&this.addHighlightGraphic(!1,r,b.HOVER,!1),!a){let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:l}}=n;return i?i==h:c==t&&(l===null||s==l)});o&&this.addHighlightGraphic(!0,o,b.HOVER,!1)}}handleFeatureRemove(e){let{detail:{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}}=e;this.removeGraphic(t,i,s,a)}removeGraphic(e,t,i,s){let{currentDiscussionsRef:{unsavedFeatures:a,unsavedRelatedFeatures:r,unsavedExistingFeatures:o}}=this;if(s)if(t)this.currentDiscussionsRef.unsavedRelatedFeatures=[...r.slice(0,i),...r.slice(i+1,r.length)];else{this.currentDiscussionsRef.unsavedFeatures=[...a.slice(0,i),...a.slice(i+1,a.length)];let n=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(i);this.unsavedGeometryGraphicsLayer.graphics.remove(n)}else{let n=d=>{let{attributes:{relatedFeatureId:g,id:v,__index__:y}}=d;return t?t==g:v==e&&(y===null||+i==+y)},h=this.calloutGraphicsLayer.graphics.find(n);h&&(h.visible=!1);let c=this.geometryGraphicsLayer.graphics.find(n);c&&(c.visible=!1);let l=this.postToGeoJSON(null,{id:e,index:+i});this.currentDiscussionsRef.unsavedExistingFeatures=[...o.filter(({properties:{id:d,index:g}})=>!(e===d&&+i==+g)),l]}this.clearHoverActiveGraphics(!0)}handleGeometryDrawCreate(e){let{detail:{post:t,postType:i}}=e;this.sketchPostType=i,this.sketchPostId=t?.id,this.drawRef.buffer=!1,this.drawRef.disablePrimaryOptions=!0,this.drawRef.disableEditOptions=!0,this.drawRef.drawTip=void 0,this.drawRef.enableMapTips=!0}handleGeometryDrawTypeSelect(e){this.mapActionNoticeActive=!0,this.drawRef.setActiveTool(e.detail)}handleGeometryDrawDone(){this.mapActionNoticeActive=!1,this.drawRef.setActiveTool(void 0),this.deletePendingGraphics()}handleGeometryDrawCancel(){this.drawRef.setActiveTool(void 0)}handleActiveToolChange(e){let{detail:t}=e;t&&(this.deletePendingGraphics(),this.arcgisHubMapPopoverClear.emit())}handleGeometryDrawEdit(e){let{detail:{properties:{id:t,index:i,unsaved:s}}}=e;this.preview=!1,this.editGraphic(t,i,s)}editGraphic(e,t,i){let{drawRef:s}=this,{geometry:a}=i?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(t):this.getGraphicById(e,t);this.hideLayers(),this.goTo(a),this.sketchPostId=e,this.sketchIndex=t,this.sketchIsUnsaved=i,this.drawRef.geometry=void 0,setTimeout(()=>{s.geometry=a,s.disablePrimaryOptions=!0,s.disableEditOptions=!1,s.buffer=!1,s.enableMapTips=!0},0)}handlePostEditorReady(e){this.activePost=e.detail}handleGeometryDrawEditCancel(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers()}handleDrawGraphicsChange(e){var t;let{detail:{graphics:i,save:s,canceled:a,unsaved:r}}=e,{sketchPostId:o,sketchIndex:n,sketchIsUnsaved:h}=this,c=i.getItemAt(0);if(c.geometry=he(c.geometry.clone(),Q(this.view),!1),s&&this.drawRef.disablePrimaryOptions){this.drawRef.disableEditOptions=!0;let l=B(c.geometry),d=O(l);if(h){let v=this.currentDiscussionsRef.unsavedFeatures.map((R,D)=>(D===n&&(R.geometry=d),R));this.currentDiscussionsRef.unsavedFeatures=v;let y=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(n);y.geometry=c.geometry,!((t=y.attributes)===null||t===void 0)&&t.pending&&setTimeout(()=>{this.activeGraphicDetails={id:o,index:n,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},150)}else{let v=this.postToGeoJSON(d,{index:n,id:o});this.currentDiscussionsRef.unsavedExistingFeatures=[...this.currentDiscussionsRef.unsavedExistingFeatures.filter(({properties:{index:D}})=>D!==n),v];let y=this.getGraphicById(o,n);this.unsavedExistingGeometry.filter(({id:D,index:C})=>D===o&&C===n).length||this.unsavedExistingGeometry.push({id:o,index:n,geometry:y.geometry.clone()}),y.geometry=c.geometry}this.drawRef.forceReset(),this.showLayers();let g=N(d);this.emitHubTelemetry(w.dictionary.category.content.action.update.label.location.details[g])}else if(a)this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers();else if(r){this.drawRef.forceReset(),c.symbol=x[c.geometry.type](b.DEFAULT,this.themeWithDefaults[c.geometry.type]),c.attributes={pending:!0},this.addGraphicsToGraphicsLayer(this.unsavedGeometryGraphicsLayer,[c]);let l=[];i.forEach(d=>{let g=B(d.geometry),v=O(g);l.push({type:"Feature",geometry:v,properties:{id:this.sketchPostId,pending:!0}});let y=N(v);this.emitHubTelemetry(w.dictionary.category.content.action.create.label.location.details[y])}),this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures,...l],setTimeout(()=>{this.activeGraphicDetails={id:o,index:this.unsavedGeometryGraphicsLayer.graphics.length-1,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},250)}}handleGeometryDrawReset(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.restoreInitialDrawOptions(),this.showLayers()}handleGeometryClearAll(){this.resetStagedFeatures(),this.restoreInitialDrawOptions(),this.showLayers(),this.unsavedGeometryGraphicsLayer.graphics.removeAll();let e=t=>{t.visible=!0};this.geometryGraphicsLayer.graphics.forEach(e),this.calloutGraphicsLayer.graphics.forEach(e),this.mapActionNoticeActive=!1,this.activePost=void 0}async handleMapDrawSelect(e){let{detail:t}=e,{targetLayer:i}=this,{results:s}=await this.view.hitTest(t,{include:i}),a=j(s);if(a?.graphic&&this.drawRef.disableEditOptions){let{graphic:r}=a,o=r.layer.objectIdField,n=r.attributes[o];if(this.cacheRelatedFeatureGeometry([n]),!r.attributes.hasOwnProperty(i.displayField)){let{features:[l]}=await i.queryFeatures({objectIds:[n],outFields:["*"],returnGeometry:!1});l&&(r.attributes=l.attributes)}let h=this.currentDiscussionsRef.unsavedRelatedFeatures.map(l=>l.objectId),c=this.renderAddLocation;h.includes(n)&&(c=this.renderRemoveLocation),this.selectedGraphic=r,this.drawRef.enableMapTips=!1,this.arcgisHubMapPopoverOpen.emit({geometry:r.geometry,view:this.view,render:c,source:"action"}),this.highlightGraphic(r)}else this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.highlightGraphic()}handleDiscussionsClose(e){(e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef)&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}addRelatedFeature(){let e=this.selectedGraphic.layer.objectIdField,t=this.selectedGraphic.attributes[e];this.selectedGraphic.geometry=B(this.selectedGraphic.geometry);let i={postId:this.sketchPostId,objectId:t,feature:O(this.selectedGraphic.toJSON())};this.currentDiscussionsRef.unsavedRelatedFeatures=[...this.currentDiscussionsRef.unsavedRelatedFeatures,i],this.highlightGraphic(),this.arcgisHubMapPopoverClear.emit(),this.drawRef.enableMapTips=!0,this.emitHubTelemetry(w.dictionary.category.interaction.action.select.label.content)}removeRelatedFeature(){let{currentDiscussionsRef:{unsavedRelatedFeatures:e}}=this,t=this.selectedGraphic.layer.objectIdField,i=this.selectedGraphic.attributes[t],s=this.currentDiscussionsRef.unsavedRelatedFeatures.findIndex(a=>a.objectId==i);this.currentDiscussionsRef.unsavedRelatedFeatures=[...e.slice(0,s),...e.slice(s+1,e.length)],this.cancelAddRelatedFeature(),this.emitHubTelemetry(w.dictionary.category.interaction.action.deselect.label.content)}cancelAddRelatedFeature(){this.arcgisHubMapPopoverClear.emit(),this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.clearHighlights()}setDiscussionsRefHasMap(e){this.discussionsRef&&(this.discussionsRef.hasMap=e)}teardown(){this.clearHighlights(),this.removeViewHandlers(),this.removeLayers(),this.resetSelect(),this.setDiscussionsRefHasMap(!1)}async fetchSubject(){let{discussion:e,entity:t,entityId:i,entityType:s,_context:a,discussionSettings:r}=this,o=await te({discussion:e,entity:t,entityId:i,entityType:s,discussionSettings:r},a.hubRequestOptions,!0);Object.assign(this,o)}fetchPosts(){ge(this.searchParams,this._context.hubRequestOptions).then(e=>{e?.features&&(this.cachedFeatures=e.features,this.initialized&&this.refreshFeatures(e.features))})}addGeometryGraphicsLayer(){this.geometryGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.geometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addStagedGeometryGraphicsLayer(){this.unsavedGeometryGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.unsavedGeometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addCalloutGraphicsLayer(){this.calloutGraphicsLayer=new k({graphics:[],effect:"drop-shadow(0px, 2px, 8px, rgba(0, 0, 0, .20))",elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.calloutGraphicsLayer),this.layerIds.push(this.calloutGraphicsLayer.id),this.mapPointerMoveHandler=this.view.on("pointer-move",this.handlePointerMove),this.mapClickDiscussionsHandler=this.view.on("click",this.handleMapClickDiscussions)}addHighlightGraphicsLayer(){this.highlightGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.highlightGraphicsLayer),this.layerIds.push(this.highlightGraphicsLayer.id)}addHighlightGraphic(e,t,i,s){var a,r,o;let{themeWithDefaults:n,highlightGraphicsLayer:h,persistAttribute:c,is3D:l}=this,d=t.clone();if(e)d.symbol=x.callout(i,Object.assign(Object.assign({},n.callout),{isOffset:(a=t?.attributes)===null||a===void 0?void 0:a.isOffset,is3D:l}),(r=d.attributes)===null||r===void 0?void 0:r.totalCount);else if(!((o=t?.geometry)===null||o===void 0)&&o.type){let g=t.geometry.type;d.symbol=x[t.geometry.type](i,Object.assign({},n[g])),this.clearHoverActiveGraphics(s)}d.attributes=Object.assign(Object.assign({},d.attributes),{[c]:s}),h.add(d)}setCalloutSymbolOnPointerMove(e){this.view.hitTest(e,{include:this.calloutGraphicsLayer}).then(t=>{if(this.clearHoverActiveGraphics(!1),t.results.length){let i=j(t.results),{graphic:s}=i;this.addHighlightGraphic(!0,s,b.HOVER,!1)}})}setLocationEditPopover(e){this.view.hitTest(e,{include:[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer]}).then(t=>{if(t.results.length){let{results:[i]}=t,s=i.layer===this.unsavedGeometryGraphicsLayer,a=i.layer===this.geometryGraphicsLayer,r,o,n;if(s){let h=this.unsavedGeometryGraphicsLayer.graphics.findIndex(c=>c===i.graphic);r=void 0,o=h,n=!0}if(a&&this.activePost){let{id:h}=this.activePost,{graphic:{attributes:{id:c,__index__:l}}}=i,d=l||null;h===c&&(r=h,o=d,n=!1)}if(o!==void 0){let{geometry:h,attributes:c}=i.graphic;this.activeGraphicDetails={id:r,index:o,unsaved:n,geometry:h};let l=c?.pending?this.renderPostLocationPrimaryOptions:this.renderPostLocationEditOptions;this.arcgisHubMapPopoverOpen.emit({geometry:h,view:this.view,render:l,source:"action"})}}})}publishPendingGraphics(){this.unsavedGeometryGraphicsLayer.graphics.forEach(e=>{e.attributes.pending&&delete e.attributes.pending}),this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.map(e=>(e.properties.pending&&delete e.properties.pending,e))}deletePendingGraphics(){let e=this.unsavedGeometryGraphicsLayer.graphics.find(t=>{var i;return(i=t.attributes)===null||i===void 0?void 0:i.pending});this.unsavedGeometryGraphicsLayer.remove(e),this.currentDiscussionsRef&&(this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.filter(t=>t.properties.pending?!t.properties.pending:!0))}removeLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>this.removeLayer(e))}hideLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=.1)}showLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=1)}removeLayer(e){e&&e.destroy()}emptyFeatures(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer].forEach(e=>e.removeAll())}addGraphicsToGraphicsLayer(e,t){e.addMany(t)}async refreshFeatures(e){this.emptyFeatures(),this.resetSelect(),e.forEach(d=>{var g;return d.properties.totalCount=(g=d.properties.replyCount)!==null&&g!==void 0?g:0});let t=({geometry:d})=>!!d,i=e.map(this.makeGraphic).filter(t),s=e.map(this.makeCalloutGraphic).filter(t),a=({properties:d})=>!!H(d.discussion).features,r=e.filter(a),o=Array.from(new Set(r.map(({properties:{discussion:d}})=>H(d).features.map(g=>g)).flat()));await this.cacheRelatedFeatureGeometry(o);let n=[],h=[];for(let d of r){if(h.includes(d.properties.id))continue;h.push(d.properties.id);let{properties:g}=d,{features:v}=H(g.discussion);g.totalCount=0,v.forEach(y=>{var R;let D=({properties:{relatedFeatureId:G}})=>G==y,C=n.find(D);if(C){let{properties:G}=C,oe=((R=g.totalCount)!==null&&R!==void 0?R:0)+1;G.totalCount+=oe}else try{let G=this.getRelatedFeature(y);G.properties=Object.assign(Object.assign({},d.properties),{relatedFeatureId:y}),n.push(G)}catch(G){console.warn("Failed to access post related feature:",G.message)}})}let c=n.map(this.makeCalloutGraphic),l=[...s,...c];this.addGraphicsToGraphicsLayer(this.geometryGraphicsLayer,i),this.addGraphicsToGraphicsLayer(this.calloutGraphicsLayer,l),this.activeFeature&&(this.selectFeature(this.activeFeature),this.activeFeature=void 0)}pointToExtent(e,t=.0025){let{x:i,y:s,spatialReference:a}=e;return new ne({xmin:i-t,ymin:s-t,xmax:i+t,ymax:s+t,spatialReference:a})}goTo(e){if(!this.view)return;let t=e;t.geometry&&t.geometry.type==="point"&&(t=this.pointToExtent(t.geometry)),t.extent&&(t=t.extent.clone().expand(2)),this.view.goTo({target:t},{duration:1e3}).catch(i=>{ce(i)||console.error("Failed to zoom map to target feature or extent:",i.message)})}postToGeoJSON(e,t){return{type:"Feature",geometry:e,properties:t}}makeGraphic(e){var t;let i=W(e),s=J.fromJSON(i);return!((t=s?.geometry)===null||t===void 0)&&t.type&&(s.symbol=x[s.geometry.type](b.DEFAULT,this.themeWithDefaults[s.geometry.type])),s}makeCalloutGraphic(e){var t;let{is3D:i}=this,{callout:s}=x,{geometry:a,properties:r}=e,[o,n]=a.coordinates.flat(1/0),h=!r.relatedFeatureId&&e.geometry.type==="Point",c=W({type:"Feature",geometry:{type:"Point",coordinates:[o,n]},properties:Object.assign(Object.assign({},r),{replyCount:r.replyCount||0,isOffset:h})}),l=J.fromJSON(c);return l.symbol=s(b.DEFAULT,Object.assign(Object.assign({},this.themeWithDefaults.callout),{isOffset:h,is3D:i}),(t=e.properties)===null||t===void 0?void 0:t.totalCount),l}getRelatedFeature(e){return{type:"Feature",geometry:this.cachedRelatedFeatureGeometry[e].geojson,properties:{}}}async cacheRelatedFeatureGeometry(e){let{cachedRelatedFeatureGeometry:t,targetLayer:i}=this;if(!i){console.warn("Discussions service layer not defined; ingnoring related features");return}let s=Object.keys(t),a=e.filter(r=>!s.includes(`${r}`));if(a.length){let r={where:"1=1",objectIds:a.map(n=>+n),returnGeometry:!0,outSpatialReference:{wkid:4326},outFields:[this.targetLayer.objectIdField,this.targetLayer.displayField]},{features:o}=await this.targetLayer.queryFeatures(r);o.forEach(({geometry:n,attributes:h})=>{let c=O(n);this.cachedRelatedFeatureGeometry[h[this.targetLayer.objectIdField]]={arcgis:n,geojson:c}})}}getMatchingGraphic(e){let{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}=e,r;return i&&this.cachedRelatedFeatureGeometry[i]?r=new J({geometry:this.cachedRelatedFeatureGeometry[i].arcgis}):r=a?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s):this.getGraphicById(t,s),r}getGraphicById(e,t){return this.geometryGraphicsLayer.graphics.find(({attributes:{id:s,__index__:a}})=>{let r=t!==null?t==a:!0;return s===e&&r})}highlightGraphic(e){this.clearHighlights(),e&&this.view.whenLayerView(e.layer).then(t=>{this.highlightHandle=t.highlight(e)})}clearHighlights(){this.highlightHandle&&(this.highlightHandle.remove(),this.highlightHandle=null)}clearHoverActiveGraphics(e){let{persistAttribute:t,highlightGraphicsLayer:i}=this;if(e)i.removeAll();else{let s=i.graphics.filter(({attributes:a})=>!a[t]);i.removeMany(s.toArray())}}removeViewHandlers(){[this.mapPointerMoveHandler,this.mapClickDiscussionsHandler,this.mapViewSizeChangeHandler,this.mapViewCenterChangeHandler].forEach(e=>{e&&(e.remove(),e=null)})}resetSelect(){this.clearHighlights()}saveInitialDrawOptions(){let{drawRef:{buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}=this;this.initialDrawOptions={buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}restoreInitialDrawOptions(){let{initialDrawOptions:{buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}=this;this.drawRef.buffer=e,this.drawRef.disableEditOptions=t,this.drawRef.disablePrimaryOptions=i,this.drawRef.enableMapTips=s,this.drawRef.setActiveTool(void 0),this.drawRef.forceReset()}resetStagedFeatures(){this.currentDiscussionsRef.unsavedFeatures=[],this.currentDiscussionsRef.unsavedRelatedFeatures=[],this.currentDiscussionsRef.unsavedExistingFeatures=[],this.unsavedExistingGeometry.forEach(({id:e,index:t,geometry:i})=>{let s=this.getGraphicById(e,t);s.geometry=i}),this.unsavedExistingGeometry=[]}handleMapClickDiscussions(e){this.view.hitTest(e,{include:[this.calloutGraphicsLayer]}).then(t=>{if(t.results.length){this.searchRef&&(this.searchRef.active=!1),this.preview=!1,this.clearHoverActiveGraphics(!0);let i=j(t.results),{graphic:s}=i;this.graphicGeometry=s.geometry,this.isOffset=s.attributes.isOffset;let{attributes:{parentId:a,channelId:r,id:o,relatedFeatureId:n}}=s;if(n){let h=n;this.activeMapDiscussion={channelId:r,locationId:h}}else this.activeMapDiscussion={channelId:r,postId:a?o:void 0,parentId:a||o};this.addHighlightGraphic(!0,s,b.ACTIVE,!0),setTimeout(()=>{this.preview=!0},0)}})}handleViewSizeChange(){let{view:{height:e,width:t}}=this;this.viewHeight=e,this.viewWidth=t}handlePointerMove(e){this.setCalloutSymbolOnPointerMove(e),this.setLocationEditPopover(e)}handleEditActiveGraphic(){let{id:e,index:t,unsaved:i}=this.activeGraphicDetails;this.editGraphic(e,t,i)}handleDeleteActiveGraphic(){let{id:e,index:t,unsaved:i}=this.activeGraphicDetails;this.removeGraphic(e,null,t,i),this.arcgisHubMapPopoverClear.emit()}handlePostPendingGraphic(){this.publishPendingGraphics(),this.arcgisHubMapPopoverClear.emit(),this.currentDiscussionsRef.unsavedFeatures.length===1&&(this.drawRef.drawTip=this.intl.t("draw.tip"))}get searchParams(){var e;let t={channels:(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds,discussion:this.discussion};return Object.entries(t).reduce((i,[s,a])=>a?Object.assign(Object.assign({},i),{[s]:a}):i,{})}get currentDiscussionsRef(){return this.activeMapDiscussion?this.onMapDiscussionsRef:this.discussionsRef}get themeWithDefaults(){let{theme:e}=this,t={};return["point","polyline","polygon","callout"].forEach(i=>{t[i]=Object.assign(Object.assign({},X[i]),e[i])}),t}get is3D(){let{view:e}=this;return e.hasOwnProperty("camera")}get targetLayer(){return this.view.map.allLayers.filter(e=>e.type==="feature"&&!this.layerIds.includes(e.id)).getItemAt(0)}get styles(){let{view:e,viewWidth:t,viewHeight:i,leftOffset:s,topOffset:a,previewHeight:r,preview:o}=this,n={};if(e){let{container:h}=e;if(!h)return;let{top:c,left:l,right:d,bottom:g}=h.getBoundingClientRect();n={"--left-offset":`${s??0}px`,"--top-offset":`${a??0}px`,"--panel-left":`${l??0}px`,"--panel-height":`${o?(i??0)-(r??0):(g??0)-(c??0)}px`,"--panel-width":`${(d??0)-(l??0)}px`,"--view-width":`${t??0}px`,"--view-height":`${i??0}px`}}return n}renderAddLocation(){let{intl:e,sketchPostType:t}=this;return u($,null,u("calcite-action-group",null,u("calcite-action",{icon:"check",onClick:this.addRelatedFeature,text:e.t(`prompt.add.${t}`),textEnabled:!0})),u("calcite-action-group",null,u("calcite-action",{icon:"undo",onClick:this.cancelAddRelatedFeature,text:e.t("prompt.remove.existing"),textEnabled:!0})))}renderRemoveLocation(){return u("calcite-action-pad",{"expand-disabled":!0,expanded:!0,layout:"horizontal"},u("calcite-action",{icon:"trash",onClick:this.removeRelatedFeature,text:this.intl.t("location.remove"),textEnabled:!0}))}renderPostLocationPrimaryOptions(){let{activeGraphicDetails:{geometry:{type:e}},intl:t,sketchPostType:i}=this;return u($,null,u("calcite-action-group",null,u("calcite-action",{icon:"check",onClick:this.handlePostPendingGraphic,text:t.t(`prompt.add.${i}`),"text-enabled":!0})),u("calcite-action-group",null,u("calcite-action",{icon:e==="point"?"move":"pencil",onClick:this.handleEditActiveGraphic,text:t.t(`prompt.edit.${e}`),"text-enabled":!0}),u("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:t.t(`prompt.remove.${e}`),"text-enabled":!0})))}renderPostLocationEditOptions(){let{intl:e}=this;return u("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal"},u("calcite-action",{icon:"pencil",onClick:this.handleEditActiveGraphic,text:e.t("prompt.location.edit")}),u("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:e.t("prompt.location.delete")}))}renderMapDiscussion(){let{activeMapDiscussion:e,discussion:t,isHub:i,entityId:s,entity:a,entityType:r,showChannelAvatar:o,showChannelName:n,discussionSettings:h}=this;return this.preview?u("arcgis-hub-discussions-map-preview",{channelId:e.channelId,discussion:t,locationId:e.locationId,parentId:e.postId?e.parentId:void 0,postId:e.postId||e.parentId,ref:c=>{this.onMapDiscussionsPreviewRef=c},showChannelAvatar:o}):u("arcgis-hub-discussions",{channelId:e.channelId,disableNavigation:!e.locationId,discussion:t,discussionSettings:h,dismissible:!0,enableGoTo:!0,entity:a,entityId:s,entityType:r,hasMap:!0,isHub:i,locationId:e.locationId,parentId:e.parentId,postId:e.postId,ref:c=>{this.onMapDiscussionsRef=c},showChannelAvatar:o,showChannelName:n})}render(){let{activeMapDiscussion:e,styles:t,view:i,mapActionNoticeActive:s}=this;return u(S,{key:"ce412a38001cdec7c0839f6e168e1cc9615d0d3a","data-element":"discussions-map-integrator",style:t},e&&this.renderMapDiscussion(),i&&s&&u("arcgis-hub-discussions-map-action-notice",{view:i}))}static get assetsDirs(){return["locales"]}get element(){return E(this)}static get watchers(){return{_context:["initialize"],view:["attachView"],discussionsRef:["attachdiscussionsRef"],drawRef:["handleDrawRefUpdate"],preview:["calculateOffsets"],previewHeight:["calculateOffsets"]}}};m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryGoTo",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeature",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureDeleted",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureSelect",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureHighlight",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleFeatureRemove",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawCreate",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawTypeSelect",null);m([f({when(e){return e.target===this.drawRef}})],p.prototype,"handleActiveToolChange",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawEdit",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handlePostEditorReady",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawEditCancel",null);m([f({when(e){return e.target===this.drawRef}})],p.prototype,"handleDrawGraphicsChange",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawReset",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryClearAll",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleDiscussionsClose",null);m([F({timeout:50})],p.prototype,"setLocationEditPopover",null);m([f({when(e){return e}}),F({timeout:50})],p.prototype,"refreshFeatures",null);m([f({when(){return this.geometryGraphicsLayer}})],p.prototype,"getGraphicById",null);m([f({when(){return this.highlightGraphicsLayer}})],p.prototype,"clearHoverActiveGraphics",null);m([f({when(){return this.drawRef}})],p.prototype,"saveInitialDrawOptions",null);m([f({when(){return this.drawRef&&this.initialDrawOptions}})],p.prototype,"restoreInitialDrawOptions",null);m([f({when(){return this.currentDiscussionsRef}})],p.prototype,"resetStagedFeatures",null);m([f({when(){return!this.mapActionNoticeActive}})],p.prototype,"handleMapClickDiscussions",null);m([F({timeout:50})],p.prototype,"handleViewSizeChange",null);m([F({timeout:15})],p.prototype,"handlePointerMove",null);m([f({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],p.prototype,"renderPostLocationPrimaryOptions",null);m([f({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],p.prototype,"renderPostLocationEditOptions",null);p.style=fe;function ye(e){return[{key:"point",text:e.t("point"),sourceIndex:0},{key:"rectangle",text:e.t("rectangle"),sourceIndex:0},{key:"draw",text:e.t("draw"),sourceIndex:0}]}var ve=":host{display:block}arcgis-hub-map-widget-search calcite-dropdown{position:absolute}arcgis-hub-map-widget-search calcite-input{width:var(--width)}arcgis-hub-map-widget-search calcite-dropdown-group{width:var(--width)}.hub-widget-search.top{position:absolute;width:var(--width)}.hub-widget-search.right{right:100%;margin-right:1rem}.hub-widget-search.left{left:100%;margin-left:1rem}",we=ve,re=function(e,t,i,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},U=class{get inputScale(){return this.scale==="s"?"m":"l"}constructor(e){_(this,e),this.arcgisHubGeometryResultSelection=I(this,"arcgisHubGeometryResultSelection",7),this.arcgisHubWidgetPanelToggled=I(this,"arcgisHubWidgetPanelToggled",7),this.hubTelemetry=I(this,"hubTelemetry",7),this.tools=void 0,this.scale="m",this.view=void 0,this.searchViewModelProperties={},this.active=void 0,this.openMenuOnSearchSelection=!1,this.completeValidSearch=void 0,this.loading=void 0,this.suggestions=[],this.value=void 0,this.width="25rem",M(this,"handleSetInputRef","searchIfEnter","toggleActive","setInputWidth")}async componentWillLoad(){let{el:e}=this,t=e&&e.closest("arcgis-hub-map-widget-container");this.viewPosition=t?.viewPosition,this.intl=await P.loadIntlForComponent(e),await this.connectViewModel()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}componentDidLoad(){V()}handleViewChange(e,t){e&&e!==t&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}handleActiveChange(e){let{hubTelemetry:t}=this,i=e?w.dictionary.category.interaction.action.open.label.search:w.dictionary.category.interaction.action.close.label.search;t.emit(i),this.setInputWidth()}handleValueChange(){let{value:e,searchViewModel:t}=this;t&&e===""&&t.clear()}handleSearchViewModelChange(){this.connectViewModel()}handlePanelToggled(e){let{target:t,detail:i}=e,{el:s}=this;t!==s&&!i&&(this.active=!1)}onCalciteAutocompleteClose(e){let t=e.target.value;this.completeValidSearch?(t!=="draw"&&this.arcgisHubGeometryResultSelection.emit({geometry:this._getGeometry(t),userSelection:t,locationName:T(this.completeValidSearch,"results[0].results[0].name")}),this.suggestions=[]):(this.selectedKey=t,this.value=this.selected.text,this.search())}onCalciteAutocompleteTextChange(e){this.value=e.target.inputValue}onCalciteAutocompleteTextInput(e){this.value=e.target.inputValue,this.value&&this.getSuggestions()}async handleSetInputRef(e){e&&(this.inputEl=e,await e.setFocus())}async getSuggestions(){let{value:e,completeValidSearch:t,hubTelemetry:i,searchViewModel:s}=this;i.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.search.label.query),{search:e}));let{results:[a]}=await s.suggest(e);t?this.completeValidSearch=null:this.suggestions=a?.results||[]}_getGeometry(e){let t;switch(e){case"point":t=T(this.completeValidSearch,"results[0].results[0].feature.geometry");break;case"rectangle":t=T(this.completeValidSearch,"results[0].results[0].extent");break}return t}async search(){let{value:e,hubTelemetry:t,searchViewModel:i}=this;this.loading=!0;let s=this.selected||e,a=await i.search(s);t.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.to),{details:a?.searchTerm})),this.loading=!1,this.selectedKey=null,setTimeout(()=>{this.completeValidSearch=a?.numResults===1?a:null,this.tools&&this.completeValidSearch?this.addLocationType():this.suggestions=[],this.openMenuOnSearchSelection&&(this.inputEl.open=!0)},150)}addLocationType(){let e=ye(this.intl).filter(t=>this.isValidLocationType(t.key+""));this.suggestions=e.length===1?[]:e}isValidLocationType(e){return this.tools.includes(e)&&!!this._getGeometry(e)||e==="draw"}searchIfEnter(e){let{key:t}=e;t==="Enter"&&this.search()}toggleActive(){let{active:e,arcgisHubWidgetPanelToggled:t}=this;this.active=!e,t.emit(e)}connectWatch(){let{view:e}=this;e&&(this.handle=L(()=>e.size,this.setInputWidth))}removeWatch(){let{handle:e}=this;e&&e.remove(),this.handle=void 0}async connectViewModel(){let{view:e}=this;e&&(await e.when(),this.searchViewModel=new le(Object.assign({autoSelect:!0,suggestionsEnabled:!0,maxResults:1,maxSuggestions:5,minSuggestCharacters:3,view:e},this.searchViewModelProperties)))}setInputWidth(){let{inputEl:e,view:{size:t}}=this;if(!e)return;let[i]=t;this.width=i<600?`${i*.65}px`:"25rem"}get positionClass(){let{viewPosition:e}=this;if(e)return`hub-widget-search ${e.split("-").join(" ")}`}get selected(){let{suggestions:e,selectedKey:t}=this;return e.filter(({key:i})=>i===t).pop()}get styles(){let{width:e}=this;return{"--width":e}}render(){let{value:e,loading:t,scale:i,active:s,styles:a}=this,r=this.intl.t("textOpen"),o=this.intl.t("textClose"),n=this.intl.t("placeholder");return u(S,{key:"e6f2f99d38252ee605da42ac7444c1081c6040a0","data-element":"map-widget-search",style:a},this.active&&u("section",{class:this.positionClass},u("calcite-autocomplete",{icon:"search",loading:t,onKeyPress:this.searchIfEnter,placeholder:n,ref:this.handleSetInputRef,scale:this.inputScale,value:e},this.suggestions.map(h=>u("calcite-autocomplete-item",{handle:!0,heading:h.text,key:h.key,value:h.key})))),u("arcgis-hub-map-widget-generic",{key:"75d5010ec337ce13d5e3cae92b2057a89f1bf843",active:s,"data-test":"map-widget-search",icon:"search",onClick:this.toggleActive,scale:i,text:s?o:r}))}static get assetsDirs(){return["locales"]}get el(){return E(this)}static get watchers(){return{view:["handleViewChange"],active:["handleActiveChange"],value:["handleValueChange"],searchViewModelProperties:["handleSearchViewModelChange"]}}};re([F({timeout:150})],U.prototype,"getSuggestions",null);re([F({timeout:25})],U.prototype,"setInputWidth",null);U.style=we;var be="",Ge=be,Ie=class{constructor(e){_(this,e),this.hubTelemetry=I(this,"hubTelemetry",7),this.handles=[],this.view=void 0,this.scale="m",this.canZoomIn=void 0,this.canZoomOut=void 0,M(this,"zoomIn","zoomOut","updateCanZoomIn","updateCanZoomOut")}async componentWillLoad(){let{el:e}=this;this.intl=await P.loadIntlForComponent(e),await this.connectViewModel(),this.connectWatch(),V()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}handleViewChange(e,t){e&&e!==t&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}connectWatch(){let{view:e,handles:t,zoomViewModel:i}=this;e&&i&&t.push(L(()=>i.canZoomIn,this.updateCanZoomIn),L(()=>i.canZoomOut,this.updateCanZoomOut))}removeWatch(){let{handles:e}=this;e.forEach(t=>{t.remove()}),this.handles=[]}async connectViewModel(){let{view:e}=this;if(e){await e.when(),this.zoomViewModel=new de({view:e});let{canZoomIn:t,canZoomOut:i}=this.zoomViewModel;this.canZoomIn=t,this.canZoomOut=i}}updateCanZoomIn(e){this.canZoomIn=e}updateCanZoomOut(e){this.canZoomOut=e}zoomIn(){let{zoomViewModel:e,canZoomIn:t,view:i}=this;e&&t&&(e.zoomIn(),this.hubTelemetry.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.in),{details:i.zoom})))}zoomOut(){let{zoomViewModel:e,canZoomOut:t,view:i}=this;e&&t&&(this.zoomViewModel.zoomOut(),this.hubTelemetry.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.out),{details:i.zoom})))}render(){let{zoomIn:e,zoomOut:t,canZoomIn:i,canZoomOut:s,scale:a}=this,r=this.intl.t("zoomIn"),o=this.intl.t("zoomOut");return u(S,{key:"72e18144a87ea9afdaa5c213bb1fec9417e60518","data-element":"map-widget-zoom"},u("arcgis-hub-map-widget-generic",{key:"d4500ad8e952c706e5f8452cc5826e5dd893e922","data-test":"map-widget-zoom-in",disabled:!i,icon:"plus",onClick:e,scale:a,text:r}),u("arcgis-hub-map-widget-generic",{key:"35705de04180d659268f4312a15d57e2bdc9dd5e","data-test":"map-widget-zoom-out",disabled:!s,icon:"minus",onClick:t,scale:a,text:o}))}static get assetsDirs(){return["locales"]}get el(){return E(this)}static get watchers(){return{view:["handleViewChange"]}}};Ie.style=Ge;return{arcgis_hub_discussions_map_integrator:p,arcgis_hub_map_widget_search:U,arcgis_hub_map_widget_zoom:Ie}},"layers/GraphicsLayer","core/reactiveUtils","geometry/support/webMercatorUtils","geometry/Extent","Graphic","core/promiseUtils","geometry/geometryEngine","widgets/Search/SearchViewModel","widgets/Zoom/ZoomViewModel","config",a,c,d)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import{a as t}from"./CDT5WPFH.js";import{a as o}from"./VYH7S47Q.js";var c=t(o,{scope:"teams",ttl:1e3});export{c as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import"./YKFYQGPN.js";var a={chart:"Gr\xE1fico",barChart:"Gr\xE1fico de barras",lineChart:"Gr\xE1fico de linhas",pieChart:"Gr\xE1fico circular",histogram:"Histograma",scatterplot:"Gr\xE1fico de dispers\xE3o",boxPlot:"Gr\xE1fico de caixas"},e={mean:"M\xE9dia",median:"Mediana",sum:"Soma",discretePercentile:"Percentil discreto",minimum:"M\xEDnimo",maximum:"M\xE1ximo",variance:"Varia\xE7\xE3o",count:"Contagem",aggregation:"${ statistics } de ${ fieldName }",noAggregation:"Sem agrega\xE7\xE3o"},i="Gr\xE1fico",t="S\xE9ries de Contagem",o="Eixo X",r="N\xE3o dispon\xEDvel",s={start:"Ajustar ao primeiro ponto de dados",end:"Ajustar ao \xFAltimo ponto de dados"},n={chartType:a,statistics:e,defaultTitle:i,countSeries:t,xAxis:o,notAvailable:r,timeAggregationTypes:s};export{a as chartType,t as countSeries,n as default,i as defaultTitle,r as notAvailable,e as statistics,s as timeAggregationTypes,o as xAxis};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import h from"./NMONPVXB.js";import g from"./UUDFH3HV.js";import f from"./VS6V66W5.js";import e from"./QHFC77SM.js";import d from"./AOQ5CUSN.js";import c from"./M36N4CBG.js";import b from"./ORN5L2JZ.js";import a from"./Y7CAPQJN.js";import"./FOGAPMVQ.js";import"./7HW36IWL.js";import"./QWICRBIS.js";import"./YKFYQGPN.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Aa:c,Da:f,Ja:D,h:n},{j:r,l:a,m:d},,,,{b:g,c:h},{a:S,b:m,c:p,d:_,e:b,f:y,g:u,h:C,i:L,j:k,k:v,l:I,m:B,n:l,o:U,p:z,q:M,t:F,u:V},{a:O,b:T,c:j,d:w}])=>{var A=class extends h{constructor(){super(...arguments),this._chartType=n.ComboLineAndBarSeries}getConfig(){return this._config}async setup(e){await this.loadConfigFromLayer(e),e.config!==void 0&&(d(e.config?.series)&&await this.initDefaultSeries(),await this.updateSeriesFromLayerFilter()),this.resolveSetup()}async generateDefaultConfig(){let e=await D();return e.series=[await f({objectIDField:this.layerInfo?.objectIdField})],e}async initDefaultSeries(){this.defaultSeries=await c({objectIDField:this.layerInfo?.objectIdField})}async setSeriesType(e,i){if(e<this._config.series.length&&e>=0){let t=this._config.series[e],o;if(i===n.BarSeries&&r(t)){let s={...t};delete s.lineSymbol,delete s.markerSymbol,delete s.lineSmoothed,delete s.markerVisible,delete s.areaColor,delete s.stackNegativeValuesToBaseline,o={...await f({objectIDField:this.layerInfo?.objectIdField}),...s,type:n.BarSeries,y:[t.y].flat()[0]},o.fillSymbol&&(o.fillSymbol={...o.fillSymbol,color:t.lineSymbol?.color})}else if(i===n.LineSeries&&a(t)){let s={...t};delete s.fillSymbol,delete s.hideOversizedStackedLabels,delete s.hideOversizedSideBySideLabels,o={...await c({objectIDField:this.layerInfo?.objectIdField}),...s,type:n.LineSeries},o.lineSymbol&&(o.lineSymbol={...o.lineSymbol,color:t.fillSymbol?.color})}o!==void 0&&(this._config.series[e]=o,this.emitConfigUpdate("setDataType"))}}getSeriesLineStyle(e){return S(e,this._config)}setSeriesLineStyle(e,i){let t=this._config.series?.[i];r(t)&&(m(e,i,this._config),this.emitConfigUpdate("setSeriesLineStyle"))}getSeriesLineWidth(e){return p(e,this._config)}setSeriesLineWidth(e,i){let t=this._config.series?.[i];r(t)&&(_(e,i,this._config),this.emitConfigUpdate("setSeriesLineWidth"))}getSeriesMarkerColor(e){return b(e,this._config)}setSeriesMarkerColor(e,i){let t=this._config.series?.[i];r(t)&&(y(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerColor"))}getSeriesMarkerStyle(e){return u(e,this._config)}setSeriesMarkerStyle(e,i){let t=this._config.series?.[i];r(t)&&(C(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerStyle"))}getSeriesMarkerSize(e){return L(e,this._config)}setSeriesMarkerSize(e,i){let t=this._config.series?.[i];r(t)&&(k(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerSize"))}isLineSmoothed(e){return v(e,this._config)}setLineSmoothed(e,i){let t=this._config.series?.[i];r(t)&&(I({smoothed:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setLineSmoothed"))}isAreaVisible(e){return B(e,this._config)}setAreaVisible(e,i){let t=this._config.series?.[i];r(t)&&(l({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setAreaVisible"))}isMarkerVisible(e){return U(e,this._config)}setMarkerVisible(e,i){let t=this._config.series?.[i];r(t)&&(z({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setMarkerVisible"))}getAreaColor(e){return M(e,this._config)}setAreaColor(e,i){let t=this._config.series?.[i];r(t)&&(l({visible:!0,seriesIndex:i,config:this._config}),g(e,i,this._config),this.emitConfigUpdate("setAreaColor"))}isNegativeValuesStackedToBaseline(e){return F(e,this._config)}setNegativeValuesStackedToBaseline(e,i){let t=this._config.series?.[i];r(t)&&(V({stackNegativeValuesToBaseline:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setNegativeValuesStackedToBaseline"))}getSeriesHideOversizedSideBySideLabels(e){return O(e,this._config)}setSeriesHideOversizedSideBySideLabels(e,i){let t=this._config.series?.[i];a(t)&&(T(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedSideBySideLabels"))}getSeriesHideOversizedStackedLabels(e){return j(e,this._config)}setSeriesHideOversizedStackedLabels(e,i){let t=this._config.series?.[i];a(t)&&(w(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedStackedLabels"))}};return A},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","layers/support/fieldUtils","renderers/support/jsonUtils","layers/support/Field","rest/support/FeatureSet","layers/FeatureLayer","portal/Portal","applications/Components/reactiveUtils",a,b,c,d,e,f,g,h)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import{e as D}from"./TMZJLQS2.js";import"./CIN2WM3W.js";import{a as H}from"./C2MCHQA4.js";import{a as B}from"./UCS5CQKE.js";import{f as G}from"./KDOGUSXE.js";import"./H3EZUTXX.js";import"./EZFQEITP.js";import"./MA64QS2R.js";import"./UHL22JFO.js";import"./EWMQWMS3.js";import"./LLH63FAA.js";import{e as w}from"./TEZZGZHJ.js";import"./SWZQLYYR.js";import"./3ANV22GL.js";import"./XX62BYZI.js";import"./I4NBBKIL.js";import"./OKWPNJJY.js";import"./UGY6OXOZ.js";import"./UPJ7Y7VX.js";import"./73IPOD4V.js";import"./HKW6Y3H5.js";import"./VJVDISXY.js";import"./TAUOIUCO.js";import"./6PBX4GCA.js";import"./HTBGLNQM.js";import"./PLEIRPVW.js";import"./GO7IFNU3.js";import"./MPAOPMHA.js";import{da as P}from"./YWA3PK7L.js";import"./3GPBN72U.js";import"./R5NJO6ST.js";import"./C7ABHGNQ.js";import"./WGCCDA53.js";import"./XFL5OF4O.js";import"./2DTLIGA3.js";import"./2UK22TTI.js";import"./C6MVZRLU.js";import"./UWHSCXFD.js";import"./Q5WLSCNB.js";import{H as L}from"./UVVKZL7F.js";import"./HEIPIIKA.js";import"./GJGFIIJ2.js";import"./25JFLGEU.js";import"./OMFJT7ER.js";import"./VYH7S47Q.js";import"./LDYL4IKX.js";import"./E62ZSTQL.js";import"./75V2JIXU.js";import"./N2SIOUIA.js";import"./3OSXNAOG.js";import"./JJTJ22X3.js";import"./3J26Q2YH.js";import"./LZHU5CMV.js";import"./4MSBVAQE.js";import"./W6UG6Q3O.js";import"./IISZPQNT.js";import"./XEYBFFJ4.js";import"./F5WWQA5C.js";import"./4H7ORU45.js";import"./MGA5WX7L.js";import"./7XWOYGRD.js";import"./WT5D3U6K.js";import"./VVL7VPFS.js";import"./RH6JH2NQ.js";import"./O7VXDEDK.js";import"./GCF6G3ZM.js";import"./YGUSDEHQ.js";import"./GUJUC6MF.js";import"./NH64KMMG.js";import"./LMT2EPHT.js";import"./MWUD44PI.js";import{a as A}from"./5DV5PO4D.js";import"./TVUX5SCP.js";import"./72R5JDLH.js";import"./SYEVQIG5.js";import"./FH4MN4IF.js";import"./BVMEF4CV.js";import"./ENB3SNPP.js";import"./KPICENOW.js";import{a as _}from"./FLF6XDPI.js";import{c as M,j}from"./VICPUSUP.js";import"./YOK56Y2B.js";import{a as m}from"./ILWANAGU.js";import"./NNTFCGEL.js";import{a as b}from"./PFXIGLN5.js";import"./PVMT46AP.js";import"./HEOLYWFZ.js";import{b as o,c as k,d as S,e as g,h as x,i as F}from"./FOGAPMVQ.js";import"./WWJZBD7Z.js";import"./24MV4I4I.js";import"./AEMM2OSR.js";import"./G6VT7TRW.js";import"./NCCG3R3O.js";import"./SXXOBFGT.js";import"./7T23JTH4.js";import"./OCP4MQL6.js";import"./W4B3BWJV.js";import"./DGQYRJHI.js";import{a as C}from"./7HW36IWL.js";import{a as f,d as T,g as E,s as O,t as v}from"./Q4KH6SZN.js";import"./QWICRBIS.js";import"./6TKKVAYM.js";import"./YKFYQGPN.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.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import"./YKFYQGPN.js";var e={percent:"\u041F\u0440\u043E\u0446\u0435\u043D\u0442",values:"\u0421\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0438",standardizedValues:"\u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u0430\u043D\u0438 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0438",count:"\u0411\u0440\u043E\u0439",aggregationOfValues:"${ aggregation } \u043E\u0442 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0438",aggregationOfFieldName:"${ aggregation } \u043E\u0442 ${ fieldName }"},g={aggrFieldsByCategory:"${ aggregationFields } \u043E\u0442 ${ category }",aggrTypeCategory:"${ aggregationType } \u043E\u0442 ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } \u043F\u043E ${ category } \u043F\u043E ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } \u043E\u0442 ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } \u043E\u0442 ${ aggregationField } \u043F\u043E ${ category } \u043F\u043E ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } \u043E\u0442 ${ aggregationFields } \u043F\u043E ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } \u043E\u0442 ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } \u043E\u0442 ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } \u043F\u043E ${ xAxisField } \u043F\u043E ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } \u043E\u0442 ${ aggregationField } \u043F\u043E ${ xAxisField } \u043F\u043E ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } \u043E\u0442 ${ aggregationFields } \u043F\u043E ${ xAxisField }",distributionOfField:"\u0420\u0430\u0437\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043F\u043E ${ valueField }",distributionOfFields:"\u0420\u0430\u0437\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043F\u043E ${ valueFields }",distributionOfFieldsByCategory:"\u0420\u0430\u0437\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 ${ valueFields } \u043F\u043E ${ category }",distributionOfFieldsByCategoryAndSplitBy:"\u0420\u0430\u0437\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 ${ valueFields } \u043F\u043E ${ category } \u0438 ${ splitByField }",xAndY:"${ x } \u0438 ${ y }"},i={barChart:"\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u0432\u044A\u0432 \u0444\u043E\u0440\u043C\u0430 \u043D\u0430 \u043B\u0435\u043D\u0442\u0430",lineChart:"\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u0432\u044A\u0432 \u0444\u043E\u0440\u043C\u0430 \u043D\u0430 \u043B\u0438\u043D\u0438\u044F",pieChart:"\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u0432 \u043A\u0440\u044A\u0433\u043B\u0430 \u0444\u043E\u0440\u043C\u0430",histogram:"\u0425\u0438\u0441\u0442\u043E\u0433\u0440\u0430\u043C\u0430",scatterplot:"\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u043D\u0430 \u0440\u0430\u0437\u0441\u0435\u0439\u0432\u0430\u043D\u0435"},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.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ import{a as i}from"./FLF6XDPI.js";import{b as t,c as n,d as s,e as a,i as d}from"./FOGAPMVQ.js";import"./YKFYQGPN.js";var u=":host{display:block}",g=u,b=class{constructor(e){d(this,e),this.arcgisHubWidgetSelected=a(this,"arcgisHubWidgetSelected",7),this.active=void 0,this.disabled=void 0,this.icon=void 0,this.text=void 0,this.scale="m",this.textEnabled=void 0,this.expanded=void 0,this.visible=void 0,this.actionRef=void 0,i(this,"emitSelected","updateExpanded","setRef")}get parentContainer(){let{el:e}=this;return e&&e.closest("arcgis-hub-map-widget-container")}connectedCallback(){let{parentContainer:e}=this;e&&(this.updateExpanded(),e.addEventListener("calciteActionPadToggle",this.updateExpanded))}disconnectedCallback(){let{parentContainer:e}=this;e&&e.removeEventListener("calciteActionPadToggle",this.updateExpanded)}emitSelected(){this.arcgisHubWidgetSelected.emit()}updateExpanded(){var e;this.expanded=(e=this.parentContainer)===null||e===void 0?void 0:e.expanded}setRef(e){this.actionRef=e}async setFocus(){this.actionRef.setFocus()}render(){let{active:e,disabled:c,icon:r,scale:o,text:l,expanded:h,textEnabled:p}=this;return t(n,{key:"68a85b6bbccc3571999cf8d06366123dfda74272"},this.parentContainer&&t("calcite-action",{active:e,disabled:c,icon:r,onClick:this.emitSelected,ref:this.setRef,scale:o,text:l,textEnabled:p||h}))}get el(){return s(this)}};b.style=g;export{b as arcgis_hub_map_widget_generic};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.13/esri/copyright.txt for details.
3
+ v0.13.4 */
4
+ function o(n,t,e=String){if(!t)return[];let s=[];if(typeof t!="object")return typeof t=="boolean"?[n]:[`${n}-${e(t)}`];for(let[i,u]of Object.entries(t))if(u!==void 0){let f=i==="xs"?"":`-${i}`;s.push(`${n}${f}-${e(u)}`)}return s}function l(n){let t=n.sectionProps??{},e=n.classes??[],s=[];return t.noGutters&&s.push("no-gutters"),t.fullWidthAt?s.push(t.fullWidthAt==="xs"?"section":`section-${t.fullWidthAt}`):s.push("section"),[...s,...e]}function c(n){let t=n.rowProps??{},e=n.classes??[],s=[];return t.alignItems&&s.push(...o("align-items",t.alignItems)),[...s,...e]}function r(n){return n?o("col",n):["col"]}function h(n){let t=n.columnProps??{},e=n.classes??[],s=[];return s.push(...r(t.width)),t.offset&&s.push(...o("offset",t.offset)),t.alignSelf&&s.push(...o("align-self",t.alignSelf)),t.alignItems&&s.push(...o("align-items",t.alignItems)),t.justifyContent&&s.push(...o("justify-content",t.justifyContent)),t.shrink&&s.push(...o("shrink",t.shrink)),[...s,...e]}export{l as a,c as b,h as c};