@esri/solutions-components 1.1.0-next.20250911.2 → 1.1.0-next.20250915

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 (575) hide show
  1. package/dist/cdn/{YAQDLWIH.js → 24WEMWBB.js} +2 -2
  2. package/dist/cdn/{DVAGFDDK.js → 2B76DKA5.js} +2 -2
  3. package/dist/cdn/{FVW6IAZX.js → 2BF6AFF4.js} +2 -2
  4. package/dist/cdn/2ELL72QQ.js +4 -0
  5. package/dist/cdn/{DTLIRFON.js → 2GD3OV76.js} +2 -2
  6. package/dist/cdn/{4GLVTBLS.js → 2JIP2VFM.js} +2 -2
  7. package/dist/cdn/{NRRM4ZKX.js → 2KF645QK.js} +2 -2
  8. package/dist/cdn/{YH5LZKSP.js → 2O3I4FLG.js} +1 -1
  9. package/dist/cdn/2O4CTKN6.js +4 -0
  10. package/dist/cdn/{JWBPC5LQ.js → 2TR6SF3E.js} +2 -2
  11. package/dist/cdn/{SPZFZLTC.js → 2W5MR3Y3.js} +1 -1
  12. package/dist/cdn/{PEFVFAUS.js → 2YAE2VPK.js} +2 -2
  13. package/dist/cdn/{KE7B6EJ7.js → 33OZGVVE.js} +2 -2
  14. package/dist/cdn/{SW6PCDQR.js → 34MOART5.js} +2 -2
  15. package/dist/cdn/{3VW7GINP.js → 3DWPYRJF.js} +2 -2
  16. package/dist/cdn/{UL4K3TEK.js → 3H7OAAPN.js} +2 -2
  17. package/dist/cdn/{M5DODFXN.js → 3HOWHIR4.js} +1 -1
  18. package/dist/cdn/{652RXIXT.js → 3NX7LAGT.js} +2 -2
  19. package/dist/cdn/{625F6UTS.js → 3QRDV7A2.js} +2 -2
  20. package/dist/cdn/{X4FO5WY5.js → 3SHNMGNE.js} +2 -2
  21. package/dist/cdn/{ZEDQ72KB.js → 3TKXMNN5.js} +2 -2
  22. package/dist/cdn/{GGUV3WL7.js → 3WT7VZ5K.js} +2 -2
  23. package/dist/cdn/{BGLA6JTF.js → 3YCYS6UB.js} +1 -1
  24. package/dist/cdn/{TEVDJQRA.js → 3ZVJRN4S.js} +1 -1
  25. package/dist/cdn/{423XDLXY.js → 43P7Z5UZ.js} +2 -2
  26. package/dist/cdn/{VQ5K2ZRH.js → 43T4YZJC.js} +2 -2
  27. package/dist/cdn/{SNRZBSNS.js → 4CAPXBCZ.js} +2 -2
  28. package/dist/cdn/4G52MAZB.js +4 -0
  29. package/dist/cdn/{NRZOM7WH.js → 4JVNUQ4S.js} +2 -2
  30. package/dist/cdn/{GAI6NOBN.js → 4M36Z23I.js} +2 -2
  31. package/dist/cdn/{FQIN5IN3.js → 4QPGV53Y.js} +2 -2
  32. package/dist/cdn/{7QDQDNIG.js → 4U264RM5.js} +2 -2
  33. package/dist/cdn/{HASJRYAV.js → 4Y3HIEKG.js} +2 -2
  34. package/dist/cdn/{UJRSZU3W.js → 52SWRWFF.js} +2 -2
  35. package/dist/cdn/{DWTJ4XUX.js → 52X6RU6Y.js} +2 -2
  36. package/dist/cdn/{YDEVYMZ2.js → 54VXW7RM.js} +1 -1
  37. package/dist/cdn/{FN75WUH2.js → 554U5V7U.js} +2 -2
  38. package/dist/cdn/5BRYQYLS.js +4 -0
  39. package/dist/cdn/{NEJI5QW6.js → 5I5NLBAL.js} +2 -2
  40. package/dist/cdn/{UMX3ZFNX.js → 5LYU2PBU.js} +2 -2
  41. package/dist/cdn/{UQY4RWWT.js → 5MPYPYOJ.js} +2 -2
  42. package/dist/cdn/{WFZT3XAI.js → 5N2YFURQ.js} +2 -2
  43. package/dist/cdn/{4NZC636H.js → 5NZIN72T.js} +2 -2
  44. package/dist/cdn/{YVSHOV3G.js → 5PV5TOZF.js} +3 -3
  45. package/dist/cdn/{PRO5YTTB.js → 5TXH33N7.js} +2 -2
  46. package/dist/cdn/{ET7BFDTD.js → 5XH676RD.js} +1 -1
  47. package/dist/cdn/{UQFPIFA7.js → 64Y7QLNE.js} +2 -2
  48. package/dist/cdn/{DUIBMXZM.js → 6BNS2CCK.js} +2 -2
  49. package/dist/cdn/{AR7S42BQ.js → 6CBWE63Y.js} +2 -2
  50. package/dist/cdn/{E5LWTUJM.js → 6EP5NBHV.js} +2 -2
  51. package/dist/cdn/{534QDBAQ.js → 6L2WVKHI.js} +2 -2
  52. package/dist/cdn/{7F63WMPE.js → 6RTNFNIJ.js} +2 -2
  53. package/dist/cdn/{4XEBKLU2.js → 6SKRQBTY.js} +2 -2
  54. package/dist/cdn/{5EMTFT4K.js → 6X2IRYAJ.js} +2 -2
  55. package/dist/cdn/{IVUTQ2WB.js → 747EZYUX.js} +2 -2
  56. package/dist/cdn/{W57M64Z5.js → 7DYTAA74.js} +2 -2
  57. package/dist/cdn/{6HEFYILX.js → 7FPCXDBU.js} +1 -1
  58. package/dist/cdn/{LOFOYFYB.js → 7HH27IGN.js} +2 -2
  59. package/dist/cdn/{PFRBRXPQ.js → 7LQJB2M5.js} +2 -2
  60. package/dist/cdn/7O6Z4LR2.js +18 -0
  61. package/dist/cdn/{5MDH25UU.js → 7VI5VLTH.js} +1 -1
  62. package/dist/cdn/{HAGL5MC2.js → 7YU27J5R.js} +2 -2
  63. package/dist/cdn/{3H2ONS2E.js → A3R52H33.js} +2 -2
  64. package/dist/cdn/{XEB4CP6T.js → ABXNJUFZ.js} +2 -2
  65. package/dist/cdn/{PL2XGMQD.js → AFKCUCRE.js} +2 -2
  66. package/dist/cdn/{6EAV5JJ4.js → AQ6ZRWV5.js} +2 -2
  67. package/dist/cdn/{UN5RJRL2.js → AUKR4VAD.js} +2 -2
  68. package/dist/cdn/{YX6ITC3Y.js → AWLU3N2J.js} +2 -2
  69. package/dist/cdn/{X63Q5IVG.js → B24ZIWX6.js} +2 -2
  70. package/dist/cdn/{CF4XXPBR.js → B3AHFNAI.js} +2 -2
  71. package/dist/cdn/{DJIVAYXP.js → B465E4NZ.js} +4 -4
  72. package/dist/cdn/{TJDQLK7G.js → BB2XXRZT.js} +2 -2
  73. package/dist/cdn/{SCVZQMZ5.js → BKRAZQCY.js} +2 -2
  74. package/dist/cdn/{AYKWMJXC.js → BPM67OHZ.js} +2 -2
  75. package/dist/cdn/{XMEJ6JVV.js → BPZ7FHPG.js} +2 -2
  76. package/dist/cdn/BQGUX5P7.js +18 -0
  77. package/dist/cdn/{DSTSUTNU.js → BTENZPBH.js} +2 -2
  78. package/dist/cdn/{LVIAV5QR.js → BU2ZZSPK.js} +2 -2
  79. package/dist/cdn/{M7CHTU5E.js → BV6GJRBS.js} +2 -2
  80. package/dist/cdn/BXOFLEI3.js +4 -0
  81. package/dist/cdn/{6AGEFCYB.js → BZ6REBIQ.js} +2 -2
  82. package/dist/cdn/{KLRHMKZS.js → BZLB3MYY.js} +2 -2
  83. package/dist/cdn/{ZAQCMLF4.js → C5ULGWBN.js} +2 -2
  84. package/dist/cdn/{ZHIF66KC.js → C5WHRSAD.js} +2 -2
  85. package/dist/cdn/{DHLILBFE.js → C7ZTTH6V.js} +2 -2
  86. package/dist/cdn/{4Q57777R.js → CBP7V4DB.js} +1 -1
  87. package/dist/cdn/{MCPYVHWV.js → CHNL3NJM.js} +2 -2
  88. package/dist/cdn/{2RMZE6TC.js → CIXOAO4C.js} +2 -2
  89. package/dist/cdn/{J2RSNIGV.js → CJREEK3X.js} +2 -2
  90. package/dist/cdn/{M33KJNWN.js → CLTJE2FJ.js} +2 -2
  91. package/dist/cdn/{YIW2NPTV.js → CQFSXIPT.js} +2 -2
  92. package/dist/cdn/{RX7FCRXL.js → CTIGHZPQ.js} +2 -2
  93. package/dist/cdn/{IF7UHJAR.js → CVF7IBRZ.js} +1 -1
  94. package/dist/cdn/{JCX7NDVY.js → CVXTK3O5.js} +2 -2
  95. package/dist/cdn/{YMU6CVCY.js → CWFZ73CC.js} +2 -2
  96. package/dist/cdn/{SHYRK7HE.js → D5C4GXTW.js} +1 -1
  97. package/dist/cdn/{AS4N6LTM.js → D6UTQG2Q.js} +2 -2
  98. package/dist/cdn/{VUPSMPY2.js → DC37HN4X.js} +2 -2
  99. package/dist/cdn/{GB6MUB2B.js → DIN3AWD3.js} +2 -2
  100. package/dist/cdn/{7MKK4E56.js → DIW7XXPI.js} +2 -2
  101. package/dist/cdn/{IABTIHGI.js → DK2HMUHG.js} +2 -2
  102. package/dist/cdn/{VCF5ECOP.js → DMWQJEFQ.js} +2 -2
  103. package/dist/cdn/{J7O5VJDT.js → DPWET3UD.js} +1 -1
  104. package/dist/cdn/{YU573OZL.js → DTOSVUFP.js} +2 -2
  105. package/dist/cdn/{5YLPXC3Y.js → DTTFO72X.js} +2 -2
  106. package/dist/cdn/{7L4FXHUD.js → DWXTL5ZE.js} +2 -2
  107. package/dist/cdn/{FUJF2Z35.js → DYSXN5N2.js} +2 -2
  108. package/dist/cdn/{A7KL7OUO.js → DZE4BNML.js} +2 -2
  109. package/dist/cdn/{7B2LY6UV.js → DZR2ZVKF.js} +2 -2
  110. package/dist/cdn/{XXR767KI.js → E2WVQW3B.js} +1 -1
  111. package/dist/cdn/{SCY6BW5I.js → E3YJDDLZ.js} +2 -2
  112. package/dist/cdn/{VNPSHP4E.js → EBPG5BUM.js} +2 -2
  113. package/dist/cdn/{HM7C4ICO.js → EGKDTFGX.js} +2 -2
  114. package/dist/cdn/{OKIDHS5M.js → EPTSSPKZ.js} +2 -2
  115. package/dist/cdn/{VP7WLWWE.js → ERUDGHKS.js} +3 -3
  116. package/dist/cdn/{L36IZTJY.js → EVZCCTG3.js} +2 -2
  117. package/dist/cdn/{P4ODMYQB.js → EYDRPC6N.js} +2 -2
  118. package/dist/cdn/{ATB53ZKP.js → F2F4ZQWX.js} +2 -2
  119. package/dist/cdn/{JYVVTI7Y.js → F3INRHT2.js} +2 -2
  120. package/dist/cdn/{V5WZRUNS.js → F67QHOP4.js} +2 -2
  121. package/dist/cdn/{WSRA6XTH.js → FAWBPCVS.js} +1 -1
  122. package/dist/cdn/{IOLMZX66.js → FBSBX444.js} +2 -2
  123. package/dist/cdn/FC7ZE2XZ.js +4 -0
  124. package/dist/cdn/{A7EIQKXY.js → FIETUKBQ.js} +2 -2
  125. package/dist/cdn/{BE4VGAQ6.js → FM22R4L2.js} +2 -2
  126. package/dist/cdn/{MW3KDKSA.js → FMZMXI2O.js} +2 -2
  127. package/dist/cdn/{HF4ZVPTQ.js → FRMQDHMM.js} +2 -2
  128. package/dist/cdn/{EXUFMUTQ.js → FTC6VYO7.js} +2 -2
  129. package/dist/cdn/{7F3GV2VG.js → FULFGP3F.js} +2 -2
  130. package/dist/cdn/{F2BWJE75.js → FUZFO4ET.js} +2 -2
  131. package/dist/cdn/{MRIJEWVG.js → FWBI5EQX.js} +2 -2
  132. package/dist/cdn/{G763EUK4.js → G3UBU3M4.js} +3 -3
  133. package/dist/cdn/{EHOYB4HE.js → G72OGPYS.js} +2 -2
  134. package/dist/cdn/{P4OEWYQH.js → G7ZNHQH6.js} +2 -2
  135. package/dist/cdn/{DGQPGBON.js → GAM273SE.js} +2 -2
  136. package/dist/cdn/{FLYG2DDR.js → GDE5GUJD.js} +2 -2
  137. package/dist/cdn/{LYTMNBSS.js → GDY6I5QI.js} +2 -2
  138. package/dist/cdn/{QZ5TADRQ.js → GGTJ2V7O.js} +2 -2
  139. package/dist/cdn/{R6UKAFVG.js → GH3OEHVC.js} +2 -2
  140. package/dist/cdn/{LXTE5TEF.js → GLPZIBSK.js} +2 -2
  141. package/dist/cdn/{VJR7P6BV.js → GOMGY6VX.js} +2 -2
  142. package/dist/cdn/GS6YC5SA.js +4 -0
  143. package/dist/cdn/{QGW2FJDB.js → GSO7UB5E.js} +2 -2
  144. package/dist/cdn/{4WZM547K.js → H63J57Z5.js} +2 -2
  145. package/dist/cdn/{ZYLLH7BH.js → H7QFV5L4.js} +2 -2
  146. package/dist/cdn/{P7YRW4KH.js → H7VSUZDL.js} +2 -2
  147. package/dist/cdn/{B44OKJQC.js → HA667NBN.js} +2 -2
  148. package/dist/cdn/{OB4UZUS3.js → HHQKCUBH.js} +2 -2
  149. package/dist/cdn/{3QUP66X5.js → HVQAR2E4.js} +2 -2
  150. package/dist/cdn/{HF2OV5H6.js → I4FOJIV2.js} +2 -2
  151. package/dist/cdn/{5W2FD4M5.js → I57JS754.js} +3 -3
  152. package/dist/cdn/{KWNHBLCT.js → I5FEIMM2.js} +2 -2
  153. package/dist/cdn/{YCRRPNZJ.js → IAHRU6NV.js} +2 -2
  154. package/dist/cdn/{R5S5NMIA.js → IAWHL6FD.js} +2 -2
  155. package/dist/cdn/IBQGAAUZ.js +18 -0
  156. package/dist/cdn/{AXK7QP5J.js → IJQLFEY3.js} +2 -2
  157. package/dist/cdn/{AD4A4N4U.js → INK7B5PP.js} +2 -2
  158. package/dist/cdn/{XGGTGACU.js → IR2BRY4W.js} +2 -2
  159. package/dist/cdn/IUSLEM2V.js +18 -0
  160. package/dist/cdn/{ZC2BQBII.js → IWMXRAFT.js} +2 -2
  161. package/dist/cdn/{O5SXHKPM.js → IX7EEQBB.js} +2 -2
  162. package/dist/cdn/{QO6TTYYN.js → IZUKMU3I.js} +2 -2
  163. package/dist/cdn/{ZZ6EPPLQ.js → J2YPNPEB.js} +2 -2
  164. package/dist/cdn/{SSJKYZYV.js → J4ZQABGE.js} +2 -2
  165. package/dist/cdn/{IDITN77F.js → J5PVPWD7.js} +1 -1
  166. package/dist/cdn/{5V2TKTC3.js → JEQPY42O.js} +2 -2
  167. package/dist/cdn/{4FKMIMIE.js → JM6PROVK.js} +1 -1
  168. package/dist/cdn/{SFDBXOOG.js → JWCKTXFY.js} +2 -2
  169. package/dist/cdn/{ND2PYDKI.js → JZANALRQ.js} +1 -1
  170. package/dist/cdn/{MNBSCGTH.js → K6IML5XN.js} +2 -2
  171. package/dist/cdn/{U7CERHPP.js → KAFNY5XJ.js} +6 -6
  172. package/dist/cdn/{FMNW55YT.js → KL73F75A.js} +2 -2
  173. package/dist/cdn/{3QT7BIV3.js → KNL65BH7.js} +2 -2
  174. package/dist/cdn/{NFIBYZAV.js → KUQG7TIF.js} +2 -2
  175. package/dist/cdn/KZIBJ327.js +4 -0
  176. package/dist/cdn/{XXDDHD56.js → L7UNA7PC.js} +2 -2
  177. package/dist/cdn/{QZ5JMA34.js → LBQEFNUG.js} +2 -2
  178. package/dist/cdn/{U5FOT3KO.js → LE7ZPHC2.js} +2 -2
  179. package/dist/cdn/{XKVQI6NZ.js → LEZUMLIY.js} +2 -2
  180. package/dist/cdn/{S3T6DKUX.js → LFPN3OJD.js} +2 -2
  181. package/dist/cdn/{VSN3MCJF.js → LJ3R5BVX.js} +2 -2
  182. package/dist/cdn/{2L7PEA7U.js → LPOISRVW.js} +1 -1
  183. package/dist/cdn/{QZLIH56L.js → LQIJAYRB.js} +2 -2
  184. package/dist/cdn/{JRCPPBWZ.js → LSC5CSFE.js} +2 -2
  185. package/dist/cdn/{HVQVHADU.js → LYMB24SH.js} +2 -2
  186. package/dist/cdn/{2BTYUMLK.js → LZTP3XNG.js} +2 -2
  187. package/dist/cdn/{K7M5CHTQ.js → LZY7JLPB.js} +1 -1
  188. package/dist/cdn/{BU6CLZMJ.js → M345Q3JY.js} +1 -1
  189. package/dist/cdn/{RH5HB2BT.js → M6CD4BN4.js} +2 -2
  190. package/dist/cdn/{AWMXLOE7.js → MBEFN76N.js} +2 -2
  191. package/dist/cdn/{MP2SEKNA.js → MD4RVIGQ.js} +2 -2
  192. package/dist/cdn/{4EIOWWRF.js → MEMR4GNS.js} +2 -2
  193. package/dist/cdn/{GWPT2ICC.js → MEXAQA6P.js} +2 -2
  194. package/dist/cdn/{DG6M3ZU4.js → MHSQGWNM.js} +2 -2
  195. package/dist/cdn/{4G6R7HJV.js → MQRCPT57.js} +2 -2
  196. package/dist/cdn/{PRSEXVB4.js → MTV7ZBRP.js} +2 -2
  197. package/dist/cdn/MVI3SE2O.js +4 -0
  198. package/dist/cdn/{O724AAAL.js → MVURGASL.js} +1 -1
  199. package/dist/cdn/{FH4WJC25.js → MYFMH7UI.js} +2 -2
  200. package/dist/cdn/{HGB2ZKH5.js → N6HTM2LL.js} +1 -1
  201. package/dist/cdn/{QOAI6EA2.js → NAIFE5KD.js} +2 -2
  202. package/dist/cdn/{EVH6ZOGW.js → NEOQRUZM.js} +2 -2
  203. package/dist/cdn/{LPL2LQ5B.js → NFZIWCDB.js} +2 -2
  204. package/dist/cdn/{ZGOLN2TZ.js → NN54EVBL.js} +2 -2
  205. package/dist/cdn/{2C7SCE4V.js → NOT567RZ.js} +2 -2
  206. package/dist/cdn/{LZXSNZEG.js → NRGEWVDW.js} +2 -2
  207. package/dist/cdn/{BWJW6NOF.js → NRH3NXW5.js} +2 -2
  208. package/dist/cdn/{4FXTY4UZ.js → NVF5XUDU.js} +1 -1
  209. package/dist/cdn/{BHPA7WHD.js → NVYNDM5T.js} +2 -2
  210. package/dist/cdn/{S4TIHVZI.js → NYKV7RVI.js} +2 -2
  211. package/dist/cdn/{AWMWRRNB.js → NYPLUO44.js} +2 -2
  212. package/dist/cdn/{ZTZWSNFW.js → O27CKSUF.js} +2 -2
  213. package/dist/cdn/{OFLFBFEA.js → O6GZZYGL.js} +2 -2
  214. package/dist/cdn/{KQXXZPWB.js → OANTUAWC.js} +1 -1
  215. package/dist/cdn/{R6YCPKFS.js → OEWNFNJP.js} +2 -2
  216. package/dist/cdn/{XLVGX5QG.js → OF5DYRGZ.js} +2 -2
  217. package/dist/cdn/{OF2TUOXE.js → OMW3P6KC.js} +3 -3
  218. package/dist/cdn/{YMO5WE7P.js → OMZI42F4.js} +2 -2
  219. package/dist/cdn/ONCS5JRG.js +18 -0
  220. package/dist/cdn/{NHGKXIPR.js → OSCIUHW7.js} +2 -2
  221. package/dist/cdn/{TGO42WNV.js → OWDEQZVO.js} +2 -2
  222. package/dist/cdn/{2DBFWM3J.js → OWJDYP3O.js} +2 -2
  223. package/dist/cdn/OYEAXGFO.js +4 -0
  224. package/dist/cdn/{EIJFIHHL.js → P2PG5QJM.js} +2 -2
  225. package/dist/cdn/{7EYIHL3E.js → P3SMBYX7.js} +2 -2
  226. package/dist/cdn/{MNG4ZG3D.js → PCA7YS3N.js} +2 -2
  227. package/dist/cdn/{BGUPQWXL.js → PF36LRKG.js} +1 -1
  228. package/dist/cdn/{SJVWZRHI.js → PGKF77NJ.js} +2 -2
  229. package/dist/cdn/{OQS7FURR.js → PMBAX5SP.js} +2 -2
  230. package/dist/cdn/{NXOVSG5D.js → PNLJZHIL.js} +2 -2
  231. package/dist/cdn/{ST2OKDZ4.js → PP25P7GZ.js} +2 -2
  232. package/dist/cdn/{23T25PXM.js → PPZAKW2A.js} +2 -2
  233. package/dist/cdn/{SJMKD3XJ.js → PY2P2XUG.js} +1 -1
  234. package/dist/cdn/{ZVEIDXJX.js → PYLMEGHL.js} +2 -2
  235. package/dist/cdn/{GQCWPPLN.js → QBPKYOSC.js} +2 -2
  236. package/dist/cdn/{WG2RTAQY.js → QHKT65DL.js} +2 -2
  237. package/dist/cdn/{KNPOCWWF.js → QJLTXY2W.js} +2 -2
  238. package/dist/cdn/{V7R32KZG.js → QKQFLJEW.js} +1 -1
  239. package/dist/cdn/{5FYALSB7.js → QOA7NOWP.js} +2 -2
  240. package/dist/cdn/{YLSDC4BQ.js → QUOZ5XI4.js} +2 -2
  241. package/dist/cdn/{OWZPVOBY.js → QWOZUBAK.js} +1 -1
  242. package/dist/cdn/{OZYNCKYO.js → QYDVDKFC.js} +2 -2
  243. package/dist/cdn/{O6UST32T.js → QYXJP2QM.js} +2 -2
  244. package/dist/cdn/QZPHWFTI.js +4 -0
  245. package/dist/cdn/{XCAWHB7I.js → R6D2UIFA.js} +1 -1
  246. package/dist/cdn/{KJVRMIBD.js → R6YBFWZ5.js} +2 -2
  247. package/dist/cdn/{S4J4KHRF.js → RCOZSAP5.js} +2 -2
  248. package/dist/cdn/{6JIZ4XBP.js → RFTRNEXX.js} +2 -2
  249. package/dist/cdn/{ZMNVUH2F.js → RHWSOXL7.js} +2 -2
  250. package/dist/cdn/{L3QYFMKB.js → RIQ5GCQE.js} +2 -2
  251. package/dist/cdn/{5IUFSIDX.js → RJELXVPN.js} +2 -2
  252. package/dist/cdn/{6D4HQ7M2.js → RJV33UI7.js} +1 -1
  253. package/dist/cdn/{X377VEMR.js → RPDAAN6N.js} +2 -2
  254. package/dist/cdn/{Y435VSDF.js → RQ2BC273.js} +2 -2
  255. package/dist/cdn/{LEA72LQK.js → RRA3677S.js} +2 -2
  256. package/dist/cdn/{MEZPIRT2.js → RXUZ677T.js} +2 -2
  257. package/dist/cdn/{SXRWHCQ4.js → S7FXMP4M.js} +2 -2
  258. package/dist/cdn/{4LG3PE5J.js → SHA4H2QF.js} +1 -1
  259. package/dist/cdn/{ECCUBDV6.js → SHZOCTGS.js} +2 -2
  260. package/dist/cdn/SI7LT3DJ.js +18 -0
  261. package/dist/cdn/{CTUSQXMB.js → SSE44XDG.js} +2 -2
  262. package/dist/cdn/{SIOGNWC6.js → ST5GR3B7.js} +2 -2
  263. package/dist/cdn/{ZFMWIEGQ.js → SUEDCHYV.js} +1 -1
  264. package/dist/cdn/{AWZ2L6P4.js → SXXGRJ55.js} +2 -2
  265. package/dist/cdn/{2GQADZED.js → SYMQ5NR5.js} +2 -2
  266. package/dist/cdn/{NLAFKJ2E.js → T66H724J.js} +2 -2
  267. package/dist/cdn/{PCSVUFBN.js → TBF22CD2.js} +2 -2
  268. package/dist/cdn/{YPTI53FA.js → TBHWKNIX.js} +2 -2
  269. package/dist/cdn/TEFSOEWM.js +18 -0
  270. package/dist/cdn/{TD3XU55Q.js → TGD3L47P.js} +1 -1
  271. package/dist/cdn/{AJIMU7O4.js → THV5RN7W.js} +2 -2
  272. package/dist/cdn/{GUDOYAJ4.js → TKDIFYNA.js} +2 -2
  273. package/dist/cdn/{L5UT6SUW.js → TLMN445W.js} +1 -1
  274. package/dist/cdn/{L6ZAMSWA.js → TQFGT2Z6.js} +2 -2
  275. package/dist/cdn/{NBSBX63J.js → TTCVHUHL.js} +2 -2
  276. package/dist/cdn/{K4IX2BB7.js → TV2CRYVT.js} +2 -2
  277. package/dist/cdn/{4WAESXJG.js → TVFADKE5.js} +2 -2
  278. package/dist/cdn/{V3AZDL3Q.js → U726BBFJ.js} +2 -2
  279. package/dist/cdn/{NTTQO4LF.js → U7VMANWD.js} +2 -2
  280. package/dist/cdn/{A7UXYWNK.js → UA7VEQFE.js} +2 -2
  281. package/dist/cdn/{TCFCLE53.js → UGP5UJAO.js} +2 -2
  282. package/dist/cdn/{2NFSMO4K.js → UIJNBZYV.js} +2 -2
  283. package/dist/cdn/{DBLPNJCC.js → UJN2CDCQ.js} +2 -2
  284. package/dist/cdn/{S4SYUQWF.js → UKSGTKSQ.js} +2 -2
  285. package/dist/cdn/{LSBH2RQL.js → UOH6R7FF.js} +2 -2
  286. package/dist/cdn/{GUZFVIC6.js → UZXXJ4QO.js} +2 -2
  287. package/dist/cdn/{GBL74D5O.js → VCIGEEKK.js} +2 -2
  288. package/dist/cdn/{HK6RVKL5.js → VCKTEL4E.js} +2 -2
  289. package/dist/cdn/{3V7CDAW4.js → VFCZINSW.js} +2 -2
  290. package/dist/cdn/{CC2IBTVB.js → VHCAYK6B.js} +1 -1
  291. package/dist/cdn/{5PWMGYZG.js → VLI5PG45.js} +1 -1
  292. package/dist/cdn/{Y4M5C6YU.js → VMVI7FJX.js} +2 -2
  293. package/dist/cdn/{IAH236ZP.js → VNDM3KKW.js} +2 -2
  294. package/dist/cdn/{AIB25UJ5.js → VNWIC45J.js} +2 -2
  295. package/dist/cdn/{JOJEPUUR.js → VP4DOUM5.js} +2 -2
  296. package/dist/cdn/{PYTMYLTL.js → VPL5B365.js} +2 -2
  297. package/dist/cdn/{B3TNANEX.js → VVY2D54K.js} +2 -2
  298. package/dist/cdn/{7JJ55RBG.js → VWIBF6IK.js} +2 -2
  299. package/dist/cdn/{VKWASFD4.js → VXLBZ2KY.js} +2 -2
  300. package/dist/cdn/{RYE2NS44.js → W5JM3M4N.js} +1 -1
  301. package/dist/cdn/{TCOUPEPD.js → WFG3UMPY.js} +2 -2
  302. package/dist/cdn/{FDUGCC34.js → WQCAU57J.js} +2 -2
  303. package/dist/cdn/{6G2PI2MU.js → WSKRZ2VB.js} +2 -2
  304. package/dist/cdn/{3QPGK5W4.js → WSONMJYT.js} +2 -2
  305. package/dist/cdn/{C7LU5E2N.js → WTTBTH3S.js} +2 -2
  306. package/dist/cdn/{ZHBZCVEI.js → WYODTBXK.js} +2 -2
  307. package/dist/cdn/{XTWIZPJI.js → WZCKREGS.js} +2 -2
  308. package/dist/cdn/{EYWF2YAH.js → X2WF7UZF.js} +2 -2
  309. package/dist/cdn/{C5X2ZRMN.js → X6PCML64.js} +2 -2
  310. package/dist/cdn/{RSXSF7MJ.js → XAX4WSHD.js} +2 -2
  311. package/dist/cdn/{ARM3EG66.js → XY7OA6LX.js} +2 -2
  312. package/dist/cdn/{QLKWPXJR.js → XYDZNT2T.js} +2 -2
  313. package/dist/cdn/{YZU3OLOE.js → XYF6PP7G.js} +2 -2
  314. package/dist/cdn/{Y52HMXKU.js → Y3OYGD2U.js} +2 -2
  315. package/dist/cdn/{5F6FAGVF.js → Y4PAHUUQ.js} +2 -2
  316. package/dist/cdn/{46TLWAGR.js → YBZOD3V6.js} +2 -2
  317. package/dist/cdn/{RKCK7RBY.js → YCJJR6TE.js} +2 -2
  318. package/dist/cdn/{LOYE4TGK.js → YICWTZ66.js} +2 -2
  319. package/dist/cdn/{WF3JXYL3.js → YLEBBIEI.js} +2 -2
  320. package/dist/cdn/{SCMDZPD5.js → YMY4S52N.js} +2 -2
  321. package/dist/cdn/YN7A75XN.js +4 -0
  322. package/dist/cdn/{KGCOTPXS.js → YOPX3JNC.js} +2 -2
  323. package/dist/cdn/{KVUHCDCE.js → YSQ35TL6.js} +2 -2
  324. package/dist/cdn/{ZF42G2JC.js → YSTCZGU5.js} +2 -2
  325. package/dist/cdn/{YKFCUCEU.js → YUQRZT7V.js} +2 -2
  326. package/dist/cdn/{RUUJR35M.js → YW5EOAOB.js} +1 -1
  327. package/dist/cdn/{PTTXJVNC.js → Z3XMONKF.js} +2 -2
  328. package/dist/cdn/{JU4FWB4Y.js → Z4EC5CR5.js} +2 -2
  329. package/dist/cdn/{SI2RCG3D.js → ZAL6OLCR.js} +2 -2
  330. package/dist/cdn/{DRDHC6JP.js → ZEBUKVPN.js} +2 -2
  331. package/dist/cdn/{JQJTOKRA.js → ZEGW7ZUH.js} +2 -2
  332. package/dist/cdn/{DIPB3EE3.js → ZFLCULL4.js} +2 -2
  333. package/dist/cdn/{HAG4JRWN.js → ZGQHJCEP.js} +2 -2
  334. package/dist/cdn/{WRBC72YE.js → ZI52D7B4.js} +2 -2
  335. package/dist/cdn/{VNIUIIFM.js → ZKOTX3YN.js} +2 -2
  336. package/dist/cdn/{QQGMGBKF.js → ZNV2KGHK.js} +1 -1
  337. package/dist/cdn/{7NH4HSMI.js → ZOCVGJ3B.js} +2 -2
  338. package/dist/cdn/{HWRTCJII.js → ZP6TWN56.js} +2 -2
  339. package/dist/cdn/{V3SHEJRF.js → ZPZX43FS.js} +2 -2
  340. package/dist/cdn/{N3EJWHNC.js → ZTVSSUEV.js} +2 -2
  341. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ar.json +1 -1
  342. package/dist/cdn/assets/solution-deployed-card/t9n/messages.bg.json +1 -1
  343. package/dist/cdn/assets/solution-deployed-card/t9n/messages.bs.json +1 -1
  344. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ca.json +1 -1
  345. package/dist/cdn/assets/solution-deployed-card/t9n/messages.cs.json +1 -1
  346. package/dist/cdn/assets/solution-deployed-card/t9n/messages.da.json +1 -1
  347. package/dist/cdn/assets/solution-deployed-card/t9n/messages.de.json +1 -1
  348. package/dist/cdn/assets/solution-deployed-card/t9n/messages.el.json +1 -1
  349. package/dist/cdn/assets/solution-deployed-card/t9n/messages.es.json +1 -1
  350. package/dist/cdn/assets/solution-deployed-card/t9n/messages.et.json +1 -1
  351. package/dist/cdn/assets/solution-deployed-card/t9n/messages.fi.json +1 -1
  352. package/dist/cdn/assets/solution-deployed-card/t9n/messages.fr.json +1 -1
  353. package/dist/cdn/assets/solution-deployed-card/t9n/messages.he.json +1 -1
  354. package/dist/cdn/assets/solution-deployed-card/t9n/messages.hr.json +1 -1
  355. package/dist/cdn/assets/solution-deployed-card/t9n/messages.hu.json +1 -1
  356. package/dist/cdn/assets/solution-deployed-card/t9n/messages.id.json +1 -1
  357. package/dist/cdn/assets/solution-deployed-card/t9n/messages.it.json +1 -1
  358. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ja.json +1 -1
  359. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ko.json +1 -1
  360. package/dist/cdn/assets/solution-deployed-card/t9n/messages.lt.json +1 -1
  361. package/dist/cdn/assets/solution-deployed-card/t9n/messages.lv.json +1 -1
  362. package/dist/cdn/assets/solution-deployed-card/t9n/messages.nl.json +1 -1
  363. package/dist/cdn/assets/solution-deployed-card/t9n/messages.no.json +1 -1
  364. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pl.json +1 -1
  365. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-BR.json +1 -1
  366. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-PT.json +1 -1
  367. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ro.json +1 -1
  368. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ru.json +1 -1
  369. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sk.json +1 -1
  370. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sl.json +1 -1
  371. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sr.json +1 -1
  372. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sv.json +1 -1
  373. package/dist/cdn/assets/solution-deployed-card/t9n/messages.th.json +1 -1
  374. package/dist/cdn/assets/solution-deployed-card/t9n/messages.tr.json +1 -1
  375. package/dist/cdn/assets/solution-deployed-card/t9n/messages.uk.json +1 -1
  376. package/dist/cdn/assets/solution-deployed-card/t9n/messages.vi.json +1 -1
  377. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-CN.json +1 -1
  378. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-HK.json +1 -1
  379. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-TW.json +1 -1
  380. package/dist/cdn/index.js +2 -2
  381. package/dist/chunks/Auth.js +1 -1
  382. package/dist/chunks/CardsFetcher.js +1 -1
  383. package/dist/chunks/appConfig.js +1 -1
  384. package/dist/chunks/cardFetchingUtils.js +1 -1
  385. package/dist/chunks/cardsHelpers.js +1 -1
  386. package/dist/chunks/common.js +1 -1
  387. package/dist/chunks/deployAppContexts.js +1 -1
  388. package/dist/chunks/downloadUtils.js +1 -1
  389. package/dist/chunks/getItemIcon.js +1 -1
  390. package/dist/chunks/helpers.js +1 -1
  391. package/dist/chunks/interfaces.js +1 -1
  392. package/dist/chunks/loadModules.js +1 -1
  393. package/dist/chunks/mapViewUtils.js +1 -1
  394. package/dist/chunks/pciUtils.js +1 -1
  395. package/dist/chunks/popupUtils.js +1 -1
  396. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  397. package/dist/chunks/privilegeUtils.js +1 -1
  398. package/dist/chunks/publicNotificationContext.js +1 -1
  399. package/dist/chunks/queryUtils.js +1 -1
  400. package/dist/chunks/runtime.js +1 -1
  401. package/dist/chunks/solution-store.js +318 -321
  402. package/dist/chunks/templates.js +1 -1
  403. package/dist/chunks/useT9n.js +1 -1
  404. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +0 -1
  405. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  406. package/dist/components/basemap-gallery/customElement.d.ts +0 -7
  407. package/dist/components/basemap-gallery/customElement.js +1 -1
  408. package/dist/components/buffer-tools/customElement.d.ts +0 -45
  409. package/dist/components/buffer-tools/customElement.js +1 -1
  410. package/dist/components/card-manager/customElement.d.ts +0 -49
  411. package/dist/components/card-manager/customElement.js +1 -1
  412. package/dist/components/consent-manager/customElement.d.ts +0 -33
  413. package/dist/components/consent-manager/customElement.js +1 -1
  414. package/dist/components/create-feature/customElement.d.ts +0 -98
  415. package/dist/components/create-feature/customElement.js +1 -1
  416. package/dist/components/create-related-feature/customElement.d.ts +0 -24
  417. package/dist/components/create-related-feature/customElement.js +1 -1
  418. package/dist/components/crowdsource-manager/customElement.d.ts +0 -191
  419. package/dist/components/crowdsource-manager/customElement.js +1 -1
  420. package/dist/components/crowdsource-reporter/customElement.d.ts +0 -183
  421. package/dist/components/crowdsource-reporter/customElement.js +48 -48
  422. package/dist/components/deduct-calculator/customElement.d.ts +0 -1
  423. package/dist/components/deduct-calculator/customElement.js +1 -1
  424. package/dist/components/delete-button/customElement.d.ts +0 -25
  425. package/dist/components/delete-button/customElement.js +1 -1
  426. package/dist/components/delete-dialog/customElement.d.ts +0 -9
  427. package/dist/components/delete-dialog/customElement.js +1 -1
  428. package/dist/components/edit-card/customElement.d.ts +0 -34
  429. package/dist/components/edit-card/customElement.js +1 -1
  430. package/dist/components/feature-details/customElement.d.ts +0 -33
  431. package/dist/components/feature-details/customElement.js +1 -1
  432. package/dist/components/feature-list/customElement.d.ts +0 -77
  433. package/dist/components/feature-list/customElement.js +101 -90
  434. package/dist/components/field-selection/customElement.d.ts +2 -3
  435. package/dist/components/field-selection/customElement.js +115 -96
  436. package/dist/components/floor-filter/customElement.d.ts +0 -14
  437. package/dist/components/floor-filter/customElement.js +1 -1
  438. package/dist/components/info-card/customElement.d.ts +0 -64
  439. package/dist/components/info-card/customElement.js +5 -2
  440. package/dist/components/json-editor/customElement.d.ts +0 -49
  441. package/dist/components/json-editor/customElement.js +1 -1
  442. package/dist/components/layer-list/customElement.d.ts +0 -32
  443. package/dist/components/layer-list/customElement.js +8 -5
  444. package/dist/components/layer-table/customElement.d.ts +1 -98
  445. package/dist/components/layer-table/customElement.js +10 -3
  446. package/dist/components/map-card/customElement.d.ts +0 -155
  447. package/dist/components/map-card/customElement.js +1 -1
  448. package/dist/components/map-draw-tools/customElement.d.ts +0 -47
  449. package/dist/components/map-draw-tools/customElement.js +1 -1
  450. package/dist/components/map-fullscreen/customElement.d.ts +0 -3
  451. package/dist/components/map-fullscreen/customElement.js +1 -1
  452. package/dist/components/map-layer-picker/customElement.d.ts +0 -84
  453. package/dist/components/map-layer-picker/customElement.js +3 -3
  454. package/dist/components/map-legend/customElement.d.ts +0 -6
  455. package/dist/components/map-legend/customElement.js +1 -1
  456. package/dist/components/map-picker/customElement.d.ts +0 -30
  457. package/dist/components/map-picker/customElement.js +1 -1
  458. package/dist/components/map-search/customElement.d.ts +0 -19
  459. package/dist/components/map-search/customElement.js +1 -1
  460. package/dist/components/map-select-tools/customElement.d.ts +0 -83
  461. package/dist/components/map-select-tools/customElement.js +1 -1
  462. package/dist/components/map-tools/customElement.d.ts +0 -113
  463. package/dist/components/map-tools/customElement.js +1 -1
  464. package/dist/components/pci-calculator/customElement.js +1 -1
  465. package/dist/components/pdf-download/customElement.d.ts +0 -25
  466. package/dist/components/pdf-download/customElement.js +1 -1
  467. package/dist/components/public-notification/customElement.d.ts +0 -113
  468. package/dist/components/public-notification/customElement.js +1 -1
  469. package/dist/components/refine-selection/customElement.d.ts +0 -12
  470. package/dist/components/refine-selection/customElement.js +1 -1
  471. package/dist/components/selection-tool/customElement.d.ts +0 -14
  472. package/dist/components/selection-tool/customElement.js +1 -1
  473. package/dist/components/solution-article-card/customElement.d.ts +0 -26
  474. package/dist/components/solution-article-card/customElement.js +1 -1
  475. package/dist/components/solution-configuration/customElement.d.ts +0 -12
  476. package/dist/components/solution-configuration/customElement.js +1 -1
  477. package/dist/components/solution-configure-dialog/customElement.d.ts +0 -17
  478. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  479. package/dist/components/solution-configure-titles/customElement.d.ts +0 -9
  480. package/dist/components/solution-configure-titles/customElement.js +1 -1
  481. package/dist/components/solution-contents/customElement.d.ts +0 -14
  482. package/dist/components/solution-contents/customElement.js +1 -1
  483. package/dist/components/solution-delete-dialog/customElement.d.ts +0 -15
  484. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  485. package/dist/components/solution-deploy-dialog/customElement.d.ts +0 -22
  486. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  487. package/dist/components/solution-deployed-card/customElement.d.ts +0 -26
  488. package/dist/components/solution-deployed-card/customElement.js +1 -1
  489. package/dist/components/solution-deploying-dialog/customElement.d.ts +0 -15
  490. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  491. package/dist/components/solution-details-card/customElement.d.ts +0 -2
  492. package/dist/components/solution-details-card/customElement.js +1 -1
  493. package/dist/components/solution-details-panel/customElement.d.ts +0 -4
  494. package/dist/components/solution-details-panel/customElement.js +22 -19
  495. package/dist/components/solution-item/customElement.d.ts +0 -16
  496. package/dist/components/solution-item/customElement.js +1 -1
  497. package/dist/components/solution-item-accordion/customElement.d.ts +0 -36
  498. package/dist/components/solution-item-accordion/customElement.js +1 -1
  499. package/dist/components/solution-item-details/customElement.d.ts +0 -5
  500. package/dist/components/solution-item-details/customElement.js +1 -1
  501. package/dist/components/solution-item-diagram/customElement.d.ts +0 -2
  502. package/dist/components/solution-item-diagram/customElement.js +1 -1
  503. package/dist/components/solution-item-icon/customElement.d.ts +0 -11
  504. package/dist/components/solution-item-icon/customElement.js +1 -1
  505. package/dist/components/solution-item-sharing/customElement.d.ts +0 -5
  506. package/dist/components/solution-item-sharing/customElement.js +1 -1
  507. package/dist/components/solution-organization-variables/customElement.d.ts +0 -5
  508. package/dist/components/solution-organization-variables/customElement.js +1 -1
  509. package/dist/components/solution-resource-item/customElement.d.ts +0 -7
  510. package/dist/components/solution-resource-item/customElement.js +1 -1
  511. package/dist/components/solution-snapshot-gallery/customElement.d.ts +0 -8
  512. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  513. package/dist/components/solution-social-share/customElement.d.ts +0 -92
  514. package/dist/components/solution-social-share/customElement.js +1 -1
  515. package/dist/components/solution-spatial-ref/customElement.d.ts +0 -20
  516. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  517. package/dist/components/solution-template-data/customElement.d.ts +0 -22
  518. package/dist/components/solution-template-data/customElement.js +1 -1
  519. package/dist/components/solution-variables/customElement.d.ts +0 -5
  520. package/dist/components/solution-variables/customElement.js +1 -1
  521. package/dist/components/solutions-all-panel/customElement.d.ts +0 -37
  522. package/dist/components/solutions-all-panel/customElement.js +40 -33
  523. package/dist/components/solutions-all-shell/customElement.d.ts +0 -13
  524. package/dist/components/solutions-all-shell/customElement.js +23 -20
  525. package/dist/components/solutions-article-panel/customElement.d.ts +0 -10
  526. package/dist/components/solutions-article-panel/customElement.js +1 -1
  527. package/dist/components/solutions-articles/customElement.d.ts +0 -1
  528. package/dist/components/solutions-articles/customElement.js +1 -1
  529. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  530. package/dist/components/solutions-deploy-app/customElement.d.ts +0 -37
  531. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  532. package/dist/components/solutions-deployed-filter-panel/customElement.d.ts +0 -35
  533. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  534. package/dist/components/solutions-deployed-panel/customElement.d.ts +0 -38
  535. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  536. package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -13
  537. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  538. package/dist/components/solutions-filter-panel/customElement.d.ts +0 -26
  539. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  540. package/dist/components/spatial-ref/customElement.d.ts +0 -29
  541. package/dist/components/spatial-ref/customElement.js +1 -1
  542. package/dist/components/store-manager/customElement.d.ts +0 -12
  543. package/dist/components/store-manager/customElement.js +1 -1
  544. package/dist/docs/api.json +52 -2
  545. package/dist/docs/docs.json +59 -2
  546. package/dist/docs/vscode.html-custom-data.json +1 -1
  547. package/dist/docs/web-types.json +7 -2
  548. package/dist/index.js +1 -1
  549. package/dist/loader.js +3 -3
  550. package/dist/types/lumina.d.ts +1 -1
  551. package/dist/types/preact.d.ts +1 -1
  552. package/dist/types/react.d.ts +1 -1
  553. package/dist/types/stencil.d.ts +1 -1
  554. package/dist/utils/interfaces.d.ts +2 -0
  555. package/package.json +1 -2
  556. package/dist/cdn/35OG34DW.js +0 -4
  557. package/dist/cdn/7L2K4CTR.js +0 -4
  558. package/dist/cdn/ELLO2MAY.js +0 -5
  559. package/dist/cdn/FOKWC4YX.js +0 -4
  560. package/dist/cdn/HXWR5OEJ.js +0 -18
  561. package/dist/cdn/IYIXMAGT.js +0 -18
  562. package/dist/cdn/IYPM2CF6.js +0 -4
  563. package/dist/cdn/J67LB5D3.js +0 -4
  564. package/dist/cdn/L3LZPYIH.js +0 -18
  565. package/dist/cdn/NG3RIAIG.js +0 -4
  566. package/dist/cdn/NQA4IZWB.js +0 -18
  567. package/dist/cdn/OHH4JYRI.js +0 -18
  568. package/dist/cdn/PEYOKBZS.js +0 -4
  569. package/dist/cdn/QJ4JOKJB.js +0 -4
  570. package/dist/cdn/VNWH6JZ2.js +0 -4
  571. package/dist/cdn/WD4HSNVO.js +0 -18
  572. package/dist/cdn/WEQSM7IC.js +0 -4
  573. package/dist/cdn/XIMVS4MY.js +0 -3
  574. package/dist/cdn/ZE2ISXNN.js +0 -4
  575. package/dist/cdn/ZJ7VEBUB.js +0 -18
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250915 */
4
+ import{a,b}from"./554U5V7U.js";import"./LPOISRVW.js";import"./3DWPYRJF.js";import"./CVF7IBRZ.js";import"./CBP7V4DB.js";import"./D5C4GXTW.js";export{a as EventEditorTypes,b as buildSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as o}from"./YMO5WE7P.js";import{d as r}from"./NFIBYZAV.js";import"./PTTXJVNC.js";import"./YH5LZKSP.js";import{a as s}from"./FMNW55YT.js";import"./SJMKD3XJ.js";import"./ATB53ZKP.js";import"./ZFMWIEGQ.js";import"./TCFCLE53.js";import"./SFDBXOOG.js";import"./E5LWTUJM.js";import"./KNPOCWWF.js";import"./7F3GV2VG.js";import"./AYKWMJXC.js";import"./FQIN5IN3.js";import"./FN75WUH2.js";import"./2L7PEA7U.js";import"./3VW7GINP.js";import"./IF7UHJAR.js";import"./SCMDZPD5.js";import"./JU4FWB4Y.js";import"./2GQADZED.js";import"./HGB2ZKH5.js";import"./LVIAV5QR.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
3
+ v1.1.0-next.20250915 */
4
+ import{a as o}from"./OMZI42F4.js";import{d as r}from"./KUQG7TIF.js";import"./Z3XMONKF.js";import"./2O3I4FLG.js";import{a as s}from"./KL73F75A.js";import"./554U5V7U.js";import"./LPOISRVW.js";import"./3DWPYRJF.js";import"./CVF7IBRZ.js";import"./PY2P2XUG.js";import"./F2F4ZQWX.js";import"./SUEDCHYV.js";import"./BU2ZZSPK.js";import"./UGP5UJAO.js";import"./JWCKTXFY.js";import"./6EP5NBHV.js";import"./QJLTXY2W.js";import"./FULFGP3F.js";import"./BPM67OHZ.js";import"./4QPGV53Y.js";import"./YMY4S52N.js";import"./Z4EC5CR5.js";import"./SYMQ5NR5.js";import"./BB2XXRZT.js";import"./2W5MR3Y3.js";import"./CBP7V4DB.js";import"./N6HTM2LL.js";import"./D5C4GXTW.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import"./SHYRK7HE.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.1.0-next.20250915 */
4
+ import"./D5C4GXTW.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as n}from"./4FKMIMIE.js";import{a as p}from"./RX7FCRXL.js";import"./BGLA6JTF.js";import{a as r,b as i}from"./X4FO5WY5.js";import"./YMU6CVCY.js";import"./5F6FAGVF.js";import{d as a}from"./NFIBYZAV.js";import"./CC2IBTVB.js";import"./6D4HQ7M2.js";import"./PTTXJVNC.js";import"./YH5LZKSP.js";import{a as t}from"./FMNW55YT.js";import"./SJMKD3XJ.js";import"./ATB53ZKP.js";import"./ZFMWIEGQ.js";import"./TCFCLE53.js";import"./SFDBXOOG.js";import"./E5LWTUJM.js";import"./KNPOCWWF.js";import"./7F3GV2VG.js";import"./AYKWMJXC.js";import"./FQIN5IN3.js";import"./FN75WUH2.js";import"./2L7PEA7U.js";import"./3VW7GINP.js";import"./IF7UHJAR.js";import"./SCMDZPD5.js";import"./JU4FWB4Y.js";import"./2GQADZED.js";import"./HGB2ZKH5.js";import"./LVIAV5QR.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";var h=async(e,s,o)=>{var l;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}}]}]},{type:"Section",labelKey:`${e}.sections.hero.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"image"}}},options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(s.location,o.hubRequestOptions),options:await i(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.fields.featuredImage.label`,options:{helperText:{labelKey:`${e}.fields.featuredImage.helperText`}},rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},elements:[{scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:p((l=s.view)===null||l===void 0?void 0:l.featuredImageUrl,o.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:n(o.currentUser.groups),disabled:!a("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]}};export{h as buildUiSchema};
3
+ v1.1.0-next.20250915 */
4
+ import{a as p}from"./CTIGHZPQ.js";import{a as n}from"./JM6PROVK.js";import"./3YCYS6UB.js";import{a as r,b as i}from"./3SHNMGNE.js";import"./CWFZ73CC.js";import"./Y4PAHUUQ.js";import{d as a}from"./KUQG7TIF.js";import"./VHCAYK6B.js";import"./RJV33UI7.js";import"./Z3XMONKF.js";import"./2O3I4FLG.js";import{a as t}from"./KL73F75A.js";import"./554U5V7U.js";import"./LPOISRVW.js";import"./3DWPYRJF.js";import"./CVF7IBRZ.js";import"./PY2P2XUG.js";import"./F2F4ZQWX.js";import"./SUEDCHYV.js";import"./BU2ZZSPK.js";import"./UGP5UJAO.js";import"./JWCKTXFY.js";import"./6EP5NBHV.js";import"./QJLTXY2W.js";import"./FULFGP3F.js";import"./BPM67OHZ.js";import"./4QPGV53Y.js";import"./YMY4S52N.js";import"./Z4EC5CR5.js";import"./SYMQ5NR5.js";import"./BB2XXRZT.js";import"./2W5MR3Y3.js";import"./CBP7V4DB.js";import"./N6HTM2LL.js";import"./D5C4GXTW.js";var h=async(e,s,o)=>{var l;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}}]}]},{type:"Section",labelKey:`${e}.sections.hero.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"image"}}},options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(s.location,o.hubRequestOptions),options:await i(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.fields.featuredImage.label`,options:{helperText:{labelKey:`${e}.fields.featuredImage.helperText`}},rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},elements:[{scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:p((l=s.view)===null||l===void 0?void 0:l.featuredImageUrl,o.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:n(o.currentUser.groups),disabled:!a("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]}};export{h as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{g as s}from"./BGUPQWXL.js";async function S(i,y,o){let e=y?.layer;if(!i)return e?.effect?e.effect:e?.featureEffect?o==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=await s(),l=new n({includedEffect:i}).toJSON().includedEffect,u=l,m=e.effect,h=e.featureEffect,r=null;h?r=o==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:r=m;let p=r?l:null;if(!p)return n.fromJSON({includedEffect:l}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:E}=t;if(E)E.forEach((a,c)=>{a.type===d.type?E[c]=d:!t.value.find(v=>v.type===u[0].type)&&(t.value=[...t.value,...u])});else{let a=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),a&&(f=[...f,t])}})}),n.fromJSON({includedEffect:f}).includedEffect}export{S as a};
3
+ v1.1.0-next.20250915 */
4
+ import{g as s}from"./PF36LRKG.js";async function S(i,y,o){let e=y?.layer;if(!i)return e?.effect?e.effect:e?.featureEffect?o==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=await s(),l=new n({includedEffect:i}).toJSON().includedEffect,u=l,m=e.effect,h=e.featureEffect,r=null;h?r=o==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:r=m;let p=r?l:null;if(!p)return n.fromJSON({includedEffect:l}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:E}=t;if(E)E.forEach((a,c)=>{a.type===d.type?E[c]=d:!t.value.find(v=>v.type===u[0].type)&&(t.value=[...t.value,...u])});else{let a=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),a&&(f=[...f,t])}})}),n.fromJSON({includedEffect:f}).includedEffect}export{S as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as o}from"./YMO5WE7P.js";import{d as r}from"./NFIBYZAV.js";import"./PTTXJVNC.js";import"./YH5LZKSP.js";import{a as s}from"./FMNW55YT.js";import"./SJMKD3XJ.js";import"./ATB53ZKP.js";import"./ZFMWIEGQ.js";import"./TCFCLE53.js";import"./SFDBXOOG.js";import"./E5LWTUJM.js";import"./KNPOCWWF.js";import"./7F3GV2VG.js";import"./AYKWMJXC.js";import"./FQIN5IN3.js";import"./FN75WUH2.js";import"./2L7PEA7U.js";import"./3VW7GINP.js";import"./IF7UHJAR.js";import"./SCMDZPD5.js";import"./JU4FWB4Y.js";import"./2GQADZED.js";import"./HGB2ZKH5.js";import"./LVIAV5QR.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p as buildUiSchema};
3
+ v1.1.0-next.20250915 */
4
+ import{a as o}from"./OMZI42F4.js";import{d as r}from"./KUQG7TIF.js";import"./Z3XMONKF.js";import"./2O3I4FLG.js";import{a as s}from"./KL73F75A.js";import"./554U5V7U.js";import"./LPOISRVW.js";import"./3DWPYRJF.js";import"./CVF7IBRZ.js";import"./PY2P2XUG.js";import"./F2F4ZQWX.js";import"./SUEDCHYV.js";import"./BU2ZZSPK.js";import"./UGP5UJAO.js";import"./JWCKTXFY.js";import"./6EP5NBHV.js";import"./QJLTXY2W.js";import"./FULFGP3F.js";import"./BPM67OHZ.js";import"./4QPGV53Y.js";import"./YMY4S52N.js";import"./Z4EC5CR5.js";import"./SYMQ5NR5.js";import"./BB2XXRZT.js";import"./2W5MR3Y3.js";import"./CBP7V4DB.js";import"./N6HTM2LL.js";import"./D5C4GXTW.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as e,c as t,e as a,g as s,k as o}from"./4Q57777R.js";var u=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:s,tags:a}};export{u as a,i as b};
3
+ v1.1.0-next.20250915 */
4
+ import{a as e,c as t,e as a,g as s,k as o}from"./CBP7V4DB.js";var u=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:s,tags:a}};export{u as a,i as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{b as h,c as m}from"./DJIVAYXP.js";import"./IOLMZX66.js";import"./GUZFVIC6.js";import"./XXR767KI.js";import"./3QT7BIV3.js";import"./NTTQO4LF.js";import"./5FYALSB7.js";import"./OWZPVOBY.js";import"./K7M5CHTQ.js";import"./ZF42G2JC.js";import"./ET7BFDTD.js";import"./IDITN77F.js";import"./BGLA6JTF.js";import"./5F6FAGVF.js";import"./NFIBYZAV.js";import"./ZZ6EPPLQ.js";import"./CC2IBTVB.js";import"./6D4HQ7M2.js";import"./PTTXJVNC.js";import"./YH5LZKSP.js";import"./ZFMWIEGQ.js";import"./RYE2NS44.js";import"./XCAWHB7I.js";import"./6HEFYILX.js";import{b as d}from"./5MDH25UU.js";import{a as c}from"./5YLPXC3Y.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{b as g}from"./LZXSNZEG.js";import{C as o,D as p,E as b,h as n,i as s}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],y=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),D=n`/** @license
3
+ v1.1.0-next.20250915 */
4
+ import{b as h,c as m}from"./B465E4NZ.js";import"./FBSBX444.js";import"./UZXXJ4QO.js";import"./E2WVQW3B.js";import"./KNL65BH7.js";import"./U7VMANWD.js";import"./QOA7NOWP.js";import"./QWOZUBAK.js";import"./LZY7JLPB.js";import"./YSTCZGU5.js";import"./5XH676RD.js";import"./J5PVPWD7.js";import"./3YCYS6UB.js";import"./Y4PAHUUQ.js";import"./KUQG7TIF.js";import"./J2YPNPEB.js";import"./VHCAYK6B.js";import"./RJV33UI7.js";import"./Z3XMONKF.js";import"./2O3I4FLG.js";import"./SUEDCHYV.js";import"./W5JM3M4N.js";import"./R6D2UIFA.js";import"./7FPCXDBU.js";import{b as d}from"./7VI5VLTH.js";import{a as c}from"./DTTFO72X.js";import"./X6PCML64.js";import"./ZP6TWN56.js";import{b as g}from"./NRGEWVDW.js";import{C as o,D as p,E as b,h as n,i as s}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],y=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),D=n`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import a from"./NEJI5QW6.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
3
+ v1.1.0-next.20250915 */
4
+ import a from"./5I5NLBAL.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
5
5
  .instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-left: 30px !important;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as E}from"./PEYOKBZS.js";import"./6JIZ4XBP.js";import{a as S,c as m,d as c,e as _,f,g as x}from"./SCY6BW5I.js";import"./4LG3PE5J.js";import{b as C}from"./6HEFYILX.js";import{b as $}from"./5MDH25UU.js";import{a as v}from"./5YLPXC3Y.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{b as I}from"./LZXSNZEG.js";import{C as n,D as o,E as F,G as u,h as y,i as l,l as p,o as b,r as L}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var P=y`@layer{/** @license
3
+ v1.1.0-next.20250915 */
4
+ import{a as E}from"./KZIBJ327.js";import"./RFTRNEXX.js";import{a as S,c as m,d,e as _,f,g as x}from"./E3YJDDLZ.js";import"./SHA4H2QF.js";import{b as C}from"./7FPCXDBU.js";import{b as $}from"./7VI5VLTH.js";import{a as v}from"./DTTFO72X.js";import"./X6PCML64.js";import"./ZP6TWN56.js";import{b as I}from"./NRGEWVDW.js";import{C as c,D as o,E as F,G as u,h as y,i as l,l as p,o as b,r as L}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var V=y`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{a as E}from"./PEYOKBZS.js";import"./6JIZ4XBP.js";import{a as S,c as m,d a
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.width-full{width:100%!important}.width-0{width:0}.height-full{height:100%!important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}}`,g=class extends F{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=v({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._createFeature=n(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=n(),this._featureList=n(),this._selectedRelatedFeature=[],this._layerList=n(),this._createRelatedFeature=n(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=n(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlertNode=n(),this._commentSubmittedAlertNode=n(),this._sortPopoverNode=n(),this.togglePanel=b(),E(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16}}static{this.styles=P}static{this.shadowRootOptions=L}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await c(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){await this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList!=null)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`${this._reportSubmitted&&l`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${o(this._reportSubmittedAlertNode)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&l`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.commentSubmittedMessage||this._translations.commentSubmittedMsg)??""} ${o(this._commentSubmittedAlertNode)}></div></calcite-alert>`||""}${this._addingCommentFailed&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this._adjustAlertStyles()}async _initModules(){let[e,t,i,s]=await $(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter","esri/rest/identify","esri/rest/support/IdentifyParameters"]);this.reactiveUtils=e,this.FeatureFilter=t,this.identify=i,this.IdentifyParameters=s}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await c(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class=${`width-full ${t}`}>${this.mapView?l`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:l`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&l`<calcite-modal aria-labelledby=modal-title class="modal" kind=brand @calciteModalClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s><div class="display-flex align-center" id=modal-title slot=header>${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)}</div><div slot=content>${this.mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList?.filterCount>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_setFilterList(e){this._filterList=e,e&&(e.autoUpdateUrl=!1,e.resetBtn=this.isMobile,e.resetFiltersOnDisconnect=!1,e.zoomBtn=!1)}_adjustAlertStyles(){this.reportSubmittedMessage&&this._reportSubmittedAlertNode.value?.children[0]&&(this._reportSubmittedAlertNode.value.children[0].style.margin="0px"),this.commentSubmittedMessage&&this._commentSubmittedAlertNode.value?.children[0]&&(this._commentSubmittedAlertNode.value.children[0].style.margin="0px")}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i,this._sortPopoverNode.value&&(this._sortPopoverNode.value.open=!1)}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return l`<calcite-popover auto-close label offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover ${o(this._sortPopoverNode)}><calcite-list label selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&l`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t!==void 0&&this.sortOptionClick(t,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t&&this.sortOptionClick(t,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .loading=${this._showLoadingIndicator} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&l`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${o(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature customize-submit enable-search .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromCreateRelatedFeaturePanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];if(this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(a=>{t.includes(a.id)&&(this._validLayers.push(a),a.visible||this._nonVisibleValidLayers.push(a),this._getLayersConfig(a.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[a.id]&&this._layerItemsHash[a.id].supportsAdd&&s.push(a.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,!this._urlParamsLoaded&&this._editableLayerIds.length>1&&this.layerId&&this.objectId){let a=this.mapView&&await c(this.mapView,this.layerId);a&&await this.displayFeaturesList({detail:{layerId:a.id,layerName:a.title}}),this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams()}}}async displayFeaturesList(e){this._showLoadingIndicator=!0,await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId,this._showLoadingIndicator=!1}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await f(this.mapView);e.relationships?.some(i=>{let s=t?.filter(a=>e.url===a.url&&a.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._currentLayerExpressions?.length;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&l`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&l`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${l`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${o(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&l`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&l`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${o(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>void this.updatingFeatureDetails(i.detail)} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${o(this._featureDetails)}></feature-details>${t&&l`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return l`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=both id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${o(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await x([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return l`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){this.mapView&&await f(this.mapView),await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this.mapView&&(this.mapView.popupEnabled=!1),this.onMapClick(e)})}async onMapClick(e){if(!(this._flowItems[this._flowItems.length-1]==="feature-create"||this._flowItems[this._flowItems.length-1]==="add-comment")&&this.mapView){let t=await this.mapView.hitTest(e),i=[],s=[],a=[],h=!1;t.results.length>0&&t.results.forEach(d=>{d.type==="graphic"&&i.push(d.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(a=await this._getIdentifiedGraphics(e.mapPoint),h=a.length>0);let r=s.concat(a);if(r.length>0){this.mapView.popupEnabled=!0;let d={features:r,location:e.mapPoint,updateLocationEnabled:!h};await this.mapView.openPopup(d)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});this._selectedLayer&&this._selectedFeature.length>0&&this._selectedLayer.id===t[0]?.layer?.id&&t[0].attributes[this._selectedLayer.objectIdField]===this._selectedFeature[0].attributes[this._selectedLayer.objectIdField]||t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i=this._mapImageryLayersId.map(async h=>{let r=this.mapView&&await c(this.mapView,h);if(r?.url&&t)return await this.identify?.identify(r.url,t)}),s=await Promise.all(i),a=[];return s.forEach(h=>{h.results.forEach(r=>{let d=Object.keys(r.feature.attributes).map(w=>({fieldName:w,label:w}));r.feature.popupTemplate={title:r.layerName,content:[{type:"fields",fieldInfos:d}]},a.push(r.feature)})}),a}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let a=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&a&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i&&this.FeatureFilter?new this.FeatureFilter({where:i+"='"+t+"'"}):null}}async getLayersToShowInList(){let e=this.mapView&&await S(this.mapView,!0),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),await this.handleSelectedLayersFilter(),this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){let e=this.mapView&&await c(this.mapView,this.layerId);if(e){let t=this.mapView&&await C([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await c(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}async resetFilterList(){await this._filterList?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:a}=i;s&&a&&e.push(`(${a})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables.toArray()).forEach(t=>{if(t.type==="map-image"&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(a=>a.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(a=>{let h=s.expressions?.find(r=>r.id===a.id);h!=null&&(a.name=h.name)}))})}};I("crowdsource-reporter",g);export{g as CrowdsourceReporter};
18
+ */:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.width-full{width:100%!important}.width-0{width:0}.height-full{height:100%!important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}}`,g=class extends F{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=v({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._createFeature=c(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=c(),this._featureList=c(),this._selectedRelatedFeature=[],this._layerList=c(),this._createRelatedFeature=c(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=c(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlertNode=c(),this._commentSubmittedAlertNode=c(),this._sortPopoverNode=c(),this.togglePanel=b(),E(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16}}static{this.styles=V}static{this.shadowRootOptions=L}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await d(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){await this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList!=null)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`${this._reportSubmitted&&l`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${o(this._reportSubmittedAlertNode)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&l`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.commentSubmittedMessage||this._translations.commentSubmittedMsg)??""} ${o(this._commentSubmittedAlertNode)}></div></calcite-alert>`||""}${this._addingCommentFailed&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this._adjustAlertStyles()}async _initModules(){let[e,t,i,s]=await $(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter","esri/rest/identify","esri/rest/support/IdentifyParameters"]);this.reactiveUtils=e,this.FeatureFilter=t,this.identify=i,this.IdentifyParameters=s}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await d(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class=${`width-full ${t}`}>${this.mapView?l`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:l`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&l`<calcite-modal aria-labelledby=modal-title class="modal" kind=brand @calciteModalClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s><div class="display-flex align-center" id=modal-title slot=header>${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)}</div><div slot=content>${this.mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList?.filterCount>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_setFilterList(e){this._filterList=e,e&&(e.autoUpdateUrl=!1,e.resetBtn=this.isMobile,e.resetFiltersOnDisconnect=!1,e.zoomBtn=!1)}_adjustAlertStyles(){this.reportSubmittedMessage&&this._reportSubmittedAlertNode.value?.children[0]&&(this._reportSubmittedAlertNode.value.children[0].style.margin="0px"),this.commentSubmittedMessage&&this._commentSubmittedAlertNode.value?.children[0]&&(this._commentSubmittedAlertNode.value.children[0].style.margin="0px")}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i,this._sortPopoverNode.value&&(this._sortPopoverNode.value.open=!1)}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return l`<calcite-popover auto-close label offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover ${o(this._sortPopoverNode)}><calcite-list label selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&l`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t!==void 0&&this.sortOptionClick(t,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t&&this.sortOptionClick(t,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .loading=${this._showLoadingIndicator} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&l`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${o(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature customize-submit enable-search .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromCreateRelatedFeaturePanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];if(this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(a=>{t.includes(a.id)&&(this._validLayers.push(a),a.visible||this._nonVisibleValidLayers.push(a),this._getLayersConfig(a.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[a.id]&&this._layerItemsHash[a.id].supportsAdd&&s.push(a.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,!this._urlParamsLoaded&&this._editableLayerIds.length>1&&this.layerId&&this.objectId){let a=this.mapView&&await d(this.mapView,this.layerId);a&&await this.displayFeaturesList({detail:{layerId:a.id,layerName:a.title}}),this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams()}}}async displayFeaturesList(e){this._showLoadingIndicator=!0,await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId,this._showLoadingIndicator=!1}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await f(this.mapView);e.relationships?.some(i=>{let s=t?.filter(a=>e.url===a.url&&a.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._currentLayerExpressions?.length;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&l`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&l`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${l`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${o(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&l`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&l`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${o(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>void this.updatingFeatureDetails(i.detail)} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${o(this._featureDetails)}></feature-details>${t&&l`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return l`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=both id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${o(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await x([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return l`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){this.mapView&&await f(this.mapView),await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this.mapView&&(this.mapView.popupEnabled=!1),this.onMapClick(e)})}async onMapClick(e){if(!(this._flowItems[this._flowItems.length-1]==="feature-create"||this._flowItems[this._flowItems.length-1]==="add-comment")&&this.mapView){let t=await this.mapView.hitTest(e),i=[],s=[],a=[],n=!1;t.results.length>0&&t.results.forEach(r=>{r.type==="graphic"&&i.push(r.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(a=await this._getIdentifiedGraphics(e.mapPoint),n=a.length>0);let h=s.concat(a);if(h.length>0){this.mapView.popupEnabled=!0;let r={features:h,location:e.mapPoint,updateLocationEnabled:!n};await this.mapView.openPopup(r)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});this._selectedLayer&&this._selectedFeature.length>0&&this._selectedLayer.id===t[0]?.layer?.id&&t[0].attributes[this._selectedLayer.objectIdField]===this._selectedFeature[0].attributes[this._selectedLayer.objectIdField]||t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i,s=[];for(let n of this._mapImageryLayersId){let h=this.mapView&&await d(this.mapView,n);if(h?.url&&t)try{let r=await this.identify?.identify(h.url,t);if(r?.results?.length){s=r.results,i=h;break}}catch(r){console.error(r)}}let a=[];return s.forEach(n=>{let h=n.layerId,r=i?.sublayers?.items.find(P=>P.id===h),w=r?.popupTemplate;r?.popupEnabled&&w&&(n.feature.popupTemplate=w,a.push(n.feature))}),a}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let a=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&a&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i&&this.FeatureFilter?new this.FeatureFilter({where:i+"='"+t+"'"}):null}}async getLayersToShowInList(){let e=this.mapView&&await S(this.mapView,!0),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),await this.handleSelectedLayersFilter(),this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){let e=this.mapView&&await d(this.mapView,this.layerId);if(e){let t=this.mapView&&await C([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}async resetFilterList(){await this._filterList?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:a}=i;s&&a&&e.push(`(${a})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables.toArray()).forEach(t=>{if(t.type==="map-image"&&t.popupEnabled&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(a=>a.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(a=>{let n=s.expressions?.find(h=>h.id===a.id);n!=null&&(a.name=n.name)}))})}};I("crowdsource-reporter",g);export{g as CrowdsourceReporter};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{d as i}from"./CC2IBTVB.js";import{a}from"./FMNW55YT.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h as a};
3
+ v1.1.0-next.20250915 */
4
+ import{d as i}from"./VHCAYK6B.js";import{a}from"./KL73F75A.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as h}from"./NLAFKJ2E.js";import{b as v}from"./6JIZ4XBP.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{C as m,D as d,E as u,G as i,h as n,i as l,o as r,r as p}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var T=n`@layer{:host .sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}:host .active-tool{--calcite-color-foreground-1: #c7eaff}}`,$={content:"instant-apps-measurement__content"},s=class extends u{constructor(){super(...arguments),this._messages=h({name:"instant-apps-measurement",blocking:!0}),this.measureTool=m(),this.closable=!1,this.measureActive=r()}static{this.properties={view:0,areaUnit:1,linearUnit:1,coordinateFormat:1,activeToolType:1,closable:5}}static{this.styles=T}static{this.shadowRootOptions=p}_handleToolClick(t){if(!this?.measureTool)return;let a=t?.target;if(!(a instanceof HTMLElement))return;let e=a?.dataset.value;if(e!=="distance"&&e!=="area"&&e!=="point"&&e!=="clear")return;e&&this.measureTool.value&&(this.measureTool.value.activeTool=e);let c=document.getElementsByClassName("active-tool");for(let o=0;o<c?.length;o++)c[o]?.classList?.remove("active-tool");a?.classList.add("active-tool"),this.measureActive.emit(!(e===void 0||e==="clear"))}render(){return l`<calcite-panel .heading=${this._messages.label} .closable=${this.closable}><div slot=content-top>${this.renderActionBar()}</div><div>${this.renderMeasureToolPanel()}</div></calcite-panel>`}renderMeasureToolPanel(){let{view:t,coordinateFormat:a,areaUnit:e,linearUnit:c,activeToolType:o}=this;return l`<calcite-panel class=${i($.content)}><instant-apps-measurement-tool .view=${t} .measureConfiguration=${{coordinateFormat:a,areaUnit:e,linearUnit:c,activeToolType:o}} .activeTool=${this.activeToolType} ${d(this.measureTool)}></instant-apps-measurement-tool></calcite-panel>`}renderActionBar(){let{_messages:t,activeToolType:a}=this;return l`<calcite-action-bar expand-disabled layout=horizontal position=end><calcite-action class=${i(a==="distance"?"active-tool":"")} .text=${t.line} icon=measure scale=m data-value=distance @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.line}</calcite-tooltip></calcite-action><calcite-action class=${i(a==="area"?"active-tool":"")} .text=${t.area} scale=m icon=measure-area data-value=area @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.area}</calcite-tooltip></calcite-action><calcite-action class=${i(a==="point"?"active-tool":"")} .text=${t.point} scale=m icon=pin-plus data-value=point @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.point}</calcite-tooltip></calcite-action><calcite-action .text=${t.clear} scale=m icon=trash data-value=clear @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.clear}</calcite-tooltip></calcite-action></calcite-action-bar>`}};v("instant-apps-measurement",s);export{s as InstantAppsMeasurement};
3
+ v1.1.0-next.20250915 */
4
+ import{a as h}from"./T66H724J.js";import{b as v}from"./RFTRNEXX.js";import"./X6PCML64.js";import"./ZP6TWN56.js";import{C as m,D as d,E as u,G as i,h as n,i as l,o as r,r as p}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var T=n`@layer{:host .sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}:host .active-tool{--calcite-color-foreground-1: #c7eaff}}`,$={content:"instant-apps-measurement__content"},s=class extends u{constructor(){super(...arguments),this._messages=h({name:"instant-apps-measurement",blocking:!0}),this.measureTool=m(),this.closable=!1,this.measureActive=r()}static{this.properties={view:0,areaUnit:1,linearUnit:1,coordinateFormat:1,activeToolType:1,closable:5}}static{this.styles=T}static{this.shadowRootOptions=p}_handleToolClick(t){if(!this?.measureTool)return;let a=t?.target;if(!(a instanceof HTMLElement))return;let e=a?.dataset.value;if(e!=="distance"&&e!=="area"&&e!=="point"&&e!=="clear")return;e&&this.measureTool.value&&(this.measureTool.value.activeTool=e);let c=document.getElementsByClassName("active-tool");for(let o=0;o<c?.length;o++)c[o]?.classList?.remove("active-tool");a?.classList.add("active-tool"),this.measureActive.emit(!(e===void 0||e==="clear"))}render(){return l`<calcite-panel .heading=${this._messages.label} .closable=${this.closable}><div slot=content-top>${this.renderActionBar()}</div><div>${this.renderMeasureToolPanel()}</div></calcite-panel>`}renderMeasureToolPanel(){let{view:t,coordinateFormat:a,areaUnit:e,linearUnit:c,activeToolType:o}=this;return l`<calcite-panel class=${i($.content)}><instant-apps-measurement-tool .view=${t} .measureConfiguration=${{coordinateFormat:a,areaUnit:e,linearUnit:c,activeToolType:o}} .activeTool=${this.activeToolType} ${d(this.measureTool)}></instant-apps-measurement-tool></calcite-panel>`}renderActionBar(){let{_messages:t,activeToolType:a}=this;return l`<calcite-action-bar expand-disabled layout=horizontal position=end><calcite-action class=${i(a==="distance"?"active-tool":"")} .text=${t.line} icon=measure scale=m data-value=distance @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.line}</calcite-tooltip></calcite-action><calcite-action class=${i(a==="area"?"active-tool":"")} .text=${t.area} scale=m icon=measure-area data-value=area @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.area}</calcite-tooltip></calcite-action><calcite-action class=${i(a==="point"?"active-tool":"")} .text=${t.point} scale=m icon=pin-plus data-value=point @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.point}</calcite-tooltip></calcite-action><calcite-action .text=${t.clear} scale=m icon=trash data-value=clear @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.clear}</calcite-tooltip></calcite-action></calcite-action-bar>`}};v("instant-apps-measurement",s);export{s as InstantAppsMeasurement};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{d as r}from"./WSRA6XTH.js";import{b as n}from"./LZXSNZEG.js";import{C as d,D as c,E as o,G as a,h as s,i}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var p=s`/** @license
3
+ v1.1.0-next.20250915 */
4
+ import{d as r}from"./FAWBPCVS.js";import{b as n}from"./NRGEWVDW.js";import{C as d,D as c,E as o,G as a,h as s,i}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var p=s`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import"./SHYRK7HE.js";var l=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{helperText:{labelKey:`${e}.fields.prompt.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]});export{l as buildUiSchema};
3
+ v1.1.0-next.20250915 */
4
+ import"./D5C4GXTW.js";var l=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{helperText:{labelKey:`${e}.fields.prompt.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]});export{l as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import c from"./YKFCUCEU.js";import b from"./652RXIXT.js";import"./HF4ZVPTQ.js";import a from"./NEJI5QW6.js";import{a as m}from"./2BTYUMLK.js";import"./BGUPQWXL.js";import{b as h}from"./6JIZ4XBP.js";import"./HWRTCJII.js";import{C as r,D as o,E as p,G as i,h as d,i as t}from"./QQGMGBKF.js";import"./SHYRK7HE.js";export default $arcgis.t(([,{b:c},{r:y}])=>{var f=d`:host{display:block}:host .esri-legend__layer-table,:host .instant-apps-interactive-legend__nested-unique-symbol{margin:0}:host .hide{display:none}`,e={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},n=class extends p{constructor(){super(),this.legendLayerCaption=r(),this.expanded=!0,this.titleText="",this.listenOn(window,"legendLayerExpandUpdated",this.legendLayerExpandUpdatedEmitted)}static{this.properties={expanded:16,activeLayerInfo:0,isSizeRamp:5,isChild:5,isColorRamp:5,isRelationshipRamp:5,isInteractive:5,zoomTo:5,legendElement:0,titleText:1,legendvm:0,legendElementIndex:9}}static{this.styles=f}legendLayerExpandUpdatedEmitted(){this.legendLayerCaption.value&&(this.expanded=this.legendLayerCaption.value.expanded)}render(){let g=this.isChild?e.layerChildTable:e.layerTable,a=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,v=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${e.layerTableSizeRamp}`:"",$=this.isInteractive?"":` ${e.nonInteractive}`,x=y(this.activeLayerInfo)?` ${e.nestedUniqueSymbol}`:"",s=a&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let l=c.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];s=l===void 0?!0:l}return t`<div class=${`${g}${v}${$}${x}`}><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-caption`} class=${i(this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&a?"hide":"show")}><instant-apps-interactive-legend-legend-element-caption .legendvm=${this.legendvm} .activeLayerInfo=${this.activeLayerInfo} .layer=${this.activeLayerInfo.layer} .titleText=${this.titleText} .legendElement=${this.legendElement} .legendElementIndex=${this.legendElementIndex} .zoomTo=${this.zoomTo} .isInteractive=${this.isInteractive} ${o(this.legendLayerCaption)}></instant-apps-interactive-legend-legend-element-caption></div>${m("content",t`<div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`} class=${i(s?"show":"hide")}><slot name=content></slot></div>`)}</div>`}};h("instant-apps-interactive-legend-legend-element",n);return n},a,b,c)
3
+ v1.1.0-next.20250915 */
4
+ import c from"./YUQRZT7V.js";import b from"./3NX7LAGT.js";import"./FRMQDHMM.js";import a from"./5I5NLBAL.js";import{a as m}from"./LZTP3XNG.js";import"./PF36LRKG.js";import{b as h}from"./RFTRNEXX.js";import"./ZP6TWN56.js";import{C as r,D as o,E as p,G as i,h as d,i as t}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";export default $arcgis.t(([,{b:c},{r:y}])=>{var f=d`:host{display:block}:host .esri-legend__layer-table,:host .instant-apps-interactive-legend__nested-unique-symbol{margin:0}:host .hide{display:none}`,e={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},n=class extends p{constructor(){super(),this.legendLayerCaption=r(),this.expanded=!0,this.titleText="",this.listenOn(window,"legendLayerExpandUpdated",this.legendLayerExpandUpdatedEmitted)}static{this.properties={expanded:16,activeLayerInfo:0,isSizeRamp:5,isChild:5,isColorRamp:5,isRelationshipRamp:5,isInteractive:5,zoomTo:5,legendElement:0,titleText:1,legendvm:0,legendElementIndex:9}}static{this.styles=f}legendLayerExpandUpdatedEmitted(){this.legendLayerCaption.value&&(this.expanded=this.legendLayerCaption.value.expanded)}render(){let g=this.isChild?e.layerChildTable:e.layerTable,a=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,v=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${e.layerTableSizeRamp}`:"",$=this.isInteractive?"":` ${e.nonInteractive}`,x=y(this.activeLayerInfo)?` ${e.nestedUniqueSymbol}`:"",s=a&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let l=c.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];s=l===void 0?!0:l}return t`<div class=${`${g}${v}${$}${x}`}><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-caption`} class=${i(this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&a?"hide":"show")}><instant-apps-interactive-legend-legend-element-caption .legendvm=${this.legendvm} .activeLayerInfo=${this.activeLayerInfo} .layer=${this.activeLayerInfo.layer} .titleText=${this.titleText} .legendElement=${this.legendElement} .legendElementIndex=${this.legendElementIndex} .zoomTo=${this.zoomTo} .isInteractive=${this.isInteractive} ${o(this.legendLayerCaption)}></instant-apps-interactive-legend-legend-element-caption></div>${m("content",t`<div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`} class=${i(s?"show":"hide")}><slot name=content></slot></div>`)}</div>`}};h("instant-apps-interactive-legend-legend-element",n);return n},a,b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a}from"./AWZ2L6P4.js";import"./ZF42G2JC.js";import"./ET7BFDTD.js";import"./IDITN77F.js";import"./BGLA6JTF.js";import{a as s,b as r}from"./X4FO5WY5.js";import"./YMU6CVCY.js";import"./5F6FAGVF.js";import"./NFIBYZAV.js";import{a as o}from"./EHOYB4HE.js";import{a as i}from"./DUIBMXZM.js";import"./ZZ6EPPLQ.js";import"./CC2IBTVB.js";import"./6D4HQ7M2.js";import"./PTTXJVNC.js";import"./YH5LZKSP.js";import"./FMNW55YT.js";import"./SJMKD3XJ.js";import"./ATB53ZKP.js";import"./ZFMWIEGQ.js";import"./TCFCLE53.js";import"./SFDBXOOG.js";import"./E5LWTUJM.js";import"./KNPOCWWF.js";import"./7F3GV2VG.js";import"./AYKWMJXC.js";import"./FQIN5IN3.js";import"./FN75WUH2.js";import"./2L7PEA7U.js";import"./3VW7GINP.js";import"./IF7UHJAR.js";import"./SCMDZPD5.js";import"./JU4FWB4Y.js";import"./2GQADZED.js";import"./HGB2ZKH5.js";import"./LVIAV5QR.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
3
+ v1.1.0-next.20250915 */
4
+ import{a}from"./SXXGRJ55.js";import"./YSTCZGU5.js";import"./5XH676RD.js";import"./J5PVPWD7.js";import"./3YCYS6UB.js";import{a as s,b as r}from"./3SHNMGNE.js";import"./CWFZ73CC.js";import"./Y4PAHUUQ.js";import"./KUQG7TIF.js";import{a as o}from"./G72OGPYS.js";import{a as i}from"./6BNS2CCK.js";import"./J2YPNPEB.js";import"./VHCAYK6B.js";import"./RJV33UI7.js";import"./Z3XMONKF.js";import"./2O3I4FLG.js";import"./KL73F75A.js";import"./554U5V7U.js";import"./LPOISRVW.js";import"./3DWPYRJF.js";import"./CVF7IBRZ.js";import"./PY2P2XUG.js";import"./F2F4ZQWX.js";import"./SUEDCHYV.js";import"./BU2ZZSPK.js";import"./UGP5UJAO.js";import"./JWCKTXFY.js";import"./6EP5NBHV.js";import"./QJLTXY2W.js";import"./FULFGP3F.js";import"./BPM67OHZ.js";import"./4QPGV53Y.js";import"./YMY4S52N.js";import"./Z4EC5CR5.js";import"./SYMQ5NR5.js";import"./BB2XXRZT.js";import"./2W5MR3Y3.js";import"./CBP7V4DB.js";import"./N6HTM2LL.js";import"./D5C4GXTW.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as h}from"./2BTYUMLK.js";import{k as m}from"./4LG3PE5J.js";import{a as A}from"./5YLPXC3Y.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{b as F}from"./LZXSNZEG.js";import{E as I,h as S,i as l,o as y}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var b=S`/** @license
3
+ v1.1.0-next.20250915 */
4
+ import{a as h}from"./LZTP3XNG.js";import{k as m}from"./SHA4H2QF.js";import{a as A}from"./DTTFO72X.js";import"./X6PCML64.js";import"./ZP6TWN56.js";import{b as F}from"./NRGEWVDW.js";import{E as I,h as S,i as l,o as y}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var b=S`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{ha as m,ib as l}from"./IOLMZX66.js";import{v as u}from"./ZZ6EPPLQ.js";import{H as c}from"./4LG3PE5J.js";export default $arcgis.t(([])=>{function N(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}async function d(t,e){let a=e,n=await a.getUsername(),s={q:new u().match(t).in("title").and().match(n).in("owner"),filter:"type:Solution",authentication:a},f=(await l(s)).results.map(r=>r.title),{folders:h}=await m(a),p=h.map(r=>r.title),i=[...f,...p].map(r=>r.trim().toLowerCase()),o=t.toLowerCase(),w=i.filter(r=>r===o),g=i.filter(r=>r.startsWith(o));return{conflictingNames:w,similiarNames:g}}async function C(t,e){return y(t)?{status:!1,type:"empty"}:v(t)?{status:!1,type:"exceed length"}:k(t)?{status:!1,type:"special character"}:(await d(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function y(t){return t.length<=0}function v(t){return t.length>c}function k(t){return/[/<>]/u.test(t)}function E(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function x(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}function S(t,e,a,n){let s="";return e?s=n+"/sharing/rest/content/items/"+t+"/info/"+e+x([{k:"w",v:"400"}]):s=a,s}function b(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function A(t,e,a){return e.some(n=>n.wkid===t?(a=n.defaultExtent,!0):!1),a}function D(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function F(t,e){let a="";return t.some(n=>n.startsWith(e)?(a=n.substring(e.length),!0):!1),a}return{a:N,b:d,c:C,d:k,e:E,f:x,g:S,h:b,i:A,j:D,k:F}},"intl")
3
+ v1.1.0-next.20250915 */
4
+ import{ha as m,ib as l}from"./FBSBX444.js";import{v as u}from"./J2YPNPEB.js";import{H as c}from"./SHA4H2QF.js";export default $arcgis.t(([])=>{function N(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}async function d(t,e){let a=e,n=await a.getUsername(),s={q:new u().match(t).in("title").and().match(n).in("owner"),filter:"type:Solution",authentication:a},f=(await l(s)).results.map(r=>r.title),{folders:h}=await m(a),p=h.map(r=>r.title),i=[...f,...p].map(r=>r.trim().toLowerCase()),o=t.toLowerCase(),w=i.filter(r=>r===o),g=i.filter(r=>r.startsWith(o));return{conflictingNames:w,similiarNames:g}}async function C(t,e){return y(t)?{status:!1,type:"empty"}:v(t)?{status:!1,type:"exceed length"}:k(t)?{status:!1,type:"special character"}:(await d(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function y(t){return t.length<=0}function v(t){return t.length>c}function k(t){return/[/<>]/u.test(t)}function E(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function x(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}function S(t,e,a,n){let s="";return e?s=n+"/sharing/rest/content/items/"+t+"/info/"+e+x([{k:"w",v:"400"}]):s=a,s}function b(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function A(t,e,a){return e.some(n=>n.wkid===t?(a=n.defaultExtent,!0):!1),a}function D(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function F(t,e){let a="";return t.some(n=>n.startsWith(e)?(a=n.substring(e.length),!0):!1),a}return{a:N,b:d,c:C,d:k,e:E,f:x,g:S,h:b,i:A,j:D,k:F}},"intl")
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{d as g}from"./SCY6BW5I.js";import"./4LG3PE5J.js";import{b as m}from"./6HEFYILX.js";import{a as u}from"./5YLPXC3Y.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{b as p}from"./LZXSNZEG.js";import{C as c,D as h,E as d,h as n,i,o as a,r as l}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var C=n`@layer{/** @license
3
+ v1.1.0-next.20250915 */
4
+ import{d as g}from"./E3YJDDLZ.js";import"./SHA4H2QF.js";import{b as m}from"./7FPCXDBU.js";import{a as u}from"./DTTFO72X.js";import"./X6PCML64.js";import"./ZP6TWN56.js";import{b as p}from"./NRGEWVDW.js";import{C as c,D as h,E as d,h as n,i,o as a,r as l}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var C=n`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250915 */
4
+ import{a as n}from"./T66H724J.js";import{b as i}from"./RFTRNEXX.js";import"./X6PCML64.js";import"./ZP6TWN56.js";import{E as o,h as a,i as s}from"./ZNV2KGHK.js";import"./D5C4GXTW.js";var p=a`[role=alert]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}`,r=class extends o{constructor(){super(),this._messages=n({name:"instant-apps-app-error"}),this._handleErrorMessage=this._handleErrorMessage.bind(this),this.listenOn(document,"instant-apps-error",this._handleErrorMessage)}static{this.properties={errorMessage:16}}static{this.styles=p}async clearErrorMessage(){this.errorMessage=void 0}_handleErrorMessage(e){if(!e.detail||!this._messages?.errorMessages)return;let t=this._messages.errorMessages[e.detail];t&&(this.errorMessage=t)}render(){return s`<div role=alert>${this.errorMessage&&s`<p>${this.errorMessage}</p>`||""}</div>`}};i("instant-apps-app-error",r);export{r as InstantAppsAppError};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import"./SHYRK7HE.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.1.0-next.20250915 */
4
+ import"./D5C4GXTW.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};