@esri/solutions-components 1.1.0-next.20250908 → 1.1.0-next.20250908.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (464) hide show
  1. package/dist/cdn/{3TLPMHF3.js → 2CURQLUN.js} +2 -2
  2. package/dist/cdn/{4QSJLVQN.js → 2DO7WIQH.js} +2 -2
  3. package/dist/cdn/{MZK3O6RZ.js → 2EXDPYT3.js} +2 -2
  4. package/dist/cdn/{7BIU5SOL.js → 2GUKMTCX.js} +2 -2
  5. package/dist/cdn/{4UNPUJDV.js → 2LFIPEPL.js} +2 -2
  6. package/dist/cdn/{NZ3KZLIR.js → 2QNPPWDL.js} +2 -2
  7. package/dist/cdn/{AQLIATLL.js → 2TWTR6N4.js} +2 -2
  8. package/dist/cdn/{3D4CFYOY.js → 2VTK747Q.js} +2 -2
  9. package/dist/cdn/{WCT4PNFR.js → 2XLODBEC.js} +2 -2
  10. package/dist/cdn/{DD5KIXQJ.js → 32V4WPEI.js} +2 -2
  11. package/dist/cdn/{3EM7FSNN.js → 36QZPAWP.js} +2 -2
  12. package/dist/cdn/{QSHJ5ZZB.js → 3BB5IMNT.js} +2 -2
  13. package/dist/cdn/{ZS32ZCBO.js → 3DWOVECI.js} +2 -2
  14. package/dist/cdn/{SLI3ZQZK.js → 3E4YM4JI.js} +2 -2
  15. package/dist/cdn/{LJMJ4DLL.js → 3EOGFGFX.js} +2 -2
  16. package/dist/cdn/{QZ4Z656W.js → 3FDDTURZ.js} +2 -2
  17. package/dist/cdn/{UZHJAC32.js → 3FI3IQVJ.js} +2 -2
  18. package/dist/cdn/{KK3ZC6N2.js → 3JVQ2EUA.js} +3 -3
  19. package/dist/cdn/{OKDNDINH.js → 3KI42ORY.js} +2 -2
  20. package/dist/cdn/{H2Y5F4QW.js → 3KKWI65W.js} +2 -2
  21. package/dist/cdn/3NQ5SBV3.js +4 -0
  22. package/dist/cdn/{FRRDJTIR.js → 3O75SHCU.js} +2 -2
  23. package/dist/cdn/{J7IPW737.js → 3QHN2XJU.js} +2 -2
  24. package/dist/cdn/3XAKMOIJ.js +18 -0
  25. package/dist/cdn/{EQZR6CEP.js → 3YOGXAOE.js} +2 -2
  26. package/dist/cdn/{7YAHT6JK.js → 42N26LVQ.js} +1 -1
  27. package/dist/cdn/{3NC3WOAK.js → 4AGBZDRS.js} +2 -2
  28. package/dist/cdn/{WHJW5ATS.js → 4EMYCXJS.js} +1 -1
  29. package/dist/cdn/{JPIRNN2N.js → 4FNIWH4V.js} +1 -1
  30. package/dist/cdn/{RICTTJEM.js → 4GDE7AUP.js} +2 -2
  31. package/dist/cdn/{RQN6AMMR.js → 4LUIWDUU.js} +2 -2
  32. package/dist/cdn/{7PXVH6WW.js → 4OFKFUAB.js} +2 -2
  33. package/dist/cdn/{H4OUY5QO.js → 4PN2T27A.js} +2 -2
  34. package/dist/cdn/{P7QELDJ5.js → 4RQ3AOWG.js} +2 -2
  35. package/dist/cdn/{2OC5UVVW.js → 4VT47OAM.js} +2 -2
  36. package/dist/cdn/{ANRCHD5L.js → 4WQCIN72.js} +2 -2
  37. package/dist/cdn/{B73F322M.js → 53KNB5NK.js} +1 -1
  38. package/dist/cdn/{MV44BNCC.js → 54IKT64F.js} +1 -1
  39. package/dist/cdn/{CDEBZXW6.js → 5AP7OMXE.js} +2 -2
  40. package/dist/cdn/{MNP2YODC.js → 5BM3GX7H.js} +2 -2
  41. package/dist/cdn/{LNXDUZBH.js → 5C2LHY7S.js} +2 -2
  42. package/dist/cdn/{JLGFQCEH.js → 5EOHWCKD.js} +1 -1
  43. package/dist/cdn/{E255TKVJ.js → 5HUALUV7.js} +2 -2
  44. package/dist/cdn/{CGSLBDQX.js → 5MCHDJQL.js} +2 -2
  45. package/dist/cdn/{XX5LJ2RJ.js → 5O7TST2X.js} +2 -2
  46. package/dist/cdn/{CMDWAHHM.js → 5Q3MA5NF.js} +2 -2
  47. package/dist/cdn/{WYLFDTO7.js → 5TOXBVUY.js} +2 -2
  48. package/dist/cdn/{SYPGTJGM.js → 5UEW2SAE.js} +2 -2
  49. package/dist/cdn/{RCZHEY62.js → 5WM3XMHK.js} +2 -2
  50. package/dist/cdn/{TLDVC6HH.js → 6CH66BJ7.js} +2 -2
  51. package/dist/cdn/{F2J7UPQO.js → 6FDAPZ3H.js} +2 -2
  52. package/dist/cdn/{EWC5JCCO.js → 6JPVOVF2.js} +2 -2
  53. package/dist/cdn/{R6KDCWWX.js → 6MZSFXNN.js} +2 -2
  54. package/dist/cdn/{5442O73U.js → 6SH7ZSHU.js} +2 -2
  55. package/dist/cdn/{OWJBNQ6G.js → 6STVSRHP.js} +2 -2
  56. package/dist/cdn/{5WRWPUWR.js → 6UIYODS6.js} +2 -2
  57. package/dist/cdn/{BB4SEI3A.js → 6WYXISVG.js} +2 -2
  58. package/dist/cdn/{JEGRWO2F.js → 72QOKZNA.js} +2 -2
  59. package/dist/cdn/{T75VXTNW.js → 76CMD5S5.js} +2 -2
  60. package/dist/cdn/{W73ITGL2.js → 7AOYBZ2F.js} +2 -2
  61. package/dist/cdn/{6KIWMVSH.js → 7E57VET3.js} +2 -2
  62. package/dist/cdn/{VHHGIKYZ.js → 7EQMP3HF.js} +1 -1
  63. package/dist/cdn/{AKX2TTAE.js → A43L4PWA.js} +2 -2
  64. package/dist/cdn/{ZZFV5Q5C.js → A5G5G7FJ.js} +2 -2
  65. package/dist/cdn/{6EJK7JMX.js → A6R7ITIF.js} +2 -2
  66. package/dist/cdn/{DMMYPRBI.js → A7UAJ6NX.js} +2 -2
  67. package/dist/cdn/{Z5PYD5IY.js → AB2HN5BR.js} +2 -2
  68. package/dist/cdn/ARMWYF6X.js +4 -0
  69. package/dist/cdn/{6NNWA5JF.js → AT6LIL5D.js} +2 -2
  70. package/dist/cdn/B2WJGYHO.js +4 -0
  71. package/dist/cdn/{FQ36XLKQ.js → BEQUSUEA.js} +2 -2
  72. package/dist/cdn/{EZXHXFCU.js → BEX7AVNB.js} +2 -2
  73. package/dist/cdn/{UGOHDWSP.js → BINJPPVG.js} +2 -2
  74. package/dist/cdn/{RKKDKWIA.js → BMAUEA6C.js} +2 -2
  75. package/dist/cdn/{DXC4FU6L.js → BMYEY3IP.js} +2 -2
  76. package/dist/cdn/{I5D4NJGN.js → BNDRE7ON.js} +2 -2
  77. package/dist/cdn/{F4J3GW2D.js → BODX5BT5.js} +1 -1
  78. package/dist/cdn/{LYBF3MGB.js → BOUCAE7G.js} +2 -2
  79. package/dist/cdn/{TPY6B66Y.js → BP64UUA5.js} +2 -2
  80. package/dist/cdn/{RLTTA62Q.js → BT3CRDZ5.js} +2 -2
  81. package/dist/cdn/{PPRSEC3E.js → BV2LRI4G.js} +2 -2
  82. package/dist/cdn/{AHIZZQAB.js → BWUQKVU4.js} +2 -2
  83. package/dist/cdn/{G4BWKN3O.js → BXHQBFKP.js} +2 -2
  84. package/dist/cdn/{D4F6OW2A.js → BYR3OO2X.js} +2 -2
  85. package/dist/cdn/{F6SWDTVQ.js → CCE2QAPT.js} +2 -2
  86. package/dist/cdn/{5PU7RU5P.js → CCWWXLWW.js} +2 -2
  87. package/dist/cdn/{IB3AMBOI.js → CD6WQN2N.js} +2 -2
  88. package/dist/cdn/{DEUXS6X7.js → CHGR54I5.js} +2 -2
  89. package/dist/cdn/{6OWSRH66.js → CHLJQ2F7.js} +2 -2
  90. package/dist/cdn/{DTR2RNU2.js → CIRSFA4M.js} +2 -2
  91. package/dist/cdn/{XJGWQOFS.js → CJQ7A3HF.js} +2 -2
  92. package/dist/cdn/{EI7PYSBM.js → CJR5LVNP.js} +2 -2
  93. package/dist/cdn/{JRBU5PTD.js → CMDZVFKQ.js} +2 -2
  94. package/dist/cdn/{JF5W5A65.js → CMN7NTBH.js} +1 -1
  95. package/dist/cdn/{37BBANOV.js → CY4A2TGN.js} +2 -2
  96. package/dist/cdn/{7KSE2E55.js → D42OJQPT.js} +2 -2
  97. package/dist/cdn/{6267ZF2B.js → D7ZXF4EB.js} +2 -2
  98. package/dist/cdn/DBZMAAOB.js +4 -0
  99. package/dist/cdn/{7GWMX64B.js → DJ2EYXCY.js} +2 -2
  100. package/dist/cdn/{2BBIT7JS.js → DNO7KHMX.js} +2 -2
  101. package/dist/cdn/{ED5JBSO3.js → DS36NWNA.js} +2 -2
  102. package/dist/cdn/{XUWWPPHZ.js → DSIABNCJ.js} +1 -1
  103. package/dist/cdn/{FUN55YD2.js → DV2S2ZLT.js} +2 -2
  104. package/dist/cdn/{6PAJRRZO.js → ECKIQV25.js} +2 -2
  105. package/dist/cdn/{ZCK6LMAW.js → ED3GNSFX.js} +2 -2
  106. package/dist/cdn/{EHLTORSB.js → EFQ4PIVX.js} +2 -2
  107. package/dist/cdn/{456Y4EGY.js → EKLOZ6NG.js} +2 -2
  108. package/dist/cdn/{YWBYZLJO.js → ERUHBWK3.js} +3 -3
  109. package/dist/cdn/{KO62RUX2.js → ESH5RVJX.js} +2 -2
  110. package/dist/cdn/{TGXRHX6P.js → ESS557CU.js} +2 -2
  111. package/dist/cdn/{NX74OABI.js → ETJ5QPYM.js} +2 -2
  112. package/dist/cdn/{WPB4LXWL.js → EUFFT24O.js} +2 -2
  113. package/dist/cdn/{NRNFX3Q4.js → EY4XQXD6.js} +1 -1
  114. package/dist/cdn/{UEAHPGKT.js → F57PNUUZ.js} +1 -1
  115. package/dist/cdn/{XDICGKS4.js → FBD6EH5F.js} +2 -2
  116. package/dist/cdn/{FW6E6H2G.js → FDTCMGJN.js} +2 -2
  117. package/dist/cdn/{F3U2T6RN.js → FHBFORIQ.js} +2 -2
  118. package/dist/cdn/{HFNYACVQ.js → FHVHAPUY.js} +2 -2
  119. package/dist/cdn/{XZPEREAG.js → FMNA6J56.js} +2 -2
  120. package/dist/cdn/{SOMRBE5O.js → FRJVACUR.js} +2 -2
  121. package/dist/cdn/{WLL2XD4R.js → FRK46UD5.js} +2 -2
  122. package/dist/cdn/{VQLOYI55.js → FT6M6WZE.js} +2 -2
  123. package/dist/cdn/{7GGMPOVW.js → FTCEHWT5.js} +2 -2
  124. package/dist/cdn/{7Z4KF35N.js → FTXBHTUO.js} +1 -1
  125. package/dist/cdn/{J5D6ZCQF.js → FXFBOI54.js} +2 -2
  126. package/dist/cdn/{HC6CRLSF.js → FZCBTUUG.js} +1 -1
  127. package/dist/cdn/{BE3FNH52.js → G7OQSLSN.js} +2 -2
  128. package/dist/cdn/{RLLYOX4I.js → GBOKJ64A.js} +1 -1
  129. package/dist/cdn/{FHRTBDSG.js → GCH3PSNF.js} +2 -2
  130. package/dist/cdn/{XIPFEKDP.js → GHLHD7UQ.js} +1 -1
  131. package/dist/cdn/{2WIZSKHX.js → GHP4JA72.js} +2 -2
  132. package/dist/cdn/{GDMEJW64.js → GIW4CYRD.js} +2 -2
  133. package/dist/cdn/{IHPRJIFM.js → GP3RS3AR.js} +2 -2
  134. package/dist/cdn/{OCGLKLUU.js → GQJKUQ42.js} +2 -2
  135. package/dist/cdn/{5SIYISLO.js → GT73ODSR.js} +2 -2
  136. package/dist/cdn/{JDGMKM6Q.js → GUAWCUPN.js} +2 -2
  137. package/dist/cdn/{5AUVFX5Q.js → GYNX7V5C.js} +2 -2
  138. package/dist/cdn/{CSLRGWKO.js → GZLX4P5F.js} +2 -2
  139. package/dist/cdn/{UR5CWPUZ.js → H2TAZTNE.js} +2 -2
  140. package/dist/cdn/{7PL2GTFV.js → H3X4N5IX.js} +2 -2
  141. package/dist/cdn/{57QXDQHH.js → HEH24IJT.js} +2 -2
  142. package/dist/cdn/{K3YTBSUK.js → HF7R5CTE.js} +2 -2
  143. package/dist/cdn/{HMQOH5HM.js → HGAGWRQ4.js} +2 -2
  144. package/dist/cdn/{BT7BQXH2.js → HJFGEXIZ.js} +2 -2
  145. package/dist/cdn/{AQDXWCMS.js → HJRRSSPH.js} +2 -2
  146. package/dist/cdn/{HMJSAVOC.js → HP6RR2SY.js} +1 -1
  147. package/dist/cdn/{BPVMB5BY.js → HWP7CLMY.js} +2 -2
  148. package/dist/cdn/{3AQ7GNW6.js → ICC3P2FD.js} +2 -2
  149. package/dist/cdn/{MSNZ6FAM.js → IDPK3QZM.js} +1 -1
  150. package/dist/cdn/{IFXP7AST.js → IKORUHKP.js} +2 -2
  151. package/dist/cdn/{SJ2BP2KP.js → ITBR6HQ3.js} +2 -2
  152. package/dist/cdn/{T7WC6EEB.js → IV65QJWE.js} +2 -2
  153. package/dist/cdn/{5VUTB2DI.js → IWLL5GHD.js} +2 -2
  154. package/dist/cdn/{2P53WRL3.js → J2SJSDDF.js} +2 -2
  155. package/dist/cdn/{WQ3J3CKP.js → J6FPXYEL.js} +2 -2
  156. package/dist/cdn/{2YK3DN2N.js → JC34YLPX.js} +2 -2
  157. package/dist/cdn/{5HMQFNST.js → JN2NNLHR.js} +2 -2
  158. package/dist/cdn/{AKAEMS6J.js → JQSCHAZR.js} +1 -1
  159. package/dist/cdn/{A5DHZQ2K.js → JQZQUZQP.js} +2 -2
  160. package/dist/cdn/{AB7BIIHQ.js → JWC36KO2.js} +2 -2
  161. package/dist/cdn/{4N6XXVUB.js → K5RX67UV.js} +2 -2
  162. package/dist/cdn/{QHCU3JRN.js → K5UCX5NY.js} +3 -3
  163. package/dist/cdn/{YGC4V7RU.js → KHFDEKUJ.js} +2 -2
  164. package/dist/cdn/{HMW5STYW.js → KHFHU5U2.js} +2 -2
  165. package/dist/cdn/{DO33KU4H.js → KI55YTXG.js} +2 -2
  166. package/dist/cdn/{BLPGQHCS.js → KKWXXKFN.js} +2 -2
  167. package/dist/cdn/{NPGP7AI4.js → KMB2E3XS.js} +2 -2
  168. package/dist/cdn/{AONBV6ZE.js → KP7WVTJ7.js} +2 -2
  169. package/dist/cdn/{KVILZ5LH.js → KS53IDVH.js} +2 -2
  170. package/dist/cdn/{XFBGD3W7.js → KUT65GQD.js} +2 -2
  171. package/dist/cdn/{7EJOBL6M.js → KWPVVPDP.js} +1 -1
  172. package/dist/cdn/{2KPQG4MK.js → L3S6GJAH.js} +2 -2
  173. package/dist/cdn/{R6TSC4SW.js → L4DZD5VB.js} +2 -2
  174. package/dist/cdn/{FBSFFK3U.js → L5LYBT3D.js} +2 -2
  175. package/dist/cdn/{Q6TGLBB2.js → L5RBM3ON.js} +2 -2
  176. package/dist/cdn/{UGSRDH2A.js → L66RXFIV.js} +2 -2
  177. package/dist/cdn/{5J4ZNVOW.js → LFVYOFZA.js} +1 -1
  178. package/dist/cdn/{DEFSI2D4.js → LNJIABZ2.js} +2 -2
  179. package/dist/cdn/LNX7XY5S.js +4 -0
  180. package/dist/cdn/{6ZLM7NKB.js → LOJ6INCA.js} +2 -2
  181. package/dist/cdn/{6P7UK63U.js → LPI5HC6D.js} +2 -2
  182. package/dist/cdn/{QWQQND4L.js → LSVV4OG4.js} +1 -1
  183. package/dist/cdn/{LLFU7WU5.js → LVERZB7I.js} +2 -2
  184. package/dist/cdn/{4MTHN6BF.js → M7DXJVZS.js} +2 -2
  185. package/dist/cdn/{QNDWNLA7.js → MA3UPCW4.js} +2 -2
  186. package/dist/cdn/{JSJSDCWO.js → MB74VDIZ.js} +2 -2
  187. package/dist/cdn/{MDP2H7U5.js → MC5A5W2D.js} +2 -2
  188. package/dist/cdn/{YZHW3QHI.js → MDZGRNJQ.js} +2 -2
  189. package/dist/cdn/{XDZU2O77.js → MHUSQFN5.js} +2 -2
  190. package/dist/cdn/{ZO4YAUJC.js → MTFFWUUD.js} +2 -2
  191. package/dist/cdn/{U5264HEO.js → MXG3A4E6.js} +2 -2
  192. package/dist/cdn/{TNBFSINB.js → NDEMCDGH.js} +2 -2
  193. package/dist/cdn/{LYETIEPC.js → NERYFVXS.js} +2 -2
  194. package/dist/cdn/{J3EJMIAJ.js → NFHIR7KA.js} +2 -2
  195. package/dist/cdn/{V3OWCEBV.js → NJW6RVZC.js} +2 -2
  196. package/dist/cdn/{HDEAMURX.js → NMAETJ5N.js} +1 -1
  197. package/dist/cdn/{OUFYZ74E.js → NOBRXJDB.js} +1 -1
  198. package/dist/cdn/{QW6JOSBQ.js → NOXHUX2L.js} +2 -2
  199. package/dist/cdn/{GGPG4RVY.js → NT3G4LIW.js} +1 -1
  200. package/dist/cdn/{4NBF6YYX.js → NT6EZYYI.js} +2 -2
  201. package/dist/cdn/{OPDYFAD7.js → NUF7HMTT.js} +2 -2
  202. package/dist/cdn/{R5WFDSDR.js → NWE3QKJH.js} +1 -1
  203. package/dist/cdn/{WGZZW32V.js → NY52COWY.js} +2 -2
  204. package/dist/cdn/{O7O34WPF.js → NZSZP575.js} +2 -2
  205. package/dist/cdn/{5I5QND7W.js → O4FFXYMK.js} +2 -2
  206. package/dist/cdn/{FSE3DRKG.js → O6I4UUI3.js} +2 -2
  207. package/dist/cdn/{LKSNL3SX.js → OAZLLW6I.js} +2 -2
  208. package/dist/cdn/{FNN76R5R.js → OB5TUWOI.js} +1 -1
  209. package/dist/cdn/{WJIW2D7Z.js → OO5JNL4R.js} +2 -2
  210. package/dist/cdn/{UPSOCDZW.js → OO6ONFLQ.js} +2 -2
  211. package/dist/cdn/{CJSVBOF7.js → OVJFLLHR.js} +2 -2
  212. package/dist/cdn/{LMLKYWYR.js → P2O466PZ.js} +2 -2
  213. package/dist/cdn/{3YL6ZQRW.js → P742NU4V.js} +2 -2
  214. package/dist/cdn/{OUAPSZPB.js → P7PRYHKY.js} +2 -2
  215. package/dist/cdn/{W5PIXYHL.js → P7S57BHK.js} +2 -2
  216. package/dist/cdn/{46ZSK3KI.js → PADW5RX6.js} +2 -2
  217. package/dist/cdn/{FC3667Y6.js → PC43ZAIX.js} +1 -1
  218. package/dist/cdn/{U5OUDW3H.js → PJN6KGLI.js} +2 -2
  219. package/dist/cdn/{G7M7ZKUR.js → PN3EPMDA.js} +2 -2
  220. package/dist/cdn/{ROBSGBFD.js → PSTEVQXG.js} +1 -1
  221. package/dist/cdn/{VRJM22FG.js → PXBOGTGI.js} +1 -1
  222. package/dist/cdn/{X5TNUDEG.js → PY22SVTP.js} +2 -2
  223. package/dist/cdn/{WW4KPCUM.js → PYPT2QL5.js} +2 -2
  224. package/dist/cdn/{WWGKPU37.js → PZBJWRG3.js} +2 -2
  225. package/dist/cdn/{UQY3SGBU.js → Q2Q5IZVB.js} +2 -2
  226. package/dist/cdn/{33XS6CCD.js → Q2V3TXW6.js} +2 -2
  227. package/dist/cdn/{IIBAAUKD.js → Q6F57HEK.js} +2 -2
  228. package/dist/cdn/{2XFZF242.js → Q7KRMV3W.js} +2 -2
  229. package/dist/cdn/{STYEG7HJ.js → Q7YMHU5C.js} +2 -2
  230. package/dist/cdn/{IO7TSP7M.js → QBAWBHIR.js} +2 -2
  231. package/dist/cdn/{DHVAHNQF.js → QCGR5MCO.js} +2 -2
  232. package/dist/cdn/{BVJPMR2W.js → QCOM6IVG.js} +2 -2
  233. package/dist/cdn/{CJR3TUO3.js → QDXXEUQV.js} +2 -2
  234. package/dist/cdn/{2YWVGKM4.js → QHICY576.js} +2 -2
  235. package/dist/cdn/{KMWRJBXJ.js → QK3YLYYI.js} +2 -2
  236. package/dist/cdn/{L25BQYBS.js → QKHAQOSP.js} +1 -1
  237. package/dist/cdn/{2Q7C43LH.js → QN3GHUSS.js} +2 -2
  238. package/dist/cdn/{4YZV6MYT.js → QUMD3PK2.js} +2 -2
  239. package/dist/cdn/{H2WJKM46.js → QXA5CKVM.js} +2 -2
  240. package/dist/cdn/{X3RQKWFQ.js → QZITCLQQ.js} +2 -2
  241. package/dist/cdn/{KPA2GX6V.js → R3JJ26DQ.js} +2 -2
  242. package/dist/cdn/{4A6OTIHY.js → R53L5MYI.js} +2 -2
  243. package/dist/cdn/{JJXCNC6C.js → RAUGHMW6.js} +2 -2
  244. package/dist/cdn/{AFTONAQ2.js → RDXSR6FF.js} +2 -2
  245. package/dist/cdn/{5ASSW3X3.js → REYTX4AL.js} +2 -2
  246. package/dist/cdn/{UJRMM3TD.js → RHEQUTYK.js} +2 -2
  247. package/dist/cdn/{OJBR3DU3.js → RHRZNWAS.js} +4 -4
  248. package/dist/cdn/{GJP43Z44.js → RHUTXTJE.js} +2 -2
  249. package/dist/cdn/{SKNBIQFA.js → RMQIKQ2V.js} +2 -2
  250. package/dist/cdn/{EYVSGGFD.js → RNMCKTNZ.js} +2 -2
  251. package/dist/cdn/{LRBEEXPC.js → RNTAHPNN.js} +2 -2
  252. package/dist/cdn/{25F6ORNX.js → RQ4MZ4HJ.js} +2 -2
  253. package/dist/cdn/{SB5HRNGU.js → RUSXO56Z.js} +2 -2
  254. package/dist/cdn/{PSWRSATV.js → S7FVOL2R.js} +2 -2
  255. package/dist/cdn/{S56W6PPT.js → SCSC44JI.js} +2 -2
  256. package/dist/cdn/{2LCQAFSS.js → SFMMAAFM.js} +1 -1
  257. package/dist/cdn/{FBIGXQUA.js → SLGJ2VMY.js} +2 -2
  258. package/dist/cdn/{GBLUWESL.js → SLSGG354.js} +2 -2
  259. package/dist/cdn/{7KOTU5ML.js → SRTKICXW.js} +2 -2
  260. package/dist/cdn/{DDQDLXTA.js → SYHVA2FD.js} +2 -2
  261. package/dist/cdn/SZ2PZTKW.js +18 -0
  262. package/dist/cdn/{FACBQ3CO.js → SZFQN6NQ.js} +2 -2
  263. package/dist/cdn/{3NC6K7MW.js → T37Z5U7T.js} +2 -2
  264. package/dist/cdn/{HMMDD7CR.js → T5NO37II.js} +2 -2
  265. package/dist/cdn/{3EGLZ7ME.js → T7G34AIO.js} +2 -2
  266. package/dist/cdn/{VJ4KLE24.js → TASGZYV2.js} +2 -2
  267. package/dist/cdn/{KHAEJZPQ.js → TCF2CPQG.js} +2 -2
  268. package/dist/cdn/{L2FHNBDG.js → TF4NRZSX.js} +2 -2
  269. package/dist/cdn/{D6CGXYCO.js → TH34TQ75.js} +2 -2
  270. package/dist/cdn/{IHGM3BFU.js → TJQFRHCE.js} +2 -2
  271. package/dist/cdn/{XPCXO4AL.js → TKF6GZLE.js} +2 -2
  272. package/dist/cdn/{4JCBKNC7.js → TKUEGCIC.js} +2 -2
  273. package/dist/cdn/{5IZN54A6.js → TPD4WBA3.js} +1 -1
  274. package/dist/cdn/{23MI2KRW.js → TR6OP25V.js} +2 -2
  275. package/dist/cdn/{3Y54W3MS.js → TT5YASAK.js} +2 -2
  276. package/dist/cdn/{WCUVE5ZX.js → TUHFV5HM.js} +2 -2
  277. package/dist/cdn/{6KFTX2RO.js → TXXK5TBK.js} +2 -2
  278. package/dist/cdn/{XME7VMM2.js → UADYRNXU.js} +2 -2
  279. package/dist/cdn/UAMNIHW4.js +18 -0
  280. package/dist/cdn/{RNU6NMH5.js → UCKXQLON.js} +2 -2
  281. package/dist/cdn/{OUYRTCPB.js → UCLHCIHU.js} +2 -2
  282. package/dist/cdn/{AKBZSDQS.js → UE7VWQ2G.js} +2 -2
  283. package/dist/cdn/{APHMYZG6.js → UJMDV42X.js} +2 -2
  284. package/dist/cdn/{RSM2TX5F.js → UOXEMS4H.js} +1 -1
  285. package/dist/cdn/{JUUC3APR.js → UPDI45YH.js} +2 -2
  286. package/dist/cdn/{7UCZZ4QP.js → UQZMZMM4.js} +2 -2
  287. package/dist/cdn/{CPUMQI3V.js → UVVN7WK7.js} +1 -1
  288. package/dist/cdn/{NNO4JY7G.js → V7FAJRLT.js} +2 -2
  289. package/dist/cdn/{ASW4QZYZ.js → VFI2MNXA.js} +2 -2
  290. package/dist/cdn/{GA66LQ5B.js → VGLB6XFR.js} +2 -2
  291. package/dist/cdn/{DGYY5UPJ.js → VGLCKJJY.js} +2 -2
  292. package/dist/cdn/{PDGV5CS6.js → VHT72CI4.js} +2 -2
  293. package/dist/cdn/{7SH6KXAJ.js → VIKFINXW.js} +1 -1
  294. package/dist/cdn/{5LDNQQNR.js → VJPKSW5X.js} +2 -2
  295. package/dist/cdn/{Y6DHGJ6U.js → VKDJVR72.js} +2 -2
  296. package/dist/cdn/{MTLZ3756.js → VNIGN7TM.js} +2 -2
  297. package/dist/cdn/{AMADRUBA.js → VPBGTTMZ.js} +2 -2
  298. package/dist/cdn/{PDEJGGM6.js → VQI75NZP.js} +2 -2
  299. package/dist/cdn/{TY2DDBSI.js → VXLWU66F.js} +2 -2
  300. package/dist/cdn/{6CGYVQRZ.js → WCNOGP7X.js} +1 -1
  301. package/dist/cdn/{XPNUQPK6.js → WE6YVELL.js} +2 -2
  302. package/dist/cdn/{7QDN4I77.js → WNPEMXV7.js} +2 -2
  303. package/dist/cdn/{IFZGJXRH.js → WPO6GPNE.js} +2 -2
  304. package/dist/cdn/{SPDUDQGT.js → WQEYOZHR.js} +2 -2
  305. package/dist/cdn/WTAF77NW.js +4 -0
  306. package/dist/cdn/{TUPO6RO3.js → WUUVUBOF.js} +2 -2
  307. package/dist/cdn/{APDXA3UL.js → WXT56R3B.js} +2 -2
  308. package/dist/cdn/{JTYXIV2M.js → X7WMZMKI.js} +2 -2
  309. package/dist/cdn/{7HOBSAJT.js → XBPFNFQI.js} +2 -2
  310. package/dist/cdn/{QAYWLKDY.js → XD4BUI3Y.js} +2 -2
  311. package/dist/cdn/{PHC4UW6H.js → XEOIQ5KF.js} +2 -2
  312. package/dist/cdn/{2SG24VII.js → XF2KTDHY.js} +2 -2
  313. package/dist/cdn/{FS7K7ZLZ.js → XHCYJR4Z.js} +2 -2
  314. package/dist/cdn/{PJZQETQP.js → XIHOLMF4.js} +2 -2
  315. package/dist/cdn/{BZ7AO5QO.js → XKM6B4JJ.js} +1 -1
  316. package/dist/cdn/{4ZJTUJWW.js → XMGSNRK3.js} +2 -2
  317. package/dist/cdn/XMJGY6OZ.js +4 -0
  318. package/dist/cdn/{H4LF5WHR.js → XQI3GK3Q.js} +2 -2
  319. package/dist/cdn/{3BFC7VLO.js → XS5M4ZDG.js} +2 -2
  320. package/dist/cdn/{WPGWWAEU.js → XWNF4SVY.js} +2 -2
  321. package/dist/cdn/{ZGVYAP6A.js → XWRJ4CQY.js} +2 -2
  322. package/dist/cdn/{7XUML3BK.js → Y2OKTQTE.js} +2 -2
  323. package/dist/cdn/{PBBIDYVA.js → YABFQ5Y2.js} +2 -2
  324. package/dist/cdn/{IIOTM2BV.js → YBRWX7GN.js} +2 -2
  325. package/dist/cdn/YCNFR4ME.js +4 -0
  326. package/dist/cdn/{DUSKA3DA.js → YGXWWQEN.js} +1 -1
  327. package/dist/cdn/{KIVSPTFX.js → YHAN7J3P.js} +2 -2
  328. package/dist/cdn/{YLIJYCSJ.js → YHHLUENM.js} +2 -2
  329. package/dist/cdn/{HJH65VUL.js → YID42NNS.js} +2 -2
  330. package/dist/cdn/{USCMVULI.js → YJE4BDKR.js} +2 -2
  331. package/dist/cdn/{WBLR4A3Q.js → YNQS2GBR.js} +2 -2
  332. package/dist/cdn/{P6LNDBI5.js → YNZWXLQK.js} +2 -2
  333. package/dist/cdn/{IJRRF2JN.js → YTOEMEXN.js} +2 -2
  334. package/dist/cdn/{IH5PEZ6R.js → YWKPN7XL.js} +2 -2
  335. package/dist/cdn/{PK4P4HV7.js → YXTPBGIY.js} +2 -2
  336. package/dist/cdn/{SDFJI25E.js → ZC5AS552.js} +2 -2
  337. package/dist/cdn/{4N5P3F5C.js → ZEKDMTPA.js} +2 -2
  338. package/dist/cdn/{EX2WAU5C.js → ZESFWE6Y.js} +2 -2
  339. package/dist/cdn/{DC237S4E.js → ZRLWCOA5.js} +2 -2
  340. package/dist/cdn/{UU4ZPLIR.js → ZTGPDUDM.js} +2 -2
  341. package/dist/cdn/{B54UR7GV.js → ZXRJYTBG.js} +2 -2
  342. package/dist/cdn/assets/solution-configure-titles/t9n/messages.en.json +1 -1
  343. package/dist/cdn/assets/solution-configure-titles/t9n/messages.json +1 -1
  344. package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.json +1 -1
  346. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
  348. package/dist/cdn/index.js +2 -2
  349. package/dist/chunks/Auth.js +1 -1
  350. package/dist/chunks/CardsFetcher.js +1 -1
  351. package/dist/chunks/appConfig.js +1 -1
  352. package/dist/chunks/cardFetchingUtils.js +1 -1
  353. package/dist/chunks/cardsHelpers.js +2 -2
  354. package/dist/chunks/common.js +1 -1
  355. package/dist/chunks/deployAppContexts.js +1 -1
  356. package/dist/chunks/downloadUtils.js +1 -1
  357. package/dist/chunks/getItemIcon.js +1 -1
  358. package/dist/chunks/helpers.js +1 -1
  359. package/dist/chunks/index.js +1 -1
  360. package/dist/chunks/interfaces.js +1 -1
  361. package/dist/chunks/loadModules.js +1 -1
  362. package/dist/chunks/mapViewUtils.js +1 -1
  363. package/dist/chunks/pciUtils.js +1 -1
  364. package/dist/chunks/popupUtils.js +1 -1
  365. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  366. package/dist/chunks/privilegeUtils.js +1 -1
  367. package/dist/chunks/publicNotificationStore.js +1 -1
  368. package/dist/chunks/queryUtils.js +1 -1
  369. package/dist/chunks/runtime.js +1 -1
  370. package/dist/chunks/solution-store.js +1 -1
  371. package/dist/chunks/templates.js +1 -1
  372. package/dist/chunks/useT9n.js +1 -1
  373. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  374. package/dist/components/basemap-gallery/customElement.js +1 -1
  375. package/dist/components/buffer-tools/customElement.js +1 -1
  376. package/dist/components/card-manager/customElement.js +1 -1
  377. package/dist/components/consent-manager/customElement.js +1 -1
  378. package/dist/components/create-feature/customElement.js +1 -1
  379. package/dist/components/create-related-feature/customElement.js +1 -1
  380. package/dist/components/crowdsource-manager/customElement.js +1 -1
  381. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  382. package/dist/components/deduct-calculator/customElement.js +1 -1
  383. package/dist/components/delete-button/customElement.js +1 -1
  384. package/dist/components/delete-dialog/customElement.js +1 -1
  385. package/dist/components/edit-card/customElement.js +1 -1
  386. package/dist/components/feature-details/customElement.js +1 -1
  387. package/dist/components/feature-list/customElement.js +1 -1
  388. package/dist/components/field-selection/customElement.js +1 -1
  389. package/dist/components/floor-filter/customElement.js +1 -1
  390. package/dist/components/info-card/customElement.js +1 -1
  391. package/dist/components/json-editor/customElement.js +1 -1
  392. package/dist/components/layer-list/customElement.js +1 -1
  393. package/dist/components/layer-table/customElement.js +1 -1
  394. package/dist/components/map-card/customElement.js +1 -1
  395. package/dist/components/map-draw-tools/customElement.js +1 -1
  396. package/dist/components/map-fullscreen/customElement.js +1 -1
  397. package/dist/components/map-layer-picker/customElement.js +1 -1
  398. package/dist/components/map-legend/customElement.js +1 -1
  399. package/dist/components/map-picker/customElement.js +1 -1
  400. package/dist/components/map-search/customElement.js +1 -1
  401. package/dist/components/map-select-tools/customElement.js +1 -1
  402. package/dist/components/map-tools/customElement.js +1 -1
  403. package/dist/components/pci-calculator/customElement.js +1 -1
  404. package/dist/components/pdf-download/customElement.js +1 -1
  405. package/dist/components/public-notification/customElement.js +1 -1
  406. package/dist/components/refine-selection/customElement.js +1 -1
  407. package/dist/components/selection-tool/customElement.js +1 -1
  408. package/dist/components/solution-article-card/customElement.js +1 -1
  409. package/dist/components/solution-configuration/customElement.js +1 -1
  410. package/dist/components/solution-configure-dialog/customElement.js +3 -3
  411. package/dist/components/solution-configure-titles/customElement.js +20 -21
  412. package/dist/components/solution-contents/customElement.js +1 -1
  413. package/dist/components/solution-delete-dialog/customElement.js +2 -2
  414. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  415. package/dist/components/solution-deployed-card/customElement.js +1 -1
  416. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  417. package/dist/components/solution-details-card/customElement.js +1 -1
  418. package/dist/components/solution-details-panel/customElement.js +81 -85
  419. package/dist/components/solution-details-panel/index.d.ts +2 -3
  420. package/dist/components/solution-details-panel/index.js +2 -3
  421. package/dist/components/solution-item/customElement.js +1 -1
  422. package/dist/components/solution-item-accordion/customElement.js +1 -1
  423. package/dist/components/solution-item-details/customElement.js +1 -1
  424. package/dist/components/solution-item-diagram/customElement.js +1 -1
  425. package/dist/components/solution-item-icon/customElement.js +1 -1
  426. package/dist/components/solution-item-sharing/customElement.js +1 -1
  427. package/dist/components/solution-organization-variables/customElement.js +1 -1
  428. package/dist/components/solution-resource-item/customElement.js +1 -1
  429. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  430. package/dist/components/solution-social-share/customElement.js +1 -1
  431. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  432. package/dist/components/solution-template-data/customElement.js +1 -1
  433. package/dist/components/solution-variables/customElement.js +1 -1
  434. package/dist/components/solutions-all-panel/customElement.js +1 -1
  435. package/dist/components/solutions-all-shell/customElement.js +1 -1
  436. package/dist/components/solutions-article-panel/customElement.js +1 -1
  437. package/dist/components/solutions-articles/customElement.js +1 -1
  438. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  439. package/dist/components/solutions-deploy-app/customElement.js +11 -11
  440. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  441. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  442. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  443. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  444. package/dist/components/spatial-ref/customElement.js +1 -1
  445. package/dist/components/store-manager/customElement.js +1 -1
  446. package/dist/docs/api.json +1 -1
  447. package/dist/docs/docs.json +1 -1
  448. package/dist/docs/web-types.json +1 -1
  449. package/dist/index.js +1 -1
  450. package/dist/loader.js +1 -1
  451. package/dist/utils/cardsHelpers.d.ts +2 -2
  452. package/dist/utils/interfaces.d.ts +1 -1
  453. package/package.json +1 -1
  454. package/dist/cdn/226ZS2P7.js +0 -4
  455. package/dist/cdn/3M4FI2LB.js +0 -4
  456. package/dist/cdn/5446CL4L.js +0 -4
  457. package/dist/cdn/7BSFKM66.js +0 -18
  458. package/dist/cdn/GTKGZ2JB.js +0 -4
  459. package/dist/cdn/GTUQY7OD.js +0 -4
  460. package/dist/cdn/N7LYP5EG.js +0 -18
  461. package/dist/cdn/S3F7AMLQ.js +0 -18
  462. package/dist/cdn/T6SHVITD.js +0 -4
  463. package/dist/cdn/VA3MGW4R.js +0 -4
  464. package/dist/cdn/X6F4EULM.js +0 -4
@@ -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.20250908 */
4
- import{a as s}from"./SPDUDQGT.js";import"./3TLPMHF3.js";import"./NRNFX3Q4.js";import"./JF5W5A65.js";import"./GGPG4RVY.js";import{a as r,b as a}from"./KHAEJZPQ.js";import"./XPCXO4AL.js";import"./X5TNUDEG.js";import"./456Y4EGY.js";import{a as o}from"./R6KDCWWX.js";import{a as i}from"./LJMJ4DLL.js";import"./37BBANOV.js";import"./JPIRNN2N.js";import"./2LCQAFSS.js";import"./GDMEJW64.js";import"./5IZN54A6.js";import"./OPDYFAD7.js";import"./WHJW5ATS.js";import"./JTYXIV2M.js";import"./XIPFEKDP.js";import"./4ZJTUJWW.js";import"./RNU6NMH5.js";import"./VQLOYI55.js";import"./XPNUQPK6.js";import"./RKKDKWIA.js";import"./SOMRBE5O.js";import"./5HMQFNST.js";import"./IHGM3BFU.js";import"./7EJOBL6M.js";import"./5LDNQQNR.js";import"./BZ7AO5QO.js";import"./UGOHDWSP.js";import"./WYLFDTO7.js";import"./PJZQETQP.js";import"./RSM2TX5F.js";import"./S56W6PPT.js";import"./JJXCNC6C.js";import"./HC6CRLSF.js";import"./CPUMQI3V.js";import"./7YAHT6JK.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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.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.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",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)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
3
+ v1.1.0-next.20250908.1 */
4
+ import{a as s}from"./WQEYOZHR.js";import"./2CURQLUN.js";import"./EY4XQXD6.js";import"./CMN7NTBH.js";import"./NT3G4LIW.js";import{a as r,b as a}from"./TCF2CPQG.js";import"./TKF6GZLE.js";import"./PY22SVTP.js";import"./EKLOZ6NG.js";import{a as o}from"./6MZSFXNN.js";import{a as i}from"./3EOGFGFX.js";import"./CY4A2TGN.js";import"./4FNIWH4V.js";import"./SFMMAAFM.js";import"./GIW4CYRD.js";import"./TPD4WBA3.js";import"./NUF7HMTT.js";import"./4EMYCXJS.js";import"./X7WMZMKI.js";import"./GHLHD7UQ.js";import"./XMGSNRK3.js";import"./UCKXQLON.js";import"./FT6M6WZE.js";import"./WE6YVELL.js";import"./BMAUEA6C.js";import"./FRJVACUR.js";import"./JN2NNLHR.js";import"./TJQFRHCE.js";import"./KWPVVPDP.js";import"./VJPKSW5X.js";import"./XKM6B4JJ.js";import"./BINJPPVG.js";import"./5TOXBVUY.js";import"./XIHOLMF4.js";import"./UOXEMS4H.js";import"./SCSC44JI.js";import"./RAUGHMW6.js";import"./FZCBTUUG.js";import"./UVVN7WK7.js";import"./42N26LVQ.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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.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.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",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)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u 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.20250908 */
4
- import{a as t}from"./OPDYFAD7.js";import"./WHJW5ATS.js";import"./JTYXIV2M.js";import"./XIPFEKDP.js";import"./4ZJTUJWW.js";import"./RNU6NMH5.js";import"./VQLOYI55.js";import"./XPNUQPK6.js";import"./RKKDKWIA.js";import"./SOMRBE5O.js";import"./5HMQFNST.js";import"./IHGM3BFU.js";import"./7EJOBL6M.js";import"./5LDNQQNR.js";import"./BZ7AO5QO.js";import"./UGOHDWSP.js";import"./WYLFDTO7.js";import"./PJZQETQP.js";import"./RSM2TX5F.js";import"./S56W6PPT.js";import"./JJXCNC6C.js";import"./HC6CRLSF.js";import"./CPUMQI3V.js";import"./7YAHT6JK.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
3
+ v1.1.0-next.20250908.1 */
4
+ import{a as t}from"./NUF7HMTT.js";import"./4EMYCXJS.js";import"./X7WMZMKI.js";import"./GHLHD7UQ.js";import"./XMGSNRK3.js";import"./UCKXQLON.js";import"./FT6M6WZE.js";import"./WE6YVELL.js";import"./BMAUEA6C.js";import"./FRJVACUR.js";import"./JN2NNLHR.js";import"./TJQFRHCE.js";import"./KWPVVPDP.js";import"./VJPKSW5X.js";import"./XKM6B4JJ.js";import"./BINJPPVG.js";import"./5TOXBVUY.js";import"./XIHOLMF4.js";import"./UOXEMS4H.js";import"./SCSC44JI.js";import"./RAUGHMW6.js";import"./FZCBTUUG.js";import"./UVVN7WK7.js";import"./42N26LVQ.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o 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.20250908 */
4
- import c from"./O7O34WPF.js";import b from"./7GWMX64B.js";import{a}from"./2SG24VII.js";import"./7SH6KXAJ.js";import"./I5D4NJGN.js";import"./AB7BIIHQ.js";import"./OUFYZ74E.js";import"./YGC4V7RU.js";import"./WJIW2D7Z.js";import"./PBBIDYVA.js";import"./5J4ZNVOW.js";import"./VHHGIKYZ.js";import"./3TLPMHF3.js";import"./NRNFX3Q4.js";import"./JF5W5A65.js";import"./GGPG4RVY.js";import"./X5TNUDEG.js";import"./456Y4EGY.js";import"./37BBANOV.js";import"./JPIRNN2N.js";import"./2LCQAFSS.js";import"./GDMEJW64.js";import"./5IZN54A6.js";import"./XIPFEKDP.js";import{h as l,i as h}from"./XUWWPPHZ.js";import{a as m}from"./UQY3SGBU.js";import"./HMMDD7CR.js";import"./QNDWNLA7.js";import{b as u}from"./3NC6K7MW.js";import{E as p,h as d,i as r,o as n,r as f}from"./FNN76R5R.js";import"./7YAHT6JK.js";export default $arcgis.t(([,{a:b}])=>{var g=d`@layer{/** @license
3
+ v1.1.0-next.20250908.1 */
4
+ import c from"./NZSZP575.js";import b from"./DJ2EYXCY.js";import{a}from"./XF2KTDHY.js";import"./VIKFINXW.js";import"./BNDRE7ON.js";import"./JWC36KO2.js";import"./NOBRXJDB.js";import"./KHFDEKUJ.js";import"./OO5JNL4R.js";import"./YABFQ5Y2.js";import"./LFVYOFZA.js";import"./7EQMP3HF.js";import"./2CURQLUN.js";import"./EY4XQXD6.js";import"./CMN7NTBH.js";import"./NT3G4LIW.js";import"./PY22SVTP.js";import"./EKLOZ6NG.js";import"./CY4A2TGN.js";import"./4FNIWH4V.js";import"./SFMMAAFM.js";import"./GIW4CYRD.js";import"./TPD4WBA3.js";import"./GHLHD7UQ.js";import{h as l,i as h}from"./DSIABNCJ.js";import{a as m}from"./Q2Q5IZVB.js";import"./T5NO37II.js";import"./MA3UPCW4.js";import{b as u}from"./T37Z5U7T.js";import{E as p,h as d,i as r,o as n,r as f}from"./OB5TUWOI.js";import"./42N26LVQ.js";export default $arcgis.t(([,{a:b}])=>{var g=d`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,18 @@
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.20250908.1 */
4
+ import e from"./HGAGWRQ4.js";import{f as A}from"./GUAWCUPN.js";import{b as k}from"./54IKT64F.js";import a from"./DJ2EYXCY.js";import{a as d,c as U,d as w,e as I,f as P}from"./JQZQUZQP.js";import{yb as C}from"./BNDRE7ON.js";import"./JWC36KO2.js";import"./NOBRXJDB.js";import"./KHFDEKUJ.js";import"./OO5JNL4R.js";import"./YABFQ5Y2.js";import"./LFVYOFZA.js";import"./7EQMP3HF.js";import"./2CURQLUN.js";import"./EY4XQXD6.js";import"./CMN7NTBH.js";import"./NT3G4LIW.js";import"./PY22SVTP.js";import"./EKLOZ6NG.js";import"./CY4A2TGN.js";import{g as c}from"./4FNIWH4V.js";import"./SFMMAAFM.js";import"./GIW4CYRD.js";import"./TPD4WBA3.js";import"./GHLHD7UQ.js";import{p as T,q as v}from"./DSIABNCJ.js";import{a as f}from"./Q2Q5IZVB.js";import"./T5NO37II.js";import"./MA3UPCW4.js";import{b as S}from"./T37Z5U7T.js";import{C as r,D as l,E as y,G as b,h as m,i as u,o as p}from"./OB5TUWOI.js";import"./42N26LVQ.js";export default $arcgis.t(([o,L,O,,R])=>{var _=class{constructor(t,e,i){this._credential=null,this._isEnterprise=!1,this._locale="en",this._portalSubset=null,this._portalUserSubset=null,this._clientId=t??"",this._locale=i??"en",this._portalUrl=e??"https://www.arcgis.com",this._portalRestUrl=this._portalUrl+"/sharing/rest",this._credential=o.findCredential(this._portalRestUrl),this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:this._portalUrl}get Credential(){return this._credential}get IsEnterprisePortal(){return this._isEnterprise}get IsSignedIn(){return!!this._credential}get Portal(){return this._portal}get PortalSubset(){return this._portalSubset}get PortalUrl(){return this._portalUrl}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserSubset(){return this._portalUserSubset}get PortalUserPrivileges(){let t=[];return this._portalUserSubset?.privileges&&(t=this._portalUserSubset.privileges),t}get RestUserSession(){let t=o.findServerInfo(this._portalRestUrl);return this._credential?c.fromCredential(this._credential,t):new c({})}async initialize(){try{await this._init()}catch{this.destroy()}return this}destroy(){this._credential=null,this._portalSubset=null,this._portalUserSubset=null,o.destroyCredentials()}async signIn(t=""){o.setOAuthRedirectionHandler(e=>{let i=e.authorizeParams.redirect_uri;if(t.length>0){let s=i.split("?"),a=s[0],h="";if(s[1]){let n=new URLSearchParams(s[1]);n.append("signInParam",t),h="?"+n.toString()}e.authorizeParams.redirect_uri=a+h}window.location.href=e.authorizeUrl+"?"+this._objectToQuery(e.authorizeParams)}),await o.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(e=>{e&&window.location.reload()})}signOut(){this.destroy(),window.location.reload()}refreshSession(){let t=this.RestUserSession;return!t||!this.IsSignedIn?null:t.exchangeRefreshToken()}_getOrgUrl(t,e,i){return e&&i?window.location.protocol+"//"+e.toLowerCase()+"."+i:t}async _init(){let t=new L({appId:this._clientId,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});o.registerOAuthInfos([t]);try{let e=await o.checkAppAccess(this._portalUrl,this._clientId);(typeof e.valid<"u"&&!e.valid||e.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`),this._credential=e.credential}catch(e){if(e.name==="identity-manager:not-authenticated")return this;this.destroy(),window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}return this._portal=new O({url:this._portalUrl}),this._portal.authMode="immediate",await this._portal.load(),this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl??"",portalUrl:this._portal.url??"",urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??""},this._isEnterprise&&this._portalSubset&&(this._portalSubset.workflowURL=await C(this._portal.restUrl,this.RestUserSession||new c({}))),this._portal?.user?.roleId&&this._portalUserSubset&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}_isSerializable(t){return t&&typeof t=="object"&&"toJSON"in t&&typeof t.toJSON=="function"}_objectToQuery(t,e){return t?e&&typeof e=="function"?Object.keys(t).map(i=>encodeURIComponent(i)+"="+encodeURIComponent(e(i,t[i]))).join("&"):Object.keys(t).map(i=>{let s=t[i];if(s==null)return"";let a=encodeURIComponent(i)+"=",h=e&&e[i];return h?a+encodeURIComponent(h(s)):Array.isArray(s)?s.map(n=>this._isSerializable(n)?a+encodeURIComponent(JSON.stringify(n)):a+encodeURIComponent(n)).join("&"):this._isSerializable(s)?a+encodeURIComponent(JSON.stringify(s)):a+encodeURIComponent(s)}).filter(i=>i).join("&"):""}};var E=m`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */.back-color-override{background-color:var(--calcite-color-foreground-2);--calcite-tab-border-color: var(--calcite-color-foreground-3)}.back-color-override-details{background-color:var(--calcite-color-foreground-1)}.display-none{display:none}.shell-container{width:1440px;display:block;max-width:96vw;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tabs{--calcite-color-focus: transparent;height:100%}`,g=class extends y{constructor(){super(),this.locale="",this.orgUrl="",this.portalUrl="",this.primarySolutionsGroupId="",this.sortType="relevance",this.useLocalAppConfig=!1,this._isLoaded=!1,this.isMobile=!1,this._translations=f({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${T} OR ${v}`,this._allCards=[],this._allTab=r(),this._allTabTitle=r(),this._articlesTab=r(),this._articlesTabTitle=r(),this._authContextProvider=d({context:I}),this.authentication=void 0,this._categories=[],this._delay=!1,this._detailsTab=r(),this._detailsTabTitle=r(),this._getSuggested=!1,this._isMobileContextProvider=d({context:w}),this._localDebugContextProvider=d({context:P}),this._mySolutionsTab=r(),this._mySolutionsTabTitle=r(),this._sortField="relevance",this._sortOrder="desc",this._userSessionContextProvider=d({context:U}),this.deployAppTabSelected=p(),this.detailsCardSelected=p(),this.tokenRefreshed=p(),this.listenOn(window,"solutionsAllLoaded",this._solutionsAllLoaded),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployProgressEnd",this._deployProgressEnd),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={appConfig:1,locale:1,orgUrl:1,portalUrl:1,primarySolutionsGroupId:1,sortType:1,useLocalAppConfig:5,_isLoaded:16,isMobile:16,_translations:16}}static{this.styles=E}selectTab(t){switch(this._blurTabs(),t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0;break;case"articles":this._articlesTab.value.selected=!0,this._articlesTabTitle.value.selected=!0;break;case"details":if(this._allCards){let e=A(this._allCards,t.tabTitleOrId);e?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(e)):(this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,this._setActiveTab("all-solutions"))}break;case"my-solutions":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0;break}this._blurTabs()}async connectedCallback(){super.connectedCallback();let t=new c({username:"",password:""});this._userSessionContextProvider.setValue(t),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){this.useLocalAppConfig?(this.appConfig=k,this.primarySolutionsGroupId=this.appConfig.primarySolutionsGroupId,this.orgUrl=this.appConfig.orgUrl,this.locale=this.appConfig.locale,this.portalUrl=this.appConfig.portalURL,this._localDebugContextProvider.setValue(!0)):(this.primarySolutionsGroupId=this.appConfig.primarySolutionsGroupId,this._localDebugContextProvider.setValue(!1)),this._cardsFetcher=new R(this.locale,this.orgUrl,this.portalUrl),this.authentication||(this.appConfig.authentication?this.authentication=this.appConfig.authentication:(this.authentication=new _(this.appConfig.appId,this.appConfig.portalURL,this.appConfig.locale),await this.authentication.initialize(),this.authentication.IsSignedIn||this.authentication.signIn())),this._authContextProvider.setValue(this.authentication),this.authentication.RestUserSession&&this._userSessionContextProvider.setValue(this.authentication.RestUserSession),await this._getSolutions()}loaded(){this._handleTabs()}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return u`<calcite-loader class=${b(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader><calcite-tabs class=${b(e)} scale=l><calcite-tab-nav class="shell-container" slot=title-group><calcite-tab-title @calciteTabsActivate=${()=>this._setActiveTab("all-solutions")} ${l(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title>${this.authentication?.IsSignedIn?u`<calcite-tab-title @calciteTabsActivate=${()=>this._setActiveTab("my-solutions")} ${l(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title>`:""}<calcite-tab-title class="display-none" @calciteTabsActivate=${()=>this._setActiveTab("details")} ${l(this._detailsTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override" selected ${l(this._allTab)}><solutions-all-shell .appConfig=${this.appConfig} class="shell-container height-100"></solutions-all-shell></calcite-tab>${this.authentication?.IsSignedIn?u`<calcite-tab class="back-color-override" ${l(this._mySolutionsTab)}><solutions-deployed-shell .appConfig=${this.appConfig} class="shell-container height-100"></solutions-deployed-shell></calcite-tab>`:""}<calcite-tab class="back-color-override-details" ${l(this._detailsTab)}><solution-details-panel class="shell-container height-100"></solution-details-panel></calcite-tab></calcite-tabs>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}_mediaQueryChange(t){this.isMobile=t.matches,this._isMobileContextProvider.setValue(this.isMobile)}_handleTabs(){document.body.addEventListener("keydown",function(t){t.key=="Tab"||t.key=="Shift "||t.key=="Enter"?document.querySelector("calcite-tabs")?.style.setProperty("--calcite-color-focus","var(--calcite-color-brand)"):document.querySelector("calcite-tabs")?.style.setProperty("--calcite-color-focus","transparent")}),document.body.addEventListener("click",function(){document.querySelector("calcite-tabs")?.style.setProperty("--calcite-color-focus","transparent")})}_setActiveTab(t){this.deployAppTabSelected.emit(t)}_solutionsAllLoaded(){this._isLoaded=!0}_detailsCardSelected(){this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0}_deployProgressEnd(){this._mySolutionsTabTitle.value.selected=!0,this._mySolutionsTab.value.selected=!0}async _getSolutions(){let t=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this.primarySolutionsGroupId,"",this._userSessionContextProvider.value,{num:1e3}),e="/Categories/New Release",i=t?.cards.length?t.cards:[];return this.sortType==="new"&&i.sort((s,a)=>s.categories.includes(e)&&!a.categories.includes(e)?-1:!s.categories.includes(e)&&a.categories.includes(e)?1:s.categories.includes(e)&&a.categories.includes(e)?s.categories.length-a.categories.length:0),this._allCards.length===0&&t?.cards&&(this._allCards=t?.cards),this._allCards}_blurTabs(){this._allTabTitle.value?.blur(),this._articlesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}};S("solutions-deploy-app",g);return g},"identity/IdentityManager","identity/OAuthInfo","portal/Portal",a,e)
@@ -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.20250908 */
4
- import{a as e}from"./JJXCNC6C.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
3
+ v1.1.0-next.20250908.1 */
4
+ import{a as e}from"./RAUGHMW6.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
@@ -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.20250908 */
4
- import{a as d}from"./CGSLBDQX.js";import{a as u,b as t,c as h}from"./AKAEMS6J.js";import"./GDMEJW64.js";import{a as w}from"./5IZN54A6.js";import"./7YAHT6JK.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
3
+ v1.1.0-next.20250908.1 */
4
+ import{a as d}from"./5MCHDJQL.js";import{a as u,b as t,c as h}from"./JQSCHAZR.js";import"./GIW4CYRD.js";import{a as w}from"./TPD4WBA3.js";import"./42N26LVQ.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
@@ -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.20250908 */
4
- import{d as e}from"./456Y4EGY.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
3
+ v1.1.0-next.20250908.1 */
4
+ import{d as e}from"./EKLOZ6NG.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l 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.20250908 */
4
- import a from"./Y6DHGJ6U.js";import{a as v}from"./6P7UK63U.js";import{h as O,i as A}from"./QWQQND4L.js";export default $arcgis.t(([{a:N,b:V}])=>{function J(e,n,l){return t=>{let a=t?.layer?.type;if(a==="feature"||a==="group"){let s=D(n,t,l).then(o=>o);s&&e.push(s);let i=o=>{let r=D(n,o,l).then(u=>u);r&&e.push(r)};t.children.forEach(o=>{i(o),o?.children?.length>0&&o.children.forEach(r=>{i(r),r?.children?.length>0&&r.children.forEach(u=>{i(u)})})})}}}async function D(e,n,l){try{let t=n?.layer?.type==="group",a=n?.layer?.layers?.some(d=>d.visible),s=n?.layer?.layers?.every(d=>!d?.legendEnabled);await l.whenOnce(()=>e?.state==="ready"),!t||t&&a?t&&s?await l.whenOnce(()=>n?.layer?.loaded):await l.whenOnce(()=>n?.ready):await l.whenOnce(()=>n?.legendElements);let i=n?.legendElements?.[0],o=new Map,r=n.layer,u=await e?.view?.whenLayerView(r),c=r.renderer?.field??"";i!==void 0&&i?.infos?.forEach(d=>{if(d.type==="symbol-table"){let p=[];d.infos.forEach(h=>{let E={count:null,selected:!1,legendElementInfo:h};p.push(E)});let y={count:null,selected:!1,legendElementInfo:d,nestedInfos:p};o.set(d.title,y)}else{let p={count:null,selected:!1,legendElementInfo:d};o.set(d.label??r.id,p)}});let f=[];return u?Promise.resolve({activeLayerInfo:n,title:u.layer.title,categories:o,field:c,queryExpressions:f,totalCount:null,fLayerView:u,legendElement:i}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function _(e,n){let l={},t=[];e.activeLayerInfos.forEach(J(t,e,n));try{return(await Promise.all(t)).forEach(a=>{let s=a?.activeLayerInfo?.layer?.id;l[s]=a}),Promise.resolve(l)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ee(e){return Array.from(e,n=>n[1])}function ne(e,n,l,t,a){if(t)return t?.nestedInfos?.[a];let s="label"in l&&l?.label?l?.label:n?.id;return e?.categories?.get(s)}function re(e){return N?.data?.[e?.id]}async function te(e,n,l,t,a){let{queryExpressions:s,fLayerView:i}=e;K(e,n,l,a);let o=s.every(f=>f&&f.includes("<>"))?" AND ":" OR ",r=s.join(o),u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null,{type:c}=t;if(c==="filter")i.filter=await A({where:r,timeExtent:u});else if(t.effect){let{includedEffect:f,excludedEffect:d}=t.effect,p=await v(d,i,"excludedEffect"),y=await v(f,i,"includedEffect");i.featureEffect=await O({filter:await A({where:r,timeExtent:u}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function q(e,n){let l=n?n?.layer?.renderer?.authoringInfo:null,t=l?l.fields:null,a=[];if(!t)return"";if(Object.hasOwn(e,"value"))return t.forEach(s=>{if(e.value===s)return;let i=`(${e.value} > ${s} OR (${s} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;a.push(i)}),a.join(" AND ");{let s=[];t.forEach(o=>{s.push(`${o} = 0`)});let i=[];if(t.length>2){t.forEach(r=>{t.forEach(u=>{if(r===u)return;let c=[];t.forEach(f=>{r===f||u===f||c.push(`${r} = ${u} AND (${r} > ${f} OR ${r} >= ${f})`)}),i.push(`(${c.join(" AND ")})`)})});let o=[];return t.forEach(r=>{o.push(`${r} IS NULL`)}),`(${s.join(" AND ")}) OR (${i.join(" OR ")}) OR (${o.join(" AND ")})`}else{let o=[];t.forEach(u=>{t.forEach(c=>{u!==c&&(o.push(`${u} = ${c}`),o.push(`(${s.join(" AND ")})`))})});let r=[];return t.forEach(u=>{t.forEach(c=>{u!==c&&r.push(`(${u} = 0 AND ${c} IS NULL) OR (${u} IS NULL AND ${c} IS NULL)`)})}),`(${o.join(" OR ")}) OR (${r.join(" OR ")})`}}}function K(e,n,l,t){let{field:a,legendElement:s,categories:i,fLayerView:o}=e,r=e?.queryExpressions;t&&Array.from(e.categories).map(h=>h[1]).forEach(h=>{h.nestedInfos?.every(E=>!E.selected)&&h.nestedInfos?.forEach(E=>{let $=a?`${a} = '${E.legendElementInfo.value}'`:null,m=$?r.indexOf($):-1;$&&m!==-1&&r.splice(m,1)})});let u=s?.infos,c=j(o),f=c?q(n,o):x(n,a,l,s,u??[],""),d=i?t?i.get(t.title)?.nestedInfos?.[l]:i.get(n.label??o?.layer?.id):null;d&&(d.selected=!d?.selected);let p=u&&u.length===1,y=r.indexOf(f);if(c){let h=r.indexOf(f);r.length===0||h===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]?r[0]="1=0":r&&r.length===1||r.length===1&&f!==r[0]&&r[0]==="1=0"?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"?r[0]=null:r.splice(h,1),r.join(" OR ")}else r.length===0||y===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]&&!p?r[0]="1=0":r&&r.length===1&&!p||r.length===1&&f!==r[0]&&r[0]==="1=0"&&!p?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"&&!p?r[0]=null:r.splice(y,1);if(t){let h=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{a&&`${a} = '${$.legendElementInfo.value}'`&&h.push(`${a} = '${$.legendElementInfo.value}'`)})}),h.forEach(E=>{r.includes(E)||r.push(E)})}}function x(e,n,l,t,a,s){let{value:i}=e;if(t?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&a?.length===1){if(Object.hasOwn(a?.[0],"value")&&Array.isArray(a?.[0].value)&&Object.hasOwn(a?.[a.length-2],"value")&&Array.isArray(a?.[a.length-2].value))return s?`((${n}/${s}) > ${a?.[0].value[1]}) OR ((${n}/${s}) < ${a?.[a.length-2].value[0]}) OR ${s} = 0 OR ${s} IS NULL`:`${n} > ${a?.[0].value[1]} OR ${n} < ${a?.[a.length-2].value[0]} OR ${n} IS NULL`;if(a?.length===1)return"1=0";{let o=[];a?.forEach(u=>{if(u?.value){let{value:c}=u,f=c.indexOf("'")!==-1?c.split("'").join("''"):null,d=f?`${n} <> '${f}'`:isNaN(c)||typeof c=="string"&&!c.trim()?`${n} <> '${c}'`:`${n} <> ${c} AND ${n} <> '${c}'`;o.push(d)}});let r=o.join(" AND ");return n&&r?`${r} OR ${n} IS NULL`:""}}else{let o=i.indexOf("'")!==-1?i.split("'").join("''"):null,r=Array.isArray(e.value),u=a&&a.length-1===l,c=!Object.hasOwn(a?.[a.length-1],"value"),f=a&&a.length-2===l;return r?s?u||c&&f?`(${n}/${s}) >= ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:`(${n}/${s}) > ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:u||c&&f?`${n} >= ${i[0]} AND ${n} <= ${i[1]}`:`${n} > ${i[0]} AND ${n} <= ${i[1]}`:a?.length===1&&n?isNaN(i)||!i.trim().length?`${n} <> '${i}'`:`${n} <> ${i} OR ${n} <> '${i}'`:o?`${n} = '${o}'`:isNaN(i)||!i.trim().length?`${n} = '${i}'`:`${n} = ${i} OR ${n} = '${i}'`}else return""}function ae(e){return Array.isArray(e)?e.every(n=>!n.selected):e&&Array.from(e.categories.entries()).every(n=>!n[1].selected)&&e.queryExpressions[0]!=="1=0"}function j(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function se(e,n,l){let t=e.layer?.renderer?.field,a=n?.type,s=e?.layerView,i=s?.layer?.renderer?.classBreakInfos,o=s?.layer?.renderer?.uniqueValueInfos&&t,r=a==="size-ramp",u=a==="color-ramp",c=a==="opacity-ramp",f=a==="heatmap-ramp",d=s&&i&&i.length>1,p=s?.layer?.renderer?.authoringInfo?.type,y=p==="class-breaks-color",h=p==="class-breaks-size",E=n?.infos?.length===1&&!t,$=p==="relationship"&&n?.type!=="size-ramp"&&n?.type!=="symbol-table",m=e?.layer?.type==="feature",g=m&&t&&!u&&!r&&d,I=!!(m&&t&&!u&&!r&&!d),L=!!(I||j(s)&&!r||y&&t||h&&t||E&&!t&&t!==null||$||o),k=e?.layer?.featureReduction&&e?.legendElements?.[l]?.type==="size-ramp",R=n?.type==="symbol-table"&&n?.infos?.length===1,z=!e?.legendElements.every(w=>w.type!=="color-ramp"),F=!e?.legendElements.every(w=>w.type!=="size-ramp"),C=R&&z,T=R&&F,Q=n?.infos?.every(w=>typeof w.value=="number"),B=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",G=p==="dot-density",H=S(e?.layer,t);return m&&!k&&!c&&!f&&!C&&!T&&!Q&&!B&&!G&&H?i?g||L:I||L:!1}function ie(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(n=>{n.selected=!1}),e}function oe(e,n){e.categories.get(n)?.nestedInfos?.forEach(s=>{let i=`${e.field} = '${s.legendElementInfo.value}'`,o=e.queryExpressions.indexOf(i);o!==-1&&e.queryExpressions.splice(o,1),s.selected=!1});let l=[],t=Array.from(e.categories).map(s=>s[1]);t.forEach(s=>{s.nestedInfos?.every(i=>!i.selected)&&s.nestedInfos?.forEach(i=>{l.push(`${e.field} = '${i.legendElementInfo.value}'`)})}),l.forEach(s=>{e.queryExpressions.includes(s)||e.queryExpressions.push(s)});let a=e.queryExpressions.join(" OR ");return t.every(s=>s.nestedInfos?.every(i=>!i.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=a),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=a)),e}async function fe(e,n,l){let t=e.fLayerView.createQuery();if(l)if(l.nestedInfos.every(a=>!a.selected)){let a=l.nestedInfos.map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=l.nestedInfos.filter(s=>s.selected).map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=e.queryExpressions.join(" OR ");t.where=a}try{let{extent:a}=await e.fLayerView.layer.queryExtent(t);await n.goTo(a)}catch{}}function ce(e){return e.map(n=>n?.count).reduce((n,l)=>n+l)}function ue(e){return e.map(n=>n?.nestedInfos?.map(l=>l.count).reduce((l,t)=>l+t)).reduce((n,l)=>n+l)}async function b(e,n,l,t,a,s,i,o){if(!n||!S(n?.layer,l))return;let r=n?.layer?.type==="feature"?n.createQuery():null,u=j(n)?q(t,n):t.type?x(i,l,o,t,t.infos):x(t,l,a,s,s.infos);r&&u&&(r.where=u==="1=0"?"1=1":u,e&&(r.geometry=e));try{let c=r?await n.queryFeatureCount(r):null;return Promise.resolve({[t.label??n?.layer?.id]:c})}catch(c){console.error("FAILURE AT 'getInfoCount': ",c)}return await Promise.resolve(null)}async function de(e,n){let l={...n},{activeLayerInfos:t}=e,a=e?.view?.extent,s={},i={};t.forEach(async o=>{let r=o.legendElements[0],u=o.layer,c=n[o?.layer?.id]?.fLayerView,f=u.renderer?.field,d=[];i[o.layer.id]=[],r?.infos?.forEach((y,h)=>{if(r.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach(($,m)=>{let g=b(a,c,f,y,h,r,$,m);E.push(g)}),i[o.layer.id].push(E)}else d.push(b(a,c,f,y,h,r)),i[o.layer.id]=d});let p=y=>{let h=[],E=y.legendElements[0],$=y.layer,m=n[y?.layer?.id]?.fLayerView,g=$.renderer?.field;E?.infos?.forEach((I,L)=>h.push(b(a,m,g,I,L,E))),i[y.layer.id]=h};o.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(h=>{p(h),h?.children?.length>0&&h.children.forEach(E=>{p(E)})})})});for(let o in i){let r=s[o];r||(r=s[o]={});let u=await Promise.all(i[o]);if(u.every(c=>Array.isArray(c))){let c=await Promise.all(u.map(async f=>(await Promise.all(f)).map(d=>d&&Object.values(d)[0])));r[o]=c,s[o]={...r[o]}}else{let c={};u.forEach(f=>{if(!f)return;let d=Object.keys(f)[0];c[d]=f[d]}),o&&(r[o]=c),s[o]={...r[o]}}}return t.forEach(o=>{let r=n[o.layer.id],u=o.layer.id;r?.categories?.forEach((f,d)=>{let p=Array.from(r?.categories).findIndex(y=>y[0]===d);if(f?.nestedInfos)f?.nestedInfos.forEach((y,h)=>{let E=s?.[o?.layer?.id]?.[p]?.[h];y.count=isNaN(E)?null:E});else{let y=s?.[u]?.[d];f.count=isNaN(y)?null:y}});let c=f=>{let d=f.layer.id;n[d]?.categories?.forEach((p,y)=>{let h=s?.[d]?.[y];p.count=h})};o?.children?.forEach(f=>{c(f),f?.children?.length>0&&f.children.forEach(d=>{c(d),d?.children?.length>0&&d.children.forEach(p=>{c(p)})})})}),await Promise.resolve(l)}function ye(e,n){return e?.nestedInfos?.[n]}function he(e){return Array.from(e).map(n=>n[1]).every(n=>!!n?.nestedInfos)}function Ee(e){return!!e?.legendElements?.[0]?.infos?.every?.(n=>n?.type==="symbol-table")}function pe(e,n){if(typeof n?.title=="string")return e?.categories?.get(n?.title)}function $e(e){let n="calcite-mode-",l=`${n}light`,t=`${n}dark`;return e.classList.contains(t)?t:l}function me(e){if(e.layerId&&e.intLegendLayerData){let n=e.layerId,l=e.intLegendLayerData,t={...N.data,[n]:l};V.set("data",t)}}function ge(e,n){let{type:l}=e;l==="filter"?M(n):l==="effect"&&W(e,n)}function M(e){e?.allLayerViews?.filter(n=>n?.layer?.type==="feature")?.forEach(n=>{let l=n,t=P(l);l.filter=t,l.set("featureEffect",null)})}function W(e,n){n?.allLayerViews?.filter(l=>l?.layer?.type==="feature").forEach(async l=>{let t=l;if(e?.effect&&t){let{includedEffect:a,excludedEffect:s}=e.effect,i=await v(s,t,"excludedEffect"),o=await v(a,t,"includedEffect"),r=P(t);t.featureEffect=await O({filter:r,includedEffect:o,excludedEffect:i}),t.set("filter",null)}})}function P(e){return e?.filter||e?.featureEffect?.filter}function S(e,n){let l=e?.fields,t=l&&l.map(a=>a.name);return n?t&&t.includes(n):!0}function we(e){let n=[];return e.forEach(l=>U(l,n)),n}function U(e,n){n.push(e),e.children&&e.children.length>0&&e.children.forEach(l=>{U(l,n)})}return{a:D,b:_,c:ee,d:ne,e:re,f:te,g:ae,h:le,i:se,j:ie,k:oe,l:fe,m:ce,n:ue,o:de,p:ye,q:he,r:Ee,s:pe,t:$e,u:me,v:ge,w:we}},a)
3
+ v1.1.0-next.20250908.1 */
4
+ import a from"./VKDJVR72.js";import{a as v}from"./LPI5HC6D.js";import{h as O,i as A}from"./LSVV4OG4.js";export default $arcgis.t(([{a:N,b:V}])=>{function J(e,n,l){return t=>{let a=t?.layer?.type;if(a==="feature"||a==="group"){let s=D(n,t,l).then(o=>o);s&&e.push(s);let i=o=>{let r=D(n,o,l).then(u=>u);r&&e.push(r)};t.children.forEach(o=>{i(o),o?.children?.length>0&&o.children.forEach(r=>{i(r),r?.children?.length>0&&r.children.forEach(u=>{i(u)})})})}}}async function D(e,n,l){try{let t=n?.layer?.type==="group",a=n?.layer?.layers?.some(d=>d.visible),s=n?.layer?.layers?.every(d=>!d?.legendEnabled);await l.whenOnce(()=>e?.state==="ready"),!t||t&&a?t&&s?await l.whenOnce(()=>n?.layer?.loaded):await l.whenOnce(()=>n?.ready):await l.whenOnce(()=>n?.legendElements);let i=n?.legendElements?.[0],o=new Map,r=n.layer,u=await e?.view?.whenLayerView(r),c=r.renderer?.field??"";i!==void 0&&i?.infos?.forEach(d=>{if(d.type==="symbol-table"){let p=[];d.infos.forEach(h=>{let E={count:null,selected:!1,legendElementInfo:h};p.push(E)});let y={count:null,selected:!1,legendElementInfo:d,nestedInfos:p};o.set(d.title,y)}else{let p={count:null,selected:!1,legendElementInfo:d};o.set(d.label??r.id,p)}});let f=[];return u?Promise.resolve({activeLayerInfo:n,title:u.layer.title,categories:o,field:c,queryExpressions:f,totalCount:null,fLayerView:u,legendElement:i}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function _(e,n){let l={},t=[];e.activeLayerInfos.forEach(J(t,e,n));try{return(await Promise.all(t)).forEach(a=>{let s=a?.activeLayerInfo?.layer?.id;l[s]=a}),Promise.resolve(l)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ee(e){return Array.from(e,n=>n[1])}function ne(e,n,l,t,a){if(t)return t?.nestedInfos?.[a];let s="label"in l&&l?.label?l?.label:n?.id;return e?.categories?.get(s)}function re(e){return N?.data?.[e?.id]}async function te(e,n,l,t,a){let{queryExpressions:s,fLayerView:i}=e;K(e,n,l,a);let o=s.every(f=>f&&f.includes("<>"))?" AND ":" OR ",r=s.join(o),u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null,{type:c}=t;if(c==="filter")i.filter=await A({where:r,timeExtent:u});else if(t.effect){let{includedEffect:f,excludedEffect:d}=t.effect,p=await v(d,i,"excludedEffect"),y=await v(f,i,"includedEffect");i.featureEffect=await O({filter:await A({where:r,timeExtent:u}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function q(e,n){let l=n?n?.layer?.renderer?.authoringInfo:null,t=l?l.fields:null,a=[];if(!t)return"";if(Object.hasOwn(e,"value"))return t.forEach(s=>{if(e.value===s)return;let i=`(${e.value} > ${s} OR (${s} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;a.push(i)}),a.join(" AND ");{let s=[];t.forEach(o=>{s.push(`${o} = 0`)});let i=[];if(t.length>2){t.forEach(r=>{t.forEach(u=>{if(r===u)return;let c=[];t.forEach(f=>{r===f||u===f||c.push(`${r} = ${u} AND (${r} > ${f} OR ${r} >= ${f})`)}),i.push(`(${c.join(" AND ")})`)})});let o=[];return t.forEach(r=>{o.push(`${r} IS NULL`)}),`(${s.join(" AND ")}) OR (${i.join(" OR ")}) OR (${o.join(" AND ")})`}else{let o=[];t.forEach(u=>{t.forEach(c=>{u!==c&&(o.push(`${u} = ${c}`),o.push(`(${s.join(" AND ")})`))})});let r=[];return t.forEach(u=>{t.forEach(c=>{u!==c&&r.push(`(${u} = 0 AND ${c} IS NULL) OR (${u} IS NULL AND ${c} IS NULL)`)})}),`(${o.join(" OR ")}) OR (${r.join(" OR ")})`}}}function K(e,n,l,t){let{field:a,legendElement:s,categories:i,fLayerView:o}=e,r=e?.queryExpressions;t&&Array.from(e.categories).map(h=>h[1]).forEach(h=>{h.nestedInfos?.every(E=>!E.selected)&&h.nestedInfos?.forEach(E=>{let $=a?`${a} = '${E.legendElementInfo.value}'`:null,m=$?r.indexOf($):-1;$&&m!==-1&&r.splice(m,1)})});let u=s?.infos,c=j(o),f=c?q(n,o):x(n,a,l,s,u??[],""),d=i?t?i.get(t.title)?.nestedInfos?.[l]:i.get(n.label??o?.layer?.id):null;d&&(d.selected=!d?.selected);let p=u&&u.length===1,y=r.indexOf(f);if(c){let h=r.indexOf(f);r.length===0||h===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]?r[0]="1=0":r&&r.length===1||r.length===1&&f!==r[0]&&r[0]==="1=0"?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"?r[0]=null:r.splice(h,1),r.join(" OR ")}else r.length===0||y===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]&&!p?r[0]="1=0":r&&r.length===1&&!p||r.length===1&&f!==r[0]&&r[0]==="1=0"&&!p?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"&&!p?r[0]=null:r.splice(y,1);if(t){let h=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{a&&`${a} = '${$.legendElementInfo.value}'`&&h.push(`${a} = '${$.legendElementInfo.value}'`)})}),h.forEach(E=>{r.includes(E)||r.push(E)})}}function x(e,n,l,t,a,s){let{value:i}=e;if(t?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&a?.length===1){if(Object.hasOwn(a?.[0],"value")&&Array.isArray(a?.[0].value)&&Object.hasOwn(a?.[a.length-2],"value")&&Array.isArray(a?.[a.length-2].value))return s?`((${n}/${s}) > ${a?.[0].value[1]}) OR ((${n}/${s}) < ${a?.[a.length-2].value[0]}) OR ${s} = 0 OR ${s} IS NULL`:`${n} > ${a?.[0].value[1]} OR ${n} < ${a?.[a.length-2].value[0]} OR ${n} IS NULL`;if(a?.length===1)return"1=0";{let o=[];a?.forEach(u=>{if(u?.value){let{value:c}=u,f=c.indexOf("'")!==-1?c.split("'").join("''"):null,d=f?`${n} <> '${f}'`:isNaN(c)||typeof c=="string"&&!c.trim()?`${n} <> '${c}'`:`${n} <> ${c} AND ${n} <> '${c}'`;o.push(d)}});let r=o.join(" AND ");return n&&r?`${r} OR ${n} IS NULL`:""}}else{let o=i.indexOf("'")!==-1?i.split("'").join("''"):null,r=Array.isArray(e.value),u=a&&a.length-1===l,c=!Object.hasOwn(a?.[a.length-1],"value"),f=a&&a.length-2===l;return r?s?u||c&&f?`(${n}/${s}) >= ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:`(${n}/${s}) > ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:u||c&&f?`${n} >= ${i[0]} AND ${n} <= ${i[1]}`:`${n} > ${i[0]} AND ${n} <= ${i[1]}`:a?.length===1&&n?isNaN(i)||!i.trim().length?`${n} <> '${i}'`:`${n} <> ${i} OR ${n} <> '${i}'`:o?`${n} = '${o}'`:isNaN(i)||!i.trim().length?`${n} = '${i}'`:`${n} = ${i} OR ${n} = '${i}'`}else return""}function ae(e){return Array.isArray(e)?e.every(n=>!n.selected):e&&Array.from(e.categories.entries()).every(n=>!n[1].selected)&&e.queryExpressions[0]!=="1=0"}function j(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function se(e,n,l){let t=e.layer?.renderer?.field,a=n?.type,s=e?.layerView,i=s?.layer?.renderer?.classBreakInfos,o=s?.layer?.renderer?.uniqueValueInfos&&t,r=a==="size-ramp",u=a==="color-ramp",c=a==="opacity-ramp",f=a==="heatmap-ramp",d=s&&i&&i.length>1,p=s?.layer?.renderer?.authoringInfo?.type,y=p==="class-breaks-color",h=p==="class-breaks-size",E=n?.infos?.length===1&&!t,$=p==="relationship"&&n?.type!=="size-ramp"&&n?.type!=="symbol-table",m=e?.layer?.type==="feature",g=m&&t&&!u&&!r&&d,I=!!(m&&t&&!u&&!r&&!d),L=!!(I||j(s)&&!r||y&&t||h&&t||E&&!t&&t!==null||$||o),k=e?.layer?.featureReduction&&e?.legendElements?.[l]?.type==="size-ramp",R=n?.type==="symbol-table"&&n?.infos?.length===1,z=!e?.legendElements.every(w=>w.type!=="color-ramp"),F=!e?.legendElements.every(w=>w.type!=="size-ramp"),C=R&&z,T=R&&F,Q=n?.infos?.every(w=>typeof w.value=="number"),B=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",G=p==="dot-density",H=S(e?.layer,t);return m&&!k&&!c&&!f&&!C&&!T&&!Q&&!B&&!G&&H?i?g||L:I||L:!1}function ie(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(n=>{n.selected=!1}),e}function oe(e,n){e.categories.get(n)?.nestedInfos?.forEach(s=>{let i=`${e.field} = '${s.legendElementInfo.value}'`,o=e.queryExpressions.indexOf(i);o!==-1&&e.queryExpressions.splice(o,1),s.selected=!1});let l=[],t=Array.from(e.categories).map(s=>s[1]);t.forEach(s=>{s.nestedInfos?.every(i=>!i.selected)&&s.nestedInfos?.forEach(i=>{l.push(`${e.field} = '${i.legendElementInfo.value}'`)})}),l.forEach(s=>{e.queryExpressions.includes(s)||e.queryExpressions.push(s)});let a=e.queryExpressions.join(" OR ");return t.every(s=>s.nestedInfos?.every(i=>!i.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=a),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=a)),e}async function fe(e,n,l){let t=e.fLayerView.createQuery();if(l)if(l.nestedInfos.every(a=>!a.selected)){let a=l.nestedInfos.map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=l.nestedInfos.filter(s=>s.selected).map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=e.queryExpressions.join(" OR ");t.where=a}try{let{extent:a}=await e.fLayerView.layer.queryExtent(t);await n.goTo(a)}catch{}}function ce(e){return e.map(n=>n?.count).reduce((n,l)=>n+l)}function ue(e){return e.map(n=>n?.nestedInfos?.map(l=>l.count).reduce((l,t)=>l+t)).reduce((n,l)=>n+l)}async function b(e,n,l,t,a,s,i,o){if(!n||!S(n?.layer,l))return;let r=n?.layer?.type==="feature"?n.createQuery():null,u=j(n)?q(t,n):t.type?x(i,l,o,t,t.infos):x(t,l,a,s,s.infos);r&&u&&(r.where=u==="1=0"?"1=1":u,e&&(r.geometry=e));try{let c=r?await n.queryFeatureCount(r):null;return Promise.resolve({[t.label??n?.layer?.id]:c})}catch(c){console.error("FAILURE AT 'getInfoCount': ",c)}return await Promise.resolve(null)}async function de(e,n){let l={...n},{activeLayerInfos:t}=e,a=e?.view?.extent,s={},i={};t.forEach(async o=>{let r=o.legendElements[0],u=o.layer,c=n[o?.layer?.id]?.fLayerView,f=u.renderer?.field,d=[];i[o.layer.id]=[],r?.infos?.forEach((y,h)=>{if(r.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach(($,m)=>{let g=b(a,c,f,y,h,r,$,m);E.push(g)}),i[o.layer.id].push(E)}else d.push(b(a,c,f,y,h,r)),i[o.layer.id]=d});let p=y=>{let h=[],E=y.legendElements[0],$=y.layer,m=n[y?.layer?.id]?.fLayerView,g=$.renderer?.field;E?.infos?.forEach((I,L)=>h.push(b(a,m,g,I,L,E))),i[y.layer.id]=h};o.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(h=>{p(h),h?.children?.length>0&&h.children.forEach(E=>{p(E)})})})});for(let o in i){let r=s[o];r||(r=s[o]={});let u=await Promise.all(i[o]);if(u.every(c=>Array.isArray(c))){let c=await Promise.all(u.map(async f=>(await Promise.all(f)).map(d=>d&&Object.values(d)[0])));r[o]=c,s[o]={...r[o]}}else{let c={};u.forEach(f=>{if(!f)return;let d=Object.keys(f)[0];c[d]=f[d]}),o&&(r[o]=c),s[o]={...r[o]}}}return t.forEach(o=>{let r=n[o.layer.id],u=o.layer.id;r?.categories?.forEach((f,d)=>{let p=Array.from(r?.categories).findIndex(y=>y[0]===d);if(f?.nestedInfos)f?.nestedInfos.forEach((y,h)=>{let E=s?.[o?.layer?.id]?.[p]?.[h];y.count=isNaN(E)?null:E});else{let y=s?.[u]?.[d];f.count=isNaN(y)?null:y}});let c=f=>{let d=f.layer.id;n[d]?.categories?.forEach((p,y)=>{let h=s?.[d]?.[y];p.count=h})};o?.children?.forEach(f=>{c(f),f?.children?.length>0&&f.children.forEach(d=>{c(d),d?.children?.length>0&&d.children.forEach(p=>{c(p)})})})}),await Promise.resolve(l)}function ye(e,n){return e?.nestedInfos?.[n]}function he(e){return Array.from(e).map(n=>n[1]).every(n=>!!n?.nestedInfos)}function Ee(e){return!!e?.legendElements?.[0]?.infos?.every?.(n=>n?.type==="symbol-table")}function pe(e,n){if(typeof n?.title=="string")return e?.categories?.get(n?.title)}function $e(e){let n="calcite-mode-",l=`${n}light`,t=`${n}dark`;return e.classList.contains(t)?t:l}function me(e){if(e.layerId&&e.intLegendLayerData){let n=e.layerId,l=e.intLegendLayerData,t={...N.data,[n]:l};V.set("data",t)}}function ge(e,n){let{type:l}=e;l==="filter"?M(n):l==="effect"&&W(e,n)}function M(e){e?.allLayerViews?.filter(n=>n?.layer?.type==="feature")?.forEach(n=>{let l=n,t=P(l);l.filter=t,l.set("featureEffect",null)})}function W(e,n){n?.allLayerViews?.filter(l=>l?.layer?.type==="feature").forEach(async l=>{let t=l;if(e?.effect&&t){let{includedEffect:a,excludedEffect:s}=e.effect,i=await v(s,t,"excludedEffect"),o=await v(a,t,"includedEffect"),r=P(t);t.featureEffect=await O({filter:r,includedEffect:o,excludedEffect:i}),t.set("filter",null)}})}function P(e){return e?.filter||e?.featureEffect?.filter}function S(e,n){let l=e?.fields,t=l&&l.map(a=>a.name);return n?t&&t.includes(n):!0}function we(e){let n=[];return e.forEach(l=>U(l,n)),n}function U(e,n){n.push(e),e.children&&e.children.length>0&&e.children.forEach(l=>{U(l,n)})}return{a:D,b:_,c:ee,d:ne,e:re,f:te,g:ae,h:le,i:se,j:ie,k:oe,l:fe,m:ce,n:ue,o:de,p:ye,q:he,r:Ee,s:pe,t:$e,u:me,v:ge,w:we}},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.20250908 */
3
+ v1.1.0-next.20250908.1 */
4
4
  var r;(function(e){e.simple="simple",e.informational="informational"})(r||(r={}));var l;(function(e){e.small="s",e.medium="m",e.large="l"})(l||(l={}));var n;(function(e){e.before="before",e.after="after",e.below="below"})(n||(n={}));var i;(function(e){e.none="none",e.icon="icon"})(i||(i={}));var o;(function(e){e.caretUp="caret-up",e.caretDown="caret-down",e.caretDouble="caret-double-horizontal"})(o||(o={}));var t;(function(e){e.dynamic="dynamic",e.static="static",e.itemQuery="itemQuery"})(t||(t={}));var u;(function(e){e.start="start",e.center="center",e.end="end"})(u||(u={}));var p;(function(e){e.square="square",e.round="round"})(p||(p={}));var a;(function(e){e.none="none",e.low="low",e.medium="medium",e.heavy="heavy"})(a||(a={}));var s;(function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6"})(s||(s={}));var d={type:"object",required:[],properties:{type:{type:"string",enum:Object.keys(t),default:t.dynamic},cardTitle:{type:"string"},value:{},valueType:{type:"string",default:"string",enum:["string","number","date"]},dynamicMetric:{type:"object"},allowUnitFormatting:{type:"boolean",default:!1},unit:{type:"string"},unitPosition:{type:"string",default:n.after,enum:Object.keys(n)},serverTimeout:{type:"number",maximum:95,minimum:5,default:10},subtitle:{type:"string"},trailingText:{type:"string"},textAlign:{type:"string",default:u.start},allowLink:{type:"boolean",default:!1},allowDynamicLink:{type:"boolean",default:!0},sourceLink:{type:"string"},sourceTitle:{type:"string"},valueColor:{type:"string"},layout:{type:"string",default:r.simple,enum:Object.keys(r)},dropShadow:{type:"string",default:a.none,enum:Object.keys(a)},icon:{type:"string",default:o.caretUp,enum:Object.values(o)},visualInterest:{type:"string",default:i.none,enum:Object.keys(i)},shareable:{type:"boolean",default:!1},shareableByValue:{type:"boolean",default:!1},shareableOnHover:{type:"boolean",default:!0},popoverText:{type:"string"},publisherText:{type:"string"}},allOf:[{$ref:"#/definitions/if-source-title-then-source-link"},{$ref:"#/definitions/value-type-value-mapping"},{$ref:"#/definitions/if-static-then-url-format"}],definitions:{"if-source-title-then-source-link":{if:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]},then:{required:["sourceLink"]}},"value-type-value-mapping":{if:{type:"object",properties:{valueType:{enum:["string","date"]}}},then:{type:"object",properties:{value:{type:"string"}}},else:{type:"object",properties:{value:{type:"number"}}}},"if-static-then-url-format":{if:{type:"object",properties:{type:{const:t.static}}},then:{type:"object",properties:{sourceLink:{format:"url"}}}}}};export{o as a,t as b,d as 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.20250908 */
4
- import{a as n}from"./F4J3GW2D.js";import{a as s}from"./SPDUDQGT.js";import"./3TLPMHF3.js";import"./NRNFX3Q4.js";import"./JF5W5A65.js";import"./GGPG4RVY.js";import{a as r,b as a}from"./KHAEJZPQ.js";import"./XPCXO4AL.js";import"./X5TNUDEG.js";import"./456Y4EGY.js";import{a as o}from"./R6KDCWWX.js";import{a as i}from"./LJMJ4DLL.js";import"./37BBANOV.js";import"./JPIRNN2N.js";import"./2LCQAFSS.js";import"./GDMEJW64.js";import"./5IZN54A6.js";import"./OPDYFAD7.js";import"./WHJW5ATS.js";import"./JTYXIV2M.js";import"./XIPFEKDP.js";import"./4ZJTUJWW.js";import"./RNU6NMH5.js";import"./VQLOYI55.js";import"./XPNUQPK6.js";import"./RKKDKWIA.js";import"./SOMRBE5O.js";import"./5HMQFNST.js";import"./IHGM3BFU.js";import"./7EJOBL6M.js";import"./5LDNQQNR.js";import"./BZ7AO5QO.js";import"./UGOHDWSP.js";import"./WYLFDTO7.js";import"./PJZQETQP.js";import"./RSM2TX5F.js";import"./S56W6PPT.js";import"./JJXCNC6C.js";import"./HC6CRLSF.js";import"./CPUMQI3V.js";import"./7YAHT6JK.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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.siteEntityTitleValidatorError`}]}},{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"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{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(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
3
+ v1.1.0-next.20250908.1 */
4
+ import{a as n}from"./BODX5BT5.js";import{a as s}from"./WQEYOZHR.js";import"./2CURQLUN.js";import"./EY4XQXD6.js";import"./CMN7NTBH.js";import"./NT3G4LIW.js";import{a as r,b as a}from"./TCF2CPQG.js";import"./TKF6GZLE.js";import"./PY22SVTP.js";import"./EKLOZ6NG.js";import{a as o}from"./6MZSFXNN.js";import{a as i}from"./3EOGFGFX.js";import"./CY4A2TGN.js";import"./4FNIWH4V.js";import"./SFMMAAFM.js";import"./GIW4CYRD.js";import"./TPD4WBA3.js";import"./NUF7HMTT.js";import"./4EMYCXJS.js";import"./X7WMZMKI.js";import"./GHLHD7UQ.js";import"./XMGSNRK3.js";import"./UCKXQLON.js";import"./FT6M6WZE.js";import"./WE6YVELL.js";import"./BMAUEA6C.js";import"./FRJVACUR.js";import"./JN2NNLHR.js";import"./TJQFRHCE.js";import"./KWPVVPDP.js";import"./VJPKSW5X.js";import"./XKM6B4JJ.js";import"./BINJPPVG.js";import"./5TOXBVUY.js";import"./XIHOLMF4.js";import"./UOXEMS4H.js";import"./SCSC44JI.js";import"./RAUGHMW6.js";import"./FZCBTUUG.js";import"./UVVN7WK7.js";import"./42N26LVQ.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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.siteEntityTitleValidatorError`}]}},{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"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{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(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d 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.20250908 */
4
- import"./7YAHT6JK.js";var a="Jums nav pietiekami daudz kred\u012Btu, lai izpild\u012Btu \u0161o darb\u012Bbu. Sazinieties ar ArcGIS sist\u0113mas administratoru, lai sa\u0146emtu pal\u012Bdz\u012Bbu.",e="\u0160is r\u012Bks tika public\u0113ts no notebook. ArcGIS Notebooks piek\u013Cuve j\u016Bsu organiz\u0101cijai ir blo\u0137\u0113ta. Sazinieties ar savu administratoru, lai piel\u0101gotu iestat\u012Bjumu.",i="${ dataPath } nedr\u012Bkst b\u016Bt ${ additionalProperty }.",r="${ dataPath } j\u0101atbilst k\u0101dai no \u0161\u0101d\u0101m sh\u0113m\u0101m: ${ schemaOptions }.",t="M\u0113\u0123iniet saglab\u0101t karti v\u0113lreiz.",s="Servisa kred\u012Bta apr\u0113\u0137ins neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz apr\u0113\u0137iniet servisa kred\u012Btus.",o="Veicot anal\u012Bzi, rad\u0101s k\u013C\u016Bda.",n="${ dataPath } j\u0101b\u016Bt vien\u0101dam ar k\u0101du no \u0161\u012Bm at\u013Cautaj\u0101m v\u0113rt\u012Bb\u0101m: ${ allowedValues }.",l="Neizdev\u0101s saglab\u0101t anal\u012Bzes v\u0113sturi",d="V\u0113stures kr\u0101tuve ir pilna. No\u0146emiet da\u017Eas vien\u012Bbas no anal\u012Bzes v\u0113stures un m\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",u="Pakalpojuma nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes.",m="Pagaidu sl\u0101\u0146a saglab\u0101\u0161ana viesota elementu sl\u0101\u0146a veid\u0101 netika pabeigta.",v="Neizdev\u0101s ieg\u016Bt galvenos rekviz\u012Btus.",k="Neizdev\u0101s iel\u0101d\u0113t sl\u0101ni.",c="Sl\u0101nis nav pieejams.",p="${ dataPath } nedr\u012Bkst b\u016Bt vair\u0101k par ${ limit } vien\u012Bb\u0101m.",z="Saglab\u0101jot modeli, rad\u0101s k\u013C\u016Bda. M\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",b="${ dataPath } nedr\u012Bkst b\u016Bt maz\u0101k par ${ limit } vien\u012Bb\u0101m.",g="${ dataPath } nedr\u012Bkst b\u016Bt \u012Bs\u0101ks par ${ limit } rakstz\u012Bm\u0113m.",P="Neizdev\u0101s iel\u0101d\u0113t mode\u013Ca vien\u012Bbu. P\u0101rliecinieties, vai modelis past\u0101v un ir pie\u0161\u0137irta piek\u013Cuves at\u013Cauja.",E="Neizdev\u0101s pabeigt piepras\u012Bjumu.",h="Jums nav at\u013Caujas lietot \u0161o r\u012Bku. <calcite-link target='_blank' href='${ docLink }'>Papildinform\u0101cija</calcite-link>",S="Neizdev\u0101s pieteikties port\u0101l\u0101.",j="Neizdev\u0101s nolas\u012Bt ievades datus.",y="${ dataPath } tr\u016Bkst parametra ar nosaukumu ${ missingProperty }.",N="Rezult\u0101tu sl\u0101nis ar \u0161\u0101du nosaukumu jau past\u0101v. Rezult\u0101tu sl\u0101\u0146iem vis\u0101 organiz\u0101cij\u0101 j\u0101b\u016Bt ar unik\u0101liem nosaukumiem. L\u016Bdzu, izmantojiet citu nosaukumu.",$="Izvades nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes. <a href='${docLink}' target='_blank'>Uzzin\u0101t vair\u0101k.</a>",f="Pagaidu sl\u0101\u0146a k\u0101 viesota sl\u0101\u0146a public\u0113\u0161ana neizdev\u0101s viena vai vair\u0101ku neder\u012Bgu lauku d\u0113\u013C. Atk\u0101rtoti palaidiet r\u012Bku, lai izveidotu sl\u0101ni ar der\u012Bgiem laukiem.",I="Darba iesnieg\u0161ana neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz palaidiet anal\u012Bzi.",F="${ dataPath } j\u0101b\u016Bt vismaz vienai rakstz\u012Bmei, kas nav atstarpe.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:u,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:v,layerLoadFailure:k,layerUnavailable:c,maxItems:p,mbFailedToSave:z,minItems:b,minLength:g,modelNotFound:P,networkError:E,noPermissionToAccessTool:h,portalLoadError:S,queryFeaturesError:j,requiredProperty:y,serviceNameExistsError:N,specialCharactersInServiceNameError:$,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:F};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,L as default,o as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,u as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,v as keyPropertiesError,k as layerLoadFailure,c as layerUnavailable,p as maxItems,z as mbFailedToSave,b as minItems,g as minLength,P as modelNotFound,E as networkError,h as noPermissionToAccessTool,S as portalLoadError,j as queryFeaturesError,y as requiredProperty,N as serviceNameExistsError,$ as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,F as whiteSpacePattern};
3
+ v1.1.0-next.20250908.1 */
4
+ import"./42N26LVQ.js";var a="Jums nav pietiekami daudz kred\u012Btu, lai izpild\u012Btu \u0161o darb\u012Bbu. Sazinieties ar ArcGIS sist\u0113mas administratoru, lai sa\u0146emtu pal\u012Bdz\u012Bbu.",e="\u0160is r\u012Bks tika public\u0113ts no notebook. ArcGIS Notebooks piek\u013Cuve j\u016Bsu organiz\u0101cijai ir blo\u0137\u0113ta. Sazinieties ar savu administratoru, lai piel\u0101gotu iestat\u012Bjumu.",i="${ dataPath } nedr\u012Bkst b\u016Bt ${ additionalProperty }.",r="${ dataPath } j\u0101atbilst k\u0101dai no \u0161\u0101d\u0101m sh\u0113m\u0101m: ${ schemaOptions }.",t="M\u0113\u0123iniet saglab\u0101t karti v\u0113lreiz.",s="Servisa kred\u012Bta apr\u0113\u0137ins neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz apr\u0113\u0137iniet servisa kred\u012Btus.",o="Veicot anal\u012Bzi, rad\u0101s k\u013C\u016Bda.",n="${ dataPath } j\u0101b\u016Bt vien\u0101dam ar k\u0101du no \u0161\u012Bm at\u013Cautaj\u0101m v\u0113rt\u012Bb\u0101m: ${ allowedValues }.",l="Neizdev\u0101s saglab\u0101t anal\u012Bzes v\u0113sturi",d="V\u0113stures kr\u0101tuve ir pilna. No\u0146emiet da\u017Eas vien\u012Bbas no anal\u012Bzes v\u0113stures un m\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",u="Pakalpojuma nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes.",m="Pagaidu sl\u0101\u0146a saglab\u0101\u0161ana viesota elementu sl\u0101\u0146a veid\u0101 netika pabeigta.",v="Neizdev\u0101s ieg\u016Bt galvenos rekviz\u012Btus.",k="Neizdev\u0101s iel\u0101d\u0113t sl\u0101ni.",c="Sl\u0101nis nav pieejams.",p="${ dataPath } nedr\u012Bkst b\u016Bt vair\u0101k par ${ limit } vien\u012Bb\u0101m.",z="Saglab\u0101jot modeli, rad\u0101s k\u013C\u016Bda. M\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",b="${ dataPath } nedr\u012Bkst b\u016Bt maz\u0101k par ${ limit } vien\u012Bb\u0101m.",g="${ dataPath } nedr\u012Bkst b\u016Bt \u012Bs\u0101ks par ${ limit } rakstz\u012Bm\u0113m.",P="Neizdev\u0101s iel\u0101d\u0113t mode\u013Ca vien\u012Bbu. P\u0101rliecinieties, vai modelis past\u0101v un ir pie\u0161\u0137irta piek\u013Cuves at\u013Cauja.",E="Neizdev\u0101s pabeigt piepras\u012Bjumu.",h="Jums nav at\u013Caujas lietot \u0161o r\u012Bku. <calcite-link target='_blank' href='${ docLink }'>Papildinform\u0101cija</calcite-link>",S="Neizdev\u0101s pieteikties port\u0101l\u0101.",j="Neizdev\u0101s nolas\u012Bt ievades datus.",y="${ dataPath } tr\u016Bkst parametra ar nosaukumu ${ missingProperty }.",N="Rezult\u0101tu sl\u0101nis ar \u0161\u0101du nosaukumu jau past\u0101v. Rezult\u0101tu sl\u0101\u0146iem vis\u0101 organiz\u0101cij\u0101 j\u0101b\u016Bt ar unik\u0101liem nosaukumiem. L\u016Bdzu, izmantojiet citu nosaukumu.",$="Izvades nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes. <a href='${docLink}' target='_blank'>Uzzin\u0101t vair\u0101k.</a>",f="Pagaidu sl\u0101\u0146a k\u0101 viesota sl\u0101\u0146a public\u0113\u0161ana neizdev\u0101s viena vai vair\u0101ku neder\u012Bgu lauku d\u0113\u013C. Atk\u0101rtoti palaidiet r\u012Bku, lai izveidotu sl\u0101ni ar der\u012Bgiem laukiem.",I="Darba iesnieg\u0161ana neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz palaidiet anal\u012Bzi.",F="${ dataPath } j\u0101b\u016Bt vismaz vienai rakstz\u012Bmei, kas nav atstarpe.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:u,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:v,layerLoadFailure:k,layerUnavailable:c,maxItems:p,mbFailedToSave:z,minItems:b,minLength:g,modelNotFound:P,networkError:E,noPermissionToAccessTool:h,portalLoadError:S,queryFeaturesError:j,requiredProperty:y,serviceNameExistsError:N,specialCharactersInServiceNameError:$,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:F};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,L as default,o as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,u as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,v as keyPropertiesError,k as layerLoadFailure,c as layerUnavailable,p as maxItems,z as mbFailedToSave,b as minItems,g as minLength,P as modelNotFound,E as networkError,h as noPermissionToAccessTool,S as portalLoadError,j as queryFeaturesError,y as requiredProperty,N as serviceNameExistsError,$ as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,F as whiteSpacePattern};
@@ -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.20250908 */
3
+ v1.1.0-next.20250908.1 */
4
4
  var t={type:"string",minLength:1,maxLength:250,format:"entityTitleValidator"},e={type:"string",minLength:1,maxLength:250,format:"siteEntityTitleValidator"},p={type:"string",maxLength:2048},r={type:"string",enum:["public","org","private"],default:"private"},o={type:"array",items:{type:"string"}},s={type:"array",items:{type:"string"},maxItems:20},n={type:"boolean",enum:[!0,!1],default:!0},i={type:"array",maxItems:4,items:{type:"string"}},a={type:"object",default:{type:"none"},properties:{type:{type:"string",enum:["none","org","custom"],default:"none"},name:{type:"string"}}},y={type:"object",properties:{baseViewItemId:{type:"array",items:{type:"string"},maxItems:1}}},E={type:"object",properties:{base64:{type:"string"},format:{type:"string"},fileName:{type:"string"},blob:{type:"object",properties:{type:{type:"string"},size:{type:"number"}}},url:{type:"string"}}},g={type:"object",properties:{title:{type:"string"},description:{type:"string"},canCollapse:{type:"boolean"},stages:{type:"array",items:{type:"object",properties:{title:{type:"string"},timeframe:{type:"string"},stageDescription:{type:"string"},status:{type:"string"},link:{type:"object",properties:{href:{type:"string"},title:{type:"string"}}}}}}}},c={type:"object",properties:{consentNotice:{type:"object",properties:{allowPrivacyConfig:{type:"boolean",default:!1},blocking:{type:"boolean",default:!1},disclaimer:{type:"array",items:[{type:"object",properties:{text:{type:"string"},lang:{type:"string"},default:{type:"boolean"}}}]},policyURL:{type:"string",pattern:"^(https?:\\/\\/)?([\\da-z.-]+)\\.([a-z.]{2,6})([\\/\\w.-]*)*\\/?$|^$"}}}}},l={type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"};export{t as a,e as b,p as c,r as d,o as e,s as f,n as g,i as h,a as i,y as j,E as k,g as l,c as m,l as n};
@@ -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.20250908 */
4
- import{b as c}from"./2LCQAFSS.js";import{a as b}from"./GDMEJW64.js";import{a as u}from"./5IZN54A6.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}export{U as a};
3
+ v1.1.0-next.20250908.1 */
4
+ import{b as c}from"./SFMMAAFM.js";import{a as b}from"./GIW4CYRD.js";import{a as u}from"./TPD4WBA3.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}export{U 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.20250908 */
4
- import{a,b}from"./RNU6NMH5.js";import"./JJXCNC6C.js";import"./HC6CRLSF.js";import"./CPUMQI3V.js";import"./7YAHT6JK.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.1.0-next.20250908.1 */
4
+ import{a,b}from"./UCKXQLON.js";import"./RAUGHMW6.js";import"./FZCBTUUG.js";import"./UVVN7WK7.js";import"./42N26LVQ.js";export{a as PageEditorTypes,b as PageSchema};
@@ -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.20250908 */
4
- import c from"./APHMYZG6.js";import b from"./Y6DHGJ6U.js";import"./6P7UK63U.js";import a from"./6OWSRH66.js";import{a as K}from"./2YWVGKM4.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./QWQQND4L.js";import{b as Se}from"./2Q7C43LH.js";import"./QNDWNLA7.js";import{D as Re,E as Ee,G as w,H as E,h as ke,i as L,j as ge,l as oe}from"./FNN76R5R.js";import{b as st,d as lt}from"./7YAHT6JK.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ae=!!k[J];O!==ae&&(h=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(h=!0,q?(u(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=ut}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(p.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(g=>this.renderLegendForLayer(g,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},a,b,c)
3
+ v1.1.0-next.20250908.1 */
4
+ import c from"./UJMDV42X.js";import b from"./VKDJVR72.js";import"./LPI5HC6D.js";import a from"./CHLJQ2F7.js";import{a as K}from"./QHICY576.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./LSVV4OG4.js";import{b as Se}from"./QN3GHUSS.js";import"./MA3UPCW4.js";import{D as Re,E as Ee,G as w,H as E,h as ke,i as L,j as ge,l as oe}from"./OB5TUWOI.js";import{b as st,d as lt}from"./42N26LVQ.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ae=!!k[J];O!==ae&&(h=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(h=!0,q?(u(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=ut}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(p.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(g=>this.renderLegendForLayer(g,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},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.20250908 */
4
- import{a as s}from"./CGSLBDQX.js";import{a as l,b as p}from"./AKAEMS6J.js";import{d as m}from"./JPIRNN2N.js";import"./GDMEJW64.js";import{a}from"./5IZN54A6.js";import"./7YAHT6JK.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
3
+ v1.1.0-next.20250908.1 */
4
+ import{a as s}from"./5MCHDJQL.js";import{a as l,b as p}from"./JQSCHAZR.js";import{d as m}from"./4FNIWH4V.js";import"./GIW4CYRD.js";import{a}from"./TPD4WBA3.js";import"./42N26LVQ.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
@@ -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.20250908 */
4
- import"./7YAHT6JK.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.20250908.1 */
4
+ import"./42N26LVQ.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};