@esri/solutions-components 1.0.0-next.20250604 → 1.0.0-next.20250610

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 (462) hide show
  1. package/dist/assets/spatialReferences.json.d.ts +3 -0
  2. package/dist/cdn/{TLBLKOSP.js → 243XIJUK.js} +2 -2
  3. package/dist/cdn/{DEOYLAEF.js → 25SG2GT6.js} +2 -2
  4. package/dist/cdn/26V65KO5.js +4 -0
  5. package/dist/cdn/{O6YU35I2.js → 2KAZVBXF.js} +2 -2
  6. package/dist/cdn/2NFTBOR6.js +4 -0
  7. package/dist/cdn/{IAV6RAUX.js → 2QLL7KRA.js} +3 -3
  8. package/dist/cdn/{XIROVWXB.js → 2SPB6YWD.js} +1 -1
  9. package/dist/cdn/{OVYTYWMG.js → 2VLL65Q3.js} +2 -2
  10. package/dist/cdn/{LKWWHXOA.js → 2ZBKRLIH.js} +2 -2
  11. package/dist/cdn/{D4RSDPZE.js → 2ZYGIAK7.js} +2 -2
  12. package/dist/cdn/3FYSHEGC.js +4 -0
  13. package/dist/cdn/{BS33EVAP.js → 3GQWIJEV.js} +2 -2
  14. package/dist/cdn/{ALD6NWTO.js → 3IM72Q7I.js} +2 -2
  15. package/dist/cdn/3MMNPTWA.js +4 -0
  16. package/dist/cdn/3RSE7GWO.js +18 -0
  17. package/dist/cdn/3TPK447W.js +18 -0
  18. package/dist/cdn/{PODWXGKR.js → 3U5ZQLVD.js} +2 -2
  19. package/dist/cdn/{BPGVSHQW.js → 3YU6HJT3.js} +2 -2
  20. package/dist/cdn/{AEPIDWNF.js → 3ZZA5SJJ.js} +2 -2
  21. package/dist/cdn/4BBMUYOY.js +4 -0
  22. package/dist/cdn/{UCHW2VOH.js → 4CU2JG7Y.js} +2 -2
  23. package/dist/cdn/{ADCN5EQ6.js → 4D7Q4GOL.js} +2 -2
  24. package/dist/cdn/{K7MDBVZ5.js → 4RCKKVLX.js} +2 -2
  25. package/dist/cdn/{CTUCKF3P.js → 4REMJIC2.js} +2 -2
  26. package/dist/cdn/{ZTMR6MQW.js → 4YZYX25D.js} +2 -2
  27. package/dist/cdn/{D2PEMAQB.js → 55WTY3OW.js} +2 -2
  28. package/dist/cdn/{WICNCAEP.js → 5BVRVDRV.js} +2 -2
  29. package/dist/cdn/5FJYF35Q.js +18 -0
  30. package/dist/cdn/{AF677W6B.js → 5GOMCD3R.js} +2 -2
  31. package/dist/cdn/{MMGAOSLP.js → 5PTXJEIG.js} +1 -1
  32. package/dist/cdn/{ZPVOBCSG.js → 5QW7OUY4.js} +2 -2
  33. package/dist/cdn/{R3KXDLBC.js → 62U5XQ53.js} +2 -2
  34. package/dist/cdn/{FLHA6SUG.js → 6J57YUW2.js} +2 -2
  35. package/dist/cdn/{L3EOUKGK.js → 6JMHJ4JX.js} +2 -2
  36. package/dist/cdn/{X3ULYFMR.js → 6JNDGVGH.js} +2 -2
  37. package/dist/cdn/{QHAATBTL.js → 6MX6UN7I.js} +2 -2
  38. package/dist/cdn/{7UF7ASVK.js → 6N4W6KCO.js} +2 -2
  39. package/dist/cdn/{CB6KYK3A.js → 6POZOMRQ.js} +2 -2
  40. package/dist/cdn/{AMWVUVI2.js → 6QCOPT4C.js} +2 -2
  41. package/dist/cdn/{4FSK32YK.js → 6QFNQCBR.js} +2 -2
  42. package/dist/cdn/{2WTLR7AF.js → 6SWIDSO3.js} +2 -2
  43. package/dist/cdn/{4E3IKHTV.js → 6XDCOPQY.js} +1 -1
  44. package/dist/cdn/{6YLZDF5Z.js → 6ZFIZXBP.js} +2 -2
  45. package/dist/cdn/{VT5P4INT.js → 6ZSHJ5AZ.js} +1 -1
  46. package/dist/cdn/747TJLHD.js +4 -0
  47. package/dist/cdn/7CYK6OHD.js +4 -0
  48. package/dist/cdn/{3UOZA57X.js → 7EC2QANE.js} +2 -2
  49. package/dist/cdn/7KHJWE7I.js +46 -0
  50. package/dist/cdn/7NVOEDDR.js +4 -0
  51. package/dist/cdn/{JMLCAWVB.js → 7NYELHIW.js} +2 -2
  52. package/dist/cdn/{M2XRDDQA.js → 7PGOUADZ.js} +2 -2
  53. package/dist/cdn/{2KM6GVBX.js → 7QIPUZMZ.js} +2 -2
  54. package/dist/cdn/{IY5MA5TQ.js → 7URYQJYI.js} +2 -2
  55. package/dist/cdn/{Z56WHDSU.js → A57VSTIU.js} +2 -2
  56. package/dist/cdn/{IPTJRUEL.js → A7I5BLUD.js} +2 -2
  57. package/dist/cdn/{6QFHZ3JL.js → A7XA3HJY.js} +2 -2
  58. package/dist/cdn/{KYOJO322.js → AA2RTEXB.js} +2 -2
  59. package/dist/cdn/{YA4UNEDL.js → AE4QMTGD.js} +2 -2
  60. package/dist/cdn/AJ4EANAJ.js +4 -0
  61. package/dist/cdn/{NKQJ45UL.js → AKVBZAV2.js} +2 -2
  62. package/dist/cdn/AL32QPJO.js +18 -0
  63. package/dist/cdn/{KKS7II75.js → AMA3CIUW.js} +2 -2
  64. package/dist/cdn/{76BAM4JD.js → ANDBAAW7.js} +2 -2
  65. package/dist/cdn/{YWL5BSMR.js → AO22ELU2.js} +2 -2
  66. package/dist/cdn/{OI44SOUH.js → AO3Y73S4.js} +2 -2
  67. package/dist/cdn/{DQF7T3WP.js → APPDDPRJ.js} +2 -2
  68. package/dist/cdn/{LSZWLE7J.js → ARFHWNZW.js} +2 -2
  69. package/dist/cdn/{OGMFH36G.js → AZRDVXFS.js} +2 -2
  70. package/dist/cdn/BCT6TYYF.js +4 -0
  71. package/dist/cdn/BJEE2QDX.js +4 -0
  72. package/dist/cdn/{ANWOHFXY.js → BMCGFY4D.js} +2 -2
  73. package/dist/cdn/{KSWXMOC6.js → C2WZRDNU.js} +2 -2
  74. package/dist/cdn/{RIR7ISEG.js → CHIYX226.js} +2 -2
  75. package/dist/cdn/{CEJDTHNZ.js → CHPCWQV3.js} +1 -1
  76. package/dist/cdn/{FCYQRR3U.js → CKPYQPTD.js} +2 -2
  77. package/dist/cdn/{Y4ZIUU3O.js → COVJW67Z.js} +2 -2
  78. package/dist/cdn/{ICYWQWLJ.js → CQQABTQM.js} +2 -2
  79. package/dist/cdn/{THV4VHVL.js → CTYWBQY2.js} +2 -2
  80. package/dist/cdn/{BE5PQLO3.js → CUNBBRGG.js} +2 -2
  81. package/dist/cdn/{NBTA2YSB.js → CZGM62A6.js} +2 -2
  82. package/dist/cdn/{7VUGOBSM.js → D3O2HT2V.js} +2 -2
  83. package/dist/cdn/{HFUW7B3U.js → D5G2QLXU.js} +2 -2
  84. package/dist/cdn/{JMXRRM2J.js → DAEBIZTJ.js} +2 -2
  85. package/dist/cdn/DI3SB5LW.js +4 -0
  86. package/dist/cdn/{Q2UDHSAN.js → DJD52FAE.js} +3 -3
  87. package/dist/cdn/{NQMT3ZM2.js → DKKDSFW7.js} +2 -2
  88. package/dist/cdn/{7TR632PO.js → DWL6QFE4.js} +2 -2
  89. package/dist/cdn/DX7BBY5L.js +18 -0
  90. package/dist/cdn/DYZLHNVS.js +4 -0
  91. package/dist/cdn/{JYHFFQPV.js → DZTZIDHJ.js} +2 -2
  92. package/dist/cdn/{UQKWMKYX.js → E4GHAC43.js} +2 -2
  93. package/dist/cdn/{UZS6KXNI.js → E5SVQDAC.js} +2 -2
  94. package/dist/cdn/{OT3LBEYQ.js → E6LAV57F.js} +2 -2
  95. package/dist/cdn/{ZFQHFXDO.js → E7LSGXZN.js} +2 -2
  96. package/dist/cdn/{KCQU26AE.js → E7TY2OIZ.js} +2 -2
  97. package/dist/cdn/{YNIZ4XXM.js → EBHIEP3O.js} +2 -2
  98. package/dist/cdn/{QOKOI3NT.js → ECUMDGF6.js} +2 -2
  99. package/dist/cdn/{GZEPT2M3.js → EDPMTOWD.js} +2 -2
  100. package/dist/cdn/{ZCRJUKEL.js → EGTQT3ZY.js} +2 -2
  101. package/dist/cdn/{GV4VMWZC.js → EHA23YLG.js} +2 -2
  102. package/dist/cdn/{42G7HHTM.js → EJ7MPJF2.js} +2 -2
  103. package/dist/cdn/{CJNGBIUI.js → ELFPC4FQ.js} +2 -2
  104. package/dist/cdn/{PPLIT4QW.js → EOURQHYH.js} +2 -2
  105. package/dist/cdn/{RJVPADY4.js → EWLVZYDD.js} +2 -2
  106. package/dist/cdn/{XWT4JOO6.js → EWPN7Y3J.js} +2 -2
  107. package/dist/cdn/{USOHU6ZJ.js → EY76BJOK.js} +2 -2
  108. package/dist/cdn/{JUUBSWSN.js → EZROAF3H.js} +2 -2
  109. package/dist/cdn/{SU7JDERD.js → F75ZTCHZ.js} +2 -2
  110. package/dist/cdn/{O5TASUMK.js → FGIPZYFM.js} +3 -3
  111. package/dist/cdn/{I2DY4IS2.js → FNMXMPWJ.js} +2 -2
  112. package/dist/cdn/{KAN7CBK7.js → FO3XKEOC.js} +1 -1
  113. package/dist/cdn/{5UYYGX3U.js → FWTBUEHA.js} +2 -2
  114. package/dist/cdn/{GMCLBVIJ.js → G3FC7NQX.js} +6 -6
  115. package/dist/cdn/{NOWWSO43.js → G54HYU4T.js} +2 -2
  116. package/dist/cdn/G6HN6TFX.js +4 -0
  117. package/dist/cdn/{EMZ6RPP3.js → GA2ZUKPH.js} +2 -2
  118. package/dist/cdn/{OZDEHP24.js → GLQGCQKQ.js} +1 -1
  119. package/dist/cdn/{RN47VRJO.js → GLZNOZSV.js} +2 -2
  120. package/dist/cdn/{6KZH4YCI.js → GRH6L6AX.js} +1 -1
  121. package/dist/cdn/{K4J7ONE5.js → GT7ZLIPV.js} +1 -1
  122. package/dist/cdn/{54BQVAZQ.js → GWCLKO7W.js} +1 -1
  123. package/dist/cdn/GXLRWAQM.js +4 -0
  124. package/dist/cdn/GZTSZRL2.js +4 -0
  125. package/dist/cdn/{LFDYLJKA.js → H2TUSR7R.js} +1 -1
  126. package/dist/cdn/{AC6N4APV.js → H7XUQNKK.js} +1 -1
  127. package/dist/cdn/{ALLFENVH.js → HAXSU4N2.js} +3 -3
  128. package/dist/cdn/HDPFTEW7.js +4 -0
  129. package/dist/cdn/{Y2TYQRMX.js → HIXGXDSF.js} +2 -2
  130. package/dist/cdn/{NDYM7KNN.js → HJW7MRV7.js} +2 -2
  131. package/dist/cdn/{MWHO4QDE.js → HPIQJM5V.js} +2 -2
  132. package/dist/cdn/{VSXWXDUG.js → HR26NMCP.js} +2 -2
  133. package/dist/cdn/{KEJK7WEU.js → HRXPEGPN.js} +2 -2
  134. package/dist/cdn/{7AYXAEZ4.js → HTGPVMDF.js} +4 -4
  135. package/dist/cdn/{J2IBVR4K.js → HY2FPZMQ.js} +3 -3
  136. package/dist/cdn/I5BHAIXT.js +18 -0
  137. package/dist/cdn/{3ML7QFWK.js → I6IP3HEU.js} +1 -1
  138. package/dist/cdn/{NKVMRM3O.js → IAYSY7E4.js} +2 -2
  139. package/dist/cdn/{VNATQD74.js → IDOXNWMU.js} +2 -2
  140. package/dist/cdn/{KBJOJOJ4.js → IQIUJCL5.js} +1 -1
  141. package/dist/cdn/{RTSUY2Q2.js → IQZR2JNQ.js} +2 -2
  142. package/dist/cdn/{KCGRRB43.js → IWQEYRKW.js} +2 -2
  143. package/dist/cdn/J32WUI3V.js +4 -0
  144. package/dist/cdn/{B24P555R.js → J42OBAV6.js} +2 -2
  145. package/dist/cdn/{PCE2GNPD.js → JA6ZHJAG.js} +1 -1
  146. package/dist/cdn/{5ZN3LDSR.js → JEFKNJI4.js} +2 -2
  147. package/dist/cdn/{PDQQ3CKY.js → JFIQPHVY.js} +1 -1
  148. package/dist/cdn/JHGRJIHO.js +18 -0
  149. package/dist/cdn/JRP43TMR.js +18 -0
  150. package/dist/cdn/{QLBAKOYA.js → JTR6HRTY.js} +2 -2
  151. package/dist/cdn/{UGHIR2H5.js → JTSY6HU4.js} +2 -2
  152. package/dist/cdn/JXXQJ623.js +18 -0
  153. package/dist/cdn/{Z2XU5LLK.js → KB55TNLB.js} +2 -2
  154. package/dist/cdn/{NYPIOWTH.js → KKHWQSXB.js} +2 -2
  155. package/dist/cdn/KLYS5Y7D.js +4 -0
  156. package/dist/cdn/{6XIFWTU3.js → KMLGXG55.js} +2 -2
  157. package/dist/cdn/{55ER3JZZ.js → KPZNCFK7.js} +1 -1
  158. package/dist/cdn/{HLWVXTFA.js → KVDLSZT5.js} +2 -2
  159. package/dist/cdn/{E7CZ4ZJ7.js → KXIP4DWR.js} +3 -3
  160. package/dist/cdn/{Z7JJZ3FM.js → KZ5AJUM6.js} +2 -2
  161. package/dist/cdn/LC4T5GIX.js +4 -0
  162. package/dist/cdn/LFIVJEK2.js +4 -0
  163. package/dist/cdn/{FHUPZXRA.js → LMDJKC64.js} +2 -2
  164. package/dist/cdn/LOMV7XIZ.js +4 -0
  165. package/dist/cdn/{OJALXFPS.js → LQVTKXFQ.js} +2 -2
  166. package/dist/cdn/{63FJFV7Z.js → LR42KSD7.js} +3 -3
  167. package/dist/cdn/{SCFIKT66.js → LUCGZBV3.js} +2 -2
  168. package/dist/cdn/{XC5VKQJJ.js → LUWKLSCB.js} +2 -2
  169. package/dist/cdn/{5IXEWYS7.js → LZ37AJKN.js} +2 -2
  170. package/dist/cdn/{2EM743GZ.js → M4X65SJB.js} +2 -2
  171. package/dist/cdn/{4ALXTQ7N.js → M74AMYXF.js} +2 -2
  172. package/dist/cdn/MFATTJGH.js +6 -0
  173. package/dist/cdn/{IACEMZB4.js → MGTISYNJ.js} +2 -2
  174. package/dist/cdn/{6426ECPL.js → MLRAY2VI.js} +2 -2
  175. package/dist/cdn/MSN724ZV.js +4 -0
  176. package/dist/cdn/{Q65D6PKP.js → MXTL3VB4.js} +2 -2
  177. package/dist/cdn/{2ZYEO4QU.js → N4PA6ZFU.js} +2 -2
  178. package/dist/cdn/NB6P2ZLZ.js +18 -0
  179. package/dist/cdn/{M3IMWYAR.js → NS5FDWXK.js} +2 -2
  180. package/dist/cdn/{E6UHW6W4.js → O5WPS53A.js} +1 -1
  181. package/dist/cdn/{XC55JAZC.js → O7LAX6TU.js} +2 -2
  182. package/dist/cdn/{3R6FI5UM.js → OBGE3PJZ.js} +2 -2
  183. package/dist/cdn/{TA4R7WKW.js → ODZBAUH3.js} +2 -2
  184. package/dist/cdn/OEIXBUC3.js +4 -0
  185. package/dist/cdn/{ZHGAX6R3.js → OG4YXHRH.js} +2 -2
  186. package/dist/cdn/{HQKIH26Q.js → OGISURJ2.js} +1 -1
  187. package/dist/cdn/{7D3QOJHZ.js → OOYAGXFU.js} +2 -2
  188. package/dist/cdn/{QU5VIRGY.js → OUTGXSIV.js} +2 -2
  189. package/dist/cdn/OWN2B732.js +4 -0
  190. package/dist/cdn/{ERW3YZU6.js → P7PGGEDY.js} +1 -1
  191. package/dist/cdn/{Y2XCXPZJ.js → PERO5WYC.js} +1 -1
  192. package/dist/cdn/{K54F34MD.js → PITFPHXJ.js} +2 -2
  193. package/dist/cdn/{T7EW26WY.js → PWNQPO7M.js} +2 -2
  194. package/dist/cdn/{UXMQRK5S.js → Q2RVLL7P.js} +1 -1
  195. package/dist/cdn/{ROJ6UXWC.js → QB5Q44P3.js} +2 -2
  196. package/dist/cdn/{2B5FSZQH.js → QBKQKD2G.js} +2 -2
  197. package/dist/cdn/{73M3K3MB.js → QDCUDH5M.js} +1 -1
  198. package/dist/cdn/{YRGOM6Q5.js → QEONXNFP.js} +2 -2
  199. package/dist/cdn/{HWXLPBZH.js → QS3XVQM7.js} +2 -2
  200. package/dist/cdn/{LACXORO5.js → QVNQSDMG.js} +2 -2
  201. package/dist/cdn/{YKLMVODS.js → QZUUFSWN.js} +2 -2
  202. package/dist/cdn/{7MXFY5SO.js → REUK7FUQ.js} +1 -1
  203. package/dist/cdn/RJCPG2OD.js +4 -0
  204. package/dist/cdn/{3OXV4AIJ.js → RKK6IXRN.js} +1 -1
  205. package/dist/cdn/{4Q5U26MM.js → RLTUCGPF.js} +2 -2
  206. package/dist/cdn/{L6CZXSW3.js → RQNTLRQO.js} +2 -2
  207. package/dist/cdn/S2DOD45C.js +4 -0
  208. package/dist/cdn/{SQ72UPK3.js → S7S35K4N.js} +2 -2
  209. package/dist/cdn/{FQLSHIBF.js → SA3FJIMJ.js} +2 -2
  210. package/dist/cdn/{7MJFKTU3.js → SCC7OFOE.js} +1 -1
  211. package/dist/cdn/{YL7XZAGN.js → SCJF5DK5.js} +2 -2
  212. package/dist/cdn/{DR4VMI7G.js → SKJFR7RS.js} +2 -2
  213. package/dist/cdn/{TR24DOO4.js → SKNW5XHW.js} +2 -2
  214. package/dist/cdn/{GX6G4BFZ.js → SMVLVIKJ.js} +1 -1
  215. package/dist/cdn/{M5375MUO.js → SPDKAPN2.js} +2 -2
  216. package/dist/cdn/{MTDTWNGL.js → SPJUB4WW.js} +2 -2
  217. package/dist/cdn/{XPSM5W4L.js → STTIKHQJ.js} +2 -2
  218. package/dist/cdn/{OXHYCHE7.js → SUUXG2YV.js} +2 -2
  219. package/dist/cdn/SV5SVPCF.js +4 -0
  220. package/dist/cdn/{UJNLCDAP.js → SXV6GOCF.js} +2 -2
  221. package/dist/cdn/T3L6RRVE.js +4 -0
  222. package/dist/cdn/{5WSSG5DQ.js → TQBG4MEK.js} +2 -2
  223. package/dist/cdn/TVJRJKDY.js +4 -0
  224. package/dist/cdn/{JVV2LRKV.js → U5WH4XWF.js} +2 -2
  225. package/dist/cdn/U7YWLWVS.js +4 -0
  226. package/dist/cdn/{V7G2AU5A.js → UC6XV223.js} +2 -2
  227. package/dist/cdn/{NG7FCMTK.js → UFK4WM7T.js} +2 -2
  228. package/dist/cdn/{LTRG7P5T.js → UHSG6QNQ.js} +2 -2
  229. package/dist/cdn/{6FMYJDB3.js → UI54E7VB.js} +2 -2
  230. package/dist/cdn/{SCCCHUE7.js → UIUU6DED.js} +2 -2
  231. package/dist/cdn/UPMKLS4C.js +4 -0
  232. package/dist/cdn/UXH6MGRX.js +4 -0
  233. package/dist/cdn/V3GT6ZDE.js +4 -0
  234. package/dist/cdn/{IWLSOPNU.js → V4ESJ7QL.js} +2 -2
  235. package/dist/cdn/{MABGXJJX.js → V74PXGTC.js} +2 -2
  236. package/dist/cdn/{QH4CLBMI.js → VANG24M3.js} +2 -2
  237. package/dist/cdn/VGIYVVAU.js +4 -0
  238. package/dist/cdn/{AWTEJER6.js → VHT2MWYW.js} +2 -2
  239. package/dist/cdn/{HPWA6TTI.js → VLQDRULY.js} +2 -2
  240. package/dist/cdn/VMFAWFAM.js +4 -0
  241. package/dist/cdn/VOEWFARL.js +4 -0
  242. package/dist/cdn/{QU6MV2R4.js → VPUUIWE2.js} +2 -2
  243. package/dist/cdn/VQL327GB.js +18 -0
  244. package/dist/cdn/{4X3BLJYO.js → W27KI4TX.js} +2 -2
  245. package/dist/cdn/WCIL4Y2K.js +18 -0
  246. package/dist/cdn/{XWJ5XRDA.js → WCZZYOTM.js} +1 -1
  247. package/dist/cdn/{HUNK6CQY.js → WE523ZR2.js} +2 -2
  248. package/dist/cdn/{EOMS3F3L.js → WEVRGLHV.js} +2 -2
  249. package/dist/cdn/{GJ2KTUEU.js → WH2I2W6Q.js} +2 -2
  250. package/dist/cdn/{UUYHFCW4.js → WNR7QUVP.js} +2 -2
  251. package/dist/cdn/WRV2RHJ6.js +18 -0
  252. package/dist/cdn/{WNZMO54V.js → X77OKZCY.js} +2 -2
  253. package/dist/cdn/{ETSHTE72.js → XA6VGCTE.js} +2 -2
  254. package/dist/cdn/{TXLHJXSD.js → XARXAL4K.js} +2 -2
  255. package/dist/cdn/{GNROCWA2.js → XFOQ237Z.js} +2 -2
  256. package/dist/cdn/{OWQIRWGB.js → XIWWE2AH.js} +2 -2
  257. package/dist/cdn/{I5NHFG7C.js → XJYLRRFL.js} +2 -2
  258. package/dist/cdn/{CRZVA7XS.js → XKTGW3XN.js} +2 -2
  259. package/dist/cdn/{QBEPAEZG.js → XKYLZR42.js} +2 -2
  260. package/dist/cdn/{IE2Z57EL.js → XOEQBFVP.js} +1 -1
  261. package/dist/cdn/{CTJUD4LO.js → XPJYK2RV.js} +2 -2
  262. package/dist/cdn/{NVZPOTDK.js → XSUHYP6Q.js} +2 -2
  263. package/dist/cdn/{6LFV2GIT.js → XVFOF3T5.js} +1 -1
  264. package/dist/cdn/{USVH5XRC.js → XVV53OIG.js} +2 -2
  265. package/dist/cdn/{RAOR6DNG.js → Y4MLXPRQ.js} +2 -2
  266. package/dist/cdn/{IJRPDGUW.js → YFYERRHB.js} +1 -1
  267. package/dist/cdn/{OHULOUJ7.js → YGNM3KWY.js} +1 -1
  268. package/dist/cdn/{JYGS22BT.js → YJ3QUHDU.js} +2 -2
  269. package/dist/cdn/{XD7HIK35.js → YJ6YWNY6.js} +2 -2
  270. package/dist/cdn/{F4VOMVZI.js → YJVHNGLM.js} +2 -2
  271. package/dist/cdn/{I2YEFWJ6.js → YKGOPNZG.js} +2 -2
  272. package/dist/cdn/{LPK5NKSR.js → YN6JZ5LC.js} +2 -2
  273. package/dist/cdn/YOUEIKMV.js +18 -0
  274. package/dist/cdn/{MHW7GG43.js → YYIW4SX5.js} +2 -2
  275. package/dist/cdn/Z4QMYZMZ.js +4 -0
  276. package/dist/cdn/{5JZHSF5Q.js → ZBC2KSKJ.js} +1 -1
  277. package/dist/cdn/ZCJBWPBW.js +4 -0
  278. package/dist/cdn/{6GI4INVZ.js → ZHYUBIKC.js} +2 -2
  279. package/dist/cdn/{47H5FO7V.js → ZIXRBHFZ.js} +2 -2
  280. package/dist/cdn/ZRRGRRES.js +4 -0
  281. package/dist/cdn/{GEVOY2L5.js → ZSCGQDPT.js} +2 -2
  282. package/dist/cdn/{ZUBYVBHB.js → ZX7QCDFK.js} +2 -2
  283. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
  284. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
  285. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  286. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  287. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  288. package/dist/cdn/index.js +2 -2
  289. package/dist/cdn/main.css +1 -1
  290. package/dist/chunks/Auth.js +3 -9
  291. package/dist/chunks/appConfig.js +11 -0
  292. package/dist/chunks/cardFetchingUtils.js +102 -150
  293. package/dist/chunks/common.js +1 -1
  294. package/dist/chunks/deployAppContexts.js +1 -1
  295. package/dist/chunks/downloadUtils.js +1 -1
  296. package/dist/chunks/helpers.js +76 -0
  297. package/dist/chunks/index.js +1 -1
  298. package/dist/chunks/interfaces.js +21 -20
  299. package/dist/chunks/loadModules.js +1 -1
  300. package/dist/chunks/mapViewUtils.js +1 -1
  301. package/dist/chunks/pciUtils.js +1 -1
  302. package/dist/chunks/popupUtils.js +1 -1
  303. package/dist/chunks/publicNotificationStore.js +1 -1
  304. package/dist/chunks/queryUtils.js +1 -1
  305. package/dist/chunks/runtime.js +1 -1
  306. package/dist/chunks/solution-store.js +1 -1
  307. package/dist/chunks/templates.js +1 -1
  308. package/dist/chunks/useT9n.js +1 -1
  309. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  310. package/dist/components/basemap-gallery/customElement.js +1 -1
  311. package/dist/components/buffer-tools/customElement.js +1 -1
  312. package/dist/components/card-manager/customElement.js +24 -23
  313. package/dist/components/consent-manager/customElement.js +264 -264
  314. package/dist/components/create-feature/customElement.d.ts +6 -0
  315. package/dist/components/create-feature/customElement.js +8 -8
  316. package/dist/components/create-related-feature/customElement.js +1 -1
  317. package/dist/components/crowdsource-manager/customElement.js +16 -16
  318. package/dist/components/crowdsource-reporter/customElement.js +19 -16
  319. package/dist/components/deduct-calculator/customElement.js +1 -1
  320. package/dist/components/delete-button/customElement.js +1 -1
  321. package/dist/components/delete-dialog/customElement.js +1 -1
  322. package/dist/components/edit-card/customElement.js +24 -18
  323. package/dist/components/feature-details/customElement.js +1 -1
  324. package/dist/components/feature-list/customElement.js +1 -1
  325. package/dist/components/field-selection/customElement.js +1 -1
  326. package/dist/components/floor-filter/customElement.js +1 -1
  327. package/dist/components/info-card/customElement.js +1 -1
  328. package/dist/components/json-editor/customElement.js +1 -1
  329. package/dist/components/layer-list/customElement.js +1 -1
  330. package/dist/components/layer-table/customElement.js +1 -1
  331. package/dist/components/map-card/customElement.d.ts +12 -0
  332. package/dist/components/map-card/customElement.js +25 -25
  333. package/dist/components/map-draw-tools/customElement.js +2 -2
  334. package/dist/components/map-fullscreen/customElement.js +1 -1
  335. package/dist/components/map-layer-picker/customElement.js +3 -3
  336. package/dist/components/map-legend/customElement.js +1 -1
  337. package/dist/components/map-picker/customElement.js +22 -18
  338. package/dist/components/map-search/customElement.js +1 -1
  339. package/dist/components/map-select-tools/customElement.js +1 -1
  340. package/dist/components/map-tools/customElement.js +2 -2
  341. package/dist/components/pci-calculator/customElement.js +1 -1
  342. package/dist/components/pdf-download/customElement.js +1 -1
  343. package/dist/components/public-notification/customElement.js +7 -7
  344. package/dist/components/refine-selection/customElement.js +2 -2
  345. package/dist/components/selection-tool/customElement.js +1 -1
  346. package/dist/components/solution-article-card/customElement.js +1 -1
  347. package/dist/components/solution-configuration/customElement.js +1 -1
  348. package/dist/components/solution-configure-panel/customElement.js +1 -1
  349. package/dist/components/solution-configure-titles/customElement.js +1 -1
  350. package/dist/components/solution-contents/customElement.js +1 -1
  351. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  352. package/dist/components/solution-deploy-dialog/customElement.d.ts +42 -0
  353. package/dist/components/solution-deploy-dialog/customElement.js +154 -16
  354. package/dist/components/solution-deploy-dialog/index.d.ts +9 -0
  355. package/dist/components/solution-deploy-dialog/index.js +9 -0
  356. package/dist/components/solution-deployed-card/customElement.d.ts +4 -0
  357. package/dist/components/solution-deployed-card/customElement.js +16 -11
  358. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  359. package/dist/components/solution-details-card/customElement.d.ts +4 -11
  360. package/dist/components/solution-details-card/customElement.js +16 -16
  361. package/dist/components/solution-details-panel/customElement.d.ts +17 -0
  362. package/dist/components/solution-details-panel/customElement.js +113 -18
  363. package/dist/components/solution-details-panel/index.d.ts +12 -0
  364. package/dist/components/solution-details-panel/index.js +12 -0
  365. package/dist/components/solution-item/customElement.js +1 -1
  366. package/dist/components/solution-item-accordion/customElement.js +1 -1
  367. package/dist/components/solution-item-details/customElement.js +1 -1
  368. package/dist/components/solution-item-icon/customElement.js +1 -1
  369. package/dist/components/solution-item-sharing/customElement.js +1 -1
  370. package/dist/components/solution-items-diagram/customElement.js +1 -1
  371. package/dist/components/solution-organization-variables/customElement.js +1 -1
  372. package/dist/components/solution-resource-item/customElement.js +1 -1
  373. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  374. package/dist/components/solution-spatial-ref/customElement.js +2 -2
  375. package/dist/components/solution-template-data/customElement.js +1 -1
  376. package/dist/components/solution-variables/customElement.js +1 -1
  377. package/dist/components/solutions-all-panel/customElement.d.ts +8 -8
  378. package/dist/components/solutions-all-panel/customElement.js +50 -52
  379. package/dist/components/solutions-all-shell/customElement.d.ts +1 -1
  380. package/dist/components/solutions-all-shell/customElement.js +31 -29
  381. package/dist/components/solutions-article-panel/customElement.js +1 -1
  382. package/dist/components/solutions-articles/customElement.js +1 -1
  383. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  384. package/dist/components/solutions-deployed-panel/customElement.js +15 -14
  385. package/dist/components/solutions-deployed-shell/customElement.d.ts +1 -1
  386. package/dist/components/solutions-deployed-shell/customElement.js +28 -26
  387. package/dist/components/solutions-filter-panel/customElement.d.ts +8 -3
  388. package/dist/components/solutions-filter-panel/customElement.js +82 -101
  389. package/dist/components/spatial-ref/customElement.js +1 -1
  390. package/dist/components/store-manager/customElement.js +1 -1
  391. package/dist/docs/api.json +522 -260
  392. package/dist/docs/docs.json +505 -193
  393. package/dist/docs/vscode.html-custom-data.json +32 -43
  394. package/dist/docs/web-types.json +172 -87
  395. package/dist/index.d.ts +32 -6
  396. package/dist/index.js +1 -1
  397. package/dist/loader.js +7 -8
  398. package/dist/types/lumina.d.ts +10 -10
  399. package/dist/types/preact.d.ts +10 -11
  400. package/dist/types/react.d.ts +10 -12
  401. package/dist/types/stencil.d.ts +10 -10
  402. package/dist/utils/cardFetchingUtils.d.ts +3 -3
  403. package/dist/utils/interfaces.d.ts +47 -9
  404. package/package.json +3 -2
  405. package/dist/cdn/2AFE7E7M.js +0 -4
  406. package/dist/cdn/2K5LERLJ.js +0 -18
  407. package/dist/cdn/2MYQP6Y5.js +0 -4
  408. package/dist/cdn/2WSY3VK5.js +0 -18
  409. package/dist/cdn/345MWWXW.js +0 -4
  410. package/dist/cdn/3ELXMEAJ.js +0 -4
  411. package/dist/cdn/47T4MQZM.js +0 -18
  412. package/dist/cdn/5EGJZQNO.js +0 -4
  413. package/dist/cdn/5NTBUHXP.js +0 -4
  414. package/dist/cdn/5TTXDO2X.js +0 -4
  415. package/dist/cdn/6UX6KQVQ.js +0 -4
  416. package/dist/cdn/6XXYDAON.js +0 -18
  417. package/dist/cdn/ARCAXJNI.js +0 -4
  418. package/dist/cdn/B5IEC4IT.js +0 -6
  419. package/dist/cdn/BGMGLS3V.js +0 -18
  420. package/dist/cdn/BIUFSOZZ.js +0 -18
  421. package/dist/cdn/CNEWKYEJ.js +0 -4
  422. package/dist/cdn/CWNIFA6D.js +0 -4
  423. package/dist/cdn/CYNBZWVT.js +0 -4
  424. package/dist/cdn/D7NBVCTF.js +0 -4
  425. package/dist/cdn/EMDO67DU.js +0 -18
  426. package/dist/cdn/FJ6RGFDH.js +0 -4
  427. package/dist/cdn/GMPQXS6C.js +0 -4
  428. package/dist/cdn/GXKZH3J4.js +0 -4
  429. package/dist/cdn/H6KJVVW5.js +0 -18
  430. package/dist/cdn/HQOSEDMS.js +0 -18
  431. package/dist/cdn/K4LNUMMZ.js +0 -18
  432. package/dist/cdn/KGNJ2Y2O.js +0 -4
  433. package/dist/cdn/KNAH23B5.js +0 -18
  434. package/dist/cdn/LNP7R5ZI.js +0 -4
  435. package/dist/cdn/LYGETQIB.js +0 -4
  436. package/dist/cdn/MT4W2VSR.js +0 -4
  437. package/dist/cdn/MXJ7JORF.js +0 -18
  438. package/dist/cdn/NMCGBOOO.js +0 -4
  439. package/dist/cdn/OQ4ARNXB.js +0 -4
  440. package/dist/cdn/P3JN7YAP.js +0 -4
  441. package/dist/cdn/PBE7PDSN.js +0 -4
  442. package/dist/cdn/R3QDSUMS.js +0 -4
  443. package/dist/cdn/RTQCBY45.js +0 -4
  444. package/dist/cdn/RZLD7GPX.js +0 -4
  445. package/dist/cdn/TAE7C5OI.js +0 -18
  446. package/dist/cdn/TOGUBI36.js +0 -4
  447. package/dist/cdn/TPT5GHCA.js +0 -4
  448. package/dist/cdn/TTKYUHNY.js +0 -4
  449. package/dist/cdn/VGFMPJPG.js +0 -18
  450. package/dist/cdn/VQ7R4YV2.js +0 -4
  451. package/dist/cdn/X3XUCW5D.js +0 -18
  452. package/dist/cdn/XISD2FJX.js +0 -4
  453. package/dist/cdn/Y53CA6HP.js +0 -18
  454. package/dist/cdn/YN6OX32H.js +0 -4
  455. package/dist/cdn/Z4R46WXZ.js +0 -4
  456. package/dist/cdn/ZVSE3IZ4.js +0 -4
  457. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +0 -1
  458. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +0 -1
  459. package/dist/components/solution-deploy-panel/customElement.d.ts +0 -18
  460. package/dist/components/solution-deploy-panel/customElement.js +0 -72
  461. package/dist/components/solution-deploy-panel/index.d.ts +0 -12
  462. package/dist/components/solution-deploy-panel/index.js +0 -12
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{a as b}from"./ZHGAX6R3.js";import{b as c}from"./6KZH4YCI.js";import{a as u}from"./VT5P4INT.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.0.0-next.20250610 */
4
+ import{a as b}from"./OG4YXHRH.js";import{b as c}from"./GRH6L6AX.js";import{a as u}from"./6ZSHJ5AZ.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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{e as l,f as I}from"./B5IEC4IT.js";import{h}from"./LACXORO5.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
3
+ v1.0.0-next.20250610 */
4
+ import{m as l,n as I}from"./MFATTJGH.js";import{h}from"./QVNQSDMG.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as 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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import"./FQLSHIBF.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.0.0-next.20250610 */
4
+ import"./SA3FJIMJ.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};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{a as c,b as n,c as y}from"./OHULOUJ7.js";import{a,b as s}from"./USOHU6ZJ.js";import{D as m,I as d,c as u,d as t,o as p}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";var h=u`/** @license
3
+ v1.0.0-next.20250610 */
4
+ import{a as c,b as n,c as y}from"./YGNM3KWY.js";import{a,b as s}from"./EY76BJOK.js";import{D as d,c as u,d as t,n as p,y as m}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var h=u`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{a as r}from"./F4VOMVZI.js";import{D as n,I as o,c as t,d as i,q as s}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";var a=t`@layer{/** @license
3
+ v1.0.0-next.20250610 */
4
+ import{a as r}from"./YJVHNGLM.js";import{D as o,c as t,d as i,p as s,y as n}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var a=t`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{D as d,G as s,I as g,J as i,c as l,d as p,q as u}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";var m=l`@layer{/** @license
3
+ v1.0.0-next.20250610 */
4
+ import{B as s,D as g,E as i,c as l,d as p,p as u,y as d}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var m=l`@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.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250610 */
4
+ import{a as p,c as u}from"./Q2RVLL7P.js";import{a as h}from"./YJVHNGLM.js";import{B as s,D as d,c,d as i,x as n,y as r,z as a}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var m=c`/** @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
+ */.display-flex{display:flex}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.cursor-default{cursor:default}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:1px;border-bottom-style:solid}.row-margin-2{margin-inline-start:2rem;margin-inline-end:2rem}calcite-label{--calcite-label-margin-bottom: 0px}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-end-2{padding-inline-end:2rem}.align-self-center{align-self:center}.align-items-center{align-items:center}`,o=class extends r{constructor(){super(),this.authContextConsumer=n({context:u,subscribe:!0}),this.open=!1,this.userSessionContextConsumer=n({context:p,subscribe:!0}),this._translations=h({name:"solution-details-panel",blocking:!0}),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected)}static{this.properties={authContextConsumer:32,card:0,open:5,userSessionContextConsumer:32,_translations:16}}static{this.styles=m}render(){let e="border-bottom row-margin-2 padding-bottom-1";return i`<calcite-panel><div class=${`${e} padding-top-1`}>${this._getSolutionRow()}</div><div class=${a(e)}>${this._getScreenshotsRow()}</div><div class=${a(e)}>${this._getDescriptionRow()}</div><div class=${a(e)}>${this._getRequirementsRow()}</div><div class=${a(e)}>${this._getInformationProductsRow()}</div><div class=${a(e)}>${this._getReleaseNotesRow()}</div><div class=${a(e)}>${this._getRelatedArticlesRow()}</div><div class=${a(e)}>${this._getYouMayAlsoLikeRow()}</div></calcite-panel>`}_getSolutionRow(){let e=this.card?.thumbnailUrl.replace(/w=\d+/,"w=300");return i`<div class=" display-flex flex-direction-row"><div class="padding-end-2"><img alt=${this.card?.title??s} src=${e??s}></div><div class="display-flex flex-direction-column"><div class="display-flex flex-direction-row"><h3 class="padding-end-1">${this.card?.title}</h3><calcite-chip class="align-self-center" kind=brand .label=${this._translations.new} scale=s>${this._translations.new}</calcite-chip></div><span>${this.card?.snippet}</span><div class="display-flex flex-direction-row padding-top-1"><calcite-button class="padding-end-1" icon-end=arrow-bold-right icon-flip-rtl=end @click=${()=>this._deploy()}>${this._translations.deploy}</calcite-button><calcite-button appearance=outline class="padding-end-1" icon-end=video @click=${()=>this._watchDemo()}>${this._translations.watchDemo}</calcite-button><calcite-button appearance=outline class="padding-end-1" icon-end=share @click=${()=>this._share()}>${this._translations.share}</calcite-button></div></div></div>`}_getScreenshotsRow(){return i`<calcite-panel><div class="display-flex flex-direction-column">${this._getHeader(this._translations.screenshots)}<calcite-fab appearance=outline-fill class="align-self-center" icon=arrow-down kind=inverse @click=${()=>{this._showMoreScreenshots()}} .text=${this._translations.showMore} text-enabled></calcite-fab></div></calcite-panel>`}_showMoreScreenshots(){alert("Show more screenshots")}_getDescriptionRow(){return i`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.description)}<p .innerHTML=${this.card?.description??""}></p><div class="display-flex flex-direction-row"><calcite-link class="padding-end-2" icon-end=share @click=${()=>{this._learnHowtoUse()}}>${this._translations.learnHowtoUse}</calcite-link><calcite-link icon-end=share @click=${()=>{this._showDataDictionary()}}>${this._translations.dataDictionary}</calcite-link></div></div>`}_getRequirementsRow(){let e=this._getRequirements();return i`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.requirements)}<span>${this.card?.title?this._translations.requirementsSubText.replace("{{solutionTitle}}",this.card.title):""}</span>${e.map(t=>i`<div class="display-flex flex-direction-row padding-top-1-2"><calcite-icon icon=bullet-point></calcite-icon><calcite-label class="align-items-center">${t.value}</calcite-label></div>`)}</div>`}_getRequirements(){return[{value:"Test value"}]}_getInformationProductsRow(){return i`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.informationProducts)}<span>${this.card?.title?this._translations.informationProductsSubText.replace("{{solutionTitle}}",this.card.title):""}</span><calcite-table caption class="padding-top-1">${this._getInformationTableHeaderRow()}${this._getInformationTableRows([])}</calcite-table><p>${this._translations.informationProductsFooterText}</p></div>`}_getInformationTableHeaderRow(){return i`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.item}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header><calcite-table-header .heading=${this._translations.minimumUserType}></calcite-table-header></calcite-table-row>`}_getInformationTableRows(e){return e?.map(t=>i`<calcite-table-row><calcite-table-cell>${t.title}</calcite-table-cell><calcite-table-cell>${t.description}</calcite-table-cell><calcite-table-cell alignment=end>${t.minimumUserType}</calcite-table-cell></calcite-table-row>`)}_getReleaseNotesRow(){return i`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.releaseNotes)}<span>${this._translations.releaseNotesSubText}</span><calcite-table caption class="padding-top-1">${this._getReleaseNotesTableHeaderRow()}${this._getReleaseNotesTableRows([])}</calcite-table></div>`}_getReleaseNotesTableHeaderRow(){return i`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.version}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header></calcite-table-row>`}_getReleaseNotesTableRows(e){return e?.map(t=>i`<calcite-table-row><calcite-table-cell>${t.version}</calcite-table-cell><calcite-table-cell alignment=end>${t.descriptionInfos.map(l=>i`<div class="display-flex flex-direction-row"><calcite-icon icon=bullet-point></calcite-icon><calcite-label class="align-items-center">${l.value}</calcite-label></div>`)}</calcite-table-cell></calcite-table-row>`)}_getRelatedArticlesRow(){let e=this._getRelatedArticles();return i`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.relatedArticles)}<div class="display-flex flex-direction-row">${e.map(t=>{console.log(t),i`<solution-article-card></solution-article-card>`})}</div></div>`}_getRelatedArticles(){return[]}_getYouMayAlsoLikeRow(){let e=this._getYouMayAlsoLikeInfos();return i`<div class="display-flex flex-direction-column">${this._getHeader(this._translations.youMayAlsoLike)}<div class="display-flex flex-direction-row">${e.map(t=>i`<solution-details-card title=${t.title??s}></solution-details-card>`)}</div><calcite-fab appearance=outline-fill class="align-self-center" icon=arrow-down kind=inverse @click=${()=>{this._showMoreYouMayAlsoLike()}} .text=${this._translations.showMore} text-enabled></calcite-fab></div>`}_showMoreYouMayAlsoLike(){alert("Show more you may also like cards")}_getYouMayAlsoLikeInfos(){return[]}_getHeader(e){return i`<h3>${e}</h3>`}_deploy(){let e="solutionDeployDialog",t=document.getElementById(e),l=!1;t||(t=document.createElement("solution-deploy-dialog"),t.id=e,l=!0),t.card=this.card,l&&document.body.appendChild(t),t.open=!0}_watchDemo(){alert("Watch demo")}_share(){alert("Share")}_showDataDictionary(){alert("Show data dictionary")}_learnHowtoUse(){alert("Learn how to use")}_detailsCardSelected(e){this.card=e.detail}};d("solution-details-panel",o);export{o as SolutionDetailsPanel};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{a as r,b as c}from"./USOHU6ZJ.js";import{b as h}from"./XWJ5XRDA.js";import{D as n,I as l,c as i,d as s,o as a}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";var d=i`/** @license
3
+ v1.0.0-next.20250610 */
4
+ import{a as r,b as c}from"./EY76BJOK.js";import{b as h}from"./WCZZYOTM.js";import{D as l,c as i,d as s,n as a,y as n}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var d=i`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
3
+ v1.0.0-next.20250610 */
4
4
  function u(r,t={}){return(...e)=>r(...e).catch(n=>t)}export{u as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{a as d}from"./Z2XU5LLK.js";import{d as g}from"./OI44SOUH.js";var p;(function(t){t.User="user",t.Translation="translation"})(p||(p={}));var f;(function(t){t.String="string",t.TextEditor="textEditor"})(f||(f={}));var m;(function(t){t.ExpandCollapse="list-merge",t.SettingIndicator="list-button",t.Popover="information",t.Expanded="chevron-down",t.Collapsed="chevron-right",t.Copy="copy-to-clipboard",t.DefaultIcon="language",t.Title="title",t.Subtitle="subheading",t.Text="text",t.Description="description",t.Button="button",t.String="string"})(m||(m={}));var c;(function(t){t.Light="calcite-mode-light",t.Dark="calcite-mode-dark"})(c||(c={}));var S=`
3
+ v1.0.0-next.20250610 */
4
+ import{a as d}from"./KB55TNLB.js";import{d as g}from"./AO3Y73S4.js";var p;(function(t){t.User="user",t.Translation="translation"})(p||(p={}));var f;(function(t){t.String="string",t.TextEditor="textEditor"})(f||(f={}));var m;(function(t){t.ExpandCollapse="list-merge",t.SettingIndicator="list-button",t.Popover="information",t.Expanded="chevron-down",t.Collapsed="chevron-right",t.Copy="copy-to-clipboard",t.DefaultIcon="language",t.Title="title",t.Subtitle="subheading",t.Text="text",t.Description="description",t.Button="button",t.String="string"})(m||(m={}));var c;(function(t){t.Light="calcite-mode-light",t.Dark="calcite-mode-dark"})(c||(c={}));var S=`
5
5
  .instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-left: 30px !important;
7
7
  }
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{c as t}from"./54BQVAZQ.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./73M3K3MB.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
3
+ v1.0.0-next.20250610 */
4
+ import{c as t}from"./GWCLKO7W.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./QDCUDH5M.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m 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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{a as E,b as B,c as Ae,d as re,f as xe,g as ze,h as ve,i as Pe,k as Te,q as le,u as $e,v as K,w as fe,x as Fe,y as Ue}from"./TXLHJXSD.js";import"./JYHFFQPV.js";import"./Z2XU5LLK.js";import{C as Ce,E as ke,c as Re,z as Se}from"./ERW3YZU6.js";import{a as Me,c as g,e as Ee,h as ce}from"./KSWXMOC6.js";import"./FQLSHIBF.js";var Ne=96;function N(a){return a?a/72*Ne:0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,n){(function(c,s){s(n)})(Ve,function(c){var s="http://www.w3.org/",l="".concat(s,"2000/svg"),o="".concat(s,"1999/xlink"),u=[],_=function(e,t){var i={};return Object.keys(e).forEach(function(r){i[r]=e[r]}),t&&Object.keys(t).forEach(function(r){i[r]=t[r]}),i},b=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},L=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},k=function(e,t,i){if(t.vnodeSelector!==""){for(var r=i;r<e.length;r++)if(b(e[r],t))return r}return-1},R=function(e,t,i,r){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,S=p?p.key===void 0?p.bind:p.key:void 0;if(!S){for(var h=0;h<e.length;h++)if(h!==t){var f=e[h];if(b(f,d))throw{error:new Error("".concat(i.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(r==="added"?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:i,childNode:d}}}}},P=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},x=[],z=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},$=function(){z=!1,x.forEach(A),x.length=0},D=function(e){x.push(e),z||(z=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback($,{timeout:16}):setTimeout($,16))},J=function(e){var t=e.domNode;if(e.properties){var i=e.properties.exitAnimation;if(i){t.style.pointerEvents="none";var r=function(){t.parentNode&&(t.parentNode.removeChild(t),D(e))};i(t,r,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),D(e))},X=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(e){return!X.includes(e)}var M=function(e,t,i){if(t)for(var r=i.eventHandlerInterceptor,d=Object.keys(t).filter(U),p=d.length,S=0;S<p;S++){var h=d[S],f=t[h];if(h==="className")throw new Error('Property "className" is not supported, use "class".');if(h==="class")de(e,f,!0);else if(h==="classes")for(var v=Object.keys(f),C=v.length,w=0;w<C;w++){var y=v[w];f[y]&&e.classList.add(y)}else if(h==="styles")for(var F=Object.keys(f),T=F.length,w=0;w<T;w++){var I=F[w],Z=f[I];Z&&(L(Z),i.styleApplyer(e,I,Z))}else if(h==="on"&&f)for(var te=0,ae=Object.entries(t.on);te<ae.length;te++){var ne=ae[te],G=ne[0],H=ne[1],O=typeof H=="function"?H:H.listener;r&&(O=r(G,O,e,t)),O&&e.addEventListener(G,O,typeof H=="function"?void 0:H.options)}else if(h!=="key"&&f!==null&&f!==void 0){var se=typeof f;se==="function"?(h.lastIndexOf("on",0)===0&&r&&(f=r(h,f,e,t)),e[h]=f):i.namespace===l?h==="href"?e.setAttributeNS(o,h,f):e.setAttribute(h,f):se==="string"&&h!=="value"&&h!=="innerHTML"?e.setAttribute(h,f):e[h]=f}}},W=function(e,t,i){if(t)for(var r=0,d=t;r<d.length;r++){var p=d[r];q(p,e,void 0,i)}},Y=function(e,t,i){W(e,t.children,i),t.text&&(e.textContent=t.text),M(e,t.properties,i),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,i,t.vnodeSelector,t.properties,t.children])},q=function(e,t,i,r){var d,p,S=0,h=e.vnodeSelector,f=t.ownerDocument;if(h==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),i!==void 0?t.insertBefore(p,i):t.appendChild(p));else{for(var v=0;v<=h.length;++v){var C=h.charAt(v);if(v===h.length||C==="."||C==="#"){var w=h.charAt(S-1),y=h.slice(S,v);w==="."?p.classList.add(y):w==="#"?p.id=y:(y==="svg"&&(r=_(r,{namespace:l})),r.namespace!==void 0?p=e.domNode=f.createElementNS(r.namespace,y):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(y,{is:e.properties.is}):f.createElement(y)),y==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),i!==void 0?t.insertBefore(p,i):p.parentNode!==t&&t.appendChild(p)),S=v+1}}Y(p,e,r)}},ie,de=function(e,t,i){t&&t.split(" ").forEach(function(r){r&&e.classList.toggle(r,i)})},We=function(e,t,i,r){if(i){for(var d=!1,p=Object.keys(i).filter(U),S=p.length,h=0;h<S;h++){var f=p[h],v=i[f],C=t[f];if(f==="class")C!==v&&(de(e,C,!1),de(e,v,!0));else if(f==="classes")for(var w=e.classList,y=Object.keys(v),F=y.length,T=0;T<F;T++){var I=y[T],Z=!!v[I],te=!!C[I];Z!==te&&(d=!0,Z?w.add(I):w.remove(I))}else if(f==="styles")for(var ae=Object.keys(v),ne=ae.length,T=0;T<ne;T++){var G=ae[T],H=v[G],O=C[G];H!==O&&(d=!0,H?(L(H),r.styleApplyer(e,G,H)):r.styleApplyer(e,G,""))}else if(!v&&typeof C=="string"&&(v=""),f==="value"){var se=e[f];se!==v&&v!==C&&(e[f]=v),v!==C&&(d=!0)}else if(v!==C){var Le=typeof v;(Le!=="function"||!r.eventHandlerInterceptor)&&(r.namespace===l?f==="href"?e.setAttributeNS(o,f,v):e.setAttribute(f,v):Le==="string"&&f!=="innerHTML"?f==="role"&&v===""?e.removeAttribute(f):e.setAttribute(f,v):e[f]!==v&&(e[f]=v),d=!0)}}return d}},qe=function(e,t,i,r,d){if(i===r)return!1;i=i||u,r=r||u;for(var p=i.length,S=r.length,h=0,f=0,v,C=!1;f<S;){var w=h<p?i[h]:void 0,y=r[f];if(w!==void 0&&b(w,y))C=ie(w,y,d)||C,h++;else{var F=k(i,y,h+1);if(F>=0){for(v=h;v<F;v++)J(i[v]),R(i,v,e,"removed");C=ie(i[F],y,d)||C,h=F+1}else q(y,t,h<p?i[h].domNode:void 0,d),P(y),R(r,f,e,"added")}f++}if(p>h)for(v=h;v<p;v++)J(i[v]),R(i,v,e,"removed");return C};ie=function(e,t,i){var r=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var S=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(S,r),t.domNode=S,d=!0,d}t.domNode=r}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(i=_(i,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?r.removeChild(r.firstChild):r.textContent=t.text),t.domNode=r,p=qe(t,r,e.children,t.children,i)||p,p=We(r,e.properties,t.properties,i)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,i,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(i){if(e.vnodeSelector!==i.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 r=e;e=i,ie(r,i,t)},domNode:e.domNode}},Ge={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,i){t.charAt(0)==="-"?e.style.setProperty(t,i):e.style[t]=i}},Q=function(e){return _(Ge,e)},ee={create:function(e,t){return t=Q(t),q(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,i){return i=Q(i),q(t,e,void 0,i),V(t,i)},insertBefore:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),V(t,i)},merge:function(e,t,i){return i=Q(i),t.domNode=e,Y(e,t,i),V(t,i)},replace:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),e.parentNode.removeChild(e),V(t,i)}},Ke=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,i){for(var r=0,d=t.length;r<d;r++){var p=t[r];Array.isArray(p)?_e(e,p,i):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ke(p)),i.push(p))}};function Je(e,t,i){if(Array.isArray(t))i=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||i&&(typeof i=="string"||i.vnodeSelector))throw new Error("h called with invalid arguments");var r,d;return i&&i.length===1&&typeof i[0]=="string"?r=i[0]:i&&(d=[],_e(e,i,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:r===""?void 0:r,domNode:null}}var Xe=function(e,t){for(var i=[];e&&e!==t;)i.push(e),e=e.parentNode;return i},pe;Array.prototype.find?pe=function(e,t){return e.find(t)}:pe=function(e,t){return e.filter(t)[0]};var Ye=function(e,t){var i=e;return t.forEach(function(r){i=i&&i.children?pe(i.children,function(d){return d.domNode===r}):void 0}),i},Qe=function(e,t,i){return function(d,p,S,h){return r};function r(d){var p,S;i("domEvent",d);var h=t(),f=Xe(d.currentTarget,h.domNode);f.reverse();var v=Ye(h.getLastRender(),f);e.scheduleRender();var C;if(v){var w=(S=(p=v.properties["on".concat(d.type)])!==null&&p!==void 0?p:v.properties.on[d.type].listener)!==null&&S!==void 0?S:v.properties.on[d.type];C=w.apply(v.properties.bind||this,arguments)}return i("domEventProcessed",d),C}},Ze=function(e){var t,i=Q(e),r=i.performanceLogger,d=!0,p,S=!1,h=[],f=[],v=function(w,y,F){var T,I=function(){return T};i.eventHandlerInterceptor=Qe(t,I,r),T=w(y,F(),i),h.push(T),f.push(F)},C=function(){if(p=void 0,!!d){d=!1,r("renderStart",void 0);for(var w=0;w<h.length;w++){var y=f[w]();r("rendered",void 0),h[w].update(y),r("patched",void 0)}r("renderDone",void 0),d=!0}};return t={renderNow:C,scheduleRender:function(){!p&&!S&&(p=requestAnimationFrame(C))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),S=!0},resume:function(){S=!1,d=!0,t.scheduleRender()},append:function(w,y){v(ee.append,w,y)},insertBefore:function(w,y){v(ee.insertBefore,w,y)},merge:function(w,y){v(ee.merge,w,y)},replace:function(w,y){v(ee.replace,w,y)},detach:function(w){for(var y=0;y<f.length;y++)if(f[y]===w)return f.splice(y,1),h.splice(y,1)[0];throw new Error("renderFunction was not found")}},t},Oe=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(i,r){if(e)for(var d=0;d<i.length;d++)e[d]!==i[d]&&(t=void 0);return t||(t=r(),e=i),t}}},je=function(e,t,i){var r=[],d=[];return{results:d,map:function(p){for(var S=p.map(e),h=d.slice(),f=0,v=0;v<p.length;v++){var C=p[v],w=S[v];if(w===r[f])d[v]=h[f],i(C,h[f],v),f++;else{for(var y=!1,F=1;F<r.length+1;F++){var T=(f+F)%r.length;if(r[T]===w){d[v]=h[T],i(p[v],h[T],v),f=T+1,y=!0;break}}y||(d[v]=t(C,v))}}d.length=p.length,r=S}}};c.createCache=Oe,c.createMapping=je,c.createProjector=Ze,c.dom=ee,c.h=Je})})(me,me.exports);var et=me.exports.createProjector(),Be=10,ye=20,oe=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function tt(a="vertical"){let n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?g("svg",{height:"4",width:"10"},g("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):g("svg",{height:"10",width:"10"},g("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function at(a,n="vertical"){let c=document.createElement("div");return c.style.height=`${ye}px`,c.className=we.univariateAboveAndBelowSymbol,a!=null&&(c.style.opacity=a.toString()),et.append(c,tt.bind(null,n)),c}function Ie(a,n,c="vertical",s){a.infos.forEach((l,o)=>{if(s&&o===2)l.preview=at(n,c);else{let{size:u}=l,_=N(u)+(c==="horizontal"?be:oe),b=l.preview.tagName.toLowerCase()==="div",L=b?l.preview:document.createElement("div");L&&(L.className=we.univariateAboveAndBelowSymbol),c==="horizontal"?L&&(L.style.width=`${_}px`):L&&(L.style.height=`${_}px`),b||L&&L.appendChild(l.preview),l.preview=L}})}function De(a,n="classic"){let c=a.infos,s=c[0].size,l=c[c.length-1].size;return n==="classic"?(N(s)+oe)/2:(N(s)-N(l))/2}function ge(a,n,c){if(!a)return null;let s=a.infos.map(o=>o.color),l=n.renderColorRampPreviewHTML(c.type==="full"?s:c.type==="above"?s.slice(0,3):s.slice(2,5),{width:c.width,height:c.height,align:c.rampAlignment,effectList:c.effectList});return l.className=we.colorRamp,c.opacity!=null&&(l.style.opacity=c.opacity.toString()),l}function it(a,n,c,s="vertical"){let l=0,o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u;for(let L=_;L<=b;L++)if(c&&L===u)l+=s==="horizontal"?Be:ye;else{let k=o[L].size,R=N(k)+(s==="horizontal"?be:oe);l+=R}return Math.round(l)}function he(a,n,c,s="vertical"){let l=it(a,n,c,s),o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u,L=n==="full"?o[_].size+o[b].size:n==="above"?o[_].size:o[b].size,k=c?s==="vertical"?ye:Be:0,R=s==="vertical"?oe*(n==="full"?2:1):be*(n==="full"?2:1);return Math.round(l-(N(L)/2+k/2+R/2))}function nt(a,n,c="vertical"){let s=a.infos,l=s.find(({type:u})=>u==="size-ramp"),o=s.find(({type:u})=>u==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,n,c,!0)),o&&(o={...o},o.infos=[...o.infos]),c==="horizontal"&&(l?.infos.reverse(),o?.infos.reverse()),{sizeRampElement:l,colorRampElement:o}}function st(a,n="vertical"){let c=a.infos,s=c.find(({type:o})=>o==="size-ramp"),l=c.find(({type:o})=>o==="color-ramp");return s&&(s={...s},s.infos=[...s.infos],Ie(s,null,n,!1)),l&&(l={...l},l.infos=[...l.infos]),n==="horizontal"&&(s?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:s,colorRampElement:l}}function rt(a,n){return!0}var lt=".sc-instant-apps-interactive-legend-classic-h{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:0.875rem;--instant-apps-interactive-legend-info-font-size:0.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}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{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)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{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){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ct=lt,m={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--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",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},ot=24,He={display:"flex",alignItems:"flex-start"},ue={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},dt=class{constructor(a){Me(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Fe(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{ce(this.el)}).observe(this.el,{attributes:!0});let[n,c]=await Promise.all([Ce(),Se()]),s=await ke();this.reactiveUtils=c,this.intl=n,this.symbolUtils=s}async componentDidLoad(){await this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let s=n?.allLayers?.map(async b=>await b.load()),o=(await Promise.allSettled(s)).map(b=>b?.status==="fulfilled"&&b?.value?b.value:null).filter(b=>!!b),u=[];o.forEach(b=>{this.legendvm?.view&&u.push(this.legendvm.view.whenLayerView(b))}),await Promise.allSettled(u);let _=await re(this.legendvm,this.reactiveUtils);B.set("data",{...E.data,..._}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),n=B.get("compact")?` ${m.compact}`:"";return this.isLoading?g("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):g("div",{key:"interactive-legend-classic-container",class:`${K(this.el)}${n}`},a?.length>0?a:g("div",{class:m.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(n=>this.renderLegendForLayer(n)).filter(n=>!!n)}renderLegendForLayer(a,n){if(!a.ready)return null;if(!!a.children.length){let o=a.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return g("instant-apps-interactive-legend-group-legend-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:n},g("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},o))}let s=a.legendElements;if(s&&!s.length)return null;let l=s.map((o,u)=>this.renderLegendForElement(o,a.layer,a.effectList,a,u)).filter(o=>!!o);return l.length?g("instant-apps-interactive-legend-layer-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!n},g("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:m.layer},l)):null}renderLegendForElement(a,n,c,s,l,o,u){let _=a.type==="color-ramp",b=a.type==="opacity-ramp",L=a.type==="size-ramp",k=null,R=Te(s,a,l),P=a?.type==="relationship-ramp";if(a.type==="symbol-table"||L){let A=a.infos.map(($,D)=>this.renderLegendForElementInfo($,n,c,L,a,s,l,D,R,u)).filter($=>!!$);A.length&&(k=g("div",{class:m.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;k=this.renderLegendForRamp(A,n.opacity)}else if(P)k=g("instant-apps-interactive-legend-relationship",{class:K(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:s,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;k=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;k=this.renderUnivariateAboveAndBelowRamp(A,n.opacity,c)}else if(a.type==="univariate-color-size-ramp"){let A=a;k=this.renderUnivariateColorSizeRamp(A,n.opacity,c)}if(!k)return null;let x=a.title,z=null;if(typeof x=="string")z=x;else if(x){let A=x,$=this.getTitle(this.messages,A,_||b);this.isRendererTitle(_||b)?"title"in x&&(z=`${x.title} (${$})`):z=$}return g("instant-apps-interactive-legend-legend-element",{class:K(this.el),activeLayerInfo:s,isSizeRamp:L,isChild:!!o,isColorRamp:_,isRelationshipRamp:P,isInteractive:R,zoomTo:this.zoomTo,legendElement:a,titleText:z,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},g("div",{slot:"content"},k))}renderPieChartRamp(a){return g("div",{innerHTML:`${a.preview?.outerHTML}`})}renderUnivariateAboveAndBelowRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=nt(a,n);if(!s)return null;let o=he(s,"above",!0),u=he(s,"below",!0),_=12,b=ge(l,this.symbolUtils,{width:_,height:o,rampAlignment:"vertical",opacity:n,type:"above",effectList:c}),L=ge(l,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:n,type:"below",effectList:c}),k=De(s),R=s.infos.map(U=>U.label),P=R.map((U,M)=>M===0?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):M===2?g("div",null):null),x=R.length-1,z=Math.floor(R.length/2),A=R.map((U,M)=>M===z||M===x?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):null),$={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${k}px`},J={height:`${o}px`},X={height:`${u}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map((U,M)=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:$,innerHTML:U?.preview?.outerHTML??""}),!b&&M%2===0?g("div",{class:m.layerInfo},R[M]):null))),b?g("div",{style:D,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:J},P))),g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},L)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=st(a);if(!s)return null;let o=De(s),u=12,_=he(s,"full",!1),b=ge(l,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:n,type:"full",effectList:c}),L=s.infos.length-1,k=s.infos.map((z,A)=>A===0||A===L?g("div",{class:z.label?l?m.univariateAboveAndBelowLabel:m.rampLabel:""},z.label):null),R={display:"table-cell",verticalAlign:"middle"},P={marginTop:`${o}px`},x={height:`${_}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map(z=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:R,innerHTML:z?.preview?.outerHTML??""})))),g("div",{style:P,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:x},k)))))}renderLegendForRamp(a,n){let c=a.infos,s=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",o=a.type==="stretch-ramp",u=a.preview,_=s?m.opacityRamp:"";u&&(u.classList.add(m.colorRamp),_&&u.classList.add(_)),n!=null&&u&&(u.style.opacity=n.toString());let b=c.map(R=>{let P;if(l){let x=this.messages[R.label];P=typeof x=="string"?x:R.label}else o?P="value"in R?this.getStretchStopLabel(R):R.label:P=R.label;return g("div",{class:R.label?m.rampLabel:""},P)}),L={width:`${ot}px`},k={height:u?.style?.height};return g("div",{class:m.layerRow},g("div",{class:m.symbolContainer,style:{...L}},g("div",{ref:R=>{R?.firstChild&&R?.firstChild?.remove(),R?.appendChild(u)},class:m.rampContainer})),g("div",{class:m.layerInfo},g("div",{class:m.rampLabelsContainer,style:{...k}},b)))}getStretchStopLabel(a){let n=this.messages[a.label];return a.label?`${n}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,n,c,s,l,o,u,_,b,L){if("infos"in a)return this.renderLegendForElement(a,n,c,o,u,!0,a);let k=null,R=!rt();if("preview"in a){let{outerHTML:W}=a.preview;k=g("div",{class:m.symbol,innerHTML:W})}else"src"in a&&(k=this.renderImage(a,n,R));if(!k)return null;let P="",x=s?` ${m.sizeRamp}`:"",z,A=ze(n),$=$e(A,L);if(E.data){let W=xe(A,n,a,$,_),Y=$?$?.nestedInfos:A,q=Pe(Y);z=A?.categories?.size===1?!W?.selected:q||W?.selected}let D="label"in a?a.label:null,J=$&&!("value"in a)?!1:b,X=B.get("compact"),U=this.getTitle(this.messages,D,!1)||"",M=$?l.title:D??n?.id;return J?g("button",{onClick:this.applyFilter(a,n,_,L),class:`${m.layerRow} ${m.interactiveLayerRow}${z?` ${m.infoSelected}`:""}`,title:X?`${U}`:void 0,"aria-pressed":z?"true":"false"},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},this.getTitle(this.messages,D,!1)||""),this.featureCount&&!X?g("instant-apps-interactive-legend-count",{class:K(this.el),categoryId:M,activeLayerInfo:o,legendvm:this.legendvm,messages:this.messages,selected:!!z,legendElement:l,infoIndex:_}):null):g("div",{class:m.layerRow},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},U))}renderImage(a,n,c){let{label:s,src:l,opacity:o}=a,u=c?` ${m.imageryLayerStretchedImage}`:"",_=c?"":` ${m.symbol}`,b={opacity:`${o??n.opacity}`};return g("img",{alt:this.getTitle(this.messages,s,!1),src:l,width:a.width,height:a.height,class:`$${u}${_}`,style:b})}getTitle(a,n,c){if(!n)return;if(typeof n=="string"||typeof n=="number")return n;if("value"in n||"unit"in n){let o=typeof a?.dotValue=="string"?a.dotValue:"";return this.intl.substitute(o,n)}if("colorName"in n||"bandName"in n){let{colorName:o,bandName:u}=n,_=a[o],b=typeof a[u]=="string"?a[u]:u;return`${_}: ${b}`}if("showCount"in n)return n.showCount?a.clusterCountTitle:null;let s=null;if(c){let o=n;s=o.ratioPercentTotal?"showRatioPercentTotal":o.ratioPercent?"showRatioPercent":o.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null}else if(this.isRendererTitle(c)){let o=n;s=o.normField?"showNormField":o.normByPct?"showNormPct":o.field?"showField":null}let l=s==="showField"?"{field}":typeof s=="string"?a[s]:"";return s?this.intl?.substitute(l,{field:n.field,normField:n.normField}):""}isRendererTitle(a){return!a}async setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(s=>s?.type==="feature"),n=[];for(let s of a)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(s));let c=[];try{c=await Promise.all(n)}catch(s){console.error(s)}for(let s of c){let l=`fLayerViewScale-${s.layer.id}`;!this.handles?.has(l)&&s&&this.handles?.add(s.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(s.layer).catch(o=>{console.error(o)})}),l)}a?.forEach(s=>{let l=`fLayer-${s?.id}`;this.handles?.has(l)||this.handles?.add(this.reactiveUtils?.watch(()=>s?.visible,()=>{this.createDataForLayer(s).catch(o=>{console.error(o)})}),l)}),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,()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",s=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>s.children,"change",()=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).catch(l=>{console.error(l)})}))}).catch(l=>{console.error(l)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})}))}async createDataForLayer(a){let c=B.get("data")?.[a?.id],l=Ue(this.legendvm?.activeLayerInfos)?.find(o=>o?.layer?.id===a?.id);if(!c&&l){let o=await Ae(this.legendvm,l,this.reactiveUtils);if(fe({intLegendLayerData:o,layerId:a?.id}),this.featureCount){let u=await le(this.legendvm,E.data);B.set("data",{...E.data,...u})}}}applyFilter(a,n,c,s){return async()=>{let l={...E.data?.[n?.id]};s?await ve(l,a,c,this.filterMode,s):await ve(l,a,c,this.filterMode),fe({intLegendLayerData:l,layerId:n?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};dt.style=ct;export{dt as instant_apps_interactive_legend_classic};
3
+ v1.0.0-next.20250610 */
4
+ import{a as E,b as B,c as Ae,d as re,f as xe,g as ze,h as ve,i as Pe,k as Te,q as le,u as $e,v as K,w as fe,x as Fe,y as Ue}from"./XARXAL4K.js";import"./DZTZIDHJ.js";import"./KB55TNLB.js";import{C as Ce,E as ke,c as Re,z as Se}from"./P7PGGEDY.js";import{a as Me,c as g,e as Ee,h as ce}from"./C2WZRDNU.js";import"./SA3FJIMJ.js";var Ne=96;function N(a){return a?a/72*Ne:0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,n){(function(c,s){s(n)})(Ve,function(c){var s="http://www.w3.org/",l="".concat(s,"2000/svg"),o="".concat(s,"1999/xlink"),u=[],_=function(e,t){var i={};return Object.keys(e).forEach(function(r){i[r]=e[r]}),t&&Object.keys(t).forEach(function(r){i[r]=t[r]}),i},b=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},L=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},k=function(e,t,i){if(t.vnodeSelector!==""){for(var r=i;r<e.length;r++)if(b(e[r],t))return r}return-1},R=function(e,t,i,r){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,S=p?p.key===void 0?p.bind:p.key:void 0;if(!S){for(var h=0;h<e.length;h++)if(h!==t){var f=e[h];if(b(f,d))throw{error:new Error("".concat(i.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(r==="added"?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:i,childNode:d}}}}},P=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},x=[],z=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},$=function(){z=!1,x.forEach(A),x.length=0},D=function(e){x.push(e),z||(z=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback($,{timeout:16}):setTimeout($,16))},J=function(e){var t=e.domNode;if(e.properties){var i=e.properties.exitAnimation;if(i){t.style.pointerEvents="none";var r=function(){t.parentNode&&(t.parentNode.removeChild(t),D(e))};i(t,r,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),D(e))},X=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(e){return!X.includes(e)}var M=function(e,t,i){if(t)for(var r=i.eventHandlerInterceptor,d=Object.keys(t).filter(U),p=d.length,S=0;S<p;S++){var h=d[S],f=t[h];if(h==="className")throw new Error('Property "className" is not supported, use "class".');if(h==="class")de(e,f,!0);else if(h==="classes")for(var v=Object.keys(f),C=v.length,w=0;w<C;w++){var y=v[w];f[y]&&e.classList.add(y)}else if(h==="styles")for(var F=Object.keys(f),T=F.length,w=0;w<T;w++){var I=F[w],Z=f[I];Z&&(L(Z),i.styleApplyer(e,I,Z))}else if(h==="on"&&f)for(var te=0,ae=Object.entries(t.on);te<ae.length;te++){var ne=ae[te],G=ne[0],H=ne[1],O=typeof H=="function"?H:H.listener;r&&(O=r(G,O,e,t)),O&&e.addEventListener(G,O,typeof H=="function"?void 0:H.options)}else if(h!=="key"&&f!==null&&f!==void 0){var se=typeof f;se==="function"?(h.lastIndexOf("on",0)===0&&r&&(f=r(h,f,e,t)),e[h]=f):i.namespace===l?h==="href"?e.setAttributeNS(o,h,f):e.setAttribute(h,f):se==="string"&&h!=="value"&&h!=="innerHTML"?e.setAttribute(h,f):e[h]=f}}},W=function(e,t,i){if(t)for(var r=0,d=t;r<d.length;r++){var p=d[r];q(p,e,void 0,i)}},Y=function(e,t,i){W(e,t.children,i),t.text&&(e.textContent=t.text),M(e,t.properties,i),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,i,t.vnodeSelector,t.properties,t.children])},q=function(e,t,i,r){var d,p,S=0,h=e.vnodeSelector,f=t.ownerDocument;if(h==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),i!==void 0?t.insertBefore(p,i):t.appendChild(p));else{for(var v=0;v<=h.length;++v){var C=h.charAt(v);if(v===h.length||C==="."||C==="#"){var w=h.charAt(S-1),y=h.slice(S,v);w==="."?p.classList.add(y):w==="#"?p.id=y:(y==="svg"&&(r=_(r,{namespace:l})),r.namespace!==void 0?p=e.domNode=f.createElementNS(r.namespace,y):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(y,{is:e.properties.is}):f.createElement(y)),y==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),i!==void 0?t.insertBefore(p,i):p.parentNode!==t&&t.appendChild(p)),S=v+1}}Y(p,e,r)}},ie,de=function(e,t,i){t&&t.split(" ").forEach(function(r){r&&e.classList.toggle(r,i)})},We=function(e,t,i,r){if(i){for(var d=!1,p=Object.keys(i).filter(U),S=p.length,h=0;h<S;h++){var f=p[h],v=i[f],C=t[f];if(f==="class")C!==v&&(de(e,C,!1),de(e,v,!0));else if(f==="classes")for(var w=e.classList,y=Object.keys(v),F=y.length,T=0;T<F;T++){var I=y[T],Z=!!v[I],te=!!C[I];Z!==te&&(d=!0,Z?w.add(I):w.remove(I))}else if(f==="styles")for(var ae=Object.keys(v),ne=ae.length,T=0;T<ne;T++){var G=ae[T],H=v[G],O=C[G];H!==O&&(d=!0,H?(L(H),r.styleApplyer(e,G,H)):r.styleApplyer(e,G,""))}else if(!v&&typeof C=="string"&&(v=""),f==="value"){var se=e[f];se!==v&&v!==C&&(e[f]=v),v!==C&&(d=!0)}else if(v!==C){var Le=typeof v;(Le!=="function"||!r.eventHandlerInterceptor)&&(r.namespace===l?f==="href"?e.setAttributeNS(o,f,v):e.setAttribute(f,v):Le==="string"&&f!=="innerHTML"?f==="role"&&v===""?e.removeAttribute(f):e.setAttribute(f,v):e[f]!==v&&(e[f]=v),d=!0)}}return d}},qe=function(e,t,i,r,d){if(i===r)return!1;i=i||u,r=r||u;for(var p=i.length,S=r.length,h=0,f=0,v,C=!1;f<S;){var w=h<p?i[h]:void 0,y=r[f];if(w!==void 0&&b(w,y))C=ie(w,y,d)||C,h++;else{var F=k(i,y,h+1);if(F>=0){for(v=h;v<F;v++)J(i[v]),R(i,v,e,"removed");C=ie(i[F],y,d)||C,h=F+1}else q(y,t,h<p?i[h].domNode:void 0,d),P(y),R(r,f,e,"added")}f++}if(p>h)for(v=h;v<p;v++)J(i[v]),R(i,v,e,"removed");return C};ie=function(e,t,i){var r=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var S=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(S,r),t.domNode=S,d=!0,d}t.domNode=r}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(i=_(i,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?r.removeChild(r.firstChild):r.textContent=t.text),t.domNode=r,p=qe(t,r,e.children,t.children,i)||p,p=We(r,e.properties,t.properties,i)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,i,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(i){if(e.vnodeSelector!==i.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 r=e;e=i,ie(r,i,t)},domNode:e.domNode}},Ge={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,i){t.charAt(0)==="-"?e.style.setProperty(t,i):e.style[t]=i}},Q=function(e){return _(Ge,e)},ee={create:function(e,t){return t=Q(t),q(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,i){return i=Q(i),q(t,e,void 0,i),V(t,i)},insertBefore:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),V(t,i)},merge:function(e,t,i){return i=Q(i),t.domNode=e,Y(e,t,i),V(t,i)},replace:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),e.parentNode.removeChild(e),V(t,i)}},Ke=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,i){for(var r=0,d=t.length;r<d;r++){var p=t[r];Array.isArray(p)?_e(e,p,i):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ke(p)),i.push(p))}};function Je(e,t,i){if(Array.isArray(t))i=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||i&&(typeof i=="string"||i.vnodeSelector))throw new Error("h called with invalid arguments");var r,d;return i&&i.length===1&&typeof i[0]=="string"?r=i[0]:i&&(d=[],_e(e,i,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:r===""?void 0:r,domNode:null}}var Xe=function(e,t){for(var i=[];e&&e!==t;)i.push(e),e=e.parentNode;return i},pe;Array.prototype.find?pe=function(e,t){return e.find(t)}:pe=function(e,t){return e.filter(t)[0]};var Ye=function(e,t){var i=e;return t.forEach(function(r){i=i&&i.children?pe(i.children,function(d){return d.domNode===r}):void 0}),i},Qe=function(e,t,i){return function(d,p,S,h){return r};function r(d){var p,S;i("domEvent",d);var h=t(),f=Xe(d.currentTarget,h.domNode);f.reverse();var v=Ye(h.getLastRender(),f);e.scheduleRender();var C;if(v){var w=(S=(p=v.properties["on".concat(d.type)])!==null&&p!==void 0?p:v.properties.on[d.type].listener)!==null&&S!==void 0?S:v.properties.on[d.type];C=w.apply(v.properties.bind||this,arguments)}return i("domEventProcessed",d),C}},Ze=function(e){var t,i=Q(e),r=i.performanceLogger,d=!0,p,S=!1,h=[],f=[],v=function(w,y,F){var T,I=function(){return T};i.eventHandlerInterceptor=Qe(t,I,r),T=w(y,F(),i),h.push(T),f.push(F)},C=function(){if(p=void 0,!!d){d=!1,r("renderStart",void 0);for(var w=0;w<h.length;w++){var y=f[w]();r("rendered",void 0),h[w].update(y),r("patched",void 0)}r("renderDone",void 0),d=!0}};return t={renderNow:C,scheduleRender:function(){!p&&!S&&(p=requestAnimationFrame(C))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),S=!0},resume:function(){S=!1,d=!0,t.scheduleRender()},append:function(w,y){v(ee.append,w,y)},insertBefore:function(w,y){v(ee.insertBefore,w,y)},merge:function(w,y){v(ee.merge,w,y)},replace:function(w,y){v(ee.replace,w,y)},detach:function(w){for(var y=0;y<f.length;y++)if(f[y]===w)return f.splice(y,1),h.splice(y,1)[0];throw new Error("renderFunction was not found")}},t},Oe=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(i,r){if(e)for(var d=0;d<i.length;d++)e[d]!==i[d]&&(t=void 0);return t||(t=r(),e=i),t}}},je=function(e,t,i){var r=[],d=[];return{results:d,map:function(p){for(var S=p.map(e),h=d.slice(),f=0,v=0;v<p.length;v++){var C=p[v],w=S[v];if(w===r[f])d[v]=h[f],i(C,h[f],v),f++;else{for(var y=!1,F=1;F<r.length+1;F++){var T=(f+F)%r.length;if(r[T]===w){d[v]=h[T],i(p[v],h[T],v),f=T+1,y=!0;break}}y||(d[v]=t(C,v))}}d.length=p.length,r=S}}};c.createCache=Oe,c.createMapping=je,c.createProjector=Ze,c.dom=ee,c.h=Je})})(me,me.exports);var et=me.exports.createProjector(),Be=10,ye=20,oe=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function tt(a="vertical"){let n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?g("svg",{height:"4",width:"10"},g("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):g("svg",{height:"10",width:"10"},g("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function at(a,n="vertical"){let c=document.createElement("div");return c.style.height=`${ye}px`,c.className=we.univariateAboveAndBelowSymbol,a!=null&&(c.style.opacity=a.toString()),et.append(c,tt.bind(null,n)),c}function Ie(a,n,c="vertical",s){a.infos.forEach((l,o)=>{if(s&&o===2)l.preview=at(n,c);else{let{size:u}=l,_=N(u)+(c==="horizontal"?be:oe),b=l.preview.tagName.toLowerCase()==="div",L=b?l.preview:document.createElement("div");L&&(L.className=we.univariateAboveAndBelowSymbol),c==="horizontal"?L&&(L.style.width=`${_}px`):L&&(L.style.height=`${_}px`),b||L&&L.appendChild(l.preview),l.preview=L}})}function De(a,n="classic"){let c=a.infos,s=c[0].size,l=c[c.length-1].size;return n==="classic"?(N(s)+oe)/2:(N(s)-N(l))/2}function ge(a,n,c){if(!a)return null;let s=a.infos.map(o=>o.color),l=n.renderColorRampPreviewHTML(c.type==="full"?s:c.type==="above"?s.slice(0,3):s.slice(2,5),{width:c.width,height:c.height,align:c.rampAlignment,effectList:c.effectList});return l.className=we.colorRamp,c.opacity!=null&&(l.style.opacity=c.opacity.toString()),l}function it(a,n,c,s="vertical"){let l=0,o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u;for(let L=_;L<=b;L++)if(c&&L===u)l+=s==="horizontal"?Be:ye;else{let k=o[L].size,R=N(k)+(s==="horizontal"?be:oe);l+=R}return Math.round(l)}function he(a,n,c,s="vertical"){let l=it(a,n,c,s),o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u,L=n==="full"?o[_].size+o[b].size:n==="above"?o[_].size:o[b].size,k=c?s==="vertical"?ye:Be:0,R=s==="vertical"?oe*(n==="full"?2:1):be*(n==="full"?2:1);return Math.round(l-(N(L)/2+k/2+R/2))}function nt(a,n,c="vertical"){let s=a.infos,l=s.find(({type:u})=>u==="size-ramp"),o=s.find(({type:u})=>u==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,n,c,!0)),o&&(o={...o},o.infos=[...o.infos]),c==="horizontal"&&(l?.infos.reverse(),o?.infos.reverse()),{sizeRampElement:l,colorRampElement:o}}function st(a,n="vertical"){let c=a.infos,s=c.find(({type:o})=>o==="size-ramp"),l=c.find(({type:o})=>o==="color-ramp");return s&&(s={...s},s.infos=[...s.infos],Ie(s,null,n,!1)),l&&(l={...l},l.infos=[...l.infos]),n==="horizontal"&&(s?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:s,colorRampElement:l}}function rt(a,n){return!0}var lt=".sc-instant-apps-interactive-legend-classic-h{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:0.875rem;--instant-apps-interactive-legend-info-font-size:0.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}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{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)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{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){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ct=lt,m={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--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",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},ot=24,He={display:"flex",alignItems:"flex-start"},ue={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},dt=class{constructor(a){Me(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Fe(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{ce(this.el)}).observe(this.el,{attributes:!0});let[n,c]=await Promise.all([Ce(),Se()]),s=await ke();this.reactiveUtils=c,this.intl=n,this.symbolUtils=s}async componentDidLoad(){await this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let s=n?.allLayers?.map(async b=>await b.load()),o=(await Promise.allSettled(s)).map(b=>b?.status==="fulfilled"&&b?.value?b.value:null).filter(b=>!!b),u=[];o.forEach(b=>{this.legendvm?.view&&u.push(this.legendvm.view.whenLayerView(b))}),await Promise.allSettled(u);let _=await re(this.legendvm,this.reactiveUtils);B.set("data",{...E.data,..._}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),n=B.get("compact")?` ${m.compact}`:"";return this.isLoading?g("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):g("div",{key:"interactive-legend-classic-container",class:`${K(this.el)}${n}`},a?.length>0?a:g("div",{class:m.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(n=>this.renderLegendForLayer(n)).filter(n=>!!n)}renderLegendForLayer(a,n){if(!a.ready)return null;if(!!a.children.length){let o=a.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return g("instant-apps-interactive-legend-group-legend-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:n},g("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},o))}let s=a.legendElements;if(s&&!s.length)return null;let l=s.map((o,u)=>this.renderLegendForElement(o,a.layer,a.effectList,a,u)).filter(o=>!!o);return l.length?g("instant-apps-interactive-legend-layer-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!n},g("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:m.layer},l)):null}renderLegendForElement(a,n,c,s,l,o,u){let _=a.type==="color-ramp",b=a.type==="opacity-ramp",L=a.type==="size-ramp",k=null,R=Te(s,a,l),P=a?.type==="relationship-ramp";if(a.type==="symbol-table"||L){let A=a.infos.map(($,D)=>this.renderLegendForElementInfo($,n,c,L,a,s,l,D,R,u)).filter($=>!!$);A.length&&(k=g("div",{class:m.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;k=this.renderLegendForRamp(A,n.opacity)}else if(P)k=g("instant-apps-interactive-legend-relationship",{class:K(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:s,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;k=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;k=this.renderUnivariateAboveAndBelowRamp(A,n.opacity,c)}else if(a.type==="univariate-color-size-ramp"){let A=a;k=this.renderUnivariateColorSizeRamp(A,n.opacity,c)}if(!k)return null;let x=a.title,z=null;if(typeof x=="string")z=x;else if(x){let A=x,$=this.getTitle(this.messages,A,_||b);this.isRendererTitle(_||b)?"title"in x&&(z=`${x.title} (${$})`):z=$}return g("instant-apps-interactive-legend-legend-element",{class:K(this.el),activeLayerInfo:s,isSizeRamp:L,isChild:!!o,isColorRamp:_,isRelationshipRamp:P,isInteractive:R,zoomTo:this.zoomTo,legendElement:a,titleText:z,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},g("div",{slot:"content"},k))}renderPieChartRamp(a){return g("div",{innerHTML:`${a.preview?.outerHTML}`})}renderUnivariateAboveAndBelowRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=nt(a,n);if(!s)return null;let o=he(s,"above",!0),u=he(s,"below",!0),_=12,b=ge(l,this.symbolUtils,{width:_,height:o,rampAlignment:"vertical",opacity:n,type:"above",effectList:c}),L=ge(l,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:n,type:"below",effectList:c}),k=De(s),R=s.infos.map(U=>U.label),P=R.map((U,M)=>M===0?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):M===2?g("div",null):null),x=R.length-1,z=Math.floor(R.length/2),A=R.map((U,M)=>M===z||M===x?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):null),$={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${k}px`},J={height:`${o}px`},X={height:`${u}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map((U,M)=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:$,innerHTML:U?.preview?.outerHTML??""}),!b&&M%2===0?g("div",{class:m.layerInfo},R[M]):null))),b?g("div",{style:D,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:J},P))),g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},L)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=st(a);if(!s)return null;let o=De(s),u=12,_=he(s,"full",!1),b=ge(l,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:n,type:"full",effectList:c}),L=s.infos.length-1,k=s.infos.map((z,A)=>A===0||A===L?g("div",{class:z.label?l?m.univariateAboveAndBelowLabel:m.rampLabel:""},z.label):null),R={display:"table-cell",verticalAlign:"middle"},P={marginTop:`${o}px`},x={height:`${_}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map(z=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:R,innerHTML:z?.preview?.outerHTML??""})))),g("div",{style:P,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:x},k)))))}renderLegendForRamp(a,n){let c=a.infos,s=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",o=a.type==="stretch-ramp",u=a.preview,_=s?m.opacityRamp:"";u&&(u.classList.add(m.colorRamp),_&&u.classList.add(_)),n!=null&&u&&(u.style.opacity=n.toString());let b=c.map(R=>{let P;if(l){let x=this.messages[R.label];P=typeof x=="string"?x:R.label}else o?P="value"in R?this.getStretchStopLabel(R):R.label:P=R.label;return g("div",{class:R.label?m.rampLabel:""},P)}),L={width:`${ot}px`},k={height:u?.style?.height};return g("div",{class:m.layerRow},g("div",{class:m.symbolContainer,style:{...L}},g("div",{ref:R=>{R?.firstChild&&R?.firstChild?.remove(),R?.appendChild(u)},class:m.rampContainer})),g("div",{class:m.layerInfo},g("div",{class:m.rampLabelsContainer,style:{...k}},b)))}getStretchStopLabel(a){let n=this.messages[a.label];return a.label?`${n}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,n,c,s,l,o,u,_,b,L){if("infos"in a)return this.renderLegendForElement(a,n,c,o,u,!0,a);let k=null,R=!rt();if("preview"in a){let{outerHTML:W}=a.preview;k=g("div",{class:m.symbol,innerHTML:W})}else"src"in a&&(k=this.renderImage(a,n,R));if(!k)return null;let P="",x=s?` ${m.sizeRamp}`:"",z,A=ze(n),$=$e(A,L);if(E.data){let W=xe(A,n,a,$,_),Y=$?$?.nestedInfos:A,q=Pe(Y);z=A?.categories?.size===1?!W?.selected:q||W?.selected}let D="label"in a?a.label:null,J=$&&!("value"in a)?!1:b,X=B.get("compact"),U=this.getTitle(this.messages,D,!1)||"",M=$?l.title:D??n?.id;return J?g("button",{onClick:this.applyFilter(a,n,_,L),class:`${m.layerRow} ${m.interactiveLayerRow}${z?` ${m.infoSelected}`:""}`,title:X?`${U}`:void 0,"aria-pressed":z?"true":"false"},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},this.getTitle(this.messages,D,!1)||""),this.featureCount&&!X?g("instant-apps-interactive-legend-count",{class:K(this.el),categoryId:M,activeLayerInfo:o,legendvm:this.legendvm,messages:this.messages,selected:!!z,legendElement:l,infoIndex:_}):null):g("div",{class:m.layerRow},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},U))}renderImage(a,n,c){let{label:s,src:l,opacity:o}=a,u=c?` ${m.imageryLayerStretchedImage}`:"",_=c?"":` ${m.symbol}`,b={opacity:`${o??n.opacity}`};return g("img",{alt:this.getTitle(this.messages,s,!1),src:l,width:a.width,height:a.height,class:`$${u}${_}`,style:b})}getTitle(a,n,c){if(!n)return;if(typeof n=="string"||typeof n=="number")return n;if("value"in n||"unit"in n){let o=typeof a?.dotValue=="string"?a.dotValue:"";return this.intl.substitute(o,n)}if("colorName"in n||"bandName"in n){let{colorName:o,bandName:u}=n,_=a[o],b=typeof a[u]=="string"?a[u]:u;return`${_}: ${b}`}if("showCount"in n)return n.showCount?a.clusterCountTitle:null;let s=null;if(c){let o=n;s=o.ratioPercentTotal?"showRatioPercentTotal":o.ratioPercent?"showRatioPercent":o.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null}else if(this.isRendererTitle(c)){let o=n;s=o.normField?"showNormField":o.normByPct?"showNormPct":o.field?"showField":null}let l=s==="showField"?"{field}":typeof s=="string"?a[s]:"";return s?this.intl?.substitute(l,{field:n.field,normField:n.normField}):""}isRendererTitle(a){return!a}async setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(s=>s?.type==="feature"),n=[];for(let s of a)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(s));let c=[];try{c=await Promise.all(n)}catch(s){console.error(s)}for(let s of c){let l=`fLayerViewScale-${s.layer.id}`;!this.handles?.has(l)&&s&&this.handles?.add(s.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(s.layer).catch(o=>{console.error(o)})}),l)}a?.forEach(s=>{let l=`fLayer-${s?.id}`;this.handles?.has(l)||this.handles?.add(this.reactiveUtils?.watch(()=>s?.visible,()=>{this.createDataForLayer(s).catch(o=>{console.error(o)})}),l)}),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,()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",s=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>s.children,"change",()=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).catch(l=>{console.error(l)})}))}).catch(l=>{console.error(l)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})}))}async createDataForLayer(a){let c=B.get("data")?.[a?.id],l=Ue(this.legendvm?.activeLayerInfos)?.find(o=>o?.layer?.id===a?.id);if(!c&&l){let o=await Ae(this.legendvm,l,this.reactiveUtils);if(fe({intLegendLayerData:o,layerId:a?.id}),this.featureCount){let u=await le(this.legendvm,E.data);B.set("data",{...E.data,...u})}}}applyFilter(a,n,c,s){return async()=>{let l={...E.data?.[n?.id]};s?await ve(l,a,c,this.filterMode,s):await ve(l,a,c,this.filterMode),fe({intLegendLayerData:l,layerId:n?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};dt.style=ct;export{dt as instant_apps_interactive_legend_classic};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{a as y}from"./MABGXJJX.js";import"./PBE7PDSN.js";import"./PDQQ3CKY.js";import"./CWNIFA6D.js";import"./PCE2GNPD.js";import{a as s,b as p}from"./JMLCAWVB.js";import"./YA4UNEDL.js";import"./CRZVA7XS.js";import{a as n}from"./EOMS3F3L.js";import{a}from"./NKQJ45UL.js";import"./CNEWKYEJ.js";import"./XC5VKQJJ.js";import"./6KZH4YCI.js";import"./VT5P4INT.js";import{a as l}from"./O6YU35I2.js";import"./OZDEHP24.js";import"./JVV2LRKV.js";import"./3OXV4AIJ.js";import"./SCCCHUE7.js";import"./PODWXGKR.js";import"./AWTEJER6.js";import"./Y4ZIUU3O.js";import"./YWL5BSMR.js";import"./OVYTYWMG.js";import"./OWQIRWGB.js";import"./3UOZA57X.js";import"./IJRPDGUW.js";import"./2ZYEO4QU.js";import{a as t,b as r}from"./HQKIH26Q.js";import"./MTDTWNGL.js";import"./EMZ6RPP3.js";import"./3R6FI5UM.js";import"./Y2XCXPZJ.js";import"./LPK5NKSR.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.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"}]}},{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"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.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 a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R as buildUiSchema};
3
+ v1.0.0-next.20250610 */
4
+ import{a as y}from"./V74PXGTC.js";import"./ZRRGRRES.js";import"./JFIQPHVY.js";import"./MSN724ZV.js";import"./JA6ZHJAG.js";import{a as s,b as p}from"./7NYELHIW.js";import"./AE4QMTGD.js";import"./XKTGW3XN.js";import{a as n}from"./WEVRGLHV.js";import{a}from"./AKVBZAV2.js";import"./3MMNPTWA.js";import"./LUWKLSCB.js";import"./GRH6L6AX.js";import"./6ZSHJ5AZ.js";import{a as l}from"./2KAZVBXF.js";import"./GLQGCQKQ.js";import"./U5WH4XWF.js";import"./RKK6IXRN.js";import"./UIUU6DED.js";import"./3U5ZQLVD.js";import"./VHT2MWYW.js";import"./COVJW67Z.js";import"./AO22ELU2.js";import"./2VLL65Q3.js";import"./XIWWE2AH.js";import"./7EC2QANE.js";import"./YFYERRHB.js";import"./N4PA6ZFU.js";import{a as t,b as r}from"./OGISURJ2.js";import"./SPJUB4WW.js";import"./GA2ZUKPH.js";import"./OBGE3PJZ.js";import"./PERO5WYC.js";import"./YN6JZ5LC.js";import"./62U5XQ53.js";import"./GWCLKO7W.js";import"./QDCUDH5M.js";import"./SA3FJIMJ.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.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"}]}},{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"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.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 a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R 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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{a as f,c as g,e as I}from"./6QFHZ3JL.js";import"./LACXORO5.js";import"./K4J7ONE5.js";import{a as w,b as c}from"./XWJ5XRDA.js";import{a as u}from"./F4VOMVZI.js";import{D as m,I as L,c as p,d as r,o as h,q as d}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
3
+ v1.0.0-next.20250610 */
4
+ import{a as f,c as g,e as I}from"./A7XA3HJY.js";import"./QVNQSDMG.js";import"./GT7ZLIPV.js";import{a as w,b as c}from"./WCZZYOTM.js";import{a as u}from"./YJVHNGLM.js";import{D as L,c as p,d as r,n as h,p as d,y as m}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{b as g}from"./XWJ5XRDA.js";import{a as b}from"./F4VOMVZI.js";import{D as u,E as p,I as w,c as h,d as l,o as r,q as m}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";var y=h`@layer{/**
3
+ v1.0.0-next.20250610 */
4
+ import{b as g}from"./WCZZYOTM.js";import{a as b}from"./YJVHNGLM.js";import{D as w,c as h,d as l,n as r,p as m,y as u,z as p}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var y=h`@layer{/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{a,b}from"./SCCCHUE7.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
3
+ v1.0.0-next.20250610 */
4
+ import{a,b}from"./UIUU6DED.js";import"./62U5XQ53.js";import"./GWCLKO7W.js";import"./QDCUDH5M.js";import"./SA3FJIMJ.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{a as b}from"./4E3IKHTV.js";import{a}from"./4ALXTQ7N.js";import"./KAN7CBK7.js";import"./B5IEC4IT.js";import"./5TTXDO2X.js";import"./CWNIFA6D.js";import"./CNEWKYEJ.js";import"./XC5VKQJJ.js";import"./VT5P4INT.js";import{h as l,i as h}from"./LACXORO5.js";import{a as m}from"./F4VOMVZI.js";import{D as p,I as u,c as d,d as r,o as n,q as f}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";var g=d`@layer{/** @license
3
+ v1.0.0-next.20250610 */
4
+ import{a as b}from"./6XDCOPQY.js";import{a}from"./M74AMYXF.js";import"./FO3XKEOC.js";import"./MFATTJGH.js";import"./XPJYK2RV.js";import"./RLTUCGPF.js";import"./G6HN6TFX.js";import"./AJ4EANAJ.js";import"./LFIVJEK2.js";import"./5PTXJEIG.js";import"./4BBMUYOY.js";import"./V3GT6ZDE.js";import"./OG4YXHRH.js";import"./ZRRGRRES.js";import"./JFIQPHVY.js";import"./MSN724ZV.js";import"./JA6ZHJAG.js";import"./XKTGW3XN.js";import"./3MMNPTWA.js";import"./LUWKLSCB.js";import"./GRH6L6AX.js";import"./6ZSHJ5AZ.js";import{h as l,i as h}from"./QVNQSDMG.js";import{a as m}from"./YJVHNGLM.js";import{D as u,c as d,d as r,n,p as f,y as p}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var g=d`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{a as r}from"./F4VOMVZI.js";import{D as o,I as n,c as t,d as i,q as s}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";var a=t`@layer{/** @license
3
+ v1.0.0-next.20250610 */
4
+ import{a as r}from"./YJVHNGLM.js";import{D as n,c as t,d as i,p as s,y as o}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var a=t`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import{a as r,b as d,e as g,g as f,j as y,k as _,o as b,p as x,r as I,s as C,v}from"./TXLHJXSD.js";import"./JYHFFQPV.js";import"./Z2XU5LLK.js";import{C as u}from"./ERW3YZU6.js";import{a as h,c as n,e as m,f as L,h as w}from"./KSWXMOC6.js";import"./FQLSHIBF.js";var k=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact.sc-instant-apps-interactive-legend-count .instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-size:0.75rem}.sc-instant-apps-interactive-legend-count-h:dir(rtl){margin-left:0;margin-right:auto}",E=k,p={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},A=class{constructor(e){h(this,e),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId="",this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0});let t=await u();this.intl=t}render(){let e=d.get("compact")?p.compact:"";return n("div",{key:"int-legend-count",class:e},this.showTotal?n("span",{class:p.totalFeatureCount},this.messages?.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:`${p.countText} ${v(this.el)}${this.selected?p.countTextSelected:""}`},this.getCount()))}getCount(){let{categoryId:e}=this,t=this.activeLayerInfo.layer.id,i=r.data[t]?.categories?.size;if((!r.data||!t||!e)&&!i)return"";let s=r.data[t];if(!s)return;let{categories:l}=s,a=l.get(e),c;return a?.nestedInfos?c=I(a,this.infoIndex):c=a,Number.isNaN(c.count)?"":this.intl.formatNumber(c.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!r.data||!e)return"";let t=r.data[e];if(!t)return;let{categories:i}=t,s=g(i),l=C(i),a;if(l)a=x(s);else if(y(this.activeLayerInfo)){let c=f(this.activeLayerInfo.layer);a=g(c.categories)[1].count}else a=b(s);return this.intl.formatNumber(a)}get el(){return m(this)}};A.style=E;var S=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:500;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header--compact.sc-instant-apps-interactive-legend-layer-element-caption .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{font-size:0.9rem}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",z=S,o={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},T=class{constructor(e){h(this,e),this.layerCaptionElementExpandUpdatedEvent=L(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let e=_(this.activeLayerInfo),{expanded:t}=this,i=t?this.messages?.collapse:this.messages?.expand,s=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",l=d.get("compact")?` ${o.compact}`:"";return n("header",{key:"bfb5c7b5059bcefcd898b46a4e2bb1f5397a2d6f",class:`${o.interacitveLegendHeader} ${v(this.el)}${l}`},n("calcite-action",{key:"24eee4c2208df0dfa8fb209729c67ec1f34d843e",onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:i??"",label:i,scale:"s"}),n("span",{key:"95977b78f4afe0206085567b061c8cb5d9f8dc5d"},n("span",{key:"258004a4847688b94edf6d8416eef9cb07accfe5",class:o.headerActionContainer},n("h3",{key:"980f06c2054a8be5c471b5b44c667b4be1a451f9",class:`${o.header} ${o.label}${s}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&e?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return m(this)}};T.style=z;export{A as instant_apps_interactive_legend_count,T as instant_apps_interactive_legend_layer_element_caption};
3
+ v1.0.0-next.20250610 */
4
+ import{a as r,b as d,e as g,g as f,j as y,k as _,o as b,p as x,r as I,s as C,v}from"./XARXAL4K.js";import"./DZTZIDHJ.js";import"./KB55TNLB.js";import{C as u}from"./P7PGGEDY.js";import{a as h,c as n,e as m,f as L,h as w}from"./C2WZRDNU.js";import"./SA3FJIMJ.js";var k=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact.sc-instant-apps-interactive-legend-count .instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-size:0.75rem}.sc-instant-apps-interactive-legend-count-h:dir(rtl){margin-left:0;margin-right:auto}",E=k,p={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},A=class{constructor(e){h(this,e),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId="",this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0});let t=await u();this.intl=t}render(){let e=d.get("compact")?p.compact:"";return n("div",{key:"int-legend-count",class:e},this.showTotal?n("span",{class:p.totalFeatureCount},this.messages?.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:`${p.countText} ${v(this.el)}${this.selected?p.countTextSelected:""}`},this.getCount()))}getCount(){let{categoryId:e}=this,t=this.activeLayerInfo.layer.id,i=r.data[t]?.categories?.size;if((!r.data||!t||!e)&&!i)return"";let s=r.data[t];if(!s)return;let{categories:l}=s,a=l.get(e),c;return a?.nestedInfos?c=I(a,this.infoIndex):c=a,Number.isNaN(c.count)?"":this.intl.formatNumber(c.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!r.data||!e)return"";let t=r.data[e];if(!t)return;let{categories:i}=t,s=g(i),l=C(i),a;if(l)a=x(s);else if(y(this.activeLayerInfo)){let c=f(this.activeLayerInfo.layer);a=g(c.categories)[1].count}else a=b(s);return this.intl.formatNumber(a)}get el(){return m(this)}};A.style=E;var S=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:500;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header--compact.sc-instant-apps-interactive-legend-layer-element-caption .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{font-size:0.9rem}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",z=S,o={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},T=class{constructor(e){h(this,e),this.layerCaptionElementExpandUpdatedEvent=L(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let e=_(this.activeLayerInfo),{expanded:t}=this,i=t?this.messages?.collapse:this.messages?.expand,s=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",l=d.get("compact")?` ${o.compact}`:"";return n("header",{key:"bfb5c7b5059bcefcd898b46a4e2bb1f5397a2d6f",class:`${o.interacitveLegendHeader} ${v(this.el)}${l}`},n("calcite-action",{key:"24eee4c2208df0dfa8fb209729c67ec1f34d843e",onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:i??"",label:i,scale:"s"}),n("span",{key:"95977b78f4afe0206085567b061c8cb5d9f8dc5d"},n("span",{key:"258004a4847688b94edf6d8416eef9cb07accfe5",class:o.headerActionContainer},n("h3",{key:"980f06c2054a8be5c471b5b44c667b4be1a451f9",class:`${o.header} ${o.label}${s}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&e?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return m(this)}};T.style=z;export{A as instant_apps_interactive_legend_count,T as instant_apps_interactive_legend_layer_element_caption};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
4
- import"./FQLSHIBF.js";var l=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{helperText:{labelKey:`${e}.fields.prompt.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]});export{l as buildUiSchema};
3
+ v1.0.0-next.20250610 */
4
+ import"./SA3FJIMJ.js";var l=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{helperText:{labelKey:`${e}.fields.prompt.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]});export{l as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250604 */
3
+ v1.0.0-next.20250610 */
4
4
  function a(r){return Array.isArray(r)?r:Array.from(r)}export{a};