@esri/hub-web-components 0.31.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1357) hide show
  1. package/dist/cdn/223KS7TV.js +4 -0
  2. package/dist/cdn/24BFIAXI.js +4 -0
  3. package/dist/cdn/25JJEBF4.js +4 -0
  4. package/dist/cdn/2AWHCF6R.js +4 -0
  5. package/dist/cdn/2EEKOJDW.js +4 -0
  6. package/dist/cdn/2ESUU7RC.js +4 -0
  7. package/dist/cdn/2F7JTV34.js +4 -0
  8. package/dist/cdn/2GOC4XHD.js +4 -0
  9. package/dist/cdn/2HSHPWIJ.js +4 -0
  10. package/dist/cdn/2IS33AMO.js +4 -0
  11. package/dist/cdn/2KCUXKC3.js +4 -0
  12. package/dist/cdn/2KO66RWN.js +4 -0
  13. package/dist/cdn/2QB77NE5.js +4 -0
  14. package/dist/cdn/2RCUCWI2.js +4 -0
  15. package/dist/cdn/2S2MOBEO.js +4 -0
  16. package/dist/cdn/2SKDAO5S.js +4 -0
  17. package/dist/cdn/2TDUEUZX.js +4 -0
  18. package/dist/cdn/35HHQSKL.js +4 -0
  19. package/dist/cdn/35OOVE3L.js +4 -0
  20. package/dist/cdn/3BZRCQDQ.js +4 -0
  21. package/dist/cdn/3DWJDPKZ.js +4 -0
  22. package/dist/cdn/3FMKRHUW.js +4 -0
  23. package/dist/cdn/3FXJKANX.js +4 -0
  24. package/dist/cdn/3G7G4PK2.js +4 -0
  25. package/dist/cdn/3GA4TMHV.js +4 -0
  26. package/dist/cdn/3LYRDN4S.js +4 -0
  27. package/dist/cdn/3M5IQS5E.js +4 -0
  28. package/dist/cdn/3MWCBVCT.js +4 -0
  29. package/dist/cdn/3N624G4U.js +4 -0
  30. package/dist/cdn/3O2HWWBU.js +4 -0
  31. package/dist/cdn/3PGAQNC3.js +4 -0
  32. package/dist/cdn/3PH3BYBO.js +4 -0
  33. package/dist/cdn/3RBMQED2.js +4 -0
  34. package/dist/cdn/3RDDL56K.js +4 -0
  35. package/dist/cdn/3RUZIZCV.js +4 -0
  36. package/dist/cdn/3SBUSIMZ.js +4 -0
  37. package/dist/cdn/3TH4WMCB.js +4 -0
  38. package/dist/cdn/3TNKNDPV.js +4 -0
  39. package/dist/cdn/3UY6SIXL.js +4 -0
  40. package/dist/cdn/3WOFZ47Q.js +4 -0
  41. package/dist/cdn/3XCJTU4L.js +4 -0
  42. package/dist/cdn/3Y4JIRQX.js +4 -0
  43. package/dist/cdn/4AGMR33C.js +4 -0
  44. package/dist/cdn/4CNGOG5U.js +4 -0
  45. package/dist/cdn/4DMZKEPT.js +4 -0
  46. package/dist/cdn/4EODBNTO.js +4 -0
  47. package/dist/cdn/4FRKOUFZ.js +4 -0
  48. package/dist/cdn/4IGNBYNB.js +4 -0
  49. package/dist/cdn/4IOJI6AG.js +4 -0
  50. package/dist/cdn/4IVIYRHQ.js +4 -0
  51. package/dist/cdn/4LYRQA6J.js +4 -0
  52. package/dist/cdn/4M4KBA3U.js +4 -0
  53. package/dist/cdn/4MJGM6LA.js +4 -0
  54. package/dist/cdn/4OPVNZOC.js +4 -0
  55. package/dist/cdn/4QQFXQYG.js +6 -0
  56. package/dist/cdn/4V3KMDSB.js +4 -0
  57. package/dist/cdn/4V5DXTRF.js +4 -0
  58. package/dist/cdn/4WGVZAFT.js +4 -0
  59. package/dist/cdn/4WZQ7BZ5.js +4 -0
  60. package/dist/cdn/4YIKCTEG.js +4 -0
  61. package/dist/cdn/53TCF2GH.js +4 -0
  62. package/dist/cdn/56NX4JRB.js +4 -0
  63. package/dist/cdn/56YXMCS7.js +4 -0
  64. package/dist/cdn/5BER4SFF.js +16 -0
  65. package/dist/cdn/5C5QAXEE.js +4 -0
  66. package/dist/cdn/5EPEJSUV.js +4 -0
  67. package/dist/cdn/5H2E5UZC.js +4 -0
  68. package/dist/cdn/5HALXJBI.js +4 -0
  69. package/dist/cdn/5HGVN2BQ.js +4 -0
  70. package/dist/cdn/5LNSOSH3.js +4 -0
  71. package/dist/cdn/5PT22MRS.js +11 -0
  72. package/dist/cdn/5Q6GGUTY.js +4 -0
  73. package/dist/cdn/5SURZWMK.js +4 -0
  74. package/dist/cdn/5VOLKGNL.js +4 -0
  75. package/dist/cdn/5XM36GWL.js +4 -0
  76. package/dist/cdn/5Y2R5DT3.js +4 -0
  77. package/dist/cdn/5Z5XG2MR.js +4 -0
  78. package/dist/cdn/5ZPEXBAG.js +4 -0
  79. package/dist/cdn/622TPBFN.js +4 -0
  80. package/dist/cdn/62B747Q5.js +4 -0
  81. package/dist/cdn/646IF44F.js +4 -0
  82. package/dist/cdn/64ZE6B2D.js +4 -0
  83. package/dist/cdn/66UDDINU.js +4 -0
  84. package/dist/cdn/6DY3UACU.js +4 -0
  85. package/dist/cdn/6JZWEPVU.js +4 -0
  86. package/dist/cdn/6KUUMZ62.js +4 -0
  87. package/dist/cdn/6MHKL76Q.js +4 -0
  88. package/dist/cdn/6NWG6ZQ4.js +4 -0
  89. package/dist/cdn/6OBVOLCX.js +4 -0
  90. package/dist/cdn/6Q6IUBV7.js +4 -0
  91. package/dist/cdn/6RPIJGSD.js +4 -0
  92. package/dist/cdn/6SP7HAZV.js +4 -0
  93. package/dist/cdn/6SQLNTI5.js +5 -0
  94. package/dist/cdn/6T7IRSLC.js +4 -0
  95. package/dist/cdn/6VGJ5DMN.js +4 -0
  96. package/dist/cdn/72K234SU.js +4 -0
  97. package/dist/cdn/744OA2ZA.js +4 -0
  98. package/dist/cdn/7AJ7LIVE.js +4 -0
  99. package/dist/cdn/7BM6QJPU.js +4 -0
  100. package/dist/cdn/7BMDZBVL.js +4 -0
  101. package/dist/cdn/7BMY7XCD.js +4 -0
  102. package/dist/cdn/7DV2NCAD.js +4 -0
  103. package/dist/cdn/7ENACUWJ.js +4 -0
  104. package/dist/cdn/7FPME7QV.js +4 -0
  105. package/dist/cdn/7G5WZA7A.js +4 -0
  106. package/dist/cdn/7HXYMVCA.js +4 -0
  107. package/dist/cdn/7IJNSVAH.js +4 -0
  108. package/dist/cdn/7LWQTJBN.js +4 -0
  109. package/dist/cdn/7MLVO3CX.js +4 -0
  110. package/dist/cdn/7NXO3N6C.js +4 -0
  111. package/dist/cdn/7OSGHY7T.js +4 -0
  112. package/dist/cdn/7Q4A3IJO.js +4 -0
  113. package/dist/cdn/7RM5HQ6M.js +4 -0
  114. package/dist/cdn/7SRQR52X.js +4 -0
  115. package/dist/cdn/7URDPP56.js +4 -0
  116. package/dist/cdn/7VKGQESS.js +4 -0
  117. package/dist/cdn/7YN756B6.js +4 -0
  118. package/dist/cdn/7YZRJHWC.js +4 -0
  119. package/dist/cdn/7ZM6DCZO.js +4 -0
  120. package/dist/cdn/A3LDO7RZ.js +4 -0
  121. package/dist/cdn/A733542D.js +4 -0
  122. package/dist/cdn/AA4RIAVV.js +4 -0
  123. package/dist/cdn/AB5FQP73.js +5470 -0
  124. package/dist/cdn/ABE4POTH.js +4 -0
  125. package/dist/cdn/ABWBQXUK.js +4 -0
  126. package/dist/cdn/ACJGBKFR.js +4 -0
  127. package/dist/cdn/AHK6ZP6G.js +4 -0
  128. package/dist/cdn/AHXMXOCH.js +4 -0
  129. package/dist/cdn/AODVXTIT.js +4 -0
  130. package/dist/cdn/AQEYZFIN.js +4 -0
  131. package/dist/cdn/AS7AUPBK.js +4 -0
  132. package/dist/cdn/AX3PP6N4.js +4 -0
  133. package/dist/cdn/AYRMKJBR.js +4 -0
  134. package/dist/cdn/B4NYJVYJ.js +4 -0
  135. package/dist/cdn/BBCGDSCR.js +4 -0
  136. package/dist/cdn/BBN2HSCB.js +4 -0
  137. package/dist/cdn/BBTZ2JH6.js +4 -0
  138. package/dist/cdn/BD2RHLIK.js +4 -0
  139. package/dist/cdn/BEFYRYTZ.js +4 -0
  140. package/dist/cdn/BHGBRHEJ.js +4 -0
  141. package/dist/cdn/BHTSAAXP.js +4 -0
  142. package/dist/cdn/BIIGU5WC.js +4 -0
  143. package/dist/cdn/BJCJRKBD.js +4 -0
  144. package/dist/cdn/BKZ55XRC.js +4 -0
  145. package/dist/cdn/BO4PR4GE.js +4 -0
  146. package/dist/cdn/BOFP5IER.js +4 -0
  147. package/dist/cdn/BOQY4ZUH.js +4 -0
  148. package/dist/cdn/BP3UKQRX.js +4 -0
  149. package/dist/cdn/BPRFFIN6.js +4 -0
  150. package/dist/cdn/BQDR2DFD.js +4 -0
  151. package/dist/cdn/BUTZNW2P.js +4 -0
  152. package/dist/cdn/BWIWHWKS.js +4 -0
  153. package/dist/cdn/BWJB7PX6.js +4 -0
  154. package/dist/cdn/C23UWIBF.js +4 -0
  155. package/dist/cdn/C47J5UGW.js +4 -0
  156. package/dist/cdn/C4GSJRRI.js +4 -0
  157. package/dist/cdn/C5XTJOMW.js +4 -0
  158. package/dist/cdn/CAZ5FI5E.js +4 -0
  159. package/dist/cdn/CGW3RCPR.js +4 -0
  160. package/dist/cdn/CHPVD7M5.js +4 -0
  161. package/dist/cdn/CJITWSVY.js +6 -0
  162. package/dist/cdn/CKJZIOMG.js +4 -0
  163. package/dist/cdn/CKVXWTM4.js +4 -0
  164. package/dist/cdn/CLLEWGO4.js +4 -0
  165. package/dist/cdn/CLS57RAW.js +59 -0
  166. package/dist/cdn/CMFFUJ7I.js +4 -0
  167. package/dist/cdn/CMYIXUAI.js +4 -0
  168. package/dist/cdn/CNICPUWP.js +4 -0
  169. package/dist/cdn/COCUYKDO.js +4 -0
  170. package/dist/cdn/COFXI6ER.js +4 -0
  171. package/dist/cdn/CR6CJZNU.js +4 -0
  172. package/dist/cdn/CUJHH4MN.js +51 -0
  173. package/dist/cdn/CYCQRSQ2.js +4 -0
  174. package/dist/cdn/D32ESH3P.js +4 -0
  175. package/dist/cdn/D7DPTYLQ.js +4 -0
  176. package/dist/cdn/DAQP4AXA.js +52 -0
  177. package/dist/cdn/DAZDSD7M.js +4 -0
  178. package/dist/cdn/DBVI4XXH.js +4 -0
  179. package/dist/cdn/DDA6XW2A.js +4 -0
  180. package/dist/cdn/DDPZCWDX.js +4 -0
  181. package/dist/cdn/DDTL2QOC.js +4 -0
  182. package/dist/cdn/DEAMXFG5.js +4 -0
  183. package/dist/cdn/DHCCCJUT.js +4 -0
  184. package/dist/cdn/DIWAANWV.js +4 -0
  185. package/dist/cdn/DMX6W46S.js +4 -0
  186. package/dist/cdn/DO2SLRTI.js +4 -0
  187. package/dist/cdn/DPP54PAF.js +4 -0
  188. package/dist/cdn/DSZMLZGT.js +4 -0
  189. package/dist/cdn/DTVWK4UY.js +4 -0
  190. package/dist/cdn/DV2STMQS.js +4 -0
  191. package/dist/cdn/DYB5JSVD.js +4 -0
  192. package/dist/cdn/E3CIWSOS.js +4 -0
  193. package/dist/cdn/E42PIMI5.js +4 -0
  194. package/dist/cdn/E4AAW53D.js +4 -0
  195. package/dist/cdn/E4QNUQ2C.js +4 -0
  196. package/dist/cdn/E6C7DZQD.js +4 -0
  197. package/dist/cdn/EAAEJIXY.js +4 -0
  198. package/dist/cdn/ECTWR5PB.js +4 -0
  199. package/dist/cdn/EEFYUWH3.js +4 -0
  200. package/dist/cdn/EEMGHZQH.js +4 -0
  201. package/dist/cdn/EF3XLDWO.js +4 -0
  202. package/dist/cdn/EFI3XMRQ.js +4 -0
  203. package/dist/cdn/EG4N2U77.js +4 -0
  204. package/dist/cdn/EHEB22E6.js +4 -0
  205. package/dist/cdn/EHHPJOXQ.js +4 -0
  206. package/dist/cdn/EHP5NXBJ.js +4 -0
  207. package/dist/cdn/EIRN422O.js +4 -0
  208. package/dist/cdn/EIVDOUV6.js +4 -0
  209. package/dist/cdn/ELMR4HDB.js +4 -0
  210. package/dist/cdn/EMIUSLMR.js +4 -0
  211. package/dist/cdn/EOPFZFY7.js +4 -0
  212. package/dist/cdn/ESVWWJKP.js +4 -0
  213. package/dist/cdn/EUFMMA3H.js +4 -0
  214. package/dist/cdn/EUR533AT.js +4 -0
  215. package/dist/cdn/EWAYREBF.js +4 -0
  216. package/dist/cdn/EWCHNGMS.js +4 -0
  217. package/dist/cdn/EWFBV6U7.js +4 -0
  218. package/dist/cdn/EWKQIUWH.js +4 -0
  219. package/dist/cdn/EWOJFWY3.js +4 -0
  220. package/dist/cdn/EXDKJN6O.js +4 -0
  221. package/dist/cdn/F2RHBSL4.js +59 -0
  222. package/dist/cdn/F47OAXWD.js +4 -0
  223. package/dist/cdn/F7YY7HFL.js +4 -0
  224. package/dist/cdn/FBS7IUWO.js +4 -0
  225. package/dist/cdn/FCIJCJEK.js +4 -0
  226. package/dist/cdn/FCIQIQOR.js +4 -0
  227. package/dist/cdn/FEVP2DOA.js +4 -0
  228. package/dist/cdn/FHF6IN4D.js +4 -0
  229. package/dist/cdn/FISIW6R2.js +4 -0
  230. package/dist/cdn/FL4CJYY3.js +4 -0
  231. package/dist/cdn/FM3IJEJN.js +4 -0
  232. package/dist/cdn/FTAW2Q43.js +4 -0
  233. package/dist/cdn/FU6G3R7U.js +4 -0
  234. package/dist/cdn/FUIW32FS.js +4 -0
  235. package/dist/cdn/FVWFGNDU.js +4 -0
  236. package/dist/cdn/FW2CD3QD.js +4 -0
  237. package/dist/cdn/FXMQISQ5.js +4 -0
  238. package/dist/cdn/FYP26QJ2.js +5 -0
  239. package/dist/cdn/G74TAGRG.js +4 -0
  240. package/dist/cdn/GC7XXTNS.js +4 -0
  241. package/dist/cdn/GCW7QJ7Z.js +4 -0
  242. package/dist/cdn/GE2JLT34.js +4 -0
  243. package/dist/cdn/GFY3RQAF.js +4 -0
  244. package/dist/cdn/GG5RVZ3O.js +4 -0
  245. package/dist/cdn/GGCU6E76.js +4 -0
  246. package/dist/cdn/GGJAJUHM.js +4 -0
  247. package/dist/cdn/GJ3HZBIL.js +4 -0
  248. package/dist/cdn/GKFFANWF.js +4 -0
  249. package/dist/cdn/GLJPGP6H.js +4 -0
  250. package/dist/cdn/GM4GJCTM.js +4 -0
  251. package/dist/cdn/GMUSBZHE.js +4 -0
  252. package/dist/cdn/GPLQNZTM.js +4 -0
  253. package/dist/cdn/GRGSUPWE.js +4 -0
  254. package/dist/cdn/GUHHQXP5.js +4 -0
  255. package/dist/cdn/GURKDTIR.js +4 -0
  256. package/dist/cdn/GV6L2BM5.js +4 -0
  257. package/dist/cdn/GVO4N5UY.js +4 -0
  258. package/dist/cdn/GZNWOJYP.js +4 -0
  259. package/dist/cdn/H3OF4HCR.js +4 -0
  260. package/dist/cdn/H3VUSRK7.js +4 -0
  261. package/dist/cdn/H4AI6OFP.js +4 -0
  262. package/dist/cdn/H5VXCUDG.js +4 -0
  263. package/dist/cdn/H7LT62SD.js +4 -0
  264. package/dist/cdn/HAETIFH2.js +4 -0
  265. package/dist/cdn/HAO65T3Y.js +4 -0
  266. package/dist/cdn/HAYPX7FC.js +4 -0
  267. package/dist/cdn/HGHKW7BV.js +4 -0
  268. package/dist/cdn/HHKP3RTS.js +4 -0
  269. package/dist/cdn/HHRXE4TE.js +4 -0
  270. package/dist/cdn/HMLZQHQA.js +4 -0
  271. package/dist/cdn/HRVW3APE.js +4 -0
  272. package/dist/cdn/HVDVDB3U.js +4 -0
  273. package/dist/cdn/HXFWIAC7.js +4 -0
  274. package/dist/cdn/HYISBYH7.js +4 -0
  275. package/dist/cdn/HZ7B54ER.js +4 -0
  276. package/dist/cdn/I22URKRQ.js +9 -0
  277. package/dist/cdn/I3LNDW5O.js +4 -0
  278. package/dist/cdn/I54DIYWB.js +4 -0
  279. package/dist/cdn/IAJXI7YW.js +4 -0
  280. package/dist/cdn/IFGYV4BZ.js +4 -0
  281. package/dist/cdn/IFXO576V.js +4 -0
  282. package/dist/cdn/IG3R5TSQ.js +4 -0
  283. package/dist/cdn/IHMU5PZC.js +4 -0
  284. package/dist/cdn/IJZ2OENP.js +4 -0
  285. package/dist/cdn/IKYBP6V3.js +4 -0
  286. package/dist/cdn/ILHMALRK.js +4 -0
  287. package/dist/cdn/IM4ZNARX.js +4 -0
  288. package/dist/cdn/IMCSSYQC.js +4 -0
  289. package/dist/cdn/IN2X2SAO.js +4 -0
  290. package/dist/cdn/IQKW5TDE.js +4 -0
  291. package/dist/cdn/IRLVT2SE.js +4 -0
  292. package/dist/cdn/IRNNHGEC.js +4 -0
  293. package/dist/cdn/IT7PYGWX.js +4 -0
  294. package/dist/cdn/ITCEGBHK.js +4 -0
  295. package/dist/cdn/IUCYYGH7.js +4 -0
  296. package/dist/cdn/IX4M4WM2.js +4 -0
  297. package/dist/cdn/J2K77QQN.js +4 -0
  298. package/dist/cdn/J2VHCYZD.js +4 -0
  299. package/dist/cdn/J2ZYSNGV.js +4 -0
  300. package/dist/cdn/J3MU4YNT.js +4 -0
  301. package/dist/cdn/J4CG4H6A.js +4 -0
  302. package/dist/cdn/J7FLBFKS.js +4 -0
  303. package/dist/cdn/JC5445C4.js +4 -0
  304. package/dist/cdn/JDXNC5RG.js +4 -0
  305. package/dist/cdn/JGSMAA4R.js +4 -0
  306. package/dist/cdn/JGX45ICF.js +4 -0
  307. package/dist/cdn/JI36MJKL.js +4 -0
  308. package/dist/cdn/JJDY3UXL.js +4 -0
  309. package/dist/cdn/JOAN2W43.js +4 -0
  310. package/dist/cdn/JP2DSLEL.js +24 -0
  311. package/dist/cdn/JR3C3XCT.js +4 -0
  312. package/dist/cdn/JR5Z6O6S.js +4 -0
  313. package/dist/cdn/JRXXB632.js +4 -0
  314. package/dist/cdn/JVPTJAHO.js +4 -0
  315. package/dist/cdn/JW4OYN2H.js +4 -0
  316. package/dist/cdn/K276OZVE.js +4 -0
  317. package/dist/cdn/K2E4A3NN.js +4 -0
  318. package/dist/cdn/K4B3JJUV.js +4 -0
  319. package/dist/cdn/K4KEQZSF.js +4 -0
  320. package/dist/cdn/K62AXNQS.js +4 -0
  321. package/dist/cdn/K7RXNQ7C.js +4 -0
  322. package/dist/cdn/KASZLD7R.js +4 -0
  323. package/dist/cdn/KBJOVLFY.js +4 -0
  324. package/dist/cdn/KBWRBFSO.js +4 -0
  325. package/dist/cdn/KCEI76G3.js +4 -0
  326. package/dist/cdn/KDH7P3ZP.js +4 -0
  327. package/dist/cdn/KDN3DAEV.js +4 -0
  328. package/dist/cdn/KDNYUPMH.js +4 -0
  329. package/dist/cdn/KJU3E32A.js +4 -0
  330. package/dist/cdn/KRWFAKDI.js +4 -0
  331. package/dist/cdn/KSCXC446.js +4 -0
  332. package/dist/cdn/KXBTTIJT.js +4 -0
  333. package/dist/cdn/KXCK5AXK.js +4 -0
  334. package/dist/cdn/KYTSPWRL.js +4 -0
  335. package/dist/cdn/KZ5FUHYZ.js +4 -0
  336. package/dist/cdn/L5FYWTQQ.js +4 -0
  337. package/dist/cdn/L7JJJ6AB.js +4 -0
  338. package/dist/cdn/LAR2OLLL.js +4 -0
  339. package/dist/cdn/LB526JN3.js +4 -0
  340. package/dist/cdn/LBEBVYTY.js +4 -0
  341. package/dist/cdn/LBNNK65A.js +4 -0
  342. package/dist/cdn/LBNR6S34.js +5 -0
  343. package/dist/cdn/LE5IYW2O.js +4 -0
  344. package/dist/cdn/LEBWYXAX.js +4 -0
  345. package/dist/cdn/LF6JQPJJ.js +4 -0
  346. package/dist/cdn/LFNVSLYV.js +4 -0
  347. package/dist/cdn/LG3NJW42.js +4 -0
  348. package/dist/cdn/LGTQCM55.js +4 -0
  349. package/dist/cdn/LHNQU45M.js +4 -0
  350. package/dist/cdn/LM4MQEYK.js +4 -0
  351. package/dist/cdn/LOMUW3RD.js +4 -0
  352. package/dist/cdn/LPEJOUBP.js +4 -0
  353. package/dist/cdn/LQL5OYLQ.js +4 -0
  354. package/dist/cdn/LRZK2IYB.js +4 -0
  355. package/dist/cdn/LSU3XKJU.js +4 -0
  356. package/dist/cdn/LSUN5HXR.js +4 -0
  357. package/dist/cdn/LTPM65HD.js +4 -0
  358. package/dist/cdn/LV3KUIYG.js +4 -0
  359. package/dist/cdn/LVYZSCTI.js +12 -0
  360. package/dist/cdn/LYJXD2X5.js +4 -0
  361. package/dist/cdn/LZHD3KUX.js +4 -0
  362. package/dist/cdn/LZNQG5VA.js +4 -0
  363. package/dist/cdn/LZTA3IWA.js +4 -0
  364. package/dist/cdn/LZYYPPDJ.js +4 -0
  365. package/dist/cdn/M2BSR3JX.js +4 -0
  366. package/dist/cdn/M4ZLC7IH.js +4 -0
  367. package/dist/cdn/M6MVHVMK.js +4 -0
  368. package/dist/cdn/M727FASN.js +4 -0
  369. package/dist/cdn/MAJE23PF.js +4 -0
  370. package/dist/cdn/MDJXXJ6J.js +4 -0
  371. package/dist/cdn/MEYQFEUG.js +4 -0
  372. package/dist/cdn/MFD6UWA6.js +4 -0
  373. package/dist/cdn/MHQCQ2KS.js +4 -0
  374. package/dist/cdn/MJPXSF3W.js +4 -0
  375. package/dist/cdn/MMWWTAGJ.js +4 -0
  376. package/dist/cdn/MNV7WVFS.js +4 -0
  377. package/dist/cdn/MOLXTW4H.js +4 -0
  378. package/dist/cdn/MOW2OUON.js +4 -0
  379. package/dist/cdn/MQOB7RQS.js +4 -0
  380. package/dist/cdn/MQVUC7SI.js +4 -0
  381. package/dist/cdn/MR4MJQWE.js +4 -0
  382. package/dist/cdn/MR7OQ366.js +4 -0
  383. package/dist/cdn/MS7UGQ2E.js +4 -0
  384. package/dist/cdn/MSVMYG6S.js +4 -0
  385. package/dist/cdn/MUFFP3NM.js +4 -0
  386. package/dist/cdn/MXKKP2RE.js +4 -0
  387. package/dist/cdn/MY5BZA45.js +4 -0
  388. package/dist/cdn/MYSWYLWJ.js +4 -0
  389. package/dist/cdn/N25AE62H.js +4 -0
  390. package/dist/cdn/N34LHAYZ.js +4 -0
  391. package/dist/cdn/N34OKDHZ.js +5 -0
  392. package/dist/cdn/N35BLKQ7.js +4 -0
  393. package/dist/cdn/N76RHJL6.js +4 -0
  394. package/dist/cdn/N7BHXE2T.js +4 -0
  395. package/dist/cdn/N7FRJQRU.js +4 -0
  396. package/dist/cdn/N7V7H3IC.js +4 -0
  397. package/dist/cdn/NA5S52VM.js +4 -0
  398. package/dist/cdn/NA5UUDMJ.js +4 -0
  399. package/dist/cdn/NA7HVZVD.js +4 -0
  400. package/dist/cdn/NANK5DDC.js +4 -0
  401. package/dist/cdn/NARM4CW7.js +4 -0
  402. package/dist/cdn/NBWQXCYS.js +4 -0
  403. package/dist/cdn/NDCYZZUT.js +4 -0
  404. package/dist/cdn/NFUCUJQT.js +4 -0
  405. package/dist/cdn/NGX33DYL.js +4 -0
  406. package/dist/cdn/NISXKDRN.js +4 -0
  407. package/dist/cdn/NKKZSLGE.js +4 -0
  408. package/dist/cdn/NLZU25PQ.js +4 -0
  409. package/dist/cdn/NPSGBFMC.js +4 -0
  410. package/dist/cdn/NSA3E27Z.js +4 -0
  411. package/dist/cdn/NXITYY7A.js +4 -0
  412. package/dist/cdn/NXZNWVK7.js +4 -0
  413. package/dist/cdn/NZF6YREN.js +4 -0
  414. package/dist/cdn/NZZTGYIE.js +4 -0
  415. package/dist/cdn/O2LZTJ65.js +4 -0
  416. package/dist/cdn/O5FDGUWR.js +4 -0
  417. package/dist/cdn/O5JKCCE5.js +4 -0
  418. package/dist/cdn/O5KONNXN.js +4 -0
  419. package/dist/cdn/O76IYKD6.js +4 -0
  420. package/dist/cdn/OATCL4RL.js +4 -0
  421. package/dist/cdn/ODNEUHLH.js +4 -0
  422. package/dist/cdn/OE6PFFPN.js +4 -0
  423. package/dist/cdn/OEIW25JX.js +4 -0
  424. package/dist/cdn/OELTFMHK.js +4 -0
  425. package/dist/cdn/OHDRK27E.js +4 -0
  426. package/dist/cdn/OKLTGA6A.js +4 -0
  427. package/dist/cdn/OMSYZ3GL.js +4 -0
  428. package/dist/cdn/ON7G2S6N.js +4 -0
  429. package/dist/cdn/OOCD7HME.js +4 -0
  430. package/dist/cdn/OOPNHQNV.js +4 -0
  431. package/dist/cdn/OQ7VTZZ4.js +4 -0
  432. package/dist/cdn/OQHAOD6E.js +4 -0
  433. package/dist/cdn/OQHCTGEH.js +4 -0
  434. package/dist/cdn/OQM263UX.js +4 -0
  435. package/dist/cdn/OSDOT5PC.js +4 -0
  436. package/dist/cdn/OUS7RCDB.js +4 -0
  437. package/dist/cdn/OUXUCRLZ.js +4 -0
  438. package/dist/cdn/OVKNDA2X.js +4 -0
  439. package/dist/cdn/OWVKAZ2K.js +4 -0
  440. package/dist/cdn/OZJIOSXJ.js +8 -0
  441. package/dist/cdn/P2SLD4RE.js +4 -0
  442. package/dist/cdn/P666TY47.js +4 -0
  443. package/dist/cdn/P6HUUZUX.js +4 -0
  444. package/dist/cdn/PBBRZPWT.js +4 -0
  445. package/dist/cdn/PC5BVFI3.js +4 -0
  446. package/dist/cdn/PE522BSO.js +4 -0
  447. package/dist/cdn/PJHAQLTL.js +4 -0
  448. package/dist/cdn/PJO2JLBW.js +4 -0
  449. package/dist/cdn/PKLBQWAB.js +4 -0
  450. package/dist/cdn/PKPQJJYY.js +4 -0
  451. package/dist/cdn/PKRVSEKW.js +4 -0
  452. package/dist/cdn/PMFO4R4Q.js +4 -0
  453. package/dist/cdn/PPYZFFAR.js +4 -0
  454. package/dist/cdn/PR4NYOXY.js +4 -0
  455. package/dist/cdn/PSEKRC74.js +4 -0
  456. package/dist/cdn/PUI3HMZ6.js +4 -0
  457. package/dist/cdn/PV6LPOSO.js +4 -0
  458. package/dist/cdn/PXCO6J7T.js +4 -0
  459. package/dist/cdn/PZXUSMLH.js +4 -0
  460. package/dist/cdn/Q2JMG5ZT.js +4 -0
  461. package/dist/cdn/Q424KSET.js +4 -0
  462. package/dist/cdn/Q4HI6O3W.js +4 -0
  463. package/dist/cdn/Q66HJBAX.js +4 -0
  464. package/dist/cdn/Q6RQ4Y3W.js +4 -0
  465. package/dist/cdn/Q7KJVH7M.js +4 -0
  466. package/dist/cdn/QAT3H4FY.js +41 -0
  467. package/dist/cdn/QAUX3AKH.js +4 -0
  468. package/dist/cdn/QBSKEVLB.js +4 -0
  469. package/dist/cdn/QEXWZWX5.js +4 -0
  470. package/dist/cdn/QFCU2MID.js +4 -0
  471. package/dist/cdn/QG4X7QMI.js +4 -0
  472. package/dist/cdn/QISKH7N7.js +4 -0
  473. package/dist/cdn/QLW2BGOG.js +4 -0
  474. package/dist/cdn/QMXM7W3S.js +4 -0
  475. package/dist/cdn/QO6RXAKF.js +4 -0
  476. package/dist/cdn/QOHQOCJ3.js +4 -0
  477. package/dist/cdn/QP75HK4W.js +4 -0
  478. package/dist/cdn/QPPOPDIY.js +4 -0
  479. package/dist/cdn/QQ25KVOB.js +4 -0
  480. package/dist/cdn/QQENWTNQ.js +4 -0
  481. package/dist/cdn/QQEZXT5Z.js +4 -0
  482. package/dist/cdn/QQGJS7EV.js +4 -0
  483. package/dist/cdn/QQMKNV5I.js +4 -0
  484. package/dist/cdn/QU42GR3U.js +12 -0
  485. package/dist/cdn/QU6QIFUU.js +4 -0
  486. package/dist/cdn/QU7DSQNY.js +4 -0
  487. package/dist/cdn/QUHXT27T.js +4 -0
  488. package/dist/cdn/QV3SBMYY.js +4 -0
  489. package/dist/cdn/QWFRXYCQ.js +4 -0
  490. package/dist/cdn/QYEQ7GPY.js +4 -0
  491. package/dist/cdn/R5CFCNIJ.js +5 -0
  492. package/dist/cdn/R5H2BVJI.js +4 -0
  493. package/dist/cdn/R5X4ZQTI.js +4 -0
  494. package/dist/cdn/R7I4IPSJ.js +4 -0
  495. package/dist/cdn/R7TXES4W.js +4 -0
  496. package/dist/cdn/RAV5TIKV.js +4 -0
  497. package/dist/cdn/RDV52RAZ.js +4 -0
  498. package/dist/cdn/REIDUIIQ.js +4 -0
  499. package/dist/cdn/RG5POO5J.js +4 -0
  500. package/dist/cdn/RHPRQFS5.js +4 -0
  501. package/dist/cdn/RKBFD5GC.js +4 -0
  502. package/dist/cdn/RLIHR6ZF.js +4 -0
  503. package/dist/cdn/RTPLTQI3.js +4 -0
  504. package/dist/cdn/RVFN3JAH.js +4 -0
  505. package/dist/cdn/RXJDIBY4.js +4 -0
  506. package/dist/cdn/RXYXSLMD.js +4 -0
  507. package/dist/cdn/RY55FC3J.js +4 -0
  508. package/dist/cdn/RZAOLFXF.js +4 -0
  509. package/dist/cdn/RZYUTY6E.js +4 -0
  510. package/dist/cdn/S2MA6TJB.js +4 -0
  511. package/dist/cdn/S3TOXAJM.js +4 -0
  512. package/dist/cdn/S6WQ4BRO.js +4 -0
  513. package/dist/cdn/SA6R2XUK.js +4 -0
  514. package/dist/cdn/SEZOPDO6.js +4 -0
  515. package/dist/cdn/SJERIMSP.js +4 -0
  516. package/dist/cdn/SJKJCIOP.js +4 -0
  517. package/dist/cdn/SKCJRCQJ.js +4 -0
  518. package/dist/cdn/SLXPIHX2.js +4 -0
  519. package/dist/cdn/SRHFE2LN.js +42 -0
  520. package/dist/cdn/STCOBBLV.js +4 -0
  521. package/dist/cdn/SUNETAAD.js +4 -0
  522. package/dist/cdn/SUPEXCZJ.js +4 -0
  523. package/dist/cdn/SVZWMG6U.js +4 -0
  524. package/dist/cdn/SWBZMYU4.js +4 -0
  525. package/dist/cdn/SXSGV5PM.js +4 -0
  526. package/dist/cdn/SXYF3KRB.js +4 -0
  527. package/dist/cdn/SZJERPJ3.js +5 -0
  528. package/dist/cdn/T4KDYDIN.js +4 -0
  529. package/dist/cdn/T4ZNMCKJ.js +4 -0
  530. package/dist/cdn/T5AU32NO.js +4 -0
  531. package/dist/cdn/T6YRL62C.js +4 -0
  532. package/dist/cdn/T76LRSV4.js +4 -0
  533. package/dist/cdn/T7OKSJ2W.js +4 -0
  534. package/dist/cdn/TB53XW7P.js +4 -0
  535. package/dist/cdn/TCYGO3F2.js +4 -0
  536. package/dist/cdn/TG3DV6UT.js +4 -0
  537. package/dist/cdn/TJDVSNHI.js +4 -0
  538. package/dist/cdn/TJKHZ3H6.js +4 -0
  539. package/dist/cdn/TLH372HG.js +4 -0
  540. package/dist/cdn/TLQKVFBH.js +4 -0
  541. package/dist/cdn/TLYACGP3.js +4 -0
  542. package/dist/cdn/TNPHJQCC.js +4 -0
  543. package/dist/cdn/TOUOYV3W.js +4 -0
  544. package/dist/cdn/TPCZSURA.js +4 -0
  545. package/dist/cdn/TSJ5ATBJ.js +4 -0
  546. package/dist/cdn/TTQWNOA5.js +4 -0
  547. package/dist/cdn/TTUAUB5D.js +4 -0
  548. package/dist/cdn/U4V2EUHM.js +4 -0
  549. package/dist/cdn/U4YSDUKW.js +4 -0
  550. package/dist/cdn/U6Y7XSZ7.js +4 -0
  551. package/dist/cdn/UBTOBJM4.js +4 -0
  552. package/dist/cdn/UBYTYNYJ.js +4 -0
  553. package/dist/cdn/UCWZ7JF2.js +4 -0
  554. package/dist/cdn/UEN6PAIG.js +4 -0
  555. package/dist/cdn/UFJHRNW5.js +4 -0
  556. package/dist/cdn/UFUEA42B.js +4 -0
  557. package/dist/cdn/ULUKADPA.js +4 -0
  558. package/dist/cdn/UN7KZSBC.js +6 -0
  559. package/dist/cdn/UPGAZR5O.js +4 -0
  560. package/dist/cdn/UPKLFCOK.js +4 -0
  561. package/dist/cdn/URPCL22O.js +4 -0
  562. package/dist/cdn/UWBPTN32.js +4 -0
  563. package/dist/cdn/UWSD4H3X.js +4 -0
  564. package/dist/cdn/UX5BTGE7.js +4 -0
  565. package/dist/cdn/UZIQ2HZ3.js +4 -0
  566. package/dist/cdn/V2NEHCU7.js +4 -0
  567. package/dist/cdn/V3R4F2TH.js +4 -0
  568. package/dist/cdn/V3UQPBVE.js +4 -0
  569. package/dist/cdn/V3WVL7WS.js +4 -0
  570. package/dist/cdn/V46RMZAK.js +4 -0
  571. package/dist/cdn/V5CRYRSR.js +4 -0
  572. package/dist/cdn/V5IA4SB7.js +4 -0
  573. package/dist/cdn/V7JLDFQ7.js +4 -0
  574. package/dist/cdn/V7KWARO2.js +4 -0
  575. package/dist/cdn/VJ4YD7VD.js +4 -0
  576. package/dist/cdn/VOK5RQYJ.js +4 -0
  577. package/dist/cdn/VQHBR7AJ.js +4 -0
  578. package/dist/cdn/VRVTEAJN.js +4 -0
  579. package/dist/cdn/VXAKA2SZ.js +4 -0
  580. package/dist/cdn/VYQRYBMZ.js +4 -0
  581. package/dist/cdn/W43LSSK6.js +4 -0
  582. package/dist/cdn/W4AZ5CDE.js +4 -0
  583. package/dist/cdn/W6JVZ5EY.js +4 -0
  584. package/dist/cdn/WCAXIIDT.js +8 -0
  585. package/dist/cdn/WHZRSVJT.js +4 -0
  586. package/dist/cdn/WJSSUTWQ.js +4 -0
  587. package/dist/cdn/WKLHKQUW.js +4 -0
  588. package/dist/cdn/WLK7CSLG.js +4 -0
  589. package/dist/cdn/WNQEJ7DN.js +4 -0
  590. package/dist/cdn/WNYS42WC.js +4 -0
  591. package/dist/cdn/WO66QIEO.js +4 -0
  592. package/dist/cdn/WQ2FEVE7.js +4 -0
  593. package/dist/cdn/WR6LNBK4.js +4 -0
  594. package/dist/cdn/WSOAAIEP.js +4 -0
  595. package/dist/cdn/WT2667YN.js +4 -0
  596. package/dist/cdn/WYU5GDLI.js +4 -0
  597. package/dist/cdn/X37EUO4C.js +4 -0
  598. package/dist/cdn/X3SU4SJN.js +4 -0
  599. package/dist/cdn/X536ATFU.js +4 -0
  600. package/dist/cdn/X6VPG6RD.js +4 -0
  601. package/dist/cdn/XBBQSA2T.js +4 -0
  602. package/dist/cdn/XCWD7I4I.js +4 -0
  603. package/dist/cdn/XEJA5EFA.js +4 -0
  604. package/dist/cdn/XHPAXE3T.js +4 -0
  605. package/dist/cdn/XJYZ7J4Y.js +4 -0
  606. package/dist/cdn/XSXEFOD7.js +4 -0
  607. package/dist/cdn/XUVR4OSX.js +4 -0
  608. package/dist/cdn/XVRDY5Q7.js +4 -0
  609. package/dist/cdn/XVXIHYCC.js +4 -0
  610. package/dist/cdn/XXESAWRL.js +4 -0
  611. package/dist/cdn/XZWT3IP6.js +4 -0
  612. package/dist/cdn/Y25AEI7X.js +4 -0
  613. package/dist/cdn/Y4LWWV6X.js +4 -0
  614. package/dist/cdn/Y5HDAYIL.js +4 -0
  615. package/dist/cdn/Y5KUXQUL.js +4 -0
  616. package/dist/cdn/YBCON4ZC.js +4 -0
  617. package/dist/cdn/YEHTFYX6.js +4 -0
  618. package/dist/cdn/YELZQHFA.js +4 -0
  619. package/dist/cdn/YM7JJHMW.js +4 -0
  620. package/dist/cdn/YNRDJKG2.js +4 -0
  621. package/dist/cdn/YOBIUFZF.js +4 -0
  622. package/dist/cdn/YPP442AZ.js +4 -0
  623. package/dist/cdn/YRYL4YMH.js +4 -0
  624. package/dist/cdn/YSWGCZTZ.js +4 -0
  625. package/dist/cdn/YTA7ABGS.js +4 -0
  626. package/dist/cdn/Z346XW2Y.js +4 -0
  627. package/dist/cdn/Z47BSZKY.js +4 -0
  628. package/dist/cdn/Z4CNAIBK.js +4 -0
  629. package/dist/cdn/Z5DQGJN4.js +4 -0
  630. package/dist/cdn/Z5VYZ2WM.js +4 -0
  631. package/dist/cdn/Z65VXVW3.js +4 -0
  632. package/dist/cdn/Z7VHA6KY.js +4 -0
  633. package/dist/cdn/Z7Z4XSUZ.js +4 -0
  634. package/dist/cdn/ZAVBJU3P.js +4 -0
  635. package/dist/cdn/ZDIB7VMF.js +4 -0
  636. package/dist/cdn/ZDIFYSBB.js +4 -0
  637. package/dist/cdn/ZEDPULXZ.js +4 -0
  638. package/dist/cdn/ZEVW66XA.js +25 -0
  639. package/dist/cdn/ZG3TWDK6.js +4 -0
  640. package/dist/cdn/ZGNCC4NH.js +4 -0
  641. package/dist/cdn/ZI363I7V.js +4 -0
  642. package/dist/cdn/ZJDARQMG.js +4 -0
  643. package/dist/cdn/ZJGR2NEJ.js +4 -0
  644. package/dist/cdn/ZLBRCO6L.js +4 -0
  645. package/dist/cdn/ZMKQCAXQ.js +4 -0
  646. package/dist/cdn/ZMMAEBVZ.js +4 -0
  647. package/dist/cdn/ZMMPNO2O.js +4 -0
  648. package/dist/cdn/ZNSSVZZQ.js +4 -0
  649. package/dist/cdn/ZOBPX2CG.js +4 -0
  650. package/dist/cdn/ZPJLEYGE.js +4 -0
  651. package/dist/cdn/ZQ23WUQL.js +4 -0
  652. package/dist/cdn/ZT5TE5XE.js +4 -0
  653. package/dist/cdn/ZTUKAOD2.js +4 -0
  654. package/dist/cdn/ZWEFXRPN.js +4 -0
  655. package/dist/cdn/ZWNNQ2ZV.js +4 -0
  656. package/dist/cdn/ZWRGDCJF.js +4 -0
  657. package/dist/cdn/ZZTVQWPO.js +4 -0
  658. package/dist/cdn/index.js +3 -3
  659. package/dist/chunks/findColumnAndNodeIndex.js +2 -2
  660. package/dist/chunks/getResponsiveClasses.js +2 -2
  661. package/dist/chunks/interpolate-translations.js +2 -2
  662. package/dist/chunks/isNodeVisible.js +2 -2
  663. package/dist/chunks/layoutContext.js +2 -2
  664. package/dist/chunks/migrateTextCard.js +2 -2
  665. package/dist/chunks/processLayout.js +2 -2
  666. package/dist/chunks/runtime.js +3 -3
  667. package/dist/chunks/state.js +2 -2
  668. package/dist/chunks/typeGuards.js +2 -2
  669. package/dist/chunks/useGlobalContext.js +2 -2
  670. package/dist/chunks/useT9n.js +2 -2
  671. package/dist/chunks/util.js +2 -2
  672. package/dist/components/arcgis-chat-shell/customElement.js +2 -2
  673. package/dist/components/arcgis-chat-ui/customElement.js +23 -23
  674. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -2
  675. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +2 -2
  676. package/dist/components/arcgis-hub-ai-assistant/customElement.js +2 -2
  677. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -2
  678. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +2 -2
  679. package/dist/components/arcgis-hub-entity-status-card/customElement.js +2 -2
  680. package/dist/components/arcgis-hub-entity-view-layout/customElement.js +2 -2
  681. package/dist/components/arcgis-layout/customElement.js +2 -2
  682. package/dist/components/arcgis-layout-column/customElement.js +2 -2
  683. package/dist/components/arcgis-layout-container/customElement.js +2 -2
  684. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +2 -2
  685. package/dist/components/arcgis-layout-node-controls/customElement.js +2 -2
  686. package/dist/components/arcgis-layout-node-editor/customElement.js +2 -2
  687. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -2
  688. package/dist/components/arcgis-layout-node-wrapper/customElement.js +2 -2
  689. package/dist/components/arcgis-layout-row/customElement.js +2 -2
  690. package/dist/components/arcgis-layout-section/customElement.js +2 -2
  691. package/dist/components/arcgis-nav-card/customElement.js +2 -2
  692. package/dist/components/arcgis-text-card/customElement.js +2 -2
  693. package/dist/components/layouts/components/layout-node/customElement.js +2 -2
  694. package/dist/docs/api.json +1 -1
  695. package/dist/docs/docs.json +1 -1
  696. package/dist/docs/web-types.json +1 -1
  697. package/dist/embed-config.js +2 -2
  698. package/dist/index.js +2 -2
  699. package/dist/loader.js +2 -2
  700. package/package.json +2 -2
  701. package/dist/cdn/2323TBML.js +0 -4
  702. package/dist/cdn/24NP64DA.js +0 -4
  703. package/dist/cdn/253PVHCV.js +0 -4
  704. package/dist/cdn/256XHWUJ.js +0 -4
  705. package/dist/cdn/26NXZSVY.js +0 -4
  706. package/dist/cdn/26XLRFWB.js +0 -4
  707. package/dist/cdn/2BYMDOLL.js +0 -4
  708. package/dist/cdn/2CSYIRVH.js +0 -4
  709. package/dist/cdn/2G3W7FD3.js +0 -4
  710. package/dist/cdn/2HLAS5GD.js +0 -4
  711. package/dist/cdn/2LCXXCTG.js +0 -4
  712. package/dist/cdn/2MQVWK7M.js +0 -4
  713. package/dist/cdn/2NFCM7KZ.js +0 -4
  714. package/dist/cdn/2Q7AH5VL.js +0 -4
  715. package/dist/cdn/2SNUJAUR.js +0 -4
  716. package/dist/cdn/2TZVXXMD.js +0 -4
  717. package/dist/cdn/2VZT4Q3Z.js +0 -4
  718. package/dist/cdn/2X6GQW67.js +0 -4
  719. package/dist/cdn/2XCEI7LM.js +0 -4
  720. package/dist/cdn/2XT2HND5.js +0 -4
  721. package/dist/cdn/2YIIROLV.js +0 -4
  722. package/dist/cdn/33IVMFGB.js +0 -4
  723. package/dist/cdn/33PY3HLB.js +0 -4
  724. package/dist/cdn/342BWUWV.js +0 -4
  725. package/dist/cdn/3765V273.js +0 -4
  726. package/dist/cdn/37NXY3KI.js +0 -24
  727. package/dist/cdn/3BR3ZDB4.js +0 -4
  728. package/dist/cdn/3CTQ26O7.js +0 -4
  729. package/dist/cdn/3DEXMRDA.js +0 -4
  730. package/dist/cdn/3DW3T7QO.js +0 -4
  731. package/dist/cdn/3ENIQZ6W.js +0 -4
  732. package/dist/cdn/3EU7GXJD.js +0 -4
  733. package/dist/cdn/3FPI46G6.js +0 -4
  734. package/dist/cdn/3GEWXVYC.js +0 -4
  735. package/dist/cdn/3IL6S4QP.js +0 -4
  736. package/dist/cdn/3LRYDDU6.js +0 -4
  737. package/dist/cdn/3LYTN24G.js +0 -4
  738. package/dist/cdn/3MIHDLR6.js +0 -4
  739. package/dist/cdn/3N4ANDMB.js +0 -4
  740. package/dist/cdn/3NYGL64M.js +0 -4
  741. package/dist/cdn/3PLL442H.js +0 -4
  742. package/dist/cdn/3PMSFBGY.js +0 -4
  743. package/dist/cdn/3QJ3Y3OE.js +0 -4
  744. package/dist/cdn/3T352Y7U.js +0 -4
  745. package/dist/cdn/3TKBGNDN.js +0 -4
  746. package/dist/cdn/3TNBL4PF.js +0 -4
  747. package/dist/cdn/3UYKPCGQ.js +0 -4
  748. package/dist/cdn/3WHKUORA.js +0 -4
  749. package/dist/cdn/3X3NDELL.js +0 -4
  750. package/dist/cdn/3YKAVIG5.js +0 -4
  751. package/dist/cdn/3YQQL42C.js +0 -4
  752. package/dist/cdn/3Z72CDQD.js +0 -4
  753. package/dist/cdn/42BBR7PD.js +0 -4
  754. package/dist/cdn/42KVHS7F.js +0 -4
  755. package/dist/cdn/44F7KPEQ.js +0 -5
  756. package/dist/cdn/46UYQY3F.js +0 -4
  757. package/dist/cdn/46ZOXESZ.js +0 -4
  758. package/dist/cdn/4AJ7E4FL.js +0 -4
  759. package/dist/cdn/4BZ5W5LZ.js +0 -4
  760. package/dist/cdn/4E6GBGX3.js +0 -4
  761. package/dist/cdn/4EA34XZK.js +0 -4
  762. package/dist/cdn/4FL25GZR.js +0 -4
  763. package/dist/cdn/4HMVLJEY.js +0 -4
  764. package/dist/cdn/4KGC7Y6D.js +0 -4
  765. package/dist/cdn/4KIASYKN.js +0 -4
  766. package/dist/cdn/4NEEWPKI.js +0 -4
  767. package/dist/cdn/4PZESWSR.js +0 -4
  768. package/dist/cdn/4SJCYD7H.js +0 -4
  769. package/dist/cdn/4X6FLDQL.js +0 -4
  770. package/dist/cdn/4ZN2R2EA.js +0 -4
  771. package/dist/cdn/52ICAHFQ.js +0 -4
  772. package/dist/cdn/54N3FFQW.js +0 -4
  773. package/dist/cdn/556IG3P6.js +0 -4
  774. package/dist/cdn/57TRM2OS.js +0 -4
  775. package/dist/cdn/5HZZHR6U.js +0 -4
  776. package/dist/cdn/5KS6UENU.js +0 -4
  777. package/dist/cdn/5MYPHVTU.js +0 -4
  778. package/dist/cdn/5P4GXCH6.js +0 -4
  779. package/dist/cdn/5PKSRYVT.js +0 -4
  780. package/dist/cdn/5PTLKTSU.js +0 -4
  781. package/dist/cdn/5RBJASRM.js +0 -4
  782. package/dist/cdn/5SIET53U.js +0 -4
  783. package/dist/cdn/5TQAWK3E.js +0 -4
  784. package/dist/cdn/5U7Y7546.js +0 -4
  785. package/dist/cdn/5UHWYPQP.js +0 -4
  786. package/dist/cdn/5XTVRXEK.js +0 -4
  787. package/dist/cdn/5Y6DL6I5.js +0 -4
  788. package/dist/cdn/5YV3QU2G.js +0 -4
  789. package/dist/cdn/66QRQAQH.js +0 -4
  790. package/dist/cdn/6B4R4IIX.js +0 -4
  791. package/dist/cdn/6F6IGYXX.js +0 -4
  792. package/dist/cdn/6FFOWJUT.js +0 -4
  793. package/dist/cdn/6FZ6RJBQ.js +0 -4
  794. package/dist/cdn/6HCQELDZ.js +0 -4
  795. package/dist/cdn/6HFDPKXJ.js +0 -4
  796. package/dist/cdn/6HX4XLCX.js +0 -4
  797. package/dist/cdn/6I5HIOO6.js +0 -4
  798. package/dist/cdn/6KPFPQJO.js +0 -4
  799. package/dist/cdn/6L3GLOP4.js +0 -4
  800. package/dist/cdn/6MJEHR2O.js +0 -4
  801. package/dist/cdn/6OGSLQ3O.js +0 -4
  802. package/dist/cdn/6OLQQABN.js +0 -4
  803. package/dist/cdn/6P3B2LOK.js +0 -4
  804. package/dist/cdn/6Q5JNJ2R.js +0 -4
  805. package/dist/cdn/6SJVR3MT.js +0 -4
  806. package/dist/cdn/6SKDS2SM.js +0 -4
  807. package/dist/cdn/6TKJSCHD.js +0 -4
  808. package/dist/cdn/6UHEBJHN.js +0 -4
  809. package/dist/cdn/6V7DITJ2.js +0 -4
  810. package/dist/cdn/6WNCDTCU.js +0 -4
  811. package/dist/cdn/6XXVWFKU.js +0 -4
  812. package/dist/cdn/6Y7OTCE2.js +0 -4
  813. package/dist/cdn/73A5SYB6.js +0 -4
  814. package/dist/cdn/75J6UXQQ.js +0 -4
  815. package/dist/cdn/75OLUQWP.js +0 -4
  816. package/dist/cdn/7C5YD6LO.js +0 -4
  817. package/dist/cdn/7CE32JVN.js +0 -4
  818. package/dist/cdn/7EGAB64M.js +0 -4
  819. package/dist/cdn/7FALRF7J.js +0 -4
  820. package/dist/cdn/7FHLWU7C.js +0 -4
  821. package/dist/cdn/7G26RB77.js +0 -4
  822. package/dist/cdn/7GKA5GNA.js +0 -4
  823. package/dist/cdn/7IFGLWXF.js +0 -4
  824. package/dist/cdn/7KZIRMDF.js +0 -5
  825. package/dist/cdn/7RVZZSF5.js +0 -4
  826. package/dist/cdn/7RW3VLHE.js +0 -4
  827. package/dist/cdn/7TR5V3RK.js +0 -4
  828. package/dist/cdn/7TYZ5LDW.js +0 -4
  829. package/dist/cdn/7UWRDXN2.js +0 -4
  830. package/dist/cdn/7WH3SC25.js +0 -4
  831. package/dist/cdn/7XX2ZZVH.js +0 -4
  832. package/dist/cdn/7Z7VXOGW.js +0 -4
  833. package/dist/cdn/A25ILUJP.js +0 -4
  834. package/dist/cdn/A4FNDRFM.js +0 -4
  835. package/dist/cdn/A5XMI265.js +0 -4
  836. package/dist/cdn/A665EDYV.js +0 -4
  837. package/dist/cdn/AATMTEB7.js +0 -4
  838. package/dist/cdn/ABZBNXJT.js +0 -4
  839. package/dist/cdn/AEIHJKC5.js +0 -4
  840. package/dist/cdn/AFNI55TF.js +0 -4
  841. package/dist/cdn/AL3MNEWA.js +0 -4
  842. package/dist/cdn/ALTBYBQQ.js +0 -4
  843. package/dist/cdn/AOKPJ7NH.js +0 -4
  844. package/dist/cdn/APSWUPOP.js +0 -4
  845. package/dist/cdn/APXLD6DH.js +0 -4
  846. package/dist/cdn/AQ2UO6US.js +0 -4
  847. package/dist/cdn/AQLBK25Q.js +0 -4
  848. package/dist/cdn/AR7YGMWW.js +0 -4
  849. package/dist/cdn/AVVXNLOK.js +0 -4
  850. package/dist/cdn/AVWGOKQD.js +0 -4
  851. package/dist/cdn/AW766RL5.js +0 -4
  852. package/dist/cdn/AXWTXCVI.js +0 -4
  853. package/dist/cdn/AXYUDACL.js +0 -4
  854. package/dist/cdn/AYFRK3BQ.js +0 -4
  855. package/dist/cdn/AYJOYJON.js +0 -4
  856. package/dist/cdn/B2DB66RP.js +0 -4
  857. package/dist/cdn/B4XIO7MX.js +0 -4
  858. package/dist/cdn/B7MUSOA6.js +0 -4
  859. package/dist/cdn/BE2NCT6S.js +0 -4
  860. package/dist/cdn/BFCSOVJ2.js +0 -4
  861. package/dist/cdn/BFFIXZHX.js +0 -4
  862. package/dist/cdn/BGOY7SBK.js +0 -4
  863. package/dist/cdn/BNVVPQ7H.js +0 -4
  864. package/dist/cdn/BPACL5VT.js +0 -4
  865. package/dist/cdn/BRTPNSM5.js +0 -4
  866. package/dist/cdn/BRX6WXGB.js +0 -4
  867. package/dist/cdn/BUJ4IRLU.js +0 -4
  868. package/dist/cdn/BXONNDTZ.js +0 -4
  869. package/dist/cdn/BY2Z7X4G.js +0 -4
  870. package/dist/cdn/C43B6MDN.js +0 -4
  871. package/dist/cdn/C4IJASRB.js +0 -4
  872. package/dist/cdn/C6BCAJ6E.js +0 -4
  873. package/dist/cdn/C6IV2VUE.js +0 -4
  874. package/dist/cdn/C6QC6BUX.js +0 -4
  875. package/dist/cdn/CAJ534DU.js +0 -4
  876. package/dist/cdn/CENVPCRH.js +0 -4
  877. package/dist/cdn/CFVC6JOL.js +0 -4
  878. package/dist/cdn/CISLMYKO.js +0 -4
  879. package/dist/cdn/CJTQL6DF.js +0 -4
  880. package/dist/cdn/CK3VX655.js +0 -4
  881. package/dist/cdn/CMR6HSRH.js +0 -4
  882. package/dist/cdn/CNGJVC3D.js +0 -4
  883. package/dist/cdn/CPJN4MHO.js +0 -4
  884. package/dist/cdn/CRURIXFB.js +0 -11
  885. package/dist/cdn/CVQNZ74I.js +0 -4
  886. package/dist/cdn/CWYSEIOX.js +0 -4
  887. package/dist/cdn/D5ZCOW26.js +0 -4
  888. package/dist/cdn/D7HGKMXZ.js +0 -4
  889. package/dist/cdn/D7IEDUGO.js +0 -4
  890. package/dist/cdn/D7WHT3EE.js +0 -4
  891. package/dist/cdn/DBEXZ7JZ.js +0 -4
  892. package/dist/cdn/DCIU34OO.js +0 -4
  893. package/dist/cdn/DD2QZX57.js +0 -4
  894. package/dist/cdn/DDCGW5RI.js +0 -4
  895. package/dist/cdn/DEJRHY65.js +0 -4
  896. package/dist/cdn/DFCAWDWX.js +0 -4
  897. package/dist/cdn/DFQ7II7W.js +0 -12
  898. package/dist/cdn/DGZ6JAS2.js +0 -4
  899. package/dist/cdn/DHTNLNVK.js +0 -4
  900. package/dist/cdn/DIMOHQMT.js +0 -4
  901. package/dist/cdn/DKCRGXVN.js +0 -4
  902. package/dist/cdn/DNJJQTOA.js +0 -4
  903. package/dist/cdn/DRIPN273.js +0 -4
  904. package/dist/cdn/DV5GVBXU.js +0 -4
  905. package/dist/cdn/DW4MI4GF.js +0 -4
  906. package/dist/cdn/DWP3ZNJ5.js +0 -4
  907. package/dist/cdn/DY5U4AKH.js +0 -4
  908. package/dist/cdn/DZGB346J.js +0 -4
  909. package/dist/cdn/E23X54IP.js +0 -4
  910. package/dist/cdn/E4GP4WVJ.js +0 -4
  911. package/dist/cdn/EAMJVCGV.js +0 -4
  912. package/dist/cdn/EATRTPYT.js +0 -4
  913. package/dist/cdn/ECTQ3SQH.js +0 -4
  914. package/dist/cdn/EFNV2AGS.js +0 -4
  915. package/dist/cdn/EJWL43W6.js +0 -4
  916. package/dist/cdn/EK75WJWF.js +0 -4
  917. package/dist/cdn/EKLL25HA.js +0 -4
  918. package/dist/cdn/EN3GLPCH.js +0 -4
  919. package/dist/cdn/EOBNWBNB.js +0 -5
  920. package/dist/cdn/ERMVDWAR.js +0 -4
  921. package/dist/cdn/ES5GA3PJ.js +0 -4
  922. package/dist/cdn/ES7VERJB.js +0 -4
  923. package/dist/cdn/ESSM5V7J.js +0 -4
  924. package/dist/cdn/EUSTRKGX.js +0 -4
  925. package/dist/cdn/EWQBX74D.js +0 -4
  926. package/dist/cdn/EYHMBZVO.js +0 -4
  927. package/dist/cdn/F7A6VT5G.js +0 -4
  928. package/dist/cdn/F7NPPH7I.js +0 -4
  929. package/dist/cdn/FAENO3U3.js +0 -4
  930. package/dist/cdn/FBUULUKY.js +0 -4
  931. package/dist/cdn/FBZNSOXX.js +0 -4
  932. package/dist/cdn/FG26I5KG.js +0 -4
  933. package/dist/cdn/FITHKRXC.js +0 -4
  934. package/dist/cdn/FJO4HGVQ.js +0 -4
  935. package/dist/cdn/FKO6EC3L.js +0 -4
  936. package/dist/cdn/FMNQHI4L.js +0 -4
  937. package/dist/cdn/FNAQGIXD.js +0 -4
  938. package/dist/cdn/FSGH2HXV.js +0 -4
  939. package/dist/cdn/FSP642GD.js +0 -4
  940. package/dist/cdn/FV3BBLEB.js +0 -4
  941. package/dist/cdn/FVWA62LI.js +0 -4
  942. package/dist/cdn/FWH2LHPE.js +0 -4
  943. package/dist/cdn/FY6UT6UD.js +0 -4
  944. package/dist/cdn/FZAQ4F4G.js +0 -4
  945. package/dist/cdn/FZWSEUUZ.js +0 -4
  946. package/dist/cdn/G4PCFBUR.js +0 -4
  947. package/dist/cdn/G4VSW6SL.js +0 -25
  948. package/dist/cdn/G6KMDQAY.js +0 -4
  949. package/dist/cdn/G7UBYDDF.js +0 -4
  950. package/dist/cdn/GAZCD57Y.js +0 -4
  951. package/dist/cdn/GFFEK7ID.js +0 -4
  952. package/dist/cdn/GFHHQP6P.js +0 -4
  953. package/dist/cdn/GGKPGKQ4.js +0 -4
  954. package/dist/cdn/GHZVSDDV.js +0 -4
  955. package/dist/cdn/GJLVEP2J.js +0 -4
  956. package/dist/cdn/GJM5POK6.js +0 -4
  957. package/dist/cdn/GNMQOJ3L.js +0 -4
  958. package/dist/cdn/GOJIWBSI.js +0 -4
  959. package/dist/cdn/GOWLDRA5.js +0 -4
  960. package/dist/cdn/GOY24ZLK.js +0 -4
  961. package/dist/cdn/GQGUGAVN.js +0 -4
  962. package/dist/cdn/GWVWKFXO.js +0 -4
  963. package/dist/cdn/GYPDIS63.js +0 -4
  964. package/dist/cdn/GZRPU74B.js +0 -4
  965. package/dist/cdn/H3RLOLAS.js +0 -4
  966. package/dist/cdn/HA2MQCZE.js +0 -4
  967. package/dist/cdn/HB27YKWI.js +0 -4
  968. package/dist/cdn/HCZYIRRX.js +0 -4
  969. package/dist/cdn/HF5KTP2E.js +0 -4
  970. package/dist/cdn/HFI2UAWR.js +0 -4
  971. package/dist/cdn/HGB7M4XL.js +0 -4
  972. package/dist/cdn/HOFYIZBP.js +0 -4
  973. package/dist/cdn/HRWFXZL2.js +0 -4
  974. package/dist/cdn/HSH7KFLO.js +0 -4
  975. package/dist/cdn/HSWHJZK7.js +0 -4
  976. package/dist/cdn/HTJGYKVB.js +0 -8
  977. package/dist/cdn/HTX6JIWP.js +0 -4
  978. package/dist/cdn/HUZTJPKZ.js +0 -4
  979. package/dist/cdn/I3BNJGTG.js +0 -4
  980. package/dist/cdn/I5R33HN4.js +0 -4
  981. package/dist/cdn/I6PX6CG7.js +0 -4
  982. package/dist/cdn/I7M6RTYZ.js +0 -4
  983. package/dist/cdn/IAUIT3WP.js +0 -4
  984. package/dist/cdn/IEZPWUTA.js +0 -4
  985. package/dist/cdn/IFB4TQIK.js +0 -4
  986. package/dist/cdn/IFDSJD52.js +0 -4
  987. package/dist/cdn/IFOKAXG3.js +0 -4
  988. package/dist/cdn/IGIYFIS5.js +0 -4
  989. package/dist/cdn/IHXN2UAK.js +0 -4
  990. package/dist/cdn/IJFNVL5O.js +0 -4
  991. package/dist/cdn/IJYMTPAS.js +0 -4
  992. package/dist/cdn/IK5UQWVN.js +0 -4
  993. package/dist/cdn/INVVB6CR.js +0 -6
  994. package/dist/cdn/IT52GFII.js +0 -4
  995. package/dist/cdn/ITXUKW4J.js +0 -4
  996. package/dist/cdn/IUNDZTUD.js +0 -4
  997. package/dist/cdn/IW2AORJ7.js +0 -4
  998. package/dist/cdn/IXW2FDFW.js +0 -4
  999. package/dist/cdn/IZNIR2LX.js +0 -4
  1000. package/dist/cdn/J5CXUZLP.js +0 -4
  1001. package/dist/cdn/J6DFILFG.js +0 -4
  1002. package/dist/cdn/J742DCX2.js +0 -4
  1003. package/dist/cdn/J7R7WYNN.js +0 -4
  1004. package/dist/cdn/J7TK34NR.js +0 -4
  1005. package/dist/cdn/J7X7JQZT.js +0 -4
  1006. package/dist/cdn/JBL5TFVV.js +0 -4
  1007. package/dist/cdn/JFZ45ZJI.js +0 -4
  1008. package/dist/cdn/JH5KCLPW.js +0 -4
  1009. package/dist/cdn/JI2NIRNJ.js +0 -5
  1010. package/dist/cdn/JJNH4RHD.js +0 -4
  1011. package/dist/cdn/JKSWFFF4.js +0 -4
  1012. package/dist/cdn/JLNRGMTA.js +0 -4
  1013. package/dist/cdn/JNVXVLSN.js +0 -4
  1014. package/dist/cdn/JOJWVJDX.js +0 -4
  1015. package/dist/cdn/JPOVOHK7.js +0 -4
  1016. package/dist/cdn/JTDRMGAL.js +0 -4
  1017. package/dist/cdn/JUB2G4HG.js +0 -4
  1018. package/dist/cdn/JUU5V63M.js +0 -4
  1019. package/dist/cdn/JVA4DDAH.js +0 -4
  1020. package/dist/cdn/JVEWMJ24.js +0 -4
  1021. package/dist/cdn/JVR5YE5N.js +0 -4
  1022. package/dist/cdn/JWE5HSCY.js +0 -4
  1023. package/dist/cdn/JWOYDYY5.js +0 -4
  1024. package/dist/cdn/JXOQMKPH.js +0 -4
  1025. package/dist/cdn/K36MKQGS.js +0 -4
  1026. package/dist/cdn/K5A42UJC.js +0 -4
  1027. package/dist/cdn/KAHYOTH3.js +0 -4
  1028. package/dist/cdn/KBCBJNZQ.js +0 -4
  1029. package/dist/cdn/KDLBKU3I.js +0 -4
  1030. package/dist/cdn/KF76CPF4.js +0 -4
  1031. package/dist/cdn/KGQIRRTS.js +0 -4
  1032. package/dist/cdn/KH3PUYJX.js +0 -4
  1033. package/dist/cdn/KIJX6X3I.js +0 -4
  1034. package/dist/cdn/KLRGYVGR.js +0 -4
  1035. package/dist/cdn/KNAVELUV.js +0 -4
  1036. package/dist/cdn/KOZA5ITQ.js +0 -5470
  1037. package/dist/cdn/KQNMX2LX.js +0 -4
  1038. package/dist/cdn/KQQXBAEM.js +0 -4
  1039. package/dist/cdn/KTK3DRST.js +0 -4
  1040. package/dist/cdn/KXXTRE3F.js +0 -5
  1041. package/dist/cdn/KYUNH5YN.js +0 -4
  1042. package/dist/cdn/KZ3SRJ7G.js +0 -4
  1043. package/dist/cdn/L3PLPCTQ.js +0 -4
  1044. package/dist/cdn/L5JE727B.js +0 -4
  1045. package/dist/cdn/L5XQ7ZMO.js +0 -4
  1046. package/dist/cdn/L752ND35.js +0 -4
  1047. package/dist/cdn/L7SJEIGC.js +0 -4
  1048. package/dist/cdn/LAETVEAG.js +0 -4
  1049. package/dist/cdn/LAK7UIEL.js +0 -4
  1050. package/dist/cdn/LFSKUQQX.js +0 -4
  1051. package/dist/cdn/LFUYRNEO.js +0 -4
  1052. package/dist/cdn/LGNS67OZ.js +0 -4
  1053. package/dist/cdn/LHUDH5D5.js +0 -4
  1054. package/dist/cdn/LJGF7QOQ.js +0 -4
  1055. package/dist/cdn/LLH7LZ2S.js +0 -4
  1056. package/dist/cdn/LLSXLQB7.js +0 -5
  1057. package/dist/cdn/LMUKWSDF.js +0 -4
  1058. package/dist/cdn/LPDDGN62.js +0 -4
  1059. package/dist/cdn/LQSVAESY.js +0 -4
  1060. package/dist/cdn/LSCN5W6W.js +0 -6
  1061. package/dist/cdn/LVH3ROWK.js +0 -4
  1062. package/dist/cdn/LZQAOODL.js +0 -4
  1063. package/dist/cdn/M2KRU4JH.js +0 -4
  1064. package/dist/cdn/M3JSWH7L.js +0 -4
  1065. package/dist/cdn/M5AQLHYY.js +0 -4
  1066. package/dist/cdn/M75LVWXX.js +0 -4
  1067. package/dist/cdn/ME26MOM7.js +0 -4
  1068. package/dist/cdn/MF4BQO7K.js +0 -4
  1069. package/dist/cdn/MF7MNB4F.js +0 -4
  1070. package/dist/cdn/MHNJ3K3P.js +0 -4
  1071. package/dist/cdn/MJ7XWZUZ.js +0 -4
  1072. package/dist/cdn/MJB7LKS2.js +0 -4
  1073. package/dist/cdn/MKMSXPKI.js +0 -4
  1074. package/dist/cdn/ML5FX6E2.js +0 -4
  1075. package/dist/cdn/MPUVLM7T.js +0 -4
  1076. package/dist/cdn/MT5WPWZ3.js +0 -4
  1077. package/dist/cdn/MTYZYTZA.js +0 -4
  1078. package/dist/cdn/MYELTJCR.js +0 -4
  1079. package/dist/cdn/MZK3J2JS.js +0 -4
  1080. package/dist/cdn/MZRLFIA6.js +0 -4
  1081. package/dist/cdn/N4A7ZLG6.js +0 -4
  1082. package/dist/cdn/N4DLWFKO.js +0 -4
  1083. package/dist/cdn/N66PADPL.js +0 -41
  1084. package/dist/cdn/N72BLFJ2.js +0 -4
  1085. package/dist/cdn/NA5XIPBA.js +0 -42
  1086. package/dist/cdn/NBXC7ZXA.js +0 -4
  1087. package/dist/cdn/NC4THYRL.js +0 -4
  1088. package/dist/cdn/NCSPUXNG.js +0 -4
  1089. package/dist/cdn/NEPJVW7N.js +0 -4
  1090. package/dist/cdn/NFBJECRB.js +0 -4
  1091. package/dist/cdn/NGW5RAXQ.js +0 -4
  1092. package/dist/cdn/NKICO66R.js +0 -4
  1093. package/dist/cdn/NKLRARMN.js +0 -4
  1094. package/dist/cdn/NLWEU5KH.js +0 -4
  1095. package/dist/cdn/NM7P3DOB.js +0 -4
  1096. package/dist/cdn/NN7IGP4N.js +0 -4
  1097. package/dist/cdn/NR64EGFX.js +0 -4
  1098. package/dist/cdn/NUPUMWDD.js +0 -4
  1099. package/dist/cdn/NVQ63SBB.js +0 -4
  1100. package/dist/cdn/NXRIHPKB.js +0 -4
  1101. package/dist/cdn/NXUD3KFO.js +0 -4
  1102. package/dist/cdn/NXZIHSSF.js +0 -4
  1103. package/dist/cdn/NZYS2VSI.js +0 -4
  1104. package/dist/cdn/O2N34JSU.js +0 -4
  1105. package/dist/cdn/O473VZ5K.js +0 -4
  1106. package/dist/cdn/OCGZT4MO.js +0 -4
  1107. package/dist/cdn/ODMLCPRS.js +0 -4
  1108. package/dist/cdn/OEXJBA4V.js +0 -4
  1109. package/dist/cdn/OGFKTFVA.js +0 -4
  1110. package/dist/cdn/OH2DXA7C.js +0 -4
  1111. package/dist/cdn/OJTLGWMN.js +0 -4
  1112. package/dist/cdn/OK7EBESM.js +0 -4
  1113. package/dist/cdn/OMXV4TYX.js +0 -4
  1114. package/dist/cdn/ONXJWNV4.js +0 -4
  1115. package/dist/cdn/OS2NT67A.js +0 -4
  1116. package/dist/cdn/OS656KHH.js +0 -4
  1117. package/dist/cdn/OTAEFPF6.js +0 -4
  1118. package/dist/cdn/OUIAIXG4.js +0 -4
  1119. package/dist/cdn/OV2BFE6R.js +0 -4
  1120. package/dist/cdn/OYG4LKPV.js +0 -4
  1121. package/dist/cdn/OZDPM6MU.js +0 -4
  1122. package/dist/cdn/P25JSFWC.js +0 -4
  1123. package/dist/cdn/P2GT4GYN.js +0 -4
  1124. package/dist/cdn/P43KGU7T.js +0 -4
  1125. package/dist/cdn/P4T3JNGH.js +0 -4
  1126. package/dist/cdn/P6CR5IPF.js +0 -4
  1127. package/dist/cdn/PA3UUEW7.js +0 -4
  1128. package/dist/cdn/PA6U5Y5D.js +0 -4
  1129. package/dist/cdn/PAKUKNMA.js +0 -16
  1130. package/dist/cdn/PCP2XV2R.js +0 -4
  1131. package/dist/cdn/PEFH4H6L.js +0 -4
  1132. package/dist/cdn/PH6WIQYH.js +0 -4
  1133. package/dist/cdn/PI3652T5.js +0 -4
  1134. package/dist/cdn/PPNZ6475.js +0 -4
  1135. package/dist/cdn/PSD5ZCRL.js +0 -4
  1136. package/dist/cdn/PUTHWKRS.js +0 -4
  1137. package/dist/cdn/PVIS2JFV.js +0 -4
  1138. package/dist/cdn/PVKEQSNZ.js +0 -4
  1139. package/dist/cdn/PWXSGXGI.js +0 -4
  1140. package/dist/cdn/PXYOFLE7.js +0 -4
  1141. package/dist/cdn/PYSVH7G5.js +0 -4
  1142. package/dist/cdn/PZARZIUM.js +0 -4
  1143. package/dist/cdn/Q2WLH2DP.js +0 -4
  1144. package/dist/cdn/Q3NCPXG2.js +0 -4
  1145. package/dist/cdn/Q56BPBYP.js +0 -4
  1146. package/dist/cdn/Q65C2LGC.js +0 -6
  1147. package/dist/cdn/QCGQWPJZ.js +0 -4
  1148. package/dist/cdn/QGGOQ34V.js +0 -4
  1149. package/dist/cdn/QHNJ4VW2.js +0 -4
  1150. package/dist/cdn/QICTDN3R.js +0 -4
  1151. package/dist/cdn/QIL5K4IS.js +0 -4
  1152. package/dist/cdn/QLMSQSMF.js +0 -4
  1153. package/dist/cdn/QOGQ7ZUR.js +0 -4
  1154. package/dist/cdn/QOM5YUMI.js +0 -4
  1155. package/dist/cdn/QQZ4AYHR.js +0 -4
  1156. package/dist/cdn/QTY6M7IH.js +0 -4
  1157. package/dist/cdn/QZGVVHOX.js +0 -4
  1158. package/dist/cdn/R3533JAZ.js +0 -4
  1159. package/dist/cdn/R44LZAAQ.js +0 -4
  1160. package/dist/cdn/R727MXBW.js +0 -4
  1161. package/dist/cdn/RASIKKQH.js +0 -4
  1162. package/dist/cdn/RAUNHDIO.js +0 -4
  1163. package/dist/cdn/RAYHMZRT.js +0 -4
  1164. package/dist/cdn/RBMVYM2A.js +0 -4
  1165. package/dist/cdn/RBVRRPVZ.js +0 -4
  1166. package/dist/cdn/RBXHSIYL.js +0 -4
  1167. package/dist/cdn/RCEIVVTU.js +0 -4
  1168. package/dist/cdn/RCETGQY5.js +0 -4
  1169. package/dist/cdn/RHLW76AN.js +0 -4
  1170. package/dist/cdn/RJLZX4VB.js +0 -4
  1171. package/dist/cdn/RKG2TMUS.js +0 -4
  1172. package/dist/cdn/RLGZLBGU.js +0 -4
  1173. package/dist/cdn/RORNPPYL.js +0 -4
  1174. package/dist/cdn/RRI5KG6H.js +0 -4
  1175. package/dist/cdn/RVIQX4TL.js +0 -59
  1176. package/dist/cdn/RVWMSPJD.js +0 -4
  1177. package/dist/cdn/RWWJ2IPR.js +0 -4
  1178. package/dist/cdn/RYLBLPK6.js +0 -4
  1179. package/dist/cdn/S2DLCVTT.js +0 -4
  1180. package/dist/cdn/S4QWOL5P.js +0 -4
  1181. package/dist/cdn/S5DWTRL4.js +0 -4
  1182. package/dist/cdn/S5OIYIKM.js +0 -4
  1183. package/dist/cdn/S6IYZQOT.js +0 -4
  1184. package/dist/cdn/SASGPXWT.js +0 -4
  1185. package/dist/cdn/SBSJ5MAW.js +0 -4
  1186. package/dist/cdn/SCAWYQUM.js +0 -4
  1187. package/dist/cdn/SF244W5X.js +0 -4
  1188. package/dist/cdn/SFCCORCQ.js +0 -4
  1189. package/dist/cdn/SGQ3A6XO.js +0 -4
  1190. package/dist/cdn/SLQYQ62I.js +0 -4
  1191. package/dist/cdn/SNYEODUD.js +0 -4
  1192. package/dist/cdn/SOVA4JKF.js +0 -4
  1193. package/dist/cdn/SQZQ7Y2Q.js +0 -4
  1194. package/dist/cdn/SSVOTSIB.js +0 -4
  1195. package/dist/cdn/SSY476RZ.js +0 -51
  1196. package/dist/cdn/STICIP4V.js +0 -4
  1197. package/dist/cdn/STOVBQQS.js +0 -4
  1198. package/dist/cdn/STSCY3U6.js +0 -4
  1199. package/dist/cdn/STWJ5PR7.js +0 -4
  1200. package/dist/cdn/SU4EHFZQ.js +0 -4
  1201. package/dist/cdn/SWEJ7A3T.js +0 -4
  1202. package/dist/cdn/SWNZRPXN.js +0 -4
  1203. package/dist/cdn/SWXB3CXM.js +0 -4
  1204. package/dist/cdn/SX7CSKPR.js +0 -4
  1205. package/dist/cdn/SXFJTLBM.js +0 -4
  1206. package/dist/cdn/SYV6QMYF.js +0 -4
  1207. package/dist/cdn/SZAUBFQN.js +0 -4
  1208. package/dist/cdn/T2O6TM2W.js +0 -4
  1209. package/dist/cdn/T3AHPXXI.js +0 -4
  1210. package/dist/cdn/T5OOSQK3.js +0 -4
  1211. package/dist/cdn/T5WIKE4M.js +0 -4
  1212. package/dist/cdn/TBCVPSCI.js +0 -4
  1213. package/dist/cdn/TCG662RB.js +0 -4
  1214. package/dist/cdn/TEL2IQRL.js +0 -12
  1215. package/dist/cdn/TKRZSETV.js +0 -4
  1216. package/dist/cdn/TLRQ7F5J.js +0 -4
  1217. package/dist/cdn/TONDW4XK.js +0 -4
  1218. package/dist/cdn/TOR7V3SO.js +0 -4
  1219. package/dist/cdn/TRBZCSAL.js +0 -4
  1220. package/dist/cdn/TS54OOJX.js +0 -4
  1221. package/dist/cdn/TSLVLZT4.js +0 -4
  1222. package/dist/cdn/TV6NSSC4.js +0 -4
  1223. package/dist/cdn/TXV4WBUO.js +0 -4
  1224. package/dist/cdn/U2R57LYN.js +0 -4
  1225. package/dist/cdn/U4SUWSDN.js +0 -4
  1226. package/dist/cdn/U5DPUN3O.js +0 -4
  1227. package/dist/cdn/U6G6AGTB.js +0 -4
  1228. package/dist/cdn/UA2PDFPG.js +0 -4
  1229. package/dist/cdn/UCB75TBU.js +0 -4
  1230. package/dist/cdn/UDVGTAFP.js +0 -4
  1231. package/dist/cdn/UEF425SL.js +0 -4
  1232. package/dist/cdn/UGKQKCJG.js +0 -4
  1233. package/dist/cdn/UGT6QRPB.js +0 -4
  1234. package/dist/cdn/UH2O33ZA.js +0 -4
  1235. package/dist/cdn/UJQPW53E.js +0 -4
  1236. package/dist/cdn/UNAOVS6W.js +0 -4
  1237. package/dist/cdn/UQLYODB6.js +0 -4
  1238. package/dist/cdn/UR4ZTLHZ.js +0 -4
  1239. package/dist/cdn/URIK4U4G.js +0 -4
  1240. package/dist/cdn/UTG3S76H.js +0 -4
  1241. package/dist/cdn/UURSOLNM.js +0 -4
  1242. package/dist/cdn/UVKOOSZ5.js +0 -4
  1243. package/dist/cdn/UXRNXT5N.js +0 -4
  1244. package/dist/cdn/V3FEANMF.js +0 -4
  1245. package/dist/cdn/V3JMZANA.js +0 -4
  1246. package/dist/cdn/V5DBXXBR.js +0 -4
  1247. package/dist/cdn/V64Z6LJC.js +0 -4
  1248. package/dist/cdn/V7LYHZWH.js +0 -4
  1249. package/dist/cdn/VBBHPJRN.js +0 -4
  1250. package/dist/cdn/VDG3CS4C.js +0 -4
  1251. package/dist/cdn/VE3IG7OU.js +0 -4
  1252. package/dist/cdn/VF3LWROQ.js +0 -4
  1253. package/dist/cdn/VGRW2EDS.js +0 -4
  1254. package/dist/cdn/VIDQEEVI.js +0 -4
  1255. package/dist/cdn/VIK44SZU.js +0 -4
  1256. package/dist/cdn/VLH52FMS.js +0 -4
  1257. package/dist/cdn/VMY4MPPS.js +0 -4
  1258. package/dist/cdn/VPAHGKY6.js +0 -8
  1259. package/dist/cdn/VPEJTT72.js +0 -4
  1260. package/dist/cdn/VQ7DSNJI.js +0 -4
  1261. package/dist/cdn/VQMPWSDU.js +0 -4
  1262. package/dist/cdn/VQTQQYYV.js +0 -4
  1263. package/dist/cdn/VRY52TTE.js +0 -4
  1264. package/dist/cdn/VSDDPCCI.js +0 -4
  1265. package/dist/cdn/VT6CUKKN.js +0 -4
  1266. package/dist/cdn/VWXYTG7Q.js +0 -4
  1267. package/dist/cdn/VXAFB5TZ.js +0 -4
  1268. package/dist/cdn/VXLYC4EZ.js +0 -4
  1269. package/dist/cdn/VZMH5PUW.js +0 -4
  1270. package/dist/cdn/VZWOFLUE.js +0 -4
  1271. package/dist/cdn/W2ZCH47I.js +0 -4
  1272. package/dist/cdn/W32SBVH6.js +0 -4
  1273. package/dist/cdn/W55EMXJ7.js +0 -4
  1274. package/dist/cdn/W5HLFB6U.js +0 -4
  1275. package/dist/cdn/W5Y25SPE.js +0 -4
  1276. package/dist/cdn/W7SUECSB.js +0 -4
  1277. package/dist/cdn/WBNURXAV.js +0 -4
  1278. package/dist/cdn/WCUV7WGE.js +0 -4
  1279. package/dist/cdn/WCZN7FGJ.js +0 -4
  1280. package/dist/cdn/WI3SB2HL.js +0 -4
  1281. package/dist/cdn/WK5Y5APW.js +0 -4
  1282. package/dist/cdn/WKYTGUYX.js +0 -4
  1283. package/dist/cdn/WLDNHDWN.js +0 -4
  1284. package/dist/cdn/WOAVZUI7.js +0 -4
  1285. package/dist/cdn/WP77LWCO.js +0 -4
  1286. package/dist/cdn/WSCQCBEK.js +0 -4
  1287. package/dist/cdn/WT2JDYDN.js +0 -4
  1288. package/dist/cdn/WV5HD2WY.js +0 -4
  1289. package/dist/cdn/WWLLH5ID.js +0 -4
  1290. package/dist/cdn/WXV6TBUS.js +0 -4
  1291. package/dist/cdn/WY7KGQDR.js +0 -52
  1292. package/dist/cdn/X2MJJKHG.js +0 -4
  1293. package/dist/cdn/X3D2JMCN.js +0 -4
  1294. package/dist/cdn/X5BA5QAK.js +0 -4
  1295. package/dist/cdn/XCXAYNVO.js +0 -4
  1296. package/dist/cdn/XDYO5COW.js +0 -4
  1297. package/dist/cdn/XESLOXMW.js +0 -4
  1298. package/dist/cdn/XFE3DEAX.js +0 -4
  1299. package/dist/cdn/XJ6WJHSQ.js +0 -4
  1300. package/dist/cdn/XKALP6S3.js +0 -4
  1301. package/dist/cdn/XKBGZLRK.js +0 -4
  1302. package/dist/cdn/XLMSFDMP.js +0 -4
  1303. package/dist/cdn/XMUVXOQK.js +0 -4
  1304. package/dist/cdn/XOSVR3MH.js +0 -4
  1305. package/dist/cdn/XOU2UXNP.js +0 -4
  1306. package/dist/cdn/XPEWM3NO.js +0 -4
  1307. package/dist/cdn/XQSD67PV.js +0 -4
  1308. package/dist/cdn/XTHCXWTW.js +0 -4
  1309. package/dist/cdn/XVCSEV72.js +0 -4
  1310. package/dist/cdn/XWXVN55P.js +0 -9
  1311. package/dist/cdn/XXMSD3K4.js +0 -4
  1312. package/dist/cdn/Y2VK33F3.js +0 -4
  1313. package/dist/cdn/Y3GBBHIP.js +0 -4
  1314. package/dist/cdn/Y4LP4AQV.js +0 -4
  1315. package/dist/cdn/YBMHD46H.js +0 -4
  1316. package/dist/cdn/YE4QYPE5.js +0 -4
  1317. package/dist/cdn/YFJXV3BC.js +0 -4
  1318. package/dist/cdn/YFQODFXM.js +0 -4
  1319. package/dist/cdn/YG4TNY4M.js +0 -4
  1320. package/dist/cdn/YIWDAASG.js +0 -4
  1321. package/dist/cdn/YNTEKMO5.js +0 -4
  1322. package/dist/cdn/YQ4WQRJC.js +0 -4
  1323. package/dist/cdn/YUGA2DNS.js +0 -4
  1324. package/dist/cdn/YV56EJRT.js +0 -4
  1325. package/dist/cdn/YVNUNGUS.js +0 -4
  1326. package/dist/cdn/YYBAT4HV.js +0 -59
  1327. package/dist/cdn/YYYFZLWS.js +0 -4
  1328. package/dist/cdn/Z32IW5F4.js +0 -4
  1329. package/dist/cdn/Z3D6U244.js +0 -4
  1330. package/dist/cdn/Z4AV5AP2.js +0 -4
  1331. package/dist/cdn/Z7B35P2S.js +0 -4
  1332. package/dist/cdn/ZAIEM3E4.js +0 -4
  1333. package/dist/cdn/ZAOPC3JA.js +0 -4
  1334. package/dist/cdn/ZD4DUSQ5.js +0 -4
  1335. package/dist/cdn/ZEFK4ISC.js +0 -4
  1336. package/dist/cdn/ZFBX2Y5T.js +0 -4
  1337. package/dist/cdn/ZFCDNRSC.js +0 -4
  1338. package/dist/cdn/ZFNYVCQZ.js +0 -4
  1339. package/dist/cdn/ZFXUAY3B.js +0 -4
  1340. package/dist/cdn/ZG5DSDM6.js +0 -4
  1341. package/dist/cdn/ZGIKTZSX.js +0 -4
  1342. package/dist/cdn/ZIWG7ZMX.js +0 -4
  1343. package/dist/cdn/ZK4QBVRX.js +0 -4
  1344. package/dist/cdn/ZKDRTM5H.js +0 -4
  1345. package/dist/cdn/ZOHKG4H3.js +0 -4
  1346. package/dist/cdn/ZOMLHE3Z.js +0 -4
  1347. package/dist/cdn/ZP47KIEY.js +0 -4
  1348. package/dist/cdn/ZP563RYX.js +0 -4
  1349. package/dist/cdn/ZQWMOBBX.js +0 -4
  1350. package/dist/cdn/ZR74UIT7.js +0 -4
  1351. package/dist/cdn/ZRHI5FFC.js +0 -4
  1352. package/dist/cdn/ZRR76N6P.js +0 -4
  1353. package/dist/cdn/ZSFA3TMI.js +0 -4
  1354. package/dist/cdn/ZUTHG73P.js +0 -4
  1355. package/dist/cdn/ZUXA3NHV.js +0 -4
  1356. package/dist/cdn/ZVMPW6L4.js +0 -4
  1357. package/dist/cdn/ZVZA7DW3.js +0 -4
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.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};
@@ -0,0 +1,4 @@
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};
@@ -0,0 +1,4 @@
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};
@@ -0,0 +1,4 @@
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};
@@ -0,0 +1,4 @@
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};
@@ -0,0 +1,4 @@
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};
@@ -0,0 +1,4 @@
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)
@@ -0,0 +1,4 @@
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};
@@ -0,0 +1,4 @@
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)
@@ -0,0 +1,4 @@
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)
@@ -0,0 +1,4 @@
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};
@@ -0,0 +1,4 @@
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 c}from"./MY5BZA45.js";import{da as l}from"./LPEJOUBP.js";import"./3TNKNDPV.js";import"./TJDVSNHI.js";import"./FUIW32FS.js";import"./WNYS42WC.js";import"./2KO66RWN.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"./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{h as u}from"./6Q6IUBV7.js";import{c as _}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 d}from"./UBTOBJM4.js";import{a as b}from"./ZEVW66XA.js";import"./BO4PR4GE.js";import"./SJKJCIOP.js";import"./5XM36GWL.js";import"./4OPVNZOC.js";import{b as o,c as g,d as f,e as y,i as w}from"./ZNSSVZZQ.js";import"./UCWZ7JF2.js";import{a as h}from"./BIIGU5WC.js";import"./HXFWIAC7.js";import"./PJO2JLBW.js";import"./PV6LPOSO.js";async function O(e){let t=`${e.portalUrl}/sharing/rest/portals/self/roles?num=100`;return(await u(t,{authentication:e.requestOptions.authentication})).roles.map(i=>({name:i.name,id:i.id}))}var S=".sc-arcgis-hub-user-org-members-h{display:block;height:100%}.org-members-container.sc-arcgis-hub-user-org-members{display:flex;flex-direction:column;gap:2rem}.org-members__stats.sc-arcgis-hub-user-org-members{display:flex;width:100%;gap:1rem}.org-members__stats.sc-arcgis-hub-user-org-members arcgis-stat-card.sc-arcgis-hub-user-org-members{width:50%}",x=S,M=function(e,s,t,r){var a=arguments.length,i=a<3?s:r===null?r=Object.getOwnPropertyDescriptor(s,t):r,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,s,t,r);else for(var m=e.length-1;m>=0;m--)(n=e[m])&&(i=(a<3?n(i):a>3?n(s,t,i):n(s,t))||i);return a>3&&i&&Object.defineProperty(s,t,i),i},p=class{constructor(e){w(this,e),this.hubTelemetry=y(this,"hubTelemetry",7),this._roles=[],this.isMobile=!1,this.membersCount=void 0,this.newMembersCount=void 0,this.membersSelected=[],d(this,"handleMemberSelection")}handleMemberSelection(e){e.stopPropagation(),this.membersSelected=[...e.detail.portalUser]}async componentWillLoad(){await this.loadTranslations(),this.fetchStats();let e=await O(this._context),s=[{id:"org_admin",name:this.intl.t("facets.role.admin")},{id:"org_publisher",name:this.intl.t("facets.role.publisher")},{id:"org_user",name:this.intl.t("facets.role.user")}];this._roles=[...s,...e].sort((t,r)=>t.name.localeCompare(r.name))}get _context(){return _()}get query(){return{targetEntity:"portalUser",filters:[{predicates:[{orgid:this._context.currentUser.orgId}]}]}}async fetchStats(){let e=h(this.query),s=new Date().getDate();e.filters[0].predicates[0].joined={type:"date-range",from:new Date(new Date().setDate(s-30)).valueOf(),to:new Date().valueOf()};let[t,r]=await Promise.all([l(this.query,{requestOptions:this._context.hubRequestOptions}),l(e,{requestOptions:this._context.hubRequestOptions})]);this.membersCount=t.total,this.newMembersCount=r.total}async loadTranslations(){this.intl=await b.loadIntlForComponent(this.element)}get messageRecipients(){let e={type:"orgMember",id:this._context.currentUser.orgId,users:[]};return e.users=this.membersSelected.length?this.membersSelected:[],e}renderStats(){return o("div",{class:"org-members__stats"},o("arcgis-stat-card",{cardTitle:this.intl.t("stats.total.title"),key:"total",trailingText:this.intl.t("stats.total.trailingText"),value:this.membersCount&&this.intl.formatNumber(this.membersCount)}),o("arcgis-stat-card",{cardTitle:this.intl.t("stats.new.title"),key:"new",trailingText:this.intl.t("stats.new.trailingText"),value:this.newMembersCount&&this.intl.formatNumber(this.newMembersCount)}))}renderMessageButton(){return o("arcgis-hub-message",{recipients:this.messageRecipients})}get memberFacets(){let e=this._roles.map(r=>({label:r.name,key:r.id,selected:!1,predicates:[{role:r.id}]})),t=new Date().toISOString();return[{label:this.intl.t("facets.role.label"),key:"access",display:"multi-select",field:"access",pageSize:5,optionLimit:10,options:[...e],operation:"OR"},{label:this.intl.t("facets.lastLogin.label"),key:"lastlogin",display:"date-range",field:"lastlogin",max:t}]}renderMembersGallery(){return o("arcgis-hub-gallery",{"data-test":"members-gallery",facets:this.memberFacets,linkTarget:"siteRelative",mobileView:this.isMobile,onArcgisHubGallerySelect:this.handleMemberSelection,query:this.query,selectionMode:"multiple","show-back-to-top-btn":!0,"show-chips":!0,"show-facets":!0,"show-more-results-btn":!0,"show-results-count":!0,"show-search":!0,"show-sort":!0,showLayoutSwitcher:!this.isMobile,sortField:"username",sortOptions:["username","joined"]})}render(){return o(g,{key:"14fec29c354dfbeaaca574c64b0d181401fbc398","data-element":"org-members"},o("arcgis-hub-workspace-pane",{key:"0b692b9e070949d4accaa786d951267ba604900a",isMobile:this.isMobile},o("h1",{key:"363f6d2b84247b0247fb0f33c3680e5a5e709861",slot:"title"},this.intl.t("title")),o("span",{key:"93039866c543deaaf9eff19102650bac3d99d14b",slot:"primary-actions"},this.renderMessageButton()),o("div",{key:"682b1da3e26ba74b4dd1d629611ffe19ccfefff1",class:"org-members-container"},this.renderStats(),this.renderMembersGallery())))}static get assetsDirs(){return["locales"]}get element(){return f(this)}};M([c("_context")],p.prototype,"query",null);M([c("intl")],p.prototype,"memberFacets",null);p.style=x;export{p as arcgis_hub_user_org_members};
@@ -0,0 +1,4 @@
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:"\u0646\u0633\u0628\u0629 \u0645\u0626\u0648\u064A\u0629",values:"\u0642\u064A\u0645",standardizedValues:"\u0627\u0644\u0642\u064A\u0645 \u0627\u0644\u0645\u0639\u064A\u0627\u0631\u064A\u0629",count:"\u0639\u062F\u062F",aggregationOfValues:"${ aggregation } \u0645\u0646 \u0627\u0644\u0642\u064A\u0645",aggregationOfFieldName:"${ aggregation } \u0645\u0646 ${ fieldName }"},g={aggrFieldsByCategory:"${ aggregationFields } \u0628\u0640 ${ category }",aggrTypeCategory:"${ aggregationType } \u0628\u0640 ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } \u0645\u0646 ${ category } \u0645\u0646 ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } \u0645\u0646 ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } \u0644\u0640 ${ aggregationField } \u0645\u0646 ${ category } \u0645\u0646 ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } \u0644\u0640 ${ aggregationFields } \u0645\u0646 ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } \u0628\u0640 ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } \u0628\u0640 ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } \u0645\u0646 ${ xAxisField } \u0645\u0646 ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } \u0644\u0640 ${ aggregationField } \u0645\u0646 ${ xAxisField } \u0645\u0646 ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } \u0644\u0640 ${ aggregationFields } \u0645\u0646 ${ xAxisField }",distributionOfField:"\u062A\u0648\u0632\u064A\u0639 ${ valueField }",distributionOfFields:"\u062A\u0648\u0632\u064A\u0639 ${ valueFields }",distributionOfFieldsByCategory:"\u062A\u0648\u0632\u064A\u0639 ${ valueFields } \u0628\u0648\u0627\u0633\u0637\u0629 ${ category }",distributionOfFieldsByCategoryAndSplitBy:"\u062A\u0648\u0632\u064A\u0639 ${ valueFields } \u0628\u0648\u0627\u0633\u0637\u0629 ${ category } \u0648 ${ splitByField }",xAndY:"${ x } \u0648${ y }"},i={barChart:"\u0627\u0644\u0645\u062E\u0637\u0637 \u0627\u0644\u0634\u0631\u064A\u0637\u064A",lineChart:"\u0645\u062E\u0637\u0637 \u062E\u0637\u064A",pieChart:"\u0645\u062E\u0637\u0637 \u062F\u0627\u0626\u0631\u064A",histogram:"\u0645\u062F\u0631\u062C \u062A\u0643\u0631\u0627\u0631\u064A",scatterplot:"Scatterplot"},a={axisLabels:e,titleLabels:g,chartType:i};export{e as axisLabels,i as chartType,a as default,g as titleLabels};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
+ v0.32.0 */
4
+ import{e}from"./TNPHJQCC.js";var s=(r,t)=>e(r,t);export{s as a};