@esri/hub-web-components 0.32.1 → 0.32.3

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 (1358) hide show
  1. package/dist/cdn/22ZT5WC3.js +4 -0
  2. package/dist/cdn/24WDBBGB.js +5 -0
  3. package/dist/cdn/26K5OOLW.js +4 -0
  4. package/dist/cdn/26VIQ2FW.js +4 -0
  5. package/dist/cdn/2A6UYUB3.js +4 -0
  6. package/dist/cdn/2ABZIIIU.js +4 -0
  7. package/dist/cdn/2BDIIKDH.js +4 -0
  8. package/dist/cdn/2BZXB6VW.js +4 -0
  9. package/dist/cdn/2EY6XGEL.js +6 -0
  10. package/dist/cdn/2H7X4246.js +4 -0
  11. package/dist/cdn/2HVLD7HI.js +4 -0
  12. package/dist/cdn/2IXHYO4S.js +4 -0
  13. package/dist/cdn/2JR6F2HO.js +4 -0
  14. package/dist/cdn/2LFCU5V3.js +4 -0
  15. package/dist/cdn/2MCDP7G5.js +4 -0
  16. package/dist/cdn/2MYRTPML.js +4 -0
  17. package/dist/cdn/2NH7RUJJ.js +4 -0
  18. package/dist/cdn/2O4EOXTU.js +4 -0
  19. package/dist/cdn/2RC3DFI2.js +4 -0
  20. package/dist/cdn/2RUYY22A.js +4 -0
  21. package/dist/cdn/2SUCWRFM.js +4 -0
  22. package/dist/cdn/2THNXPTC.js +4 -0
  23. package/dist/cdn/2V3EUECW.js +4 -0
  24. package/dist/cdn/2X4AOCW7.js +4 -0
  25. package/dist/cdn/2ZFCBMZ4.js +25 -0
  26. package/dist/cdn/36EJSMVW.js +4 -0
  27. package/dist/cdn/37X6AFFB.js +4 -0
  28. package/dist/cdn/3AROOX5A.js +4 -0
  29. package/dist/cdn/3CYCMET4.js +4 -0
  30. package/dist/cdn/3E753YX2.js +4 -0
  31. package/dist/cdn/3E7SMYLU.js +4 -0
  32. package/dist/cdn/3FJUQIDH.js +4 -0
  33. package/dist/cdn/3FJXOZMQ.js +4 -0
  34. package/dist/cdn/3GCDTK3K.js +8 -0
  35. package/dist/cdn/3GVUL7TQ.js +4 -0
  36. package/dist/cdn/3IR6FYXA.js +4 -0
  37. package/dist/cdn/3IZJBRG2.js +4 -0
  38. package/dist/cdn/3JHUUCVA.js +52 -0
  39. package/dist/cdn/3KEZH3QT.js +4 -0
  40. package/dist/cdn/3LLJW7FZ.js +4 -0
  41. package/dist/cdn/3LUHZS3X.js +4 -0
  42. package/dist/cdn/3MJH5S7H.js +4 -0
  43. package/dist/cdn/3N352MSO.js +4 -0
  44. package/dist/cdn/3NQZYKPX.js +4 -0
  45. package/dist/cdn/3S5PIEVV.js +4 -0
  46. package/dist/cdn/3SZFMEUJ.js +4 -0
  47. package/dist/cdn/3ULNXUPG.js +4 -0
  48. package/dist/cdn/3VCKM6HZ.js +4 -0
  49. package/dist/cdn/3VFGJAML.js +4 -0
  50. package/dist/cdn/3WODMHDW.js +4 -0
  51. package/dist/cdn/44M3SMAM.js +4 -0
  52. package/dist/cdn/44XDMOPN.js +4 -0
  53. package/dist/cdn/4A6Y3KOP.js +9 -0
  54. package/dist/cdn/4D2UUBYW.js +4 -0
  55. package/dist/cdn/4IAD6JU6.js +4 -0
  56. package/dist/cdn/4KBEVE7D.js +4 -0
  57. package/dist/cdn/4KBVGUYB.js +4 -0
  58. package/dist/cdn/4PODAI77.js +4 -0
  59. package/dist/cdn/4R3I5TOR.js +4 -0
  60. package/dist/cdn/4SKWZECV.js +16 -0
  61. package/dist/cdn/4SPZJXOF.js +4 -0
  62. package/dist/cdn/4VKLKMAJ.js +4 -0
  63. package/dist/cdn/4WBNSO6Q.js +4 -0
  64. package/dist/cdn/4WMXRHY5.js +4 -0
  65. package/dist/cdn/4XDO644Y.js +4 -0
  66. package/dist/cdn/4ZHJQ7WD.js +4 -0
  67. package/dist/cdn/53D7GDXI.js +4 -0
  68. package/dist/cdn/55ETQDXS.js +4 -0
  69. package/dist/cdn/56DABUUG.js +4 -0
  70. package/dist/cdn/57MQNLOR.js +4 -0
  71. package/dist/cdn/5BKRW4MT.js +4 -0
  72. package/dist/cdn/5DPTYTUM.js +4 -0
  73. package/dist/cdn/5ETP5WOS.js +4 -0
  74. package/dist/cdn/5FFSCZE4.js +4 -0
  75. package/dist/cdn/5HQOMIVI.js +4 -0
  76. package/dist/cdn/5IDIY7IB.js +4 -0
  77. package/dist/cdn/5IWE7IPK.js +4 -0
  78. package/dist/cdn/5LBC4HQ7.js +4 -0
  79. package/dist/cdn/5NFXXZPG.js +4 -0
  80. package/dist/cdn/5S6USOCP.js +4 -0
  81. package/dist/cdn/5SMCVKP5.js +4 -0
  82. package/dist/cdn/5SNW6PLZ.js +4 -0
  83. package/dist/cdn/5SPRBFK6.js +4 -0
  84. package/dist/cdn/5TO4WF4E.js +4 -0
  85. package/dist/cdn/5UGIA53A.js +5 -0
  86. package/dist/cdn/5V2GV6Q4.js +4 -0
  87. package/dist/cdn/5XO72WNJ.js +4 -0
  88. package/dist/cdn/62B6GBLF.js +4 -0
  89. package/dist/cdn/62CY7X4O.js +4 -0
  90. package/dist/cdn/63KLZFNR.js +4 -0
  91. package/dist/cdn/63KUY7NN.js +4 -0
  92. package/dist/cdn/63P45VB7.js +5 -0
  93. package/dist/cdn/65BWPTYN.js +4 -0
  94. package/dist/cdn/67IJMWDN.js +4 -0
  95. package/dist/cdn/6BH43XZ7.js +59 -0
  96. package/dist/cdn/6CJUZ4BP.js +4 -0
  97. package/dist/cdn/6CL32XZY.js +4 -0
  98. package/dist/cdn/6CN6AS24.js +4 -0
  99. package/dist/cdn/6GTRJZ2M.js +4 -0
  100. package/dist/cdn/6IVXGJPX.js +4 -0
  101. package/dist/cdn/6JZFZT6Z.js +4 -0
  102. package/dist/cdn/6KKO6SJS.js +4 -0
  103. package/dist/cdn/6L6DLXCH.js +4 -0
  104. package/dist/cdn/6LQYDG6K.js +4 -0
  105. package/dist/cdn/6LTS3LV7.js +4 -0
  106. package/dist/cdn/6OCSBQ3H.js +4 -0
  107. package/dist/cdn/6OO735B4.js +4 -0
  108. package/dist/cdn/6P7W4IU5.js +4 -0
  109. package/dist/cdn/6QSZF27A.js +4 -0
  110. package/dist/cdn/6RKC3DSV.js +4 -0
  111. package/dist/cdn/6SFOAF7M.js +4 -0
  112. package/dist/cdn/6T4BO46A.js +4 -0
  113. package/dist/cdn/6VS36FD5.js +4 -0
  114. package/dist/cdn/6ZGCFYI6.js +4 -0
  115. package/dist/cdn/72IQCSRS.js +4 -0
  116. package/dist/cdn/73IG5BEI.js +4 -0
  117. package/dist/cdn/76AWIH5E.js +4 -0
  118. package/dist/cdn/7BETMZUB.js +4 -0
  119. package/dist/cdn/7BFA7XC2.js +4 -0
  120. package/dist/cdn/7BTANS6T.js +4 -0
  121. package/dist/cdn/7DKE5WUZ.js +4 -0
  122. package/dist/cdn/7E65KV6W.js +4 -0
  123. package/dist/cdn/7EF5VW5B.js +4 -0
  124. package/dist/cdn/7EFP4SFZ.js +4 -0
  125. package/dist/cdn/7EGIUE2I.js +4 -0
  126. package/dist/cdn/7ERJKOVQ.js +4 -0
  127. package/dist/cdn/7FQ7AINP.js +4 -0
  128. package/dist/cdn/7HUWH3UL.js +4 -0
  129. package/dist/cdn/7IDVMXL5.js +4 -0
  130. package/dist/cdn/7JJC23JR.js +4 -0
  131. package/dist/cdn/7JS4I7NR.js +42 -0
  132. package/dist/cdn/7NURBGUF.js +4 -0
  133. package/dist/cdn/7UZT5KVB.js +4 -0
  134. package/dist/cdn/7WBIVQRY.js +4 -0
  135. package/dist/cdn/7YHMA3RO.js +4 -0
  136. package/dist/cdn/7ZPMV7SC.js +4 -0
  137. package/dist/cdn/A2WN5VYS.js +4 -0
  138. package/dist/cdn/A7PMWXXG.js +4 -0
  139. package/dist/cdn/AAUZV2BW.js +11 -0
  140. package/dist/cdn/ABSZYMN4.js +4 -0
  141. package/dist/cdn/ABYGPI65.js +4 -0
  142. package/dist/cdn/AHFNMUVL.js +4 -0
  143. package/dist/cdn/AI7HQ6TG.js +4 -0
  144. package/dist/cdn/ANJAA7LH.js +4 -0
  145. package/dist/cdn/ARMWPIUV.js +4 -0
  146. package/dist/cdn/AV7MAEAN.js +5470 -0
  147. package/dist/cdn/AVNULXQC.js +4 -0
  148. package/dist/cdn/AWIIRHIG.js +4 -0
  149. package/dist/cdn/AWN6HL64.js +4 -0
  150. package/dist/cdn/B2AB3H3U.js +4 -0
  151. package/dist/cdn/B4DUTUMR.js +4 -0
  152. package/dist/cdn/B5RPG5MM.js +4 -0
  153. package/dist/cdn/B6OAAJ3P.js +4 -0
  154. package/dist/cdn/BASXOER3.js +4 -0
  155. package/dist/cdn/BAV2CNBU.js +4 -0
  156. package/dist/cdn/BFDNKSHW.js +4 -0
  157. package/dist/cdn/BFFXIFGV.js +4 -0
  158. package/dist/cdn/BFULWBBG.js +4 -0
  159. package/dist/cdn/BGGCIQIC.js +4 -0
  160. package/dist/cdn/BIOBKUH2.js +4 -0
  161. package/dist/cdn/BK2GEGXT.js +4 -0
  162. package/dist/cdn/BOXQJZTR.js +4 -0
  163. package/dist/cdn/BPDIKEPH.js +4 -0
  164. package/dist/cdn/BPHYN5OE.js +4 -0
  165. package/dist/cdn/BPO2WEEB.js +4 -0
  166. package/dist/cdn/BSVQ23GE.js +4 -0
  167. package/dist/cdn/BSWD4Y5Y.js +4 -0
  168. package/dist/cdn/BUFOR5RD.js +4 -0
  169. package/dist/cdn/BWDMMVOK.js +4 -0
  170. package/dist/cdn/BXHZMZ32.js +4 -0
  171. package/dist/cdn/BYW4JIIM.js +4 -0
  172. package/dist/cdn/BZG5PX57.js +4 -0
  173. package/dist/cdn/BZSQ3VN5.js +4 -0
  174. package/dist/cdn/C4YOVYY3.js +4 -0
  175. package/dist/cdn/CAM4JA6W.js +4 -0
  176. package/dist/cdn/CCYOF2LG.js +4 -0
  177. package/dist/cdn/CF2ZNQDW.js +4 -0
  178. package/dist/cdn/CFCUMLB7.js +4 -0
  179. package/dist/cdn/CGE5HJYT.js +4 -0
  180. package/dist/cdn/CH4EJEIG.js +4 -0
  181. package/dist/cdn/CHIC5SR7.js +4 -0
  182. package/dist/cdn/CJ6EAF5R.js +4 -0
  183. package/dist/cdn/CKVUEADX.js +4 -0
  184. package/dist/cdn/COWPHRSD.js +4 -0
  185. package/dist/cdn/CSNCAZBN.js +4 -0
  186. package/dist/cdn/CTTNOIEH.js +4 -0
  187. package/dist/cdn/CWT6ABZY.js +4 -0
  188. package/dist/cdn/D47VREM7.js +4 -0
  189. package/dist/cdn/D53DA5KM.js +4 -0
  190. package/dist/cdn/D7PB55LU.js +4 -0
  191. package/dist/cdn/DB7RJFOE.js +4 -0
  192. package/dist/cdn/DBVRGCL3.js +4 -0
  193. package/dist/cdn/DDJSJY5F.js +4 -0
  194. package/dist/cdn/DJNCHQU3.js +4 -0
  195. package/dist/cdn/DJWNJKKQ.js +4 -0
  196. package/dist/cdn/DKWYWJQR.js +4 -0
  197. package/dist/cdn/DN33NU2Q.js +4 -0
  198. package/dist/cdn/DNEIKFBI.js +4 -0
  199. package/dist/cdn/DNGD5QSK.js +4 -0
  200. package/dist/cdn/DRMHLYKR.js +4 -0
  201. package/dist/cdn/DTD3LDSN.js +4 -0
  202. package/dist/cdn/DVZNR5C6.js +4 -0
  203. package/dist/cdn/DX7W2VNQ.js +4 -0
  204. package/dist/cdn/DXOX3NI2.js +4 -0
  205. package/dist/cdn/DYSST27A.js +4 -0
  206. package/dist/cdn/EATB6MLQ.js +4 -0
  207. package/dist/cdn/EDXH37KW.js +4 -0
  208. package/dist/cdn/EFF4SDOO.js +4 -0
  209. package/dist/cdn/EHJMRYS2.js +4 -0
  210. package/dist/cdn/EHLUZOJB.js +4 -0
  211. package/dist/cdn/EKFYIZYF.js +4 -0
  212. package/dist/cdn/ELGPWNVA.js +4 -0
  213. package/dist/cdn/ELOOZRKN.js +4 -0
  214. package/dist/cdn/ELXQSWSO.js +4 -0
  215. package/dist/cdn/EMQFRLDW.js +4 -0
  216. package/dist/cdn/ENJA7KO2.js +4 -0
  217. package/dist/cdn/EQWXXKDJ.js +4 -0
  218. package/dist/cdn/ER4SGS6I.js +4 -0
  219. package/dist/cdn/ERM27XYB.js +4 -0
  220. package/dist/cdn/ERS7WZ2W.js +4 -0
  221. package/dist/cdn/ESMR2DUA.js +4 -0
  222. package/dist/cdn/ETERAEWT.js +4 -0
  223. package/dist/cdn/EV4WN4KY.js +4 -0
  224. package/dist/cdn/EVRFDNPM.js +4 -0
  225. package/dist/cdn/EXK5DOVN.js +4 -0
  226. package/dist/cdn/EXPUPLWW.js +4 -0
  227. package/dist/cdn/EZB3ZOXE.js +4 -0
  228. package/dist/cdn/F3DMG6FI.js +4 -0
  229. package/dist/cdn/F5G5HD6J.js +4 -0
  230. package/dist/cdn/F6C7NONK.js +4 -0
  231. package/dist/cdn/FA4A6UEN.js +4 -0
  232. package/dist/cdn/FBWLWMLX.js +4 -0
  233. package/dist/cdn/FCGMZV4C.js +4 -0
  234. package/dist/cdn/FEOUEYM4.js +4 -0
  235. package/dist/cdn/FGDZUSE7.js +4 -0
  236. package/dist/cdn/FGLMRQUW.js +8 -0
  237. package/dist/cdn/FH6TSH2Z.js +4 -0
  238. package/dist/cdn/FM7AATUG.js +4 -0
  239. package/dist/cdn/FMO6VHRP.js +4 -0
  240. package/dist/cdn/FP4RHGG4.js +4 -0
  241. package/dist/cdn/FQAUKHHX.js +4 -0
  242. package/dist/cdn/FQMIQT4K.js +4 -0
  243. package/dist/cdn/FRHPD7AJ.js +4 -0
  244. package/dist/cdn/FTY7BU3R.js +4 -0
  245. package/dist/cdn/FUU2DNRK.js +4 -0
  246. package/dist/cdn/FW2QRHA3.js +5 -0
  247. package/dist/cdn/G3JJ7VAE.js +4 -0
  248. package/dist/cdn/G6OT3ZQE.js +4 -0
  249. package/dist/cdn/GAEND6T7.js +4 -0
  250. package/dist/cdn/GAXXVCNX.js +4 -0
  251. package/dist/cdn/GBUYRDGN.js +4 -0
  252. package/dist/cdn/GCVSM272.js +4 -0
  253. package/dist/cdn/GD65BBY3.js +4 -0
  254. package/dist/cdn/GDJS4O5M.js +4 -0
  255. package/dist/cdn/GEPGKUXR.js +4 -0
  256. package/dist/cdn/GGDBVWTK.js +4 -0
  257. package/dist/cdn/GIMYORSK.js +4 -0
  258. package/dist/cdn/GJG4AQXW.js +4 -0
  259. package/dist/cdn/GLA23I3B.js +4 -0
  260. package/dist/cdn/GM7A54CR.js +51 -0
  261. package/dist/cdn/GPJ3DRGW.js +4 -0
  262. package/dist/cdn/GSFVB5GI.js +4 -0
  263. package/dist/cdn/GU5IP4QE.js +4 -0
  264. package/dist/cdn/GVKITKXP.js +4 -0
  265. package/dist/cdn/GZCOONBP.js +4 -0
  266. package/dist/cdn/H2VEHAYA.js +4 -0
  267. package/dist/cdn/H5QH6LM5.js +4 -0
  268. package/dist/cdn/H6TNLRKR.js +4 -0
  269. package/dist/cdn/HA5QVPHP.js +4 -0
  270. package/dist/cdn/HCJJXS5B.js +4 -0
  271. package/dist/cdn/HET5OWXG.js +4 -0
  272. package/dist/cdn/HFHQA32T.js +4 -0
  273. package/dist/cdn/HMX7WWKQ.js +4 -0
  274. package/dist/cdn/HN2MM7ML.js +4 -0
  275. package/dist/cdn/HN2Y4UDP.js +4 -0
  276. package/dist/cdn/HN6OTX5X.js +4 -0
  277. package/dist/cdn/HOALZT75.js +4 -0
  278. package/dist/cdn/HTKRFUYK.js +4 -0
  279. package/dist/cdn/HV7R7GVM.js +4 -0
  280. package/dist/cdn/HVPDJI2Q.js +4 -0
  281. package/dist/cdn/HVXCLXW4.js +4 -0
  282. package/dist/cdn/HW3CJJ7S.js +4 -0
  283. package/dist/cdn/HWVEGKCH.js +4 -0
  284. package/dist/cdn/HZFYERY3.js +4 -0
  285. package/dist/cdn/HZP7NAAY.js +4 -0
  286. package/dist/cdn/I2OZLIOP.js +4 -0
  287. package/dist/cdn/I3SXC74B.js +4 -0
  288. package/dist/cdn/I3U72YW3.js +4 -0
  289. package/dist/cdn/I5CNGODN.js +4 -0
  290. package/dist/cdn/I5DC4MCX.js +4 -0
  291. package/dist/cdn/IEECMH2B.js +4 -0
  292. package/dist/cdn/IEWHNICK.js +4 -0
  293. package/dist/cdn/IF7KWXGE.js +4 -0
  294. package/dist/cdn/IGC7QESK.js +4 -0
  295. package/dist/cdn/IHDRXZQK.js +4 -0
  296. package/dist/cdn/IJOZSAGM.js +4 -0
  297. package/dist/cdn/IKRLATBZ.js +4 -0
  298. package/dist/cdn/IKXDNVSH.js +4 -0
  299. package/dist/cdn/IPPSXEUF.js +4 -0
  300. package/dist/cdn/IU4WGG6D.js +4 -0
  301. package/dist/cdn/IWA5NQ6W.js +4 -0
  302. package/dist/cdn/IWHEMAXS.js +4 -0
  303. package/dist/cdn/IWOFWXVE.js +4 -0
  304. package/dist/cdn/IX5UAGDC.js +4 -0
  305. package/dist/cdn/IZVD6X6U.js +4 -0
  306. package/dist/cdn/J6L7BYIP.js +4 -0
  307. package/dist/cdn/JCN4T4PO.js +4 -0
  308. package/dist/cdn/JD6Q7KRR.js +4 -0
  309. package/dist/cdn/JDOVL4QT.js +4 -0
  310. package/dist/cdn/JDSHNLMP.js +4 -0
  311. package/dist/cdn/JDXKUUWJ.js +4 -0
  312. package/dist/cdn/JEI65PGF.js +4 -0
  313. package/dist/cdn/JEK5IN7M.js +4 -0
  314. package/dist/cdn/JERFJ3B7.js +4 -0
  315. package/dist/cdn/JG6Z32E6.js +4 -0
  316. package/dist/cdn/JGBICDJ6.js +4 -0
  317. package/dist/cdn/JHNLB5M2.js +4 -0
  318. package/dist/cdn/JIQCLV5A.js +4 -0
  319. package/dist/cdn/JLCNXZKY.js +4 -0
  320. package/dist/cdn/JNJZR3QX.js +4 -0
  321. package/dist/cdn/JPWBZBC4.js +4 -0
  322. package/dist/cdn/JRMDA2CG.js +4 -0
  323. package/dist/cdn/JTPHSJG3.js +4 -0
  324. package/dist/cdn/JU7VFMUJ.js +4 -0
  325. package/dist/cdn/JUAHHHOL.js +4 -0
  326. package/dist/cdn/JUIFZAHY.js +4 -0
  327. package/dist/cdn/JUUI5IWO.js +4 -0
  328. package/dist/cdn/JV4UXJNA.js +4 -0
  329. package/dist/cdn/JWGFEWPE.js +4 -0
  330. package/dist/cdn/JXDC7R6A.js +4 -0
  331. package/dist/cdn/K2SOB2GP.js +4 -0
  332. package/dist/cdn/K4YH3DVB.js +4 -0
  333. package/dist/cdn/K532BTVZ.js +4 -0
  334. package/dist/cdn/K5EKNE7H.js +6 -0
  335. package/dist/cdn/K5NEIW3U.js +4 -0
  336. package/dist/cdn/K7W5SEZJ.js +4 -0
  337. package/dist/cdn/KB3PGAUH.js +4 -0
  338. package/dist/cdn/KBS4GQJD.js +4 -0
  339. package/dist/cdn/KCZSNZ2C.js +4 -0
  340. package/dist/cdn/KGNMJQGU.js +12 -0
  341. package/dist/cdn/KGW3DX46.js +4 -0
  342. package/dist/cdn/KH3CR77Y.js +4 -0
  343. package/dist/cdn/KK5LM6IK.js +41 -0
  344. package/dist/cdn/KKZXVDCM.js +4 -0
  345. package/dist/cdn/KLHLUH5C.js +4 -0
  346. package/dist/cdn/KN6KTRGU.js +4 -0
  347. package/dist/cdn/KNS5N5LO.js +4 -0
  348. package/dist/cdn/KOPKCUBE.js +4 -0
  349. package/dist/cdn/KUIMK7T2.js +4 -0
  350. package/dist/cdn/KUSG5QVR.js +4 -0
  351. package/dist/cdn/KVIAJWX2.js +12 -0
  352. package/dist/cdn/KVRBNIKZ.js +4 -0
  353. package/dist/cdn/L3EYQXVK.js +4 -0
  354. package/dist/cdn/L6BFJAN2.js +4 -0
  355. package/dist/cdn/L6MYIZGW.js +4 -0
  356. package/dist/cdn/L6PKNSQU.js +4 -0
  357. package/dist/cdn/LCYITCE2.js +4 -0
  358. package/dist/cdn/LDB5HV6M.js +4 -0
  359. package/dist/cdn/LFDETX7M.js +4 -0
  360. package/dist/cdn/LFWLVYDO.js +4 -0
  361. package/dist/cdn/LG7BCMVE.js +4 -0
  362. package/dist/cdn/LGZ7JU26.js +4 -0
  363. package/dist/cdn/LNTNLVBC.js +4 -0
  364. package/dist/cdn/LO3XCG7F.js +4 -0
  365. package/dist/cdn/LOARLK3R.js +4 -0
  366. package/dist/cdn/LPYW6NYP.js +4 -0
  367. package/dist/cdn/LS2CADDE.js +4 -0
  368. package/dist/cdn/LSFIGOJO.js +4 -0
  369. package/dist/cdn/LSPU5YTH.js +4 -0
  370. package/dist/cdn/LT6XKUY7.js +4 -0
  371. package/dist/cdn/LTK75LVS.js +4 -0
  372. package/dist/cdn/LVAZT4E2.js +4 -0
  373. package/dist/cdn/LVMQCLTE.js +4 -0
  374. package/dist/cdn/LWMD32MX.js +4 -0
  375. package/dist/cdn/LXOQXQYL.js +4 -0
  376. package/dist/cdn/LYUWYU7N.js +4 -0
  377. package/dist/cdn/M3ITKLRG.js +4 -0
  378. package/dist/cdn/M54KI22J.js +4 -0
  379. package/dist/cdn/M5DD2J6V.js +4 -0
  380. package/dist/cdn/M65RU3IK.js +4 -0
  381. package/dist/cdn/M773UR6X.js +4 -0
  382. package/dist/cdn/M7X7T4RW.js +4 -0
  383. package/dist/cdn/MCJTRX2K.js +4 -0
  384. package/dist/cdn/MGAEVDEG.js +4 -0
  385. package/dist/cdn/MGPMTOCE.js +4 -0
  386. package/dist/cdn/MGZS2ZDX.js +4 -0
  387. package/dist/cdn/MHAJXK7J.js +4 -0
  388. package/dist/cdn/MJQMBIM7.js +4 -0
  389. package/dist/cdn/MNE6XY24.js +4 -0
  390. package/dist/cdn/MPRLPFST.js +4 -0
  391. package/dist/cdn/MRCNXKGO.js +4 -0
  392. package/dist/cdn/MRSI3V62.js +4 -0
  393. package/dist/cdn/MSJEFL7W.js +4 -0
  394. package/dist/cdn/MUGFDDJB.js +4 -0
  395. package/dist/cdn/MWQCQ57P.js +4 -0
  396. package/dist/cdn/MXI6JVEJ.js +4 -0
  397. package/dist/cdn/MXUO2SLZ.js +4 -0
  398. package/dist/cdn/N222SUQC.js +4 -0
  399. package/dist/cdn/N3WGDDNX.js +4 -0
  400. package/dist/cdn/N6WPG24W.js +4 -0
  401. package/dist/cdn/N7EZVLCR.js +4 -0
  402. package/dist/cdn/NBRMV2KX.js +4 -0
  403. package/dist/cdn/NCNNLI73.js +4 -0
  404. package/dist/cdn/NDNK3XPU.js +4 -0
  405. package/dist/cdn/NEYXQ67U.js +4 -0
  406. package/dist/cdn/NFPRUFWM.js +4 -0
  407. package/dist/cdn/NFXXBDFE.js +4 -0
  408. package/dist/cdn/NFY6AZB2.js +4 -0
  409. package/dist/cdn/NG6DRXWT.js +4 -0
  410. package/dist/cdn/NGGHH7BH.js +4 -0
  411. package/dist/cdn/NGPJN5LY.js +4 -0
  412. package/dist/cdn/NGVOSEZ4.js +4 -0
  413. package/dist/cdn/NI5HD6MA.js +4 -0
  414. package/dist/cdn/NJFIX6OR.js +4 -0
  415. package/dist/cdn/NKKYXVJ6.js +4 -0
  416. package/dist/cdn/NORCP4HA.js +4 -0
  417. package/dist/cdn/NPKXBSWR.js +4 -0
  418. package/dist/cdn/NSOATVAX.js +4 -0
  419. package/dist/cdn/NWRVKHMW.js +4 -0
  420. package/dist/cdn/NXIWN6NI.js +4 -0
  421. package/dist/cdn/NZMRTA5E.js +4 -0
  422. package/dist/cdn/NZZX2GK6.js +4 -0
  423. package/dist/cdn/O56RXNUG.js +4 -0
  424. package/dist/cdn/OBPJJOUW.js +4 -0
  425. package/dist/cdn/OEQK6BTD.js +4 -0
  426. package/dist/cdn/OFMDZXSN.js +4 -0
  427. package/dist/cdn/OJS3Y4VG.js +4 -0
  428. package/dist/cdn/OKNH2VJJ.js +4 -0
  429. package/dist/cdn/OLUIXPDF.js +4 -0
  430. package/dist/cdn/OMBCCANK.js +4 -0
  431. package/dist/cdn/OO52IFVU.js +4 -0
  432. package/dist/cdn/OPTWQJZX.js +4 -0
  433. package/dist/cdn/OQ7GWLNN.js +59 -0
  434. package/dist/cdn/OQVO2GRV.js +4 -0
  435. package/dist/cdn/OSUUI2KT.js +4 -0
  436. package/dist/cdn/OV5DI5PC.js +4 -0
  437. package/dist/cdn/OWB3OPZI.js +4 -0
  438. package/dist/cdn/OWJMDA2I.js +4 -0
  439. package/dist/cdn/OWKFBOJS.js +4 -0
  440. package/dist/cdn/OWVD67UO.js +4 -0
  441. package/dist/cdn/OY6LFE4X.js +4 -0
  442. package/dist/cdn/OYGTP2FM.js +4 -0
  443. package/dist/cdn/OZ6SZQKU.js +4 -0
  444. package/dist/cdn/OZKJGJ55.js +4 -0
  445. package/dist/cdn/P5WSFDAP.js +4 -0
  446. package/dist/cdn/P6DKPDPH.js +4 -0
  447. package/dist/cdn/P6ROI627.js +4 -0
  448. package/dist/cdn/PAKEHNL7.js +4 -0
  449. package/dist/cdn/PASNYB3V.js +4 -0
  450. package/dist/cdn/PBJKBON7.js +4 -0
  451. package/dist/cdn/PCQFFQ4Z.js +4 -0
  452. package/dist/cdn/PCUJ3UST.js +4 -0
  453. package/dist/cdn/PEN22LCR.js +4 -0
  454. package/dist/cdn/PEQAPHKG.js +4 -0
  455. package/dist/cdn/PGS73JJS.js +4 -0
  456. package/dist/cdn/PJXU4CG7.js +4 -0
  457. package/dist/cdn/PKWE72VB.js +4 -0
  458. package/dist/cdn/PLPN362T.js +4 -0
  459. package/dist/cdn/PN4IU2AZ.js +4 -0
  460. package/dist/cdn/POC7VZCC.js +4 -0
  461. package/dist/cdn/PWAHYXVP.js +4 -0
  462. package/dist/cdn/PXUH73XZ.js +4 -0
  463. package/dist/cdn/PYYY33EM.js +4 -0
  464. package/dist/cdn/Q2D5YTET.js +4 -0
  465. package/dist/cdn/Q2OF2GXC.js +4 -0
  466. package/dist/cdn/Q5SHEX2I.js +4 -0
  467. package/dist/cdn/Q7E5EQ5E.js +4 -0
  468. package/dist/cdn/QEPWEDF5.js +4 -0
  469. package/dist/cdn/QG7UUU2R.js +4 -0
  470. package/dist/cdn/QHBTAETV.js +4 -0
  471. package/dist/cdn/QJ53V4RT.js +4 -0
  472. package/dist/cdn/QJQBA5QW.js +4 -0
  473. package/dist/cdn/QPLG5FEH.js +4 -0
  474. package/dist/cdn/QSKNEQOO.js +4 -0
  475. package/dist/cdn/QSXMTH6M.js +4 -0
  476. package/dist/cdn/QTJMVHKS.js +4 -0
  477. package/dist/cdn/QTSWCXRY.js +6 -0
  478. package/dist/cdn/QUKK5FC3.js +4 -0
  479. package/dist/cdn/QUVAPJC6.js +4 -0
  480. package/dist/cdn/QZXOIZZF.js +4 -0
  481. package/dist/cdn/R2IL7IM7.js +4 -0
  482. package/dist/cdn/R3XZHDKH.js +4 -0
  483. package/dist/cdn/R6T3LJOM.js +4 -0
  484. package/dist/cdn/RB5KYRFS.js +4 -0
  485. package/dist/cdn/RBQIFZDG.js +4 -0
  486. package/dist/cdn/RCDBESR2.js +4 -0
  487. package/dist/cdn/RCXWROMO.js +4 -0
  488. package/dist/cdn/RD6IXRDW.js +4 -0
  489. package/dist/cdn/REWHOAK4.js +4 -0
  490. package/dist/cdn/RJNI3JS3.js +4 -0
  491. package/dist/cdn/RKZRG5U4.js +4 -0
  492. package/dist/cdn/RL4J4ETT.js +4 -0
  493. package/dist/cdn/RNUJZJ6H.js +4 -0
  494. package/dist/cdn/ROGM34ZG.js +4 -0
  495. package/dist/cdn/RQLWPJYO.js +4 -0
  496. package/dist/cdn/RQNF6F5M.js +4 -0
  497. package/dist/cdn/RRBQEBOM.js +24 -0
  498. package/dist/cdn/RRVPEU5R.js +4 -0
  499. package/dist/cdn/RT3JSTJS.js +4 -0
  500. package/dist/cdn/RTGZAZDR.js +4 -0
  501. package/dist/cdn/RV7PMVKT.js +4 -0
  502. package/dist/cdn/RWH7TKUI.js +4 -0
  503. package/dist/cdn/RWI2JI4E.js +4 -0
  504. package/dist/cdn/RYCFARED.js +4 -0
  505. package/dist/cdn/S2CG7FM6.js +4 -0
  506. package/dist/cdn/S3BEM4HP.js +4 -0
  507. package/dist/cdn/S3E3EZK3.js +4 -0
  508. package/dist/cdn/S3IZ2EGT.js +4 -0
  509. package/dist/cdn/S5UM7UH3.js +4 -0
  510. package/dist/cdn/S6DSDLLG.js +4 -0
  511. package/dist/cdn/S6E6PGN7.js +4 -0
  512. package/dist/cdn/S7M5H5IY.js +4 -0
  513. package/dist/cdn/SCBTVORO.js +4 -0
  514. package/dist/cdn/SCXWDFYD.js +4 -0
  515. package/dist/cdn/SDBZ75N6.js +4 -0
  516. package/dist/cdn/SFKGV3UE.js +4 -0
  517. package/dist/cdn/SRNLY5EO.js +4 -0
  518. package/dist/cdn/SSI3Q3UG.js +4 -0
  519. package/dist/cdn/SSK5R2IX.js +4 -0
  520. package/dist/cdn/SUDWZNET.js +5 -0
  521. package/dist/cdn/SVLKW5YA.js +4 -0
  522. package/dist/cdn/SWCDO3KF.js +4 -0
  523. package/dist/cdn/SXKFAQHP.js +4 -0
  524. package/dist/cdn/T5A3Z7H7.js +4 -0
  525. package/dist/cdn/T5AFA5X4.js +4 -0
  526. package/dist/cdn/T666KNAF.js +4 -0
  527. package/dist/cdn/T7SCLNJD.js +4 -0
  528. package/dist/cdn/TBWIIHFC.js +4 -0
  529. package/dist/cdn/TCPC2SSA.js +4 -0
  530. package/dist/cdn/TD7Z3U5Y.js +4 -0
  531. package/dist/cdn/TG5MUSIE.js +4 -0
  532. package/dist/cdn/TH35AQRW.js +4 -0
  533. package/dist/cdn/TLULRO7T.js +4 -0
  534. package/dist/cdn/TMIDWESB.js +4 -0
  535. package/dist/cdn/TMP66L5V.js +4 -0
  536. package/dist/cdn/TMZ4I3CJ.js +4 -0
  537. package/dist/cdn/TPP6TXMM.js +4 -0
  538. package/dist/cdn/TQS2FOFH.js +4 -0
  539. package/dist/cdn/TQS5VXQ6.js +4 -0
  540. package/dist/cdn/TR3UFJER.js +4 -0
  541. package/dist/cdn/TSAI6RJ3.js +4 -0
  542. package/dist/cdn/TUTJJVB4.js +4 -0
  543. package/dist/cdn/TWKYG7XR.js +4 -0
  544. package/dist/cdn/TYEBCLGV.js +4 -0
  545. package/dist/cdn/TYPRUOHN.js +4 -0
  546. package/dist/cdn/TYTEYV5I.js +4 -0
  547. package/dist/cdn/U2PGBLCF.js +4 -0
  548. package/dist/cdn/U2VRVRHC.js +4 -0
  549. package/dist/cdn/U5DQ5HDG.js +4 -0
  550. package/dist/cdn/U6XXI3J5.js +4 -0
  551. package/dist/cdn/UAYWXIAQ.js +4 -0
  552. package/dist/cdn/UCF5XNYT.js +4 -0
  553. package/dist/cdn/UCRVQL3B.js +4 -0
  554. package/dist/cdn/UD55GQNW.js +4 -0
  555. package/dist/cdn/UFIE54RQ.js +4 -0
  556. package/dist/cdn/UG5CGKTE.js +4 -0
  557. package/dist/cdn/UN4KEAHQ.js +4 -0
  558. package/dist/cdn/URTSKQEL.js +4 -0
  559. package/dist/cdn/UTHZTRDW.js +4 -0
  560. package/dist/cdn/UTWMTQJC.js +4 -0
  561. package/dist/cdn/UUGEFDBU.js +4 -0
  562. package/dist/cdn/UVBR2QRL.js +4 -0
  563. package/dist/cdn/UXLPI224.js +4 -0
  564. package/dist/cdn/V3IWLVMA.js +4 -0
  565. package/dist/cdn/VBCSFZLA.js +4 -0
  566. package/dist/cdn/VBYNAXRT.js +4 -0
  567. package/dist/cdn/VBZ4WSW4.js +4 -0
  568. package/dist/cdn/VCNFDTTA.js +4 -0
  569. package/dist/cdn/VDTS24VC.js +4 -0
  570. package/dist/cdn/VHMI52E3.js +4 -0
  571. package/dist/cdn/VIURZLNS.js +4 -0
  572. package/dist/cdn/VMT4NN7Y.js +4 -0
  573. package/dist/cdn/VP6KCFND.js +4 -0
  574. package/dist/cdn/VQFMTISD.js +4 -0
  575. package/dist/cdn/VRJSDG3R.js +4 -0
  576. package/dist/cdn/VRUGT2AT.js +4 -0
  577. package/dist/cdn/VSMBGR7W.js +4 -0
  578. package/dist/cdn/VSNPCSYC.js +4 -0
  579. package/dist/cdn/VTRBHMAW.js +4 -0
  580. package/dist/cdn/VTRQC6RW.js +4 -0
  581. package/dist/cdn/VUHOVH56.js +4 -0
  582. package/dist/cdn/VUMBGPLR.js +4 -0
  583. package/dist/cdn/VWWTAAM6.js +4 -0
  584. package/dist/cdn/VY5S76YX.js +4 -0
  585. package/dist/cdn/VZFBIHY7.js +4 -0
  586. package/dist/cdn/W2X4E5EZ.js +4 -0
  587. package/dist/cdn/W3CD7T7U.js +4 -0
  588. package/dist/cdn/W3M4XI5V.js +4 -0
  589. package/dist/cdn/WAVV6JWH.js +4 -0
  590. package/dist/cdn/WAZIZ47W.js +4 -0
  591. package/dist/cdn/WD7H2NL5.js +4 -0
  592. package/dist/cdn/WE74CVEL.js +4 -0
  593. package/dist/cdn/WGXP2SPD.js +4 -0
  594. package/dist/cdn/WJELIXED.js +4 -0
  595. package/dist/cdn/WLOFUU4J.js +4 -0
  596. package/dist/cdn/WN5OZOL7.js +4 -0
  597. package/dist/cdn/WQNZ6EUR.js +4 -0
  598. package/dist/cdn/WWNYBJ5P.js +4 -0
  599. package/dist/cdn/WZNTA4RU.js +4 -0
  600. package/dist/cdn/X3TTZ5IX.js +4 -0
  601. package/dist/cdn/X4L2RDLH.js +4 -0
  602. package/dist/cdn/X4RI2ADG.js +4 -0
  603. package/dist/cdn/X4WPRB6L.js +4 -0
  604. package/dist/cdn/X5HSH5KY.js +4 -0
  605. package/dist/cdn/XADC2LLU.js +4 -0
  606. package/dist/cdn/XAY3RTHO.js +4 -0
  607. package/dist/cdn/XBOJZ5ZD.js +4 -0
  608. package/dist/cdn/XETGBH4Q.js +4 -0
  609. package/dist/cdn/XFX3TTPZ.js +4 -0
  610. package/dist/cdn/XGHNLYMS.js +4 -0
  611. package/dist/cdn/XICNU5ZQ.js +4 -0
  612. package/dist/cdn/XJFO62GV.js +4 -0
  613. package/dist/cdn/XN65OFCM.js +4 -0
  614. package/dist/cdn/XQCQTKBK.js +4 -0
  615. package/dist/cdn/XRHHHL42.js +4 -0
  616. package/dist/cdn/XTQ2SEZX.js +4 -0
  617. package/dist/cdn/XVCLAJJK.js +4 -0
  618. package/dist/cdn/XVJYFHA5.js +4 -0
  619. package/dist/cdn/XWVZ4RTL.js +4 -0
  620. package/dist/cdn/XWZYRK7V.js +4 -0
  621. package/dist/cdn/Y2ZT3F2O.js +4 -0
  622. package/dist/cdn/Y3CXLILN.js +4 -0
  623. package/dist/cdn/Y7GI3PJO.js +4 -0
  624. package/dist/cdn/YAFGJDQU.js +4 -0
  625. package/dist/cdn/YC543NPJ.js +4 -0
  626. package/dist/cdn/YCJBT42F.js +4 -0
  627. package/dist/cdn/YEQAMQ2F.js +4 -0
  628. package/dist/cdn/YGBBGIBN.js +4 -0
  629. package/dist/cdn/YKCIHPKR.js +4 -0
  630. package/dist/cdn/YMUXEE2G.js +4 -0
  631. package/dist/cdn/YOJD36VR.js +4 -0
  632. package/dist/cdn/YPWXGZKO.js +4 -0
  633. package/dist/cdn/YS27TY43.js +4 -0
  634. package/dist/cdn/YSDQRWJ6.js +4 -0
  635. package/dist/cdn/YTMZP75R.js +4 -0
  636. package/dist/cdn/YWXV5F34.js +4 -0
  637. package/dist/cdn/YXLPGUCB.js +4 -0
  638. package/dist/cdn/YYSVIBEM.js +4 -0
  639. package/dist/cdn/YZZK54SW.js +5 -0
  640. package/dist/cdn/Z4SMKTGC.js +4 -0
  641. package/dist/cdn/ZAJ264G2.js +4 -0
  642. package/dist/cdn/ZB3QTGLC.js +4 -0
  643. package/dist/cdn/ZD7FD76V.js +4 -0
  644. package/dist/cdn/ZF762GSV.js +4 -0
  645. package/dist/cdn/ZHLISAKN.js +4 -0
  646. package/dist/cdn/ZI6O3OJQ.js +4 -0
  647. package/dist/cdn/ZIB7BV33.js +4 -0
  648. package/dist/cdn/ZJINSHKQ.js +4 -0
  649. package/dist/cdn/ZLRHKIL7.js +4 -0
  650. package/dist/cdn/ZQMTSKNW.js +4 -0
  651. package/dist/cdn/ZQQV7SQQ.js +4 -0
  652. package/dist/cdn/ZUBAWORR.js +4 -0
  653. package/dist/cdn/ZUR3HMHD.js +4 -0
  654. package/dist/cdn/ZV24XHZF.js +4 -0
  655. package/dist/cdn/ZVRQDTUX.js +4 -0
  656. package/dist/cdn/ZY75VSZM.js +4 -0
  657. package/dist/cdn/ZYTFBDX7.js +4 -0
  658. package/dist/cdn/assets/layout-container/t9n/messages.en.json +1 -1
  659. package/dist/cdn/index.js +2 -2
  660. package/dist/chunks/findColumnAndNodeIndex.js +1 -1
  661. package/dist/chunks/getResponsiveClasses.js +1 -1
  662. package/dist/chunks/interpolate-translations.js +3 -4
  663. package/dist/chunks/isNodeVisible.js +1 -1
  664. package/dist/chunks/layoutContext.js +1 -1
  665. package/dist/chunks/migrateTextCard.js +1 -1
  666. package/dist/chunks/processLayout.js +1 -1
  667. package/dist/chunks/runtime.js +1 -1
  668. package/dist/chunks/state.js +1 -1
  669. package/dist/chunks/typeGuards.js +1 -1
  670. package/dist/chunks/useGlobalContext.js +1 -1
  671. package/dist/chunks/useT9n.js +1 -1
  672. package/dist/chunks/util.js +1 -1
  673. package/dist/components/arcgis-chat-shell/customElement.js +1 -1
  674. package/dist/components/arcgis-chat-ui/customElement.js +1 -1
  675. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +1 -1
  676. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +1 -1
  677. package/dist/components/arcgis-hub-ai-assistant/customElement.js +1 -1
  678. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +1 -1
  679. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +1 -1
  680. package/dist/components/arcgis-hub-entity-status-card/customElement.js +1 -1
  681. package/dist/components/arcgis-hub-entity-view-layout/customElement.js +1 -1
  682. package/dist/components/arcgis-layout/customElement.js +1 -1
  683. package/dist/components/arcgis-layout-column/customElement.js +1 -1
  684. package/dist/components/arcgis-layout-container/customElement.js +10 -10
  685. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +1 -1
  686. package/dist/components/arcgis-layout-node-controls/customElement.js +1 -1
  687. package/dist/components/arcgis-layout-node-editor/customElement.js +1 -1
  688. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +1 -1
  689. package/dist/components/arcgis-layout-node-wrapper/customElement.js +1 -1
  690. package/dist/components/arcgis-layout-row/customElement.js +1 -1
  691. package/dist/components/arcgis-layout-section/customElement.js +1 -1
  692. package/dist/components/arcgis-nav-card/customElement.js +1 -1
  693. package/dist/components/arcgis-text-card/customElement.js +1 -1
  694. package/dist/components/layouts/components/layout-node/customElement.js +1 -1
  695. package/dist/docs/api.json +1 -1
  696. package/dist/docs/docs.json +1 -1
  697. package/dist/docs/web-types.json +1 -1
  698. package/dist/embed-config.js +1 -1
  699. package/dist/index.js +1 -1
  700. package/dist/loader.js +1 -1
  701. package/package.json +1 -1
  702. package/dist/cdn/23DFNR5W.js +0 -4
  703. package/dist/cdn/247YX6UX.js +0 -4
  704. package/dist/cdn/24NKSYZ5.js +0 -4
  705. package/dist/cdn/252COTYJ.js +0 -4
  706. package/dist/cdn/2BI3SA4J.js +0 -4
  707. package/dist/cdn/2BYNNHUG.js +0 -4
  708. package/dist/cdn/2HG74B2C.js +0 -4
  709. package/dist/cdn/2IMBSFAO.js +0 -4
  710. package/dist/cdn/2Q66MLVY.js +0 -4
  711. package/dist/cdn/2TIRNDKV.js +0 -4
  712. package/dist/cdn/2TPGZZC5.js +0 -4
  713. package/dist/cdn/2W6SOTVM.js +0 -4
  714. package/dist/cdn/2WJGYC77.js +0 -4
  715. package/dist/cdn/2WLQ5JOM.js +0 -4
  716. package/dist/cdn/327AQL24.js +0 -4
  717. package/dist/cdn/32ZTR2P2.js +0 -4
  718. package/dist/cdn/342YESPX.js +0 -4
  719. package/dist/cdn/35CFLCYL.js +0 -4
  720. package/dist/cdn/35YB27OZ.js +0 -4
  721. package/dist/cdn/366PKAWJ.js +0 -6
  722. package/dist/cdn/36EWRCSE.js +0 -4
  723. package/dist/cdn/37TIBIX4.js +0 -4
  724. package/dist/cdn/37U3OBY7.js +0 -4
  725. package/dist/cdn/3AL42NLL.js +0 -4
  726. package/dist/cdn/3BT5AIOF.js +0 -4
  727. package/dist/cdn/3BYTDTWJ.js +0 -4
  728. package/dist/cdn/3FJQIHVV.js +0 -4
  729. package/dist/cdn/3FNBXQN5.js +0 -8
  730. package/dist/cdn/3G6G5HAR.js +0 -4
  731. package/dist/cdn/3GM6RSP7.js +0 -4
  732. package/dist/cdn/3J3ANGYP.js +0 -4
  733. package/dist/cdn/3JVI3EMD.js +0 -4
  734. package/dist/cdn/3P4PSFF5.js +0 -4
  735. package/dist/cdn/3PPJLNK2.js +0 -4
  736. package/dist/cdn/3SIWBUIC.js +0 -4
  737. package/dist/cdn/3SQ5XCI4.js +0 -4
  738. package/dist/cdn/3TJHWYKF.js +0 -4
  739. package/dist/cdn/3TNKSJG6.js +0 -4
  740. package/dist/cdn/3TQBGZY4.js +0 -4
  741. package/dist/cdn/3UE7MFMJ.js +0 -4
  742. package/dist/cdn/3WFWVXXU.js +0 -4
  743. package/dist/cdn/3WI2PJW7.js +0 -4
  744. package/dist/cdn/3WNPRJTI.js +0 -4
  745. package/dist/cdn/3WPKLKTH.js +0 -4
  746. package/dist/cdn/42QT6XKL.js +0 -4
  747. package/dist/cdn/43S4ZRZ6.js +0 -4
  748. package/dist/cdn/44KTYE4A.js +0 -4
  749. package/dist/cdn/44OMQG7R.js +0 -4
  750. package/dist/cdn/45JKNTZK.js +0 -4
  751. package/dist/cdn/45KKLUEZ.js +0 -4
  752. package/dist/cdn/45OXTPWH.js +0 -4
  753. package/dist/cdn/466H3MKY.js +0 -4
  754. package/dist/cdn/4AGMEFOG.js +0 -4
  755. package/dist/cdn/4CUKWN6A.js +0 -4
  756. package/dist/cdn/4DVFCVIO.js +0 -4
  757. package/dist/cdn/4ELRJZLG.js +0 -4
  758. package/dist/cdn/4GZNYIY4.js +0 -4
  759. package/dist/cdn/4JIUEVZH.js +0 -4
  760. package/dist/cdn/4PVSTR2O.js +0 -4
  761. package/dist/cdn/4Q3ZYBX6.js +0 -4
  762. package/dist/cdn/4VWZHITG.js +0 -4
  763. package/dist/cdn/4X7GWMFQ.js +0 -4
  764. package/dist/cdn/4YB5ISE5.js +0 -4
  765. package/dist/cdn/4ZOYDV66.js +0 -4
  766. package/dist/cdn/54D5PXK2.js +0 -4
  767. package/dist/cdn/54R46NPN.js +0 -4
  768. package/dist/cdn/55UU2L6W.js +0 -4
  769. package/dist/cdn/55Y6CTHN.js +0 -4
  770. package/dist/cdn/56QTPUMN.js +0 -4
  771. package/dist/cdn/56Y6TBYP.js +0 -5
  772. package/dist/cdn/5BLZQU6M.js +0 -4
  773. package/dist/cdn/5DEVZOSH.js +0 -4
  774. package/dist/cdn/5FA6T4S2.js +0 -4
  775. package/dist/cdn/5GVREOSA.js +0 -4
  776. package/dist/cdn/5IJ5WNSY.js +0 -4
  777. package/dist/cdn/5JDUFSFB.js +0 -4
  778. package/dist/cdn/5LXLEFL4.js +0 -4
  779. package/dist/cdn/5NAVVZVB.js +0 -4
  780. package/dist/cdn/5NWMKQK2.js +0 -4
  781. package/dist/cdn/5T7UUDPW.js +0 -4
  782. package/dist/cdn/5UMWZA4S.js +0 -4
  783. package/dist/cdn/5XNCOTKW.js +0 -4
  784. package/dist/cdn/5XV75OID.js +0 -5470
  785. package/dist/cdn/5YU5IZMA.js +0 -4
  786. package/dist/cdn/5Z3R62BW.js +0 -5
  787. package/dist/cdn/5ZL3QTV2.js +0 -4
  788. package/dist/cdn/62ETDWQS.js +0 -4
  789. package/dist/cdn/62LCUMR6.js +0 -6
  790. package/dist/cdn/62V6QHFS.js +0 -4
  791. package/dist/cdn/65J7VCGP.js +0 -4
  792. package/dist/cdn/65XKDHPE.js +0 -4
  793. package/dist/cdn/6BQDGFDG.js +0 -4
  794. package/dist/cdn/6CINOQI6.js +0 -4
  795. package/dist/cdn/6CNLUO5M.js +0 -4
  796. package/dist/cdn/6DM5QBLU.js +0 -4
  797. package/dist/cdn/6ENTXYOW.js +0 -4
  798. package/dist/cdn/6H3O76X6.js +0 -4
  799. package/dist/cdn/6JZDKCVR.js +0 -4
  800. package/dist/cdn/6MV6VE72.js +0 -4
  801. package/dist/cdn/6NY5NHJT.js +0 -4
  802. package/dist/cdn/6OPHIPTA.js +0 -4
  803. package/dist/cdn/6OZG2QCE.js +0 -4
  804. package/dist/cdn/6QFJ6EQM.js +0 -4
  805. package/dist/cdn/6UPBWZEV.js +0 -4
  806. package/dist/cdn/6UWGYV4A.js +0 -4
  807. package/dist/cdn/6W3F5A57.js +0 -4
  808. package/dist/cdn/6XQF2BY7.js +0 -4
  809. package/dist/cdn/75Z6PQX2.js +0 -4
  810. package/dist/cdn/76ODF2ZC.js +0 -4
  811. package/dist/cdn/7A6NLQYN.js +0 -4
  812. package/dist/cdn/7D3W7VKD.js +0 -4
  813. package/dist/cdn/7DHC3YHM.js +0 -4
  814. package/dist/cdn/7EOT2YM3.js +0 -12
  815. package/dist/cdn/7FIH2D6H.js +0 -4
  816. package/dist/cdn/7FRQ2S2C.js +0 -4
  817. package/dist/cdn/7G4IAOAB.js +0 -4
  818. package/dist/cdn/7IGMDG46.js +0 -4
  819. package/dist/cdn/7JVGCLDR.js +0 -4
  820. package/dist/cdn/7L6FNHMS.js +0 -4
  821. package/dist/cdn/7LUAK6BW.js +0 -4
  822. package/dist/cdn/7NQGNPJS.js +0 -4
  823. package/dist/cdn/7OBIU5SN.js +0 -4
  824. package/dist/cdn/7OS65ZA3.js +0 -4
  825. package/dist/cdn/7STSSL3L.js +0 -4
  826. package/dist/cdn/7TIUDTMH.js +0 -4
  827. package/dist/cdn/7W4GYEEZ.js +0 -4
  828. package/dist/cdn/7W6UKQVI.js +0 -4
  829. package/dist/cdn/7Y2TS73H.js +0 -4
  830. package/dist/cdn/7YOSSFCF.js +0 -4
  831. package/dist/cdn/7ZX5YCR7.js +0 -4
  832. package/dist/cdn/A32ZRAT4.js +0 -4
  833. package/dist/cdn/A46VYNTH.js +0 -4
  834. package/dist/cdn/A6UO3BBZ.js +0 -4
  835. package/dist/cdn/AAUTFXPX.js +0 -4
  836. package/dist/cdn/AAXBTTYR.js +0 -4
  837. package/dist/cdn/ABBZZXDD.js +0 -4
  838. package/dist/cdn/ADMMRW2D.js +0 -4
  839. package/dist/cdn/AFPIUXCW.js +0 -4
  840. package/dist/cdn/AH62BJBM.js +0 -4
  841. package/dist/cdn/AH6DDGMA.js +0 -4
  842. package/dist/cdn/AJUT46CH.js +0 -51
  843. package/dist/cdn/ALTLWY54.js +0 -4
  844. package/dist/cdn/AMEYWY3Z.js +0 -4
  845. package/dist/cdn/ANUSZH4J.js +0 -4
  846. package/dist/cdn/AO5HXIOZ.js +0 -4
  847. package/dist/cdn/AOG5VV33.js +0 -4
  848. package/dist/cdn/APMYQ4Q3.js +0 -4
  849. package/dist/cdn/ASUOEJLX.js +0 -4
  850. package/dist/cdn/AVHDXXXK.js +0 -4
  851. package/dist/cdn/AW4DJ36U.js +0 -4
  852. package/dist/cdn/AWIR4TZZ.js +0 -4
  853. package/dist/cdn/AX3YAAEU.js +0 -4
  854. package/dist/cdn/AYTUTBBZ.js +0 -4
  855. package/dist/cdn/B7P4TNAK.js +0 -4
  856. package/dist/cdn/B7Q26C6A.js +0 -4
  857. package/dist/cdn/B7XHYF74.js +0 -4
  858. package/dist/cdn/BGRKJZ36.js +0 -4
  859. package/dist/cdn/BJQ53UKX.js +0 -4
  860. package/dist/cdn/BLDCAMYI.js +0 -6
  861. package/dist/cdn/BMDWL7UA.js +0 -4
  862. package/dist/cdn/BMV7SNOQ.js +0 -4
  863. package/dist/cdn/BRDPZA7U.js +0 -4
  864. package/dist/cdn/BRY5NATQ.js +0 -4
  865. package/dist/cdn/BYVZ453Z.js +0 -4
  866. package/dist/cdn/BYZKRA6W.js +0 -4
  867. package/dist/cdn/BZHL7RAH.js +0 -4
  868. package/dist/cdn/C4I34NZZ.js +0 -4
  869. package/dist/cdn/CAF6ZJB5.js +0 -4
  870. package/dist/cdn/CASVVB3L.js +0 -4
  871. package/dist/cdn/CCGHGMMC.js +0 -4
  872. package/dist/cdn/CCU7QSTL.js +0 -4
  873. package/dist/cdn/CDLNJVAX.js +0 -4
  874. package/dist/cdn/CDWZ4S7J.js +0 -4
  875. package/dist/cdn/CE7LGM7B.js +0 -4
  876. package/dist/cdn/CFKHHYAD.js +0 -4
  877. package/dist/cdn/CGSL553A.js +0 -4
  878. package/dist/cdn/CH6SCBPW.js +0 -4
  879. package/dist/cdn/CHUYMD7P.js +0 -4
  880. package/dist/cdn/CIN4W6UB.js +0 -4
  881. package/dist/cdn/CJJISNUW.js +0 -4
  882. package/dist/cdn/CJO6EL34.js +0 -4
  883. package/dist/cdn/CK4UKNUI.js +0 -4
  884. package/dist/cdn/CKYCLHIG.js +0 -4
  885. package/dist/cdn/CLNOQM5R.js +0 -4
  886. package/dist/cdn/CPJUJP3G.js +0 -4
  887. package/dist/cdn/CS6MGJQO.js +0 -4
  888. package/dist/cdn/CSTIUTYZ.js +0 -4
  889. package/dist/cdn/CUKFO4UO.js +0 -4
  890. package/dist/cdn/CZBPQLN5.js +0 -4
  891. package/dist/cdn/D3ATGTTM.js +0 -4
  892. package/dist/cdn/D7A5TOJK.js +0 -4
  893. package/dist/cdn/DBCTANFI.js +0 -4
  894. package/dist/cdn/DCUK3QGK.js +0 -4
  895. package/dist/cdn/DDRJ3E47.js +0 -5
  896. package/dist/cdn/DEGVUDKH.js +0 -4
  897. package/dist/cdn/DF2JQJ47.js +0 -4
  898. package/dist/cdn/DFUXY44J.js +0 -4
  899. package/dist/cdn/DG6NH42E.js +0 -4
  900. package/dist/cdn/DGLGW5E5.js +0 -4
  901. package/dist/cdn/DIKA5NN7.js +0 -4
  902. package/dist/cdn/DL23JAVM.js +0 -4
  903. package/dist/cdn/DMATKBWY.js +0 -4
  904. package/dist/cdn/DOKOZ6AO.js +0 -4
  905. package/dist/cdn/DP5LRGRE.js +0 -4
  906. package/dist/cdn/DPIFEGCA.js +0 -4
  907. package/dist/cdn/DQG3R2ON.js +0 -4
  908. package/dist/cdn/DRILUTHB.js +0 -4
  909. package/dist/cdn/DSWH3BSZ.js +0 -4
  910. package/dist/cdn/DV7YVTBM.js +0 -4
  911. package/dist/cdn/DW2VE6RB.js +0 -4
  912. package/dist/cdn/E4S3VMJ4.js +0 -4
  913. package/dist/cdn/E4VKNN7Z.js +0 -4
  914. package/dist/cdn/E55PIZTP.js +0 -59
  915. package/dist/cdn/E5WTEMI4.js +0 -4
  916. package/dist/cdn/E5ZRBHF6.js +0 -4
  917. package/dist/cdn/E7EC6IY6.js +0 -4
  918. package/dist/cdn/EAYJYAVD.js +0 -4
  919. package/dist/cdn/EBZ2LG2B.js +0 -4
  920. package/dist/cdn/EEIFQP4J.js +0 -4
  921. package/dist/cdn/EGN5K4R5.js +0 -4
  922. package/dist/cdn/EK24XXPC.js +0 -4
  923. package/dist/cdn/EL3KJKD4.js +0 -4
  924. package/dist/cdn/ELJW6376.js +0 -4
  925. package/dist/cdn/EMIMWH6T.js +0 -4
  926. package/dist/cdn/ETE7XFXI.js +0 -4
  927. package/dist/cdn/EUAXXENR.js +0 -4
  928. package/dist/cdn/EVRWTMYM.js +0 -4
  929. package/dist/cdn/EWNXAGVT.js +0 -4
  930. package/dist/cdn/EWWZKLPK.js +0 -9
  931. package/dist/cdn/EX7PGREB.js +0 -4
  932. package/dist/cdn/EXF5JSJO.js +0 -4
  933. package/dist/cdn/F2VAPLVS.js +0 -4
  934. package/dist/cdn/F4A7BCAB.js +0 -4
  935. package/dist/cdn/F4CHQB7A.js +0 -4
  936. package/dist/cdn/F4LZ6RO6.js +0 -4
  937. package/dist/cdn/F5G6TONB.js +0 -4
  938. package/dist/cdn/F7A7SLF4.js +0 -4
  939. package/dist/cdn/F7TPJBS3.js +0 -4
  940. package/dist/cdn/FAQU7HTI.js +0 -4
  941. package/dist/cdn/FBV3NDOE.js +0 -4
  942. package/dist/cdn/FDT6EODX.js +0 -4
  943. package/dist/cdn/FFH3GE5N.js +0 -4
  944. package/dist/cdn/FGOBZCPD.js +0 -4
  945. package/dist/cdn/FH7RLODQ.js +0 -4
  946. package/dist/cdn/FMO5ZJZY.js +0 -4
  947. package/dist/cdn/FO5HNNQK.js +0 -4
  948. package/dist/cdn/FRYBR3OJ.js +0 -4
  949. package/dist/cdn/FT3DWPUV.js +0 -4
  950. package/dist/cdn/FTKWZI5L.js +0 -4
  951. package/dist/cdn/FU63GIO4.js +0 -59
  952. package/dist/cdn/FUVW45UR.js +0 -4
  953. package/dist/cdn/FW6UYUEH.js +0 -4
  954. package/dist/cdn/FXAJIOWF.js +0 -4
  955. package/dist/cdn/FYBK6DCU.js +0 -4
  956. package/dist/cdn/G2B6TAF6.js +0 -4
  957. package/dist/cdn/G4WCZJVY.js +0 -4
  958. package/dist/cdn/G4ZPDJ3Y.js +0 -4
  959. package/dist/cdn/G5J2F7BI.js +0 -4
  960. package/dist/cdn/G7B5OTNU.js +0 -4
  961. package/dist/cdn/G7EB7CWF.js +0 -4
  962. package/dist/cdn/G7GL66AO.js +0 -4
  963. package/dist/cdn/G7N3K5AN.js +0 -4
  964. package/dist/cdn/GADY4YUN.js +0 -4
  965. package/dist/cdn/GC6CE3CY.js +0 -4
  966. package/dist/cdn/GC7WLTET.js +0 -4
  967. package/dist/cdn/GLR3J25Y.js +0 -4
  968. package/dist/cdn/GMKBHQWV.js +0 -4
  969. package/dist/cdn/GNLVP4IJ.js +0 -4
  970. package/dist/cdn/GNWX56CS.js +0 -4
  971. package/dist/cdn/GNYEHBW4.js +0 -4
  972. package/dist/cdn/GOCIVQUH.js +0 -4
  973. package/dist/cdn/GRAT6OTK.js +0 -4
  974. package/dist/cdn/GTMNMLKM.js +0 -4
  975. package/dist/cdn/GUVKV5M3.js +0 -4
  976. package/dist/cdn/GXU5XVLA.js +0 -4
  977. package/dist/cdn/GYBCKIDG.js +0 -4
  978. package/dist/cdn/GYVUDB4U.js +0 -4
  979. package/dist/cdn/GZNZKB6P.js +0 -4
  980. package/dist/cdn/GZUT4DFD.js +0 -4
  981. package/dist/cdn/H3SWYVNN.js +0 -4
  982. package/dist/cdn/H7OT62WA.js +0 -4
  983. package/dist/cdn/HALJ7WMY.js +0 -4
  984. package/dist/cdn/HB7EZ2ZP.js +0 -4
  985. package/dist/cdn/HDENKLHA.js +0 -4
  986. package/dist/cdn/HDLBWUYW.js +0 -4
  987. package/dist/cdn/HFNLNZH6.js +0 -4
  988. package/dist/cdn/HH6U56OQ.js +0 -4
  989. package/dist/cdn/HIZH425Y.js +0 -4
  990. package/dist/cdn/HLEUL3UB.js +0 -4
  991. package/dist/cdn/HM664JSM.js +0 -4
  992. package/dist/cdn/HMDWP2DJ.js +0 -4
  993. package/dist/cdn/HMHP7ZZG.js +0 -4
  994. package/dist/cdn/HN7UDL4V.js +0 -4
  995. package/dist/cdn/HOLPAUC5.js +0 -4
  996. package/dist/cdn/HP6ORTCD.js +0 -4
  997. package/dist/cdn/HPJDMA7O.js +0 -4
  998. package/dist/cdn/HSVEEM3Y.js +0 -4
  999. package/dist/cdn/HTD3KYFP.js +0 -4
  1000. package/dist/cdn/HVZR3ZJ4.js +0 -4
  1001. package/dist/cdn/HYBGRFWL.js +0 -4
  1002. package/dist/cdn/I2N2WBWH.js +0 -4
  1003. package/dist/cdn/I55YHPN2.js +0 -4
  1004. package/dist/cdn/I5LZZ22S.js +0 -4
  1005. package/dist/cdn/I6BHGMP2.js +0 -4
  1006. package/dist/cdn/I7OBGBIS.js +0 -4
  1007. package/dist/cdn/ICFH6C3K.js +0 -4
  1008. package/dist/cdn/IDUOUPGE.js +0 -4
  1009. package/dist/cdn/IGBBNK7E.js +0 -4
  1010. package/dist/cdn/IGEJG5RK.js +0 -4
  1011. package/dist/cdn/IGNZWKJ4.js +0 -4
  1012. package/dist/cdn/IHS6H6EM.js +0 -4
  1013. package/dist/cdn/IKIWWVFN.js +0 -4
  1014. package/dist/cdn/ILNQM4AV.js +0 -4
  1015. package/dist/cdn/ILOMSOVO.js +0 -4
  1016. package/dist/cdn/IMIUUVYJ.js +0 -4
  1017. package/dist/cdn/IQDGKBPB.js +0 -4
  1018. package/dist/cdn/IQR2QBLV.js +0 -4
  1019. package/dist/cdn/IRR2H653.js +0 -4
  1020. package/dist/cdn/ITAC6FCQ.js +0 -4
  1021. package/dist/cdn/ITEKAOCD.js +0 -4
  1022. package/dist/cdn/IU3W6AZH.js +0 -4
  1023. package/dist/cdn/IUB4NLTX.js +0 -4
  1024. package/dist/cdn/IXLF7OFC.js +0 -4
  1025. package/dist/cdn/IXQ2D2UD.js +0 -4
  1026. package/dist/cdn/IZAXN2RG.js +0 -4
  1027. package/dist/cdn/IZJRDP5O.js +0 -4
  1028. package/dist/cdn/J24HGSWW.js +0 -4
  1029. package/dist/cdn/J5RLAHD6.js +0 -4
  1030. package/dist/cdn/J5URYDSE.js +0 -4
  1031. package/dist/cdn/JDJ3QCJQ.js +0 -4
  1032. package/dist/cdn/JDOO34KU.js +0 -4
  1033. package/dist/cdn/JE3BJVEU.js +0 -4
  1034. package/dist/cdn/JGSGXI45.js +0 -4
  1035. package/dist/cdn/JHSIBMAJ.js +0 -4
  1036. package/dist/cdn/JIC2PYUZ.js +0 -4
  1037. package/dist/cdn/JIOD2AHM.js +0 -4
  1038. package/dist/cdn/JKVJOSHJ.js +0 -4
  1039. package/dist/cdn/JRVQSAOH.js +0 -4
  1040. package/dist/cdn/JSRL36VR.js +0 -4
  1041. package/dist/cdn/JSXYXVK4.js +0 -4
  1042. package/dist/cdn/JULJQFML.js +0 -4
  1043. package/dist/cdn/K3AAT7NV.js +0 -4
  1044. package/dist/cdn/K4HN3KFS.js +0 -4
  1045. package/dist/cdn/K5R53VRG.js +0 -4
  1046. package/dist/cdn/K6J2TWAV.js +0 -4
  1047. package/dist/cdn/K7RE2Z5G.js +0 -4
  1048. package/dist/cdn/KATZZYL2.js +0 -4
  1049. package/dist/cdn/KIYW4AKB.js +0 -4
  1050. package/dist/cdn/KKYQVYK2.js +0 -4
  1051. package/dist/cdn/KMB72W5K.js +0 -4
  1052. package/dist/cdn/KNCQUAJ5.js +0 -42
  1053. package/dist/cdn/KNFSQOWX.js +0 -4
  1054. package/dist/cdn/KNQ5JMOP.js +0 -4
  1055. package/dist/cdn/KOQ54Y7Q.js +0 -4
  1056. package/dist/cdn/KQR4Y6QS.js +0 -4
  1057. package/dist/cdn/KS65KGU5.js +0 -4
  1058. package/dist/cdn/KTMJJFZ4.js +0 -4
  1059. package/dist/cdn/KXDOQU35.js +0 -4
  1060. package/dist/cdn/KYIP52BY.js +0 -4
  1061. package/dist/cdn/L3FBVXJL.js +0 -4
  1062. package/dist/cdn/L4C3AP4D.js +0 -4
  1063. package/dist/cdn/L52RSGDN.js +0 -8
  1064. package/dist/cdn/L6KLIJST.js +0 -4
  1065. package/dist/cdn/L6SIN7UD.js +0 -4
  1066. package/dist/cdn/L7ASKEHG.js +0 -4
  1067. package/dist/cdn/LA5MMRNU.js +0 -4
  1068. package/dist/cdn/LAQUDDOG.js +0 -4
  1069. package/dist/cdn/LDUYUOPE.js +0 -16
  1070. package/dist/cdn/LGMKLR7F.js +0 -4
  1071. package/dist/cdn/LGTQBWCT.js +0 -4
  1072. package/dist/cdn/LHD62QUH.js +0 -4
  1073. package/dist/cdn/LHQX5AWC.js +0 -4
  1074. package/dist/cdn/LII6ONKK.js +0 -4
  1075. package/dist/cdn/LIIBFABL.js +0 -4
  1076. package/dist/cdn/LLJXXMNP.js +0 -4
  1077. package/dist/cdn/LNFHZJH3.js +0 -4
  1078. package/dist/cdn/LNKBILYM.js +0 -4
  1079. package/dist/cdn/LOEG2TI2.js +0 -4
  1080. package/dist/cdn/LOQOFLZB.js +0 -4
  1081. package/dist/cdn/LP4MDOEZ.js +0 -4
  1082. package/dist/cdn/LPNDWNQJ.js +0 -4
  1083. package/dist/cdn/LRHNAS3G.js +0 -4
  1084. package/dist/cdn/LRXECYNW.js +0 -4
  1085. package/dist/cdn/LSAJV7KC.js +0 -4
  1086. package/dist/cdn/LU73QQW4.js +0 -4
  1087. package/dist/cdn/LVUBOFWG.js +0 -4
  1088. package/dist/cdn/LWBK57H4.js +0 -4
  1089. package/dist/cdn/LYFJLDBD.js +0 -4
  1090. package/dist/cdn/LYVPE2BC.js +0 -4
  1091. package/dist/cdn/M4YKTLXP.js +0 -4
  1092. package/dist/cdn/M5NHZHXV.js +0 -4
  1093. package/dist/cdn/M6672E2H.js +0 -4
  1094. package/dist/cdn/M7DGT7SE.js +0 -4
  1095. package/dist/cdn/M7P7THKQ.js +0 -4
  1096. package/dist/cdn/M7W2SEWL.js +0 -4
  1097. package/dist/cdn/MBBVJV2V.js +0 -4
  1098. package/dist/cdn/MEHA3ILA.js +0 -4
  1099. package/dist/cdn/MEZ65IM7.js +0 -4
  1100. package/dist/cdn/MJCTD5AB.js +0 -4
  1101. package/dist/cdn/MJXIG5KL.js +0 -4
  1102. package/dist/cdn/MK3CK6XL.js +0 -4
  1103. package/dist/cdn/MQRPFNQC.js +0 -4
  1104. package/dist/cdn/MRIT4ZFO.js +0 -4
  1105. package/dist/cdn/MRQVGHUZ.js +0 -4
  1106. package/dist/cdn/MSWRIF6L.js +0 -4
  1107. package/dist/cdn/MUNIECVM.js +0 -4
  1108. package/dist/cdn/MYEVNCFH.js +0 -4
  1109. package/dist/cdn/N2CHHVFR.js +0 -4
  1110. package/dist/cdn/N6NZ7K4K.js +0 -4
  1111. package/dist/cdn/N6PFLNQS.js +0 -4
  1112. package/dist/cdn/NC2GGDLV.js +0 -4
  1113. package/dist/cdn/NCJ7QKG4.js +0 -4
  1114. package/dist/cdn/NESZ3TYE.js +0 -4
  1115. package/dist/cdn/NFR4ZUEZ.js +0 -4
  1116. package/dist/cdn/NHKBEWKI.js +0 -4
  1117. package/dist/cdn/NINBHAEI.js +0 -4
  1118. package/dist/cdn/NKIHCRTJ.js +0 -4
  1119. package/dist/cdn/NO4AHNTD.js +0 -5
  1120. package/dist/cdn/NT4QZKOK.js +0 -4
  1121. package/dist/cdn/NXA6ZM5K.js +0 -4
  1122. package/dist/cdn/NXMH4A6X.js +0 -4
  1123. package/dist/cdn/O5GQL67D.js +0 -4
  1124. package/dist/cdn/O6XP6BHD.js +0 -4
  1125. package/dist/cdn/O7EOIHD5.js +0 -4
  1126. package/dist/cdn/OCOIXZXA.js +0 -4
  1127. package/dist/cdn/OD6Y5IVF.js +0 -4
  1128. package/dist/cdn/OE55LWYT.js +0 -4
  1129. package/dist/cdn/OFLLJHDT.js +0 -4
  1130. package/dist/cdn/OG43NUGK.js +0 -4
  1131. package/dist/cdn/OIDEW6LG.js +0 -4
  1132. package/dist/cdn/OK4ZSC25.js +0 -4
  1133. package/dist/cdn/OLBI36R6.js +0 -4
  1134. package/dist/cdn/OLGSCCZR.js +0 -4
  1135. package/dist/cdn/OLTFXO7V.js +0 -4
  1136. package/dist/cdn/OMFIN33Z.js +0 -4
  1137. package/dist/cdn/ONUSJCRL.js +0 -4
  1138. package/dist/cdn/OPI2CQER.js +0 -4
  1139. package/dist/cdn/OQNCPY3N.js +0 -4
  1140. package/dist/cdn/OQUWYOIZ.js +0 -4
  1141. package/dist/cdn/OVCTD2ZC.js +0 -4
  1142. package/dist/cdn/OW7EGHSJ.js +0 -4
  1143. package/dist/cdn/OWR2YYD7.js +0 -4
  1144. package/dist/cdn/P2MZ5IXH.js +0 -4
  1145. package/dist/cdn/P5Z2YMSD.js +0 -4
  1146. package/dist/cdn/P64QV7C6.js +0 -4
  1147. package/dist/cdn/PAFJLXFP.js +0 -4
  1148. package/dist/cdn/PAWYSE7W.js +0 -4
  1149. package/dist/cdn/PC3U5BGI.js +0 -4
  1150. package/dist/cdn/PCUVGHQ3.js +0 -4
  1151. package/dist/cdn/PDRPQO6H.js +0 -4
  1152. package/dist/cdn/PEWPPQQG.js +0 -4
  1153. package/dist/cdn/PFDRKKKZ.js +0 -4
  1154. package/dist/cdn/PGVRIAKH.js +0 -4
  1155. package/dist/cdn/PGWNWCUQ.js +0 -4
  1156. package/dist/cdn/PKCUGT56.js +0 -4
  1157. package/dist/cdn/PKLZBVN3.js +0 -4
  1158. package/dist/cdn/PNOPNBV4.js +0 -4
  1159. package/dist/cdn/POHH4676.js +0 -4
  1160. package/dist/cdn/POHNPGIZ.js +0 -4
  1161. package/dist/cdn/POHSLDON.js +0 -4
  1162. package/dist/cdn/PP2EQVFL.js +0 -4
  1163. package/dist/cdn/PPCS2V56.js +0 -4
  1164. package/dist/cdn/PPJ2YHT5.js +0 -4
  1165. package/dist/cdn/PSA33SOU.js +0 -4
  1166. package/dist/cdn/PTNS7HWG.js +0 -41
  1167. package/dist/cdn/PUABOGG5.js +0 -4
  1168. package/dist/cdn/PUEU7Y25.js +0 -4
  1169. package/dist/cdn/PXCFYH7E.js +0 -4
  1170. package/dist/cdn/PXTN457H.js +0 -11
  1171. package/dist/cdn/Q23GP2NU.js +0 -4
  1172. package/dist/cdn/Q2H6P3CC.js +0 -4
  1173. package/dist/cdn/Q5TRJROO.js +0 -4
  1174. package/dist/cdn/QBLRS3AA.js +0 -4
  1175. package/dist/cdn/QGF3HN2H.js +0 -4
  1176. package/dist/cdn/QH7NCZ4B.js +0 -4
  1177. package/dist/cdn/QLDHDEW2.js +0 -4
  1178. package/dist/cdn/QMEG6ZKK.js +0 -4
  1179. package/dist/cdn/QPLAZYYT.js +0 -4
  1180. package/dist/cdn/QREEMF5D.js +0 -4
  1181. package/dist/cdn/QTWUVEZS.js +0 -4
  1182. package/dist/cdn/QVQ3ZPSE.js +0 -4
  1183. package/dist/cdn/QVSOEAWI.js +0 -4
  1184. package/dist/cdn/QVUFHY4S.js +0 -4
  1185. package/dist/cdn/QWDXDXJ3.js +0 -12
  1186. package/dist/cdn/QWU7QSFG.js +0 -4
  1187. package/dist/cdn/R7KFMCVR.js +0 -4
  1188. package/dist/cdn/R7YZCTEY.js +0 -4
  1189. package/dist/cdn/RBYJDMRP.js +0 -4
  1190. package/dist/cdn/RCKCIQDI.js +0 -25
  1191. package/dist/cdn/RIA2PZE3.js +0 -4
  1192. package/dist/cdn/RIUBYOWD.js +0 -4
  1193. package/dist/cdn/RN557Y64.js +0 -4
  1194. package/dist/cdn/RNDB4PKC.js +0 -4
  1195. package/dist/cdn/RR5LJSZV.js +0 -4
  1196. package/dist/cdn/RUG6Z742.js +0 -4
  1197. package/dist/cdn/RVGFE4XI.js +0 -4
  1198. package/dist/cdn/RYRO2DQI.js +0 -4
  1199. package/dist/cdn/RZGRQQZV.js +0 -4
  1200. package/dist/cdn/S46V4AHT.js +0 -4
  1201. package/dist/cdn/S57TLAGR.js +0 -4
  1202. package/dist/cdn/S6DA3GKU.js +0 -4
  1203. package/dist/cdn/S77RSIBX.js +0 -4
  1204. package/dist/cdn/SAEJJISK.js +0 -5
  1205. package/dist/cdn/SBETABLY.js +0 -4
  1206. package/dist/cdn/SBZ5VCWI.js +0 -4
  1207. package/dist/cdn/SEJFQJFQ.js +0 -4
  1208. package/dist/cdn/SGG5LMGG.js +0 -4
  1209. package/dist/cdn/SIL6OYQD.js +0 -4
  1210. package/dist/cdn/SJMYYOPS.js +0 -4
  1211. package/dist/cdn/SLYQALM6.js +0 -4
  1212. package/dist/cdn/SNJFT42L.js +0 -4
  1213. package/dist/cdn/STR3HZLS.js +0 -4
  1214. package/dist/cdn/SUEJFOY6.js +0 -4
  1215. package/dist/cdn/SUTC2XG5.js +0 -4
  1216. package/dist/cdn/SVC4BPOE.js +0 -4
  1217. package/dist/cdn/SWM3B4XJ.js +0 -4
  1218. package/dist/cdn/SXCNLMR2.js +0 -4
  1219. package/dist/cdn/SYD7L3CC.js +0 -4
  1220. package/dist/cdn/T3EL4CTE.js +0 -4
  1221. package/dist/cdn/T3FDRTDQ.js +0 -4
  1222. package/dist/cdn/T4MW57S7.js +0 -4
  1223. package/dist/cdn/T4TW42FV.js +0 -4
  1224. package/dist/cdn/T5YOZX7F.js +0 -4
  1225. package/dist/cdn/T6RLOBJQ.js +0 -4
  1226. package/dist/cdn/T6ZJO7HL.js +0 -4
  1227. package/dist/cdn/T7LHQQW2.js +0 -4
  1228. package/dist/cdn/TA6DBTVN.js +0 -4
  1229. package/dist/cdn/TAY33M4C.js +0 -4
  1230. package/dist/cdn/TCBCDJ6A.js +0 -4
  1231. package/dist/cdn/TEER57FE.js +0 -4
  1232. package/dist/cdn/TGTCPBAF.js +0 -4
  1233. package/dist/cdn/TJGPF56P.js +0 -4
  1234. package/dist/cdn/TKRDRBTD.js +0 -4
  1235. package/dist/cdn/TNMOAVG5.js +0 -4
  1236. package/dist/cdn/TRFZO2XZ.js +0 -4
  1237. package/dist/cdn/TS7DOFA6.js +0 -4
  1238. package/dist/cdn/TSZ6P4FZ.js +0 -4
  1239. package/dist/cdn/TU7RR222.js +0 -4
  1240. package/dist/cdn/TUVBYQLR.js +0 -4
  1241. package/dist/cdn/TVIRVLDE.js +0 -4
  1242. package/dist/cdn/TVOHHVVE.js +0 -4
  1243. package/dist/cdn/TVQB6BDH.js +0 -4
  1244. package/dist/cdn/TWZVZAKS.js +0 -4
  1245. package/dist/cdn/U2OE324N.js +0 -4
  1246. package/dist/cdn/U5OWLFVR.js +0 -4
  1247. package/dist/cdn/U5QWHDJY.js +0 -4
  1248. package/dist/cdn/U6CSXDNJ.js +0 -4
  1249. package/dist/cdn/UBNS3HZH.js +0 -4
  1250. package/dist/cdn/UCFCJ6DG.js +0 -4
  1251. package/dist/cdn/UD7NMQBC.js +0 -4
  1252. package/dist/cdn/UFDUUCXW.js +0 -4
  1253. package/dist/cdn/UG5V3SJV.js +0 -4
  1254. package/dist/cdn/UGR5VKH7.js +0 -4
  1255. package/dist/cdn/UH7GBDT6.js +0 -4
  1256. package/dist/cdn/UNLDFK4A.js +0 -4
  1257. package/dist/cdn/UOPZ5P3Q.js +0 -4
  1258. package/dist/cdn/UOSKPENQ.js +0 -4
  1259. package/dist/cdn/UPC4I723.js +0 -4
  1260. package/dist/cdn/UX555NPM.js +0 -4
  1261. package/dist/cdn/UXCRRIGA.js +0 -4
  1262. package/dist/cdn/UXFL2V5Y.js +0 -4
  1263. package/dist/cdn/UYNLDE4Y.js +0 -4
  1264. package/dist/cdn/UZ5S5XWU.js +0 -4
  1265. package/dist/cdn/V2BPJS26.js +0 -4
  1266. package/dist/cdn/V2NOB4TW.js +0 -4
  1267. package/dist/cdn/V2PC3OYU.js +0 -4
  1268. package/dist/cdn/V3NBT5GS.js +0 -4
  1269. package/dist/cdn/V6R6D6QQ.js +0 -4
  1270. package/dist/cdn/VDEQ46HP.js +0 -4
  1271. package/dist/cdn/VHEKHIQN.js +0 -4
  1272. package/dist/cdn/VIJIBCKZ.js +0 -4
  1273. package/dist/cdn/VKF3GOUM.js +0 -4
  1274. package/dist/cdn/VLAFJ5ZC.js +0 -4
  1275. package/dist/cdn/VMYMXW5C.js +0 -4
  1276. package/dist/cdn/VNEYYIET.js +0 -4
  1277. package/dist/cdn/VSF47BVN.js +0 -4
  1278. package/dist/cdn/VZR2VCW7.js +0 -4
  1279. package/dist/cdn/VZRDWOH2.js +0 -4
  1280. package/dist/cdn/W2WYUGL4.js +0 -4
  1281. package/dist/cdn/W3PHOWGH.js +0 -4
  1282. package/dist/cdn/W47ZO4CP.js +0 -4
  1283. package/dist/cdn/W4AWVUWG.js +0 -4
  1284. package/dist/cdn/WBGQXLBE.js +0 -4
  1285. package/dist/cdn/WEACU77L.js +0 -4
  1286. package/dist/cdn/WHWZW6KB.js +0 -4
  1287. package/dist/cdn/WIDOLHKR.js +0 -4
  1288. package/dist/cdn/WIPNSKYW.js +0 -24
  1289. package/dist/cdn/WO5INMBQ.js +0 -4
  1290. package/dist/cdn/WOHWJV3J.js +0 -4
  1291. package/dist/cdn/WPLHORUT.js +0 -4
  1292. package/dist/cdn/WTT3ZDJX.js +0 -4
  1293. package/dist/cdn/WURT5OGC.js +0 -4
  1294. package/dist/cdn/WUVRXUWC.js +0 -4
  1295. package/dist/cdn/WXVNWE3D.js +0 -4
  1296. package/dist/cdn/WZNS34V3.js +0 -4
  1297. package/dist/cdn/X4L5R3G7.js +0 -4
  1298. package/dist/cdn/X7QRLL2S.js +0 -4
  1299. package/dist/cdn/X7TTRCUD.js +0 -4
  1300. package/dist/cdn/X7YZL33H.js +0 -4
  1301. package/dist/cdn/X7ZEAWTB.js +0 -4
  1302. package/dist/cdn/XECQTVWI.js +0 -4
  1303. package/dist/cdn/XFNRSGDF.js +0 -4
  1304. package/dist/cdn/XFYO5IG3.js +0 -4
  1305. package/dist/cdn/XG4XM57U.js +0 -4
  1306. package/dist/cdn/XILBQDJI.js +0 -4
  1307. package/dist/cdn/XJ7VU5JR.js +0 -4
  1308. package/dist/cdn/XOMLRIJN.js +0 -4
  1309. package/dist/cdn/XPDBNQPQ.js +0 -4
  1310. package/dist/cdn/XQBCWDJT.js +0 -4
  1311. package/dist/cdn/XQK5ICNM.js +0 -4
  1312. package/dist/cdn/XS46CDNM.js +0 -4
  1313. package/dist/cdn/XS7Y2NVM.js +0 -4
  1314. package/dist/cdn/XTE6GBGM.js +0 -4
  1315. package/dist/cdn/XVBQWDJQ.js +0 -4
  1316. package/dist/cdn/XVGUXLF6.js +0 -4
  1317. package/dist/cdn/XXKJLL2J.js +0 -4
  1318. package/dist/cdn/XZII3L3G.js +0 -4
  1319. package/dist/cdn/Y3M3MYJJ.js +0 -4
  1320. package/dist/cdn/Y7DEAI7Z.js +0 -4
  1321. package/dist/cdn/YA5DNHSO.js +0 -4
  1322. package/dist/cdn/YAWTZOWY.js +0 -4
  1323. package/dist/cdn/YBE6NAAI.js +0 -4
  1324. package/dist/cdn/YDUSDQWH.js +0 -5
  1325. package/dist/cdn/YEXIF5NM.js +0 -4
  1326. package/dist/cdn/YHECU4IW.js +0 -4
  1327. package/dist/cdn/YJHPR3QZ.js +0 -4
  1328. package/dist/cdn/YK3UCJX4.js +0 -4
  1329. package/dist/cdn/YLL5F7KE.js +0 -4
  1330. package/dist/cdn/YMKXFTWA.js +0 -4
  1331. package/dist/cdn/YNT7SH3A.js +0 -4
  1332. package/dist/cdn/YODUQ6TL.js +0 -4
  1333. package/dist/cdn/YOFVXHL5.js +0 -4
  1334. package/dist/cdn/YOTP7O64.js +0 -4
  1335. package/dist/cdn/YQHKDZLO.js +0 -4
  1336. package/dist/cdn/YWORZWTI.js +0 -4
  1337. package/dist/cdn/YXBTWL75.js +0 -4
  1338. package/dist/cdn/YY5R4RCR.js +0 -4
  1339. package/dist/cdn/YYRM35JP.js +0 -4
  1340. package/dist/cdn/YYSDOYB2.js +0 -4
  1341. package/dist/cdn/YZNI5Y24.js +0 -4
  1342. package/dist/cdn/YZVYDZAR.js +0 -4
  1343. package/dist/cdn/Z35U3PWM.js +0 -4
  1344. package/dist/cdn/Z476O47D.js +0 -4
  1345. package/dist/cdn/Z5TTLQKA.js +0 -4
  1346. package/dist/cdn/ZBWIRPOV.js +0 -4
  1347. package/dist/cdn/ZDG53UDI.js +0 -4
  1348. package/dist/cdn/ZEUNNVPD.js +0 -4
  1349. package/dist/cdn/ZFKHD4BS.js +0 -4
  1350. package/dist/cdn/ZK3HFZBZ.js +0 -52
  1351. package/dist/cdn/ZL2JWPGP.js +0 -4
  1352. package/dist/cdn/ZLKRUFIB.js +0 -4
  1353. package/dist/cdn/ZN3OHNQU.js +0 -4
  1354. package/dist/cdn/ZOV6MR3C.js +0 -4
  1355. package/dist/cdn/ZSKG4N3O.js +0 -4
  1356. package/dist/cdn/ZSU5ZYAA.js +0 -4
  1357. package/dist/cdn/ZY2ZCZL7.js +0 -4
  1358. package/dist/cdn/ZYACMKQM.js +0 -4
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{a as e}from"./Y3M3MYJJ.js";import{a as n}from"./T3EL4CTE.js";import{b as a,e as c,i}from"./ILNQM4AV.js";import"./DGLGW5E5.js";var o=class{constructor(t){i(this,t),this.arcgisConfigurationEditorFieldInputChange=c(this,"arcgisConfigurationEditorFieldInputChange",7),this.params=void 0,n(this,"handleCalciteSegmentedControlChange")}handleCalciteSegmentedControlChange(t){this.arcgisConfigurationEditorFieldInputChange.emit(t.target.value)}render(){return a("calcite-segmented-control",{key:"d09f03b2f0a53a4e8ecbd7052c22b58ef196907f",onCalciteSegmentedControlChange:this.handleCalciteSegmentedControlChange,scale:this.params.scale},a("calcite-segmented-control-item",{key:"a88cfe6170e2495cfd81620bcd3727a2a6081581",checked:this.params.value===e.start,value:e.start},a("calcite-icon",{key:"9beaa07f524bc7712ab31bfe9d650f07bf20bb9e",icon:"left-align",scale:"s","text-label":e.start})),a("calcite-segmented-control-item",{key:"4ccab9938fd525b2b9142f77aa4521de31f27167",checked:this.params.value===e.center,value:e.center},a("calcite-icon",{key:"2e2e147ac7550542efd101ed661eba7ec04b93be",icon:"center-align",scale:"s","text-label":e.center})),a("calcite-segmented-control-item",{key:"39185795a7d4558514adbc06e535b0e7404bf724",checked:this.params.value===e.end,value:e.end},a("calcite-icon",{key:"1a69b13ed7cb6fbfe25037aa01b8379362067244",icon:"right-align",scale:"s","text-label":e.end})))}};export{o as hub_field_input_alignment};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{o as c}from"./DSWH3BSZ.js";import{a as l}from"./RIUBYOWD.js";import{a as p}from"./EGN5K4R5.js";import{c as u}from"./IGNZWKJ4.js";function g(t){let e;switch(t.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map","feedback"].includes(u(t.type||""))&&(e="content")}return e}var m=(t,e={queryParams:{},win:window})=>{let r=w(t);c("hub:feature:workspace:org",t).access||e.type==="user"||(r=h(t,e.win));let i="";e.type&&e.id&&(i=`${i}/${$(e.type)}/${e.id}`,e.pane&&(i=`${i}/${e.pane}`)),e.type==="user"&&e.id==="self"&&!e.pane&&(i="");let n=new URL(`${r}${i}`);l(e,"win.location.port","")!==""&&(n=new URL(f(n.pathname,"5173",n.origin)));let o=Object.assign({},e.queryParams);return e.uiVersion&&(o.uiVersion=e.uiVersion),Object.keys(o).length&&(n.search=new URLSearchParams(o).toString()),n.href},P=(t,e)=>{let r={type:g(t),id:t.id,win:window};return m(e,r)},w=t=>t.isPortal?`${t.portalUrl}/apps/sites/workspace`:`${t.hubHomeUrl}/workspace`,h=(t,e=window)=>t.isPortal?w(t):`${e.location.origin}/workspace`,U=(t,e=window)=>{if(t.isPortal){let r="home";return e.location.hash&&(r=e.location.hash.split("/")[1]),`${t.portalUrl}/apps/sites/#/${r}`}else{let r=e.location.origin;return l(e,"location.port","")!==""&&(r=f(r,"4200")),r.endsWith("/")&&(r=r.slice(0,-1)),r}};var L=(t,e)=>{if(!t.links||!t.links.layoutRelative||["User","Group"].includes(t.type))return;if(p(t.type,t.typeKeywords)){let{self:s,layoutRelative:i}=t.links;return`${s}${i}`}else return`${U(e)}${t.links.layoutRelative}`},E=t=>{let e;if(!t)return e;if(t.isPortal)e=`${t.portalUrl}/home/user.html`;else{let r=t.currentUser;if(!r)return e;let s=new URL(window.location.origin);s.pathname=`/people/${r.username}/profile`,e=s.toString()}return e},y=t=>{let e;return t?(t.isPortal?(e=new URL(window.location.href),e.hash="/home/overview"):(e=new URL(t.hubHomeUrl),e.pathname="/overview"),e.toString()):e},H=t=>{let e;return t?t.isPortal?b(t.portalUrl,!0):(e=new URL(t.hubHomeUrl),e.pathname="/workspace",e.toString()):e},O=t=>{var e,r;let s=g(t),i=s==="content"?s:`${s}s`,n=(s==="site"?(e=t.links)===null||e===void 0?void 0:e.self:(r=t.links)===null||r===void 0?void 0:r.siteRelative)||`/${i}/${t.id}`;return t.type==="Form"&&(n=`/feedback/surveys/${t.id}`),s==="user"&&(n=`/people/${t.id}/profile/settings`),n};var $=t=>t.slice(-1)==="s"||t==="content"?t:`${t}s`;var W=t=>{window.location.href=t},f=(t,e,r=window.location.origin)=>{let i=t.startsWith("/")&&r?new URL(t,r):new URL(t);return i.port=e,i.toString()},V=t=>!t.startsWith("/")&&!t.startsWith(window.location.origin),D=(t,e,r)=>{if(r?.isPortal){let s=t.replace(e,""),i=s.indexOf("#"),n=s.substring(0,i),a=s.substring(i,s.length).replace("#","");a.startsWith("/")&&(a=a.substring(1,a.length));let o=a.split("/")[0];return`${e}${n}#/${o}`}else return`${e}/`};var j=t=>{let e=t.toLowerCase().match(/(hub|opendata)(\w*)\.arcgis\.com/),[r,s,i]=e||[];return{hubDomain:r,isOpenData:s&&s==="opendata",envSuffix:i}};var b=(t,e=!1)=>{let r=`${t}/apps/sites`;return e?`${r}/workspace`:r};export{g as a,m as b,P as c,U as d,L as e,E as f,y as g,H as h,O as i,W as j,V as k,D as l,j as m};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- function u(f){return f[0]==="{"&&(f=f.substring(1,f.length-1)),/^(\{){0,1}[0-9a-fA-F]{8}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{12}(\}){0,1}$/gi.test(f)}export{u as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{a as i,b as c}from"./AAXBTTYR.js";import{a as S,c as A,d as f}from"./N2CHHVFR.js";import{g as o,h as s,j as E}from"./ZFKHD4BS.js";import{q as v,r as K,s as P,v as D}from"./EMIMWH6T.js";import{a as C}from"./6OZG2QCE.js";function L(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((e,l)=>[...e,{entityKey:l,storeKey:l}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"},{entityKey:"catalog",storeKey:"capabilities.catalog"}])}var h=class extends v{storeToEntity(e,l){var n,a,y,r,d,p,u,m;let t=P(e,l,this.mappings);t.type="Event";let g=e.access.toLowerCase();return g==="private"&&(e.readGroups.length>0||e.editGroups.length>0)?t.access="shared":t.access=g,t.isCanceled=e.status===o.CANCELED,t.isPlanned=e.status===o.PLANNED,t.isRemoved=e.status===o.REMOVED,e.attendanceType.includes(s.IN_PERSON)&&e.attendanceType.includes(s.VIRTUAL)?t.attendanceType=i.Both:e.attendanceType.includes(s.IN_PERSON)?t.attendanceType=i.InPerson:t.attendanceType=i.Online,t.onlineCapacity=(a=(n=e.onlineMeeting)===null||n===void 0?void 0:n.capacity)!==null&&a!==void 0?a:null,t.onlineCapacityType=!((y=e.onlineMeeting)===null||y===void 0)&&y.capacity?c.Fixed:c.Unlimited,t.inPersonCapacity=(r=e.inPersonCapacity)!==null&&r!==void 0?r:null,t.inPersonCapacityType=e.inPersonCapacity?c.Fixed:c.Unlimited,t.onlineDetails=(p=(d=e.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&p!==void 0?p:null,t.onlineUrl=(m=(u=e.onlineMeeting)===null||u===void 0?void 0:u.url)!==null&&m!==void 0?m:null,t.canChangeAccess=[e.permission.canSetAccessToPublic,e.permission.canSetAccessToOrg,e.permission.canSetAccessToPrivate].every(Boolean),t.canChangeStatus=[e.permission.canSetStatusToCancelled,e.permission.canSetStatusToRemoved].some(Boolean),t.referencedContentIds=e.associations.map(({entityId:T})=>T),t.referencedContentIdsByType=e.associations.map(({entityId:T,entityType:I})=>({entityId:T,entityType:I})),t.createdDate=new Date(e.createdAt),t.startDateTime=new Date(e.startDateTime),t.endDateTime=new Date(e.endDateTime),t.isPast=t.endDateTime<new Date,t.createdDateSource="createdAt",t.updatedDate=new Date(e.updatedAt),t.updatedDateSource="updatedAt",t.catalog=D(t.catalog||{}),t.links=A(e),t.slug=S(e),t.view={showMap:!!e.location},t.location=f(e),t}entityToStore(e,l){let n=C(e),a=K(n,l,this.mappings),y=n.access;return y==="shared"?a.access=E.PRIVATE:a.access=y.toUpperCase(),n.isRemoved?a.status=o.REMOVED:n.isCanceled?a.status=o.CANCELED:a.status=o.PLANNED,n.attendanceType===i.Both?a.attendanceType=[s.IN_PERSON,s.VIRTUAL]:n.attendanceType===i.InPerson?a.attendanceType=[s.IN_PERSON]:a.attendanceType=[s.VIRTUAL],[i.Online,i.Both].includes(n.attendanceType)&&(a.onlineMeeting={details:n.onlineDetails,capacity:n.onlineCapacityType===c.Fixed?n.onlineCapacity:null,url:n.onlineUrl}),[i.InPerson,i.Both].includes(n.attendanceType)?a.inPersonCapacity=n.inPersonCapacityType===c.Fixed?n.inPersonCapacity:null:a.inPersonCapacity=null,n.isAllDay&&(n.startTime="00:00:00",n.endTime="23:59:59"),a.location=n.location&&n.location.type!=="none"?{type:n.location.type,spatialReference:n.location.spatialReference,extent:n.location.extent,geometries:n.location.geometries,placeName:n.location.name}:null,a}};export{L as a,h as b};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{b as w}from"./YMKXFTWA.js";import{U as m}from"./OWR2YYD7.js";import{a as d}from"./RZGRQQZV.js";import{a as y}from"./XFYO5IG3.js";async function b(e,s){switch(e.source.type){case"static-value":return T(e);case"service-query":return q(e,s);case"item-query":return S(e,s);default:throw new Error("Unknown metric type passed in.")}}function T(e,s){let t=e.source,r=e.id.split("_")[0],o={attributes:{id:e.entityInfo.id,name:e.entityInfo.name,type:e.entityInfo.type,[r]:t.value,valueType:t.valueType}};return Promise.resolve({features:[o],generatedAt:new Date().getTime()})}async function q(e,s){let t=e.source,r=e.id.split("_")[0];t.where=t.where||"1=1";let o={onStatisticField:t.field,statisticType:t.statistic,outStatisticFieldName:t.field},a=t.serviceUrl+`/${t.layerId}`,u=await w({url:a,where:t.where,f:"json",outStatistics:[o],authentication:s.requestOptions.authentication}),c=y(u,`features[0].attributes.${t.field}`);return{features:[{attributes:{id:e.entityInfo.id,name:e.entityInfo.name,type:e.entityInfo.type,[r]:c}}],generatedAt:new Date().getTime()}}async function S(e,s){let t=e.source,r=e.id.split("_")[0],o={typekeywords:t.keywords};t.itemTypes&&(o.type=t.itemTypes);let a={targetEntity:"item",filters:[{operation:"AND",predicates:[o]}]},u=t.scope||{targetEntity:"item",filters:[]},c=d([a,u]),f={requestOptions:s.hubRequestOptions,num:100},v=await(await m(c,f)).results.reduce(async(g,i)=>{let p=await g,n=y(i,t.propertyPath),l={attributes:{id:i.id,name:i.title,type:i.type,[r]:null}};if(n)if(typeof n=="string"||typeof n=="number")l.attributes[r]=n,p.push(l);else{let h=n;h.entityInfo=l.attributes;let I=await b(n,s);p.push(...I.features)}return p},Promise.resolve([]));return{features:await Promise.all(v),generatedAt:new Date().getTime()}}export{b as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import"./DGLGW5E5.js";var t={chart:"\u30C1\u30E3\u30FC\u30C8",barChart:"\u30D0\u30FC \u30C1\u30E3\u30FC\u30C8",lineChart:"\u30E9\u30A4\u30F3 \u30C1\u30E3\u30FC\u30C8",pieChart:"\u30D1\u30A4 \u30C1\u30E3\u30FC\u30C8",histogram:"\u30D2\u30B9\u30C8\u30B0\u30E9\u30E0",scatterplot:"\u6563\u5E03\u56F3",boxPlot:"\u7BB1\u3072\u3052\u56F3"},a={mean:"\u5E73\u5747",median:"\u4E2D\u592E\u5024",sum:"\u5408\u8A08",discretePercentile:"\u4E0D\u9023\u7D9A\u30D1\u30FC\u30BB\u30F3\u30BF\u30A4\u30EB",minimum:"\u6700\u5C0F",maximum:"\u6700\u5927",variance:"\u5206\u6563",count:"\u500B\u6570",aggregation:"${ fieldName } \u306E ${ statistics }",noAggregation:"\u96C6\u7D04\u306A\u3057"},e="\u30C1\u30E3\u30FC\u30C8",i="\u30B7\u30EA\u30FC\u30BA\u6570",s="X \u8EF8",r="\u5229\u7528\u4E0D\u53EF",n={start:"\u6700\u521D\u306E\u30C7\u30FC\u30BF \u30DD\u30A4\u30F3\u30C8\u306B\u30B9\u30CA\u30C3\u30D7",end:"\u6700\u5F8C\u306E\u30C7\u30FC\u30BF \u30DD\u30A4\u30F3\u30C8\u306B\u30B9\u30CA\u30C3\u30D7"},o={chartType:t,statistics:a,defaultTitle:e,countSeries:i,xAxis:s,notAvailable:r,timeAggregationTypes:n};export{t as chartType,i as countSeries,o as default,e as defaultTitle,r as notAvailable,a as statistics,n as timeAggregationTypes,s as xAxis};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- var a;(function(o){o.FLOW="flow",o.MODAL="modal"})(a||(a={}));export{a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{a as et,c as It,d as Ct,e as Pt}from"./RIA2PZE3.js";import"./5LXLEFL4.js";import{b as Dt}from"./EWWZKLPK.js";import{a as tt}from"./LLJXXMNP.js";import{a as X}from"./62ETDWQS.js";import{a as $}from"./7G4IAOAB.js";import{a as Z}from"./45JKNTZK.js";import{a as J}from"./OE55LWYT.js";import b from"./DG6NH42E.js";import"./55UU2L6W.js";import{a as wt}from"./KQR4Y6QS.js";import{a as Y,b as _}from"./NCJ7QKG4.js";import a from"./GYBCKIDG.js";import"./7STSSL3L.js";import"./3WPKLKTH.js";import{b as yt}from"./I5LZZ22S.js";import{a as V}from"./WURT5OGC.js";import{a as mt}from"./ZL2JWPGP.js";import{h as gt}from"./4DVFCVIO.js";import{b as bt}from"./LHD62QUH.js";import"./TUVBYQLR.js";import{b as B}from"./3WNPRJTI.js";import"./3P4PSFF5.js";import{b as dt}from"./CHUYMD7P.js";import"./HP6ORTCD.js";import"./W2WYUGL4.js";import"./AX3YAAEU.js";import"./56Y6TBYP.js";import"./SAEJJISK.js";import"./Y3M3MYJJ.js";import{n as pt}from"./CH6SCBPW.js";import"./X7TTRCUD.js";import"./HPJDMA7O.js";import"./AH6DDGMA.js";import"./WO5INMBQ.js";import"./SIL6OYQD.js";import"./NKIHCRTJ.js";import"./JDOO34KU.js";import"./AAXBTTYR.js";import"./APMYQ4Q3.js";import"./UPC4I723.js";import"./4Q3ZYBX6.js";import"./ELJW6376.js";import"./B7P4TNAK.js";import"./YMKXFTWA.js";import"./TKRDRBTD.js";import{N as ht,O as K,X as ut,o as ct}from"./NINBHAEI.js";import"./5FA6T4S2.js";import"./GLR3J25Y.js";import"./N2CHHVFR.js";import"./CJO6EL34.js";import"./ZFKHD4BS.js";import"./SWM3B4XJ.js";import"./CPJUJP3G.js";import"./OWR2YYD7.js";import"./GC6CE3CY.js";import"./RZGRQQZV.js";import"./YK3UCJX4.js";import"./TEER57FE.js";import"./3AL42NLL.js";import"./ZYACMKQM.js";import{f as z,k as U}from"./EMIMWH6T.js";import{d as q}from"./AMEYWY3Z.js";import"./PCUVGHQ3.js";import"./IGBBNK7E.js";import"./CE7LGM7B.js";import"./7EOT2YM3.js";import"./TU7RR222.js";import"./3UE7MFMJ.js";import"./OQNCPY3N.js";import"./24NKSYZ5.js";import"./XQBCWDJT.js";import"./YHECU4IW.js";import"./OLBI36R6.js";import"./7Y2TS73H.js";import"./37U3OBY7.js";import{h as lt}from"./J24HGSWW.js";import"./F2VAPLVS.js";import"./UBNS3HZH.js";import"./DOKOZ6AO.js";import"./QLDHDEW2.js";import"./QGF3HN2H.js";import"./UX555NPM.js";import"./OVCTD2ZC.js";import"./6DM5QBLU.js";import"./K5R53VRG.js";import"./7IGMDG46.js";import"./X7YZL33H.js";import"./JDJ3QCJQ.js";import"./DCUK3QGK.js";import"./FXAJIOWF.js";import"./LNKBILYM.js";import"./VIJIBCKZ.js";import{c as N,g as Tt,j as it}from"./YJHPR3QZ.js";import"./HVZR3ZJ4.js";import"./75Z6PQX2.js";import"./UZ5S5XWU.js";import"./G7GL66AO.js";import"./FYBK6DCU.js";import"./T6RLOBJQ.js";import{j as rt}from"./J5URYDSE.js";import{o as ot}from"./DSWH3BSZ.js";import"./RIUBYOWD.js";import"./EGN5K4R5.js";import"./IGNZWKJ4.js";import{a as k}from"./T3EL4CTE.js";import{a as j}from"./RCKCIQDI.js";import"./C4I34NZZ.js";import"./VZRDWOH2.js";import{a as h}from"./ICFH6C3K.js";import"./XOMLRIJN.js";import{b as s,c as A,d as L,e as d,h as F,i as G}from"./ILNQM4AV.js";import"./5T7UUDPW.js";import"./6OZG2QCE.js";import"./XFYO5IG3.js";import"./OD6Y5IVF.js";import"./DGLGW5E5.js";export default $arcgis.t(([,{n:ft,o:vt,s:W},{b:Q}])=>{var _t='.sc-arcgis-hub-discussions-h{display:block;max-height:100%;overflow:auto;background-color:var(--calcite-color-foreground-1);--arcgis-hub-layout-list-gap:0rem}calcite-panel.sc-arcgis-hub-discussions{height:max-content}section.sc-arcgis-hub-discussions{margin-top:1rem;margin-bottom:1rem;margin-left:0.75rem;margin-right:0.75rem;display:grid;gap:0.75rem;border-radius:0.25rem;padding:0.75rem;--tw-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.12);--tw-shadow-colored:0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}header.sc-arcgis-hub-discussions{margin:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}p.sc-arcgis-hub-discussions{margin:0px;font-size:var(--calcite-font-size-0);line-height:1.375rem}section.sc-arcgis-hub-discussions calcite-button.sc-arcgis-hub-discussions{width:-moz-fit-content;width:fit-content}calcite-button[icon-start="speech-bubble-plus"].sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:0.5rem;display:block}arcgis-hub-subscription.sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem;display:block}arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}calcite-notice[slot="list-before"].sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}.empty.sc-arcgis-hub-discussions arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions{margin:0px;margin-top:0.25rem}.empty.sc-arcgis-hub-discussions calcite-notice.sc-arcgis-hub-discussions{width:100%}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions{overflow:hidden;padding-top:1rem;padding-bottom:1rem}arcgis-hub-discussions-post-list.sc-arcgis-hub-discussions{background-color:var(--calcite-color-foreground-1);padding-top:1.5rem}arcgis-hub-discussions-post-list.location-list.sc-arcgis-hub-discussions{padding-top:0.25rem;padding-bottom:0.25rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions{background-color:var(--calcite-color-foreground-1);padding:1rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions div.sc-arcgis-hub-discussions{display:flex;justify-content:flex-end;padding-top:0.5rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions div.sc-arcgis-hub-discussions+calcite-notice.sc-arcgis-hub-discussions{margin-top:1rem;width:100%}.discussions-options.sc-arcgis-hub-discussions:active .discussions-options-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-go-to.sc-arcgis-hub-discussions:active .discussions-go-to-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-back.sc-arcgis-hub-discussions{border-width:0px;border-right-width:1px;border-style:solid;border-right-color:var(--calcite-color-border-3)}.discussions-back.sc-arcgis-hub-discussions:active .discussions-back-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor[slot="list-before"].sc-arcgis-hub-discussions{margin-top:1.5rem;margin-bottom:1.5rem;margin-left:0.75rem;margin-right:0.75rem}',kt=_t,st=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},M=class{constructor(t){G(this,t),this.arcgisHubPostEditorReady=d(this,"arcgisHubPostEditorReady",7),this.arcgisHubGeometryGoTo=d(this,"arcgisHubGeometryGoTo",7),this.arcgisHubDiscussionsFeature=d(this,"arcgisHubDiscussionsFeature",7),this.arcgisHubDiscussionsFeatureDeleted=d(this,"arcgisHubDiscussionsFeatureDeleted",7),this.arcgisHubGeometryFeatureSelect=d(this,"arcgisHubGeometryFeatureSelect",7),this.arcgisHubGeometryFeatureHover=d(this,"arcgisHubGeometryFeatureHover",7),this.arcgisHubGeometryDrawCreate=d(this,"arcgisHubGeometryDrawCreate",7),this.arcgisHubGeometryDrawTypeSelect=d(this,"arcgisHubGeometryDrawTypeSelect",7),this.arcgisHubGeometryDrawEdit=d(this,"arcgisHubGeometryDrawEdit",7),this.arcgisHubGeometryDrawEditCancel=d(this,"arcgisHubGeometryDrawEditCancel",7),this.arcgisHubGeometryDrawReset=d(this,"arcgisHubGeometryDrawReset",7),this.arcgisHubGeometrySelect=d(this,"arcgisHubGeometrySelect",7),this.arcgisHubGeometryDeselect=d(this,"arcgisHubGeometryDeselect",7),this.arcgisHubDiscussionsViewThread=d(this,"arcgisHubDiscussionsViewThread",7),this.arcgisHubDiscussionsDismiss=d(this,"arcgisHubDiscussionsDismiss",7),this.arcgisHubDiscussionsClose=d(this,"arcgisHubDiscussionsClose",7),this.arcgisHubFeatureRemove=d(this,"arcgisHubFeatureRemove",7),this.arcgisHubGeometryClearAll=d(this,"arcgisHubGeometryClearAll",7),this.arcgisAppIdentityStartSignIn=d(this,"arcgisAppIdentityStartSignIn",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.handleSignInClicked=e=>{e.preventDefault(),this.arcgisAppIdentityStartSignIn.emit()},this.discussion=void 0,this.parentId=void 0,this.postId=void 0,this.channelId=void 0,this.locationId=void 0,this.unsavedFeatures=[],this.unsavedRelatedFeatures=[],this.unsavedExistingFeatures=[],this.hasMap=void 0,this.isHub=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this.dismissible=void 0,this.enableGoTo=void 0,this.disableNavigation=void 0,this.entityId=void 0,this.entityType=void 0,this.entity=void 0,this.discussionSettings=void 0,this.threadScrollTarget=void 0,this._context=N(),this.postListProps=void 0,this.threadProps=void 0,this.listScrollTarget=void 0,this._loading=!0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.error=null,this.optionsError=null,this.optionsSaving=!1,this.showPostEditor=!1,this.isMobile=void 0,this.showOptions=!1,this.numPostableChannels=null,k(this,"handleCheckStatus","handleBackToList","handleBackToThread","handleGeometryGoTo","handleNewPost","renderLoading","renderAddOrCreatePostButton","renderPostEditor","renderThread","renderPostList","renderError","handleDiscussionOptionsClick","handleDiscussionsDownloadClick","handleOptionsBack","checkIsMobile","handleSaveOptions","handleResetOptionsError","handlePostListUpdated","renderRequiresAuth","handleThreadReady","handlePostListReady")}async componentWillLoad(){this.initialize()}componentDidLoad(){this.observe()}connectedCallback(){it(this),this.observe()}disconnectedCallback(){this.disconnect(),this.disconnectContext()}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(t=>{Object.assign(this,t),this.threadProps=this.channelId&&this.parentId?{channelId:this.channelId,parentId:this.parentId,postId:this.postId}:null}).catch(t=>{this.error=t}).finally(()=>{this._loading=!1})}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}async fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){var t;let[e,i]=await Promise.all([J({isHub:this.isHub},this._context.hubRequestOptions),Q({discussion:this.discussion,entityId:this.entityId,entityType:this.entityType,entity:this.entity,locationId:this.locationId},this._context.hubRequestOptions,!0)]),{total:n}=await W({allowedChannelIds:(t=i.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds,requestOptions:this._context.hubRequestOptions,num:1});return Object.assign(Object.assign(Object.assign({},e),i),{numPostableChannels:n})}handleContextChanged(t,e){var i,n;((i=t?.currentUser)===null||i===void 0?void 0:i.username)!==((n=e?.currentUser)===null||n===void 0?void 0:n.username)&&(this.resetState(),this.loadDependencies())}resetState(){this.error=null,this._loading=!1,this.threadScrollTarget=null,this.listScrollTarget=null,this.optionsError=null,this.optionsSaving=!1,this.showPostEditor=!1,this.showOptions=!1,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.postListProps=null,this.threadProps=null}async handleBackToList(){let{thread:t}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.close.label.thread),{postId:t.postId,parentId:t.parentId,channelId:t.channelId,channelAccess:t.channel?U(t.channel):void 0})),this.threadScrollTarget=null,this.threadProps=null,this.channelId=null,this.parentId=null,this.postId=null,this.arcgisHubDiscussionsViewThread.emit({parentId:null,channelId:null})}observe(){$.addHandler(window.document.body,this.checkIsMobile)}disconnect(){$.removeHandler(window.document.body,this.checkIsMobile)}scrollToTarget(t){this.element.scrollTo({behavior:"smooth",left:t.offsetLeft,top:t.offsetTop})}async scrollToThreadTarget(){var t,e;let i;this.threadScrollTarget==="list"?i=await((t=this.thread)===null||t===void 0?void 0:t.getPostListRef()):this.threadScrollTarget==="editor"&&(i=await((e=this.thread)===null||e===void 0?void 0:e.getPostEditorRef())),i&&(this.threadScrollTarget=null,this.scrollToTarget(i))}async scrollToListTarget(){var t;let e=await((t=this.postListEl)===null||t===void 0?void 0:t.getPostRefByPostId(this.listScrollTarget));e&&(this.listScrollTarget=null,this.scrollToTarget(e))}handleNewPost(){this.hubTelemetry.emit(h.dictionary.category.interaction.action.open.label.editor),this.showPostEditor=!0}handlePostListUpdated(t){let e=t.target,{nextStart:i,start:n,total:a,items:o}=e;this.postListProps={nextStart:i,start:n,total:a,items:o}}handlePostEditorReady(t){let{detail:e}=t;t.stopPropagation(),this.arcgisHubPostEditorReady.emit(e)}handlePostCanceled(t){t.stopPropagation(),this.showPostEditor=!1}handlePostCreate(t){this.arcgisHubDiscussionsFeature.emit({post:t.detail,create:!0})}handleThreadReady(){setTimeout(()=>this.scrollToThreadTarget(),500)}handlePostListReady(){setTimeout(()=>this.scrollToListTarget(),500)}async handlePostDeleted(t){var e,i;let{postListProps:n,threadProps:a}=this,o=({id:l})=>l===t.detail.id;!((e=this.postListProps)===null||e===void 0)&&e.items.find(o)&&(this.postListProps=Object.assign(Object.assign({},n),{items:n.items.filter(l=>!o(l)),nextStart:n.nextStart>-1?n.nextStart-1:n.nextStart,total:n.total-1})),t.detail.id===((i=a?.parent)===null||i===void 0?void 0:i.id)&&(this.threadProps=Object.assign(Object.assign({},a),{parent:null})),this.arcgisHubDiscussionsFeatureDeleted.emit(t.detail)}async handlePostEdited(t){var e,i;let{postListProps:n,threadProps:a}=this,o=({id:l})=>l===t.detail.id;!((e=this.postListProps)===null||e===void 0)&&e.items.find(o)&&(this.postListProps=Object.assign(Object.assign({},n),{items:n.items.map(l=>o(l)?t.detail:l)})),t.detail.id===((i=a?.parent)===null||i===void 0?void 0:i.id)&&(this.threadProps=Object.assign(Object.assign({},a),{parent:t.detail})),this.arcgisHubDiscussionsFeature.emit({post:t.detail,create:!1})}handlePostSelect(t){let{parentId:e,channelId:i,channel:n,channelGroups:a,parent:o,parentCreator:l,parentCreatorOrg:r,scrollTarget:f,postId:b,post:v,postCreator:w,postCreatorOrg:D}=t.detail;Object.assign(this,{parentId:e,channelId:i,threadScrollTarget:f,listScrollTarget:e,postId:b,showPostEditor:!1,threadProps:e?{channelId:i,channel:n,channelGroups:a,parentId:e,parent:o,parentCreator:l,parentCreatorOrg:r,postId:b,post:v,postCreator:w,postCreatorOrg:D}:null}),this.arcgisHubDiscussionsViewThread.emit({parentId:e,channelId:i})}handleBackToThread(){let{thread:{channel:t},threadProps:{postId:e,parentId:i,channelId:n}}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.open.label.thread),{postId:e,parentId:i,channelId:n,channelAccess:t?U(t):void 0})),this.postId=null,this.threadProps=Object.assign(Object.assign({},this.threadProps),{postId:null}),this.arcgisHubDiscussionsViewThread.emit({parentId:i,channelId:n})}handleGeometryGoTo(){let{thread:t}=this;this.arcgisHubGeometryGoTo.emit(t?.parent)}handleGeometryFeatureSelect(t){t.stopPropagation(),this.arcgisHubGeometryFeatureSelect.emit(t.detail)}handleGeometryFeatureHover(t){t.stopPropagation(),this.arcgisHubGeometryFeatureHover.emit(t.detail)}handleGeometryDrawCreate(t){t.stopPropagation(),this.arcgisHubGeometryDrawCreate.emit(t.detail)}handleGeometryDrawTypeSelect(t){t.stopPropagation(),this.arcgisHubGeometryDrawTypeSelect.emit(t.detail)}handleGeometryDrawEdit(t){t.stopPropagation(),this.arcgisHubGeometryDrawEdit.emit(t.detail)}handleGeometryDrawEditCancel(t){t.stopPropagation(),this.arcgisHubGeometryDrawEditCancel.emit()}handleGeometryDrawReset(t){t.stopPropagation(),this.arcgisHubGeometryDrawReset.emit()}handleGeometrySelect(t){t.stopPropagation(),this.arcgisHubGeometrySelect.emit(t.detail)}handleGeometryDeselect(t){t.stopPropagation(),this.arcgisHubGeometryDeselect.emit()}handleFeatureRemove(t){t.stopPropagation(),this.arcgisHubFeatureRemove.emit(t.detail)}handleGeometryClearAll(t){t.stopPropagation(),this.arcgisHubGeometryClearAll.emit()}handleCalcitePanelDismissedChange(t){t.stopPropagation(),this.arcgisHubDiscussionsDismiss.emit()}handleCalcitePanelDismissChange(t){t.stopPropagation(),this.arcgisHubDiscussionsClose.emit()}captureEmptyListImpression(){this.hubTelemetry.emit(h.dictionary.category.interaction.action.viewed.label.empty)}handleCheckStatus(t){t.preventDefault();let e=t.target;this.hubTelemetry.emit(h.dictionary.category.navigation.action.external.label.hubStatus),setTimeout(()=>rt(e.href),250)}checkIsMobile(){this._checkIsMobile(globalThis.document.body)}_checkIsMobile(t){this.isMobile=t.clientWidth<768}handleDiscussionOptionsClick(){this.showOptions=!0,this.showPostEditor=!1,this.hubTelemetry.emit(h.dictionary.category.interaction.action.open.label.panel.details.discussionOptions)}async handleDiscussionsDownloadClick(){try{let{size:t,count:e,duration:i}=await vt({entityTitle:this.entity.title,discussion:this.discussion,channels:this.areChannelsConfigured?this.discussionSettings.allowedChannelIds:void 0,requestOptions:this._context.hubRequestOptions});this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.download.label.csv.details.export),{size:t,count:e,duration:i,response:h.constants.response.SUCCESS}))}catch{this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.download.label.csv.details.export),{response:h.constants.response.FAILURE})),Tt({title:this.intl.t("download.error"),message:"",configuration:{autoClose:!0,autoCloseDuration:"fast",icon:!0,noticeType:"alert",kind:"danger",label:this.intl.t("notice.label")}})}this.discussionOptionsPopoverEl.open=!1}handleOptionsBack(){this.showOptions=!1}async handleSaveOptions(t){this.entity=Object.assign(Object.assign({},this.entity),{typeKeywords:t.detail.typeKeywords}),this.discussionSettings=t.detail.discussionSettings,this.optionsSaving=!1}handleResetOptionsError(){this.optionsError=null}get loading(){return!this.intl||this._loading}get areChannelsConfigured(){var t,e;return!!(!((e=(t=this.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds)===null||e===void 0)&&e.length)}get discussionSettingsWorkspaceUrl(){return(this.isHub?"":this._context.hubHomeUrl)+q(this.entity.type,this.entityId,"settings-discussions")}get isRtl(){return this.intl.direction==="rtl"}get view(){let{error:t,loading:e,showOptions:i,threadProps:n}=this,a;return t?a=this.renderError:e?a=this.renderLoading:i?a=this.renderOptions:n?a=this.renderThread:a=this.renderPostList,a}get shouldRenderOptions(){let t=!1;return this.dismissible||(t=this.entityType===mt.CONTENT?this.canEditEntity:!1),t}get isDiscussable(){return!!this.entity&&z(this.entity)}get canEditEntity(){return!!this._context.currentUser&&B(this.entity.item,this._context.currentUser)}get hubEntityType(){return yt(Dt(this.entityType))}get shouldRenderSubscribe(){var t,e;let i=ot("hub:feature:discussions:subscription",this._context).access;return((t=this._context)===null||t===void 0?void 0:t.currentUser)&&((e=this.postListProps)===null||e===void 0?void 0:e.total)>0&&!this.locationId&&i}renderRequiresAuth(){let{intl:t}=this;if(t)return s("section",{class:"requires-auth"},s("calcite-icon",{icon:"frown",scale:"l"}),s("header",null,t.t("auth.title")),s("p",null,t.t("auth.text")))}renderEmpty(){var t;if(((t=this.postListProps)===null||t===void 0?void 0:t.total)===0&&!this.showPostEditor)return this.deletedDuringSession||this.captureEmptyListImpression(),s("section",{class:"empty",slot:"empty"},s("calcite-icon",{flipRtl:this.isRtl,icon:"speech-bubble",scale:"l"}),s("header",null,this.intl.t("emptyHeading")),s("p",null,this.intl.t("emptyMessage")),this._context.currentUser&&s("calcite-button",{disabled:!this.isDiscussable||!this.numPostableChannels,label:this.intl.t("addPost"),onClick:this.handleNewPost,round:!0,scale:"l"},this.intl.t("addPost")),this.renderNotice())}renderOptions(){let{entity:t,optionsSaving:e,intl:i,optionsError:n}=this;return s("calcite-panel",{"data-element":"discussions-options-panel",description:t.title,disabled:e,heading:i.t("options.heading")},s("calcite-action",{class:"discussions-back",onClick:this.handleOptionsBack,scale:"s",slot:"header-actions-start",text:this.intl.t("back")},s("calcite-icon",{class:"discussions-back-icon",flipRtl:this.isRtl,icon:"chevron-left",scale:"s"})),s("div",null,s("arcgis-hub-discussions-options",{entityId:t.id,entityType:this.hubEntityType,onArcgisHubDiscussionsOptionsEntitySaved:this.handleSaveOptions}),n&&s("calcite-notice",{closable:!0,kind:"danger",onCalciteNoticeClose:this.handleResetOptionsError,open:!0},s("header",{slot:"title"},i.t("options.failure.title")),s("p",{slot:"message"},i.t("options.failure.message")))))}renderPostEditor(){return s(F,null,s("arcgis-hub-discussions-post-editor",{discussion:this.discussion,discussionSettings:this.discussionSettings,entity:this.entity,entityId:this.entityId,entityType:this.entityType,hasMap:this.hasMap,isHub:this.isHub,isMobile:this.isMobile,locationId:this.locationId,showHeader:!0,showLocations:!0,slot:"list-before",unsavedExistingFeatures:this.unsavedExistingFeatures,unsavedFeatures:this.unsavedFeatures,unsavedRelatedFeatures:this.unsavedRelatedFeatures}))}renderAddOrCreatePostButton(){var t;if(((t=this.postListProps)===null||t===void 0?void 0:t.total)===void 0)return null;if(this.postListProps.total)return s(F,null,this._context.currentUser&&s("calcite-button",{appearance:"outline",disabled:!this.isDiscussable||!this.numPostableChannels,iconFlipRtl:"start",iconStart:"speech-bubble-plus",kind:"brand",label:this.intl.t("addPost"),onClick:this.handleNewPost,scale:"l",slot:"list-before",type:"button",width:"auto"},this.intl.t("addPost")),this.renderNotice("list-before"))}renderNotice(t){let e;return this.isDiscussable?this._context.currentUser?this.numPostableChannels||(e=this.renderParticipationUnavailableNotice(t)):e=this.renderSignInNotice(t):e=this.renderBlockedNotice(t),e}renderParticipationUnavailableNotice(t){return s("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m",slot:t},s("div",{slot:"title"},this.intl.t("participationUnavailable.title")),s("div",{slot:"message"},this.intl.t(this.areChannelsConfigured?"participationUnavailable.allowed":"participationUnavailable.any")),this.areChannelsConfigured&&this.canEditEntity&&this._context.hubLicense==="hub-premium"&&s("calcite-link",{href:this.discussionSettingsWorkspaceUrl,slot:"link"},this.intl.t("participationUnavailable.action")))}renderSignInNotice(t){return s("calcite-notice",{icon:"information",kind:"info",open:!0,scale:"m",slot:t},s("div",{slot:"title"},this.intl.t("signIn.title")),s("calcite-link",{onClick:this.handleSignInClicked,slot:"link"},this.intl.t("signIn.action")))}renderBlockedNotice(t){return s("arcgis-hub-discussions-blocked-notice",{slot:t,variant:this.entityType==="group"?_.Group:_.Item})}renderGoToAction(){let{enableGoTo:t,intl:e}=this;if(t)return s("calcite-action",{class:"discussions-go-to",onClick:this.handleGeometryGoTo,slot:"header-actions-end",text:e.t("showFullDiscussion")},s("calcite-icon",{class:"discussions-go-to-icon",icon:"extent",scale:"s"}))}renderSubscribeButton(){return s("arcgis-hub-subscription",{entityId:this.entityId,entityType:this.hubEntityType,slot:"list-before",subscribeButtonProps:{scale:"l",round:!1,width:"full"},types:[wt.DISCUSSION]})}renderPostList(){let{discussion:t,entity:e,entityId:i,entityType:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,showChannelAvatar:r,showChannelName:f,hasMap:b,isHub:v,unsavedFeatures:w,unsavedRelatedFeatures:D,unsavedExistingFeatures:C,showPostEditor:P,locationId:u,intl:g,shouldRenderOptions:T,isMobile:I,dismissible:y,postListProps:c,discussionSettings:m,handlePostListUpdated:O,handlePostListReady:p}=this,R={"location-list":!!u},x=u&&l?l:g.t("list.heading"),S=u?g.t("location.summary"):e.title;return s("calcite-panel",{closable:y,description:S,heading:x},this.renderGoToAction(),s(F,null,s("calcite-action",{class:"discussions-options",ref:E=>{this.discussionOptionsActionEl=E},scale:"m",slot:"header-actions-end",text:g.t("options")},s("calcite-icon",{class:"discussions-options-icon",icon:"ellipsis",scale:"s"})),s("calcite-popover",{autoClose:!0,flipPlacements:["top-end","bottom-end"],offsetDistance:0,overlayPositioning:"absolute",placement:"bottom-end",pointerDisabled:!0,ref:E=>{this.discussionOptionsPopoverEl=E},referenceElement:this.discussionOptionsActionEl},s("calcite-action-group",{layout:"vertical"},s("calcite-action",{alignment:"center",disabled:!c?.total,onClick:this.handleDiscussionsDownloadClick,scale:"m",text:g.t("download"),textEnabled:!0}),T&&s("calcite-action",{alignment:"left",onClick:this.handleDiscussionOptionsClick,scale:"m",text:g.t("settings"),textEnabled:!0})))),s("arcgis-hub-discussions-post-list",{channelIds:m?.allowedChannelIds,class:R,discussion:u?`${t}%?id=%${u}`:`${t}`,discussionSettings:m,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:e,entityId:i,entityType:n,hasMap:b,isHub:v,isMobile:I,items:c?.items,locationId:u,nextStart:c?.nextStart,onArcgisHubDiscussionsPostListReady:p,onArcgisHubDiscussionsPostListUpdated:O,parentIds:!u&&[],ref:E=>{this.postListEl=E},showChannelAvatar:r,showChannelName:f,showLocations:!0,start:c?.start,total:c?.total,unsavedExistingFeatures:C,unsavedFeatures:w,unsavedRelatedFeatures:D},!u&&(P?this.renderPostEditor():this.renderAddOrCreatePostButton()),this.shouldRenderSubscribe&&this.renderSubscribeButton(),this.renderEmpty()))}renderLoading(){return null}renderError(){let{intl:t}=this;return s("section",null,s("calcite-icon",{icon:"frown",scale:"l"}),s("header",null,t.t("error.title")),s("p",null,t.t("error.text")),s("calcite-button",{appearance:"transparent",href:"https://hubstatus.arcgis.com/",kind:"error",onClick:this.handleCheckStatus,round:!0,scale:"l"},t.t("error.button")))}renderThread(){let{hasMap:t,isHub:e,unsavedFeatures:i,unsavedRelatedFeatures:n,unsavedExistingFeatures:a,discussion:o,entity:l,entityId:r,entityType:f,discussionSettings:b,dismissible:v,displayFieldKey:w,displayFieldValid:D,displayFieldValue:C,showChannelAvatar:P,showChannelName:u,intl:g,handleBackToList:T,locationId:I,handleBackToThread:y,handleThreadReady:c,disableNavigation:m,isMobile:O,threadProps:p}=this,R="generic.heading",x="thread.summary",S=T;return p.postId?(R="reply.heading",x="reply.summary",S=y):I&&(R="location.heading"),m&&(R="list.heading"),s("calcite-panel",{closable:v,description:g.t(x),heading:g.t(R)},!m&&s("calcite-action",{class:"discussions-back",onClick:S,scale:"s",slot:"header-actions-start",text:g.t("back")},s("calcite-icon",{class:"discussions-back-icon",icon:"chevron-left",scale:"s"})),this.renderGoToAction(),s("arcgis-hub-discussions-thread",{channel:p.channel,channelGroups:p.channelGroups,channelId:p.channelId,discussion:o,discussionSettings:b,displayFieldKey:w,displayFieldValid:D,displayFieldValue:C,entity:l,entityId:r,entityType:f,hasMap:t,isHub:e,isMobile:O,locationId:I,onArcgisHubDiscussionsThreadReady:c,parent:p.parent,parentCreator:p.parentCreator,parentCreatorOrg:p.parentCreatorOrg,parentId:p.parentId,post:p.post,postCreator:p.postCreator,postCreatorOrg:p.postCreatorOrg,postId:p.postId,ref:E=>{this.thread=E},showChannelAvatar:P,showChannelName:u,showLocations:!0,unsavedExistingFeatures:a,unsavedFeatures:i,unsavedRelatedFeatures:n}))}render(){return s(A,{key:"4748fbfecea4988f6a628bce1c2aeb3e182dbe9d","data-element":"discussions"},this.view())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{_context:["handleContextChanged"]}}};st([Y({delay:300})],M.prototype,"fetchDependencies",null);st([tt()],M.prototype,"captureEmptyListImpression",null);st([V({timeout:250})],M.prototype,"checkIsMobile",null);M.style=kt;var At=':host{left:50%;width:auto;display:var(--display);transform:translate(-50%, 0)}:host([aria-hidden="true"]){display:none}div{border-bottom-right-radius:0.75rem;border-bottom-left-radius:0.75rem;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.75rem;padding-bottom:0.75rem;text-align:center;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));background-color:var(--hub-map-outline);font-weight:var(--calcite-font-weight-bold);font-size:var(--calcite-font-size--1)}calcite-button{margin-left:1rem}',Lt=At,Ht=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},Rt="#9747FF",nt=class{constructor(t){G(this,t),this.arcgisHubDrawDone=d(this,"arcgisHubDrawDone",7),this.activeStyles={outline:`.25rem solid ${Rt}`,padding:".25rem",outlineOffset:"-.25rem"},this.view=void 0,this.isConnected=void 0,k(this,"handleDone")}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.el)}connectedCallback(){this._connect()}disconnectedCallback(){this._disconnect()}_connect(){let{view:t,el:e,activeStyles:i}=this,n=a=>t.ui.container.style[a]=i[a];Object.keys(i).forEach(n),t.ui.add(e),setTimeout(()=>{this.isConnected=!0},50)}_disconnect(){let{view:t,activeStyles:e,el:i}=this,n=a=>t.ui.container.style.removeProperty(a);Object.keys(e).forEach(n),t.ui.remove(i),this.isConnected=!1}handleDone(){this.arcgisHubDrawDone.emit()}get hasViewUI(){let{view:t}=this;return!!(t&&t.ui)}get styles(){let{isConnected:t}=this;return{"--display":t?"block":"none","--hub-map-outline":Rt}}render(){let{intl:t,styles:e,isConnected:i}=this;return s(A,{key:"ae82736952f2c980dc72663d763460924414be67","aria-hidden":i,"data-element":"discussions-map-action-notice",style:e,tabindex:0},s("div",{key:"508f112b133fd28a9754f464781a9fac2cfbdeb8"},s("span",{key:"80c7ec9cb87a46a856caf4e2acf8e46de5af5034"},t.t("adding.notice")),s("calcite-button",{key:"14efbdfc5d47ab0b2dc859d19b6b3c379a4900b6",appearance:"outline-fill",kind:"neutral",onClick:this.handleDone,round:!0,scale:"s"},t.t("adding.action"))))}static get assetsDirs(){return["locales"]}get el(){return L(this)}};Ht([V({timeout:100}),Z({when(){return this.hasViewUI&&!this.isConnected}})],nt.prototype,"_connect",null);Ht([Z({when(){return this.hasViewUI&&this.isConnected}})],nt.prototype,"_disconnect",null);nt.style=Lt;var Gt=":host{display:block;background-color:var(--calcite-color-foreground-1);padding:1rem;padding-bottom:0.5rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}address{margin-bottom:0.125rem;display:grid;font-size:var(--calcite-font-size--1);font-style:normal;line-height:1.25rem;grid-template-columns:minmax(0, max-content) 1rem minmax(0, max-content)}address b{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}address span{display:flex;justify-content:center;color:var(--calcite-color-text-2)}address arcgis-relative-date{color:var(--calcite-color-text-2)}arcgis-multiline-ellipsis{font-size:var(--calcite-font-size-0);line-height:1.375}calcite-action-group{margin-left:2.75rem}.avatars{position:relative;grid-row:span 2 / span 2;float:left;margin-right:1.25rem;display:flex}.avatars:has(calcite-avatar:only-child){margin-right:0.5rem}.avatars calcite-avatar+calcite-avatar{position:absolute;top:1rem;left:1rem;z-index:10;border-radius:9999px;border:3px solid var(--calcite-color-foreground-1)}.avatars calcite-avatar:only-child{block-size:2.5rem;inline-size:2.5rem}@media only screen and (max-width: 640px){:host{border-radius:1.75rem}}@media only screen and (min-width: 640px){:host{border-radius:1.75rem 1.75rem 1.75rem 0}}",jt=Gt,Ut=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},Ot=class{constructor(t){G(this,t),this.arcgisHubDiscussionsViewFull=d(this,"arcgisHubDiscussionsViewFull",7),this.arcgisHubDiscussionsGeometryZoomTo=d(this,"arcgisHubDiscussionsGeometryZoomTo",7),this.arcgisHubDiscussionsPreviewDidRender=d(this,"arcgisHubDiscussionsPreviewDidRender",7),this.arcgisHubDiscussionsPreviewDismiss=d(this,"arcgisHubDiscussionsPreviewDismiss",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.locationId=void 0,this.postId=void 0,this.parentId=void 0,this.channelId=void 0,this.discussion=void 0,this.showChannelAvatar=void 0,this.loading=!0,this.post=void 0,this.postCreator=void 0,this.channel=void 0,k(this,"handleViewFullThread","handleZoomTo","handleDismiss")}get _context(){return N()}get creatorFullName(){let{intl:t,post:e,postCreator:i}=this,n=t.t("anonymous");return(i||e?.creator)&&(n=i?.fullName||t.t("privateUser")),n}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.element),this.initialize()}componentDidRender(){this.arcgisHubDiscussionsPreviewDidRender.emit(this.element.offsetHeight)}async initialize(){this._initialize()}async _initialize(){let{channelId:t,postId:e,parentId:i,locationId:n}=this;if(t&&(i||e||n)){this.loading=!0;let a=n&&!i?await this.fetchDetailsByLocationId():await this.fetchDetails(e);Object.assign(this,a,{loading:!1}),this.emitHubTelemetry(h.dictionary.category.interaction.action.open.label.popUp.details.post)}}async fetchDetailsByLocationId(){let{locationId:t,_context:e,discussion:i}=this,{items:[n]}=await ut(Object.assign({data:{discussion:`${i}%?id=%${t}%`,num:1,sortBy:ht.UPDATED_AT,sortOrder:ct.DESC,start:1,relations:[K.CHANNEL,K.CHANNEL_ACL]}},e.hubRequestOptions));return this.fetchDetails(n.id,n)}async fetchDetails(t,e){let{_context:i}=this,n=await et({postId:t,post:e},i.hubRequestOptions),[a,o]=await Promise.all([X(n,i.hubRequestOptions),It(n,i.hubRequestOptions)]);return Object.assign(Object.assign(Object.assign({},n),a),o)}emitHubTelemetry(t){let{postId:e,parentId:i,channelId:n,channel:a}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},t),{postId:e,parentId:i,channelId:n,channelAccess:U(a)}))}handleViewFullThread(){this.emitHubTelemetry(h.dictionary.category.interaction.action.open.label.thread.details[this.locationId?"location":"post"]),this.arcgisHubDiscussionsViewFull.emit()}handleZoomTo(){this.emitHubTelemetry(h.dictionary.category.interaction.action.zoom.label.in),this.arcgisHubDiscussionsGeometryZoomTo.emit(this.post)}handleDismiss(){this.emitHubTelemetry(h.dictionary.category.interaction.action.close.label.popUp.details.post),this.arcgisHubDiscussionsPreviewDismiss.emit()}renderAvatars(){var t;let{_context:e,channel:i,postCreator:n,post:a,showChannelAvatar:o,intl:l}=this,r=!n&&a?{username:a.creator}:n;return s(F,null,s("calcite-avatar",{"full-name":r?.fullName,scale:"m",thumbnail:r?.thumbnail&&lt(e.hubRequestOptions.portal,r,(t=e.hubRequestOptions.authentication)===null||t===void 0?void 0:t.token),"user-id":r?.id,username:r?.username}),o&&s("calcite-avatar",{"full-name":ft(i,l.t("unnamedChannel")),scale:"s"}))}renderContent(){let{post:t}=this;return s(F,null,s("div",{class:"avatars"},this.renderAvatars()),s("address",null,s("b",null,this.creatorFullName),s("span",null,"\xB7"),s("arcgis-relative-date",{dateTime:t.createdAt,formatStyle:"short"})),s("arcgis-multiline-ellipsis",{innerHTML:t.body,lines:2}),s("calcite-action-group",{layout:"horizontal"},s("calcite-action",{onClick:this.handleViewFullThread,scale:"s",text:this.intl.t("view"),textEnabled:!0}),!1,s("calcite-action",{onClick:this.handleDismiss,scale:"s",text:this.intl.t("dismiss"),textEnabled:!0})))}renderLoading(){return s("arcgis-hub-discussions-post-skeleton",null)}render(){return s(A,{key:"a2b6cdd27fe230cdcf980c6bc82f4f1ee8dfabb3","data-element":"discussions-map-preview"},this.loading?this.renderLoading():this.renderContent())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{channelId:["initialize"],parentId:["initialize"],locationId:["initialize"],postId:["initialize"]}}};Ut([V({timeout:0})],Ot.prototype,"initialize",null);Ot.style=jt;var Nt=":host{display:block}",Vt=Nt,Mt={content:"hub:content:settings:discussions:compact"},Bt=class{constructor(t){G(this,t),this.arcgisHubDiscussionsOptionsEntitySaved=d(this,"arcgisHubDiscussionsOptionsEntitySaved",7),this.entityId=void 0,this.entityType=void 0,this.entity=void 0,k(this,"handleEntityEditorSaved")}get _context(){return N()}async componentWillLoad(){await this.initialize()}async initialize(){!this.entity&&this.entityId&&this.entityType&&(this.entity=await pt(this.entityType,this.entityId,this._context))}get editorType(){return Mt[this.entityType]||null}handleEntityEditorSaved(t){this.arcgisHubDiscussionsOptionsEntitySaved.emit(t.detail.entity)}get isValidEditorType(){return gt.includes(this.editorType)}renderEntityEditor(){if(this.isValidEditorType)return s("arcgis-hub-entity-editor",{editorType:this.editorType,entity:this.entity,onArcgisHubEntityEditorSaved:this.handleEntityEditorSaved,variant:dt.workspace})}render(){return s(A,{key:"fa955ff196da9daf90a4c80310cc654c16713241","data-element":"discussions-options"},this.renderEntityEditor())}get element(){return L(this)}};Bt.style=Vt;var zt=".sc-arcgis-hub-discussions-thread-h{--arcgis-hub-layout-list-gap:0;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);padding-top:0.75rem;padding-bottom:0.75rem}arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;padding-left:0.75rem;padding-right:0.75rem}arcgis-hub-discussions-post-list.sc-arcgis-hub-discussions-thread{margin-left:1rem;margin-right:1rem}arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-thread:not([parent-id]){margin-left:1rem;margin-right:1rem;margin-bottom:1rem}arcgis-hub-discussions-post[parent-id].sc-arcgis-hub-discussions-thread{padding-left:1rem;padding-right:1rem}arcgis-hub-discussions-post.sc-arcgis-hub-discussions-thread:not([parent-id])+arcgis-hub-discussions-post[parent-id].sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem}calcite-notice.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;padding-left:1rem;padding-right:1rem}calcite-notice.sc-arcgis-hub-discussions-thread:first-child{margin-top:0px}arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions-thread,arcgis-hub-notice.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;margin-left:1rem;margin-right:1rem}",qt=zt,xt=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},H;(function(t){t.Loading="loading",t.ParentAndReply="parent_and_reply",t.ParentAndReplies="parent_and_replies",t.ThreadDeleted="thread_deleted",t.ChannelDeleted="channel_deleted"})(H||(H={}));var at=class{constructor(t){G(this,t),this.arcgisHubDiscussionsPostSelect=d(this,"arcgisHubDiscussionsPostSelect",7),this.arcgisAppIdentityStartSignIn=d(this,"arcgisAppIdentityStartSignIn",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.arcgisHubDiscussionsThreadReady=d(this,"arcgisHubDiscussionsThreadReady",7),this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.postId=void 0,this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.parent=void 0,this.parentId=void 0,this.parentCreator=void 0,this.parentCreatorOrg=void 0,this.channelId=void 0,this.channel=void 0,this.channelGroups=void 0,this.discussion=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.isMobile=void 0,this.locationId=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=N(),this.intl=void 0,this._loading=void 0,this.parentReady=!1,this.postReady=!1,this.postListReady=!1,this.postEditorReady=!1,this.ready=!1,this.numPostableChannels=null,k(this,"renderParentAndReply","renderParentAndReplies","renderThreadDeleted","renderChannelInaccessible","handleViewAllReplies","handleViewAllPosts","renderLoading","handleParentReady","handlePostReady","handlePostListReady","handlePostEditorReady","handleSignInClicked")}componentWillLoad(){this.initialize()}connectedCallback(){it(this)}disconnectedCallback(){this.disconnectContext()}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(t=>{Object.assign(this,t),this._loading=!1})}fetchDependencies(){return this._fetchDependencies()}handleContextChanged(t,e){var i,n;((i=t?.currentUser)===null||i===void 0?void 0:i.username)!==((n=e?.currentUser)===null||n===void 0?void 0:n.username)&&this.loadDependencies()}handleParentReady(){this.parentReady=!0,this.updateReady()}handlePostReady(){this.postReady=!0,this.updateReady()}handlePostEditorReady(){this.postEditorReady=!0,this.updateReady()}handlePostListReady(){this.postListReady=!0,this.updateReady()}handleReadyChange(t){t&&this.arcgisHubDiscussionsThreadReady.emit()}updateReady(){let t=[[this.postEditorRef,this.postEditorReady],[this.parentRef,this.parentReady],[this.postRef,this.postReady],[this.postListRef,this.postListReady]];this.ready=t.filter(([e])=>!!e).every(([e,i])=>i)}async getPostEditorRef(){return this.postEditorRef}async getPostListRef(){return this.postListRef}async _fetchDependencies(){let{isHub:t,_context:e,postId:i,post:n,parent:a,parentId:o,discussion:l,entityId:r,entityType:f,discussionSettings:b,entity:v,locationId:w,parentCreator:D,channelId:C,channel:P,channelGroups:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I}=this,[y,c]=await Promise.all([et({postId:i,post:n},e.hubRequestOptions),J({isHub:t},e.hubRequestOptions)]),m=await Ct(Object.assign({parentId:o,parent:a},y),e.hubRequestOptions),[O,p,R]=await Promise.all([Pt(Object.assign({parentCreator:D},m),e.hubRequestOptions),Q(Object.assign(Object.assign({discussion:l,entityId:r,entityType:f,entity:v,locationId:w,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I,discussionSettings:b},y),m),e.hubRequestOptions),X(Object.assign(Object.assign({channelId:C,channel:P,channelGroups:u},y),m),e.hubRequestOptions)]),{total:x}=await W({allowedChannelIds:[this.channelId],requestOptions:this._context.hubRequestOptions,num:1});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},y),m),O),c),p),R),{numPostableChannels:x})}get loading(){let{intl:t,_loading:e,_context:i,channel:n}=this;return!t||!i||e||n===void 0}get areChannelsConfigured(){var t,e;return!!(!((e=(t=this.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds)===null||e===void 0)&&e.length)}get canEditEntity(){return!!this._context.currentUser&&B(this.entity.item,this._context.currentUser)}get discussionSettingsWorkspaceUrl(){return(this.isHub?"":this._context.hubHomeUrl)+q(this.entity.type,this.entityId,"settings-discussions")}handlePostOrReplyDeleted(t){let{parent:e,post:i}=this;(t.detail.id===e?.id||t.detail.id===i?.id)&&(t.detail.id===e?.id?this.parent=null:this.post=null,this.deletedDuringSession=!0)}handleViewAllReplies(){let{channelId:t,channel:e,channelGroups:i,parent:n,parentId:a,postId:o,parentCreator:l,parentCreatorOrg:r}=this;this.arcgisHubDiscussionsPostSelect.emit({channel:e,channelId:t,channelGroups:i,parentId:a,parent:n,parentCreator:l,parentCreatorOrg:r}),this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.open.label.thread),{postId:o,parentId:a}))}handleViewAllPosts(){let{parentId:t,postId:e}=this;this.arcgisHubDiscussionsPostSelect.emit({channelId:null,channel:null,channelGroups:null,parent:null,parentId:null,parentCreator:null,parentCreatorOrg:null}),this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.close.label.thread),{postId:e,parentId:t}))}emitHubTelemetry(t){let{channelId:e,channel:i}=this;this.hubTelemetry.emit(Object.assign({channelId:e,channelAccess:i?U(i):void 0},t))}get views(){let{renderLoading:t,renderParentAndReply:e,renderParentAndReplies:i,renderThreadDeleted:n,renderChannelInaccessible:a}=this;return{[H.Loading]:{render:t},[H.ParentAndReply]:{render:e},[H.ParentAndReplies]:{render:i},[H.ThreadDeleted]:{render:n},[H.ChannelDeleted]:{render:a}}}get view(){let{views:t,parentId:e,postId:i,parent:n,post:a,loading:o,channel:l}=this,r;return o?r=H.Loading:l===null?r=H.ChannelDeleted:e&&i&&n===null&&a===null?r=H.ThreadDeleted:i?r=H.ParentAndReply:r=H.ParentAndReplies,t[r]}handleHubTelemetry(t){let e=[{from:h.dictionary.category.interaction.action.viewed.label.post.details.postList,to:h.dictionary.category.interaction.action.viewed.label.post.details.thread},{from:h.dictionary.category.interaction.action.open.label.postList,to:null}],i=a=>Object.entries(a).every(([o,l])=>{var r;return((r=t.detail)===null||r===void 0?void 0:r[o])===l}),n=e.find(({from:a})=>i(a));n&&(n.to?Object.assign(t.detail,n.to):t.stopPropagation())}handleSignInClicked(t){t.preventDefault(),this.arcgisAppIdentityStartSignIn.emit()}captureThreadDeletedImpression(){let{postId:t,parentId:e}=this;this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.viewed.label.post.details.thread),{postId:t,parentId:e,response:h.constants.response.FAILURE}))}get blockedNotice(){let t=bt(this.channel,this._context.currentUser),e=!z(this.entity),i;return t&&e?i=_.Reply:t?i=_.Group:e&&(i=this.entityType==="group"?_.Group:_.Item),i}renderChannelInaccessible(){return this._context.currentUser?s("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t("thread.inaccessible.title")),s("div",{slot:"message"},this.intl.t("thread.inaccessible.message")),s("calcite-link",{onClick:this.handleViewAllPosts,slot:"link"},this.intl.t("thread.inaccessible.action"))):this.renderSignInNotice()}renderParent(){let{channel:t,channelGroups:e,channelId:i,discussion:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,showChannelAvatar:r,showChannelName:f,entity:b,entityId:v,entityType:w,hasMap:D,isHub:C,isMobile:P,locationDescriptionText:u,locationId:g,parentId:T,parent:I,unsavedExistingFeatures:y,unsavedFeatures:c,unsavedRelatedFeatures:m,parentCreator:O,parentCreatorOrg:p,handleParentReady:R,showLocations:x}=this;return s("arcgis-hub-discussions-post",{channel:t,channelGroups:e,channelId:i,discussion:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:b,entityId:v,entityType:w,hasMap:D,isHub:C,isMobile:P,locationDescriptionText:u,locationId:g,onArcgisHubDiscussionsPostReady:R,parentCreatorOrg:p,post:I,postCreator:O,postId:T,ref:S=>{this.parentRef=S},showChannelAvatar:r,showChannelName:f,showLocations:x,unsavedExistingFeatures:y,unsavedFeatures:c,unsavedRelatedFeatures:m})}renderReplyEditor(){let{hasMap:t,unsavedFeatures:e,unsavedRelatedFeatures:i,unsavedExistingFeatures:n,isHub:a,discussion:o,parentId:l,parent:r,entity:f,entityId:b,entityType:v,discussionSettings:w,channelId:D,channel:C,channelGroups:P,isMobile:u,locationId:g,handlePostEditorReady:T,showLocations:I,disableSelectExistingLocation:y,blockedNotice:c,numPostableChannels:m}=this;if(r&&!c&&m)return s("arcgis-hub-discussions-post-editor",{channel:C,channelGroups:P,channelId:D,disableSelectExistingLocation:y,discussion:o,discussionSettings:w,entity:f,entityId:b,entityType:v,hasMap:t,isHub:a,isMobile:u,locationId:g,onArcgisHubDiscussionsPostEditorReady:T,parent:r,parentId:l,ref:O=>{this.postEditorRef=O},showLocations:I,unsavedExistingFeatures:n,unsavedFeatures:e,unsavedRelatedFeatures:i})}renderNotice(){let{blockedNotice:t,_context:e}=this,i;return t?i=s("arcgis-hub-discussions-blocked-notice",{variant:t}):e.currentUser?this.numPostableChannels||(i=this.renderParticipationUnavailableNotice()):i=this.renderSignInNotice(),i}renderParticipationUnavailableNotice(){return s("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t("participationUnavailable.title")),s("div",{slot:"message"},this.intl.t(this.areChannelsConfigured?"participationUnavailable.allowed":"participationUnavailable.any")),this.areChannelsConfigured&&this.canEditEntity&&this._context.hubLicense==="hub-premium"&&s("calcite-link",{href:this.discussionSettingsWorkspaceUrl,slot:"link"},this.intl.t("participationUnavailable.action")))}renderSignInNotice(){return s("calcite-notice",{icon:"information",kind:"info",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t("signInTitle")),s("calcite-link",{onClick:this.handleSignInClicked,slot:"link"},this.intl.t("signInAction")))}renderParentAndReplies(){let{hasMap:t,unsavedFeatures:e,unsavedRelatedFeatures:i,unsavedExistingFeatures:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,intl:r,isHub:f,discussion:b,parentId:v,entity:w,entityId:D,entityType:C,discussionSettings:P,isMobile:u,locationDescriptionText:g,locationId:T,handlePostListReady:I,showLocations:y}=this;return s(F,null,this.renderParent(),this.renderReplyEditor(),this.renderNotice(),s("arcgis-hub-discussions-post-list",{discussion:b,discussionSettings:P,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:w,entityId:D,entityType:C,hasMap:t,isHub:f,isMobile:u,locationDescriptionText:g,locationId:T,onArcgisHubDiscussionsPostListReady:I,parentIds:[v],ref:c=>{this.postListRef=c},showLocations:y,unsavedExistingFeatures:n,unsavedFeatures:e,unsavedRelatedFeatures:i},s("calcite-notice",{kind:"danger",open:!0,scale:"m",slot:"error"},s("div",{slot:"title"},r.t("error")),s("div",{slot:"message"},r.t("repliesFailure")))))}renderParentAndReply(){let{intl:t,handleViewAllReplies:e,post:i,postCreator:n,postCreatorOrg:a,unsavedFeatures:o,hasMap:l,isHub:r,unsavedRelatedFeatures:f,unsavedExistingFeatures:b,channel:v,channelGroups:w,channelId:D,isMobile:C,locationId:P,discussion:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I,showChannelAvatar:y,showChannelName:c,entity:m,entityId:O,entityType:p,parentId:R,parent:x,parentCreator:S,parentCreatorOrg:E,postId:Et,handlePostReady:St}=this;return s(F,null,this.renderParent(),!!i&&s("calcite-notice",{open:!0,scale:"s"},s("div",{slot:"title"},t.t("reply.single.title")),s("calcite-link",{onClick:e,slot:"link"},t.t("reply.single.link"))),s("arcgis-hub-discussions-post",{channel:v,channelGroups:w,channelId:D,discussion:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I,entity:m,entityId:O,entityType:p,hasMap:l,isHub:r,isMobile:C,locationDescriptionText:this.locationDescriptionText,locationId:P,onArcgisHubDiscussionsPostReady:St,parent:x,parentCreator:S,parentCreatorOrg:E,parentId:R,post:i,postCreator:n,postCreatorOrg:a,postId:Et,ref:Ft=>{this.postRef=Ft},showChannelAvatar:y,showChannelName:c,showLocations:this.showLocations,unsavedExistingFeatures:b,unsavedFeatures:o,unsavedRelatedFeatures:f}))}renderThreadDeleted(){let{intl:t,deletedDuringSession:e}=this;return e||this.captureThreadDeletedImpression(),s("calcite-notice",{kind:"danger",open:!0,scale:"m"},s("div",{slot:"title"},t.t("thread.deleted.title")),s("div",{slot:"message"},t.t("thread.deleted.message")),s("calcite-link",{onClick:this.handleViewAllPosts,slot:"link"},t.t("thread.deleted.action")))}renderLoading(){return null}render(){let{view:t}=this;return s(A,{key:"725a9c3f718ae5178c7ad5258befa329b55e62d6","data-element":"discussions-thread"},t.render())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{_context:["handleContextChanged"],ready:["handleReadyChange"]}}};xt([Y({delay:300})],at.prototype,"fetchDependencies",null);xt([tt()],at.prototype,"captureThreadDeletedImpression",null);at.style=qt;return{arcgis_hub_discussions:M,arcgis_hub_discussions_map_action_notice:nt,arcgis_hub_discussions_map_preview:Ot,arcgis_hub_discussions_options:Bt,arcgis_hub_discussions_thread:at}},"config",a,b)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{a as f,b as h,d as n,e as b}from"./IXQ2D2UD.js";import{b as u}from"./4JIUEVZH.js";import{c as g}from"./XPDBNQPQ.js";import{a as i}from"./EBZ2LG2B.js";import"./A46VYNTH.js";import"./YAWTZOWY.js";import"./FUVW45UR.js";import"./BMV7SNOQ.js";import"./V6R6D6QQ.js";import"./ETE7XFXI.js";import"./UPC4I723.js";import"./SWM3B4XJ.js";import"./YK3UCJX4.js";import"./3UE7MFMJ.js";import"./DOKOZ6AO.js";import"./VIJIBCKZ.js";import{c as E}from"./YJHPR3QZ.js";import"./HVZR3ZJ4.js";import"./J5URYDSE.js";import"./DSWH3BSZ.js";import"./RIUBYOWD.js";import"./EGN5K4R5.js";import"./IGNZWKJ4.js";import{a as d}from"./RCKCIQDI.js";import"./C4I34NZZ.js";import"./VZRDWOH2.js";import{a as o}from"./ICFH6C3K.js";import"./XOMLRIJN.js";import{b as y,c as w,d as D,e as l,i as T}from"./ILNQM4AV.js";import"./5T7UUDPW.js";import"./6OZG2QCE.js";import"./XFYO5IG3.js";import"./OD6Y5IVF.js";import"./DGLGW5E5.js";export default $arcgis.t(([{buffer:C}])=>{var mt=class{constructor(r){T(this,r),this.arcgisHubDownloadUpdate=l(this,"arcgisHubDownloadUpdate",7),this.hubTelemetry=l(this,"hubTelemetry",7),this.activeJobs={}}async componentWillLoad(){this.intl=await d.loadIntlForComponent(this.element)}async handleDownloadRequest(r){let{jobId:a,entity:m,format:s,layers:O,geometry:c,where:F,updateCache:v}=r.detail;if(this.activeJobs[a]){console.warn("Job already in progress");return}let A=(t,e)=>{this.arcgisHubDownloadUpdate.emit({jobId:a,status:t,progress:e})},p=new Date().valueOf();try{let t=c;t?.type==="point"&&(t=C(c,1,"feet").extent);let e=await u({entity:m,format:s,context:E(),layers:O,geometry:t,where:F,progressCallback:A,updateCache:v});this.hubTelemetry.emit({category:o.constants.category.INTERACTION,action:o.constants.action.DOWNLOAD,label:n(s),details:b(m,!!e.cacheStatus),response:o.constants.response.SUCCESS,duration:new Date().valueOf()-p}),this.arcgisHubDownloadUpdate.emit({jobId:a,status:i.COMPLETED,cacheStatus:e.cacheStatus}),e.type==="blob"?h(e.blob,e.filename):f(e.href)}catch(t){this.hubTelemetry.emit({category:o.constants.category.INTERACTION,action:o.constants.action.DOWNLOAD,label:n(s),response:`${o.constants.response.FAILURE} | ${t.message}`,duration:new Date().valueOf()-p}),console.error(`Download failed: ${t.message}`),this.arcgisHubDownloadUpdate.emit({jobId:a,status:i.FAILED,error:t instanceof g?this.intl.t("downloadTooLargeErrorMessage"):this.intl.t("defaultErrorMessage")})}finally{delete this.activeJobs[a]}}render(){return y(w,{key:"715c1cc4acedf4252a04f0c4b8a333c37eecf41f","data-element":"download-manager"})}static get assetsDirs(){return["locales"]}get element(){return D(this)}};return mt},"geometry/geometryEngine")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{c as ut,e as lt}from"./DGLGW5E5.js";var pt={};lt(pt,{__addDisposableResource:()=>Ge,__assign:()=>O,__asyncDelegator:()=>ve,__asyncGenerator:()=>$e,__asyncValues:()=>je,__await:()=>N,__awaiter:()=>_e,__classPrivateFieldGet:()=>Ce,__classPrivateFieldIn:()=>Ne,__classPrivateFieldSet:()=>De,__createBinding:()=>Y,__decorate:()=>de,__disposeResources:()=>Me,__esDecorate:()=>xe,__exportStar:()=>Ie,__extends:()=>pe,__generator:()=>Te,__importDefault:()=>Ae,__importStar:()=>Pe,__makeTemplateObject:()=>Ue,__metadata:()=>Ee,__param:()=>ge,__propKey:()=>we,__read:()=>oe,__rest:()=>B,__rewriteRelativeImportExtension:()=>Fe,__runInitializers:()=>be,__setFunctionName:()=>ye,__spread:()=>ke,__spreadArray:()=>Se,__spreadArrays:()=>Re,__values:()=>V,default:()=>ft});function pe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");re(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function B(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function de(e,t,r,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,r,o):s(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o}function ge(e,t){return function(r,n){t(r,n,e)}}function xe(e,t,r,n,i,o){function s(x){if(x!==void 0&&typeof x!="function")throw new TypeError("Function expected");return x}for(var a=n.kind,m=a==="getter"?"get":a==="setter"?"set":"value",l=!t&&e?n.static?e:e.prototype:null,p=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),g,y=!1,d=r.length-1;d>=0;d--){var u={};for(var f in n)u[f]=f==="access"?{}:n[f];for(var f in n.access)u.access[f]=n.access[f];u.addInitializer=function(x){if(y)throw new TypeError("Cannot add initializers after decoration has completed");o.push(s(x||null))};var b=(0,r[d])(a==="accessor"?{get:p.get,set:p.set}:p[m],u);if(a==="accessor"){if(b===void 0)continue;if(b===null||typeof b!="object")throw new TypeError("Object expected");(g=s(b.get))&&(p.get=g),(g=s(b.set))&&(p.set=g),(g=s(b.init))&&i.unshift(g)}else(g=s(b))&&(a==="field"?i.unshift(g):p[m]=g)}l&&Object.defineProperty(l,n.name,p),y=!0}function be(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function we(e){return typeof e=="symbol"?e:"".concat(e)}function ye(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function Ee(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function _e(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(p){try{l(n.next(p))}catch(g){s(g)}}function m(p){try{l(n.throw(p))}catch(g){s(g)}}function l(p){p.done?o(p.value):i(p.value).then(a,m)}l((n=n.apply(e,t||[])).next())})}function Te(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(p){return m([l,p])}}function m(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(o=l[0]&2?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(l[0]===6&&r.label<o[1]){r.label=o[1],o=l;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(l);break}o[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(p){l=[6,p],i=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Ie(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Y(t,e,r)}function V(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function oe(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function ke(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(oe(arguments[t]));return e}function Re(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)n[i]=o[s];return n}function Se(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function N(e){return this instanceof N?(this.v=e,this):new N(e)}function $e(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(d){return function(u){return Promise.resolve(u).then(d,g)}}function a(d,u){n[d]&&(i[d]=function(f){return new Promise(function(b,x){o.push([d,f,b,x])>1||m(d,f)})},u&&(i[d]=u(i[d])))}function m(d,u){try{l(n[d](u))}catch(f){y(o[0][3],f)}}function l(d){d.value instanceof N?Promise.resolve(d.value.v).then(p,g):y(o[0][2],d)}function p(d){m("next",d)}function g(d){m("throw",d)}function y(d,u){d(u),o.shift(),o.length&&m(o[0][0],o[0][1])}}function ve(e){var t,r;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,o){t[i]=e[i]?function(s){return(r=!r)?{value:N(e[i](s)),done:!1}:o?o(s):s}:o}}function je(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof V=="function"?V(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=e[o]&&function(s){return new Promise(function(a,m){s=e[o](s),i(a,m,s.done,s.value)})}}function i(o,s,a,m){Promise.resolve(m).then(function(l){o({value:l,done:a})},s)}}function Ue(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function Pe(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=ne(e),n=0;n<r.length;n++)r[n]!=="default"&&Y(t,e,r[n]);return mt(t,e),t}function Ae(e){return e&&e.__esModule?e:{default:e}}function Ce(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function De(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}function Ne(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function Ge(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(o){return Promise.reject(o)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}function Me(e){function t(o){e.error=e.hasError?new ht(o,e.error,"An error was suppressed during disposal."):o,e.hasError=!0}var r,n=0;function i(){for(;r=e.stack.pop();)try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(s){return t(s),i()})}else n|=1}catch(s){t(s)}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()}function Fe(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,o,s){return n?t?".jsx":".js":i&&(!o||!s)?r:i+o+"."+s.toLowerCase()+"js"}):e}var re,O,Y,mt,ne,ht,ft,Le=ut(()=>{re=function(e,t){return re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},re(e,t)};O=function(){return O=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},O.apply(this,arguments)};Y=Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]});mt=Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t},ne=function(e){return ne=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},ne(e)};ht=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};ft={__extends:pe,__assign:O,__rest:B,__decorate:de,__param:ge,__esDecorate:xe,__runInitializers:be,__propKey:we,__setFunctionName:ye,__metadata:Ee,__awaiter:_e,__generator:Te,__createBinding:Y,__exportStar:Ie,__values:V,__read:oe,__spread:ke,__spreadArrays:Re,__spreadArray:Se,__await:N,__asyncGenerator:$e,__asyncDelegator:ve,__asyncValues:je,__makeTemplateObject:Ue,__importStar:Pe,__importDefault:Ae,__classPrivateFieldGet:Ce,__classPrivateFieldSet:De,__classPrivateFieldIn:Ne,__addDisposableResource:Ge,__disposeResources:Me,__rewriteRelativeImportExtension:Fe}});Le();function Q(e){return Object.keys(e).some(t=>{let r=e[t];if(!r)return!1;switch(r&&r.toParam&&(r=r.toParam()),r.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function X(e){let t={};return Object.keys(e).forEach(r=>{var n,i;let o=e[r];if(o&&o.toParam&&(o=o.toParam()),!o&&o!==0&&typeof o!="boolean"&&typeof o!="string")return;let s=o.constructor.name,a;switch(s){case"Array":let m=(i=(n=o[0])===null||n===void 0?void 0:n.constructor)===null||i===void 0?void 0:i.name;a=m==="Array"?o:m==="Object"?JSON.stringify(o):o.join(",");break;case"Object":a=JSON.stringify(o);break;case"Date":a=o.valueOf();break;case"Function":a=null;break;case"Boolean":a=o+"";break;default:a=o;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(t[r]=a)}),t}function ze(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(r=>ze(e,r)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function j(e){let t=X(e);return Object.keys(t).map(r=>ze(r,t[r])).join("&")}var Je=globalThis.FormData,Ct=globalThis.File,Dt=globalThis.Blob;function We(e,t){let r=Q(e)||t,n=X(e);if(r){let i=new Je;return Object.keys(n).forEach(o=>{if(typeof Blob<"u"&&n[o]instanceof Blob){let s=n.fileName||n[o].name||o;i.append(o,n[o],s)}else i.append(o,n[o])}),i}else return j(e)}var S=class extends Error{constructor(t,r,n,i,o){super(t);let s=new.target.prototype;Object.setPrototypeOf(this,s),t=t||"UNKNOWN_ERROR",r=r||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=r==="UNKNOWN_ERROR_CODE"?t:`${r}: ${t}`,this.originalMessage=t,this.code=r,this.response=n,this.url=i,this.options=o}};var dt={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},ie="ARCGIS_REST_JS_NO_CORS";globalThis[ie]||(globalThis[ie]=Object.assign({},dt));var _=globalThis[ie];function He(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let r=t.origin;return _.pendingNoCorsRequests[r]?_.pendingNoCorsRequests[r]:(_.pendingNoCorsRequests[r]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{_.noCorsDomains.indexOf(r)===-1&&_.noCorsDomains.push(r),_.crossOriginNoCorsDomains[r.toLowerCase()]=Date.now(),delete _.pendingNoCorsRequests[r]}).catch(n=>(delete _.pendingNoCorsRequests[r],Promise.reject(new Error(`no-cors request to ${r} failed`)))),_.pendingNoCorsRequests[r])}function Ke(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?se(t):(se("http://"+t),se("https://"+t))})}function se(e){let r=new URL(e).origin;_.noCorsDomains.indexOf(r)===-1&&_.noCorsDomains.push(r)}function ae(e){let t=!1;if(_.noCorsDomains.length){let r=new URL(e).origin.toLowerCase();t=_.noCorsDomains.some(n=>r.includes(n))}return t}function Oe(e){let t=!1;if(ae(e)){let r=new URL(e).origin.toLowerCase(),n=_.crossOriginNoCorsDomains[r]||0;Date.now()-60*6e4>n&&(t=!0)}return t}function $(e){console&&console.warn&&console.warn.apply(console,[e])}function Ve(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function Be(e,t){var r;if(!t&&!window||!e)return!1;{t=t||window;let n=(r=t.location)===null||r===void 0?void 0:r.origin;return e.startsWith(n)}}var ce="@esri/arcgis-rest-js";function gt(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var A=class extends S{constructor(t="AUTHENTICATION_ERROR",r="AUTHENTICATION_ERROR_CODE",n,i,o){super(t,r,n,i,o),this.name="ArcGISAuthError",this.message=r==="AUTHENTICATION_ERROR_CODE"?t:`${r}: ${t}`;let s=new.target.prototype;Object.setPrototypeOf(this,s)}retry(t,r=1){let n=0,i=(o,s)=>{n=n+1,t(this.url,this.options).then(a=>{let m=Object.assign(Object.assign({},this.options),{authentication:a});return Ye(this.url,m)}).then(a=>{o(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<r?i(o,s):a.name===this.name&&a.message===this.message&&n>=r?s(this):s(a)})};return new Promise((o,s)=>{i(o,s)})}};function xt(e,t,r,n,i){if(e.code>=400){let{message:o,code:s}=e;throw new S(o,s,e,t,n)}if(e.error){let{message:o,code:s,messageCode:a}=e.error,m=a||s||"UNKNOWN_ERROR_CODE";throw s===498||s===499?i||new A(o,m,e,t,n):new S(o,m,e,t,n)}if(e.status==="failed"||e.status==="failure"){let o,s="UNKNOWN_ERROR_CODE";try{o=JSON.parse(e.statusMessage).message,s=JSON.parse(e.statusMessage).code}catch{o=e.statusMessage||e.message}throw new S(o,s,e,t,n)}return e}function Ye(e,t){let r=gt(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},r),t),{params:Object.assign(Object.assign({},r.params),t.params),headers:Object.assign(Object.assign({},r.headers),t.headers)}),{httpMethod:i,rawResponse:o}=n,s=Object.assign({f:"json"},n.params),a=null,m={method:i,signal:n.signal,credentials:n.credentials||"same-origin"};ae(e)&&(m.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(m.credentials="include");let l;if(typeof n.authentication=="string"){let u=n.authentication;l={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(u)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AAPT")&&!n.authentication.startsWith("AATK")&&!n.authentication.startsWith("AAST")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&($("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else l=n.authentication;let p=e,g=!1;typeof window<"u"&&(g=Be(e));let y=!g&&Oe(e);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(m.credentials="include");let d=Promise.resolve();return y&&(m.credentials="include",d=He(e)),d.then(()=>l?l.getToken(e).catch(u=>(u.url=e,u.options=n,a=u,Promise.resolve(""))):Promise.resolve("")).then(u=>{u.length&&(s.token=u),l&&l.getDomainCredentials&&(m.credentials=l.getDomainCredentials(e));let f={};if(m.method==="GET"){s.token&&n.hideToken&&typeof window>"u"&&(f["X-Esri-Authorization"]=`Bearer ${s.token}`,delete s.token);let R=j(s)===""?e:e+"?"+j(s);n.maxUrlLength&&R.length>n.maxUrlLength||!n.maxUrlLength&&R.length>2e3||s.token&&n.hideToken?(m.method="POST",u.length&&n.hideToken&&(s.token=u,delete f["X-Esri-Authorization"])):e=R}let b=new RegExp("/items/.+/updateResources").test(e);return m.method==="POST"&&(m.body=We(s,b)),m.headers=Object.assign(Object.assign({},f),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!m.headers.referer&&(m.headers.referer=ce),!Q(s)&&!b&&(m.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,m):Ve().then(({fetch:x})=>x(e,m))}).then(u=>{if(!u.ok)return u.json().then(f=>{let{status:b,statusText:x}=u,{message:R,details:D}=f.error,P=`${R}. ${D?D.join(" "):""}`.trim();throw new S(P,`HTTP ${b} ${x}`,f,e,n)}).catch(f=>{if(f.name==="ArcGISRequestError")throw f;let{status:b,statusText:x}=u;throw new S(x,`HTTP ${b}`,u,e,n)});if(o)return u;switch(s.f){case"json":return u.json();case"geojson":return u.json();case"html":return u.text();case"text":return u.text();default:return u.blob()}}).then(u=>{if((s.f==="json"||s.f==="geojson")&&!o){let f=xt(u,p,s,n,a);if(u&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(u.authorizedCrossOriginNoCorsDomains)&&Ke(u.authorizedCrossOriginNoCorsDomains),a){let b=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[b]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return f}else return u})}function c(e,t={params:{f:"json"}}){let{request:r}=t,n=B(t,["request"]);return r?r(e,n):Ye(e,n).catch(i=>i instanceof A&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?i.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(i))}function U(e,t,r){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],i=Object.assign(Object.assign({params:{}},r),e);return i.params=t.reduce((o,s)=>((e[s]||typeof e[s]=="boolean"||typeof e[s]=="number"&&e[s]===0)&&(o[s]=e[s]),o),i.params),n.reduce((o,s)=>(i[s]&&(o[s]=i[s]),o),{})}var T;(function(e){e.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",e.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",e.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",e.NOT_FEDERATED="NOT_FEDERATED",e.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(T||(T={}));var I=class extends Error{constructor(t="UNKNOWN_ERROR",r=T.UNKNOWN_ERROR_CODE,n,i,o){super(t);let s=new.target.prototype;Object.setPrototypeOf(this,s),this.name="ArcGISTokenRequestError",this.message=`${r}: ${t}`,this.originalMessage=t,this.code=r,this.response=n,this.url=i,this.options=o}};var z=class extends Error{constructor(){super("The user has denied your authorization request.");let r=new.target.prototype;Object.setPrototypeOf(this,r),this.name="ArcGISAccessDeniedError"}};function w(e){return typeof e!="string"||(e=e.trim(),e[e.length-1]==="/"&&(e=e.slice(0,-1))),e}function bt(e){let[t,r]=e.split("=");return{key:decodeURIComponent(t),value:decodeURIComponent(r)}}function Qe(e){return!e||e.length<=0?{}:e.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((t,r)=>{let{key:n,value:i}=bt(r);return t[n]=i,t},{})}var Xe;(function(e){e.ArcGISRequestError="ArcGISRequestError",e.ArcGISAuthError="ArcGISAuthError",e.ArcGISAccessDeniedError="ArcGISAccessDeniedError",e.ArcGISTokenRequestError="ArcGISTokenRequestError"})(Xe||(Xe={}));var Ze=300*1e3;function G(e,t){let r=t;return r.rawResponse=!1,c(e,r).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:t.params.username,expires:new Date(n.expires)};let i={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-Ze),ssl:n.ssl===!0};return n.refresh_token&&(i.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(i.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-Ze)),i})}var M=class{constructor(t){this.portal=t.portal?w(t.portal):"https://www.arcgis.com/sharing/rest",this._username=t.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(t=>t.username)}getUser(t){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let r=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingUserRequest=c(r,n).then(i=>(this._user=i,this._pendingUserRequest=null,i)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var Z=/^https?:\/\/(\S+)\.arcgis\.com.+/;function qe(e){return Z.test(e)}function wt(e){if(!Z.test(e))return e;switch(ue(e)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function ue(e){if(!Z.test(e))return null;let r=e.match(Z)[1].split(".").pop();return r.includes("dev")?"dev":r.includes("qa")?"qa":"production"}function et(e,t){let r=w(wt(t)).replace(/https?:\/\//,""),n=w(e).replace(/https?:\/\//,"");return new RegExp(n,"i").test(r)}function tt(e,t){let r=qe(e),n=qe(t),i=ue(e),o=ue(t);return!!(r&&n&&i===o)}function rt(e,t,r="https://www.arcgis.com/sharing/rest"){let n=`${r}/oauth2/validateAppAccess`;return c(n,{method:"POST",params:{f:"json",client_id:t,token:e}})}function nt(e){let t=`${w(e.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,r=e.token,n=e.clientId;delete e.portal,delete e.clientId,delete e.token;let i=Object.assign(Object.assign({},e),{httpMethod:"POST",params:{client_id:n,auth_token:r}});return c(t,i).then(o=>{if(!o.success)throw new S("Unable to revoke token",500,o,t,i);return o})}function q(e,t=window){return!t&&window&&(t=window),t.btoa(String.fromCharCode.apply(null,e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function ot(e,t=window){if(!t&&window&&(t=window),e&&t.isSecureContext&&t.crypto&&t.crypto.subtle){let n=new t.TextEncoder().encode(e);return t.crypto.subtle.digest("SHA-256",n).then(i=>q(new Uint8Array(i),t))}return Promise.resolve(null)}function ee(e){!e&&window&&(e=window);let t=e.crypto.getRandomValues(new Uint8Array(32));return q(t)}function it(e,t){return typeof e=="string"?e:typeof e=="object"?e.id:ee(t)}function st(e,t,r){return JSON.stringify(typeof t=="string"||!t?{id:e,originalUrl:r}:Object.assign({id:e},t))}function yt(e){return typeof e.userId=="string"||typeof e.expires=="number"}var v=class e extends M{constructor(t){if(super(t),this.clientId=t.clientId,this._refreshToken=t.refreshToken,this._refreshTokenExpires=t.refreshTokenExpires,this.password=t.password,this._token=t.token,this._tokenExpires=t.tokenExpires,this.portal=t.portal?w(t.portal):"https://www.arcgis.com/sharing/rest",this.ssl=t.ssl,this.provider=t.provider||"arcgis",this.tokenDuration=t.tokenDuration||20160,this.redirectUri=t.redirectUri,this.server=t.server,this.referer=t.referer,this.state=t.state,this.federatedServers={},this.trustedDomains=[],t.server){let r=this.getServerRootUrl(t.server);this.federatedServers[r]={token:t.token,expires:t.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(t,r){!r&&window&&(r=window);let{portal:n,provider:i,clientId:o,expiration:s,redirectUri:a,popup:m,popupWindowFeatures:l,locale:p,params:g,style:y,pkce:d,state:u}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},t),f=it(u,r),b=`ARCGIS_REST_JS_AUTH_STATE_${o}`;r.localStorage.setItem(b,f);let x=`${w(n)}/oauth2/authorize`,R={client_id:o,response_type:d?"code":"token",expiration:s,redirect_uri:a,state:st(f,u,r.location.href),locale:p,style:y};i!=="arcgis"&&(x=`${w(n)}/oauth2/social/authorize`,R.socialLoginProviderName=i,R.autoAccountCreateForSocial=!0);let D;if(d){let P=ee(r),K=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`;r.localStorage.setItem(K,P),D=ot(P,r).then(function(E){R.code_challenge_method=E?"S256":"plain",R.code_challenge=E||P})}else D=Promise.resolve();return D.then(()=>{if(x=`${x}?${j(R)}`,g&&(x=`${x}&${j(g)}`),m)return new Promise((P,K)=>{r.addEventListener(`arcgis-rest-js-popup-auth-${o}`,E=>{if(E.detail.error==="access_denied"){let L=new z;return K(L),L}if(E.detail.errorMessage){let L=new A(E.detail.errorMessage,E.detail.error);return K(L),L}P(new e({clientId:o,portal:n,ssl:E.detail.ssl,token:E.detail.token,tokenExpires:E.detail.expires,username:E.detail.username,refreshToken:E.detail.refreshToken,refreshTokenExpires:E.detail.refreshTokenExpires,redirectUri:a,state:E.detail.state}))},{once:!0}),r.open(x,"oauth-window",l),r.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});r.location.href=x})}static completeOAuth2(t,r){!r&&window&&(r=window);let{portal:n,clientId:i,popup:o,pkce:s,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},t),m=`ARCGIS_REST_JS_AUTH_STATE_${i}`,l=r.localStorage.getItem(m),p=Qe(s?r.location.search.replace(/^\?/,""):r.location.hash.replace(/^#/,"")),g=p&&p.state?JSON.parse(p.state):void 0;function y(u,f,b){if(r.localStorage.removeItem(m),o&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${i}`,{detail:{error:f,errorMessage:u}})),r.close();return}return b&&r.history.replaceState(r.history.state,"",b),f==="access_denied"?Promise.reject(new z):Promise.reject(new A(u,f))}function d(u,f){if(r.localStorage.removeItem(m),o&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${i}`,{detail:Object.assign(Object.assign({},u),{state:f})})),r.close();return}return f.originalUrl&&r.history.replaceState(r.history.state,"",f.originalUrl),new e({clientId:i,portal:n,ssl:u.ssl,token:u.token,tokenExpires:u.expires,username:u.username,refreshToken:u.refreshToken,refreshTokenExpires:u.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,""),state:f})}if(!l||!g)return y("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(g.id!==l)return y("Saved client state did not match server sent state.","mismatched-auth-state");if(p.error){let u=p.error,f=p.error_description||"Unknown error";return y(f,u,g.originalUrl)}if(s&&p.code){let u=w(`${n}/oauth2/token/`),f=`ARCGIS_REST_JS_CODE_VERIFIER_${i}`,b=r.localStorage.getItem(f);return r.localStorage.removeItem(f),G(u,{httpMethod:"POST",params:{client_id:i,code_verifier:b,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:p.code}}).then(x=>d(Object.assign(Object.assign({},x),g),g)).catch(x=>y(x.originalMessage,x.code,g.originalUrl))}return!s&&p.access_token?Promise.resolve(d(Object.assign({token:p.access_token,expires:new Date(Date.now()+parseInt(p.expires_in,10)*1e3),ssl:p.ssl==="true",username:p.username},g),g)):y("Unknown error","oauth-error",g.originalUrl)}static fromParent(t,r){!r&&window&&(r=window);let n;return new Promise((i,o)=>{n=s=>{if(s.source===r.parent&&s.data)try{return i(e.parentMessageHandler(s))}catch(a){return o(a)}},r.addEventListener("message",n,!1),r.parent.postMessage({type:"arcgis:auth:requestCredential"},t)}).then(i=>(r.removeEventListener("message",n,!1),i))}static authorize(t,r){let{portal:n,clientId:i,expiration:o,redirectUri:s,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},t),m={client_id:i,expiration:o,response_type:"code",redirect_uri:s};a&&(m.state=a);let l=`${n}/oauth2/authorize?${j(m)}`;r.writeHead(301,{Location:l}),r.end()}static exchangeAuthorizationCode(t,r){let{portal:n,clientId:i,redirectUri:o}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},t);return G(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:i,redirect_uri:o,code:r}}).then(s=>new e({clientId:i,portal:n,ssl:s.ssl,redirectUri:o,refreshToken:s.refreshToken,refreshTokenExpires:s.refreshTokenExpires,token:s.token,tokenExpires:s.expires,username:s.username})).catch(s=>{throw new I(s.message,T.REFRESH_TOKEN_EXCHANGE_FAILED,s.response,s.url,s.options)})}static deserialize(t){let r=JSON.parse(t);return new e({clientId:r.clientId,refreshToken:r.refreshToken,refreshTokenExpires:r.refreshTokenExpires?new Date(r.refreshTokenExpires):void 0,username:r.username,password:r.password,token:r.token,tokenExpires:r.tokenExpires?new Date(r.tokenExpires):void 0,portal:r.portal,ssl:r.ssl,tokenDuration:r.tokenDuration,redirectUri:r.redirectUri,server:r.server})}static fromCredential(t,r){let n=typeof t.ssl<"u"?t.ssl:!0,i=t.expires||Date.now()+72e5;return r.hasServer?new e({server:t.server,ssl:n,token:t.token,username:t.userId,tokenExpires:new Date(i)}):new e({portal:w(t.server.includes("sharing/rest")?t.server:t.server+"/sharing/rest"),ssl:n,token:t.token,username:t.userId,tokenExpires:new Date(i)})}static parentMessageHandler(t){if(t.data.type==="arcgis:auth:credential"){let r=t.data.credential;return yt(r)?e.fromCredential(r,{hasPortal:!0,hasServer:!1,server:r.server}):new e(r)}if(t.data.type==="arcgis:auth:error"){let r=new Error(t.data.error.message);throw r.name=t.data.error.name,r}else throw new Error("Unknown message type.")}static destroy(t){return nt({clientId:t.clientId,portal:t.portal,token:t.refreshToken||t.token})}static fromToken(t){let r=new e(t);return r.getUser().then(()=>r)}static signIn(t){let r=new e(t);return r.getUser().then(()=>r)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(t){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let r=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingPortalRequest=c(r,n).then(i=>(this._portalInfo=i,this._pendingPortalRequest=null,i)),this._pendingPortalRequest}}getToken(t,r){return tt(this.portal,t)?this.getFreshToken(r):new RegExp(this.portal,"i").test(t)?this.getFreshToken(r):this.getTokenForServer(t,r)}validateAppAccess(t){return this.getToken(this.portal).then(r=>rt(r,t))}toJSON(){return{type:"ArcGISIdentityManager",clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(t,r){!r&&window&&(r=window),this._hostHandler=this.createPostMessageHandler(t),r.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(t){!t&&window&&(t=window),t.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(t){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(t):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new I("Unable to refresh token. No refresh token or password present.",T.TOKEN_REFRESH_FAILED))}getServerRootUrl(t){let[r]=w(t).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,i,o]=r.match(/(https?:\/\/)(.+)/),[s,...a]=o.split("/");return`${i}${s.toLowerCase()}/${a.join("/")}`}getDomainCredentials(t){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(t=t.toLowerCase(),this.trustedDomains.some(r=>t.startsWith(r.toLowerCase()))?"include":"same-origin")}signOut(){return e.destroy(this)}createPostMessageHandler(t){return r=>{let n=t.indexOf(r.origin)>-1,i=r.data.type==="arcgis:auth:requestCredential",o=this.tokenExpires.getTime()>Date.now();if(n&&i){let s={};if(o){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),s={type:"arcgis:auth:credential",credential:a}}else s={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};r.source.postMessage(s,r.origin)}}}getTokenForServer(t,r){let n=this.getServerRootUrl(t),i=this.federatedServers[n];return i&&i.expires&&i.expires.getTime()>Date.now()?Promise.resolve(i.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>c(`${n}/rest/info`,{credentials:this.getDomainCredentials(t)}).then(o=>{if(o.owningSystemUrl){if(et(o.owningSystemUrl,this.portal))return c(`${o.owningSystemUrl}/sharing/rest/info`,r);throw new I(`${t} is not federated with ${this.portal}.`,T.NOT_FEDERATED)}else{if(o.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:o.authInfo});throw new I(`${t} is not federated with any portal and is not explicitly trusted.`,T.NOT_FEDERATED)}}).then(o=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(o.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(o.authInfo.tokenServicesUrl,n)).then(o=>(this.federatedServers[n]=o,delete this._pendingTokenRequests[n],o.token))),this._pendingTokenRequests[n])}generateTokenForServer(t,r){return c(t,{params:{token:this.token,serverUrl:r,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new I(n.message,T.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(t){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(t).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(t){let r={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:ce};return(this.server?c(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>c(n.authInfo.tokenServicesUrl,Object.assign({params:r},t))):c(`${this.portal}/generateToken`,Object.assign({params:r},t))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new I(n.message,T.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(t){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(t);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},t);return G(`${this.portal}/oauth2/token`,n).then(i=>this.updateToken(i.token,i.expires)).catch(i=>{throw new I(i.message,T.TOKEN_REFRESH_FAILED,i.response,i.url,i.options)})}updateToken(t,r){return this._token=t,this._tokenExpires=r,this}exchangeRefreshToken(t){let r=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},t);return G(`${this.portal}/oauth2/token`,r).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new I(n.message,T.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(t=>(t.authorizedCrossOriginDomains&&t.authorizedCrossOriginDomains.length&&(this.trustedDomains=t.authorizedCrossOriginDomains.filter(r=>!r.startsWith("http://")).map(r=>r.startsWith("https://")?r:`https://${r}`)),this))}};function C(e){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new v(e)}C.beginOAuth2=function(...e){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),v.beginOAuth2(...e)};C.completeOAuth2=function(...e){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),e.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),v.completeOAuth2(...e)};C.fromParent=function(...e){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),v.fromParent(...e)};C.authorize=function(...e){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),v.authorize(...e)};C.exchangeAuthorizationCode=function(...e){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),v.exchangeAuthorizationCode(...e)};C.fromCredential=function(...e){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),v.fromCredential(...e)};C.deserialize=function(...e){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),v.deserialize(...e)};var le;(function(e){e.Success="Succeeded",e.Failed="Failed",e.Waiting="Waiting",e.Cancelled="Cancelled",e.Cancelling="Cancelling",e.New="New",e.Executing="Executing",e.Submitted="Submitted",e.Failure="Failure",e.TimedOut="TimedOut",e.Error="Error",e.Status="Etatus",e.Unknown="Unknown"})(le||(le={}));function h(e={}){return e.portal?w(e.portal):e.authentication&&typeof e.authentication!="string"?e.authentication.portal:"https://www.arcgis.com/sharing/rest"}var Et=/[\x00-\x1F\x7F-\x9F\xA0]/g;function at(e){return e.replace(Et,"")}function k(e){return e.owner?Promise.resolve(e.owner):e.item&&e.item.owner?Promise.resolve(e.item.owner):e.authentication&&e.authentication.getUsername?e.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function me(e){return Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[1])}function he(e){return e.join(",")}function te(e,t,r){if(!e)return e;let n=null;return typeof e.thumbnail=="string"&&(n=`${t}/content/items/${e.id}/info/${e.thumbnail}`,n&&e.access!=="public"&&r&&(n+=`?${r}`)),Object.assign(Object.assign({},e),n?{thumbnailUrl:n}:{})}function bo(e,t){let r=J(e,t),n=Object.assign({httpMethod:"GET"},t);return c(r,n).then(async i=>{let o=t?.portal||h(t),s;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(s=await t.authentication.getToken(r)),te(i,o,s)})}var J=(e,t)=>`${typeof t=="string"?t:h(t)}/content/items/${e}`;function wo(e,t){let r=`${J(e,t)}/data`,n=Object.assign({httpMethod:"GET",params:{}},t);return n.file&&(n.params.f=null),c(r,n).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function yo(e,t){let r=`${J(e,t)}/resources`,n=Object.assign({},t);return n.params=Object.assign({num:1e3},n.params),c(r,n)}function Eo(e,t){let r=`${J(e,t)}/groups`;return c(r,t)}function _t(e,t){let{fileName:r="iteminfo.xml",readAs:n="text"}=t||{},i=Object.assign({httpMethod:"GET"},t);return Tt(e,`/info/${r}`,n,i)}function _o(e,t){let r=Object.assign(Object.assign({},t),{fileName:"metadata/metadata.xml"});return _t(e,r)}function Tt(e,t,r,n){let i=`${J(e,n)}${t}`,o=Object.assign({params:{}},n),s=o.rawResponse;return o.rawResponse=!0,o.params.f=null,c(i,o).then(a=>s?a:r!=="json"?a[r]():a.text().then(m=>JSON.parse(at(m))))}function It(e){return k(e).then(t=>{let r=e.folderId?`${h(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update`:`${h(e)}/content/users/${t}/items/${e.item.id}/update`;e.params=Object.assign(Object.assign({},e.params),e.item),e.params.extent&&me(e.params.extent)&&(e.params.extent=he(e.params.extent));let n=h(e),i=te(Object.assign(Object.assign({},e.item),{access:e.item.access}),n),o=e.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof o=="string"&&i.thumbnailUrl.split("?")[0]===o.split("?")[0]&&delete e.params.thumbnailUrl,c(r,e)})}function Po(e){return k(e).then(t=>{let r=`${h(e)}/content/users/${t}/items/${e.id}/addResources`;return e.params=Object.assign({file:e.resource,fileName:e.name,resourcesPrefix:e.prefix,text:e.content,access:e.private?"private":"inherit"},e.params),c(r,e)})}function kt(e,t){let r=`${h(t)}/community/groups/${e}`,n=Object.assign({httpMethod:"GET"},t);return c(r,n)}function ui(e){return k(e).then(t=>{let r=`${h(e)}/content/users/${t}/items/${e.id}/removeResources`;return e.params=Object.assign(Object.assign({},e.params),{resource:e.resource}),typeof e.deleteAll<"u"&&(e.params.deleteAll=e.deleteAll),c(r,e)})}var F=class e{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let r=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?($(`${r} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?($("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?($('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?($('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new e(this.q+"")}addModifier(t){return this.currentModifer?($(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?($(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for($(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&$("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function W(e,t){let r;typeof e=="string"||e instanceof F?r={httpMethod:"GET",params:{q:e}}:r=U(e,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let n;switch(t){case"item":n="/search";break;case"group":n="/community/groups";break;case"groupContent":if(typeof e!="string"&&!(e instanceof F)&&e.groupId)n=`/content/groups/${e.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":n="/community/users";break;default:n="/portals/self/users/search";break}let i=h(r)+n;return c(i,r).then(o=>(o.nextStart&&o.nextStart!==-1&&(o.nextPage=function(){let s;return typeof e=="string"||e instanceof F?s={q:e,start:o.nextStart}:(s=e,s.start=o.nextStart),W(s,t)}),o))}function St(e){return W(e,"item")}function Zi(e){let t=`${h(e)}/community/groups/${e.group.id}/update`;return e.params=Object.assign(Object.assign({},e.params),e.group),c(t,e)}async function H(e){var t;if(e.username)return encodeURIComponent(e.username);if(!((t=e.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(e.authentication.username);if(e.authentication)return e.authentication.getUsername().then(encodeURIComponent)}async function ct(e){let t,r={httpMethod:"GET"};if(typeof e=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${e}`;else{let n=await H(e);t=`${h(e)}/community/users/${n}`,r=Object.assign(Object.assign({},e),r)}return c(t,r)}function ba(e){return jt(null,e)}function jt(e,t){let r=e||"self",n=`${h(t)}/portals/${r}`,i=Object.assign({httpMethod:"GET"},t);return c(n,i)}export{B as a,pt as b,Le as c,c as d,U as e,w as f,h as g,It as h,Po as i,bo as j,wo as k,yo as l,Eo as m,_o as n,kt as o,ui as p,St as q,Zi as r,ct as s,ba as t,jt as u};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import"./HP6ORTCD.js";import"./W2WYUGL4.js";import"./AX3YAAEU.js";import"./56Y6TBYP.js";import"./SAEJJISK.js";import"./Y3M3MYJJ.js";import{c as D,e as O}from"./YJHPR3QZ.js";import"./HVZR3ZJ4.js";import"./J5URYDSE.js";import{o as s}from"./DSWH3BSZ.js";import"./RIUBYOWD.js";import"./EGN5K4R5.js";import"./IGNZWKJ4.js";import{a as v}from"./RCKCIQDI.js";import"./C4I34NZZ.js";import"./VZRDWOH2.js";import{a as b}from"./ICFH6C3K.js";import"./XOMLRIJN.js";import{b as e,c as _,d as f,e as x,i as y}from"./ILNQM4AV.js";import"./5T7UUDPW.js";import"./6OZG2QCE.js";import"./XFYO5IG3.js";import"./OD6Y5IVF.js";import"./DGLGW5E5.js";export default $arcgis.t(([])=>{var w=":host{display:block}.fixed-bottom-right{position:fixed;bottom:4rem;right:2rem;z-index:9998}.assistant-icon-container{display:flex;align-items:center;background-color:#1c1c1c;color:white;padding:1rem 1rem;border-radius:5rem;box-shadow:0 .4rem .8rem rgba(0, 0, 0, 0.1);cursor:pointer}.assistant-icon{width:1.6rem;height:1.6rem;border-radius:50%}",A=w,k=class{constructor(i){y(this,i),this.hubTelemetry=x(this,"hubTelemetry",7),this.openDialog=()=>{this.dialogOpen=!0,this.hubTelemetry.emit(Object.assign(Object.assign({},b.dictionary.category.interaction.action.open.label.modal.details.info),{details:"Assistant"}))},this.closeDialog=()=>{this.dialogOpen=!1,this.hubTelemetry.emit(Object.assign(Object.assign({},b.dictionary.category.interaction.action.close.label.modal.details.info),{details:"Assistant"}))},this.handleKeyDown=t=>{(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.openDialog())},this.dialogOpen=!1,this.site=null}get _context(){return D()}get _site(){return this.site||O()}get isSiteOwner(){var i,t;return this._site.owner===((t=(i=this._context)===null||i===void 0?void 0:i.currentUser)===null||t===void 0?void 0:t.username)}get isMemberOfOwningOrg(){var i,t,a,n;let o=!1;return this._site.orgUrlKey?o=this._site.orgUrlKey===((t=(i=this._context)===null||i===void 0?void 0:i.portal)===null||t===void 0?void 0:t.urlKey):this._site.orgId&&(o=this._site.orgId===((n=(a=this._context)===null||a===void 0?void 0:a.portal)===null||n===void 0?void 0:n.id)),o}get aiApiUrl(){return s("hub:environment:devext",this._context).access?"https://hubdev.arcgis.com/api/assistants/v1":s("hub:environment:qaext",this._context).access?"https://hubqa.arcgis.com/api/assistants/v1":s("hub:environment:production",this._context).access?"https://hub.arcgis.com/api/assistants/v1":(s("hub:environment:enterprise",this._context).access,"")}get _canDisplayAiFab(){var i,t,a,n,o,l,r,c,d,h,u,m,g,p;if(this._context.isAuthenticated&&s("hub:site:assistant:access",this._context).access){if(!(!((t=(i=this._site)===null||i===void 0?void 0:i.assistant)===null||t===void 0)&&t.enabled))return!1;if(((a=this._site.assistant)===null||a===void 0?void 0:a.access)==="private")return this.isSiteOwner||((o=(n=this._site.assistant)===null||n===void 0?void 0:n.accessGroups)===null||o===void 0?void 0:o.length)>0?s("hub:site:assistant:access",this._context,this._site).access:!1;if(((l=this._site.assistant)===null||l===void 0?void 0:l.access)==="org")return this.isMemberOfOwningOrg||((c=(r=this._site.assistant)===null||r===void 0?void 0:r.accessGroups)===null||c===void 0?void 0:c.length)>0?s("hub:site:assistant:access",this._context,this._site).access:!1;if(((d=this._site.assistant)===null||d===void 0?void 0:d.access)==="public")return!0}else{if(!(!((u=(h=this._site)===null||h===void 0?void 0:h.assistant)===null||u===void 0)&&u.enabled)||!s("hub:site:assistant:access",this._context).access||((m=this._site.assistant)===null||m===void 0?void 0:m.access)==="private")return!1;if(((g=this._site.assistant)===null||g===void 0?void 0:g.access)==="org")return!1;if(((p=this._site.assistant)===null||p===void 0?void 0:p.access)==="public")return!0}}async componentWillLoad(){this.intl=await v.loadIntlForComponent(this.element)}async open(){this.openDialog()}async close(){this.closeDialog()}render(){return e(_,{key:"8e9964070e1fc30606f7e2efeb99bf7587ea5cc9","data-element":"arcgis-hub-ai-fab"},this._canDisplayAiFab&&e("div",{"aria-label":this.intl.t("heading")+" ("+this.intl.t("beta")+")",class:"assistant-icon-container fixed-bottom-right","data-element":"hub-ai-fab",onClick:this.openDialog,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0"},e("calcite-icon",{class:"assistant-icon",icon:"effects",scale:"m"})),this._canDisplayAiFab&&e("arcgis-wormhole",{elAttributes:{unthemed:"true"},styles:{"--calcite-dialog-content-space":"0px","--calcite-dialog-min-size-y":"90%","--calcite-dialog-max-size-y":"90%","--calcite-dialog-min-size-x":"85%","--calcite-dialog-max-size-x":"85%","--calcite-dialog-scrim-background-color":"rgba(0, 0, 0, 0.5)"}},e("calcite-dialog",{"aria-label":this.intl.t("heading")+" ("+this.intl.t("beta")+")","data-element":"hub-ai-dialog",heading:this.intl.t("heading"),icon:"360-view",modal:!0,onCalciteDialogClose:this.closeDialog,open:this.dialogOpen},e("div",{slot:"header-actions-start",style:{display:"flex",alignItems:"center",paddingInlineStart:"12px"}},e("calcite-icon",{class:"assistant-icon",icon:"effects"})),e("div",{slot:"header-actions-end",style:{display:"flex",alignItems:"center",paddingInlineEnd:"10px"}},e("calcite-chip",{label:this.intl.t("beta")},this.intl.t("beta"))),e("div",{style:{height:"100%"}},e("arcgis-hub-ai-assistant",{apiUrl:this.aiApiUrl,authentication:this._context.session,itemId:this._site.id,mapEnabled:!0,mapShowTable:!0,mapVisible:!1,portalUrl:this._context.portalUrl})))))}static get assetsDirs(){return["locales"]}get element(){return f(this)}};k.style=A;return k},"config")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{a as I}from"./K3AAT7NV.js";import{a as w}from"./WURT5OGC.js";import{b as E,c as T,d as P}from"./YY5R4RCR.js";import{a as S}from"./POHH4676.js";import"./W4AWVUWG.js";import"./N6PFLNQS.js";import"./STR3HZLS.js";import"./2W6SOTVM.js";import"./FUVW45UR.js";import"./BMV7SNOQ.js";import"./V6R6D6QQ.js";import"./ETE7XFXI.js";import"./AH6DDGMA.js";import"./WO5INMBQ.js";import"./SIL6OYQD.js";import"./NKIHCRTJ.js";import"./JDOO34KU.js";import"./AAXBTTYR.js";import"./APMYQ4Q3.js";import"./UPC4I723.js";import"./ELJW6376.js";import{da as k}from"./NINBHAEI.js";import"./5FA6T4S2.js";import"./GLR3J25Y.js";import"./N2CHHVFR.js";import"./CJO6EL34.js";import"./ZFKHD4BS.js";import"./SWM3B4XJ.js";import"./CPJUJP3G.js";import"./OWR2YYD7.js";import"./GC6CE3CY.js";import"./RZGRQQZV.js";import"./YK3UCJX4.js";import"./TEER57FE.js";import"./3AL42NLL.js";import"./ZYACMKQM.js";import"./EMIMWH6T.js";import"./AMEYWY3Z.js";import"./PCUVGHQ3.js";import"./IGBBNK7E.js";import"./CE7LGM7B.js";import"./7EOT2YM3.js";import{a as F}from"./TU7RR222.js";import"./3UE7MFMJ.js";import{j as C}from"./OQNCPY3N.js";import"./24NKSYZ5.js";import"./XQBCWDJT.js";import"./YHECU4IW.js";import"./OLBI36R6.js";import"./7Y2TS73H.js";import"./37U3OBY7.js";import"./J24HGSWW.js";import"./F2VAPLVS.js";import"./UBNS3HZH.js";import"./DOKOZ6AO.js";import"./QLDHDEW2.js";import"./QGF3HN2H.js";import"./UX555NPM.js";import"./OVCTD2ZC.js";import"./6DM5QBLU.js";import"./K5R53VRG.js";import"./7IGMDG46.js";import"./X7YZL33H.js";import"./JDJ3QCJQ.js";import"./DCUK3QGK.js";import"./FXAJIOWF.js";import"./LNKBILYM.js";import"./VIJIBCKZ.js";import{c as g,g as b}from"./YJHPR3QZ.js";import"./HVZR3ZJ4.js";import"./75Z6PQX2.js";import"./UZ5S5XWU.js";import"./G7GL66AO.js";import"./FYBK6DCU.js";import"./T6RLOBJQ.js";import{a as m}from"./J5URYDSE.js";import"./DSWH3BSZ.js";import"./RIUBYOWD.js";import"./EGN5K4R5.js";import"./IGNZWKJ4.js";import{a as y}from"./T3EL4CTE.js";import{a as v}from"./RCKCIQDI.js";import"./C4I34NZZ.js";import"./VZRDWOH2.js";import{a as c}from"./ICFH6C3K.js";import"./XOMLRIJN.js";import{b as t,c as x,d as D,e as f,h as o,i as _}from"./ILNQM4AV.js";import{a as d}from"./5T7UUDPW.js";import{a as p}from"./6OZG2QCE.js";import{a as u}from"./XFYO5IG3.js";import"./OD6Y5IVF.js";import"./DGLGW5E5.js";var L=".sc-arcgis-hub-entity-content-feeds-h{display:block;--calcite-label-margin-bottom:0}h3.sc-arcgis-hub-entity-content-feeds{margin:30px 0;font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}h4.sc-arcgis-hub-entity-content-feeds{margin:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}h5.sc-arcgis-hub-entity-content-feeds{margin:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}.feeds-tab-title-row.sc-arcgis-hub-entity-content-feeds{margin-bottom:1rem;display:flex;align-items:flex-start;justify-content:space-between}.feeds-help-column.sc-arcgis-hub-entity-content-feeds{width:49%}.horizontal-rule.sc-arcgis-hub-entity-content-feeds{border-top:.5px solid var(--calcite-color-border-1)}.feeds-editor-row.sc-arcgis-hub-entity-content-feeds{margin-top:1rem;display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:2rem;padding-top:1rem}.feeds-editor-column.sc-arcgis-hub-entity-content-feeds{display:flex;flex-direction:column;gap:1rem}.preview-toggle-container.sc-arcgis-hub-entity-content-feeds{display:flex;justify-content:flex-end}.preview-toggle-container.sc-arcgis-hub-entity-content-feeds>calcite-label.sc-arcgis-hub-entity-content-feeds{margin-bottom:0.5rem}.feeds-code-editor.sc-arcgis-hub-entity-content-feeds{height:24rem;border:1px solid var(--calcite-color-border-input)}.feeds-code-editor[has-error].sc-arcgis-hub-entity-content-feeds{border:2px solid var(--calcite-color-status-danger)}.invalid-json-editor-warning.sc-arcgis-hub-entity-content-feeds{margin-top:0.5rem}.preview-main-container.sc-arcgis-hub-entity-content-feeds{height:24rem;overflow:scroll;border:1px solid var(--calcite-color-border-input);background-color:var(--calcite-color-background)}.formatted-preview.sc-arcgis-hub-entity-content-feeds{margin:0px;text-wrap:nowrap}.preview-notice.sc-arcgis-hub-entity-content-feeds{margin:1rem}.feeds-tools-column.sc-arcgis-hub-entity-content-feeds{display:flex;flex-direction:column;gap:1rem}.preview-picker-form.sc-arcgis-hub-entity-content-feeds{margin-bottom:-0.5rem}section.sc-arcgis-hub-entity-content-feeds{margin-bottom:2rem;border-radius:0.25rem;padding:1.25rem;--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);background:white}",$=L,U=function(e,i,a,s){var n=arguments.length,r=n<3?i:s===null?s=Object.getOwnPropertyDescriptor(i,a):s,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,i,a,s);else for(var h=e.length-1;h>=0;h--)(l=e[h])&&(r=(n<3?l(r):n>3?l(i,a,r):l(i,a))||r);return n>3&&r&&Object.defineProperty(i,a,r),r},H=class{constructor(e){_(this,e),this.arcgisHubWorkspaceEntityChange=f(this,"arcgisHubWorkspaceEntityChange",7),this.hubTelemetry=f(this,"hubTelemetry",7),this.entity=void 0,this.footerSlotRef=void 0,this.isMobile=!1,this.hasUnconfiguredCatalog=void 0,this.hasEmptyPublicCatalog=void 0,this.isFeedsToggleEnabled=void 0,this.feedFormat=void 0,this.feedVersion=void 0,this.feedTemplate=void 0,this.isPreviewing=void 0,this.previewPickerSchema=void 0,this.previewPickerUiSchema=void 0,this.previewHubId=void 0,this.formattedPreview=void 0,this.isFeedsToggleDirty=void 0,this.isTemplateEditorDirty=void 0,this.isSaving=void 0,this.attemptedFormatChange=void 0,this.isLoading=void 0,this.previewStatus=void 0,y(this,"handleFeedsEnabledToggle","handleFeedFormatChange","handleCodeEditorChange","handlePreviewToggle","handlePreviewItemChange","handleSaveFeedsClick","handleCopyButtonClicked")}async componentWillLoad(){this.intl=await v.loadIntlForComponent(this.element),this.initializeComponent()}async initializeComponent(){this.setIsLoading(!0),await this._initializeState(),this.setIsLoading(!1)}setIsLoading(e){this.isLoading=e}async _initializeState(){if(this.hasUnconfiguredCatalog=!1,this.hasEmptyPublicCatalog=!1,this.isFeedsToggleEnabled=!u(this.entity,"feeds.disabled"),this.isFeedsToggleDirty=!1,this.isPreviewing=!1,this.previewPickerSchema=null,this.previewPickerUiSchema=null,this.previewHubId=null,this.formattedPreview=null,this.isSaving=!1,this.attemptedFormatChange=null,this.entity.access!=="public"||(this.hasUnconfiguredCatalog=!I("item",this.entity.catalog),this.hasUnconfiguredCatalog))return;let e=await this.fetchPublicResultFromCatalog();if(!e){this.hasEmptyPublicCatalog=!0;return}this.initializeTemplateEditor(this.feedFormat||"dcat-us",this.feedVersion||"1.1"),this.previewHubId=this.getPreviewHubId(e),this.setPreviewPickerSchemas()}async fetchPublicResultFromCatalog(e){try{let i=p(this._publicItemCatalog.scopes.item);e&&(i.filters=i.filters.concat(e));let a={num:1,requestOptions:g().hubRequestOptions},{total:s,results:n}=await k(i,a);if(s){let r=n[0];if(r.type==="Feature Service"||r.type==="Map Service"){let l={url:r.rawResult.url,authentication:g().hubRequestOptions.authentication};try{r.server=await this._getService(l)}catch(h){d.error("error fetching service definition",h)}}return r}}catch(i){d.error("error fetching catalog result",i)}}_getService(e){return F(e)}getPreviewHubId(e){let i,a=["Feature Service","Map Service"].includes(e.type)&&C(e.rawResult.url),s=!!u(e,"server.layers.length");return a&&s?i=`${e.id}_${a}`:s?i=`${e.id}_${e.server.layers[0].id}`:i=e.id,i}setPreviewPickerSchemas(){this.previewPickerSchema={type:"object",properties:{previewItem:{type:"array",items:{type:"string"},maxItems:1}}};let e="toolsSection.previewSampleData";this.previewPickerUiSchema={type:"layout",elements:[{label:this.intl.t("toolsSection.previewSampleData.label"),scope:"/properties/previewItem",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:[this._publicItemCatalog],facets:[{label:this.intl.t(`${e}.pickerFacets.type`),key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:this.intl.t(`${e}.pickerFacets.tags`),key:"tags",display:"multi-select",field:"tags",options:[],operation:"OR"},{label:this.intl.t(`${e}.pickerFacets.categories`),key:"categories",display:"tree",field:"categories",options:[],operation:"OR"},{label:this.intl.t(`${e}.pickerFacets.dateUpdated`),key:"modified",display:"date-range",field:"modified",state:"open",max:new Date},{label:this.intl.t(`${e}.pickerFacets.sharing`),key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}}]}}get isFeedsSupported(){return this.entity.access==="public"&&!this.hasUnconfiguredCatalog&&!this.hasEmptyPublicCatalog}get supportedFeeds(){return[{format:"dcat-us",version:"1.1"},{format:"dcat-ap",version:"2.1.1"},{format:"rss",version:"2.0"}]}get hasUneditableAttributes(){var e;return!!(!((e={"dcat-us":{"1.1":!0},"dcat-ap":{"2.1.1":!0}}[this.feedFormat])===null||e===void 0)&&e[this.feedVersion])}get baseFeedIntlKey(){return this.getBaseFeedIntlKey(this.feedFormat,this.feedVersion)}getBaseFeedIntlKey(e,i){return`${e}.${i}`}get hasInvalidJson(){let e=!0;if(this.feedTemplate)try{JSON.parse(this.feedTemplate),e=!1}catch{}return e}get _publicItemCatalog(){let e=p(this.entity.catalog);return e.scopes={item:e.scopes.item},e.scopes.item.filters.push({predicates:[{access:"public"}]}),e.collections=[],e}get previewPickerValues(){return{previewItem:this.previewHubId?[this.previewHubId.split("_")[0]]:[]}}get feedAccessUrl(){let e;if(m(this.entity)==="site"){let{customHostname:a,defaultHostname:s}=this.entity,n=`https://${a||s}/api/feed`;switch(this.feedFormat){case"dcat-us":e=`${n}/dcat-us/${this.feedVersion}.json`;break;case"dcat-ap":e=`${n}/dcat-ap/${this.feedVersion}.json`;break;case"rss":e=`${n}/rss/${this.feedVersion}`;break}}return e}get isDirty(){return!!this.isFeedsToggleDirty||!!this.isTemplateEditorDirty}get shouldDisableSaveButton(){return!this.isDirty||this.isSaving||this.isFeedsToggleEnabled&&this.hasInvalidJson}initializeTemplateEditor(e,i){this.isTemplateEditorDirty=!1,this.feedFormat=e,this.feedVersion=i;try{this.feedTemplate=JSON.stringify(E({feedsConfig:this.entity.feeds||{},format:e,version:i}),null,2)}catch(a){d.error("error getting feed template",a),this.feedTemplate=""}this.isPreviewing&&this.handlePreviewAttempt()}handleFeedsEnabledToggle(){this.isFeedsToggleEnabled=!this.isFeedsToggleEnabled,this.isFeedsToggleDirty=!0,this.arcgisHubWorkspaceEntityChange.emit({isDirty:this.isDirty,entity:this.entity})}handleFeedFormatChange(e){e.preventDefault(),e.stopImmediatePropagation();let[i,a]=e.target.value.split("::");this.isTemplateEditorDirty?this.attemptedFormatChange={format:i,version:a,event:e}:this.initializeTemplateEditor(i,a)}async handlePreviewToggle(){!this.isPreviewing&&(this.formattedPreview=null,this.handlePreviewAttempt()),this.isPreviewing=!this.isPreviewing}async handlePreviewAttempt(){if(this.previewHubId&&!this.hasInvalidJson)try{this.setPreviewStatus("loading",null),this.formattedPreview=await T({format:this.feedFormat,version:this.feedVersion,previewTemplate:JSON.parse(this.feedTemplate),previewHubId:this.previewHubId,context:g()}),this.setPreviewStatus("success",null)}catch(e){this.setPreviewStatus("error",e),d.error("Error previewing feed",e)}}setPreviewStatus(e,i){this.previewStatus={state:e,message:i}}async handlePreviewItemChange(e){let[i]=e.detail.values.previewItem;if(!i){this.previewHubId=null;return}let a=this.previewHubId&&this.previewHubId.split("_")[0];if(i!==a){let s=[{predicates:[{id:i}]}],n=await this.fetchPublicResultFromCatalog(s);n&&(this.previewHubId=this.getPreviewHubId(n),this.handlePreviewAttempt())}}handleCodeEditorChange(e){this._handleCodeEditorChange(e)}_handleCodeEditorChange(e){e.detail!==this.feedTemplate&&(this.feedTemplate=e.detail,this.isTemplateEditorDirty=!0,this.arcgisHubWorkspaceEntityChange.emit({isDirty:this.isDirty,entity:this.entity}))}saveTelemetry(e){this.hubTelemetry.emit(Object.assign(Object.assign({},c.dictionary.category.content.action.update.label.feeds),{details:this.isFeedsToggleEnabled?this.feedFormat:c.constants.details.DISABLED,response:e}))}async handleSaveFeedsClick(){this.setIsSaving(!0);try{let e=p(this.entity),i=p(this.entity.feeds)||{};i.disabled=!this.isFeedsToggleEnabled,this.isFeedsToggleEnabled&&(i=P({feedsConfig:i,format:this.feedFormat,version:this.feedVersion,updatedTemplate:JSON.parse(this.feedTemplate)})),e.feeds=i;let a=m(e),s=await S(a,e,g());this.isFeedsToggleDirty=!1,this.isTemplateEditorDirty=!1,this.arcgisHubWorkspaceEntityChange.emit({entity:s,isDirty:!1}),this.saveTelemetry(c.constants.response.SUCCESS),b({title:this.intl.t("alertMessages.success"),message:"",configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success",label:this.intl.t("formAlert")}})}catch(e){d.error("Error saving feeds",e),this.arcgisHubWorkspaceEntityChange.emit({entity:this.entity,isDirty:!0}),this.saveTelemetry(c.constants.response.FAILURE),b({title:this.intl.t("alertMessages.error"),message:"",configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"danger",label:this.intl.t("formAlert")}})}finally{this.setIsSaving(!1)}}setIsSaving(e){this.isSaving=e}handleDirtyStateModalClosed(e){if(e.preventDefault(),e.stopImmediatePropagation(),e.detail)this.attemptedFormatChange=null;else{let{format:i,version:a}=this.attemptedFormatChange;this.initializeTemplateEditor(i,a),this.attemptedFormatChange=null,this.arcgisHubWorkspaceEntityChange.emit({isDirty:this.isDirty,entity:this.entity})}}renderHeaderRow(){return t("div",{class:"feeds-tab-title-row"},t("div",{class:"enable-feeds-column"},t("h3",{class:"feeds-tab-title","data-test":"entity-content-tab-title"},this.intl.t("tabTitle")),this.isFeedsSupported?t("calcite-label",null,this.intl.t("enableFeedsToggle.label"),t("calcite-switch",{checked:this.isFeedsToggleEnabled,"data-test":"feeds-toggle",onCalciteSwitchChange:this.handleFeedsEnabledToggle})):this.renderFeedsNotSupportedUi()),this.isFeedsSupported&&t("div",{class:"feeds-help-column"},this.isFeedsToggleEnabled?t("calcite-notice",{open:!0,scale:"m",width:"auto"},t("div",{slot:"title"},this.intl.t("gettingStartedNotice.title")),t("div",{slot:"message"},this.intl.t("gettingStartedNotice.exampleMessage")),t("div",{slot:"message"},this.intl.t("gettingStartedNotice.previewMessage",{catalogFederationLink:(...e)=>t("calcite-link",{href:"https://doc.arcgis.com/en/hub/content/federate-data-with-external-catalogs.htm",iconEnd:"launch",target:"_blank"},e)}))):t("arcgis-hub-notice",{noticeId:"20241104-about-feeds-notice"})))}renderFeedsNotSupportedUi(){let e;return this.entity.access!=="public"?e=t(o,null,t("p",{"data-test":"private-entity-message"},this.intl.t("enableFeedsToggle.privateEntity.message")),t("arcgis-hub-workspace-link",{pane:"settings-sharing"},t("calcite-button",{appearance:"outline",label:this.intl.t("enableFeedsToggle.privateEntity.button"),round:!0},this.intl.t("enableFeedsToggle.privateEntity.button")))):this.hasUnconfiguredCatalog?e=t(o,null,t("p",{"data-test":"has-unconfigured-catalog-message"},this.intl.t("enableFeedsToggle.unconfiguredCatalog.message")),t("arcgis-hub-workspace-link",{pane:"catalog-content"},t("calcite-button",{appearance:"outline",label:this.intl.t("enableFeedsToggle.unconfiguredCatalog.button"),round:!0},this.intl.t("enableFeedsToggle.unconfiguredCatalog.button")))):this.hasEmptyPublicCatalog&&(e=t(o,null,t("p",{"data-test":"has-empty-public-catalog-message"},this.intl.t("enableFeedsToggle.emptyPublicCatalog.message")),t("arcgis-hub-workspace-link",{pane:"catalog-content"},t("calcite-button",{appearance:"outline",label:this.intl.t("enableFeedsToggle.emptyPublicCatalog.button"),round:!0},this.intl.t("enableFeedsToggle.emptyPublicCatalog.button"))))),e}renderEditorColumn(){return t("div",{class:"feeds-editor-column"},t("h4",null,this.intl.t("feedsEditorSection.title")),t("calcite-label",null,this.intl.t("feedsEditorSection.formatSelectLabel"),t("calcite-select",{onCalciteSelectChange:this.handleFeedFormatChange},this.supportedFeeds.map(e=>t("calcite-option",{key:`${e.format}::${e.version}::${!!this.attemptedFormatChange}`,selected:this.feedFormat===e.format&&this.feedVersion===e.version,value:`${e.format}::${e.version}`},this.intl.t(`${this.getBaseFeedIntlKey(e.format,e.version)}.title`))))),!!this.hasUneditableAttributes&&t("div",{class:"feeds-uneditable-attributes"},t("div",null,this.intl.t("feedsEditorSection.uneditableAttributesIntro")),t("div",null,this.intl.t(`${this.baseFeedIntlKey}.uneditableAttributes`))),t("div",{class:"editing-main-container"},t("div",{class:"preview-toggle-container"},t("calcite-label",{layout:"inline"},this.intl.t("feedsEditorSection.edit"),t("calcite-switch",{checked:this.isPreviewing,class:"preview-toggle","data-test":"preview-toggle",onCalciteSwitchChange:this.handlePreviewToggle}),this.intl.t("feedsEditorSection.preview"))),this.isPreviewing?this.renderPreview():this.renderTemplateEditor()))}renderTemplateEditor(){return t(o,null,t("arcgis-code-editor",{class:"feeds-code-editor","data-test":"template-editor","has-error":this.hasInvalidJson,language:"json",onArcgisValueChange:this.handleCodeEditorChange,value:this.feedTemplate}),this.hasInvalidJson&&t("calcite-input-message",{class:"invalid-json-editor-warning","data-test":"invalid-json-editor-warning",icon:"x-octagon",status:"invalid"},this.intl.t("feedsEditorSection.invalidJsonEditorWarning")))}renderPreview(){var e,i,a;let s;return this.hasInvalidJson?s=t("calcite-notice",{class:"preview-notice","data-test":"invalid-json-preview-warning",kind:"danger",open:!0},t("div",{slot:"message"},this.intl.t("feedsEditorSection.invalidJsonPreviewWarning"))):this.previewHubId?((e=this.previewStatus)===null||e===void 0?void 0:e.state)==="loading"?s=t("calcite-loader",{active:!0,"data-test":"preview-loader"}):((i=this.previewStatus)===null||i===void 0?void 0:i.state)==="error"?s=t("calcite-notice",{class:"preview-notice","data-test":"preview-error-notice",kind:"danger",open:!0},t("div",{slot:"message"},this.intl.t("feedsEditorSection.errorPreviewingWarning"))):((a=this.previewStatus)===null||a===void 0?void 0:a.state)==="success"&&(s=t("pre",{class:"formatted-preview","data-test":"feed-preview"},this.formattedPreview)):s=t("calcite-notice",{class:"preview-notice","data-test":"no-preview-item-warning",kind:"warning",open:!0},t("div",{slot:"message"},this.intl.t("feedsEditorSection.selectContentNotice"))),t("div",{class:"preview-main-container"},s)}handleCopyButtonClicked(){this.hubTelemetry.emit(Object.assign(Object.assign({},c.dictionary.category.interaction.action.copy.label.input),{details:this.feedFormat}))}renderToolsColumn(){return t("div",{class:"feeds-tools-column"},t("h4",null,this.intl.t(`${this.baseFeedIntlKey}.title`)),this.renderFeedDescription(),t("h4",null,this.intl.t("toolsSection.title")),this.isPreviewing&&this.renderPreviewPicker(),t("h5",null,this.intl.t("toolsSection.verification")),this.renderFeedVerificationLabel(),t("arcgis-copyable-input",{label:this.intl.t("toolsSection.copyableInputLabel"),onArcgisHubCopyButtonClicked:this.handleCopyButtonClicked,readonly:!0,value:this.feedAccessUrl}))}renderPreviewPicker(){return t("arcgis-configuration-editor",{class:"preview-picker-form",onArcgisConfigurationEditorChange:this.handlePreviewItemChange,scale:"l",schema:this.previewPickerSchema,uiSchema:this.previewPickerUiSchema,values:this.previewPickerValues})}renderFeedDescription(){var e;let a=(e={"dcat-us":{"1.1":{dcatUsSchemaLink:(...s)=>t("calcite-link",{href:"https://resources.data.gov/resources/dcat-us/",iconEnd:"launch",target:"_blank"},s),catalogFederationLink:(...s)=>t("calcite-link",{href:"https://doc.arcgis.com/en/hub/content/federate-data-with-external-catalogs.htm",iconEnd:"launch",target:"_blank"},s)}},"dcat-ap":{"2.1.1":{lineBreak:()=>t("br",null),dcatApSchemaLink:(...s)=>t("calcite-link",{href:"https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/about",iconEnd:"launch",target:"_blank"},s),catalogFederationLink:(...s)=>t("calcite-link",{href:"https://doc.arcgis.com/en/hub/content/federate-data-with-external-catalogs.htm",iconEnd:"launch",target:"_blank"},s)}},rss:{"2.0":{rssAboutLink:(...s)=>t("calcite-link",{href:"https://validator.w3.org/feed/docs/rss2.html",iconEnd:"launch",target:"_blank"},s),xmlSpecLink:(...s)=>t("calcite-link",{href:"https://www.w3.org/TR/REC-xml/",iconEnd:"launch",target:"_blank"},s),catalogFederationLink:(...s)=>t("calcite-link",{href:"https://doc.arcgis.com/en/hub/content/federate-data-with-external-catalogs.htm",iconEnd:"launch",target:"_blank"},s)}}}[this.feedFormat])===null||e===void 0?void 0:e[this.feedVersion];return t("div",null,this.intl.t(`${this.baseFeedIntlKey}.description`,a))}renderFeedVerificationLabel(){var e;let a=(e={"dcat-us":{"1.1":{dcatUsVerificationLink:(...s)=>t("calcite-link",{href:"https://catalog.data.gov/dcat-us/validator",iconEnd:"launch",target:"_blank"},s)}},"dcat-ap":{"2.1.1":{dcatApVerificationLink:(...s)=>t("calcite-link",{href:"https://www.itb.ec.europa.eu/shacl/dcat-ap/upload",iconEnd:"launch",target:"_blank"},s)}},rss:{"2.0":{rssVerificationLink:(...s)=>t("calcite-link",{href:"https://validator.w3.org/feed/",iconEnd:"launch",target:"_blank"},s)}}}[this.feedFormat])===null||e===void 0?void 0:e[this.feedVersion];return t("div",null,this.intl.t(`${this.baseFeedIntlKey}.verificationLabel`,a))}renderDirtyStateModal(){if(this.attemptedFormatChange)return t("arcgis-hub-workspace-dirty-state-modal",{"is-open":!0})}renderMain(){return t(o,null,this.renderHeaderRow(),this.isFeedsSupported&&this.isFeedsToggleEnabled&&t(o,null,t("div",{class:"horizontal-rule"}),t("section",{class:"feeds-editor-row","data-test":"feeds-editor-section"},this.renderEditorColumn(),this.renderToolsColumn())),this.footerSlotRef&&this.isFeedsSupported&&t("arcgis-wormhole",{styles:{position:"relative"},target:this.footerSlotRef},t("calcite-button",{disabled:this.shouldDisableSaveButton,loading:this.isSaving,onClick:this.handleSaveFeedsClick,round:!0},this.intl.t("saveButton"))),this.renderDirtyStateModal())}renderLoading(){return t("calcite-loader",{active:!0,label:this.intl.t("loadingLabel")})}render(){return t(x,{key:"c7f8e67a2119393037642cc09afa85a706f810b8","data-element":"entity-content-feeds","data-test-ready":!this.isLoading},this.isLoading?this.renderLoading():this.renderMain())}static get assetsDirs(){return["locales"]}get element(){return D(this)}static get watchers(){return{entity:["initializeComponent"]}}};U([w({timeout:500})],H.prototype,"handleCodeEditorChange",null);H.style=$;export{H as arcgis_hub_entity_content_feeds};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import"./DGLGW5E5.js";var a="Diagrammi laadimisel ilmnes viga.",e="Logi teisendamisel ei saa kasutada negatiivseid v\xE4\xE4rtusi ega nullv\xE4\xE4rtusi.",t="Ruutjuure teisendamist ei saa rakendada negatiivsetele v\xE4\xE4rtustele.",i="Kihi laadimisel tekkis viga. URL = ${ url }. Portaali\xFCksuse ID = ${ portalItemId }.",s="Konfiguratsioonis m\xE4\xE4ratletud v\xE4lju [${ fieldNames }] kihis ei leitud.",r="${ dataPath } peab olema kordumatu. Seerial nimega ${ seriesName } on ID (${ seriesID }), mida kasutatakse juba muudes seeriates.",u="${ dataPath } ei tohi mittenumbrilisel v\xE4ljal teha loendamisega mitteseotud agregeerimist.",l="Omadusel ${ dataPath } puudub omadus nimega ${ missingProperty }.",o="${ dataPath } ei tohi olla l\xFChem kui ${ limit } m\xE4rki.",n="Muutujal ${ dataPath } ei tohi olla v\xE4hem kui ${ limit } \xFCksust.",d="Muutujal ${ dataPath } ei tohi olla rohkem kui ${ limit } \xFCksust.",m="${ dataPath } peab sisaldama v\xE4hemalt \xFChte m\xE4rki, mis pole t\xFChim\xE4rk.",g="Muutujal ${ dataPath } ei tohi olla: ${ additionalProperty }.",h="${ dataPath } peab v\xF5rduma \xFChega allpool nimetatud v\xE4\xE4rtustest: ${ allowedValues }.",p="${ dataPath } peab vastama \xFChele nendest skeemidest: ${ schemaOptions }.",$="Proportsionaalsete s\xFCmbolitega hajuvusdiagramme ei toetata. Rakendatud on s\xFCmboli vaikesuurus.",v="Sisendandmete lugemine nurjus.",k="See teenus ei toeta toimingut queryBins.",y="Eeldatud seeriat\xFC\xFCp indeksis ${ seriesIndex } on '${ expectedType }', kuid saadi hoopis '${ receivedType }'",P="v\xF5i",I={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:t,layerLoadFailure:i,layerFieldsNotFound:s,duplicateSeriesID:r,nonNumericAggregation:u,requiredProperty:l,minLength:o,minItems:n,maxItems:d,whiteSpacePattern:m,additionalProperty:g,enumValues:h,anyOfValues:p,bubbleChartValidateMsg:$,queryError:v,queryBinsNotSupported:k,invalidSeriesType:y,or:"v\xF5i"};export{g as additionalProperty,p as anyOfValues,$ as bubbleChartValidateMsg,I as default,a as defaultError,r as duplicateSeriesID,h as enumValues,y as invalidSeriesType,s as layerFieldsNotFound,i as layerLoadFailure,d as maxItems,n as minItems,o as minLength,e as negativeValueInDataForLogTransformation,t as negativeValueInDataForSqrtTransformation,u as nonNumericAggregation,P as or,k as queryBinsNotSupported,v as queryError,l as requiredProperty,m as whiteSpacePattern};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{a as j,b as C}from"./ZSKG4N3O.js";import{a as P,b as O,c as W}from"./PXTN457H.js";import{a as x}from"./CHUYMD7P.js";import{a as I}from"./BRY5NATQ.js";import{c as k}from"./YJHPR3QZ.js";import{a as g}from"./R7YZCTEY.js";import{b as L}from"./XOMLRIJN.js";import{a as M}from"./5T7UUDPW.js";import{a as N}from"./XFYO5IG3.js";var J={validate:t=>{if(!t.length)return!0;let e=t.trim().split(","),r=(f,d)=>{let s=d.trim();return s&&f.indexOf(s)===-1?[...f,s]:f},{length:n}=e.reduce(r,[]);return n<=50&&e.length===n}},X={validate:t=>t.length?/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(t):!0},Q={validate:t=>{let a=!0;if(typeof t=="string"&&t&&/^[0-9]{2}:[0-9]{2}(:[0-9]{2})?$/.test(t)){let[e,r,n=0]=t.split(":").map(f=>parseInt(f,10));a=e>=0&&e<24&&r>=0&&r<60&&n>=0&&n<60}else a=!1;return a},compare:(t,a)=>{let e=new Date,r=d=>{let[s,c,u=0]=d.split(":").map(l=>parseInt(l,10));return new Date(e.getFullYear(),e.getMonth(),e.getDate(),s,c,u,0)},n=r(t),f=r(a);return n>f?1:n<f?-1:0}},tt={validate:t=>{if(!t.length)return!0;try{let a=t.startsWith("/");return new URL(t,a?window.location.origin:void 0),t.startsWith("https://")||t.startsWith("/")}catch{return!1}}},et={validate:t=>{let e=typeof t=="string"&&!/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g.test(t),n=typeof t=="string"&&!/^\s*$/g.test(t),d=typeof t=="string"&&!/[<>==]/g.test(t);return e&&d&&n}},at={validate:t=>{let e=typeof t=="string"&&!/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/.test(t),n=typeof t=="string"&&!/[^\x00-\x7F]/.test(t);return e&&n}},rt={validate:t=>typeof t=="string"&&t.trim().length>0},nt={blockWords:J,slug:X,timePickerTime:Q,url:tt,entityTitleValidator:et,siteEntityTitleValidator:at,isNotWhitespace:rt},ot={keyword:"isUniqueDomain",async:!0,type:"object",validate:st};async function st(t,a){let{lookupDomain:e}=await import("./EL3KJKD4.js"),r=k(),n=a.defaultHostname,f=t?.siteId,d;try{d=(await e(n,r.hubRequestOptions)).siteId===f}catch{d=!0}return d}var it={keyword:"isUniqueSlug",async:!0,type:"string",validate:ft};async function ft(t,a){let{findItemsBySlug:e}=await import("./EL3KJKD4.js"),r=k(),n=t?.id,d=`${t?.orgUrlKey}|${a}`,s;try{s=(await e({slug:d,exclude:n},r.requestOptions)).length===0}catch(c){M.error(`Error checking for unique slug: ${d}`,c),s=!1}return s}var dt=[ot,it],R={exports:{}},K={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.formatNames=t.fastFormats=t.fullFormats=void 0;function a(o,i){return{validate:o,compare:i}}t.fullFormats={date:a(f,d),time:a(c,u),"date-time":a(_,v),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:E,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:Z,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:D,int32:{type:"number",validate:$},int64:{type:"number",validate:S},float:{type:"number",validate:U},double:{type:"number",validate:U},password:!0,binary:!0},t.fastFormats={...t.fullFormats,date:a(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,d),time:a(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,u),"date-time":a(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,v),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},t.formatNames=Object.keys(t.fullFormats);function e(o){return o%4===0&&(o%100!==0||o%400===0)}let r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,n=[0,31,28,31,30,31,30,31,31,30,31,30,31];function f(o){let i=r.exec(o);if(!i)return!1;let m=+i[1],p=+i[2],w=+i[3];return p>=1&&p<=12&&w>=1&&w<=(p===2&&e(m)?29:n[p])}function d(o,i){if(o&&i)return o>i?1:o<i?-1:0}let s=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function c(o,i){let m=s.exec(o);if(!m)return!1;let p=+m[1],w=+m[2],F=+m[3],A=m[5];return(p<=23&&w<=59&&F<=59||p===23&&w===59&&F===60)&&(!i||A!=="")}function u(o,i){if(!(o&&i))return;let m=s.exec(o),p=s.exec(i);if(m&&p)return o=m[1]+m[2]+m[3]+(m[4]||""),i=p[1]+p[2]+p[3]+(p[4]||""),o>i?1:o<i?-1:0}let l=/t|\s/i;function _(o){let i=o.split(l);return i.length===2&&f(i[0])&&c(i[1],!0)}function v(o,i){if(!(o&&i))return;let[m,p]=o.split(l),[w,F]=i.split(l),A=d(m,w);if(A!==void 0)return A||u(p,F)}let y=/\/|:/,h=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function E(o){return y.test(o)&&h.test(o)}let T=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function D(o){return T.lastIndex=0,T.test(o)}let b=-(2**31),z=2**31-1;function $(o){return Number.isInteger(o)&&o<=z&&o>=b}function S(o){return Number.isInteger(o)}function U(){return!0}let G=/[^\\]\\Z/;function Z(o){if(G.test(o))return!1;try{return!0}catch{return!1}}})(K);var B={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.formatLimitDefinition=void 0;let a=P.exports,e=O,r=e.operators,n={formatMaximum:{okStr:"<=",ok:r.LTE,fail:r.GT},formatMinimum:{okStr:">=",ok:r.GTE,fail:r.LT},formatExclusiveMaximum:{okStr:"<",ok:r.LT,fail:r.GTE},formatExclusiveMinimum:{okStr:">",ok:r.GT,fail:r.LTE}},f={message:({keyword:s,schemaCode:c})=>e.str`should be ${n[s].okStr} ${c}`,params:({keyword:s,schemaCode:c})=>e._`{comparison: ${n[s].okStr}, limit: ${c}}`};t.formatLimitDefinition={keyword:Object.keys(n),type:"string",schemaType:"string",$data:!0,error:f,code(s){let{gen:c,data:u,schemaCode:l,keyword:_,it:v}=s,{opts:y,self:h}=v;if(!y.validateFormats)return;let E=new a.KeywordCxt(v,h.RULES.all.format.definition,"format");E.$data?T():D();function T(){let z=c.scopeValue("formats",{ref:h.formats,code:y.code.formats}),$=c.const("fmt",e._`${z}[${E.schemaCode}]`);s.fail$data(e.or(e._`typeof ${$} != "object"`,e._`${$} instanceof RegExp`,e._`typeof ${$}.compare != "function"`,b($)))}function D(){let z=E.schema,$=h.formats[z];if(!$||$===!0)return;if(typeof $!="object"||$ instanceof RegExp||typeof $.compare!="function")throw new Error(`"${_}": format "${z}" does not define "compare" function`);let S=c.scopeValue("formats",{key:z,ref:$,code:y.code.formats?e._`${y.code.formats}${e.getProperty(z)}`:void 0});s.fail$data(b(S))}function b(z){return e._`${z}.compare(${u}, ${l}) ${n[_].fail} 0`}},dependencies:["format"]};let d=s=>(s.addKeyword(t.formatLimitDefinition),s);t.default=d})(B);(function(t,a){Object.defineProperty(a,"__esModule",{value:!0});let e=K,r=B,n=O,f=new n.Name("fullFormats"),d=new n.Name("fastFormats"),s=(u,l={keywords:!0})=>{if(Array.isArray(l))return c(u,l,e.fullFormats,f),u;let[_,v]=l.mode==="fast"?[e.fastFormats,d]:[e.fullFormats,f],y=l.formats||e.formatNames;return c(u,y,_,v),l.keywords&&r.default(u),u};s.get=(u,l="full")=>{let v=(l==="fast"?e.fastFormats:e.fullFormats)[u];if(!v)throw new Error(`Unknown format "${u}"`);return v};function c(u,l,_,v){var y,h;(y=(h=u.opts.code).formats)!==null&&y!==void 0||(h.formats=n._`require("ajv-formats/dist/formats").${v}`);for(let E of l)u.addFormat(E,_[E])}t.exports=a=s,Object.defineProperty(a,"__esModule",{value:!0}),a.default=s})(R,R.exports);var ut=L(R.exports);function V(t){return ct().compile(t)}function ct(){let t=(e,[r,n])=>e.addFormat(r,n),a=Object.entries(nt).reduce(t,lt());return dt.forEach(e=>a.addKeyword(e)),a}function lt(){let t=new W({allErrors:!0,$data:!0});return ut(t),t}function H(t,a){let e=!1,r=[];try{e=!!t(a),r=t.errors||[]}catch(n){r=n.errors}return{valid:e,errors:r}}async function wt(t,a){let e=!1,r=[];try{e=!!await t(a),r=t.errors||[]}catch(n){r=n.errors}return{valid:e,errors:r}}function Tt(t=[],a){let e=[g.SHOW];return a?.schema&&(e=Array.isArray(t)?t.map(r=>q(r,a)):[q(t,a)]),e}function q(t,a){let e=g.SHOW;if(t){let r=t.condition?Y(t.condition,a):mt(t.conditions,a),n={[g.SHOW]:g.HIDE,[g.HIDE]:g.SHOW,[g.DISABLE]:g.ENABLE,[g.ENABLE]:g.DISABLE,[g.RESET]:g.NONE};e=r?t.effect:n[t.effect]}return e}function mt(t=[],a){let e=!1;return t&&(e=t.every(r=>typeof r=="boolean"?r:Y(r,a))),e}function Y(t,a){let e=!1;if(t)if(t.scope){let r=j.get(a.schema,t.scope),n=C(t.scope),f=[N(a.values,n),r.default,x[r.type]].find(s=>!I(s)),d=V(t.schema);e=H(d,f).valid}else{let n=Object.keys(t.schema.properties).reduce((d,s)=>{let c=`/properties/${s}`,u=j.get(a.schema,c),l=[N(a.values,s),u.default,x[u.type]].find(_=>!I(_));return Object.assign(Object.assign({},d),{[s]:l})},{}),f=V(t.schema);e=H(f,n).valid}return e}export{V as a,H as b,wt as c,Tt as d,mt as e,Y as f};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{a as s}from"./RIUBYOWD.js";function a(r,e){if(!e)return!1;let t=s(e,`scopes.${r}.filters`,[]),i=t.length>0,o=t.some(n=>n.predicates.length>0);return i&&o}export{a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{a as o}from"./UNLDFK4A.js";import{b as a}from"./LNKBILYM.js";import{h as n}from"./VIJIBCKZ.js";function p(e){let s=`${a(e)}/portals/self/createNotification`,c=u(e).map(r=>f(s,r));return Promise.all(c).then(h)}function u(e){return o(e.users,e.batchSize||25).map(t=>m(t,e))}function m(e,s){let t=Object.assign({},s);return t.params=Object.assign(Object.assign({},t.params),{users:e,subject:s.subject,message:s.message,notificationChannelType:t.notificationChannelType}),t}function f(e,s){return n(e,s).catch(t=>({errors:[t]}))}function h(e){let s=e.every(r=>r.success),t=e.reduce((r,i)=>r.concat(i.errors||[]),[]),c={success:s};return t.length>0&&(c.errors=t),c}export{p as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{h as y}from"./VIJIBCKZ.js";import{a as c}from"./XFYO5IG3.js";var E=t=>{let[[n,e],[r,o]]=t;return f(n,e,r,o)},S=t=>t.map(n=>n.join(", ")).join(", ");function f(t,n,e,r,o=4326){return{xmin:t,ymin:n,xmax:e,ymax:r,spatialReference:{wkid:o}}}function l(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var x={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function u(t){let n=t.portalSelf,e=n.defaultExtent,r=c(n,"helperServices.geometry.url");if(!r||!e)return Promise.resolve(x);let o=`${r}/project`,a={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[e]}),transformForward:!1,transformation:"",inSR:e.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(a.authentication=t.authentication),y(o,a).then(i=>{let m=i.geometries[0];return{xmin:m.xmin,ymin:m.ymin,xmax:m.xmax,ymax:m.ymax,spatialReference:{wkid:4326}}}).catch(i=>x)}function B(t){return u(t).then(n=>l(n))}var g=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);function p(t){return["xmin","ymin","xmax","ymax"].every(n=>typeof t[n]=="number")}function P(t){return!!t&&[g,p].some(n=>n(t))}var T=t=>{let{xmin:n,ymin:e,xmax:r,ymax:o,spatialReference:s}=t;return{rings:[[[n,o],[r,o],[r,e],[n,e],[n,o]]],spatialReference:s}},A=t=>{let{xmin:n,ymin:e,xmax:r,ymax:o,spatialReference:s}=t,a=(r-n)/2+n,i=(o-e)/2+e;return{x:a,y:i,spatialReference:s}},v=t=>{let n=[].concat(...t);for(let e=0;e<n.length;e+=2){let[r,o]=[n[e],n[e+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},R=t=>{let n=1/0,e=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[a,i]of s)n=Math.min(n,a),e=Math.min(e,i),r=Math.max(r,a),o=Math.max(o,i);return[[n,e],[r,o]]};export{E as a,S as b,f as c,l as d,x as e,u as f,B as g,g as h,P as i,T as j,A as k,v as l,R as m};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import"./DGLGW5E5.js";var e={percent:"Persen",values:"Nilai",standardizedValues:"Nilai terstandar",count:"Count",aggregationOfValues:"${ aggregation } dari nilai",aggregationOfFieldName:"${ aggregation } dari ${ fieldName }"},i={aggrFieldsByCategory:"${ aggregationFields } menurut ${ category }",aggrTypeCategory:"${ aggregationType } menurut ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } menurut ${ category } menurut ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } dari ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } dari ${ aggregationField } menurut ${ category } menurut ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } dari ${ aggregationFields } menurut ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } menurut ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } menurut ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } menurut ${ xAxisField } menurut ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } dari ${ aggregationField } menurut ${ xAxisField } menurut ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } dari ${ aggregationFields } menurut ${ xAxisField }",distributionOfField:"Distribusi ${ valueField }",distributionOfFields:"Distribusi ${ valueFields }",distributionOfFieldsByCategory:"Distribusi ${ valueFields } oleh ${ category }",distributionOfFieldsByCategoryAndSplitBy:"Distribusi ${ valueFields } oleh ${ category } dan ${ splitByField }",xAndY:"${ x } dan ${ y }"},a={barChart:"Diagram batang",lineChart:"Diagram garis",pieChart:"Diagram pai",histogram:"Histogram",scatterplot:"Scatter plot"},g={axisLabels:e,titleLabels:i,chartType:a};export{e as axisLabels,a as chartType,g as default,i as titleLabels};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import"./DGLGW5E5.js";var e="An error occurred while loading the chart.",a="Cannot apply a log transformation to negative or zero values.",t="Cannot apply a square root transformation to negative values.",r="An error occurred while loading the layer. URL = ${ url }. Portal item ID = ${ portalItemId }.",o="The fields [${ fieldNames }] defined in the config were not found in the layer.",s="${ dataPath } must be unique. The series named ${ seriesName } has an ID (${ seriesID }) that is already used by another series.",n="${ dataPath } cannot perform non-count aggregation on non-numeric field.",i="${ dataPath } is missing a property named ${ missingProperty }.",l="${ dataPath } must not be shorter than ${ limit } characters.",d="${ dataPath } must not have fewer than ${ limit } items.",u="${ dataPath } must not have more than ${ limit } items.",h="${ dataPath } must have at least one non-whitespace character.",m="${ dataPath } must not have ${ additionalProperty }.",p="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",y="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",c="Scatterplots with proportional symbols are not supported. Default symbol size has been applied.",g="Failure to read input data.",$="The queryBins operation is not supported on this service.",f="The expected series type at index ${ seriesIndex } is '${ expectedType }' but '${ receivedType }' was received instead",P="or",v={defaultError:e,negativeValueInDataForLogTransformation:a,negativeValueInDataForSqrtTransformation:t,layerLoadFailure:r,layerFieldsNotFound:o,duplicateSeriesID:s,nonNumericAggregation:n,requiredProperty:i,minLength:l,minItems:d,maxItems:u,whiteSpacePattern:h,additionalProperty:m,enumValues:p,anyOfValues:y,bubbleChartValidateMsg:c,queryError:g,queryBinsNotSupported:$,invalidSeriesType:f,or:"or"};export{m as additionalProperty,y as anyOfValues,c as bubbleChartValidateMsg,v as default,e as defaultError,s as duplicateSeriesID,p as enumValues,f as invalidSeriesType,o as layerFieldsNotFound,r as layerLoadFailure,u as maxItems,d as minItems,l as minLength,a as negativeValueInDataForLogTransformation,t as negativeValueInDataForSqrtTransformation,n as nonNumericAggregation,P as or,$ as queryBinsNotSupported,g as queryError,i as requiredProperty,h as whiteSpacePattern};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{b as p}from"./HPJDMA7O.js";import{h as E}from"./4Q3ZYBX6.js";import{b as T,c as h}from"./NINBHAEI.js";import{b as d}from"./EMIMWH6T.js";var _;(function(e){e.CLAPPING_HANDS="clapping_hands",e.CONFUSED="confused",e.DOWN_ARROW="down_arrow",e.EYES="eyes",e.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",e.FIRE="fire",e.GRINNING="grinning",e.HEART="heart",e.LAUGH="laugh",e.ONE_HUNDRED="one_hundred",e.PARTYING="partying",e.PARTY_POPPER="party_popper",e.RAISING_HANDS="raising_hands",e.ROCKET="rocket",e.SAD="sad",e.SLIGHTLY_SMILING="slightly_smiling",e.SURPRISED="surprised",e.THINKING="thinking",e.THUMBS_UP="thumbs_up",e.THUMBS_DOWN="thumbs_down",e.TROPHY="trophy",e.UP_ARROW="up_arrow",e.WAVING_HAND="waving_hand",e.WINKING="winking",e.WORLD_MAP="world_map"})(_||(_={}));function K(e){return e.httpMethod="POST",T("/reactions",e)}function F(e){let{reactionId:r}=e;return e.httpMethod="DELETE",T(`/reactions/${r}`,e)}function J(e){return e.httpMethod="POST",h("/reactions",e)}function z(e){let{reactionId:r}=e;return e.httpMethod="DELETE",h(`/reactions/${r}`,e)}function Q(e,r,t={}){return C(e,t)||y(r,t)}function C(e,r){return!!r.username&&e.creator===r.username}function y(e,r){return p(r,e.orgId)?!0:new E(e).canModerateChannel(r)}function X(e,r={}){return p(r,e.orgId)?!0:new E(e).canModerateChannel(r)}var L=new RegExp(`${d}=('|")[\\w@\\.-]+('|")`,"g"),R=new RegExp(`${d}=`,"g"),v=new RegExp("[^\\w@\\.-]","g");function Z(e=""){let r=(n,i)=>n.replace(i,""),t=(n,i)=>{let c=[R,v].reduce(r,i);return n.indexOf(c)<0?[...n,c]:n};return(e.match(L)||[]).reduce(t,[])}function u(e){let{token:r,authentication:t}=e;return t?t.getToken(t.portal):Promise.resolve(r)}async function s(e,r){let{url:t,method:a,data:n}=e,{mode:i,cache:c,credentials:b}=r,{headers:A,params:w}=H(e,r),l=`${$(r.hubApiUrl)}${t}?${new URLSearchParams(w)}`,S={headers:A,method:a,cache:c,credentials:b,mode:i};n&&(S.body=JSON.stringify(n));let o=await fetch(l,S),{statusText:U,status:D}=o;if(o.ok)return o.json();let M=await o.json();throw new N(U,l,D,JSON.stringify(M.message))}function $(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function H(e,r){let t=new Headers(Object.assign(Object.assign({},e.headers),r.headers));r.token&&t.set("Authorization",r.token);let a=Object.assign(Object.assign({},e.params),r.params);return{headers:t,params:a}}var N=class extends Error{constructor(r,t,a,n){super(r),this.status=a,this.url=t,this.error=n}},I;(function(e){e.DISCUSSION="DISCUSSION"})(I||(I={}));var O;(function(e){e.EMAIL="EMAIL"})(O||(O={}));var f;(function(e){e.ON_EVENT="ON_EVENT",e.DAILY="DAILY",e.WEEKLY="WEEKLY",e.MONTHLY="MONTHLY"})(f||(f={}));var m;(function(e){e.DISCUSSION_POST_PENDING="DISCUSSION_POST_PENDING"})(m||(m={}));var g;(function(e){e.TELEMETRY_REPORT="TELEMETRY_REPORT",e.EVENT="EVENT",e.DISCUSSION_ON_ENTITY="DISCUSSION_ON_ENTITY"})(g||(g={}));var G=(e,r)=>s({url:"/api/newsletters/v1/subscriptions",method:"POST",headers:{"Content-Type":"application/json"},data:e},r),Y=(e,r)=>s({url:"/api/newsletters/v1/subscriptions",method:"GET",params:e},r),k=(e,r)=>s({url:"/api/newsletters/v1/subscriptions/subscribe",method:"POST",headers:{"Content-Type":"application/json"},data:e},r),j=(e,r)=>s({url:`/api/newsletters/v1/subscriptions/${e}`,method:"GET"},r),P=(e,r,t)=>s({url:`/api/newsletters/v1/subscriptions/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:r},t),ee=(e,r)=>s({url:"/api/newsletters/v1/users",method:"POST",headers:{"Content-Type":"application/json"},data:e},r),re=(e,r)=>s({url:`/api/newsletters/v1/users/${e}`,method:"GET"},r),te=(e,r,t)=>s({url:`/api/newsletters/v1/users/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:r},t),ne=(e,r)=>s({url:`/api/newsletters/v1/users/${e}`,method:"DELETE"},r);async function se(e){return e.token=await u(e),k(e.data,e)}async function ae(e){return e.token=await u(e),G(e.data,e)}async function ie(e){return e.token=await u(e),Y(e.data,e)}async function ue(e){return e.token=await u(e),j(e.subscriptionId,e)}async function ce(e){return e.token=await u(e),P(e.subscriptionId,e.data,e)}export{_ as a,K as b,F as c,J as d,z as e,Q as f,X as g,Z as h,u as i,O as j,f as k,m as l,g as m,ee as n,re as o,te as p,ne as q,se as r,ae as s,ie as t,ue as u,ce as v};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- var e="layout-context";export{e as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.32/esri/copyright.txt for details.
3
- v0.32.1 */
4
- import{a as t}from"./TA6DBTVN.js";import{a as n}from"./ZOV6MR3C.js";var r;(function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6"})(r||(r={}));var a;(function(e){e.square="square",e.round="round"})(a||(a={}));var s={type:"object",properties:{hidden:{type:"boolean",default:!1},layout:{type:"string",enum:["grid","list","map","compact","table","calendar"],default:"list"},layouts:{type:"array",items:{type:"string",enum:["grid","list","map","compact","table","calendar"]},default:[]},cardTitleTag:{type:"string",enum:Object.keys(r),default:r.h3},imageType:{type:"string",enum:["thumbnail","icon"],default:"thumbnail"},showThumbnail:{type:"string",enum:["show","hide","grid"],default:"show"},corners:{type:"string",enum:Object.keys(a),default:a.square},shadow:{type:"string",enum:Object.keys(n),default:n.none},showLinkButton:{type:"boolean",default:!1},linkButtonStyle:{type:"string",enum:["outline","outline-filled"],default:"outline-filled"},linkButtonText:{type:"string",default:"Explore"},sort:{type:"string",enum:["relevance","title","created","modified"],default:"relevance"},customFiltersEnabled:{type:"boolean",default:!1},filters:{type:"array",items:{type:"object",properties:{key:{type:"string",enum:["location","type","source","event-occurrence","event-from","event-attendance","tags","categories","license","modified","access","group-role","group-type","group-access","event-access","event-date"]},hidden:{type:"boolean"},label:{type:"string"}}}}}},p={type:"object",minProperties:1},l={type:"object",minProperties:1,properties:{operation:{type:"string",enum:["AND","OR"]},predicates:{type:"array",items:p,minItems:1}}},o={type:"object",required:["targetEntity"],properties:{targetEntity:{type:"string",enum:[...t]},filters:{type:"array",items:l,minItems:1}}},c={type:"object",required:["label"],properties:{label:{type:"string",format:"isNotWhitespace",maxLength:64},scope:o,displayConfig:s}},m={type:"object",properties:{title:{type:"string"},scopes:{type:"object",properties:t.reduce((e,i)=>(e[i]=o,e),{})},collections:{type:"array",items:c},displayConfig:{type:"object",properties:t.reduce((e,i)=>(e[i]=s,e),{})}}};export{r as a,s as b,p as c,l as d,o as e,c as f,m as g};