@esri/hub-web-components 0.32.0 → 0.32.1

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 (1359) hide show
  1. package/dist/cdn/23DFNR5W.js +4 -0
  2. package/dist/cdn/247YX6UX.js +4 -0
  3. package/dist/cdn/24NKSYZ5.js +4 -0
  4. package/dist/cdn/252COTYJ.js +4 -0
  5. package/dist/cdn/2BI3SA4J.js +4 -0
  6. package/dist/cdn/2BYNNHUG.js +4 -0
  7. package/dist/cdn/2HG74B2C.js +4 -0
  8. package/dist/cdn/2IMBSFAO.js +4 -0
  9. package/dist/cdn/2Q66MLVY.js +4 -0
  10. package/dist/cdn/2TIRNDKV.js +4 -0
  11. package/dist/cdn/2TPGZZC5.js +4 -0
  12. package/dist/cdn/2W6SOTVM.js +4 -0
  13. package/dist/cdn/2WJGYC77.js +4 -0
  14. package/dist/cdn/2WLQ5JOM.js +4 -0
  15. package/dist/cdn/327AQL24.js +4 -0
  16. package/dist/cdn/32ZTR2P2.js +4 -0
  17. package/dist/cdn/342YESPX.js +4 -0
  18. package/dist/cdn/35CFLCYL.js +4 -0
  19. package/dist/cdn/35YB27OZ.js +4 -0
  20. package/dist/cdn/366PKAWJ.js +6 -0
  21. package/dist/cdn/36EWRCSE.js +4 -0
  22. package/dist/cdn/37TIBIX4.js +4 -0
  23. package/dist/cdn/37U3OBY7.js +4 -0
  24. package/dist/cdn/3AL42NLL.js +4 -0
  25. package/dist/cdn/3BT5AIOF.js +4 -0
  26. package/dist/cdn/3BYTDTWJ.js +4 -0
  27. package/dist/cdn/3FJQIHVV.js +4 -0
  28. package/dist/cdn/3FNBXQN5.js +8 -0
  29. package/dist/cdn/3G6G5HAR.js +4 -0
  30. package/dist/cdn/3GM6RSP7.js +4 -0
  31. package/dist/cdn/3J3ANGYP.js +4 -0
  32. package/dist/cdn/3JVI3EMD.js +4 -0
  33. package/dist/cdn/3P4PSFF5.js +4 -0
  34. package/dist/cdn/3PPJLNK2.js +4 -0
  35. package/dist/cdn/3SIWBUIC.js +4 -0
  36. package/dist/cdn/3SQ5XCI4.js +4 -0
  37. package/dist/cdn/3TJHWYKF.js +4 -0
  38. package/dist/cdn/3TNKSJG6.js +4 -0
  39. package/dist/cdn/3TQBGZY4.js +4 -0
  40. package/dist/cdn/3UE7MFMJ.js +4 -0
  41. package/dist/cdn/3WFWVXXU.js +4 -0
  42. package/dist/cdn/3WI2PJW7.js +4 -0
  43. package/dist/cdn/3WNPRJTI.js +4 -0
  44. package/dist/cdn/3WPKLKTH.js +4 -0
  45. package/dist/cdn/42QT6XKL.js +4 -0
  46. package/dist/cdn/43S4ZRZ6.js +4 -0
  47. package/dist/cdn/44KTYE4A.js +4 -0
  48. package/dist/cdn/44OMQG7R.js +4 -0
  49. package/dist/cdn/45JKNTZK.js +4 -0
  50. package/dist/cdn/45KKLUEZ.js +4 -0
  51. package/dist/cdn/45OXTPWH.js +4 -0
  52. package/dist/cdn/466H3MKY.js +4 -0
  53. package/dist/cdn/4AGMEFOG.js +4 -0
  54. package/dist/cdn/4CUKWN6A.js +4 -0
  55. package/dist/cdn/4DVFCVIO.js +4 -0
  56. package/dist/cdn/4ELRJZLG.js +4 -0
  57. package/dist/cdn/4GZNYIY4.js +4 -0
  58. package/dist/cdn/4JIUEVZH.js +4 -0
  59. package/dist/cdn/4PVSTR2O.js +4 -0
  60. package/dist/cdn/4Q3ZYBX6.js +4 -0
  61. package/dist/cdn/4VWZHITG.js +4 -0
  62. package/dist/cdn/4X7GWMFQ.js +4 -0
  63. package/dist/cdn/4YB5ISE5.js +4 -0
  64. package/dist/cdn/4ZOYDV66.js +4 -0
  65. package/dist/cdn/54D5PXK2.js +4 -0
  66. package/dist/cdn/54R46NPN.js +4 -0
  67. package/dist/cdn/55UU2L6W.js +4 -0
  68. package/dist/cdn/55Y6CTHN.js +4 -0
  69. package/dist/cdn/56QTPUMN.js +4 -0
  70. package/dist/cdn/56Y6TBYP.js +5 -0
  71. package/dist/cdn/5BLZQU6M.js +4 -0
  72. package/dist/cdn/5DEVZOSH.js +4 -0
  73. package/dist/cdn/5FA6T4S2.js +4 -0
  74. package/dist/cdn/5GVREOSA.js +4 -0
  75. package/dist/cdn/5IJ5WNSY.js +4 -0
  76. package/dist/cdn/5JDUFSFB.js +4 -0
  77. package/dist/cdn/5LXLEFL4.js +4 -0
  78. package/dist/cdn/5NAVVZVB.js +4 -0
  79. package/dist/cdn/5NWMKQK2.js +4 -0
  80. package/dist/cdn/5T7UUDPW.js +4 -0
  81. package/dist/cdn/5UMWZA4S.js +4 -0
  82. package/dist/cdn/5XNCOTKW.js +4 -0
  83. package/dist/cdn/5XV75OID.js +5470 -0
  84. package/dist/cdn/5YU5IZMA.js +4 -0
  85. package/dist/cdn/5Z3R62BW.js +5 -0
  86. package/dist/cdn/5ZL3QTV2.js +4 -0
  87. package/dist/cdn/62ETDWQS.js +4 -0
  88. package/dist/cdn/62LCUMR6.js +6 -0
  89. package/dist/cdn/62V6QHFS.js +4 -0
  90. package/dist/cdn/65J7VCGP.js +4 -0
  91. package/dist/cdn/65XKDHPE.js +4 -0
  92. package/dist/cdn/6BQDGFDG.js +4 -0
  93. package/dist/cdn/6CINOQI6.js +4 -0
  94. package/dist/cdn/6CNLUO5M.js +4 -0
  95. package/dist/cdn/6DM5QBLU.js +4 -0
  96. package/dist/cdn/6ENTXYOW.js +4 -0
  97. package/dist/cdn/6H3O76X6.js +4 -0
  98. package/dist/cdn/6JZDKCVR.js +4 -0
  99. package/dist/cdn/6MV6VE72.js +4 -0
  100. package/dist/cdn/6NY5NHJT.js +4 -0
  101. package/dist/cdn/6OPHIPTA.js +4 -0
  102. package/dist/cdn/6OZG2QCE.js +4 -0
  103. package/dist/cdn/6QFJ6EQM.js +4 -0
  104. package/dist/cdn/6UPBWZEV.js +4 -0
  105. package/dist/cdn/6UWGYV4A.js +4 -0
  106. package/dist/cdn/6W3F5A57.js +4 -0
  107. package/dist/cdn/6XQF2BY7.js +4 -0
  108. package/dist/cdn/75Z6PQX2.js +4 -0
  109. package/dist/cdn/76ODF2ZC.js +4 -0
  110. package/dist/cdn/7A6NLQYN.js +4 -0
  111. package/dist/cdn/7D3W7VKD.js +4 -0
  112. package/dist/cdn/7DHC3YHM.js +4 -0
  113. package/dist/cdn/7EOT2YM3.js +12 -0
  114. package/dist/cdn/7FIH2D6H.js +4 -0
  115. package/dist/cdn/7FRQ2S2C.js +4 -0
  116. package/dist/cdn/7G4IAOAB.js +4 -0
  117. package/dist/cdn/7IGMDG46.js +4 -0
  118. package/dist/cdn/7JVGCLDR.js +4 -0
  119. package/dist/cdn/7L6FNHMS.js +4 -0
  120. package/dist/cdn/7LUAK6BW.js +4 -0
  121. package/dist/cdn/7NQGNPJS.js +4 -0
  122. package/dist/cdn/7OBIU5SN.js +4 -0
  123. package/dist/cdn/7OS65ZA3.js +4 -0
  124. package/dist/cdn/7STSSL3L.js +4 -0
  125. package/dist/cdn/7TIUDTMH.js +4 -0
  126. package/dist/cdn/7W4GYEEZ.js +4 -0
  127. package/dist/cdn/7W6UKQVI.js +4 -0
  128. package/dist/cdn/7Y2TS73H.js +4 -0
  129. package/dist/cdn/7YOSSFCF.js +4 -0
  130. package/dist/cdn/7ZX5YCR7.js +4 -0
  131. package/dist/cdn/A32ZRAT4.js +4 -0
  132. package/dist/cdn/A46VYNTH.js +4 -0
  133. package/dist/cdn/A6UO3BBZ.js +4 -0
  134. package/dist/cdn/AAUTFXPX.js +4 -0
  135. package/dist/cdn/AAXBTTYR.js +4 -0
  136. package/dist/cdn/ABBZZXDD.js +4 -0
  137. package/dist/cdn/ADMMRW2D.js +4 -0
  138. package/dist/cdn/AFPIUXCW.js +4 -0
  139. package/dist/cdn/AH62BJBM.js +4 -0
  140. package/dist/cdn/AH6DDGMA.js +4 -0
  141. package/dist/cdn/AJUT46CH.js +51 -0
  142. package/dist/cdn/ALTLWY54.js +4 -0
  143. package/dist/cdn/AMEYWY3Z.js +4 -0
  144. package/dist/cdn/ANUSZH4J.js +4 -0
  145. package/dist/cdn/AO5HXIOZ.js +4 -0
  146. package/dist/cdn/AOG5VV33.js +4 -0
  147. package/dist/cdn/APMYQ4Q3.js +4 -0
  148. package/dist/cdn/ASUOEJLX.js +4 -0
  149. package/dist/cdn/AVHDXXXK.js +4 -0
  150. package/dist/cdn/AW4DJ36U.js +4 -0
  151. package/dist/cdn/AWIR4TZZ.js +4 -0
  152. package/dist/cdn/AX3YAAEU.js +4 -0
  153. package/dist/cdn/AYTUTBBZ.js +4 -0
  154. package/dist/cdn/B7P4TNAK.js +4 -0
  155. package/dist/cdn/B7Q26C6A.js +4 -0
  156. package/dist/cdn/B7XHYF74.js +4 -0
  157. package/dist/cdn/BGRKJZ36.js +4 -0
  158. package/dist/cdn/BJQ53UKX.js +4 -0
  159. package/dist/cdn/BLDCAMYI.js +6 -0
  160. package/dist/cdn/BMDWL7UA.js +4 -0
  161. package/dist/cdn/BMV7SNOQ.js +4 -0
  162. package/dist/cdn/BRDPZA7U.js +4 -0
  163. package/dist/cdn/BRY5NATQ.js +4 -0
  164. package/dist/cdn/BYVZ453Z.js +4 -0
  165. package/dist/cdn/BYZKRA6W.js +4 -0
  166. package/dist/cdn/BZHL7RAH.js +4 -0
  167. package/dist/cdn/C4I34NZZ.js +4 -0
  168. package/dist/cdn/CAF6ZJB5.js +4 -0
  169. package/dist/cdn/CASVVB3L.js +4 -0
  170. package/dist/cdn/CCGHGMMC.js +4 -0
  171. package/dist/cdn/CCU7QSTL.js +4 -0
  172. package/dist/cdn/CDLNJVAX.js +4 -0
  173. package/dist/cdn/CDWZ4S7J.js +4 -0
  174. package/dist/cdn/CE7LGM7B.js +4 -0
  175. package/dist/cdn/CFKHHYAD.js +4 -0
  176. package/dist/cdn/CGSL553A.js +4 -0
  177. package/dist/cdn/CH6SCBPW.js +4 -0
  178. package/dist/cdn/CHUYMD7P.js +4 -0
  179. package/dist/cdn/CIN4W6UB.js +4 -0
  180. package/dist/cdn/CJJISNUW.js +4 -0
  181. package/dist/cdn/CJO6EL34.js +4 -0
  182. package/dist/cdn/CK4UKNUI.js +4 -0
  183. package/dist/cdn/CKYCLHIG.js +4 -0
  184. package/dist/cdn/CLNOQM5R.js +4 -0
  185. package/dist/cdn/CPJUJP3G.js +4 -0
  186. package/dist/cdn/CS6MGJQO.js +4 -0
  187. package/dist/cdn/CSTIUTYZ.js +4 -0
  188. package/dist/cdn/CUKFO4UO.js +4 -0
  189. package/dist/cdn/CZBPQLN5.js +4 -0
  190. package/dist/cdn/D3ATGTTM.js +4 -0
  191. package/dist/cdn/D7A5TOJK.js +4 -0
  192. package/dist/cdn/DBCTANFI.js +4 -0
  193. package/dist/cdn/DCUK3QGK.js +4 -0
  194. package/dist/cdn/DDRJ3E47.js +5 -0
  195. package/dist/cdn/DEGVUDKH.js +4 -0
  196. package/dist/cdn/DF2JQJ47.js +4 -0
  197. package/dist/cdn/DFUXY44J.js +4 -0
  198. package/dist/cdn/DG6NH42E.js +4 -0
  199. package/dist/cdn/DGLGW5E5.js +4 -0
  200. package/dist/cdn/DIKA5NN7.js +4 -0
  201. package/dist/cdn/DL23JAVM.js +4 -0
  202. package/dist/cdn/DMATKBWY.js +4 -0
  203. package/dist/cdn/DOKOZ6AO.js +4 -0
  204. package/dist/cdn/DP5LRGRE.js +4 -0
  205. package/dist/cdn/DPIFEGCA.js +4 -0
  206. package/dist/cdn/DQG3R2ON.js +4 -0
  207. package/dist/cdn/DRILUTHB.js +4 -0
  208. package/dist/cdn/DSWH3BSZ.js +4 -0
  209. package/dist/cdn/DV7YVTBM.js +4 -0
  210. package/dist/cdn/DW2VE6RB.js +4 -0
  211. package/dist/cdn/E4S3VMJ4.js +4 -0
  212. package/dist/cdn/E4VKNN7Z.js +4 -0
  213. package/dist/cdn/E55PIZTP.js +59 -0
  214. package/dist/cdn/E5WTEMI4.js +4 -0
  215. package/dist/cdn/E5ZRBHF6.js +4 -0
  216. package/dist/cdn/E7EC6IY6.js +4 -0
  217. package/dist/cdn/EAYJYAVD.js +4 -0
  218. package/dist/cdn/EBZ2LG2B.js +4 -0
  219. package/dist/cdn/EEIFQP4J.js +4 -0
  220. package/dist/cdn/EGN5K4R5.js +4 -0
  221. package/dist/cdn/EK24XXPC.js +4 -0
  222. package/dist/cdn/EL3KJKD4.js +4 -0
  223. package/dist/cdn/ELJW6376.js +4 -0
  224. package/dist/cdn/EMIMWH6T.js +4 -0
  225. package/dist/cdn/ETE7XFXI.js +4 -0
  226. package/dist/cdn/EUAXXENR.js +4 -0
  227. package/dist/cdn/EVRWTMYM.js +4 -0
  228. package/dist/cdn/EWNXAGVT.js +4 -0
  229. package/dist/cdn/EWWZKLPK.js +9 -0
  230. package/dist/cdn/EX7PGREB.js +4 -0
  231. package/dist/cdn/EXF5JSJO.js +4 -0
  232. package/dist/cdn/F2VAPLVS.js +4 -0
  233. package/dist/cdn/F4A7BCAB.js +4 -0
  234. package/dist/cdn/F4CHQB7A.js +4 -0
  235. package/dist/cdn/F4LZ6RO6.js +4 -0
  236. package/dist/cdn/F5G6TONB.js +4 -0
  237. package/dist/cdn/F7A7SLF4.js +4 -0
  238. package/dist/cdn/F7TPJBS3.js +4 -0
  239. package/dist/cdn/FAQU7HTI.js +4 -0
  240. package/dist/cdn/FBV3NDOE.js +4 -0
  241. package/dist/cdn/FDT6EODX.js +4 -0
  242. package/dist/cdn/FFH3GE5N.js +4 -0
  243. package/dist/cdn/FGOBZCPD.js +4 -0
  244. package/dist/cdn/FH7RLODQ.js +4 -0
  245. package/dist/cdn/FMO5ZJZY.js +4 -0
  246. package/dist/cdn/FO5HNNQK.js +4 -0
  247. package/dist/cdn/FRYBR3OJ.js +4 -0
  248. package/dist/cdn/FT3DWPUV.js +4 -0
  249. package/dist/cdn/FTKWZI5L.js +4 -0
  250. package/dist/cdn/FU63GIO4.js +59 -0
  251. package/dist/cdn/FUVW45UR.js +4 -0
  252. package/dist/cdn/FW6UYUEH.js +4 -0
  253. package/dist/cdn/FXAJIOWF.js +4 -0
  254. package/dist/cdn/FYBK6DCU.js +4 -0
  255. package/dist/cdn/G2B6TAF6.js +4 -0
  256. package/dist/cdn/G4WCZJVY.js +4 -0
  257. package/dist/cdn/G4ZPDJ3Y.js +4 -0
  258. package/dist/cdn/G5J2F7BI.js +4 -0
  259. package/dist/cdn/G7B5OTNU.js +4 -0
  260. package/dist/cdn/G7EB7CWF.js +4 -0
  261. package/dist/cdn/G7GL66AO.js +4 -0
  262. package/dist/cdn/G7N3K5AN.js +4 -0
  263. package/dist/cdn/GADY4YUN.js +4 -0
  264. package/dist/cdn/GC6CE3CY.js +4 -0
  265. package/dist/cdn/GC7WLTET.js +4 -0
  266. package/dist/cdn/GLR3J25Y.js +4 -0
  267. package/dist/cdn/GMKBHQWV.js +4 -0
  268. package/dist/cdn/GNLVP4IJ.js +4 -0
  269. package/dist/cdn/GNWX56CS.js +4 -0
  270. package/dist/cdn/GNYEHBW4.js +4 -0
  271. package/dist/cdn/GOCIVQUH.js +4 -0
  272. package/dist/cdn/GRAT6OTK.js +4 -0
  273. package/dist/cdn/GTMNMLKM.js +4 -0
  274. package/dist/cdn/GUVKV5M3.js +4 -0
  275. package/dist/cdn/GXU5XVLA.js +4 -0
  276. package/dist/cdn/GYBCKIDG.js +4 -0
  277. package/dist/cdn/GYVUDB4U.js +4 -0
  278. package/dist/cdn/GZNZKB6P.js +4 -0
  279. package/dist/cdn/GZUT4DFD.js +4 -0
  280. package/dist/cdn/H3SWYVNN.js +4 -0
  281. package/dist/cdn/H7OT62WA.js +4 -0
  282. package/dist/cdn/HALJ7WMY.js +4 -0
  283. package/dist/cdn/HB7EZ2ZP.js +4 -0
  284. package/dist/cdn/HDENKLHA.js +4 -0
  285. package/dist/cdn/HDLBWUYW.js +4 -0
  286. package/dist/cdn/HFNLNZH6.js +4 -0
  287. package/dist/cdn/HH6U56OQ.js +4 -0
  288. package/dist/cdn/HIZH425Y.js +4 -0
  289. package/dist/cdn/HLEUL3UB.js +4 -0
  290. package/dist/cdn/HM664JSM.js +4 -0
  291. package/dist/cdn/HMDWP2DJ.js +4 -0
  292. package/dist/cdn/HMHP7ZZG.js +4 -0
  293. package/dist/cdn/HN7UDL4V.js +4 -0
  294. package/dist/cdn/HOLPAUC5.js +4 -0
  295. package/dist/cdn/HP6ORTCD.js +4 -0
  296. package/dist/cdn/HPJDMA7O.js +4 -0
  297. package/dist/cdn/HSVEEM3Y.js +4 -0
  298. package/dist/cdn/HTD3KYFP.js +4 -0
  299. package/dist/cdn/HVZR3ZJ4.js +4 -0
  300. package/dist/cdn/HYBGRFWL.js +4 -0
  301. package/dist/cdn/I2N2WBWH.js +4 -0
  302. package/dist/cdn/I55YHPN2.js +4 -0
  303. package/dist/cdn/I5LZZ22S.js +4 -0
  304. package/dist/cdn/I6BHGMP2.js +4 -0
  305. package/dist/cdn/I7OBGBIS.js +4 -0
  306. package/dist/cdn/ICFH6C3K.js +4 -0
  307. package/dist/cdn/IDUOUPGE.js +4 -0
  308. package/dist/cdn/IGBBNK7E.js +4 -0
  309. package/dist/cdn/IGEJG5RK.js +4 -0
  310. package/dist/cdn/IGNZWKJ4.js +4 -0
  311. package/dist/cdn/IHS6H6EM.js +4 -0
  312. package/dist/cdn/IKIWWVFN.js +4 -0
  313. package/dist/cdn/ILNQM4AV.js +4 -0
  314. package/dist/cdn/ILOMSOVO.js +4 -0
  315. package/dist/cdn/IMIUUVYJ.js +4 -0
  316. package/dist/cdn/IQDGKBPB.js +4 -0
  317. package/dist/cdn/IQR2QBLV.js +4 -0
  318. package/dist/cdn/IRR2H653.js +4 -0
  319. package/dist/cdn/ITAC6FCQ.js +4 -0
  320. package/dist/cdn/ITEKAOCD.js +4 -0
  321. package/dist/cdn/IU3W6AZH.js +4 -0
  322. package/dist/cdn/IUB4NLTX.js +4 -0
  323. package/dist/cdn/IXLF7OFC.js +4 -0
  324. package/dist/cdn/IXQ2D2UD.js +4 -0
  325. package/dist/cdn/IZAXN2RG.js +4 -0
  326. package/dist/cdn/IZJRDP5O.js +4 -0
  327. package/dist/cdn/J24HGSWW.js +4 -0
  328. package/dist/cdn/J5RLAHD6.js +4 -0
  329. package/dist/cdn/J5URYDSE.js +4 -0
  330. package/dist/cdn/JDJ3QCJQ.js +4 -0
  331. package/dist/cdn/JDOO34KU.js +4 -0
  332. package/dist/cdn/JE3BJVEU.js +4 -0
  333. package/dist/cdn/JGSGXI45.js +4 -0
  334. package/dist/cdn/JHSIBMAJ.js +4 -0
  335. package/dist/cdn/JIC2PYUZ.js +4 -0
  336. package/dist/cdn/JIOD2AHM.js +4 -0
  337. package/dist/cdn/JKVJOSHJ.js +4 -0
  338. package/dist/cdn/JRVQSAOH.js +4 -0
  339. package/dist/cdn/JSRL36VR.js +4 -0
  340. package/dist/cdn/JSXYXVK4.js +4 -0
  341. package/dist/cdn/JULJQFML.js +4 -0
  342. package/dist/cdn/K3AAT7NV.js +4 -0
  343. package/dist/cdn/K4HN3KFS.js +4 -0
  344. package/dist/cdn/K5R53VRG.js +4 -0
  345. package/dist/cdn/K6J2TWAV.js +4 -0
  346. package/dist/cdn/K7RE2Z5G.js +4 -0
  347. package/dist/cdn/KATZZYL2.js +4 -0
  348. package/dist/cdn/KIYW4AKB.js +4 -0
  349. package/dist/cdn/KKYQVYK2.js +4 -0
  350. package/dist/cdn/KMB72W5K.js +4 -0
  351. package/dist/cdn/KNCQUAJ5.js +42 -0
  352. package/dist/cdn/KNFSQOWX.js +4 -0
  353. package/dist/cdn/KNQ5JMOP.js +4 -0
  354. package/dist/cdn/KOQ54Y7Q.js +4 -0
  355. package/dist/cdn/KQR4Y6QS.js +4 -0
  356. package/dist/cdn/KS65KGU5.js +4 -0
  357. package/dist/cdn/KTMJJFZ4.js +4 -0
  358. package/dist/cdn/KXDOQU35.js +4 -0
  359. package/dist/cdn/KYIP52BY.js +4 -0
  360. package/dist/cdn/L3FBVXJL.js +4 -0
  361. package/dist/cdn/L4C3AP4D.js +4 -0
  362. package/dist/cdn/L52RSGDN.js +8 -0
  363. package/dist/cdn/L6KLIJST.js +4 -0
  364. package/dist/cdn/L6SIN7UD.js +4 -0
  365. package/dist/cdn/L7ASKEHG.js +4 -0
  366. package/dist/cdn/LA5MMRNU.js +4 -0
  367. package/dist/cdn/LAQUDDOG.js +4 -0
  368. package/dist/cdn/LDUYUOPE.js +16 -0
  369. package/dist/cdn/LGMKLR7F.js +4 -0
  370. package/dist/cdn/LGTQBWCT.js +4 -0
  371. package/dist/cdn/LHD62QUH.js +4 -0
  372. package/dist/cdn/LHQX5AWC.js +4 -0
  373. package/dist/cdn/LII6ONKK.js +4 -0
  374. package/dist/cdn/LIIBFABL.js +4 -0
  375. package/dist/cdn/LLJXXMNP.js +4 -0
  376. package/dist/cdn/LNFHZJH3.js +4 -0
  377. package/dist/cdn/LNKBILYM.js +4 -0
  378. package/dist/cdn/LOEG2TI2.js +4 -0
  379. package/dist/cdn/LOQOFLZB.js +4 -0
  380. package/dist/cdn/LP4MDOEZ.js +4 -0
  381. package/dist/cdn/LPNDWNQJ.js +4 -0
  382. package/dist/cdn/LRHNAS3G.js +4 -0
  383. package/dist/cdn/LRXECYNW.js +4 -0
  384. package/dist/cdn/LSAJV7KC.js +4 -0
  385. package/dist/cdn/LU73QQW4.js +4 -0
  386. package/dist/cdn/LVUBOFWG.js +4 -0
  387. package/dist/cdn/LWBK57H4.js +4 -0
  388. package/dist/cdn/LYFJLDBD.js +4 -0
  389. package/dist/cdn/LYVPE2BC.js +4 -0
  390. package/dist/cdn/M4YKTLXP.js +4 -0
  391. package/dist/cdn/M5NHZHXV.js +4 -0
  392. package/dist/cdn/M6672E2H.js +4 -0
  393. package/dist/cdn/M7DGT7SE.js +4 -0
  394. package/dist/cdn/M7P7THKQ.js +4 -0
  395. package/dist/cdn/M7W2SEWL.js +4 -0
  396. package/dist/cdn/MBBVJV2V.js +4 -0
  397. package/dist/cdn/MEHA3ILA.js +4 -0
  398. package/dist/cdn/MEZ65IM7.js +4 -0
  399. package/dist/cdn/MJCTD5AB.js +4 -0
  400. package/dist/cdn/MJXIG5KL.js +4 -0
  401. package/dist/cdn/MK3CK6XL.js +4 -0
  402. package/dist/cdn/MQRPFNQC.js +4 -0
  403. package/dist/cdn/MRIT4ZFO.js +4 -0
  404. package/dist/cdn/MRQVGHUZ.js +4 -0
  405. package/dist/cdn/MSWRIF6L.js +4 -0
  406. package/dist/cdn/MUNIECVM.js +4 -0
  407. package/dist/cdn/MYEVNCFH.js +4 -0
  408. package/dist/cdn/N2CHHVFR.js +4 -0
  409. package/dist/cdn/N6NZ7K4K.js +4 -0
  410. package/dist/cdn/N6PFLNQS.js +4 -0
  411. package/dist/cdn/NC2GGDLV.js +4 -0
  412. package/dist/cdn/NCJ7QKG4.js +4 -0
  413. package/dist/cdn/NESZ3TYE.js +4 -0
  414. package/dist/cdn/NFR4ZUEZ.js +4 -0
  415. package/dist/cdn/NHKBEWKI.js +4 -0
  416. package/dist/cdn/NINBHAEI.js +4 -0
  417. package/dist/cdn/NKIHCRTJ.js +4 -0
  418. package/dist/cdn/NO4AHNTD.js +5 -0
  419. package/dist/cdn/NT4QZKOK.js +4 -0
  420. package/dist/cdn/NXA6ZM5K.js +4 -0
  421. package/dist/cdn/NXMH4A6X.js +4 -0
  422. package/dist/cdn/O5GQL67D.js +4 -0
  423. package/dist/cdn/O6XP6BHD.js +4 -0
  424. package/dist/cdn/O7EOIHD5.js +4 -0
  425. package/dist/cdn/OCOIXZXA.js +4 -0
  426. package/dist/cdn/OD6Y5IVF.js +4 -0
  427. package/dist/cdn/OE55LWYT.js +4 -0
  428. package/dist/cdn/OFLLJHDT.js +4 -0
  429. package/dist/cdn/OG43NUGK.js +4 -0
  430. package/dist/cdn/OIDEW6LG.js +4 -0
  431. package/dist/cdn/OK4ZSC25.js +4 -0
  432. package/dist/cdn/OLBI36R6.js +4 -0
  433. package/dist/cdn/OLGSCCZR.js +4 -0
  434. package/dist/cdn/OLTFXO7V.js +4 -0
  435. package/dist/cdn/OMFIN33Z.js +4 -0
  436. package/dist/cdn/ONUSJCRL.js +4 -0
  437. package/dist/cdn/OPI2CQER.js +4 -0
  438. package/dist/cdn/OQNCPY3N.js +4 -0
  439. package/dist/cdn/OQUWYOIZ.js +4 -0
  440. package/dist/cdn/OVCTD2ZC.js +4 -0
  441. package/dist/cdn/OW7EGHSJ.js +4 -0
  442. package/dist/cdn/OWR2YYD7.js +4 -0
  443. package/dist/cdn/P2MZ5IXH.js +4 -0
  444. package/dist/cdn/P5Z2YMSD.js +4 -0
  445. package/dist/cdn/P64QV7C6.js +4 -0
  446. package/dist/cdn/PAFJLXFP.js +4 -0
  447. package/dist/cdn/PAWYSE7W.js +4 -0
  448. package/dist/cdn/PC3U5BGI.js +4 -0
  449. package/dist/cdn/PCUVGHQ3.js +4 -0
  450. package/dist/cdn/PDRPQO6H.js +4 -0
  451. package/dist/cdn/PEWPPQQG.js +4 -0
  452. package/dist/cdn/PFDRKKKZ.js +4 -0
  453. package/dist/cdn/PGVRIAKH.js +4 -0
  454. package/dist/cdn/PGWNWCUQ.js +4 -0
  455. package/dist/cdn/PKCUGT56.js +4 -0
  456. package/dist/cdn/PKLZBVN3.js +4 -0
  457. package/dist/cdn/PNOPNBV4.js +4 -0
  458. package/dist/cdn/POHH4676.js +4 -0
  459. package/dist/cdn/POHNPGIZ.js +4 -0
  460. package/dist/cdn/POHSLDON.js +4 -0
  461. package/dist/cdn/PP2EQVFL.js +4 -0
  462. package/dist/cdn/PPCS2V56.js +4 -0
  463. package/dist/cdn/PPJ2YHT5.js +4 -0
  464. package/dist/cdn/PSA33SOU.js +4 -0
  465. package/dist/cdn/PTNS7HWG.js +41 -0
  466. package/dist/cdn/PUABOGG5.js +4 -0
  467. package/dist/cdn/PUEU7Y25.js +4 -0
  468. package/dist/cdn/PXCFYH7E.js +4 -0
  469. package/dist/cdn/PXTN457H.js +11 -0
  470. package/dist/cdn/Q23GP2NU.js +4 -0
  471. package/dist/cdn/Q2H6P3CC.js +4 -0
  472. package/dist/cdn/Q5TRJROO.js +4 -0
  473. package/dist/cdn/QBLRS3AA.js +4 -0
  474. package/dist/cdn/QGF3HN2H.js +4 -0
  475. package/dist/cdn/QH7NCZ4B.js +4 -0
  476. package/dist/cdn/QLDHDEW2.js +4 -0
  477. package/dist/cdn/QMEG6ZKK.js +4 -0
  478. package/dist/cdn/QPLAZYYT.js +4 -0
  479. package/dist/cdn/QREEMF5D.js +4 -0
  480. package/dist/cdn/QTWUVEZS.js +4 -0
  481. package/dist/cdn/QVQ3ZPSE.js +4 -0
  482. package/dist/cdn/QVSOEAWI.js +4 -0
  483. package/dist/cdn/QVUFHY4S.js +4 -0
  484. package/dist/cdn/QWDXDXJ3.js +12 -0
  485. package/dist/cdn/QWU7QSFG.js +4 -0
  486. package/dist/cdn/R7KFMCVR.js +4 -0
  487. package/dist/cdn/R7YZCTEY.js +4 -0
  488. package/dist/cdn/RBYJDMRP.js +4 -0
  489. package/dist/cdn/RCKCIQDI.js +25 -0
  490. package/dist/cdn/RIA2PZE3.js +4 -0
  491. package/dist/cdn/RIUBYOWD.js +4 -0
  492. package/dist/cdn/RN557Y64.js +4 -0
  493. package/dist/cdn/RNDB4PKC.js +4 -0
  494. package/dist/cdn/RR5LJSZV.js +4 -0
  495. package/dist/cdn/RUG6Z742.js +4 -0
  496. package/dist/cdn/RVGFE4XI.js +4 -0
  497. package/dist/cdn/RYRO2DQI.js +4 -0
  498. package/dist/cdn/RZGRQQZV.js +4 -0
  499. package/dist/cdn/S46V4AHT.js +4 -0
  500. package/dist/cdn/S57TLAGR.js +4 -0
  501. package/dist/cdn/S6DA3GKU.js +4 -0
  502. package/dist/cdn/S77RSIBX.js +4 -0
  503. package/dist/cdn/SAEJJISK.js +5 -0
  504. package/dist/cdn/SBETABLY.js +4 -0
  505. package/dist/cdn/SBZ5VCWI.js +4 -0
  506. package/dist/cdn/SEJFQJFQ.js +4 -0
  507. package/dist/cdn/SGG5LMGG.js +4 -0
  508. package/dist/cdn/SIL6OYQD.js +4 -0
  509. package/dist/cdn/SJMYYOPS.js +4 -0
  510. package/dist/cdn/SLYQALM6.js +4 -0
  511. package/dist/cdn/SNJFT42L.js +4 -0
  512. package/dist/cdn/STR3HZLS.js +4 -0
  513. package/dist/cdn/SUEJFOY6.js +4 -0
  514. package/dist/cdn/SUTC2XG5.js +4 -0
  515. package/dist/cdn/SVC4BPOE.js +4 -0
  516. package/dist/cdn/SWM3B4XJ.js +4 -0
  517. package/dist/cdn/SXCNLMR2.js +4 -0
  518. package/dist/cdn/SYD7L3CC.js +4 -0
  519. package/dist/cdn/T3EL4CTE.js +4 -0
  520. package/dist/cdn/T3FDRTDQ.js +4 -0
  521. package/dist/cdn/T4MW57S7.js +4 -0
  522. package/dist/cdn/T4TW42FV.js +4 -0
  523. package/dist/cdn/T5YOZX7F.js +4 -0
  524. package/dist/cdn/T6RLOBJQ.js +4 -0
  525. package/dist/cdn/T6ZJO7HL.js +4 -0
  526. package/dist/cdn/T7LHQQW2.js +4 -0
  527. package/dist/cdn/TA6DBTVN.js +4 -0
  528. package/dist/cdn/TAY33M4C.js +4 -0
  529. package/dist/cdn/TCBCDJ6A.js +4 -0
  530. package/dist/cdn/TEER57FE.js +4 -0
  531. package/dist/cdn/TGTCPBAF.js +4 -0
  532. package/dist/cdn/TJGPF56P.js +4 -0
  533. package/dist/cdn/TKRDRBTD.js +4 -0
  534. package/dist/cdn/TNMOAVG5.js +4 -0
  535. package/dist/cdn/TRFZO2XZ.js +4 -0
  536. package/dist/cdn/TS7DOFA6.js +4 -0
  537. package/dist/cdn/TSZ6P4FZ.js +4 -0
  538. package/dist/cdn/TU7RR222.js +4 -0
  539. package/dist/cdn/TUVBYQLR.js +4 -0
  540. package/dist/cdn/TVIRVLDE.js +4 -0
  541. package/dist/cdn/TVOHHVVE.js +4 -0
  542. package/dist/cdn/TVQB6BDH.js +4 -0
  543. package/dist/cdn/TWZVZAKS.js +4 -0
  544. package/dist/cdn/U2OE324N.js +4 -0
  545. package/dist/cdn/U5OWLFVR.js +4 -0
  546. package/dist/cdn/U5QWHDJY.js +4 -0
  547. package/dist/cdn/U6CSXDNJ.js +4 -0
  548. package/dist/cdn/UBNS3HZH.js +4 -0
  549. package/dist/cdn/UCFCJ6DG.js +4 -0
  550. package/dist/cdn/UD7NMQBC.js +4 -0
  551. package/dist/cdn/UFDUUCXW.js +4 -0
  552. package/dist/cdn/UG5V3SJV.js +4 -0
  553. package/dist/cdn/UGR5VKH7.js +4 -0
  554. package/dist/cdn/UH7GBDT6.js +4 -0
  555. package/dist/cdn/UNLDFK4A.js +4 -0
  556. package/dist/cdn/UOPZ5P3Q.js +4 -0
  557. package/dist/cdn/UOSKPENQ.js +4 -0
  558. package/dist/cdn/UPC4I723.js +4 -0
  559. package/dist/cdn/UX555NPM.js +4 -0
  560. package/dist/cdn/UXCRRIGA.js +4 -0
  561. package/dist/cdn/UXFL2V5Y.js +4 -0
  562. package/dist/cdn/UYNLDE4Y.js +4 -0
  563. package/dist/cdn/UZ5S5XWU.js +4 -0
  564. package/dist/cdn/V2BPJS26.js +4 -0
  565. package/dist/cdn/V2NOB4TW.js +4 -0
  566. package/dist/cdn/V2PC3OYU.js +4 -0
  567. package/dist/cdn/V3NBT5GS.js +4 -0
  568. package/dist/cdn/V6R6D6QQ.js +4 -0
  569. package/dist/cdn/VDEQ46HP.js +4 -0
  570. package/dist/cdn/VHEKHIQN.js +4 -0
  571. package/dist/cdn/VIJIBCKZ.js +4 -0
  572. package/dist/cdn/VKF3GOUM.js +4 -0
  573. package/dist/cdn/VLAFJ5ZC.js +4 -0
  574. package/dist/cdn/VMYMXW5C.js +4 -0
  575. package/dist/cdn/VNEYYIET.js +4 -0
  576. package/dist/cdn/VSF47BVN.js +4 -0
  577. package/dist/cdn/VZR2VCW7.js +4 -0
  578. package/dist/cdn/VZRDWOH2.js +4 -0
  579. package/dist/cdn/W2WYUGL4.js +4 -0
  580. package/dist/cdn/W3PHOWGH.js +4 -0
  581. package/dist/cdn/W47ZO4CP.js +4 -0
  582. package/dist/cdn/W4AWVUWG.js +4 -0
  583. package/dist/cdn/WBGQXLBE.js +4 -0
  584. package/dist/cdn/WEACU77L.js +4 -0
  585. package/dist/cdn/WHWZW6KB.js +4 -0
  586. package/dist/cdn/WIDOLHKR.js +4 -0
  587. package/dist/cdn/WIPNSKYW.js +24 -0
  588. package/dist/cdn/WO5INMBQ.js +4 -0
  589. package/dist/cdn/WOHWJV3J.js +4 -0
  590. package/dist/cdn/WPLHORUT.js +4 -0
  591. package/dist/cdn/WTT3ZDJX.js +4 -0
  592. package/dist/cdn/WURT5OGC.js +4 -0
  593. package/dist/cdn/WUVRXUWC.js +4 -0
  594. package/dist/cdn/WXVNWE3D.js +4 -0
  595. package/dist/cdn/WZNS34V3.js +4 -0
  596. package/dist/cdn/X4L5R3G7.js +4 -0
  597. package/dist/cdn/X7QRLL2S.js +4 -0
  598. package/dist/cdn/X7TTRCUD.js +4 -0
  599. package/dist/cdn/X7YZL33H.js +4 -0
  600. package/dist/cdn/X7ZEAWTB.js +4 -0
  601. package/dist/cdn/XECQTVWI.js +4 -0
  602. package/dist/cdn/XFNRSGDF.js +4 -0
  603. package/dist/cdn/XFYO5IG3.js +4 -0
  604. package/dist/cdn/XG4XM57U.js +4 -0
  605. package/dist/cdn/XILBQDJI.js +4 -0
  606. package/dist/cdn/XJ7VU5JR.js +4 -0
  607. package/dist/cdn/XOMLRIJN.js +4 -0
  608. package/dist/cdn/XPDBNQPQ.js +4 -0
  609. package/dist/cdn/XQBCWDJT.js +4 -0
  610. package/dist/cdn/XQK5ICNM.js +4 -0
  611. package/dist/cdn/XS46CDNM.js +4 -0
  612. package/dist/cdn/XS7Y2NVM.js +4 -0
  613. package/dist/cdn/XTE6GBGM.js +4 -0
  614. package/dist/cdn/XVBQWDJQ.js +4 -0
  615. package/dist/cdn/XVGUXLF6.js +4 -0
  616. package/dist/cdn/XXKJLL2J.js +4 -0
  617. package/dist/cdn/XZII3L3G.js +4 -0
  618. package/dist/cdn/Y3M3MYJJ.js +4 -0
  619. package/dist/cdn/Y7DEAI7Z.js +4 -0
  620. package/dist/cdn/YA5DNHSO.js +4 -0
  621. package/dist/cdn/YAWTZOWY.js +4 -0
  622. package/dist/cdn/YBE6NAAI.js +4 -0
  623. package/dist/cdn/YDUSDQWH.js +5 -0
  624. package/dist/cdn/YEXIF5NM.js +4 -0
  625. package/dist/cdn/YHECU4IW.js +4 -0
  626. package/dist/cdn/YJHPR3QZ.js +4 -0
  627. package/dist/cdn/YK3UCJX4.js +4 -0
  628. package/dist/cdn/YLL5F7KE.js +4 -0
  629. package/dist/cdn/YMKXFTWA.js +4 -0
  630. package/dist/cdn/YNT7SH3A.js +4 -0
  631. package/dist/cdn/YODUQ6TL.js +4 -0
  632. package/dist/cdn/YOFVXHL5.js +4 -0
  633. package/dist/cdn/YOTP7O64.js +4 -0
  634. package/dist/cdn/YQHKDZLO.js +4 -0
  635. package/dist/cdn/YWORZWTI.js +4 -0
  636. package/dist/cdn/YXBTWL75.js +4 -0
  637. package/dist/cdn/YY5R4RCR.js +4 -0
  638. package/dist/cdn/YYRM35JP.js +4 -0
  639. package/dist/cdn/YYSDOYB2.js +4 -0
  640. package/dist/cdn/YZNI5Y24.js +4 -0
  641. package/dist/cdn/YZVYDZAR.js +4 -0
  642. package/dist/cdn/Z35U3PWM.js +4 -0
  643. package/dist/cdn/Z476O47D.js +4 -0
  644. package/dist/cdn/Z5TTLQKA.js +4 -0
  645. package/dist/cdn/ZBWIRPOV.js +4 -0
  646. package/dist/cdn/ZDG53UDI.js +4 -0
  647. package/dist/cdn/ZEUNNVPD.js +4 -0
  648. package/dist/cdn/ZFKHD4BS.js +4 -0
  649. package/dist/cdn/ZK3HFZBZ.js +52 -0
  650. package/dist/cdn/ZL2JWPGP.js +4 -0
  651. package/dist/cdn/ZLKRUFIB.js +4 -0
  652. package/dist/cdn/ZN3OHNQU.js +4 -0
  653. package/dist/cdn/ZOV6MR3C.js +4 -0
  654. package/dist/cdn/ZSKG4N3O.js +4 -0
  655. package/dist/cdn/ZSU5ZYAA.js +4 -0
  656. package/dist/cdn/ZY2ZCZL7.js +4 -0
  657. package/dist/cdn/ZYACMKQM.js +4 -0
  658. package/dist/cdn/index.js +2 -2
  659. package/dist/chunks/findColumnAndNodeIndex.js +1 -1
  660. package/dist/chunks/getResponsiveClasses.js +1 -1
  661. package/dist/chunks/interpolate-translations.js +1 -1
  662. package/dist/chunks/isNodeVisible.js +1 -1
  663. package/dist/chunks/layoutContext.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/useGlobalContext.js +1 -1
  670. package/dist/chunks/useT9n.js +1 -1
  671. package/dist/chunks/util.js +1 -1
  672. package/dist/components/arcgis-chat-shell/customElement.js +1 -1
  673. package/dist/components/arcgis-chat-ui/customElement.js +1 -1
  674. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +1 -1
  675. package/dist/components/arcgis-chat-ui/functional/chat-response/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-hub-entity-view-layout/customElement.js +1 -1
  681. package/dist/components/arcgis-layout/customElement.js +1 -1
  682. package/dist/components/arcgis-layout-column/customElement.js +1 -1
  683. package/dist/components/arcgis-layout-container/customElement.js +1 -1
  684. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +1 -1
  685. package/dist/components/arcgis-layout-node-controls/customElement.js +6 -6
  686. package/dist/components/arcgis-layout-node-editor/customElement.js +1 -1
  687. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +1 -1
  688. package/dist/components/arcgis-layout-node-wrapper/customElement.js +21 -21
  689. package/dist/components/arcgis-layout-node-wrapper/index.d.ts +0 -1
  690. package/dist/components/arcgis-layout-node-wrapper/index.js +0 -1
  691. package/dist/components/arcgis-layout-row/customElement.js +1 -1
  692. package/dist/components/arcgis-layout-section/customElement.js +1 -1
  693. package/dist/components/arcgis-nav-card/customElement.js +1 -1
  694. package/dist/components/arcgis-text-card/customElement.js +1 -1
  695. package/dist/components/layouts/components/layout-node/customElement.js +1 -1
  696. package/dist/docs/api.json +1 -1
  697. package/dist/docs/docs.json +1 -1
  698. package/dist/docs/web-types.json +1 -1
  699. package/dist/embed-config.js +1 -1
  700. package/dist/index.js +1 -1
  701. package/dist/loader.js +1 -1
  702. package/package.json +1 -1
  703. package/dist/cdn/223KS7TV.js +0 -4
  704. package/dist/cdn/24BFIAXI.js +0 -4
  705. package/dist/cdn/25JJEBF4.js +0 -4
  706. package/dist/cdn/2AWHCF6R.js +0 -4
  707. package/dist/cdn/2EEKOJDW.js +0 -4
  708. package/dist/cdn/2ESUU7RC.js +0 -4
  709. package/dist/cdn/2F7JTV34.js +0 -4
  710. package/dist/cdn/2GOC4XHD.js +0 -4
  711. package/dist/cdn/2HSHPWIJ.js +0 -4
  712. package/dist/cdn/2IS33AMO.js +0 -4
  713. package/dist/cdn/2KCUXKC3.js +0 -4
  714. package/dist/cdn/2KO66RWN.js +0 -4
  715. package/dist/cdn/2QB77NE5.js +0 -4
  716. package/dist/cdn/2RCUCWI2.js +0 -4
  717. package/dist/cdn/2S2MOBEO.js +0 -4
  718. package/dist/cdn/2SKDAO5S.js +0 -4
  719. package/dist/cdn/2TDUEUZX.js +0 -4
  720. package/dist/cdn/35HHQSKL.js +0 -4
  721. package/dist/cdn/35OOVE3L.js +0 -4
  722. package/dist/cdn/3BZRCQDQ.js +0 -4
  723. package/dist/cdn/3DWJDPKZ.js +0 -4
  724. package/dist/cdn/3FMKRHUW.js +0 -4
  725. package/dist/cdn/3FXJKANX.js +0 -4
  726. package/dist/cdn/3G7G4PK2.js +0 -4
  727. package/dist/cdn/3GA4TMHV.js +0 -4
  728. package/dist/cdn/3LYRDN4S.js +0 -4
  729. package/dist/cdn/3M5IQS5E.js +0 -4
  730. package/dist/cdn/3MWCBVCT.js +0 -4
  731. package/dist/cdn/3N624G4U.js +0 -4
  732. package/dist/cdn/3O2HWWBU.js +0 -4
  733. package/dist/cdn/3PGAQNC3.js +0 -4
  734. package/dist/cdn/3PH3BYBO.js +0 -4
  735. package/dist/cdn/3RBMQED2.js +0 -4
  736. package/dist/cdn/3RDDL56K.js +0 -4
  737. package/dist/cdn/3RUZIZCV.js +0 -4
  738. package/dist/cdn/3SBUSIMZ.js +0 -4
  739. package/dist/cdn/3TH4WMCB.js +0 -4
  740. package/dist/cdn/3TNKNDPV.js +0 -4
  741. package/dist/cdn/3UY6SIXL.js +0 -4
  742. package/dist/cdn/3WOFZ47Q.js +0 -4
  743. package/dist/cdn/3XCJTU4L.js +0 -4
  744. package/dist/cdn/3Y4JIRQX.js +0 -4
  745. package/dist/cdn/4AGMR33C.js +0 -4
  746. package/dist/cdn/4CNGOG5U.js +0 -4
  747. package/dist/cdn/4DMZKEPT.js +0 -4
  748. package/dist/cdn/4EODBNTO.js +0 -4
  749. package/dist/cdn/4FRKOUFZ.js +0 -4
  750. package/dist/cdn/4IGNBYNB.js +0 -4
  751. package/dist/cdn/4IOJI6AG.js +0 -4
  752. package/dist/cdn/4IVIYRHQ.js +0 -4
  753. package/dist/cdn/4LYRQA6J.js +0 -4
  754. package/dist/cdn/4M4KBA3U.js +0 -4
  755. package/dist/cdn/4MJGM6LA.js +0 -4
  756. package/dist/cdn/4OPVNZOC.js +0 -4
  757. package/dist/cdn/4QQFXQYG.js +0 -6
  758. package/dist/cdn/4V3KMDSB.js +0 -4
  759. package/dist/cdn/4V5DXTRF.js +0 -4
  760. package/dist/cdn/4WGVZAFT.js +0 -4
  761. package/dist/cdn/4WZQ7BZ5.js +0 -4
  762. package/dist/cdn/4YIKCTEG.js +0 -4
  763. package/dist/cdn/53TCF2GH.js +0 -4
  764. package/dist/cdn/56NX4JRB.js +0 -4
  765. package/dist/cdn/56YXMCS7.js +0 -4
  766. package/dist/cdn/5BER4SFF.js +0 -16
  767. package/dist/cdn/5C5QAXEE.js +0 -4
  768. package/dist/cdn/5EPEJSUV.js +0 -4
  769. package/dist/cdn/5H2E5UZC.js +0 -4
  770. package/dist/cdn/5HALXJBI.js +0 -4
  771. package/dist/cdn/5HGVN2BQ.js +0 -4
  772. package/dist/cdn/5LNSOSH3.js +0 -4
  773. package/dist/cdn/5PT22MRS.js +0 -11
  774. package/dist/cdn/5Q6GGUTY.js +0 -4
  775. package/dist/cdn/5SURZWMK.js +0 -4
  776. package/dist/cdn/5VOLKGNL.js +0 -4
  777. package/dist/cdn/5XM36GWL.js +0 -4
  778. package/dist/cdn/5Y2R5DT3.js +0 -4
  779. package/dist/cdn/5Z5XG2MR.js +0 -4
  780. package/dist/cdn/5ZPEXBAG.js +0 -4
  781. package/dist/cdn/622TPBFN.js +0 -4
  782. package/dist/cdn/62B747Q5.js +0 -4
  783. package/dist/cdn/646IF44F.js +0 -4
  784. package/dist/cdn/64ZE6B2D.js +0 -4
  785. package/dist/cdn/66UDDINU.js +0 -4
  786. package/dist/cdn/6DY3UACU.js +0 -4
  787. package/dist/cdn/6JZWEPVU.js +0 -4
  788. package/dist/cdn/6KUUMZ62.js +0 -4
  789. package/dist/cdn/6MHKL76Q.js +0 -4
  790. package/dist/cdn/6NWG6ZQ4.js +0 -4
  791. package/dist/cdn/6OBVOLCX.js +0 -4
  792. package/dist/cdn/6Q6IUBV7.js +0 -4
  793. package/dist/cdn/6RPIJGSD.js +0 -4
  794. package/dist/cdn/6SP7HAZV.js +0 -4
  795. package/dist/cdn/6SQLNTI5.js +0 -5
  796. package/dist/cdn/6T7IRSLC.js +0 -4
  797. package/dist/cdn/6VGJ5DMN.js +0 -4
  798. package/dist/cdn/72K234SU.js +0 -4
  799. package/dist/cdn/744OA2ZA.js +0 -4
  800. package/dist/cdn/7AJ7LIVE.js +0 -4
  801. package/dist/cdn/7BM6QJPU.js +0 -4
  802. package/dist/cdn/7BMDZBVL.js +0 -4
  803. package/dist/cdn/7BMY7XCD.js +0 -4
  804. package/dist/cdn/7DV2NCAD.js +0 -4
  805. package/dist/cdn/7ENACUWJ.js +0 -4
  806. package/dist/cdn/7FPME7QV.js +0 -4
  807. package/dist/cdn/7G5WZA7A.js +0 -4
  808. package/dist/cdn/7HXYMVCA.js +0 -4
  809. package/dist/cdn/7IJNSVAH.js +0 -4
  810. package/dist/cdn/7LWQTJBN.js +0 -4
  811. package/dist/cdn/7MLVO3CX.js +0 -4
  812. package/dist/cdn/7NXO3N6C.js +0 -4
  813. package/dist/cdn/7OSGHY7T.js +0 -4
  814. package/dist/cdn/7Q4A3IJO.js +0 -4
  815. package/dist/cdn/7RM5HQ6M.js +0 -4
  816. package/dist/cdn/7SRQR52X.js +0 -4
  817. package/dist/cdn/7URDPP56.js +0 -4
  818. package/dist/cdn/7VKGQESS.js +0 -4
  819. package/dist/cdn/7YN756B6.js +0 -4
  820. package/dist/cdn/7YZRJHWC.js +0 -4
  821. package/dist/cdn/7ZM6DCZO.js +0 -4
  822. package/dist/cdn/A3LDO7RZ.js +0 -4
  823. package/dist/cdn/A733542D.js +0 -4
  824. package/dist/cdn/AA4RIAVV.js +0 -4
  825. package/dist/cdn/AB5FQP73.js +0 -5470
  826. package/dist/cdn/ABE4POTH.js +0 -4
  827. package/dist/cdn/ABWBQXUK.js +0 -4
  828. package/dist/cdn/ACJGBKFR.js +0 -4
  829. package/dist/cdn/AHK6ZP6G.js +0 -4
  830. package/dist/cdn/AHXMXOCH.js +0 -4
  831. package/dist/cdn/AODVXTIT.js +0 -4
  832. package/dist/cdn/AQEYZFIN.js +0 -4
  833. package/dist/cdn/AS7AUPBK.js +0 -4
  834. package/dist/cdn/AX3PP6N4.js +0 -4
  835. package/dist/cdn/AYRMKJBR.js +0 -4
  836. package/dist/cdn/B4NYJVYJ.js +0 -4
  837. package/dist/cdn/BBCGDSCR.js +0 -4
  838. package/dist/cdn/BBN2HSCB.js +0 -4
  839. package/dist/cdn/BBTZ2JH6.js +0 -4
  840. package/dist/cdn/BD2RHLIK.js +0 -4
  841. package/dist/cdn/BEFYRYTZ.js +0 -4
  842. package/dist/cdn/BHGBRHEJ.js +0 -4
  843. package/dist/cdn/BHTSAAXP.js +0 -4
  844. package/dist/cdn/BIIGU5WC.js +0 -4
  845. package/dist/cdn/BJCJRKBD.js +0 -4
  846. package/dist/cdn/BKZ55XRC.js +0 -4
  847. package/dist/cdn/BO4PR4GE.js +0 -4
  848. package/dist/cdn/BOFP5IER.js +0 -4
  849. package/dist/cdn/BOQY4ZUH.js +0 -4
  850. package/dist/cdn/BP3UKQRX.js +0 -4
  851. package/dist/cdn/BPRFFIN6.js +0 -4
  852. package/dist/cdn/BQDR2DFD.js +0 -4
  853. package/dist/cdn/BUTZNW2P.js +0 -4
  854. package/dist/cdn/BWIWHWKS.js +0 -4
  855. package/dist/cdn/BWJB7PX6.js +0 -4
  856. package/dist/cdn/C23UWIBF.js +0 -4
  857. package/dist/cdn/C47J5UGW.js +0 -4
  858. package/dist/cdn/C4GSJRRI.js +0 -4
  859. package/dist/cdn/C5XTJOMW.js +0 -4
  860. package/dist/cdn/CAZ5FI5E.js +0 -4
  861. package/dist/cdn/CGW3RCPR.js +0 -4
  862. package/dist/cdn/CHPVD7M5.js +0 -4
  863. package/dist/cdn/CJITWSVY.js +0 -6
  864. package/dist/cdn/CKJZIOMG.js +0 -4
  865. package/dist/cdn/CKVXWTM4.js +0 -4
  866. package/dist/cdn/CLLEWGO4.js +0 -4
  867. package/dist/cdn/CLS57RAW.js +0 -59
  868. package/dist/cdn/CMFFUJ7I.js +0 -4
  869. package/dist/cdn/CMYIXUAI.js +0 -4
  870. package/dist/cdn/CNICPUWP.js +0 -4
  871. package/dist/cdn/COCUYKDO.js +0 -4
  872. package/dist/cdn/COFXI6ER.js +0 -4
  873. package/dist/cdn/CR6CJZNU.js +0 -4
  874. package/dist/cdn/CUJHH4MN.js +0 -51
  875. package/dist/cdn/CYCQRSQ2.js +0 -4
  876. package/dist/cdn/D32ESH3P.js +0 -4
  877. package/dist/cdn/D7DPTYLQ.js +0 -4
  878. package/dist/cdn/DAQP4AXA.js +0 -52
  879. package/dist/cdn/DAZDSD7M.js +0 -4
  880. package/dist/cdn/DBVI4XXH.js +0 -4
  881. package/dist/cdn/DDA6XW2A.js +0 -4
  882. package/dist/cdn/DDPZCWDX.js +0 -4
  883. package/dist/cdn/DDTL2QOC.js +0 -4
  884. package/dist/cdn/DEAMXFG5.js +0 -4
  885. package/dist/cdn/DHCCCJUT.js +0 -4
  886. package/dist/cdn/DIWAANWV.js +0 -4
  887. package/dist/cdn/DMX6W46S.js +0 -4
  888. package/dist/cdn/DO2SLRTI.js +0 -4
  889. package/dist/cdn/DPP54PAF.js +0 -4
  890. package/dist/cdn/DSZMLZGT.js +0 -4
  891. package/dist/cdn/DTVWK4UY.js +0 -4
  892. package/dist/cdn/DV2STMQS.js +0 -4
  893. package/dist/cdn/DYB5JSVD.js +0 -4
  894. package/dist/cdn/E3CIWSOS.js +0 -4
  895. package/dist/cdn/E42PIMI5.js +0 -4
  896. package/dist/cdn/E4AAW53D.js +0 -4
  897. package/dist/cdn/E4QNUQ2C.js +0 -4
  898. package/dist/cdn/E6C7DZQD.js +0 -4
  899. package/dist/cdn/EAAEJIXY.js +0 -4
  900. package/dist/cdn/ECTWR5PB.js +0 -4
  901. package/dist/cdn/EEFYUWH3.js +0 -4
  902. package/dist/cdn/EEMGHZQH.js +0 -4
  903. package/dist/cdn/EF3XLDWO.js +0 -4
  904. package/dist/cdn/EFI3XMRQ.js +0 -4
  905. package/dist/cdn/EG4N2U77.js +0 -4
  906. package/dist/cdn/EHEB22E6.js +0 -4
  907. package/dist/cdn/EHHPJOXQ.js +0 -4
  908. package/dist/cdn/EHP5NXBJ.js +0 -4
  909. package/dist/cdn/EIRN422O.js +0 -4
  910. package/dist/cdn/EIVDOUV6.js +0 -4
  911. package/dist/cdn/ELMR4HDB.js +0 -4
  912. package/dist/cdn/EMIUSLMR.js +0 -4
  913. package/dist/cdn/EOPFZFY7.js +0 -4
  914. package/dist/cdn/ESVWWJKP.js +0 -4
  915. package/dist/cdn/EUFMMA3H.js +0 -4
  916. package/dist/cdn/EUR533AT.js +0 -4
  917. package/dist/cdn/EWAYREBF.js +0 -4
  918. package/dist/cdn/EWCHNGMS.js +0 -4
  919. package/dist/cdn/EWFBV6U7.js +0 -4
  920. package/dist/cdn/EWKQIUWH.js +0 -4
  921. package/dist/cdn/EWOJFWY3.js +0 -4
  922. package/dist/cdn/EXDKJN6O.js +0 -4
  923. package/dist/cdn/F2RHBSL4.js +0 -59
  924. package/dist/cdn/F47OAXWD.js +0 -4
  925. package/dist/cdn/F7YY7HFL.js +0 -4
  926. package/dist/cdn/FBS7IUWO.js +0 -4
  927. package/dist/cdn/FCIJCJEK.js +0 -4
  928. package/dist/cdn/FCIQIQOR.js +0 -4
  929. package/dist/cdn/FEVP2DOA.js +0 -4
  930. package/dist/cdn/FHF6IN4D.js +0 -4
  931. package/dist/cdn/FISIW6R2.js +0 -4
  932. package/dist/cdn/FL4CJYY3.js +0 -4
  933. package/dist/cdn/FM3IJEJN.js +0 -4
  934. package/dist/cdn/FTAW2Q43.js +0 -4
  935. package/dist/cdn/FU6G3R7U.js +0 -4
  936. package/dist/cdn/FUIW32FS.js +0 -4
  937. package/dist/cdn/FVWFGNDU.js +0 -4
  938. package/dist/cdn/FW2CD3QD.js +0 -4
  939. package/dist/cdn/FXMQISQ5.js +0 -4
  940. package/dist/cdn/FYP26QJ2.js +0 -5
  941. package/dist/cdn/G74TAGRG.js +0 -4
  942. package/dist/cdn/GC7XXTNS.js +0 -4
  943. package/dist/cdn/GCW7QJ7Z.js +0 -4
  944. package/dist/cdn/GE2JLT34.js +0 -4
  945. package/dist/cdn/GFY3RQAF.js +0 -4
  946. package/dist/cdn/GG5RVZ3O.js +0 -4
  947. package/dist/cdn/GGCU6E76.js +0 -4
  948. package/dist/cdn/GGJAJUHM.js +0 -4
  949. package/dist/cdn/GJ3HZBIL.js +0 -4
  950. package/dist/cdn/GKFFANWF.js +0 -4
  951. package/dist/cdn/GLJPGP6H.js +0 -4
  952. package/dist/cdn/GM4GJCTM.js +0 -4
  953. package/dist/cdn/GMUSBZHE.js +0 -4
  954. package/dist/cdn/GPLQNZTM.js +0 -4
  955. package/dist/cdn/GRGSUPWE.js +0 -4
  956. package/dist/cdn/GUHHQXP5.js +0 -4
  957. package/dist/cdn/GURKDTIR.js +0 -4
  958. package/dist/cdn/GV6L2BM5.js +0 -4
  959. package/dist/cdn/GVO4N5UY.js +0 -4
  960. package/dist/cdn/GZNWOJYP.js +0 -4
  961. package/dist/cdn/H3OF4HCR.js +0 -4
  962. package/dist/cdn/H3VUSRK7.js +0 -4
  963. package/dist/cdn/H4AI6OFP.js +0 -4
  964. package/dist/cdn/H5VXCUDG.js +0 -4
  965. package/dist/cdn/H7LT62SD.js +0 -4
  966. package/dist/cdn/HAETIFH2.js +0 -4
  967. package/dist/cdn/HAO65T3Y.js +0 -4
  968. package/dist/cdn/HAYPX7FC.js +0 -4
  969. package/dist/cdn/HGHKW7BV.js +0 -4
  970. package/dist/cdn/HHKP3RTS.js +0 -4
  971. package/dist/cdn/HHRXE4TE.js +0 -4
  972. package/dist/cdn/HMLZQHQA.js +0 -4
  973. package/dist/cdn/HRVW3APE.js +0 -4
  974. package/dist/cdn/HVDVDB3U.js +0 -4
  975. package/dist/cdn/HXFWIAC7.js +0 -4
  976. package/dist/cdn/HYISBYH7.js +0 -4
  977. package/dist/cdn/HZ7B54ER.js +0 -4
  978. package/dist/cdn/I22URKRQ.js +0 -9
  979. package/dist/cdn/I3LNDW5O.js +0 -4
  980. package/dist/cdn/I54DIYWB.js +0 -4
  981. package/dist/cdn/IAJXI7YW.js +0 -4
  982. package/dist/cdn/IFGYV4BZ.js +0 -4
  983. package/dist/cdn/IFXO576V.js +0 -4
  984. package/dist/cdn/IG3R5TSQ.js +0 -4
  985. package/dist/cdn/IHMU5PZC.js +0 -4
  986. package/dist/cdn/IJZ2OENP.js +0 -4
  987. package/dist/cdn/IKYBP6V3.js +0 -4
  988. package/dist/cdn/ILHMALRK.js +0 -4
  989. package/dist/cdn/IM4ZNARX.js +0 -4
  990. package/dist/cdn/IMCSSYQC.js +0 -4
  991. package/dist/cdn/IN2X2SAO.js +0 -4
  992. package/dist/cdn/IQKW5TDE.js +0 -4
  993. package/dist/cdn/IRLVT2SE.js +0 -4
  994. package/dist/cdn/IRNNHGEC.js +0 -4
  995. package/dist/cdn/IT7PYGWX.js +0 -4
  996. package/dist/cdn/ITCEGBHK.js +0 -4
  997. package/dist/cdn/IUCYYGH7.js +0 -4
  998. package/dist/cdn/IX4M4WM2.js +0 -4
  999. package/dist/cdn/J2K77QQN.js +0 -4
  1000. package/dist/cdn/J2VHCYZD.js +0 -4
  1001. package/dist/cdn/J2ZYSNGV.js +0 -4
  1002. package/dist/cdn/J3MU4YNT.js +0 -4
  1003. package/dist/cdn/J4CG4H6A.js +0 -4
  1004. package/dist/cdn/J7FLBFKS.js +0 -4
  1005. package/dist/cdn/JC5445C4.js +0 -4
  1006. package/dist/cdn/JDXNC5RG.js +0 -4
  1007. package/dist/cdn/JGSMAA4R.js +0 -4
  1008. package/dist/cdn/JGX45ICF.js +0 -4
  1009. package/dist/cdn/JI36MJKL.js +0 -4
  1010. package/dist/cdn/JJDY3UXL.js +0 -4
  1011. package/dist/cdn/JOAN2W43.js +0 -4
  1012. package/dist/cdn/JP2DSLEL.js +0 -24
  1013. package/dist/cdn/JR3C3XCT.js +0 -4
  1014. package/dist/cdn/JR5Z6O6S.js +0 -4
  1015. package/dist/cdn/JRXXB632.js +0 -4
  1016. package/dist/cdn/JVPTJAHO.js +0 -4
  1017. package/dist/cdn/JW4OYN2H.js +0 -4
  1018. package/dist/cdn/K276OZVE.js +0 -4
  1019. package/dist/cdn/K2E4A3NN.js +0 -4
  1020. package/dist/cdn/K4B3JJUV.js +0 -4
  1021. package/dist/cdn/K4KEQZSF.js +0 -4
  1022. package/dist/cdn/K62AXNQS.js +0 -4
  1023. package/dist/cdn/K7RXNQ7C.js +0 -4
  1024. package/dist/cdn/KASZLD7R.js +0 -4
  1025. package/dist/cdn/KBJOVLFY.js +0 -4
  1026. package/dist/cdn/KBWRBFSO.js +0 -4
  1027. package/dist/cdn/KCEI76G3.js +0 -4
  1028. package/dist/cdn/KDH7P3ZP.js +0 -4
  1029. package/dist/cdn/KDN3DAEV.js +0 -4
  1030. package/dist/cdn/KDNYUPMH.js +0 -4
  1031. package/dist/cdn/KJU3E32A.js +0 -4
  1032. package/dist/cdn/KRWFAKDI.js +0 -4
  1033. package/dist/cdn/KSCXC446.js +0 -4
  1034. package/dist/cdn/KXBTTIJT.js +0 -4
  1035. package/dist/cdn/KXCK5AXK.js +0 -4
  1036. package/dist/cdn/KYTSPWRL.js +0 -4
  1037. package/dist/cdn/KZ5FUHYZ.js +0 -4
  1038. package/dist/cdn/L5FYWTQQ.js +0 -4
  1039. package/dist/cdn/L7JJJ6AB.js +0 -4
  1040. package/dist/cdn/LAR2OLLL.js +0 -4
  1041. package/dist/cdn/LB526JN3.js +0 -4
  1042. package/dist/cdn/LBEBVYTY.js +0 -4
  1043. package/dist/cdn/LBNNK65A.js +0 -4
  1044. package/dist/cdn/LBNR6S34.js +0 -5
  1045. package/dist/cdn/LE5IYW2O.js +0 -4
  1046. package/dist/cdn/LEBWYXAX.js +0 -4
  1047. package/dist/cdn/LF6JQPJJ.js +0 -4
  1048. package/dist/cdn/LFNVSLYV.js +0 -4
  1049. package/dist/cdn/LG3NJW42.js +0 -4
  1050. package/dist/cdn/LGTQCM55.js +0 -4
  1051. package/dist/cdn/LHNQU45M.js +0 -4
  1052. package/dist/cdn/LM4MQEYK.js +0 -4
  1053. package/dist/cdn/LOMUW3RD.js +0 -4
  1054. package/dist/cdn/LPEJOUBP.js +0 -4
  1055. package/dist/cdn/LQL5OYLQ.js +0 -4
  1056. package/dist/cdn/LRZK2IYB.js +0 -4
  1057. package/dist/cdn/LSU3XKJU.js +0 -4
  1058. package/dist/cdn/LSUN5HXR.js +0 -4
  1059. package/dist/cdn/LTPM65HD.js +0 -4
  1060. package/dist/cdn/LV3KUIYG.js +0 -4
  1061. package/dist/cdn/LVYZSCTI.js +0 -12
  1062. package/dist/cdn/LYJXD2X5.js +0 -4
  1063. package/dist/cdn/LZHD3KUX.js +0 -4
  1064. package/dist/cdn/LZNQG5VA.js +0 -4
  1065. package/dist/cdn/LZTA3IWA.js +0 -4
  1066. package/dist/cdn/LZYYPPDJ.js +0 -4
  1067. package/dist/cdn/M2BSR3JX.js +0 -4
  1068. package/dist/cdn/M4ZLC7IH.js +0 -4
  1069. package/dist/cdn/M6MVHVMK.js +0 -4
  1070. package/dist/cdn/M727FASN.js +0 -4
  1071. package/dist/cdn/MAJE23PF.js +0 -4
  1072. package/dist/cdn/MDJXXJ6J.js +0 -4
  1073. package/dist/cdn/MEYQFEUG.js +0 -4
  1074. package/dist/cdn/MFD6UWA6.js +0 -4
  1075. package/dist/cdn/MHQCQ2KS.js +0 -4
  1076. package/dist/cdn/MJPXSF3W.js +0 -4
  1077. package/dist/cdn/MMWWTAGJ.js +0 -4
  1078. package/dist/cdn/MNV7WVFS.js +0 -4
  1079. package/dist/cdn/MOLXTW4H.js +0 -4
  1080. package/dist/cdn/MOW2OUON.js +0 -4
  1081. package/dist/cdn/MQOB7RQS.js +0 -4
  1082. package/dist/cdn/MQVUC7SI.js +0 -4
  1083. package/dist/cdn/MR4MJQWE.js +0 -4
  1084. package/dist/cdn/MR7OQ366.js +0 -4
  1085. package/dist/cdn/MS7UGQ2E.js +0 -4
  1086. package/dist/cdn/MSVMYG6S.js +0 -4
  1087. package/dist/cdn/MUFFP3NM.js +0 -4
  1088. package/dist/cdn/MXKKP2RE.js +0 -4
  1089. package/dist/cdn/MY5BZA45.js +0 -4
  1090. package/dist/cdn/MYSWYLWJ.js +0 -4
  1091. package/dist/cdn/N25AE62H.js +0 -4
  1092. package/dist/cdn/N34LHAYZ.js +0 -4
  1093. package/dist/cdn/N34OKDHZ.js +0 -5
  1094. package/dist/cdn/N35BLKQ7.js +0 -4
  1095. package/dist/cdn/N76RHJL6.js +0 -4
  1096. package/dist/cdn/N7BHXE2T.js +0 -4
  1097. package/dist/cdn/N7FRJQRU.js +0 -4
  1098. package/dist/cdn/N7V7H3IC.js +0 -4
  1099. package/dist/cdn/NA5S52VM.js +0 -4
  1100. package/dist/cdn/NA5UUDMJ.js +0 -4
  1101. package/dist/cdn/NA7HVZVD.js +0 -4
  1102. package/dist/cdn/NANK5DDC.js +0 -4
  1103. package/dist/cdn/NARM4CW7.js +0 -4
  1104. package/dist/cdn/NBWQXCYS.js +0 -4
  1105. package/dist/cdn/NDCYZZUT.js +0 -4
  1106. package/dist/cdn/NFUCUJQT.js +0 -4
  1107. package/dist/cdn/NGX33DYL.js +0 -4
  1108. package/dist/cdn/NISXKDRN.js +0 -4
  1109. package/dist/cdn/NKKZSLGE.js +0 -4
  1110. package/dist/cdn/NLZU25PQ.js +0 -4
  1111. package/dist/cdn/NPSGBFMC.js +0 -4
  1112. package/dist/cdn/NSA3E27Z.js +0 -4
  1113. package/dist/cdn/NXITYY7A.js +0 -4
  1114. package/dist/cdn/NXZNWVK7.js +0 -4
  1115. package/dist/cdn/NZF6YREN.js +0 -4
  1116. package/dist/cdn/NZZTGYIE.js +0 -4
  1117. package/dist/cdn/O2LZTJ65.js +0 -4
  1118. package/dist/cdn/O5FDGUWR.js +0 -4
  1119. package/dist/cdn/O5JKCCE5.js +0 -4
  1120. package/dist/cdn/O5KONNXN.js +0 -4
  1121. package/dist/cdn/O76IYKD6.js +0 -4
  1122. package/dist/cdn/OATCL4RL.js +0 -4
  1123. package/dist/cdn/ODNEUHLH.js +0 -4
  1124. package/dist/cdn/OE6PFFPN.js +0 -4
  1125. package/dist/cdn/OEIW25JX.js +0 -4
  1126. package/dist/cdn/OELTFMHK.js +0 -4
  1127. package/dist/cdn/OHDRK27E.js +0 -4
  1128. package/dist/cdn/OKLTGA6A.js +0 -4
  1129. package/dist/cdn/OMSYZ3GL.js +0 -4
  1130. package/dist/cdn/ON7G2S6N.js +0 -4
  1131. package/dist/cdn/OOCD7HME.js +0 -4
  1132. package/dist/cdn/OOPNHQNV.js +0 -4
  1133. package/dist/cdn/OQ7VTZZ4.js +0 -4
  1134. package/dist/cdn/OQHAOD6E.js +0 -4
  1135. package/dist/cdn/OQHCTGEH.js +0 -4
  1136. package/dist/cdn/OQM263UX.js +0 -4
  1137. package/dist/cdn/OSDOT5PC.js +0 -4
  1138. package/dist/cdn/OUS7RCDB.js +0 -4
  1139. package/dist/cdn/OUXUCRLZ.js +0 -4
  1140. package/dist/cdn/OVKNDA2X.js +0 -4
  1141. package/dist/cdn/OWVKAZ2K.js +0 -4
  1142. package/dist/cdn/OZJIOSXJ.js +0 -8
  1143. package/dist/cdn/P2SLD4RE.js +0 -4
  1144. package/dist/cdn/P666TY47.js +0 -4
  1145. package/dist/cdn/P6HUUZUX.js +0 -4
  1146. package/dist/cdn/PBBRZPWT.js +0 -4
  1147. package/dist/cdn/PC5BVFI3.js +0 -4
  1148. package/dist/cdn/PE522BSO.js +0 -4
  1149. package/dist/cdn/PJHAQLTL.js +0 -4
  1150. package/dist/cdn/PJO2JLBW.js +0 -4
  1151. package/dist/cdn/PKLBQWAB.js +0 -4
  1152. package/dist/cdn/PKPQJJYY.js +0 -4
  1153. package/dist/cdn/PKRVSEKW.js +0 -4
  1154. package/dist/cdn/PMFO4R4Q.js +0 -4
  1155. package/dist/cdn/PPYZFFAR.js +0 -4
  1156. package/dist/cdn/PR4NYOXY.js +0 -4
  1157. package/dist/cdn/PSEKRC74.js +0 -4
  1158. package/dist/cdn/PUI3HMZ6.js +0 -4
  1159. package/dist/cdn/PV6LPOSO.js +0 -4
  1160. package/dist/cdn/PXCO6J7T.js +0 -4
  1161. package/dist/cdn/PZXUSMLH.js +0 -4
  1162. package/dist/cdn/Q2JMG5ZT.js +0 -4
  1163. package/dist/cdn/Q424KSET.js +0 -4
  1164. package/dist/cdn/Q4HI6O3W.js +0 -4
  1165. package/dist/cdn/Q66HJBAX.js +0 -4
  1166. package/dist/cdn/Q6RQ4Y3W.js +0 -4
  1167. package/dist/cdn/Q7KJVH7M.js +0 -4
  1168. package/dist/cdn/QAT3H4FY.js +0 -41
  1169. package/dist/cdn/QAUX3AKH.js +0 -4
  1170. package/dist/cdn/QBSKEVLB.js +0 -4
  1171. package/dist/cdn/QEXWZWX5.js +0 -4
  1172. package/dist/cdn/QFCU2MID.js +0 -4
  1173. package/dist/cdn/QG4X7QMI.js +0 -4
  1174. package/dist/cdn/QISKH7N7.js +0 -4
  1175. package/dist/cdn/QLW2BGOG.js +0 -4
  1176. package/dist/cdn/QMXM7W3S.js +0 -4
  1177. package/dist/cdn/QO6RXAKF.js +0 -4
  1178. package/dist/cdn/QOHQOCJ3.js +0 -4
  1179. package/dist/cdn/QP75HK4W.js +0 -4
  1180. package/dist/cdn/QPPOPDIY.js +0 -4
  1181. package/dist/cdn/QQ25KVOB.js +0 -4
  1182. package/dist/cdn/QQENWTNQ.js +0 -4
  1183. package/dist/cdn/QQEZXT5Z.js +0 -4
  1184. package/dist/cdn/QQGJS7EV.js +0 -4
  1185. package/dist/cdn/QQMKNV5I.js +0 -4
  1186. package/dist/cdn/QU42GR3U.js +0 -12
  1187. package/dist/cdn/QU6QIFUU.js +0 -4
  1188. package/dist/cdn/QU7DSQNY.js +0 -4
  1189. package/dist/cdn/QUHXT27T.js +0 -4
  1190. package/dist/cdn/QV3SBMYY.js +0 -4
  1191. package/dist/cdn/QWFRXYCQ.js +0 -4
  1192. package/dist/cdn/QYEQ7GPY.js +0 -4
  1193. package/dist/cdn/R5CFCNIJ.js +0 -5
  1194. package/dist/cdn/R5H2BVJI.js +0 -4
  1195. package/dist/cdn/R5X4ZQTI.js +0 -4
  1196. package/dist/cdn/R7I4IPSJ.js +0 -4
  1197. package/dist/cdn/R7TXES4W.js +0 -4
  1198. package/dist/cdn/RAV5TIKV.js +0 -4
  1199. package/dist/cdn/RDV52RAZ.js +0 -4
  1200. package/dist/cdn/REIDUIIQ.js +0 -4
  1201. package/dist/cdn/RG5POO5J.js +0 -4
  1202. package/dist/cdn/RHPRQFS5.js +0 -4
  1203. package/dist/cdn/RKBFD5GC.js +0 -4
  1204. package/dist/cdn/RLIHR6ZF.js +0 -4
  1205. package/dist/cdn/RTPLTQI3.js +0 -4
  1206. package/dist/cdn/RVFN3JAH.js +0 -4
  1207. package/dist/cdn/RXJDIBY4.js +0 -4
  1208. package/dist/cdn/RXYXSLMD.js +0 -4
  1209. package/dist/cdn/RY55FC3J.js +0 -4
  1210. package/dist/cdn/RZAOLFXF.js +0 -4
  1211. package/dist/cdn/RZYUTY6E.js +0 -4
  1212. package/dist/cdn/S2MA6TJB.js +0 -4
  1213. package/dist/cdn/S3TOXAJM.js +0 -4
  1214. package/dist/cdn/S6WQ4BRO.js +0 -4
  1215. package/dist/cdn/SA6R2XUK.js +0 -4
  1216. package/dist/cdn/SEZOPDO6.js +0 -4
  1217. package/dist/cdn/SJERIMSP.js +0 -4
  1218. package/dist/cdn/SJKJCIOP.js +0 -4
  1219. package/dist/cdn/SKCJRCQJ.js +0 -4
  1220. package/dist/cdn/SLXPIHX2.js +0 -4
  1221. package/dist/cdn/SRHFE2LN.js +0 -42
  1222. package/dist/cdn/STCOBBLV.js +0 -4
  1223. package/dist/cdn/SUNETAAD.js +0 -4
  1224. package/dist/cdn/SUPEXCZJ.js +0 -4
  1225. package/dist/cdn/SVZWMG6U.js +0 -4
  1226. package/dist/cdn/SWBZMYU4.js +0 -4
  1227. package/dist/cdn/SXSGV5PM.js +0 -4
  1228. package/dist/cdn/SXYF3KRB.js +0 -4
  1229. package/dist/cdn/SZJERPJ3.js +0 -5
  1230. package/dist/cdn/T4KDYDIN.js +0 -4
  1231. package/dist/cdn/T4ZNMCKJ.js +0 -4
  1232. package/dist/cdn/T5AU32NO.js +0 -4
  1233. package/dist/cdn/T6YRL62C.js +0 -4
  1234. package/dist/cdn/T76LRSV4.js +0 -4
  1235. package/dist/cdn/T7OKSJ2W.js +0 -4
  1236. package/dist/cdn/TB53XW7P.js +0 -4
  1237. package/dist/cdn/TCYGO3F2.js +0 -4
  1238. package/dist/cdn/TG3DV6UT.js +0 -4
  1239. package/dist/cdn/TJDVSNHI.js +0 -4
  1240. package/dist/cdn/TJKHZ3H6.js +0 -4
  1241. package/dist/cdn/TLH372HG.js +0 -4
  1242. package/dist/cdn/TLQKVFBH.js +0 -4
  1243. package/dist/cdn/TLYACGP3.js +0 -4
  1244. package/dist/cdn/TNPHJQCC.js +0 -4
  1245. package/dist/cdn/TOUOYV3W.js +0 -4
  1246. package/dist/cdn/TPCZSURA.js +0 -4
  1247. package/dist/cdn/TSJ5ATBJ.js +0 -4
  1248. package/dist/cdn/TTQWNOA5.js +0 -4
  1249. package/dist/cdn/TTUAUB5D.js +0 -4
  1250. package/dist/cdn/U4V2EUHM.js +0 -4
  1251. package/dist/cdn/U4YSDUKW.js +0 -4
  1252. package/dist/cdn/U6Y7XSZ7.js +0 -4
  1253. package/dist/cdn/UBTOBJM4.js +0 -4
  1254. package/dist/cdn/UBYTYNYJ.js +0 -4
  1255. package/dist/cdn/UCWZ7JF2.js +0 -4
  1256. package/dist/cdn/UEN6PAIG.js +0 -4
  1257. package/dist/cdn/UFJHRNW5.js +0 -4
  1258. package/dist/cdn/UFUEA42B.js +0 -4
  1259. package/dist/cdn/ULUKADPA.js +0 -4
  1260. package/dist/cdn/UN7KZSBC.js +0 -6
  1261. package/dist/cdn/UPGAZR5O.js +0 -4
  1262. package/dist/cdn/UPKLFCOK.js +0 -4
  1263. package/dist/cdn/URPCL22O.js +0 -4
  1264. package/dist/cdn/UWBPTN32.js +0 -4
  1265. package/dist/cdn/UWSD4H3X.js +0 -4
  1266. package/dist/cdn/UX5BTGE7.js +0 -4
  1267. package/dist/cdn/UZIQ2HZ3.js +0 -4
  1268. package/dist/cdn/V2NEHCU7.js +0 -4
  1269. package/dist/cdn/V3R4F2TH.js +0 -4
  1270. package/dist/cdn/V3UQPBVE.js +0 -4
  1271. package/dist/cdn/V3WVL7WS.js +0 -4
  1272. package/dist/cdn/V46RMZAK.js +0 -4
  1273. package/dist/cdn/V5CRYRSR.js +0 -4
  1274. package/dist/cdn/V5IA4SB7.js +0 -4
  1275. package/dist/cdn/V7JLDFQ7.js +0 -4
  1276. package/dist/cdn/V7KWARO2.js +0 -4
  1277. package/dist/cdn/VJ4YD7VD.js +0 -4
  1278. package/dist/cdn/VOK5RQYJ.js +0 -4
  1279. package/dist/cdn/VQHBR7AJ.js +0 -4
  1280. package/dist/cdn/VRVTEAJN.js +0 -4
  1281. package/dist/cdn/VXAKA2SZ.js +0 -4
  1282. package/dist/cdn/VYQRYBMZ.js +0 -4
  1283. package/dist/cdn/W43LSSK6.js +0 -4
  1284. package/dist/cdn/W4AZ5CDE.js +0 -4
  1285. package/dist/cdn/W6JVZ5EY.js +0 -4
  1286. package/dist/cdn/WCAXIIDT.js +0 -8
  1287. package/dist/cdn/WHZRSVJT.js +0 -4
  1288. package/dist/cdn/WJSSUTWQ.js +0 -4
  1289. package/dist/cdn/WKLHKQUW.js +0 -4
  1290. package/dist/cdn/WLK7CSLG.js +0 -4
  1291. package/dist/cdn/WNQEJ7DN.js +0 -4
  1292. package/dist/cdn/WNYS42WC.js +0 -4
  1293. package/dist/cdn/WO66QIEO.js +0 -4
  1294. package/dist/cdn/WQ2FEVE7.js +0 -4
  1295. package/dist/cdn/WR6LNBK4.js +0 -4
  1296. package/dist/cdn/WSOAAIEP.js +0 -4
  1297. package/dist/cdn/WT2667YN.js +0 -4
  1298. package/dist/cdn/WYU5GDLI.js +0 -4
  1299. package/dist/cdn/X37EUO4C.js +0 -4
  1300. package/dist/cdn/X3SU4SJN.js +0 -4
  1301. package/dist/cdn/X536ATFU.js +0 -4
  1302. package/dist/cdn/X6VPG6RD.js +0 -4
  1303. package/dist/cdn/XBBQSA2T.js +0 -4
  1304. package/dist/cdn/XCWD7I4I.js +0 -4
  1305. package/dist/cdn/XEJA5EFA.js +0 -4
  1306. package/dist/cdn/XHPAXE3T.js +0 -4
  1307. package/dist/cdn/XJYZ7J4Y.js +0 -4
  1308. package/dist/cdn/XSXEFOD7.js +0 -4
  1309. package/dist/cdn/XUVR4OSX.js +0 -4
  1310. package/dist/cdn/XVRDY5Q7.js +0 -4
  1311. package/dist/cdn/XVXIHYCC.js +0 -4
  1312. package/dist/cdn/XXESAWRL.js +0 -4
  1313. package/dist/cdn/XZWT3IP6.js +0 -4
  1314. package/dist/cdn/Y25AEI7X.js +0 -4
  1315. package/dist/cdn/Y4LWWV6X.js +0 -4
  1316. package/dist/cdn/Y5HDAYIL.js +0 -4
  1317. package/dist/cdn/Y5KUXQUL.js +0 -4
  1318. package/dist/cdn/YBCON4ZC.js +0 -4
  1319. package/dist/cdn/YEHTFYX6.js +0 -4
  1320. package/dist/cdn/YELZQHFA.js +0 -4
  1321. package/dist/cdn/YM7JJHMW.js +0 -4
  1322. package/dist/cdn/YNRDJKG2.js +0 -4
  1323. package/dist/cdn/YOBIUFZF.js +0 -4
  1324. package/dist/cdn/YPP442AZ.js +0 -4
  1325. package/dist/cdn/YRYL4YMH.js +0 -4
  1326. package/dist/cdn/YSWGCZTZ.js +0 -4
  1327. package/dist/cdn/YTA7ABGS.js +0 -4
  1328. package/dist/cdn/Z346XW2Y.js +0 -4
  1329. package/dist/cdn/Z47BSZKY.js +0 -4
  1330. package/dist/cdn/Z4CNAIBK.js +0 -4
  1331. package/dist/cdn/Z5DQGJN4.js +0 -4
  1332. package/dist/cdn/Z5VYZ2WM.js +0 -4
  1333. package/dist/cdn/Z65VXVW3.js +0 -4
  1334. package/dist/cdn/Z7VHA6KY.js +0 -4
  1335. package/dist/cdn/Z7Z4XSUZ.js +0 -4
  1336. package/dist/cdn/ZAVBJU3P.js +0 -4
  1337. package/dist/cdn/ZDIB7VMF.js +0 -4
  1338. package/dist/cdn/ZDIFYSBB.js +0 -4
  1339. package/dist/cdn/ZEDPULXZ.js +0 -4
  1340. package/dist/cdn/ZEVW66XA.js +0 -25
  1341. package/dist/cdn/ZG3TWDK6.js +0 -4
  1342. package/dist/cdn/ZGNCC4NH.js +0 -4
  1343. package/dist/cdn/ZI363I7V.js +0 -4
  1344. package/dist/cdn/ZJDARQMG.js +0 -4
  1345. package/dist/cdn/ZJGR2NEJ.js +0 -4
  1346. package/dist/cdn/ZLBRCO6L.js +0 -4
  1347. package/dist/cdn/ZMKQCAXQ.js +0 -4
  1348. package/dist/cdn/ZMMAEBVZ.js +0 -4
  1349. package/dist/cdn/ZMMPNO2O.js +0 -4
  1350. package/dist/cdn/ZNSSVZZQ.js +0 -4
  1351. package/dist/cdn/ZOBPX2CG.js +0 -4
  1352. package/dist/cdn/ZPJLEYGE.js +0 -4
  1353. package/dist/cdn/ZQ23WUQL.js +0 -4
  1354. package/dist/cdn/ZT5TE5XE.js +0 -4
  1355. package/dist/cdn/ZTUKAOD2.js +0 -4
  1356. package/dist/cdn/ZWEFXRPN.js +0 -4
  1357. package/dist/cdn/ZWNNQ2ZV.js +0 -4
  1358. package/dist/cdn/ZWRGDCJF.js +0 -4
  1359. package/dist/cdn/ZZTVQWPO.js +0 -4
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.0 */
4
- import{a as et,c as It,d as Ct,e as Pt}from"./PUI3HMZ6.js";import"./RVFN3JAH.js";import{b as Dt}from"./I22URKRQ.js";import{a as tt}from"./HRVW3APE.js";import{a as X}from"./4IGNBYNB.js";import{a as $}from"./3FXJKANX.js";import{a as Z}from"./4MJGM6LA.js";import{a as J}from"./U6Y7XSZ7.js";import b from"./E42PIMI5.js";import"./3XCJTU4L.js";import{a as wt}from"./K7RXNQ7C.js";import{a as Y,b as _}from"./56NX4JRB.js";import a from"./BOFP5IER.js";import"./URPCL22O.js";import"./4YIKCTEG.js";import{b as yt}from"./7BMY7XCD.js";import{a as V}from"./7URDPP56.js";import{a as mt}from"./4M4KBA3U.js";import{h as gt}from"./5ZPEXBAG.js";import{b as bt}from"./QQMKNV5I.js";import"./ITCEGBHK.js";import{b as B}from"./2RCUCWI2.js";import"./MR4MJQWE.js";import{b as dt}from"./EHP5NXBJ.js";import"./GJ3HZBIL.js";import"./OSDOT5PC.js";import"./WSOAAIEP.js";import"./SZJERPJ3.js";import"./6SQLNTI5.js";import"./NXZNWVK7.js";import{n as pt}from"./YEHTFYX6.js";import"./EWFBV6U7.js";import"./2F7JTV34.js";import"./O5JKCCE5.js";import"./PXCO6J7T.js";import"./FCIQIQOR.js";import"./KXBTTIJT.js";import"./NDCYZZUT.js";import"./MFD6UWA6.js";import"./ZI363I7V.js";import"./KDNYUPMH.js";import"./TTUAUB5D.js";import"./AODVXTIT.js";import"./WHZRSVJT.js";import"./646IF44F.js";import"./KDN3DAEV.js";import{N as ht,O as K,X as ut,o as ct}from"./LPEJOUBP.js";import"./3TNKNDPV.js";import"./TJDVSNHI.js";import"./FUIW32FS.js";import"./WNYS42WC.js";import"./2KO66RWN.js";import"./7YZRJHWC.js";import"./G74TAGRG.js";import"./EHHPJOXQ.js";import"./UPKLFCOK.js";import"./3RDDL56K.js";import"./LAR2OLLL.js";import"./Q7KJVH7M.js";import"./XZWT3IP6.js";import"./ZDIB7VMF.js";import{f as z,k as U}from"./PMFO4R4Q.js";import{d as q}from"./FL4CJYY3.js";import"./AX3PP6N4.js";import"./OELTFMHK.js";import"./XHPAXE3T.js";import"./QU42GR3U.js";import"./BP3UKQRX.js";import"./E6C7DZQD.js";import"./NXITYY7A.js";import"./P6HUUZUX.js";import"./N7BHXE2T.js";import"./7BM6QJPU.js";import"./J4CG4H6A.js";import"./LZNQG5VA.js";import"./KYTSPWRL.js";import{h as lt}from"./UPGAZR5O.js";import"./JI36MJKL.js";import"./FHF6IN4D.js";import"./YTA7ABGS.js";import"./W6JVZ5EY.js";import"./JRXXB632.js";import"./P2SLD4RE.js";import"./IFXO576V.js";import"./V3WVL7WS.js";import"./DDTL2QOC.js";import"./JVPTJAHO.js";import"./EWKQIUWH.js";import"./ZOBPX2CG.js";import"./ILHMALRK.js";import"./4FRKOUFZ.js";import"./OE6PFFPN.js";import"./6Q6IUBV7.js";import{c as N,g as Tt,j as it}from"./MOW2OUON.js";import"./OUXUCRLZ.js";import"./Y25AEI7X.js";import"./IX4M4WM2.js";import"./ZMMAEBVZ.js";import"./XJYZ7J4Y.js";import"./WR6LNBK4.js";import{j as rt}from"./X3SU4SJN.js";import{o as ot}from"./5HALXJBI.js";import"./3FMKRHUW.js";import"./3Y4JIRQX.js";import"./7YN756B6.js";import{a as k}from"./UBTOBJM4.js";import{a as j}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import{a as h}from"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as s,c as A,d as L,e as d,h as F,i as G}from"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import"./BIIGU5WC.js";import"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.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)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.0 */
4
- import{c as n}from"./5SURZWMK.js";import"./H5VXCUDG.js";import"./E4AAW53D.js";import"./T4ZNMCKJ.js";import"./J2K77QQN.js";import"./2EEKOJDW.js";import"./DV2STMQS.js";import"./QBSKEVLB.js";import"./LZYYPPDJ.js";import"./FXMQISQ5.js";import"./3MWCBVCT.js";import"./JGSMAA4R.js";import"./MFD6UWA6.js";import"./KDNYUPMH.js";import"./TTUAUB5D.js";import"./WHZRSVJT.js";import"./LPEJOUBP.js";import"./3TNKNDPV.js";import"./TJDVSNHI.js";import"./FUIW32FS.js";import"./WNYS42WC.js";import"./2KO66RWN.js";import"./7YZRJHWC.js";import"./G74TAGRG.js";import"./EHHPJOXQ.js";import"./UPKLFCOK.js";import"./3RDDL56K.js";import"./LAR2OLLL.js";import"./Q7KJVH7M.js";import"./XZWT3IP6.js";import"./ZDIB7VMF.js";import"./PMFO4R4Q.js";import"./FL4CJYY3.js";import"./AX3PP6N4.js";import"./OELTFMHK.js";import"./XHPAXE3T.js";import"./QU42GR3U.js";import"./BP3UKQRX.js";import"./E6C7DZQD.js";import"./NXITYY7A.js";import"./P6HUUZUX.js";import"./N7BHXE2T.js";import"./7BM6QJPU.js";import"./Z65VXVW3.js";import"./J4CG4H6A.js";import"./LZNQG5VA.js";import"./KYTSPWRL.js";import"./UPGAZR5O.js";import"./JI36MJKL.js";import"./FHF6IN4D.js";import"./YTA7ABGS.js";import"./W6JVZ5EY.js";import"./JRXXB632.js";import"./P2SLD4RE.js";import"./IFXO576V.js";import"./V3WVL7WS.js";import"./DDTL2QOC.js";import"./JVPTJAHO.js";import"./EWKQIUWH.js";import"./ZOBPX2CG.js";import"./ILHMALRK.js";import"./4FRKOUFZ.js";import"./OE6PFFPN.js";import"./6Q6IUBV7.js";import{c as l,j as d}from"./MOW2OUON.js";import"./OUXUCRLZ.js";import"./F7YY7HFL.js";import"./7IJNSVAH.js";import"./Y25AEI7X.js";import"./IX4M4WM2.js";import"./ZMMAEBVZ.js";import"./XJYZ7J4Y.js";import"./WR6LNBK4.js";import"./X3SU4SJN.js";import"./5HALXJBI.js";import"./3FMKRHUW.js";import"./3Y4JIRQX.js";import"./7YN756B6.js";import{a as m}from"./UBTOBJM4.js";import{a}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as e,d as p,e as c,i as h}from"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import"./BIIGU5WC.js";import"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.js";var g=":host{display:block}",u=g,C=class{connectedCallback(){d(this)}disconnectedCallback(){this.disconnectContext()}constructor(t){h(this,t),this.arcgisStatCardEditorChange=c(this,"arcgisStatCardEditorChange",7),this.values={},this.themeColors=[],this.currentValues={},this._schema=void 0,this._uiSchema=void 0,this._context=l(),m(this,"handleEditorChangeEvent","translationFunc","_getEditorConfig")}get uiSchemaOptions(){return{themeColors:this.themeColors}}get facets(){return[{label:this.intl.t("dynamicStat.facets.sharing"),key:"access",field:"access",display:"multi-select",operation:"OR"}]}async componentWillLoad(){this.intl=await a.loadIntlForComponent(this.element),this.values=this.migrateValues(this.values),this.currentValues=this.values,this._getEditorConfig()}async _getEditorConfig(){let t=await n("","hub:card:stat",this.uiSchemaOptions,this._context);this._schema=t.schema,this._uiSchema=t.uiSchema}migrateValues(t){return typeof t.shareableOnHover=="string"&&(t.shareableOnHover=t.shareableOnHover==="hover"),t.allowUnitFormatting===void 0&&(t.allowUnitFormatting=!!t.unit),t.allowLink===void 0&&(t.allowLink=!!t.sourceLink||!!t.sourceTitle),t.valueColor===null&&(t.valueColor=void 0),t}async handleEditorChangeEvent(t){var i;t.stopPropagation();let{valid:r,values:o}=t.detail;this.currentValues=Object.assign(Object.assign({},this.currentValues),o);let{legacyWhere:s}=this.currentValues;!((i=o.expressionSet)===null||i===void 0)&&i.length&&(s=""),this.arcgisStatCardEditorChange.emit({valid:r,values:Object.assign(Object.assign({},o),{cardId:this.currentValues.cardId,schemaVersion:this.currentValues.schemaVersion,legacyWhere:s})})}updateSchemas(){this._getEditorConfig()}translationFunc(t,i,r){return this.intl.t(t,i,r)}render(){return this._schema?e("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleEditorChangeEvent,schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this.values}):e("arcgis-skeleton-loader",{active:!0})}static get assetsDirs(){return["locales"]}get element(){return p(this)}static get watchers(){return{_context:["updateSchemas"]}}};C.style=u;export{C as arcgis_stat_card_editor};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.0 */
4
- import"./PV6LPOSO.js";var e={percent:"\u767E\u5206\u6BD4",values:"\u503C",standardizedValues:"\u6A19\u6E96\u5316\u503C",count:"\u8A08\u6578",aggregationOfValues:"\u503C\u7684 ${ aggregation }",aggregationOfFieldName:"${ aggregation }/${ fieldName }"},g={aggrFieldsByCategory:"\u6309 ${ category } \u6392\u5217\u7684 ${ aggregationFields }",aggrTypeCategory:"\u6309 ${ category } \u6392\u5217\u7684 ${ aggregationType }",aggrTypeCategoryBySplitBy:"\u6309 ${ category } \u548C ${ splitByField } \u6392\u5217\u7684 ${ aggregationType }",aggrTypeOfAggrFields:"${ aggregationType }/${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"\u6309 ${ category } \u548C ${ splitByField } \u6392\u5217\u4E4B ${ aggregationField } \u7684 ${ aggregationType }",aggrTypeOfAggrFieldsByCategory:"\u6309 ${ aggregationType } \u6392\u5217\u4E4B ${ category } \u7684 ${ aggregationFields }",aggrFieldsByXAxisField:"\u6309 ${ xAxisField } \u6392\u5217\u7684 ${ aggregationFields }",aggrTypeXAxisField:"\u6309 ${ xAxisField } \u6392\u5217\u7684 ${ aggregationType }",aggrTypeXAxisFieldBySplitBy:"\u6309 ${ xAxisField } \u548C ${ splitByField } \u6392\u5217\u7684 ${ aggregationType }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"\u6309 ${ xAxisField } \u548C ${ splitByField } \u6392\u5217\u4E4B ${ aggregationField } \u7684 ${ aggregationType }",aggrTypeOfAggrFieldsByXAxisField:"\u6309 ${ aggregationType } \u6392\u5217\u4E4B ${ xAxisField } \u7684 ${ aggregationFields }",distributionOfField:"${ valueField } \u7684\u5206\u4F48",distributionOfFields:"${ valueFields } \u7684\u5206\u4F48",distributionOfFieldsByCategory:"\u6309 ${ category } \u7684 ${ valueFields } \u5206\u4F48",distributionOfFieldsByCategoryAndSplitBy:"\u6309 ${ category } \u548C ${ splitByField } \u7684 ${ valueFields } \u5206\u4F48",xAndY:"${ x } \u548C ${ y }"},i={barChart:"\u9577\u689D\u5716",lineChart:"\u6298\u7DDA\u5716",pieChart:"\u5713\u9905\u5716",histogram:"\u76F4\u65B9\u5716",scatterplot:"\u6563\u9EDE\u5716"},a={axisLabels:e,titleLabels:g,chartType:i};export{e as axisLabels,i as chartType,a as default,g as titleLabels};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.0 */
4
- import"./PV6LPOSO.js";var e={percent:"Porcentagem",values:"Valores",standardizedValues:"Valores padronizados",count:"Contagem",aggregationOfValues:"${ aggregation } de valores",aggregationOfFieldName:"${ aggregation } de ${ fieldName }"},i={aggrFieldsByCategory:"${ aggregationFields } por ${ category }",aggrTypeCategory:"${ aggregationType } por ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } por ${ category } por ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } de ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } de ${ aggregationField } por ${ category } por ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } de ${ aggregationFields } por ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } por ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } por ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } por ${ xAxisField } por ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } de ${ aggregationField } por ${ xAxisField } por ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } de ${ aggregationFields } por ${ xAxisField }",distributionOfField:"Distribui\xE7\xE3o de ${ valueField }",distributionOfFields:"Distribui\xE7\xE3o de ${ valueFields }",distributionOfFieldsByCategory:"Distribui\xE7\xE3o de ${ valueFields } por ${ category }",distributionOfFieldsByCategoryAndSplitBy:"Distribui\xE7\xE3o de ${ valueFields } por ${ category } e ${ splitByField }",xAndY:"${ x } e ${ y }"},g={barChart:"Gr\xE1fico de barra",lineChart:"Gr\xE1fico de linhas",pieChart:"Gr\xE1fico de pizza",histogram:"Histograma",scatterplot:"Gr\xE1fico de dispers\xE3o"},a={axisLabels:e,titleLabels:i,chartType:g};export{e as axisLabels,g as chartType,a as default,i as titleLabels};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.0 */
4
- import{a as d}from"./K62AXNQS.js";import{d as y}from"./FL4CJYY3.js";import{b as p}from"./V3WVL7WS.js";import"./OE6PFFPN.js";import{c as H}from"./MOW2OUON.js";import"./OUXUCRLZ.js";import{a as c,b as m}from"./X3SU4SJN.js";import{o as h}from"./5HALXJBI.js";import"./3FMKRHUW.js";import"./3Y4JIRQX.js";import"./7YN756B6.js";import{a as u}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import{a as i}from"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as e,c as b,d as g,e as r,h as v,i as f}from"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import{s as l}from"./BIIGU5WC.js";import"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.js";var w=':host{display:block}calcite-navigation{--calcite-navigation-background:var(--calcite-color-foreground-2);--foreground-1:var(--calcite-color-foreground-1)}calcite-menu-item{--calcite-color-foreground-1:var(--calcite-navigation-background);--calcite-color-foreground-2:var(--foreground-1)}calcite-popover{background-color:var(--calcite-color-foreground-2)}calcite-popover p{margin:0px;display:flex;max-width:20rem;flex-direction:column;gap:0.5rem;padding:0.75rem}calcite-popover .site-title{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold)}calcite-popover .site-title,calcite-popover .edit-site-btn{margin-bottom:0.25rem}calcite-popover p>div{display:flex;align-items:center;gap:0.5rem}.non-interactive{pointer-events:none}.controls-container{display:none;gap:1rem;margin-inline-end:1rem}[slot="content-center"]{display:none}[slot="user"]{display:flex;align-items:center;margin-inline-end:1rem}@media (min-width: 768px){[slot="content-center"],.controls-container{display:flex}}',k=w,L=class{constructor(n){f(this,n),this.arcgisHubLayoutEditorHeaderShare=r(this,"arcgisHubLayoutEditorHeaderShare",7),this.arcgisHubLayoutEditorHeaderPreviewPublished=r(this,"arcgisHubLayoutEditorHeaderPreviewPublished",7),this.arcgisHubLayoutEditorHeaderPreviewDraft=r(this,"arcgisHubLayoutEditorHeaderPreviewDraft",7),this.arcgisHubLayoutEditorHeaderPublish=r(this,"arcgisHubLayoutEditorHeaderPublish",7),this.arcgisHubLayoutEditorHeaderSave=r(this,"arcgisHubLayoutEditorHeaderSave",7),this.arcgisHubLayoutEditorHeaderClone=r(this,"arcgisHubLayoutEditorHeaderClone",7),this.arcgisHubLayoutEditorHeaderDeleteDraft=r(this,"arcgisHubLayoutEditorHeaderDeleteDraft",7),this.arcgisHubLayoutEditorHeaderDelete=r(this,"arcgisHubLayoutEditorHeaderDelete",7),this.arcgisHubLayoutEditorHeaderSaveAsTemplate=r(this,"arcgisHubLayoutEditorHeaderSaveAsTemplate",7),this.hubTelemetry=r(this,"hubTelemetry",7),this.handleWorkspaceItemClick=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.view.label.content.details.workspace})},this.handleSiteMenuItemClick=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.interaction.action.open.label.popover.details.site})},this.handleAccessChange=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.view.label.workspace.details.sharing}),this.arcgisHubLayoutEditorHeaderShare.emit(this.entity)},this.handleEditS123ButtonClick=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.edit.label.content})},this.handleViewButtonClick=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.interaction.action.open.label.menu.details.view})},this.handlePreviewPublished=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.view.label.content.details.publishedDraft}),this.arcgisHubLayoutEditorHeaderPreviewPublished.emit(this.entity)},this.handlePreviewDraft=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.view.label.content.details.previewDraft}),this.arcgisHubLayoutEditorHeaderPreviewDraft.emit(this.entity)},this.handlePublish=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.content.action.update.label.layout.details.publish}),this.arcgisHubLayoutEditorHeaderPublish.emit(this.entity)},this.handleSave=()=>{this.arcgisHubLayoutEditorHeaderSave.emit(this.entity)},this.handleOverflowButtonClick=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.interaction.action.open.label.menu.details.options})},this.handleClone=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.content.action.create.label.site.details.clone}),this.arcgisHubLayoutEditorHeaderClone.emit(this.entity)},this.handleDeleteDraft=()=>{this.arcgisHubLayoutEditorHeaderDeleteDraft.emit(this.entity)},this.handleDelete=()=>{let a=c(this.entity),t=i.dictionary.category.content.action.delete.label[a];this.hubTelemetry.emit({telemetry:t}),this.arcgisHubLayoutEditorHeaderDelete.emit(this.entity)},this.handleSaveAsTemplate=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.content.action.create.label.template.details.site}),this.arcgisHubLayoutEditorHeaderSaveAsTemplate.emit(this.entity)},this.handleEditLayout=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.view.label.content.details.layoutEditor})},this.handleViewSite=()=>{this.hubTelemetry.emit({telemetry:i.dictionary.category.navigation.action.view.label.content.details.site})},this.entity=void 0,this.site=void 0,this.saveButtonDisabled=void 0,this.isDirty=void 0,this.isPublishing=void 0,this.isSaving=void 0,this.showClone=void 0,this.showDelete=void 0,this.isActivatingTemplate=void 0}get context(){return H()}get shouldRenderWorkspaceLink(){return!!this.isActivatingTemplate}get type(){return c(this.entity)}get isSite(){return this.type==="site"}get isPage(){return this.type==="page"}get entityControls(){switch(this.type){case"template":return["save"];case"survey":return["editS123","view","publish","save","more"];case"user":return[];default:return["share","view","publish","save","more"]}}async componentWillLoad(){this.intl=await u.loadIntlForComponent(this.element)}get sharingButtonIcon(){return d(this.entity.access)}get saveButtonIcon(){return this.isDirty?"exclamation-mark-circle":void 0}renderSitePopover(){let{context:n,isSite:a,site:t}=this;if(!a&&t&&this.type!=="user"){let o=d(t.access),s=h("hub:site:edit",n,t).access;return e("calcite-popover",{"auto-close":!0,label:t.name,placement:"bottom","reference-element":"popover-trigger"},e("p",null,e("div",{class:"site-title"},t.name),e("div",null,e("calcite-icon",{icon:o,scale:"s"}),this.intl.t(`popover.access.${t.access}`)),e("div",null,e("calcite-icon",{icon:"clock",scale:"s"}),this.intl.t("popover.lastUpdated",{updated:this.intl.formatDate(t.updatedDate)})),s&&e("calcite-button",{class:"edit-site-btn",href:"/edit",onClick:this.handleEditLayout,round:!0,width:"full"},this.intl.t("popover.editLayout")),e("calcite-button",{appearance:"outline",href:"/",kind:"neutral",onClick:this.handleViewSite,round:!0,width:"full"},this.intl.t("popover.viewSite"))))}}get workspaceUrl(){return m(this.context,{type:this.type,id:this.entity.id})}renderMenus(){let{entity:n,isSite:a,site:t}=this,o=`manage${l(this.type)}`,s=(a||!!t)&&this.type!=="user";return e(v,null,!this.shouldRenderWorkspaceLink&&e("calcite-menu",{slot:"content-start"},e("calcite-menu-item",{href:this.workspaceUrl,"icon-start":"gear",onClick:this.handleWorkspaceItemClick,text:this.intl.t(o),"text-enabled":!0})),e("calcite-menu",{slot:"content-center"},this.renderSitePopover(),s&&e("calcite-menu-item",{active:a,breadcrumb:!this.isSite,class:a?"non-interactive":"","icon-start":"browser",id:"popover-trigger",onClick:this.handleSiteMenuItemClick,tabindex:a?"-1":"0",text:t?.name,"text-enabled":!0}),!a&&this.type!=="user"&&e("calcite-menu-item",{active:!a,class:"non-interactive","icon-start":"maximize",tabindex:"-1",text:n.name,"text-enabled":!0})))}renderControls(){let{entity:n}=this,a=`delete${l(this.type)}Label`,t=p(n.id,this.context.portalUrl);return e("div",{class:"controls-container",slot:"content-end"},this.entityControls.includes("share")&&e("arcgis-ref-tooltip",{text:this.intl.t(`access.tooltip.${n.access}`)},e("calcite-button",{appearance:"transparent",href:y(n.type,n.id,"settings-sharing"),"icon-start":this.sharingButtonIcon,kind:"neutral",label:this.intl.t("sharingLabel"),onClick:this.handleAccessChange,round:!0})),this.entityControls.includes("editS123")&&e("calcite-button",{appearance:"solid",kind:"neutral",onClick:this.handleEditS123ButtonClick,round:!0},this.intl.t("editS123Label")),this.entityControls.includes("view")&&e("calcite-dropdown",null,e("calcite-button",{appearance:"outline","icon-end":"chevron-down",kind:"neutral",onClick:this.handleViewButtonClick,round:!0,slot:"trigger"},this.intl.t("viewLabel")),e("calcite-dropdown-group",{selectionMode:"none"},e("calcite-dropdown-item",{onClick:this.handlePreviewPublished},this.intl.t("viewPublishedLabel")),e("calcite-dropdown-item",{onClick:this.handlePreviewDraft},this.intl.t("viewUnpublishedLabel")))),this.entityControls.includes("publish")&&e("calcite-button",{appearance:"outline",disabled:this.saveButtonDisabled||this.isPublishing,kind:"neutral",loading:this.isPublishing,onClick:this.handlePublish,round:!0},this.intl.t(`publishLabel.${this.type}`)),this.entityControls.includes("save")&&e("calcite-button",{appearance:"solid",disabled:this.saveButtonDisabled||this.isSaving,"icon-start":this.saveButtonIcon,kind:"brand",loading:this.isSaving,onClick:this.handleSave,round:!0},this.intl.t(`saveLabel.${this.type}`)),this.entityControls.includes("more")&&e("calcite-dropdown",null,e("calcite-button",{appearance:"transparent","icon-start":"ellipsis",kind:"neutral",label:this.intl.t("moreOptionsLabel"),onClick:this.handleOverflowButtonClick,round:!0,slot:"trigger"}),e("calcite-dropdown-group",{selectionMode:"none"},this.showClone&&e("calcite-dropdown-item",{onClick:this.handleClone},this.intl.t("cloneLayoutLabel")),e("calcite-dropdown-item",{href:t},this.intl.t("editInAgoLabel")),(this.isSite||this.isPage)&&e("calcite-dropdown-item",{onClick:this.handleDeleteDraft},this.intl.t("deleteDraftLabel")),this.showDelete&&e("calcite-dropdown-item",{onClick:this.handleDelete},this.intl.t(a)),this.isSite&&!this.context.isPortal&&e("calcite-dropdown-item",{onClick:this.handleSaveAsTemplate},this.intl.t("saveAsTemplateLabel")))))}render(){if(this.entity)return e(b,{key:"04ecbe2e3b67b4773e6170d1d8c4e6486c6613a4","data-element":"layout-editor-header"},e("calcite-navigation",{key:"2b5dda2eed2dd279ce5bc98bc3e0e035090920ec"},this.renderMenus(),this.renderControls(),e("arcgis-hub-user-profile",{key:"b8a913e4e7e10b4ebc237742f3ca45fad290b4a7",slot:"user",variant:"minimal"})))}static get assetsDirs(){return["locales"]}get element(){return g(this)}};L.style=k;export{L as arcgis_hub_layout_editor_header};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.0 */
4
- import"./PV6LPOSO.js";var a={chart:"Graf",barChart:"Pruhov\xFD graf",lineChart:"Spojnicov\xFD graf",pieChart:"V\xFDse\u010Dov\xFD graf",histogram:"Histogram",scatterplot:"Bodov\xFD graf",boxPlot:"Krabicov\xFD graf"},t={mean:"Pr\u016Fm\u011Br",median:"Medi\xE1n",sum:"Suma",discretePercentile:"Diskr\xE9tn\xED percentil",minimum:"Minimum",maximum:"Maximum",variance:"Rozptyl",count:"Po\u010Det",aggregation:"${ statistics } z ${ fieldName }",noAggregation:"\u017D\xE1dn\xE1 agregace"},i="Graf",e="Po\u010Det s\xE9ri\xED",r="Osa X",s="Nen\xED k dispozici",o={start:"P\u0159ichytit k prvn\xEDmu datov\xE9mu bodu",end:"P\u0159ichytit k posledn\xEDmu datov\xE9mu bodu"},n={chartType:a,statistics:t,defaultTitle:i,countSeries:e,xAxis:r,notAvailable:s,timeAggregationTypes:o};export{a as chartType,e as countSeries,n as default,i as defaultTitle,s as notAvailable,t as statistics,o as timeAggregationTypes,r as xAxis};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.0 */
4
- import{a as i}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import{a,b as e,c as t,d as c,i as s}from"./ZNSSVZZQ.js";import"./PJO2JLBW.js";import"./PV6LPOSO.js";var d=".hub-entity-metrics-coming-soon__block-header{display:inline-flex;align-items:center;gap:0.75rem}.hub-entity-metrics-coming-soon__block-header>h2{margin:0px}p{margin-top:0px;margin-bottom:2rem}.hub-entity-metrics-coming-soon__main{display:flex;flex-direction:row}arcgis-hub-workspace-pane{--arcgis-hub-workspace-pane-main-flex-basis:40%}.hub-entity-metrics-coming-soon__side img{width:100%}",o=d,b=class{constructor(n){s(this,n),this.isMobile=!1}async componentWillLoad(){this.intl=await i.loadIntlForComponent(this.element)}render(){return e(t,{key:"fe251e336e89d3fe12e9fa23eb9dd45a5107f48f","data-element":"workspace-entity-metrics-coming-soon"},e("arcgis-hub-workspace-pane",{key:"062df1e2499749d430562c483ac3dd7c133d990e",isMobile:this.isMobile},e("h1",{key:"7685d4de1f20cd2509daaa2140fb093842902e1d",slot:"title"},this.intl.t("header")),e("div",{key:"437a96cbf7f0f321b594450bd2e0d225b867f055",class:"hub-entity-metrics-coming-soon__main"},e("div",{key:"58c24a30df269fbf5af13cb1dd2e6ac73f30dd61",class:"hub-entity-metrics-coming-soon__info"},e("div",{key:"964c7e0c47666d1fb41ad9e6f48d2fcaf64f8f68"},e("div",{key:"6570dd69198088be46d02940359b92c7fed7af87",class:"hub-entity-metrics-coming-soon__block-header"},e("calcite-icon",{key:"06a42beafc77d4f3e4beaf9451a3f71a4e398ce4",icon:"pencil-square"}),e("h2",{key:"be9ccdd886348b5e3b78e31b3b523fe60277fbbb"},this.intl.t("firstBlockHeader"))),e("p",{key:"d6998213edf0f86d63ac7a153458503971b4ebc8"},this.intl.t("firstBlockMessage"))),e("div",{key:"8fc2f8c3ddf4078fbd617e8ddb01029e66822784"},e("div",{key:"6bedaba8a4d8bf0741ebcaca0cd5ed01eb2116a7",class:"hub-entity-metrics-coming-soon__block-header"},e("calcite-icon",{key:"3cdcc828e54c012e3f317091daca85e0d325a1fd",icon:"register"}),e("h2",{key:"cff7138a60d7395a6109302d1d71cdba3cb64faf"},this.intl.t("secondBlockHeader"))),e("p",{key:"63325a6cb1d539144478a9e726e61734ab993140"},this.intl.t("secondBlockMessage"))),e("div",{key:"abcb4b137be7ffbb78820cbf0600e6543f8b076d"},e("div",{key:"e9b74a54951e581f2419f6ef1145af2898cc1927",class:"hub-entity-metrics-coming-soon__block-header"},e("calcite-icon",{key:"f66af1a536601d2aae9d93a6e59293cceb559dfe",icon:"graph-time-series"}),e("h2",{key:"1d548de11858d6568589c61ef52b4772d8a0df00"},this.intl.t("thirdBlockHeader"))),e("p",{key:"770a31ad6b83ed6b3c7e58e79eeed9de9fab75c7"},this.intl.t("thirdBlockMessage"))),e("arcgis-hub-workspace-link",{key:"9eaff10d6a6a9e92c922b69a5ea9b988bb9d67fa",pane:"details"},e("calcite-button",{key:"8bffcaf8c1b79292f7c70e60f9f7c29bea402379",appearance:"outline-fill",round:!0},this.intl.t("button")))),e("div",{key:"c636aecd5cb3ab857a0468b0da245ac884a3898a",class:"hub-entity-metrics-coming-soon__side",slot:"side-panel"},e("img",{key:"72ffd7c94b01126ad9791af6cd2e495af109d071",alt:this.intl.t("header"),class:"hub-entity-metrics-coming-soon__image",src:a("./assets/metrics-placeholder-graphic.png")})))))}static get assetsDirs(){return["locales","assets"]}get element(){return c(this)}};b.style=o;export{b as arcgis_hub_entity_metrics_coming_soon};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.0 */
4
- import{a as _,b as F}from"./SJERIMSP.js";import{b as z,c as q}from"./KZ5FUHYZ.js";import{b as R}from"./I22URKRQ.js";import{a as x}from"./4MJGM6LA.js";import{a as v}from"./MY5BZA45.js";import a from"./I54DIYWB.js";import"./N7BHXE2T.js";import"./EWKQIUWH.js";import"./ZOBPX2CG.js";import"./4FRKOUFZ.js";import"./OE6PFFPN.js";import"./6Q6IUBV7.js";import"./MOW2OUON.js";import"./OUXUCRLZ.js";import"./X3SU4SJN.js";import"./5HALXJBI.js";import"./3FMKRHUW.js";import"./3Y4JIRQX.js";import"./7YN756B6.js";import{a as k}from"./UBTOBJM4.js";import{a as B}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import{a as g}from"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as l,c as E,d as O,e as y,h as S,i as P}from"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import"./BIIGU5WC.js";import"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.js";export default $arcgis.t(([D,{intersects:ee,buffer:te},X,{watch:j},I,J,ie,G,{project:se},ne,re,oe,ae,le,,{h:V,o:K,p:Y,u:U}])=>{var $=(e,t)=>{let{height:i,width:s}=t,n=e.y<i/2?"top":"bottom",r=e.x<s/2?"left":"right";return`${n}-${r}`},ce=(e,t)=>{let{xmin:i,ymin:s,xmax:n,ymax:r,spatialReference:o}=e,a=t.includes("top")?s:r;return{x:t.includes("left")?n:i,y:a,spatialReference:o}},de=(e,t)=>{let{x:i,y:s}=e,{x:n,y:r}=t,o=n-i,a=r-s;return Math.sqrt(o**2+a**2)},he=(e,t)=>{let{spatialReference:i}=t,s=1/0,n=0,r=(t.type==="polygon"?t.rings.flat(1/0):t.paths.flat(1/0)).reduce((c,d,h)=>{let p=Math.floor(h/2);return c[p]||(c[p]=[]),c[p].push(d),c},[]);r.forEach((c,d)=>{let[h,p]=c,m=de({x:h,y:p,spatialReference:i},e);m<s&&(s=m,n=d)});let[o,a]=r[n];return{x:o,y:a,spatialReference:i}},pe=":host{position:absolute;z-index:1;width:max-content;--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);top:var(--top-offset);left:var(--left-offset);transform:var(--transform)}calcite-action{border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}calcite-action:first-of-type{border-width:0px}calcite-action-pad>calcite-action{border-width:0px}calcite-action-group{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}calcite-action-group>calcite-action{border-style:none}",ue=pe,fe=function(e,t,i,s){var n=arguments.length,r=n<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 a=e.length-1;a>=0;a--)(o=e[a])&&(r=(n<3?o(r):n>3?o(t,i,r):o(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},Z=class{constructor(e){P(this,e),this.target=void 0,this.unthemed=!1,this.x=void 0,this.y=void 0,this.quadrant=void 0,this.content=void 0}handlePopoverOpen(e){e.stopPropagation();let{detail:t}=e,i=t.view,s=t.geometry,{left:n,top:r,height:o,width:a}=i.container.getBoundingClientRect();if(s.type==="polygon"||s.type==="polyline"||s.type==="extent"){let c=s.extent,d=i.toScreen(c.center);this.quadrant=$(d,i);let h=ce(c,this.quadrant),p=s.type==="extent"?X.fromExtent(s):s,m=he(h,p),b=i.toScreen(m);if(b.x<0||b.y<0||b.x>a||b.y>o)if(ee(i.extent,s)){let C=i.toScreen(i.center);this.quadrant=$(C,i),this.x=C.x+n,this.y=C.y+r}else{this.content=null;return}else this.x=b.x+n,this.y=b.y+r}else if(s.type==="point"){let c=i.toScreen(s);this.quadrant=$(c,i),this.x=c.x+n,this.y=c.y+r}if(this.x<n||this.x>n+a||this.y<r||this.y>r+o){this.content=null;return}this.content=t.render(s.type)}handlePopoverClear(e){e.stopPropagation(),this.content=null}get styles(){let{quadrant:e,x:t,y:i}=this,s=e?.includes("right")?"translateX(-110%)":"translateX(10%)",n=e?.includes("top")?"translateY(-25%)":"translateY(-75%)";return{"--top-offset":`${i+window.scrollY}px`,"--left-offset":`${t}px`,transform:`${s} ${n}`}}render(){let{styles:e,content:t,unthemed:i}=this;return l(E,{key:"5049152a87f0226decc8dcb22b1f0ddd61a01078",style:e,unthemed:i},t)}get el(){return O(this)}};fe([x({when(e){let{target:t}=this,{detail:{source:i}}=e;return!t&&!i||t?.toLowerCase()===i?.toLowerCase()}})],Z.prototype,"handlePopoverOpen",null);Z.style=ue;var ge=":host{display:block}span{margin:0px;width:auto;border-radius:0.5rem;--tw-bg-opacity:1;background-color:rgb(151 71 255 / var(--tw-bg-opacity));padding:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-medium);--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));--tw-drop-shadow:drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));filter:var(--tw-filter)}span.danger{background-color:var(--calcite-color-status-danger)}span.brand{background-color:var(--calcite-color-brand)}span.info{background-color:var(--calcite-color-status-info)}span.warning{background-color:var(--calcite-color-status-warning)}span.success{background-color:var(--calcite-color-status-success)}calcite-icon{margin-right:0.5rem;vertical-align:sub}",ye=ge,be=class{constructor(e){P(this,e),this.text=void 0,this.kind=void 0,this.icon=void 0}render(){let{text:e,kind:t,icon:i}=this;return l(E,{key:"061c3b09539bf0091107c2c53c1ccac02af3bf38","data-element":"map-tip"},l("span",{key:"559f75f45d2085b3b15e15f3c7419e12cccf6929",class:t},i&&l("calcite-icon",{icon:i,scale:"s"}),e))}};be.style=ye;var me=":host{display:flex;justify-content:flex-end;--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)}:host-context(div.esri-ui-inner-container.esri-ui-corner-container){box-shadow:none !important}",we=me,ve=class{get position(){return this.viewPosition.includes("right")?"end":"start"}constructor(e){P(this,e),this.expandDisabled=void 0,this.viewPosition="top-right",this.view=void 0,this.scale="m",this.expanded=void 0,k(this,"toggleExpanded")}componentWillLoad(){let{view:e,el:t,viewPosition:i}=this;e&&e.ui&&e.ui.add(t,i)}disconnectedCallback(){let{view:e,el:t}=this;e&&e.ui&&e.ui.remove(t)}addWidgetToView(e,t){e&&e.ui&&e!==t&&this.view.ui.add(this.el,this.viewPosition)}toggleExpanded(){this.expanded=!this.expanded}render(){let{expandDisabled:e,expanded:t,position:i,scale:s}=this;return l(E,{key:"42a47641f505a696e1c8de55ad93062812905b6b"},this.view&&l("calcite-action-pad",{expandDisabled:e,expanded:t,onCalciteActionPadToggle:this.toggleExpanded,position:i,scale:s},l("slot",null)))}get el(){return O(this)}static get watchers(){return{view:["addWidgetToView"]}}};ve.style=we;var T;(function(e){e.START="start",e.ACTIVE="active",e.COMPLETE="complete",e.CANCEL="cancel"})(T||(T={}));var w;(function(e){e.START="start",e.ACTIVE="active",e.INACTIVE="inactive"})(w||(w={}));var xe=":host{display:block}.hub-widget-draw{min-width:none !important;max-width:none !important;padding:0px}.draw-popover{width:max-content}.draw-popover>p{margin:0px;padding:0.75rem}@media only screen and (min-width: 640px){.hub-widget-draw.top{position:absolute}.hub-widget-draw.top{width:25rem}.hub-widget-draw.top{padding:0px}.hub-widget-draw.right{right:100%}.hub-widget-draw.right{margin-right:1rem}.hub-widget-draw.left{left:100%}.hub-widget-draw.left{margin-left:1rem}.hub-widget-draw.bottom.left{margin-left:0.5rem}.hub-widget-draw.bottom.right{margin-right:0.5rem}}@media only screen and (max-width: 640px){.hub-widget-draw.top{position:absolute}.hub-widget-draw.top{z-index:50}.hub-widget-draw.top{padding:0px}.hub-widget-draw.top{top:calc(var(--top-offset) + var(--bottom-offset));width:calc(var(--view-width) + 1px);display:var(--mobile-display)}.hub-widget-draw.right{right:-1rem}.hub-widget-draw.left{left:-1rem}}",Ce=xe,f=function(e,t,i,s){var n=arguments.length,r=n<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 a=e.length-1;a>=0;a--)(o=e[a])&&(r=(n<3?o(r):n>3?o(t,i,r):o(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},Q=["select","point","polyline","polygon","rectangle"],N={select:{icon:"select"},point:{icon:"pin"},polyline:{icon:"freehand"},polygon:{icon:"freehand-area"},rectangle:{icon:"rectangle-area"},circle:{icon:"circle"}},u=class{constructor(e){P(this,e),this.arcgisHubMapDrawGraphicsChange=y(this,"arcgisHubMapDrawGraphicsChange",7),this.arcgisHubMapDrawGraphicsClear=y(this,"arcgisHubMapDrawGraphicsClear",7),this.arcgisHubMapDrawSelect=y(this,"arcgisHubMapDrawSelect",7),this.arcgisHubDrawCancel=y(this,"arcgisHubDrawCancel",7),this.arcgisHubDrawActiveToolChange=y(this,"arcgisHubDrawActiveToolChange",7),this.arcgisHubMapPopoverOpen=y(this,"arcgisHubMapPopoverOpen",7),this.arcgisHubMapPopoverClear=y(this,"arcgisHubMapPopoverClear",7),this.arcgisHubMapTooltipUpdated=y(this,"arcgisHubMapTooltipUpdated",7),this.hubTelemetry=y(this,"hubTelemetry",7),this.handles=[],this.boundaries=void 0,this.geometry=void 0,this.mode="hybrid",this.scale="m",this.tools=Q,this.view=void 0,this.disablePrimaryOptions=void 0,this.disableEditOptions=void 0,this.color=[0,0,0],this.buffer=void 0,this.condensed=void 0,this.resetOnDisconnect=!0,this.enableMapTips=void 0,this.drawTip=void 0,this.unthemed=!1,this.disabled=!1,this.enableInvalidGeometryWarning=!1,this.hideDrawTooltip=!1,this.geometryIsSelfIntersecting=void 0,this.activeTool=void 0,this.isEditing=void 0,this.isFiltered=void 0,this.geometryIsInvalid=void 0,this.bufferDetails=void 0,this.bufferPanelVisible=void 0,this.bottomOffset=0,this.topOffset=0,this.viewWidth=void 0,this.open=void 0,this.optionsEl=void 0,this.mapTipState=w.INACTIVE,k(this,"applyFilter","cancelEdits","clearFilter","deleteDrawing","handleSetBufferWidgetRef","handleSketchOnCreate","handleSketchOnUpdate","handleViewClick","handleViewEscape","handleViewExtentChange","handleViewPointerMove","handleViewPointerMoveOrDown","renderPrimaryOptions","renderEditOptions","renderEditingOptions","renderMapTip","setPanelHeight","startEditing","saveEdits","setOptionsEl")}async componentWillLoad(){let{el:e}=this;this.intl=await B.loadIntlForComponent(e),this.createGraphicsLayers(),await this.connectViewModel(),this.addWatchHandles(),this.setViewPosition(),K()}connectedCallback(){this.addWatchHandles()}disconnectedCallback(){this.resetOnDisconnect&&this.reset(),U(this.handles)}handleMapDrawFilter(e){let{hubTelemetry:t,isFiltered:i}=this,{detail:{graphics:[s],save:n}}=e;if(s&&n&&i){let{geometry:{type:r}}=s;t.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.search.label.filter),{details:R(r)}))}}handleWidgetSelected(e){let{activeTool:t,isEditing:i}=this,{target:s}=e,{icon:n}=s,r=([,a])=>a.icon===n,o=n==="minus-circle"?t:Object.entries(N).find(r)[0];o!=="select"?this.reset():i&&this.cancelEdits(),this.activeTool=t===o?void 0:o,this.open=!1}handleWidgetDrawBufferChanged(e){let{detail:t}=e;this.bufferDetails=t}handleWidgetDrawBufferReset(){let{bufferGraphicsLayer:e}=this;e&&(this.bufferDetails=void 0,e.removeAll())}handleWidgetDrawBufferClosed(){this.bufferPanelVisible=!1}handleWidgetPanelToggled(e){let{target:t,detail:i}=e,{bufferWidgetEl:s}=this;t!==s&&!i?this.bufferPanelVisible=!1:t===s&&!i&&setTimeout(()=>{this.setPanelHeight()},0)}focusView(){let{view:e}=this;setTimeout(()=>{e?.focus()},250)}handleActiveToolChange(e,t){let{hubTelemetry:i,sketchViewModel:s,isEditing:n}=this;s&&(s.cancel(),e&&e!=="select"&&!n?(s.create(e),this.arcgisHubDrawActiveToolChange.emit(e)):e||(this.isEditing=!1));let r=e==="select"?"select":"draw";this.mapTipState=this.activeTool?w.ACTIVE:w.INACTIVE,e&&this.focusView(),this.arcgisHubMapPopoverClear.emit(),i.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action[e?"enable":"disable"].label[r]),{details:R(e||t)}))}handleBoundariesChange(e,t){let i=s=>JSON.stringify(s?.map(n=>n.toJSON()));i(e)!==i(t)&&this.addGeometryToBoundariesLayer()}handleGraphicsChange(){let{geometry:e,bufferWidgetEl:t}=this;e?(this.addGeometryToGraphicsLayer(),this.startEditing()):(this.reset(),t?.forceReset(),this.activeTool=void 0)}handleIsEditingChange(){let{isEditing:e}=this;e||(this.activeTool=void 0),this.setBufferPanelVisible()}handleIsFilteredChange(){let{isFiltered:e,graphicsLayer:{graphics:t}}=this,i=t.getItemAt(0);if(e&&i){let{geometry:{type:s}}=i,n=V(s),r=this[`${n}Symbol`];i.symbol=r}this.setBufferPanelVisible()}handleViewChange(e,t){e&&e!==t&&(U(this.handles),this.connectViewModel().then(()=>{this.addWatchHandles()}))}handleBufferDetailsChanged(){let{arcgisHubMapDrawGraphicsChange:e,bufferPolygonSymbol:t,graphicsLayer:i,bufferGraphicsLayer:s,bufferDetails:n,isEditing:r}=this,{graphics:o}=i,[a]=o,{graphics:c}=s;if(!n||!a)return;let{distance:d,unit:h}=n,p=te(a?.geometry,d,h.split(" ").join("-"),!0),m=new G({geometry:p,symbol:t});s.removeAll(),s.add(m),e.emit({graphics:o.clone(),bufferGraphics:c.clone(),save:!r})}async forceReset(){this.reset()}async setActiveTool(e){this.activeTool=e}handleSetBufferWidgetRef(e){e&&(this.bufferWidgetEl=e)}createGraphicsLayers(){let{graphicsLayer:e,bufferGraphicsLayer:t,boundariesGroupLayer:i}=this;I&&(e||(this.graphicsLayer=new I({elevationInfo:{mode:"on-the-ground"},listMode:"hide"}),this.reset(),this.addGeometryToGraphicsLayer()),t||(this.bufferGraphicsLayer=new I({elevationInfo:{mode:"on-the-ground"},listMode:"hide"})),i||(this.boundariesLayer=new I({elevationInfo:{mode:"on-the-ground"},listMode:"hide"}),this.boundariesMaskLayer=new I({elevationInfo:{mode:"on-the-ground"},graphics:[new G({geometry:new X({rings:[[[-180,90],[180,90],[180,-90],[-180,-90]]]}),symbol:this.maskSymbol})],listMode:"hide"}),this.boundariesGroupLayer=new ie({blendMode:"destination-in",layers:[this.boundariesMaskLayer,this.boundariesLayer],listMode:"hide",visible:!1}),this.boundariesOutlineLayer=new I({effect:"drop-shadow(1px, 1px, 2px)",elevationInfo:{mode:"on-the-ground"},listMode:"hide",visible:!1}),this.addGeometryToBoundariesLayer()))}handleSketchOnCreate(e){var t;let{state:i,graphic:s,tool:n,toolEventInfo:r}=e,{activeTool:o,arcgisHubMapPopoverOpen:a,bufferGraphicsLayer:c,graphicsLayer:d,boundariesLayer:h,sketchViewModel:p,hubTelemetry:m,view:b}=this;if(i!==T.CANCEL)switch(this.geometryIsSelfIntersecting=this.isGeometrySelfIntersecting(s.geometry),(t=s.geometry)===null||t===void 0?void 0:t.type){case"polygon":e.graphic.symbol=this.geometryIsSelfIntersecting?F():this.polygonSymbol;break;case"polyline":e.graphic.symbol=this.geometryIsSelfIntersecting?_():this.polylineSymbol;break}if(this.boundaries&&this.boundaries.length){if(r?.type==="vertex-add"){let C=new ae({x:r.vertices[0].coordinates[0],y:r.vertices[0].coordinates[1],spatialReference:b.spatialReference});h.graphics.toArray().find(L=>D.within(C,L.geometry))||(n==="point"?setTimeout(()=>{this.activeTool="point"}):setTimeout(()=>{p.canUndo()&&p.undo()},0))}if(i===T.COMPLETE&&!h.graphics.toArray().find(H=>D.within(s.geometry,H.geometry))){this.deleteDrawing();return}}i===T.START&&(m.emit(g.dictionary.category.interaction.action.draw.label.start.details[o]),this.mapTipState=w.ACTIVE),i===T.COMPLETE&&(this.activeTool==="rectangle"&&(s.geometry=s.geometry.extent),b.map.reorder(d,99),b.map.reorder(c,100),this.isEditing=!1,this.activeTool=void 0,setTimeout(()=>{a.emit({source:"options",geometry:s?.geometry,view:b,render:this.renderPrimaryOptions})},150),m.emit(g.dictionary.category.interaction.action.draw.label.complete.details[o]),this.disableEditOptions&&this.disablePrimaryOptions&&this.arcgisHubMapDrawGraphicsChange.emit({graphics:d.graphics.clone(),unsaved:!0}),this.mapTipState=w.INACTIVE),i===T.CANCEL&&n===o&&(this.isEditing=!1,this.activeTool=void 0,this.disabled=!1,this.el.querySelector("arcgis-hub-map-widget-generic").setFocus(),this.arcgisHubDrawCancel.emit())}handleSketchOnUpdate(e){var t;let{state:i,graphics:[s],toolEventInfo:n}=e,{arcgisHubMapPopoverClear:r,arcgisHubMapDrawGraphicsChange:o,graphicsLayer:{graphics:a},bufferGraphicsLayer:{graphics:c},sketchViewModel:d}=this;switch(this.geometryIsSelfIntersecting=this.isGeometrySelfIntersecting(s.geometry),s.geometry.type){case"polygon":s.symbol=this.geometryIsSelfIntersecting?F():this.polygonSymbol;break;case"polyline":s.symbol=this.geometryIsSelfIntersecting?_():this.polylineSymbol;break}this.boundaries&&this.boundaries.length&&(!((t=n?.type)===null||t===void 0)&&t.includes("stop"))&&(this.boundariesLayer.graphics.toArray().find(p=>D.within(s.geometry,p.geometry))||setTimeout(()=>{d.canUndo()&&d.undo()},0)),i===T.ACTIVE&&(this.hideDrawTooltip||r.emit(),o.emit({graphics:a.clone(),bufferGraphics:c.clone()}),this.handleBufferDetailsChanged())}handleViewClick(e){let{activeTool:t,arcgisHubMapPopoverClear:i,hubTelemetry:s,mapTipState:n}=this;t!=="polyline"&&t!=="polygon"&&n!==w.ACTIVE&&i.emit(),t==="select"?(s.emit(g.dictionary.category.interaction.action.select.label.content.details.selectTool),this.arcgisHubMapDrawSelect.emit(e)):s.emit(g.dictionary.category.interaction.action.select.label.content)}handleViewPointerMove(e){let{view:t,arcgisHubMapPopoverOpen:i,isScene:s}=this,n=t.toMap(e);if(!(s&&!n)){if(this.boundaries&&this.boundaries.length){let r=this.boundariesLayer.graphics.toArray().find(o=>D.contains(o.geometry,n));this.geometryIsInvalid=!r}this.hideDrawTooltip||i.emit({source:"tips",geometry:n,view:t,render:this.renderMapTip}),this.arcgisHubMapTooltipUpdated.emit({text:this.helperText,isGeometryValid:!this.geometryIsInvalid&&!this.geometryIsSelfIntersecting})}}handleViewPointerMoveOrDown(e){let{view:t,graphicsLayer:i}=this;t.hitTest(e,{include:i}).then(s=>{var n;let{isFiltered:r,isEditing:o,arcgisHubMapPopoverOpen:a}=this,c=Y(s.results);if(s.results.length){if(e.type==="pointer-down"&&this.sketchViewModel.state==="ready"){this.startEditing();return}let d=this.renderPrimaryOptions;r&&!o?d=this.renderEditOptions:o&&(d=this.renderEditingOptions),a.emit({source:"options",geometry:(n=c.graphic)===null||n===void 0?void 0:n.geometry,view:t,render:d})}})}handleViewExtentChange(){let{arcgisHubMapPopoverClear:e}=this;e.emit()}handleToolsOpened(){this.open=!0,this.hubTelemetry.emit(g.dictionary.category.interaction.action.open.label.popover.details.options)}handleToolsClosed(){this.open=!1,this.hubTelemetry.emit(g.dictionary.category.interaction.action.close.label.popover.details.options)}async connectViewModel(){let{bufferGraphicsLayer:e,graphicsLayer:t,mode:i,sketchViewModel:s,view:n,pointSymbol:r,polygonSymbol:o,polylineSymbol:a}=this;n&&!s&&J&&(await n.when(),n.map.addMany([t,e,this.boundariesGroupLayer,this.boundariesOutlineLayer],0),this.sketchViewModel=new J({view:n,layer:t,defaultCreateOptions:{mode:i},updateOnGraphicClick:!1,polygonSymbol:o,polylineSymbol:a,pointSymbol:r}),j(()=>n.size,this.setPanelHeight))}handleViewEscape(e){this.activeTool=void 0}addWatchHandles(){let{handles:e,sketchViewModel:t,view:i}=this;i&&j&&t&&e.push(i.on("key-down",["Escape"],this.handleViewEscape),i.on("pointer-down",this.handleViewClick),i.on(["pointer-move","pointer-down"],this.handleViewPointerMoveOrDown),i.on("pointer-move",this.handleViewPointerMove),j(()=>i.extent,this.handleViewExtentChange),t.on("create",this.handleSketchOnCreate),t.on("update",this.handleSketchOnUpdate))}addGeometryToBoundariesLayer(){var e;let{boundaries:t,boundariesLayer:i,boundariesOutlineLayer:s}=this;if(!((e=i.graphics)===null||e===void 0)&&e.length&&(i.removeAll(),s.removeAll()),t&&t.length){let n=t.map(this.processGeometry,this),r=n.map(a=>new G({geometry:a,symbol:this.boundarySymbol}));this.boundariesLayer.addMany(r);let o=n.map(a=>new G({geometry:a,symbol:this.boundaryOutlineSymbol}));this.boundariesOutlineLayer.addMany(o),this.boundariesGroupLayer.visible=!0,this.boundariesGroupLayer.opacity=this.isScene?0:1,this.boundariesOutlineLayer.visible=!0,this.view.container.style.backgroundColor="#ffffff",this.view.goTo(this.boundariesLayer.graphics)}else this.boundariesGroupLayer.visible=!1,this.boundariesOutlineLayer.visible=!1}addGeometryToGraphicsLayer(){let{geometry:e,graphicsLayer:t,sketchViewModel:i}=this;if(!e||!t||!this.sketchViewModel)return;this.isFiltered=!0;let s=this.processGeometry(e),n=s.type==="extent"?"polygon":s.type,r=new G({geometry:s,symbol:i[`${n}Symbol`]});t.add(r)}applyFilter(){let{arcgisHubMapDrawGraphicsChange:e,arcgisHubMapPopoverClear:t,graphicsLayer:{graphics:i},bufferGraphicsLayer:{graphics:s}}=this;this.isFiltered=!0,e.emit({graphics:i.clone(),bufferGraphics:s.clone(),save:!0}),t.emit()}deleteDrawing(){let{graphicsLayer:{graphics:[e]},hubTelemetry:t,bufferWidgetEl:i}=this;if(!e)return;let{geometry:{type:s}}=e;t.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.draw.label.delete.details[s]),{response:"Success"})),this.reset(),this.activeTool=void 0,i?.forceReset()}clearFilter(){let{arcgisHubMapDrawGraphicsClear:e,hubTelemetry:t}=this;this.deleteDrawing(),e.emit(),t.emit(g.dictionary.category.interaction.action.search.label.filter.details.clear)}startEditing(){let{arcgisHubMapPopoverClear:e,graphicsLayer:{graphics:t},bufferGraphicsLayer:{graphics:i},hubTelemetry:s,sketchViewModel:n,geometryIsExtent:r}=this;e.emit(),this.isEditing=!0,this.cachedGraphics=t.clone(),this.cachedBufferGraphics=i.clone();let a=t.getItemAt(0).geometry.type;this.activeTool=V(a);let c=a==="extent"?"transform":"reshape",d=!0,h=!0;r&&(c="transform",d=!1,h=!1),n.update(t.getItemAt(0),{tool:c,enableRotation:d,toggleToolOnClick:h}),s.emit(g.dictionary.category.interaction.action.enable.label.draw.details.update)}cancelEdits(){let{arcgisHubMapPopoverClear:e,arcgisHubMapDrawGraphicsChange:t,cachedGraphics:i,cachedBufferGraphics:s,graphicsLayer:{graphics:n},bufferGraphicsLayer:{graphics:r},hubTelemetry:o}=this;i&&s&&(this.graphicsLayer.graphics=i.clone(),this.cachedGraphics=null,this.bufferGraphicsLayer.graphics=s.clone(),this.cachedBufferGraphics=null),this.isEditing=!1,e.emit(),t.emit({graphics:n.clone(),bufferGraphics:r.clone(),canceled:!0}),o.emit(g.dictionary.category.interaction.action.disable.label.draw.details.update)}saveEdits(){let{activeTool:e,arcgisHubMapDrawGraphicsChange:t,arcgisHubMapPopoverClear:i,graphicsLayer:{graphics:s},bufferGraphicsLayer:{graphics:n},hubTelemetry:r,sketchViewModel:o}=this;o.complete(),t.emit({graphics:s.clone(),bufferGraphics:n.clone(),save:!0}),i.emit(),this.isEditing=!1,r.emit(g.dictionary.category.interaction.action.draw.label.update.details[e]),this.open=!1}reset(){let{bufferGraphicsLayer:e,graphicsLayer:t,arcgisHubMapPopoverClear:i,bufferWidgetEl:s}=this;!t||!e||(this.isEditing=!1,this.isFiltered=!1,this.cachedGraphics=null,this.cachedBufferGraphics=null,this.geometry=null,this.geometryIsInvalid=!1,this.geometryIsSelfIntersecting=!1,t.removeAll(),e.removeAll(),i.emit(),s?.forceReset())}processGeometry(e){let{view:t}=this,i=e.clone?e:e.type==="extent"?re.fromJSON(e):ne.fromJSON(e);return i.spatialReference!==t.spatialReference&&(i=se(i,t.spatialReference)),i}setBufferPanelVisible(){let{isEditing:e,isFiltered:t}=this;this.bufferPanelVisible=e||t}setPanelHeight(){let{bufferWidgetEl:e,view:{size:t,container:i}}=this;if(!e||!i)return;let[s]=t;this.viewWidth=s;let{top:n,bottom:r}=i.getBoundingClientRect(),{top:o,bottom:a}=e.getBoundingClientRect();this.topOffset=o-n,this.bottomOffset=r-a}setViewPosition(){let{el:e}=this,t=e&&e.closest("arcgis-hub-map-widget-container");this.viewPosition=t?.viewPosition}setOptionsEl(e){this.optionsEl=e}get geometryIsExtent(){var e;return((e=this.geometry)===null||e===void 0?void 0:e.type)==="extent"}get isScene(){var e;return((e=this.view)===null||e===void 0?void 0:e.type)==="3d"}get pointSymbol(){let{color:e}=this;return{type:"text",color:[...e,.9],text:"\uE61D",font:{size:24,family:"CalciteWebCoreIcons"}}}get polylineSymbol(){let{lineStyle:e,color:t}=this;return{style:e,color:[...t,1],width:2,type:"simple-line"}}get polygonSymbol(){let{color:e,lineStyle:t}=this;return{type:"simple-fill",style:"solid",color:[0,0,0,0],outline:{style:t,color:[...e,1],width:2}}}get maskSymbol(){return{type:"simple-fill",style:"solid",color:[0,0,0,.25],outline:{style:"solid",color:[0,0,0,1],width:0}}}get boundarySymbol(){return{type:"simple-fill",style:"solid",color:[0,0,0,1],outline:{style:"solid",color:[0,0,0,0],width:0}}}get boundaryOutlineSymbol(){return{type:"simple-fill",style:"solid",color:[0,0,0,0],outline:{style:"solid",color:[0,0,0,1],width:2}}}get rectangleSymbol(){return this.polygonSymbol}get lineStyle(){let{isFiltered:e}=this;return e?"solid":"short-dash"}get bufferPolygonSymbol(){let{color:e}=this;return{type:"simple-fill",style:"cross",color:[...e,.25],outline:{style:"short-dash",color:[...e,1],width:2}}}get positionClass(){let{viewPosition:e}=this;if(e)return`hub-widget-draw ${e.split("-").join(" ")}`}get styles(){let{viewWidth:e,bottomOffset:t,topOffset:i,bufferPanelVisible:s}=this;return{"--view-width":`${e??0}px`,"--bottom-offset":`${t??0}px`,"--top-offset":`${i??0}px`,"--mobile-display":s?"flex":"none"}}get helperText(){let{activeTool:e,mapTipState:t,sketchViewModel:{createGraphic:i},intl:s,isEditing:n}=this;if(!n&&!i&&e!=="select")return;let r=e==="select"?s.t("tip.select"):s.t("tip.edit");if(i&&!n){let{geometry:o}=i,a="start",c=["polygon","polyline"].includes(e);if(t===w.ACTIVE&&c){let d=e==="polygon"?o&&o.rings[0].length-2:o&&o.paths[0].length-1;d===1?a="point":d>1&&(a="end")}r=s.t(`tip.${e}.${a}`)}return this.geometryIsInvalid&&(r=this.intl.t("invalid.boundary.warning")),this.enableInvalidGeometryWarning&&this.geometryIsSelfIntersecting&&(r=this.intl.t("invalid.selfIntersecting.warning")),r}renderPrimaryOptions(e="polygon"){let{disablePrimaryOptions:t}=this,i=V(e),s=this.intl.t(`filter.${i}`),n=this.intl.t("delete");return t?this.renderEditOptions():l(S,null,l("calcite-action",{icon:"selection-filter",onClick:this.applyFilter,text:s,"text-enabled":!0}),l("calcite-action",{icon:"trash",onClick:this.deleteDrawing,text:n,"text-enabled":!0}))}renderEditOptions(){let e=this.intl.t("update"),t=this.intl.t("delete");return l("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal"},l("calcite-action",{icon:"pencil",onClick:this.startEditing,text:e}),l("calcite-action",{icon:"trash",onClick:this.clearFilter,text:t}))}renderEditingOptions(){let e=this.intl.t("cancel"),t=this.intl.t("save");return l(S,null,l("calcite-action",{icon:"undo",onClick:this.cancelEdits,text:e,"text-enabled":!0}),l("calcite-action",{icon:"check",onClick:this.saveEdits,text:t,"text-enabled":!0}))}renderMapTip(){let{helperText:e,geometryIsInvalid:t,geometryIsSelfIntersecting:i}=this,s,n;return(t||i)&&(s="exclamation-mark-triangle-f",n="danger"),e?l("arcgis-hub-map-tip",{icon:s,kind:n,text:e}):null}renderDrawBuffer(){let{buffer:e,positionClass:t,handleSetBufferWidgetRef:i,bufferPanelVisible:s}=this;if(e)return l("arcgis-hub-map-widget-draw-buffer",{class:t,ref:i,visible:s})}renderDrawToolWidgets(e=!1){let{tools:t,activeTool:i,scale:s}=this;return Q.reduce((n,r)=>t.includes(r)?[...n,l("arcgis-hub-map-widget-generic",{active:i===r,disabled:this.disabled,icon:N[r].icon,key:r,scale:s,text:this.intl.t(r),textEnabled:e})]:n,[])}renderDrawingOptionsAction(){let{open:e,isEditing:t,activeTool:i,intl:s}=this,n=e||t,r;t?r="pencil":i?r=N[i].icon:r="pencil-mark-plus";let o;return t?o=s.t("updating"):e?o=s.t("close"):o=s.t("open"),l("calcite-action",{active:n,icon:r,ref:this.setOptionsEl,text:o})}renderDrawingOptionsPopoverContent(){let{isEditing:e,open:t,activeTool:i,intl:s}=this;return e?l("calcite-action",{onClick:this.saveEdits,text:s.t("finish"),"text-enabled":!0}):l(S,null,this.renderDrawToolWidgets(!0),i&&t&&l("arcgis-hub-map-widget-generic",{icon:"minus-circle",text:s.t("stop"),"text-enabled":!0}))}renderCondensedDrawTools(){let{open:e,intl:t,optionsEl:i}=this;return l(S,null,this.renderDrawingOptionsAction(),this.renderDrawBuffer(),l("calcite-popover",{"auto-close":!0,"disable-pointer":!0,label:t.t("options"),offsetDistance:15,open:e,placement:"left-start",referenceElement:i},this.renderDrawingOptionsPopoverContent()))}renderDrawTools(){return l(S,null,this.renderDrawBuffer(),this.renderDrawToolWidgets())}isGeometrySelfIntersecting(e){if(!this.enableInvalidGeometryWarning)return!1;switch(e?.type){case"polygon":return z(e);case"polyline":return q(e,oe,le)}return!1}renderPopovers(){let{unthemed:e}=this;return l("arcgis-wormhole",{styles:{position:"absolute",top:0,left:0}},l("arcgis-hub-map-popover",{style:{pointerEvents:"none"},target:"tips",unthemed:e}),l("arcgis-hub-map-popover",{target:"options",unthemed:e}),l("arcgis-hub-map-popover",{target:"action",unthemed:e}))}renderDrawPopover(){let{el:e,drawTip:t}=this;return l("calcite-popover",{autoClose:!0,class:"draw-popover",label:t,open:!0,placement:"left",referenceElement:e,triggerDisabled:!0},l("p",null,t))}render(){return l(E,{key:"68b0c53ec694d3b292879750426de3d9c2273ebe","data-element":"map-widget-draw",style:this.styles},this.renderDrawPopover(),this.condensed?this.renderCondensedDrawTools():this.renderDrawTools(),this.renderPopovers())}static get assetsDirs(){return["locales"]}get el(){return O(this)}static get watchers(){return{activeTool:["handleActiveToolChange"],boundaries:["handleBoundariesChange"],geometry:["handleGraphicsChange"],isEditing:["handleIsEditingChange"],isFiltered:["handleIsFilteredChange"],view:["handleViewChange"],bufferDetails:["handleBufferDetailsChanged"]}}};f([x({when(){return this.enableMapTips&&(this.mapTipState!==w.INACTIVE||this.isEditing&&this.activeTool!=="point")}})],u.prototype,"handleViewPointerMove",null);f([x({when(){return this.activeTool==="select"}})],u.prototype,"handleViewEscape",null);f([x({when(){return this.boundariesGroupLayer}})],u.prototype,"addGeometryToBoundariesLayer",null);f([v()],u.prototype,"pointSymbol",null);f([v()],u.prototype,"polylineSymbol",null);f([v()],u.prototype,"polygonSymbol",null);f([v()],u.prototype,"maskSymbol",null);f([v()],u.prototype,"boundarySymbol",null);f([v()],u.prototype,"boundaryOutlineSymbol",null);f([v()],u.prototype,"rectangleSymbol",null);f([v()],u.prototype,"bufferPolygonSymbol",null);f([x({when(){return!this.disableEditOptions}})],u.prototype,"renderEditOptions",null);f([x({when(){return!this.disableEditOptions}})],u.prototype,"renderEditingOptions",null);f([x({when(){return this.view}})],u.prototype,"renderPopovers",null);f([x({when(){return this.drawTip&&this.drawTip.length}})],u.prototype,"renderDrawPopover",null);u.style=Ce;var M;(function(e){e.Imperial="imperial",e.Metric="metric"})(M||(M={}));var W;(function(e){e.Feet="feet",e.Miles="miles",e.NauticalMiles="nautical miles"})(W||(W={}));var A;(function(e){e.Meters="meters",e.Kilometers="kilometers"})(A||(A={}));var Te="calcite-panel div{display:grid;gap:0.25rem;padding:1rem;background-color:var(--calcite-color-foreground-1)}calcite-panel[closed]{display:none}",Me=Te,Ee=class{constructor(e){P(this,e),this.arcgisHubMapWidgetDrawBufferChanged=y(this,"arcgisHubMapWidgetDrawBufferChanged",7),this.arcgisHubMapWigetDrawBufferReset=y(this,"arcgisHubMapWigetDrawBufferReset",7),this.arcgisHubMapWidgetDrawBufferPanelClosed=y(this,"arcgisHubMapWidgetDrawBufferPanelClosed",7),this.arcgisHubWidgetPanelToggled=y(this,"arcgisHubWidgetPanelToggled",7),this.visible=void 0,this.unit=this.defaultUnitOfMeasurement,this.distance=0,this.status="idle",k(this,"handleInputKeyUp","handleSetPanelRef","handleSetSelectRef","handleSetInputRef","reset")}async componentWillLoad(){let{el:e}=this;this.intl=await B.loadIntlForComponent(e),this.handleVisibleChange()}handleUnitDistanceChanged(){let{arcgisHubMapWidgetDrawBufferChanged:e,unit:t,distance:i}=this;e.emit({distance:i,unit:t})}handleCalciteSelectChange(){let{selectEl:{selectedOption:{value:e}}}=this;this.unit=e.toLowerCase()}handleCalciteInputInput(){let{inputEl:{value:e}}=this;this.distance=+e,this.validateDistance()}handleCalcitePanelDismissedChange(){let{panelEl:{closed:e},arcgisHubMapWidgetDrawBufferPanelClosed:t}=this;e&&t.emit()}handleVisibleChange(){let{visible:e,panelEl:t,arcgisHubWidgetPanelToggled:i}=this;if(t){let s=!e;i.emit(s)}}async forceReset(){this.reset()}reset(){let{arcgisHubMapWigetDrawBufferReset:e}=this;this.distance=0,this.unit=this.defaultUnitOfMeasurement,e.emit()}validateDistance(){let{inputEl:{value:e}}=this;this.status=e?"idle":"invalid"}handleInputKeyUp(){this.validateDistance()}handleSetSelectRef(e){e&&(this.selectEl=e)}handleSetInputRef(e){e&&(this.inputEl=e)}handleSetPanelRef(e){e&&(this.panelEl=e)}get defaultSystemOfMesasurement(){let[,e]=window.navigator.language.toLowerCase().split("-");return["us","lr","mm"].includes(e)?M.Imperial:M.Metric}get defaultUnitOfMeasurement(){let{defaultSystemOfMesasurement:e}=this;return e===M.Imperial?W.Feet:A.Meters}get canReset(){let{distance:e,unit:t,defaultUnitOfMeasurement:i}=this;return!!e||t!==i}get distanceIsInvalid(){let{status:e}=this;return e==="invalid"}renderOptionsGroup(e,t){let{unit:i,intl:s}=this;return l("calcite-option-group",{label:s.t(`system.${e}`)},t.map(n=>{let r=s.t(`units.${n.replace(" ","")}`);return l("calcite-option",{key:n,label:r,selected:i===n,value:n},r)}))}render(){let{distance:e,distanceIsInvalid:t,intl:i,canReset:s,status:n,visible:r,handleInputKeyUp:o,handleSetSelectRef:a,handleSetInputRef:c,handleSetPanelRef:d,reset:h}=this,p=i.t("panel.heading"),m=i.t("panel.reset"),b=i.t("distance.title"),C=i.t("distance.placeholder"),H=i.t("distance.message"),L=i.t("units.title");return l(E,{key:"ec424a9b9d8f290485086827615f250cb46c95e1","data-element":"widget-draw-buffer"},l("calcite-panel",{key:"089334382955a7559bbdded48e0c03ca7c9e022e",closable:!0,closed:!r,heading:p,ref:d},l("calcite-action",{key:"acfaffe4715f35e3fca3561418bfac85f7973435",disabled:!s,icon:"reset",onClick:h,slot:"header-actions-end",text:m}),l("div",{key:"4bbeaccbce3b20ccd71164496d1954ed56fa5a56",class:"location-filter"},l("calcite-label",{key:"981df55060865da10b0f598feed86fa658169798",scale:"l"},b,l("calcite-input",{key:"ff4ad9b79fea4aabd05dd3b5652ad431e67bf06e",onKeyUp:o,placeholder:C,ref:c,scale:"l",status:n,type:"number",value:e.toString()}),l("calcite-input-message",{key:"d3e806275cf03a0ee7bd6fceb999b40e3c5cafdb",hidden:!t},H)),l("calcite-label",{key:"e0fedc2e30410e224236c34220a26a953c1fe81e",scale:"l"},L,l("calcite-select",{key:"b3f677335e074d60844fe6314121227062c9df2b",label:L,ref:a,scale:"l"},this.renderOptionsGroup(M.Metric,Object.values(A)),this.renderOptionsGroup(M.Imperial,Object.values(W)))))))}static get assetsDirs(){return["locales"]}get el(){return O(this)}static get watchers(){return{unit:["handleUnitDistanceChanged"],distance:["handleUnitDistanceChanged"],visible:["handleVisibleChange"]}}};Ee.style=Me;return{arcgis_hub_map_popover:Z,arcgis_hub_map_tip:be,arcgis_hub_map_widget_container:ve,arcgis_hub_map_widget_draw:u,arcgis_hub_map_widget_draw_buffer:Ee}},"geometry/geometryEngine","geometry/geometryEngine","geometry/Polygon","core/reactiveUtils","layers/GraphicsLayer","widgets/Sketch/SketchViewModel","layers/GroupLayer","Graphic","geometry/support/webMercatorUtils","geometry/Geometry","geometry/Extent","geometry/Polyline","geometry/Point","geometry/operators/crossesOperator","config",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.0 */
4
- import{a as et}from"./3TNKNDPV.js";import{a as fe}from"./TJDVSNHI.js";import{c as at,d as it,f as ot}from"./FUIW32FS.js";import{a as he,b as tt}from"./WNYS42WC.js";import{a as R,b as M,c as $,d as me,e as G,f as Q,g as z,h as K,i as nt,j as st,p as rt}from"./2KO66RWN.js";import{a as V,c as He}from"./G74TAGRG.js";import{J as H,K as x,T as Ke,V as de,W as Ye,X as Je,Y as We,Z as Ze,_ as Xe}from"./EHHPJOXQ.js";import{a as A}from"./LAR2OLLL.js";import{o as le}from"./Q7KJVH7M.js";import{d as Fe,m as ue,o as ke}from"./PMFO4R4Q.js";import{d as Ve}from"./FL4CJYY3.js";import{a as Be,c as ce}from"./AX3PP6N4.js";import{a as Qe,b as ze}from"./OELTFMHK.js";import{a as ae,c as k,d as ie,e as oe}from"./QU42GR3U.js";import{i as ne}from"./LZNQG5VA.js";import{a as N}from"./KYTSPWRL.js";import{e as B,f as Ge,g as qe,h as se,n as F,o as Le}from"./UPGAZR5O.js";import{a as Ne}from"./W6JVZ5EY.js";import{a as xe}from"./JRXXB632.js";import{a as j}from"./P2SLD4RE.js";import{n as $e}from"./IFXO576V.js";import{a as ee}from"./V3WVL7WS.js";import{b as re}from"./EWKQIUWH.js";import{b as _e}from"./OE6PFFPN.js";import{h as Ce}from"./6Q6IUBV7.js";import{a as Me}from"./ZMMAEBVZ.js";import{n as te}from"./5HALXJBI.js";import{a as Ue}from"./3FMKRHUW.js";import{a as L,k as y}from"./BIIGU5WC.js";import{a as E}from"./HXFWIAC7.js";function It(e){return re(e,"user")}function jt(e){return re(e,"communityUser")}var q;(function(e){e.CSV="csv",e.JSON="json"})(q||(q={}));var pe=class extends ze{constructor(t,n,s,a){super(t,n,s),this.error=a}};function ht(e){let{token:t,authentication:n}=e,s=()=>Promise.resolve(t);return n&&(s=n.getToken.bind(n,n.portal)),s()}function ft(e,t,n,s){var a;let r=e,i=new Headers(t.headers);i.append("Content-Type","application/json"),s&&i.append("Authorization",`Bearer ${s}`);let o={headers:i,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},u=Qe({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${n}`});if(t.data)if(t.httpMethod==="GET"){let O=new URLSearchParams(t.data).toString();r+=`?${O}`}else o.body=JSON.stringify(t.data);let d=["/posts","/posts/search"].includes(e)&&(((a=t.data)===null||a===void 0?void 0:a.f)===q.CSV||i.get("Accept")==="text/csv"),m=[u.replace(/\/$/,""),r.replace(/^\//,"")].join("/");return fetch(m,o).then(O=>{if(O.ok)return d?O.text():O.json();{let{statusText:p,status:h}=O;return O.json().then(D=>{throw new pe(p,m,h,JSON.stringify(D.message))})}})}function b(e,t){return ht(t).then(n=>ft(e,t,"v1",n))}function v(e,t){return ht(t).then(n=>ft(e,t,"v2",n))}function Rt(e,t){return`${ee(t)}/home/group.html?id=${e}`}function Pt(e,t){let n;return t.authentication&&(n=t.authentication.token),{self:Rt(e.id,t),siteRelative:`/groups/${e.id}`,siteRelativeEntityType:$e("Group"),workspaceRelative:Ve("Group",e.id),thumbnail:qe(t.portal,e,n)}}function Ct(e,t){let{api:n,requestOptions:{isPortal:s}}=t;return s?!1:e==="discussionPost"?!0:e==="item"&&n==="hub"}function _t(e,t){let{requestOptions:{isPortal:n}}=t;return(e==="channel"||e==="post")&&!n}function Ut(e,t){let{requestOptions:{isPortal:n}}=t;return["event","eventAttendee"].includes(e)&&!n}function Nt(e,t){let n="portal";return(_t(e,t)||Ut(e,t)||Ct(e,t))&&(n="hub"),n}function xt(e,t){return et(e,{},t)}var Mt=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichUserOrg");if(t.user.orgId){let r=Object.assign(Object.assign({},s),{portal:`${Ne(s.portal)}/sharing/rest`});return k(t.user.orgId,r).then(i=>(n.finish(a),{data:Object.assign(Object.assign({},t),{org:i}),stack:n,requestOptions:s})).catch(i=>$t(i,e,a))}else return n.finish(a),Promise.resolve({data:Object.assign(Object.assign({},t),{org:null}),stack:n,requestOptions:s})},$t=(e,t,n)=>{let{data:s,stack:a,requestOptions:r}=t;return a.finish(n,{error:e}),{data:Object.assign(Object.assign({},s),{errors:oe(e,s.errors)}),stack:a,requestOptions:r}},Gt={org:Mt};function qt(e,t,n){let s=t.reduce((r,i)=>{let o=Gt[i];return o&&r.push(o),r},[]);return ie(s)({data:{user:e},stack:new ae,requestOptions:n}).then(r=>r.data)}async function Lt(e,t,n){var s,a,r;t.settings=n.userHubSettings;let o=await N(Bt,{})(n),d=await N(xe,{})(n.requestOptions);return t.hubOrgSettings={showInformationalBanner:!!(!((r=(a=(s=d.portalProperties)===null||s===void 0?void 0:s.hub)===null||a===void 0?void 0:a.settings)===null||r===void 0)&&r.informationalBanner),enableTermsAndConditions:!!o.termsAndConditions,termsAndConditions:o.termsAndConditions,enableSignupText:!!o.signupText,signupText:o.signupText},t}function Bt(e){let t=`${_e(e.requestOptions)}/portals/self/signinSettings`,n=Object.assign(Object.assign({},e.requestOptions),{httpMethod:"GET"});return Ce(t,n)}function ge(e,t){return`${ee(t)}/home/user.html?user=${e}`}var mt=e=>{let t=Object.prototype.hasOwnProperty.call(e,"description")?e.description:void 0;return{access:e.access,id:e.username,name:e.fullName,description:t,summary:t,createdDate:new Date(e.created),createdDateSource:"user.created",orgId:e.orgId,owner:e.username,updatedDate:new Date(e.modified),updatedDateSource:"user.modified",tags:e.tags,thumbnail:e.thumbnail,type:"User",typeKeywords:[],links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:null}}};async function pt(e,t,n){var s;let a=mt(e),r=Object.assign(Object.assign({},a),{family:"people",rawResult:e});e.memberType&&(r.memberType=e.memberType,r.isGroupOwner=e.isGroupOwner);let i=t.filter(y).map(le),o=te("enrichment",i).filter(y),u={};o.length&&(u=await qt(e,o,n)),i.forEach(m=>{r[m.prop]=E(u,m.path)});let d=(s=n.authentication)===null||s===void 0?void 0:s.token;return e.thumbnail&&(r.links.thumbnail=se(n.portal,e,d)),r.links.self=ge(r.id,n),r.links.siteRelative=n.isPortal?ge(r.id,n):`/people/${r.id}`,r}var ss=async(e,t)=>{let n=e==="self"?t.currentUser:await j(Object.assign(Object.assign({},t.hubRequestOptions),{username:e})),s=mt(n);return s=await Lt(n,s,t),s};async function Ft(e,t){let n;if(e.filters.forEach(r=>{r.predicates.forEach(i=>{let o=E(i,"group");Array.isArray(o)?n=o[0]:typeof o=="string"?n=o:typeof o=="object"&&(n=E(o,"any[0]")||E(o,"all[0]"))})}),!n)throw new A("portalSearchGroupMembers","Group Id required. Please pass as a predicate in the query.");e.filters=e.filters.map(r=>{let i=["name","memberType","joined"];return r.predicates=r.predicates.map(o=>(o.term&&(o.name=o.term,delete o.term),o)).map(o=>xt(o,i)).filter(o=>Object.entries(o).length>0).map(B),r});let s=H(e);return["num","sortField","sortOrder","include","start"].forEach(r=>{Object.prototype.hasOwnProperty.call(t,r)&&(s[r]=t[r])}),s.groupId=n,s.requestOptions=t.requestOptions,gt(s)}async function gt(e){let t=Object.assign(Object.assign({},e),e.requestOptions),n=await ce(e.groupId,t),s=r=>kt(Object.assign(Object.assign({},r),{isGroupOwner:n.owner.username===r.username}),e.include,e.requestOptions),a=await Promise.all(n.users.map(s));return{total:n.total,results:a,hasNext:n.nextStart>-1,next:x(e,n.nextStart,n.total,gt)}}async function kt(e,t=[],n){let s={username:e.username,memberType:e.memberType||"member",access:"private",fullName:null,firstName:null,lastName:null,description:null,orgId:null,groups:[],tags:[],thumbnail:null,created:null,modified:null,isGroupOwner:e.isGroupOwner},r=await N(j,s)({username:e.username,authentication:n.authentication,portal:n.portal});return Object.keys(s).forEach(i=>{Object.prototype.hasOwnProperty.call(r,i)&&r[i]!==""&&Me(i,r[i],s)}),pt(s,["org.name as OrgName",...t],n)}var Vt=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichGroupContentCount"),r=Object.assign({groupId:t.group.id,num:1},s);return tt(r).then(i=>(n.finish(a),{data:Object.assign(Object.assign({},t),{contentCount:i.total}),stack:n,requestOptions:s})).catch(i=>Ae(i,e,a))},Ht=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichGroupMembershipSummary"),r=Object.assign({num:3},s);return ce(t.group.id,r).then(i=>(n.finish(a),{data:Object.assign(Object.assign({},t),{membershipSummary:{total:i.total,users:i.users}}),stack:n,requestOptions:s})).catch(i=>Ae(i,e,a))},Qt=e=>{let{data:t,stack:n,requestOptions:s}=e,a=n.start("enrichGroupUserMembership");return Be(t.group.id,s).then(r=>(n.finish(a),{data:Object.assign(Object.assign({},t),{membershipAccess:r.membershipAccess,userMembership:E(r,"userMembership.memberType")}),stack:n,requestOptions:s})).catch(r=>Ae(r,e,a))},Ae=(e,t,n)=>{let{data:s,stack:a,requestOptions:r}=t;return a.finish(n,{error:e}),{data:Object.assign(Object.assign({},s),{errors:oe(e,s.errors)}),stack:a,requestOptions:r}},zt={membershipSummary:Ht,contentCount:Vt,userMembership:Qt};function Kt(e,t,n){let s=t.reduce((r,i)=>{let o=zt[i];return o&&r.push(o),r},[]);return ie(s)({data:{group:e},stack:new ae,requestOptions:n}).then(r=>r.data)}async function Yt(e,t,n){let s={access:e.access,id:e.id,type:"Group",name:e.title,owner:e.owner,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"group.created",updatedDate:new Date(e.modified),updatedDateSource:"group.modified",family:"team",links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},rawResult:e};s.isSharedUpdate=(e.capabilities||[]).includes("updateitemcontrol"),s.membershipAccess=e.membershipAccess,s.isOpenData=!!e.isOpenData,t=[...[],...t].filter(y);let r=t.map(le),i=te("enrichment",r).filter(y),o={};return i.length&&(o=await Kt(e,i,n)),r.forEach(u=>{s[u.prop]=E(o,u.path)}),s.links=Pt(e,n),s}async function Jt(e,t){if(!t.requestOptions)throw new A("portalSearchGroups","options.requestOptions is required.");e.filters=e.filters.map(a=>(a.predicates=a.predicates.map(B),a));let n=H(e);return["num","sortField","sortOrder","include","start","httpMethod","requestOptions"].forEach(a=>{Object.prototype.hasOwnProperty.call(t,a)&&(n[a]=t[a])}),t.requestOptions.authentication?n.authentication=t.requestOptions.authentication:n.portal=t.requestOptions.portal,Ot(n)}async function Ot(e){let t=await he(e),n=a=>Wt(a,e.include,e.requestOptions),s=await Promise.all(t.results.map(n));return{total:t.total,results:s,hasNext:t.nextStart>-1,next:x(e,t.nextStart,t.total,Ot),executedQuerySize:F(e.q)}}async function Wt(e,t=[],n){return Yt(e,t,n)}function Ee(e,t,n){if(!t.requestOptions)throw new A(n,"requestOptions: IHubRequestOptions is required.");if(!t.requestOptions.authentication)throw new A(n,"requestOptions must pass authentication.");let s=L(e);s.filters=s.filters.map(i=>(i.predicates=i.predicates.map(B),i));let a=H(s);return["num","sortField","sortOrder","include","start","requestOptions"].forEach(i=>{Object.prototype.hasOwnProperty.call(t,i)&&(a[i]=t[i])}),a.authentication=t.requestOptions.authentication,a}function Zt(e,t){let n=Ee(e,t,"searchPortalUsersLegacy");return Te(Object.assign(Object.assign({},n),{include:["org.name as OrgName",...n.include||[]]}))}function Xt(e,t){let n=Ee(e,t,"searchPortalUsers");return Te(n)}function en(e,t){let n=Ee(e,t,"searchCommunityUsers");return vt(n)}function bt(e,t){let n=s=>tn(s,e.include,e.requestOptions);return Promise.all(t.results.map(n))}async function Te(e){let t=await It(e),n=await bt(e,t);return{total:t.total,results:n,hasNext:t.nextStart>-1,next:x(e,t.nextStart,t.total,Te),executedQuerySize:F(e.q)}}async function vt(e){let t=await jt(e),n=await bt(e,t);return{total:t.total,results:n,hasNext:t.nextStart>-1,next:x(e,t.nextStart,t.total,vt),executedQuerySize:F(e.q)}}function tn(e,t=[],n){return pt(e,t,n)}function nn(e){let t=e.aggregations.aggregations.map(n=>({mode:"terms",field:n.field,values:n.aggregations.map(s=>({value:s.label,count:s.value}))}));return{total:0,results:[],hasNext:!1,next:()=>null,aggregations:t}}function sn(e,t){let n=`terms(fields=(${t.aggFields.join()}))`,s=Ye(e),a=We(e),r=Je(e),i=E(t,"requestOptions.authentication.token");return{aggregations:n,bbox:a,filter:s,q:r,token:i}}async function rn(e,t){let n=`${de(e,t)}/aggregations`,s=sn(e,t),a=await Ze(n,s,t);return nn(a)}async function ct(e,t){var n;let s=Le(e);if(!((n=t.aggFields)===null||n===void 0)&&n.length)return rn(s,t);let a=`${de(s,t)}/items`;return Xe(a,s,t)}var Oe;(function(e){e.HAS_USER_POSTS="has_user_posts"})(Oe||(Oe={}));var be=e=>e.reduce((t,n)=>typeof n=="object"&&n!==null&&"not"in n?Object.assign(Object.assign({},t),{notIds:[...t.notIds,...Array.isArray(n.not)?n.not:[n.not]]}):typeof n=="string"?Object.assign(Object.assign({},t),{ids:[...t.ids,n]}):t,{ids:[],notIds:[]});function we(e){return e.reduce((t,n)=>n.predicates.reduce((s,a)=>Object.keys(a).reduce((r,i)=>{let u=(Array.isArray(a[i])?a[i]:[a[i]]).reduce((d,m)=>d.includes(m)?d:[...d,m],r[i]||[]);return Object.assign(Object.assign({},r),{[i]:u})},s),t),{})}function an(e){var t,n,s,a,r,i,o,u,d,m,O;let p={},h=we(e);if(!((t=h.term)===null||t===void 0)&&t.length&&(p.name=h.term[0]),!((n=h.group)===null||n===void 0)&&n.length&&(p.groups=h.group),!((s=h.access)===null||s===void 0)&&s.length&&(p.access=h.access),!((a=h.orgId)===null||a===void 0)&&a.length&&(p.orgIds=h.orgId),!((r=h.discussion)===null||r===void 0)&&r.length&&(p.discussion=h.discussion[0]),((i=h.hasUserPosts)===null||i===void 0?void 0:i[0])===!0&&(p.filterBy=Oe.HAS_USER_POSTS),!((o=h.role)===null||o===void 0)&&o.length&&(p.roles=h.role),!((u=h.owner)===null||u===void 0)&&u.length&&(p.creator=h.owner[0]),!((d=h.id)===null||d===void 0)&&d.length){let{ids:D,notIds:l}=be(h.id);D.length&&(p.ids=D),l.length&&(p.notIds=l.filter(y))}return!((m=h.createdDateRange)===null||m===void 0)&&m.length&&(p.createdBefore=new Date(h.createdDateRange[0].to),p.createdAfter=new Date(h.createdDateRange[0].from)),!((O=h.updatedDateRange)===null||O===void 0)&&O.length&&(p.updatedBefore=new Date(h.updatedDateRange[0].to),p.updatedAfter=new Date(h.updatedDateRange[0].from)),p}var ve;(function(e){e.CHANNEL_ACL="channelAcl"})(ve||(ve={}));var I;(function(e){e.ACCESS="access",e.CREATED_AT="createdAt",e.CREATOR="creator",e.EDITOR="editor",e.ID="id",e.LAST_ACTIVITY="last_activity",e.UPDATED_AT="updatedAt"})(I||(I={}));var C;(function(e){e.ASC="ASC",e.DESC="DESC"})(C||(C={}));var ut={access:I.ACCESS,created:I.CREATED_AT,modified:I.UPDATED_AT,owner:I.CREATOR,lastActivity:I.LAST_ACTIVITY},lt={desc:C.DESC,asc:C.ASC};function on(e){let t={relations:[ve.CHANNEL_ACL]};return e.num&&(t.num=e.num),e.start&&(t.start=e.start),e.sortField&&ut[e.sortField]&&(t.sortBy=ut[e.sortField]),e.sortOrder&&lt[e.sortOrder]&&(t.sortOrder=lt[e.sortOrder]),t}async function cn(e,t){var n;let s=[];if(!((n=t.include)===null||n===void 0)&&n.includes("groups")){let a=e.reduce((i,o)=>ue(o).reduce((u,d)=>u.includes(d)?u:[...u,d],i),[]);s=(await fe(He(a,100),i=>he(Object.assign({q:i.map(o=>`id:${o}`).join(" OR "),num:i.length},t.requestOptions)),5)).reduce((i,o)=>[...i,...o.results],[])}return e.map(a=>{var r;return ke(a,!((r=t.include)===null||r===void 0)&&r.includes("groups")?ue(a).map(i=>s.find(({id:o})=>o===i)||null):[])})}function rs(e){return e.httpMethod="GET",b("/channels",e)}function un(e){return e.httpMethod="GET",v("/channels",e)}function as(e){return e.httpMethod="POST",b("/channels",e)}function is(e){return e.httpMethod="GET",b(`/channels/${e.channelId}`,e)}function os(e){return e.httpMethod="PATCH",b(`/channels/${e.channelId}`,e)}function cs(e){return e.httpMethod="DELETE",b(`/channels/${e.channelId}`,e)}function us(e){return e.httpMethod="GET",b(`/channels/${e.channelId}/notifications/opt-out`,e)}function ls(e){return e.httpMethod="POST",b(`/channels/${e.channelId}/notifications/opt-out`,e)}function ds(e){return e.httpMethod="DELETE",b(`/channels/${e.channelId}/notifications/opt-out`,e)}function hs(e){return e.httpMethod="DELETE",b(`/channels/${e.channelId}/activity`,e)}function fs(e){return e.httpMethod="POST",v("/channels",e)}function ms(e){return e.httpMethod="GET",v(`/channels/${e.channelId}`,e)}function ps(e){return e.httpMethod="PATCH",v(`/channels/${e.channelId}`,e)}function gs(e){return e.httpMethod="DELETE",v(`/channels/${e.channelId}`,e)}function Os(e){return e.httpMethod="GET",v(`/channels/${e.channelId}/notifications/opt-out`,e)}function bs(e){return e.httpMethod="POST",v(`/channels/${e.channelId}/notifications/opt-out`,e)}function vs(e){return e.httpMethod="DELETE",v(`/channels/${e.channelId}/notifications/opt-out`,e)}function Ss(e){return e.httpMethod="DELETE",v(`/channels/${e.channelId}/activity`,e)}var St=async(e,t)=>{if(!t.requestOptions)throw new A("hubSearchChannels","options.requestOptions is required");let n=an(e.filters),s=on(t),{total:a,nextStart:r,items:i}=await un(Object.assign({data:Object.assign(Object.assign({},n),s)},t.requestOptions)),o=await cn(i,t);return{total:a,results:o,hasNext:r>-1,next:()=>St(e,Object.assign(Object.assign({},t),{start:r}))}};async function ln(e,t){var n;let s;return!((n=t.include)===null||n===void 0)&&n.includes("ownerUser")&&(s=await j(Object.assign({username:e.creator.username},t.requestOptions))),{access:e.access.toLowerCase(),id:e.id,location:it(e),type:"Event",name:e.title,owner:e.creator.username,ownerUser:s,summary:e.summary||e.description,createdDate:new Date(e.createdAt),createdDateSource:"event.createdAt",updatedDate:new Date(e.updatedAt),updatedDateSource:"event.updatedAt",family:"event",links:at(e),tags:e.tags,categories:e.categories,rawResult:e}}function dn(e){let t={};return e.num>0&&(t.num=e.num),e.start>1&&(t.start=e.start),e.sortField==="modified"?t.sortBy=$.updatedAt:e.sortField==="created"?t.sortBy=$.createdAt:e.sortField==="title"?t.sortBy=$.title:e.sortField==="startDate"&&(t.sortBy=$.startDateTime),t.sortOrder=e.sortOrder==="desc"?M.desc:M.asc,t}function Dt(e,t){return t[e]||t[e.toUpperCase()]||t[e.toLowerCase()]||e}function P(e,t){return e.map(n=>Dt(n,t))}function hn(e){var t,n,s,a,r,i,o,u,d,m,O,p,h,D,l,g,_,J,W,Z,X;let c=we(e),f={};if(!((t=c.access)===null||t===void 0)&&t.length&&(f.access=P(c.access,st)),!((n=c.canEdit)===null||n===void 0)&&n.length&&(f.canEdit=c.canEdit[0]),!((s=c.entityId)===null||s===void 0)&&s.length&&(f.entityIds=c.entityId),!((a=c.entityType)===null||a===void 0)&&a.length&&(f.entityTypes=P(c.entityType,nt)),!((r=c.id)===null||r===void 0)&&r.length){let{ids:w,notIds:U}=be(c.id);w.length&&(f.eventIds=w.filter(y)),U.length&&(f.notEventIds=U.filter(y))}if(!((i=c.term)===null||i===void 0)&&i.length&&(f.title=c.term[0]),!((o=c.orgId)===null||o===void 0)&&o.length&&(f.orgId=c.orgId[0]),!((u=c.categories)===null||u===void 0)&&u.length&&(f.categories=c.categories),!((d=c.tags)===null||d===void 0)&&d.length&&(f.tags=c.tags),!((m=c.group)===null||m===void 0)&&m.length){let{ids:w,notIds:U}=be(c.group);if(w.length&&(f.sharedToGroups=w),U.length){let Pe=U.filter(y);f.withoutEditGroups=Pe,f.withoutReadGroups=Pe}}return!((O=c.attendanceType)===null||O===void 0)&&O.length&&(f.attendanceTypes=P(c.attendanceType,K)),!((p=c.owner)===null||p===void 0)&&p.length&&(f.createdByIds=c.owner),f.status=!((h=c.status)===null||h===void 0)&&h.length?P(c.status,z):[z.PLANNED,z.CANCELED],!((D=c.startDateRange)===null||D===void 0)&&D.length?(c.startDateRange[0].to&&(f.startDateTimeBefore=new Date(c.startDateRange[0].to).toISOString()),c.startDateRange[0].from&&(f.startDateTimeAfter=new Date(c.startDateRange[0].from).toISOString())):(!((l=c.startDateBefore)===null||l===void 0)&&l.length&&(f.startDateTimeBefore=new Date(c.startDateBefore[0]).toISOString()),!((g=c.startDateAfter)===null||g===void 0)&&g.length&&(f.startDateTimeAfter=new Date(c.startDateAfter[0]).toISOString())),!((_=c.endDateRange)===null||_===void 0)&&_.length?(c.endDateRange[0].to&&(f.endDateTimeBefore=new Date(c.endDateRange[0].to).toISOString()),c.endDateRange[0].from&&(f.endDateTimeAfter=new Date(c.endDateRange[0].from).toISOString())):(!((J=c.endDateBefore)===null||J===void 0)&&J.length&&(f.endDateTimeBefore=new Date(c.endDateBefore[0]).toISOString()),!((W=c.endDateAfter)===null||W===void 0)&&W.length&&(f.endDateTimeAfter=new Date(c.endDateAfter[0]).toISOString())),!((Z=c.occurrence)===null||Z===void 0)&&Z.length&&c.occurrence.forEach(w=>{switch(w){case"upcoming":f.startDateTimeAfter=new Date().toISOString();break;case"past":f.endDateTimeBefore=new Date().toISOString();break;case"inProgress":f.startDateTimeBefore=new Date().toISOString(),f.endDateTimeAfter=new Date().toISOString();break}}),!((X=c.modified)===null||X===void 0)&&X.length&&c.modified[0].to&&c.modified[0].from&&(f.updatedAtBefore=new Date(c.modified[0].to).toISOString(),f.updatedAtAfter=new Date(c.modified[0].from).toISOString()),f}async function yt(e,t){let n=hn(e.filters),s=dn(t),a=Object.assign(Object.assign(Object.assign({},n),s),{include:[me.creator,me.location]}),{items:r,nextStart:i,total:o}=await rt(Object.assign(Object.assign({},t.requestOptions),{data:a})),u=await Promise.all(r.map(m=>ln(m,t))),d=i>-1;return{total:o,results:u,hasNext:d,next:()=>{if(!d)throw new Error("No more hub events for the given query and options");return yt(e,Object.assign(Object.assign({},t),{start:i}))}}}async function fn(e,t){var n;let[s,a]=await Promise.all([j(Object.assign({username:e.userId},t.requestOptions)),j(Object.assign({username:e.createdById},t.requestOptions))]);return{id:e.id.toString(),access:s.access,name:s.fullName,createdDate:new Date(e.createdAt),createdDateSource:"attendee.createdAt",updatedDate:new Date(e.updatedAt),updatedDateSource:"attendee.updatedAt",type:"Event Attendee",family:"eventAttendee",owner:a.username,rawResult:e,links:{self:ge(s.username,t.requestOptions),siteRelative:`/people/${s.username}`,thumbnail:s.thumbnail?se(t.requestOptions.portal,s,(n=t.requestOptions.authentication)===null||n===void 0?void 0:n.token):null}}}function mn(e){let t={};return e.num>0&&(t.num=e.num.toString()),e.start>1&&(t.start=e.start.toString()),e.sortField==="modified"?t.sortBy=R.updatedAt:e.sortField==="created"?t.sortBy=R.createdAt:e.sortField==="username"?t.sortBy=R.username:e.sortField==="firstName"?t.sortBy=R.firstName:e.sortField==="lastName"&&(t.sortBy=R.lastName),t.sortOrder=e.sortOrder==="desc"?M.desc:M.asc,t}var Se=(e,t)=>{let n=(s,a)=>a.predicates.reduce((r,i)=>Object.entries(i).reduce((o,[u,d])=>u===t?[...o,...Array.isArray(d)?d:[d]]:o,r),s);return e.reduce(n,[])},Y=(e,t)=>{let s=Se(e,t).filter(y).join(",");if(s)return s};function pn(e){let t={eventId:e.properties.eventId},n=(i,o)=>i?.length?i:o.map(u=>u.toLowerCase()).join(","),s=Y(e.filters,"userId");s?.length&&(t.userId=s);let a=Se(e.filters,"term");a.length&&(t.name=a[0]),t.type=n(Y(e.filters,"attendanceType"),[K.VIRTUAL,K.IN_PERSON]),t.role=n(Y(e.filters,"role"),[Q.OWNER,Q.ORGANIZER,Q.ATTENDEE]),t.status=n(Y(e.filters,"status"),[G.PENDING,G.ACCEPTED,G.DECLINED,G.BLOCKED]);let r=Se(e.filters,"updatedDateRange");return r.length&&(t.updatedAtBefore=new Date(r[0].to).toISOString(),t.updatedAtAfter=new Date(r[0].from).toISOString()),t}async function At(e,t){let n=pn(e),s=mn(t),a=Object.assign(Object.assign({},n),s),{items:r,nextStart:i,total:o}=await ot(Object.assign(Object.assign({},t.requestOptions),{data:a})),u=await Promise.all(r.map(m=>fn(m,t))),d=i>-1;return{total:o,results:u,hasNext:d,next:()=>{if(!d)throw new Error("No more hub events for the given query and options");return At(e,Object.assign(Object.assign({},t),{start:i}))}}}function gn(e,t,n=["any","all"]){return Ge(t).filters.reduce((a,r)=>[...a,...r.predicates],[]).reduce((a,r)=>(n.forEach(i=>{a=[...a,...Ue(r,`${e}.${i}`,[])]}),a),[]).filter(y)}async function Ds(e,t){let n=await k(e,t),a=t.authentication.token;return Et(n,a)}function On(e){let t=Et(e);return{id:t.id,title:t.name,name:t.name,url:t.url,type:"Organization",family:"organization",source:"portal",createdDate:t.createdDate,createdDateSource:t.createdDateSource,updatedDate:t.updatedDate,updatedDateSource:t.updatedDateSource,thumbnailUrl:t.thumbnailUrl,thumbnail:t.thumbnail,description:t.description,access:t.access,tags:t.tags,typeKeywords:t.typeKeywords,links:t.links}}function Et(e,t){let n=`https://${e.portalHostname}`;return e.urlKey&&(n=`https://${e.urlKey}.${e.customBaseUrl}`),{id:e.id,orgId:e.id,access:e.access,name:e.name,summary:e.description,description:e.description,type:"Organization",source:"portal",createdDate:new Date(e.created),createdDateSource:"portal",updatedDate:new Date(e.modified),updatedDateSource:"portal",portal:e,thumbnail:e.thumbnail,thumbnailUrl:ne(e,t),url:n,links:{self:n,thumbnail:ne(e,t)},typeKeywords:[],tags:[]}}async function bn(e,t){let n=gn("id",e,["any"]);if(!n.length)throw new Error("Organization query must contain an id predicate.");let s=N(k,null),r=(await fe(n,async i=>s(i,t.requestOptions),8)).filter(i=>i!==null);return{total:r.length,hasNext:!1,next:null,results:r.map(i=>On(i))}}function vn(e){return{access:null,createdDate:new Date(e.createdAt),createdDateSource:"post.createdAt",family:"post",id:e.id,location:{type:"none"},name:e.title,owner:e.creator,rawResult:e,source:"",summary:e.body,type:"Post",updatedDate:new Date(e.updatedAt),updatedDateSource:"post.updatedAt"}}var De;(function(e){e.PENDING="pending",e.APPROVED="approved",e.REJECTED="rejected",e.DELETED="deleted",e.HIDDEN="hidden",e.BLOCKED="blocked"})(De||(De={}));var ye;(function(e){e.Text="text",e.Announcement="announcement",e.Poll="poll",e.Question="question"})(ye||(ye={}));function Sn(e){let[t,n,s,a]=e.split(",").map(d=>parseFloat(d.trim())),r=Math.min(t,s),i=Math.min(n,a),o=Math.max(t,s),u=Math.max(n,a);return{type:"Polygon",coordinates:[[[r,i],[o,i],[o,u],[r,u],[r,i]]]}}function Dn(e){var t,n,s,a,r,i,o,u,d,m,O,p,h,D;let l=we(e),g={};if(!((t=l.access)===null||t===void 0)&&t.length&&(g.access=P(l.access,Fe)),!((n=l.bbox)===null||n===void 0)&&n.length){let _=Sn(l.bbox[0]);g.geometry=_}return!((s=l.term)===null||s===void 0)&&s.length?g.term=l.term[0]:(!((a=l.title)===null||a===void 0)&&a.length&&(g.title=l.title[0]),!((r=l.body)===null||r===void 0)&&r.length&&(g.body=l.body[0])),!((i=l.channel)===null||i===void 0)&&i.length&&(g.channels=l.channel),!((o=l.owner)===null||o===void 0)&&o.length&&(g.creator=l.owner[0]),!((u=l.discussion)===null||u===void 0)&&u.length&&(g.discussion=l.discussion[0]),!((d=l.editor)===null||d===void 0)&&d.length&&(g.editor=l.editor[0]),!((m=l.status)===null||m===void 0)&&m.length&&(g.status=P(l.status,De)),Array.isArray(l.parentId)&&(g.parents=l.parentId),!((O=l.groups)===null||O===void 0)&&O.length&&(g.groups=l.groups),!((p=l.postType)===null||p===void 0)&&p.length&&(g.postType=Dt(l.postType[0],ye)),!((h=l.created)===null||h===void 0)&&h.length&&(g.createdBefore=new Date(l.created[0].to),g.createdAfter=new Date(l.created[0].from)),!((D=l.modified)===null||D===void 0)&&D.length&&(g.updatedBefore=new Date(l.modified[0].to),g.updatedAfter=new Date(l.modified[0].from)),g}var S;(function(e){e.BODY="body",e.CHANNEL_ID="channelId",e.CREATED_AT="createdAt",e.CREATOR="creator",e.DISCUSSION="discussion",e.EDITOR="editor",e.ID="id",e.PARENT_ID="parentId",e.STATUS="status",e.TITLE="title",e.UPDATED_AT="updatedAt"})(S||(S={}));var yn={body:S.BODY,channelId:S.CHANNEL_ID,created:S.CREATED_AT,modified:S.UPDATED_AT,owner:S.CREATOR,discussion:S.DISCUSSION,editor:S.EDITOR,id:S.ID,parentId:S.PARENT_ID,status:S.STATUS,title:S.TITLE},dt={desc:C.DESC,asc:C.ASC};function An(e){let t={};e.num>0&&(t.num=e.num),e.start>1&&(t.start=e.start),e.sortOrder&&dt[e.sortOrder]&&(t.sortOrder=dt[e.sortOrder]);let n=yn[e.sortField];return n&&(t.sortBy=n),t}var T;(function(e){e.REPLIES="replies",e.REPLY_COUNT="replyCount",e.REACTIONS="reactions",e.PARENT="parent",e.CHANNEL="channel",e.CHANNEL_ACL="channelAcl"})(T||(T={}));var En={channel:T.CHANNEL,channelAcl:T.CHANNEL_ACL,parent:T.PARENT,reactions:T.REACTIONS,replies:T.REPLIES,replyCount:T.REPLY_COUNT};function Tn(e=[]){let t=[];for(let n of e){let s=En[n];s&&!t.includes(s)&&t.push(s)}return t}var Ie=e=>e.channel?Object.assign(Object.assign({},e),{channelId:e.channel.id}):e,Tt=e=>Object.assign(Object.assign({},e),{items:e.items.map(t=>Ie(t))});function ys(e){return b("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign({},e.data),httpMethod:"POST"})).then(Tt)}function As(e){return b("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign(Object.assign({},e.data),{f:q.CSV}),httpMethod:"POST"}))}function Es(e){return b("/posts",Object.assign({httpMethod:"POST"},je(e)))}function Ts(e){let t=`/posts/${e.postId}/reply`;return b(t,Object.assign({httpMethod:"POST"},je(e)))}function ws(e){let t=`/posts/${e.postId}`;return e.httpMethod="GET",b(t,e).then(Ie)}function Is(e){let t=`/posts/${e.postId}`;return e.httpMethod="DELETE",b(t,e)}function js(e){let t=`/posts/${e.postId}`;return b(t,Object.assign({httpMethod:"PATCH"},je(e)))}function Rs(e){let t=`/posts/${e.postId}/status`;return e.httpMethod="PATCH",b(t,e)}function je(e){let{mentionUrl:t}=e,n=V(e,["mentionUrl"]);return t&&(n.headers=Object.assign(Object.assign({},n.headers),{"mention-url":t})),n}function wn(e){return v("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign({},e.data),httpMethod:"POST"})).then(Tt)}function Ps(e){return v("/posts/search",Object.assign(Object.assign({},e),{data:Object.assign(Object.assign({},e.data),{f:q.CSV}),httpMethod:"POST"}))}function Cs(e){return v("/posts",Object.assign({httpMethod:"POST"},Re(e)))}function _s(e){let t=`/posts/${e.postId}/reply`;return v(t,Object.assign({httpMethod:"POST"},Re(e)))}function Us(e){let t=`/posts/${e.postId}`;return e.httpMethod="GET",v(t,e).then(Ie)}function Ns(e){let t=`/posts/${e.postId}`;return e.httpMethod="DELETE",v(t,e)}function xs(e){let t=`/posts/${e.postId}`;return v(t,Object.assign({httpMethod:"PATCH"},Re(e)))}function Ms(e){let t=`/posts/${e.postId}/status`;return e.httpMethod="PATCH",v(t,e)}function Re(e){let{mentionUrl:t}=e,n=V(e,["mentionUrl"]);return t&&(n.headers=Object.assign(Object.assign({},n.headers),{"mention-url":t})),n}async function wt(e,t){let n=Dn(e.filters),s=An(t),a=Tn(t.include),r=Object.assign(Object.assign(Object.assign({},n),s),{relations:a}),{items:i,nextStart:o,total:u}=await wn(Object.assign(Object.assign({},t.requestOptions),{token:t.requestOptions.hubApiKey,data:r})),d=await Promise.all(i.map(O=>vn(O))),m=o>-1;return{total:u,results:d,hasNext:m,next:()=>{if(!m)throw new Error("No more hub posts for the given query and options");return wt(e,Object.assign(Object.assign({},t),{start:o}))}}}async function $s(e,t){if(!e)throw new A("hubSearch","Query is required.");if(!Array.isArray(e.filters))throw new A("hubSearch","Query must have a filters array.");if(!e.filters.length)throw new A("hubSearch","Query must contain at least one Filter.");if(!t.requestOptions)throw new A("hubSearch","requestOptions: IHubRequestOptions is required.");t.include||(t.include=[]);let n=e.targetEntity,{requestOptions:s}=t,a=V(t,["requestOptions"]),r=L(a);r.requestOptions=s,r.api=Nt(n,r);let o=E({portal:{item:Ke,group:Jt,user:Zt,portalUser:Xt,communityUser:en,groupMember:Ft,organization:bn},hub:{item:ct,channel:St,discussionPost:ct,event:yt,eventAttendee:At,post:wt}},`${r.api}.${n}`);if(!o)throw new A("hubSearch",`Search via "${n}" filter against "${r.api}" api is not implemented. Please ensure "targetEntity" is defined on the query.`);return o(L(e),r)}export{q as a,b,v as c,Rt as d,Pt as e,xt as f,ge as g,mt as h,pt as i,ss as j,Yt as k,Oe as l,ve as m,I as n,C as o,rs as p,un as q,as as r,is as s,os as t,cs as u,us as v,ls as w,ds as x,hs as y,fs as z,ms as A,ps as B,gs as C,Os as D,bs as E,vs as F,Ss as G,gn as H,Ds as I,On as J,Et as K,De as L,ye as M,S as N,T as O,ys as P,As as Q,Es as R,Ts as S,ws as T,Is as U,js as V,Rs as W,wn as X,Ps as Y,Cs as Z,_s as _,Us as $,Ns as aa,xs as ba,Ms as ca,$s as da};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.0 */
4
- import h from"./MJPXSF3W.js";import g from"./XCWD7I4I.js";import f from"./2HSHPWIJ.js";import e from"./DSZMLZGT.js";import d from"./FW2CD3QD.js";import c from"./2AWHCF6R.js";import b from"./ZEDPULXZ.js";import a from"./F2RHBSL4.js";import"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import"./HXFWIAC7.js";import"./PV6LPOSO.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Ba:a,Ma:w,ca:v,h:I,ha:_},{$:o,Q:m,o:n},,,,{a:h,b:f,c:S},{b:d,d:c,f:y,h:g,j:p},{a:u,b:b}])=>{var l=class extends S{constructor(){super(...arguments),this._chartType=I.RadarSeries}async setup(i){await this.loadConfigFromLayer(i),this.commonStrings=await n(),i.config!==void 0&&this.updateSeriesFromLayerFilter(),await this.initDefaultSeries(),this.resolveSetup()}async generateDefaultConfig(){let i=await w();return i.series=[await a({objectIDField:this.layerInfo?.objectIdField})],i}async initDefaultSeries(){this.defaultSeries=await a({objectIDField:this.layerInfo?.objectIdField})}resetSeriesStyling(){let i=this.getSeriesLength();for(let e=0;e<i;e+=1){let r=_({colorIndex:e,opacity:v});if(f(r,e,this._config),y(r,e,this._config),this.layerInfo!==void 0){let t=this.getSeriesId(e),s=o({config:this._config,seriesIndex:e,layerInfo:this.layerInfo,commonStrings:this.commonStrings});s!==this.layerInfo.objectIdField&&h(s??t,e,this._config)}d(this.defaultSeries?.lineSymbol?.style,e,this._config),c(this.defaultSeries?.lineSymbol?.width,e,this._config),g(this.defaultSeries?.markerSymbol?.style,e,this._config),p(this.defaultSeries?.markerSymbol?.size,e,this._config)}this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")}resetAvailable(){let i=!this.getColorMatch(),e=!1;if(!i){let r=this.getSeriesLength();for(let t=0;t<r;t+=1){if(this.layerInfo!==void 0){let s=o({config:this._config,seriesIndex:t,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),k=this.getSeriesName(t);s!==void 0&&s!==this.layerInfo.objectIdField&&s!==k&&(e=!0)}if(this.defaultSeries?.lineSymbol?.style!==void 0&&this.defaultSeries?.lineSymbol.style!==this.getSeriesLineStyle(t)||this.defaultSeries?.lineSymbol?.width!==void 0&&this.defaultSeries?.lineSymbol.width!==this.getSeriesLineWidth(t)||this.defaultSeries?.markerSymbol?.style!==void 0&&this.defaultSeries?.markerSymbol?.style!==this.getSeriesMarkerStyle(t)||this.defaultSeries?.markerSymbol?.size!==void 0&&this.defaultSeries?.markerSymbol?.size!==this.getSeriesMarkerSize(t)){e=!0;break}}}return i||e}};m(l,[b,u]);return l},"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)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.0 */
4
- import{a as f}from"./4MJGM6LA.js";import d from"./E42PIMI5.js";import"./3XCJTU4L.js";import c from"./BOFP5IER.js";import"./URPCL22O.js";import"./4YIKCTEG.js";import{a as b,b as Q,c as X,d as x}from"./BHTSAAXP.js";import{a as F}from"./7URDPP56.js";import{a as H}from"./ITCEGBHK.js";import"./GJ3HZBIL.js";import"./OSDOT5PC.js";import"./WSOAAIEP.js";import"./SZJERPJ3.js";import"./6SQLNTI5.js";import"./NXZNWVK7.js";import a from"./I54DIYWB.js";import"./AODVXTIT.js";import"./WHZRSVJT.js";import"./646IF44F.js";import"./KDN3DAEV.js";import{N as K,O as A,X as Y,o as q}from"./LPEJOUBP.js";import"./3TNKNDPV.js";import"./TJDVSNHI.js";import"./FUIW32FS.js";import"./WNYS42WC.js";import"./2KO66RWN.js";import"./7YZRJHWC.js";import"./G74TAGRG.js";import"./EHHPJOXQ.js";import"./UPKLFCOK.js";import"./3RDDL56K.js";import"./LAR2OLLL.js";import"./Q7KJVH7M.js";import"./XZWT3IP6.js";import"./ZDIB7VMF.js";import"./PMFO4R4Q.js";import"./FL4CJYY3.js";import"./AX3PP6N4.js";import"./OELTFMHK.js";import"./XHPAXE3T.js";import"./QU42GR3U.js";import"./BP3UKQRX.js";import"./E6C7DZQD.js";import"./NXITYY7A.js";import"./P6HUUZUX.js";import"./N7BHXE2T.js";import"./7BM6QJPU.js";import"./J4CG4H6A.js";import"./LZNQG5VA.js";import"./KYTSPWRL.js";import"./UPGAZR5O.js";import"./JI36MJKL.js";import"./FHF6IN4D.js";import"./YTA7ABGS.js";import"./W6JVZ5EY.js";import"./JRXXB632.js";import"./P2SLD4RE.js";import{f as O,g as W}from"./IFXO576V.js";import"./V3WVL7WS.js";import"./DDTL2QOC.js";import"./JVPTJAHO.js";import"./EWKQIUWH.js";import"./ZOBPX2CG.js";import"./ILHMALRK.js";import"./4FRKOUFZ.js";import"./OE6PFFPN.js";import"./6Q6IUBV7.js";import{c as ie,j as se}from"./MOW2OUON.js";import"./OUXUCRLZ.js";import"./IX4M4WM2.js";import"./ZMMAEBVZ.js";import"./XJYZ7J4Y.js";import"./WR6LNBK4.js";import"./X3SU4SJN.js";import"./5HALXJBI.js";import"./3FMKRHUW.js";import"./3Y4JIRQX.js";import"./7YN756B6.js";import{a as M}from"./UBTOBJM4.js";import{a as P}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import{a as w}from"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as u,c as S,d as E,e as I,h as $,i as _}from"./ZNSSVZZQ.js";import{a as z}from"./UCWZ7JF2.js";import"./BIIGU5WC.js";import{a as T}from"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.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)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.0 */
4
- import{a as u}from"./VJ4YD7VD.js";import{a as g}from"./EUFMMA3H.js";import{h as p}from"./UPGAZR5O.js";import"./JI36MJKL.js";import"./FHF6IN4D.js";import"./YTA7ABGS.js";import"./IFXO576V.js";import"./V3WVL7WS.js";import"./DDTL2QOC.js";import"./OE6PFFPN.js";import"./6Q6IUBV7.js";import{c as b}from"./MOW2OUON.js";import"./OUXUCRLZ.js";import"./ZMMAEBVZ.js";import"./XJYZ7J4Y.js";import{f as h,g as m,h as d}from"./X3SU4SJN.js";import{o as a}from"./5HALXJBI.js";import"./3FMKRHUW.js";import"./3Y4JIRQX.js";import"./7YN756B6.js";import{a as c}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import{a as o}from"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as e,c as k,d as f,e as l,i as v}from"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import"./BIIGU5WC.js";import"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.js";var U=({context:r,label:i,scale:s,user:t,slot:w,onClick:y})=>{if(!r)return;let{currentUser:C,session:n}=r;return t=t||C,e("calcite-navigation-user",{fullName:t?.fullName,label:i,onClick:y,scale:s,slot:w,style:{height:"100%"},thumbnail:t?.thumbnail&&p(n?.portal,t,n?.token),userId:t?.id,username:t?.username})},H=':host{display:flex;cursor:pointer}[slot="trigger"]{background-color:transparent;border:transparent;display:flex;cursor:pointer;align-items:center}',P=H,x=class{constructor(r){v(this,r),this.arcgisHubUserProfileSignout=l(this,"arcgisHubUserProfileSignout",7),this.hubTelemetry=l(this,"hubTelemetry",7),this.arcgisHubUserProfileLinkClick=l(this,"arcgisHubUserProfileLinkClick",7),this.handleDropdownClick=()=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.interaction.action.open.label.menu.details.user})},this.handleLinkClick=i=>{let s=i.target.href;this.arcgisHubUserProfileLinkClick.emit({clickEvent:i,href:s})},this.handleViewProfileClick=i=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.navigation.action.view.label.users.details.profile}),this.handleLinkClick(i)},this.handleViewOverviewClick=i=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.navigation.action.view.label.orgs.details.overview}),this.handleLinkClick(i)},this.handleWorkspaceHomeClick=i=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.navigation.action.view.label.users.details.workspace}),this.handleLinkClick(i)},this.handleAGOClick=()=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.navigation.action.external.label.arcGisOnline.details.myContent});let i=this.agoContentUrl;window.open(i,"_blank")},this.handleSignOut=()=>{this.hubTelemetry.emit({telemetry:o.dictionary.category.interaction.action.authenticate.label.signout}),this.arcgisHubUserProfileSignout.emit()},this.variant="default"}get context(){return b()}async componentWillLoad(){this.intl=await c.loadIntlForComponent(this.element)}get profileUrl(){return h(this.context)}get overviewUrl(){return m(this.context)}get workspaceHomeUrl(){return d(this.context)}get agoContentUrl(){return g(this.context.portalUrl)}get useWorkspaceLink(){return a("hub:feature:workspace:user",this.context).access}renderUserProfileTrigger(){return this.variant==="minimal"?e("button",{"aria-label":this.intl.t("triggerAriaLabel"),onClick:this.handleDropdownClick,slot:"trigger"},e(u,{context:this.context})):e("div",{"aria-label":this.intl.t("triggerAriaLabel"),slot:"trigger"},e(U,{context:this.context,onClick:this.handleDropdownClick,slot:"user"}))}renderMenu(){return e("calcite-dropdown",null,this.renderUserProfileTrigger(),e("calcite-dropdown-group",{selectionMode:"none"},e("calcite-dropdown-item",{href:this.profileUrl,onClick:this.handleViewProfileClick},this.intl.t("viewProfile")),this.useWorkspaceLink?e("calcite-dropdown-item",{href:this.workspaceHomeUrl,onClick:this.handleWorkspaceHomeClick},this.intl.t("viewWorkspace")):e("calcite-dropdown-item",{href:this.overviewUrl,onClick:this.handleViewOverviewClick},this.intl.t("viewOverview")),e("slot",null),e("calcite-dropdown-item",{iconEnd:"launch",onClick:this.handleAGOClick},this.context.isPortal?this.intl.t("openEnterprise"):this.intl.t("openAGO")),e("calcite-dropdown-item",{onClick:this.handleSignOut},this.intl.t("signOut"))))}render(){var r;return e(k,{key:"708654f6079bfe3eee109feee2179498f3e08255","data-element":"user-profile"},((r=this.context)===null||r===void 0?void 0:r.isAuthenticated)&&this.renderMenu())}static get assetsDirs(){return["locales"]}get element(){return f(this)}};x.style=P;export{x as arcgis_hub_user_profile};