@esri/solutions-components 1.0.0-next.20250506 → 1.0.0-next.20250506.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/dist/cdn/{MMQJDH4M.js → 24HG25VK.js} +2 -2
  2. package/dist/cdn/{QLHSQI3A.js → 25FSOTFW.js} +2 -2
  3. package/dist/cdn/{GBBL6RYB.js → 277TP75D.js} +2 -2
  4. package/dist/cdn/{BVCZUB6R.js → 2CTI34Z6.js} +2 -2
  5. package/dist/cdn/{XB53RDG3.js → 2OUKMEGJ.js} +2 -2
  6. package/dist/cdn/{IHD5L26J.js → 2OXZPI6J.js} +2 -2
  7. package/dist/cdn/{FN4YCITS.js → 2VGSUSSJ.js} +2 -2
  8. package/dist/cdn/32ADEBH7.js +4 -0
  9. package/dist/cdn/{3PIKDQ7B.js → 343QIIN4.js} +2 -2
  10. package/dist/cdn/{XEPFDR33.js → 3SIDE2MZ.js} +2 -2
  11. package/dist/cdn/{TLLOLMEW.js → 3V6CMPYL.js} +2 -2
  12. package/dist/cdn/{5FDGCTBP.js → 3ZAC7KPY.js} +2 -2
  13. package/dist/cdn/{TE4BFLBG.js → 44EW25X7.js} +2 -2
  14. package/dist/cdn/{CZ7QSRM3.js → 47RKZZYU.js} +2 -2
  15. package/dist/cdn/{54SRG2XP.js → 4C3ALUA4.js} +2 -2
  16. package/dist/cdn/{EBSKW3LL.js → 4DVIE54A.js} +2 -2
  17. package/dist/cdn/{AD55O7ES.js → 4FO53H2N.js} +2 -2
  18. package/dist/cdn/{3GPZVEES.js → 4KMKJ4MQ.js} +2 -2
  19. package/dist/cdn/{HEOEJ7XC.js → 4NGMIXLU.js} +2 -2
  20. package/dist/cdn/{YBUDPKCM.js → 4NO5UFRF.js} +1 -1
  21. package/dist/cdn/{6MVFUDAF.js → 4OVM4MIC.js} +2 -2
  22. package/dist/cdn/{KIDIMMPV.js → 4PTXN5WN.js} +2 -2
  23. package/dist/cdn/{VZQJJJ7N.js → 4QTVQTWW.js} +2 -2
  24. package/dist/cdn/{QNADLQ7I.js → 4S2LGGIS.js} +2 -2
  25. package/dist/cdn/{NYXG3TT3.js → 4TK6UC7L.js} +2 -2
  26. package/dist/cdn/{Q6QSFU5G.js → 4TNRV5HQ.js} +2 -2
  27. package/dist/cdn/{MJSJKWQE.js → 5IPD66RZ.js} +1 -1
  28. package/dist/cdn/{GRH3FNUR.js → 5KMYTALG.js} +2 -2
  29. package/dist/cdn/{RCWM332G.js → 5MZCRWR6.js} +2 -2
  30. package/dist/cdn/{TUSBYZ4U.js → 5RPZREL2.js} +2 -2
  31. package/dist/cdn/{BOFSVHG2.js → 5S4HGJEN.js} +2 -2
  32. package/dist/cdn/{2BNBYNZL.js → 5VVYQUIK.js} +2 -2
  33. package/dist/cdn/{5XNVKERC.js → 5XCBVPEJ.js} +1 -1
  34. package/dist/cdn/{WIGPC3KR.js → 6ADX5YCX.js} +2 -2
  35. package/dist/cdn/6IOBEPUO.js +4 -0
  36. package/dist/cdn/{YBNSJHOY.js → 6MB7FU4Y.js} +2 -2
  37. package/dist/cdn/{5FCSNF7Z.js → 6MOBEALK.js} +2 -2
  38. package/dist/cdn/{KBPHRWS4.js → 6YK2RFGE.js} +2 -2
  39. package/dist/cdn/{WT4NOXZO.js → 77FG2UXK.js} +1 -1
  40. package/dist/cdn/{QVHT3S4J.js → 7ACSM2YB.js} +2 -2
  41. package/dist/cdn/{JDW5U5DH.js → 7K2EWZ4V.js} +1 -1
  42. package/dist/cdn/{GHUCQESF.js → 7KYKOF2I.js} +2 -2
  43. package/dist/cdn/{EBSDJW3N.js → 7O4PDXW4.js} +2 -2
  44. package/dist/cdn/{3VQLTGIB.js → 7UJOIQQR.js} +2 -2
  45. package/dist/cdn/{F5E6TK4C.js → 7ZUTU5RY.js} +2 -2
  46. package/dist/cdn/A26DEWRW.js +4 -0
  47. package/dist/cdn/{EBQ6BYPP.js → A2AGIHZY.js} +2 -2
  48. package/dist/cdn/{3FZWNANP.js → A5UYRD2U.js} +2 -2
  49. package/dist/cdn/{3BXQBQ54.js → AGGRBVNS.js} +2 -2
  50. package/dist/cdn/{MALANZ3X.js → AIWA7X7G.js} +2 -2
  51. package/dist/cdn/{G5VNHWHQ.js → AKMNIUXT.js} +2 -2
  52. package/dist/cdn/{4ZMC6JAM.js → ALKYMGVV.js} +1 -1
  53. package/dist/cdn/{7T43FSC7.js → ASGQIVIB.js} +2 -2
  54. package/dist/cdn/{EVZ2UXRX.js → AY657GGH.js} +2 -2
  55. package/dist/cdn/{FT4IQX2Z.js → B66A7LZQ.js} +2 -2
  56. package/dist/cdn/{U7OA3Y5P.js → BB4CBTJK.js} +2 -2
  57. package/dist/cdn/{KJ64N7XQ.js → BXNFXKXV.js} +2 -2
  58. package/dist/cdn/{GJ4TW7CF.js → C2RLNEU4.js} +2 -2
  59. package/dist/cdn/{HLIZJTZF.js → C6XZBUE2.js} +2 -2
  60. package/dist/cdn/{3A7FXKY2.js → C7EQDZ4M.js} +2 -2
  61. package/dist/cdn/{ZBFSMOWC.js → CADJZG3Z.js} +2 -2
  62. package/dist/cdn/{QSDCS2V6.js → CAGLPIPF.js} +2 -2
  63. package/dist/cdn/{MOBCKLO5.js → CPBVNIA2.js} +2 -2
  64. package/dist/cdn/{I7EFEOUT.js → CQTEVIDR.js} +2 -2
  65. package/dist/cdn/{H5DJ47IK.js → D473H7YD.js} +1 -1
  66. package/dist/cdn/{QLPHOVPS.js → D4XAHC4N.js} +2 -2
  67. package/dist/cdn/{A4KYPGE5.js → DBN6GJS6.js} +2 -2
  68. package/dist/cdn/{472FBZK2.js → DC3N7IST.js} +1 -1
  69. package/dist/cdn/{FTVZ2Y4Y.js → DCZKZQPQ.js} +2 -2
  70. package/dist/cdn/{4ZCGTKRB.js → DFZH4JDP.js} +2 -2
  71. package/dist/cdn/{BCQHCY5J.js → DIGEXEVD.js} +2 -2
  72. package/dist/cdn/{MW3SBXWD.js → DMTCZQGB.js} +1 -1
  73. package/dist/cdn/DOADYGDB.js +4 -0
  74. package/dist/cdn/{RJRX6YJH.js → DOTDQSSL.js} +2 -2
  75. package/dist/cdn/{7BZS2MB3.js → DPNSCBBO.js} +1 -1
  76. package/dist/cdn/{3CPIHDNH.js → DW6QFLMC.js} +2 -2
  77. package/dist/cdn/{OOMZPP3K.js → DXQ3LDCB.js} +2 -2
  78. package/dist/cdn/{ZINUZJUT.js → E4P22JZK.js} +1 -1
  79. package/dist/cdn/{WBFFCQWF.js → E7BM2VNY.js} +2 -2
  80. package/dist/cdn/{W2LECCSV.js → EELLYXNN.js} +1 -1
  81. package/dist/cdn/{DCT33VJ3.js → EIQNRR4P.js} +2 -2
  82. package/dist/cdn/{HGKMH45K.js → EJZKFB4Z.js} +2 -2
  83. package/dist/cdn/{3ZRGEQCY.js → EOYZ5MEY.js} +2 -2
  84. package/dist/cdn/{QANVXL5I.js → EYFKB5UR.js} +1 -1
  85. package/dist/cdn/{KP5OJ3ZT.js → EYVTUHVJ.js} +2 -2
  86. package/dist/cdn/{ZXUZYZ63.js → F2NPMFYG.js} +2 -2
  87. package/dist/cdn/{JT5QQSZM.js → F777BKYK.js} +2 -2
  88. package/dist/cdn/{RXXW5VAY.js → FAZOBB62.js} +2 -2
  89. package/dist/cdn/{KP4M7FMS.js → FM3TGG3U.js} +1 -1
  90. package/dist/cdn/{4FALIKEZ.js → FO33AVRG.js} +2 -2
  91. package/dist/cdn/{AY3QSNRE.js → FWL2VP7W.js} +2 -2
  92. package/dist/cdn/{ORCWQHX7.js → FXQSFX4Q.js} +2 -2
  93. package/dist/cdn/{GLZ263ZP.js → GAQOXRME.js} +1 -1
  94. package/dist/cdn/{STCY7MQT.js → GG4OVZHW.js} +2 -2
  95. package/dist/cdn/{CLPKSXFK.js → GQO2KP3I.js} +1 -1
  96. package/dist/cdn/GVRBVSQP.js +4 -0
  97. package/dist/cdn/{AIOO2QWL.js → GVS6OC6I.js} +2 -2
  98. package/dist/cdn/{VXWKIKTD.js → H3GY7WZY.js} +2 -2
  99. package/dist/cdn/{AYJVDDFY.js → H43GRPO5.js} +2 -2
  100. package/dist/cdn/{4OKIWPYX.js → HHY7QSTW.js} +2 -2
  101. package/dist/cdn/{XK7RUU5U.js → HK7ORFOY.js} +2 -2
  102. package/dist/cdn/{GCXOG3FT.js → HP45S4UO.js} +2 -2
  103. package/dist/cdn/{TFL3T2ME.js → HPADRK2N.js} +2 -2
  104. package/dist/cdn/{OWJHYCCR.js → HPLREYIV.js} +2 -2
  105. package/dist/cdn/{KDSQ5CZA.js → HPSATKU6.js} +2 -2
  106. package/dist/cdn/{2CIE6LR3.js → HQLVVCY5.js} +2 -2
  107. package/dist/cdn/{MN3WPQFX.js → HSIGQHGC.js} +2 -2
  108. package/dist/cdn/{C6ZAXIN6.js → HUP3OLOI.js} +2 -2
  109. package/dist/cdn/{SL4XZ3A5.js → HVFFPMUB.js} +2 -2
  110. package/dist/cdn/{UGLKEWDX.js → IC5TQPF6.js} +2 -2
  111. package/dist/cdn/{OWEVUGJE.js → IDFBPJOG.js} +2 -2
  112. package/dist/cdn/{DGCQZ6RA.js → IFPYXLV5.js} +2 -2
  113. package/dist/cdn/{7EMRFRMY.js → INJHMY2P.js} +2 -2
  114. package/dist/cdn/{2FLOQCFJ.js → IOG3GJFK.js} +2 -2
  115. package/dist/cdn/{FE2BUSRT.js → ISRQ3BAT.js} +2 -2
  116. package/dist/cdn/{VN4AH5OX.js → ITICLHXB.js} +2 -2
  117. package/dist/cdn/{QGQLOURY.js → J22XBVJX.js} +2 -2
  118. package/dist/cdn/{WRAEKXFO.js → J3KEXR6N.js} +2 -2
  119. package/dist/cdn/{TU2V5WMX.js → JAH6KVAQ.js} +2 -2
  120. package/dist/cdn/{YAAHEQLO.js → JALWXGJR.js} +2 -2
  121. package/dist/cdn/{HNVWWRBO.js → JDFGWL2P.js} +2 -2
  122. package/dist/cdn/{YYBBUCKA.js → JF22WXGR.js} +2 -2
  123. package/dist/cdn/{NFBSLKRV.js → JIG5WCW6.js} +2 -2
  124. package/dist/cdn/{3X7CET35.js → JMLPIAZ5.js} +2 -2
  125. package/dist/cdn/{5BLFSPAT.js → JOKITFSD.js} +2 -2
  126. package/dist/cdn/{STNI3XU5.js → JPVITM3R.js} +2 -2
  127. package/dist/cdn/{CLQIEIJQ.js → JSL7F3AB.js} +1 -1
  128. package/dist/cdn/{QFH4HW4C.js → K36J5DBT.js} +2 -2
  129. package/dist/cdn/{RXICRR2Z.js → K6YZHC7R.js} +2 -2
  130. package/dist/cdn/{3TWUDXKA.js → KA75RHIE.js} +2 -2
  131. package/dist/cdn/{R2NGOWNQ.js → KIJ2HVBA.js} +2 -2
  132. package/dist/cdn/{CDLBM5OZ.js → KKHP5J6S.js} +2 -2
  133. package/dist/cdn/{KTLARGFA.js → KOTWOAEH.js} +2 -2
  134. package/dist/cdn/{S5W5A5J7.js → KR424OVE.js} +2 -2
  135. package/dist/cdn/{6Q7ROHDK.js → KTYRFLWJ.js} +1 -1
  136. package/dist/cdn/{OQPGXB2C.js → KUXTUEIU.js} +2 -2
  137. package/dist/cdn/{BE3YZGYN.js → KYFGGGZO.js} +2 -2
  138. package/dist/cdn/{4EGMVXYU.js → LA3TMPSQ.js} +2 -2
  139. package/dist/cdn/{4NREZRZW.js → LEUJGAQT.js} +2 -2
  140. package/dist/cdn/{VUO6JDGQ.js → LITGQOKY.js} +2 -2
  141. package/dist/cdn/{LKBK7FXJ.js → LOAR7D23.js} +2 -2
  142. package/dist/cdn/{LFLMQMLV.js → LPQXKCT4.js} +2 -2
  143. package/dist/cdn/{BUL7XHMT.js → LT2L2HN5.js} +2 -2
  144. package/dist/cdn/{CD63U7CH.js → MAJHV5YB.js} +2 -2
  145. package/dist/cdn/{7RFDZNLL.js → MBBEW2XH.js} +2 -2
  146. package/dist/cdn/{ZLHIEPB4.js → MBYSAPXD.js} +2 -2
  147. package/dist/cdn/{5ATRS4TL.js → MG5AEQHW.js} +2 -2
  148. package/dist/cdn/{KC63JROC.js → MINRT2AD.js} +2 -2
  149. package/dist/cdn/{CRCAD7BU.js → MJWRLAA3.js} +2 -2
  150. package/dist/cdn/{OMJNNLKQ.js → MYNX7A4Q.js} +2 -2
  151. package/dist/cdn/{FDLJGA75.js → MYSMFQDL.js} +2 -2
  152. package/dist/cdn/{TU6P27JN.js → MZNCDKNL.js} +2 -2
  153. package/dist/cdn/{QLPVPSY7.js → NEVOR7UF.js} +1 -1
  154. package/dist/cdn/NPMFAEBD.js +4 -0
  155. package/dist/cdn/{QZ2OG4ZJ.js → NRDWJNF4.js} +2 -2
  156. package/dist/cdn/{I7MNDC3F.js → NS5VBZHP.js} +2 -2
  157. package/dist/cdn/NU2OXFST.js +4 -0
  158. package/dist/cdn/{VZOVLKJA.js → NVZHVYYH.js} +2 -2
  159. package/dist/cdn/{HKSIUKXF.js → NWE65CEC.js} +1 -1
  160. package/dist/cdn/NWJLUJRF.js +4 -0
  161. package/dist/cdn/{2YF54KJU.js → NXK4MWLX.js} +2 -2
  162. package/dist/cdn/{LMPILBZH.js → O3VJRNON.js} +2 -2
  163. package/dist/cdn/{6BVRDKCQ.js → O55NB5I2.js} +2 -2
  164. package/dist/cdn/{P22XPKGL.js → OATNKA2V.js} +2 -2
  165. package/dist/cdn/{UG3LJWJU.js → OLDFMVM6.js} +2 -2
  166. package/dist/cdn/{RKQKF2D5.js → OWMSCTHB.js} +2 -2
  167. package/dist/cdn/{MRQ546N3.js → PFUQXONQ.js} +1 -1
  168. package/dist/cdn/{M4DFLFMZ.js → PJMGGONS.js} +2 -2
  169. package/dist/cdn/{DY5UIEJA.js → PPFTCKIR.js} +2 -2
  170. package/dist/cdn/{4WBS6U7F.js → Q2IPYTRX.js} +2 -2
  171. package/dist/cdn/{YDJNMGKZ.js → Q2S2L2IR.js} +2 -2
  172. package/dist/cdn/{O2MAWXMU.js → QB6WECAO.js} +2 -2
  173. package/dist/cdn/{TK7AMW2A.js → QCUKGKOV.js} +2 -2
  174. package/dist/cdn/{VJBJUXPU.js → QMDKVVH5.js} +2 -2
  175. package/dist/cdn/{7T7WF7EI.js → QSYR7Q6X.js} +1 -1
  176. package/dist/cdn/{X2EMSYIO.js → R3MJUZCZ.js} +2 -2
  177. package/dist/cdn/{VDHBL26E.js → REUOEGNX.js} +2 -2
  178. package/dist/cdn/{O4B2DT7W.js → RF2VI4N7.js} +2 -2
  179. package/dist/cdn/{LWHYYFKA.js → RGFAZJP6.js} +2 -2
  180. package/dist/cdn/{YGLJWGAU.js → RIHR2PJN.js} +2 -2
  181. package/dist/cdn/{I6YHTRIM.js → RIYF7P2C.js} +2 -2
  182. package/dist/cdn/{UDHJ5CFN.js → RLWSZ4HQ.js} +2 -2
  183. package/dist/cdn/{UCYOOMX5.js → ROIVGYSM.js} +1 -1
  184. package/dist/cdn/{55MKMXGS.js → RUTSW7HN.js} +1 -1
  185. package/dist/cdn/{7BYZWZW5.js → S622E22B.js} +2 -2
  186. package/dist/cdn/{DJYP6V6T.js → SKNW5VCU.js} +2 -2
  187. package/dist/cdn/{LBHMN5IN.js → SPON62E4.js} +2 -2
  188. package/dist/cdn/{BVQYLN5G.js → SQOEM3P5.js} +1 -1
  189. package/dist/cdn/{O7GA42LQ.js → SQRWE2MV.js} +2 -2
  190. package/dist/cdn/{NVFYR6WF.js → STOKDNCN.js} +2 -2
  191. package/dist/cdn/{5HT54T3T.js → SXRISHGN.js} +1 -1
  192. package/dist/cdn/{BM3NZBB5.js → SYZ2PD7V.js} +2 -2
  193. package/dist/cdn/{AQ66RIGB.js → T4FPQT6Q.js} +1 -1
  194. package/dist/cdn/{MCEPX3HS.js → T6ACGRID.js} +2 -2
  195. package/dist/cdn/{KBZQB5ZG.js → TKKZCD3D.js} +2 -2
  196. package/dist/cdn/{5FW2PG4A.js → TSVIA6LX.js} +2 -2
  197. package/dist/cdn/{QSVT2DE7.js → TT45ZE3U.js} +2 -2
  198. package/dist/cdn/{N4YIU2XQ.js → TTIEVPAX.js} +2 -2
  199. package/dist/cdn/{K33KLMEF.js → U4NSDOD5.js} +2 -2
  200. package/dist/cdn/{QL7QVIQU.js → UBBP433D.js} +1 -1
  201. package/dist/cdn/{BY66JXUA.js → UBDWCH3J.js} +2 -2
  202. package/dist/cdn/{T2KV5AD5.js → UBFXRGUL.js} +2 -2
  203. package/dist/cdn/{7LHSSDR5.js → USL3KX2U.js} +2 -2
  204. package/dist/cdn/{TEFM3AA3.js → UYJS44LC.js} +2 -2
  205. package/dist/cdn/{YL7EG5AA.js → V5XUAHEB.js} +1 -1
  206. package/dist/cdn/{D3XWHE4G.js → V6J4NOFW.js} +2 -2
  207. package/dist/cdn/{FNPIEXII.js → VERJI2SH.js} +2 -2
  208. package/dist/cdn/{PD6S74N6.js → VHM7TR5J.js} +2 -2
  209. package/dist/cdn/{JSC6Q76O.js → VNWXPGNO.js} +2 -2
  210. package/dist/cdn/{PRRNPYDZ.js → VNZX57M6.js} +1 -1
  211. package/dist/cdn/{LHDUZO7G.js → VQQVMG7C.js} +1 -1
  212. package/dist/cdn/{TWWXSJS5.js → VSVG3AWA.js} +4 -4
  213. package/dist/cdn/{7YWBSS6J.js → VT6U64GN.js} +2 -2
  214. package/dist/cdn/{UBZEAPAX.js → VWSETFC3.js} +2 -2
  215. package/dist/cdn/{J3QWUVMY.js → VX7KAJNW.js} +2 -2
  216. package/dist/cdn/{MPAYLI27.js → VXKC4BYB.js} +2 -2
  217. package/dist/cdn/{SDRMIMTR.js → VXNDYVZW.js} +2 -2
  218. package/dist/cdn/{JXNAB5WB.js → VZ37PJTM.js} +2 -2
  219. package/dist/cdn/{HK5BM2IR.js → VZG427AU.js} +2 -2
  220. package/dist/cdn/{PNYR3EK6.js → W3ANKXXH.js} +1 -1
  221. package/dist/cdn/{OOVTB7G5.js → W3XCI5GU.js} +2 -2
  222. package/dist/cdn/{JPZXVCEU.js → WCO2JYT7.js} +1 -1
  223. package/dist/cdn/{STB44EY7.js → WD3NSCN4.js} +1 -1
  224. package/dist/cdn/{AD46D2SM.js → WFHI2T5X.js} +2 -2
  225. package/dist/cdn/{KO2M3OMZ.js → WFZ4KL2P.js} +2 -2
  226. package/dist/cdn/{2RC2UMSX.js → WG26EIDL.js} +2 -2
  227. package/dist/cdn/{YQGEIDBI.js → WKWF4ARW.js} +2 -2
  228. package/dist/cdn/{A5UPNZVE.js → WNHOXW2E.js} +2 -2
  229. package/dist/cdn/{HBAHYGF7.js → WNPZHTCP.js} +2 -2
  230. package/dist/cdn/{CB7FE7TZ.js → WOWOQ2TS.js} +2 -2
  231. package/dist/cdn/{T77OJIMR.js → WSNDSKW3.js} +2 -2
  232. package/dist/cdn/{3SG4KYD4.js → WVAVHWQN.js} +2 -2
  233. package/dist/cdn/{AREJ3VDO.js → WWH37ZAK.js} +1 -1
  234. package/dist/cdn/{72OD3HKE.js → WXNVFGFS.js} +2 -2
  235. package/dist/cdn/{LHPBHUX2.js → WY7PHM6L.js} +2 -2
  236. package/dist/cdn/{U4SXAT5F.js → WZGXEUMM.js} +2 -2
  237. package/dist/cdn/{LAL3OHQ7.js → X3AF2OQY.js} +1 -1
  238. package/dist/cdn/{JSS75EUB.js → X3VDJVLL.js} +2 -2
  239. package/dist/cdn/{WLPQLTES.js → XARWIX77.js} +2 -2
  240. package/dist/cdn/{W2IA7LER.js → XF7VPD22.js} +2 -2
  241. package/dist/cdn/{JJG25DHQ.js → XRBMRHXH.js} +2 -2
  242. package/dist/cdn/{I5TLTNQV.js → XYSFY3W6.js} +2 -2
  243. package/dist/cdn/{ZVA5E3YN.js → XYWQ6JNM.js} +2 -2
  244. package/dist/cdn/{LGQBFWDJ.js → Y4BDPKKL.js} +2 -2
  245. package/dist/cdn/{NHIIJKLQ.js → Y7WVUKZX.js} +2 -2
  246. package/dist/cdn/{4NJQRXPT.js → YCXOPVSF.js} +2 -2
  247. package/dist/cdn/{735FUYLP.js → YDW3WSTZ.js} +2 -2
  248. package/dist/cdn/{XIJKTNHS.js → YEWPTOSA.js} +2 -2
  249. package/dist/cdn/{5AT6U7IM.js → YHN2YRS5.js} +2 -2
  250. package/dist/cdn/{ULKSAGQV.js → YIDDZHZJ.js} +2 -2
  251. package/dist/cdn/{OI4YQ3XL.js → YKDQJMLK.js} +2 -2
  252. package/dist/cdn/{6UBVRTY3.js → YO66L5EQ.js} +2 -2
  253. package/dist/cdn/{RBSL4YEZ.js → YVK6HDUD.js} +2 -2
  254. package/dist/cdn/{A6GN4AGX.js → YWJHRAU6.js} +2 -2
  255. package/dist/cdn/{WFJQLKTW.js → YXGKJSHK.js} +1 -1
  256. package/dist/cdn/{D3QJCJFO.js → YYNMVPOT.js} +2 -2
  257. package/dist/cdn/{Z3PMA3N3.js → Z2FRREMF.js} +1 -1
  258. package/dist/cdn/{5YYG3KZ3.js → Z5KPLWAQ.js} +2 -2
  259. package/dist/cdn/{J3MLABD7.js → Z624TXCK.js} +2 -2
  260. package/dist/cdn/{6L454NXU.js → ZEFQFCIT.js} +1 -1
  261. package/dist/cdn/{H2VXOJH7.js → ZQ5UT5TX.js} +2 -2
  262. package/dist/cdn/ZRGZWYVN.js +18 -0
  263. package/dist/cdn/{CE6F7GKW.js → ZV26VFK3.js} +2 -2
  264. package/dist/cdn/{H3PEVOTC.js → ZXAYQBSO.js} +2 -2
  265. package/dist/cdn/{WLUGQLQU.js → ZY26SHW7.js} +2 -2
  266. package/dist/cdn/{QAHXORCG.js → ZZRTACNG.js} +2 -2
  267. package/dist/cdn/index.esm.js +2 -2
  268. package/dist/chunks/common.js +1 -1
  269. package/dist/chunks/downloadUtils.js +1 -1
  270. package/dist/chunks/index.js +1 -1
  271. package/dist/chunks/interfaces.js +1 -1
  272. package/dist/chunks/loadModules.js +1 -1
  273. package/dist/chunks/mapViewUtils.js +1 -1
  274. package/dist/chunks/pciUtils.js +1 -1
  275. package/dist/chunks/popupUtils.js +1 -1
  276. package/dist/chunks/publicNotificationStore.js +1 -1
  277. package/dist/chunks/queryUtils.js +1 -1
  278. package/dist/chunks/runtime.js +1 -1
  279. package/dist/chunks/solution-store.js +1 -1
  280. package/dist/chunks/templates.js +1 -1
  281. package/dist/chunks/useT9n.js +1 -1
  282. package/dist/components/arcgis-solution-assistant/customElement.js +1 -1
  283. package/dist/components/basemap-gallery/customElement.js +1 -1
  284. package/dist/components/buffer-tools/customElement.js +1 -1
  285. package/dist/components/card-manager/customElement.js +1 -1
  286. package/dist/components/consent-manager/customElement.js +1 -1
  287. package/dist/components/create-feature/customElement.js +1 -1
  288. package/dist/components/create-related-feature/customElement.js +1 -1
  289. package/dist/components/crowdsource-manager/customElement.js +1 -1
  290. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  291. package/dist/components/deduct-calculator/customElement.js +1 -1
  292. package/dist/components/delete-button/customElement.js +1 -1
  293. package/dist/components/delete-dialog/customElement.js +1 -1
  294. package/dist/components/edit-card/customElement.js +1 -1
  295. package/dist/components/feature-details/customElement.js +1 -1
  296. package/dist/components/feature-list/customElement.js +1 -1
  297. package/dist/components/field-selection/customElement.js +1 -1
  298. package/dist/components/floor-filter/customElement.js +1 -1
  299. package/dist/components/info-card/customElement.js +1 -1
  300. package/dist/components/json-editor/customElement.js +1 -1
  301. package/dist/components/layer-list/customElement.js +1 -1
  302. package/dist/components/layer-table/customElement.js +1 -1
  303. package/dist/components/map-card/customElement.js +1 -1
  304. package/dist/components/map-draw-tools/customElement.js +1 -1
  305. package/dist/components/map-fullscreen/customElement.js +1 -1
  306. package/dist/components/map-layer-picker/customElement.js +1 -1
  307. package/dist/components/map-legend/customElement.js +1 -1
  308. package/dist/components/map-picker/customElement.js +1 -1
  309. package/dist/components/map-search/customElement.js +1 -1
  310. package/dist/components/map-select-tools/customElement.js +1 -1
  311. package/dist/components/map-tools/customElement.js +1 -1
  312. package/dist/components/pci-calculator/customElement.js +1 -1
  313. package/dist/components/pdf-download/customElement.js +1 -1
  314. package/dist/components/public-notification/customElement.js +1 -1
  315. package/dist/components/refine-selection/customElement.js +1 -1
  316. package/dist/components/solution-arcticle-card/customElement.js +1 -1
  317. package/dist/components/solution-card/customElement.js +1 -1
  318. package/dist/components/solution-configuration/customElement.js +1 -1
  319. package/dist/components/solution-contents/customElement.js +1 -1
  320. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  321. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  322. package/dist/components/solution-deploy-panel/customElement.js +1 -1
  323. package/dist/components/solution-deployed-card/customElement.js +1 -1
  324. package/dist/components/solution-deployed-panel/customElement.js +1 -1
  325. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  326. package/dist/components/solution-item/customElement.js +1 -1
  327. package/dist/components/solution-item-accordion/customElement.js +1 -1
  328. package/dist/components/solution-item-details/customElement.js +1 -1
  329. package/dist/components/solution-item-icon/customElement.js +6 -6
  330. package/dist/components/solution-item-sharing/customElement.js +1 -1
  331. package/dist/components/solution-organization-variables/customElement.js +1 -1
  332. package/dist/components/solution-resource-item/customElement.js +1 -1
  333. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  334. package/dist/components/solution-template-data/customElement.js +1 -1
  335. package/dist/components/solution-variables/customElement.js +1 -1
  336. package/dist/components/solutions-article-panel/customElement.js +1 -1
  337. package/dist/components/solutions-articles/customElement.js +1 -1
  338. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  339. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  340. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  341. package/dist/components/solutions-filter/customElement.js +1 -1
  342. package/dist/components/solutions-panel/customElement.js +1 -1
  343. package/dist/components/solutions-shell/customElement.js +1 -1
  344. package/dist/components/spatial-ref/customElement.js +1 -1
  345. package/dist/components/store-manager/customElement.js +1 -1
  346. package/dist/docs/api.json +1 -1
  347. package/dist/docs/docs.json +1 -1
  348. package/dist/docs/web-types.json +1 -1
  349. package/dist/index.js +1 -1
  350. package/dist/loader.js +1 -1
  351. package/package.json +2 -1
  352. package/dist/cdn/2EXNFW3A.js +0 -18
  353. package/dist/cdn/4A6QNOIE.js +0 -4
  354. package/dist/cdn/5O4AB33V.js +0 -4
  355. package/dist/cdn/ARLUTHYH.js +0 -4
  356. package/dist/cdn/R6NRJXSL.js +0 -4
  357. package/dist/cdn/VBYD2OER.js +0 -4
  358. package/dist/cdn/VG2YZYBI.js +0 -4
  359. package/dist/cdn/VTNNA7UU.js +0 -4
  360. package/dist/cdn/XPN5427G.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250506 */
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"./WLUGQLQU.js";import"./CDLBM5OZ.js";import"./TLLOLMEW.js";import{C as Ce,E as ke,c as Re,z as Se}from"./WT4NOXZO.js";import{a as Me,c as g,e as Ee,h as ce}from"./D3QJCJFO.js";import"./YL7EG5AA.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.20250506.1 */
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"./ZY26SHW7.js";import"./KKHP5J6S.js";import"./3V6CMPYL.js";import{C as Ce,E as ke,c as Re,z as Se}from"./77FG2UXK.js";import{a as Me,c as g,e as Ee,h as ce}from"./YYNMVPOT.js";import"./V5XUAHEB.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,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.20250506 */
4
- import{a as l}from"./FNPIEXII.js";import{B as o,c as r,d as a,n as s,w as n}from"./WFJQLKTW.js";import"./YL7EG5AA.js";var c=r`/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as l}from"./VERJI2SH.js";import{B as o,c as r,d as a,n as s,w as n}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var c=r`/** @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.20250506 */
4
- import{a as u,e as h}from"./PD6S74N6.js";import{a}from"./TEFM3AA3.js";import"./MRQ546N3.js";import"./4EGMVXYU.js";import"./RXXW5VAY.js";import"./QANVXL5I.js";import"./VXWKIKTD.js";import"./LHDUZO7G.js";import"./6L454NXU.js";import"./JPZXVCEU.js";import{B as l,n as o,q as n,w as i}from"./WFJQLKTW.js";import"./YL7EG5AA.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as u,e as h}from"./VHM7TR5J.js";import{a}from"./UYJS44LC.js";import"./PFUQXONQ.js";import"./LA3TMPSQ.js";import"./FAZOBB62.js";import"./EYFKB5UR.js";import"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./ZEFQFCIT.js";import"./WCO2JYT7.js";import{B as l,n as o,q as n,w as i}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
@@ -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.20250506 */
4
- import"./YL7EG5AA.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import"./V5XUAHEB.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250506 */
3
+ v1.0.0-next.20250506.1 */
4
4
  var n;(function(i){i.InPerson="inPerson",i.Online="online",i.Both="both"})(n||(n={}));var o;(function(i){i.Unlimited="unlimited",i.Fixed="fixed"})(o||(o={}));export{n as a,o as b};
@@ -0,0 +1,4 @@
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.20250506.1 */
4
+ import{a,b}from"./HP45S4UO.js";import"./RUTSW7HN.js";import"./V5XUAHEB.js";export{a as GroupEditorTypes,b as GroupSchema};
@@ -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.20250506 */
4
- import{a,b}from"./HGKMH45K.js";import"./DCT33VJ3.js";import"./5HT54T3T.js";import"./55MKMXGS.js";import"./YL7EG5AA.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a,b}from"./EJZKFB4Z.js";import"./EIQNRR4P.js";import"./SXRISHGN.js";import"./RUTSW7HN.js";import"./V5XUAHEB.js";export{a as PageEditorTypes,b as PageSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250506 */
4
- import{j as n}from"./WT4NOXZO.js";async function l(e){try{let s=await e.fetch("json",{cacheBust:!0});return Promise.resolve(s)}catch{console.error("Unable to get resource t9n data.")}}async function w(e){if(!e)return null;let s=await e.fetchResources({num:100}),o=`t9n/${e?.id}.json`,i=await n({path:o,portalItem:e}),c=s.resources.filter(r=>r.resource.path===o);if(c.length===0){let r="application/json",a=new Blob([JSON.stringify({})],{type:r});try{await e.addResource(i,a);let t=await e.fetchResources(),u=`t9n/${e?.id}.json`,R=t.resources.filter(f=>f.resource.path===u)[0].resource;return Promise.resolve(R)}catch(t){return console.error("ERROR: ",t),await Promise.reject(new Error("Failed to add resource"))}}else{let r=c[0].resource;return await Promise.resolve(r)}}export{l as a,w as b};
3
+ v1.0.0-next.20250506.1 */
4
+ import{j as n}from"./77FG2UXK.js";async function l(e){try{let s=await e.fetch("json",{cacheBust:!0});return Promise.resolve(s)}catch{console.error("Unable to get resource t9n data.")}}async function w(e){if(!e)return null;let s=await e.fetchResources({num:100}),o=`t9n/${e?.id}.json`,i=await n({path:o,portalItem:e}),c=s.resources.filter(r=>r.resource.path===o);if(c.length===0){let r="application/json",a=new Blob([JSON.stringify({})],{type:r});try{await e.addResource(i,a);let t=await e.fetchResources(),u=`t9n/${e?.id}.json`,R=t.resources.filter(f=>f.resource.path===u)[0].resource;return Promise.resolve(R)}catch(t){return console.error("ERROR: ",t),await Promise.reject(new Error("Failed to add resource"))}}else{let r=c[0].resource;return await Promise.resolve(r)}}export{l as a,w as b};
@@ -0,0 +1,4 @@
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.20250506.1 */
4
+ import{a,b}from"./WY7PHM6L.js";import"./CPBVNIA2.js";import"./KTYRFLWJ.js";import"./EIQNRR4P.js";import"./SXRISHGN.js";import"./RUTSW7HN.js";import"./V5XUAHEB.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -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.20250506 */
4
- import{a as t}from"./KDSQ5CZA.js";import"./MJSJKWQE.js";import"./QAHXORCG.js";import"./ORCWQHX7.js";import"./Z3PMA3N3.js";import"./6L454NXU.js";import"./ZINUZJUT.js";import"./YL7EG5AA.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m as buildUiSchema};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as t}from"./HPSATKU6.js";import"./5IPD66RZ.js";import"./ZZRTACNG.js";import"./FXQSFX4Q.js";import"./Z2FRREMF.js";import"./ZEFQFCIT.js";import"./E4P22JZK.js";import"./V5XUAHEB.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m 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.20250506 */
3
+ v1.0.0-next.20250506.1 */
4
4
  var n="'Avenir Next','Avenir','Helvetica Neue',sans-serif";function t(e){return e||n}export{t as a};
@@ -0,0 +1,4 @@
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.20250506.1 */
4
+ import{b as e,e as r}from"./7KYKOF2I.js";import"./SQOEM3P5.js";import"./IDFBPJOG.js";import"./W3ANKXXH.js";import{d as t}from"./DCZKZQPQ.js";import"./5IPD66RZ.js";import"./YIDDZHZJ.js";import"./EELLYXNN.js";import"./EYFKB5UR.js";import"./GQO2KP3I.js";import"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./ZEFQFCIT.js";import"./E4P22JZK.js";import"./V5XUAHEB.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
@@ -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.20250506 */
4
- import{a as s}from"./TK7AMW2A.js";import{a as l,b as p}from"./5XNVKERC.js";import"./ORCWQHX7.js";import{b as m}from"./LHDUZO7G.js";import{a}from"./6L454NXU.js";import"./YL7EG5AA.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as s}from"./QCUKGKOV.js";import{a as l,b as p}from"./5XCBVPEJ.js";import"./FXQSFX4Q.js";import{b as m}from"./VQQVMG7C.js";import{a}from"./ZEFQFCIT.js";import"./V5XUAHEB.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
@@ -1,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.20250506 */
4
- import{a as m}from"./H2VXOJH7.js";import"./TWWXSJS5.js";import"./4EGMVXYU.js";import"./RXXW5VAY.js";import"./QANVXL5I.js";import"./VXWKIKTD.js";import"./LHDUZO7G.js";import"./6L454NXU.js";import"./7BZS2MB3.js";import"./MW3SBXWD.js";import{b}from"./JDW5U5DH.js";import{a as w}from"./FNPIEXII.js";import{B as f,c as d,d as i,f as p,n as a,q as u,w as _,x as n,y as g}from"./WFJQLKTW.js";import"./YL7EG5AA.js";var F=d`@layer{/** @license
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as m}from"./ZQ5UT5TX.js";import"./VSVG3AWA.js";import"./LA3TMPSQ.js";import"./FAZOBB62.js";import"./EYFKB5UR.js";import"./H3GY7WZY.js";import"./VQQVMG7C.js";import"./ZEFQFCIT.js";import"./DPNSCBBO.js";import"./DMTCZQGB.js";import{b}from"./7K2EWZ4V.js";import{a as w}from"./VERJI2SH.js";import{B as f,c as d,d as i,f as p,n as a,q as u,w as _,x as n,y as g}from"./YXGKJSHK.js";import"./V5XUAHEB.js";var F=d`@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.20250506 */
4
- import{a as D,b as w}from"./I7MNDC3F.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./C6ZAXIN6.js";import"./TLLOLMEW.js";import{a as _,b as L}from"./HNVWWRBO.js";import{C as S,D as y}from"./WT4NOXZO.js";import"./7T7WF7EI.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./D3QJCJFO.js";import"./YL7EG5AA.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",l={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(i=>i.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:l.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:l.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:l.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:l.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:l.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:l.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:l.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:l.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:l.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(i=>{let o=c.includes(i)?"partial":"full",p=_[o],{language:u,translated:h}=p[i],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${i}`,value:i},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],i=n===e-1?l.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:i,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:l.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:l.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:l.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),i=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(i),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let i=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(i,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as D,b as w}from"./NS5VBZHP.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./HUP3OLOI.js";import"./3V6CMPYL.js";import{a as _,b as L}from"./JDFGWL2P.js";import{C as S,D as y}from"./77FG2UXK.js";import"./QSYR7Q6X.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./YYNMVPOT.js";import"./V5XUAHEB.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",l={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(i=>i.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:l.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:l.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:l.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:l.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:l.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:l.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:l.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:l.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:l.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(i=>{let o=c.includes(i)?"partial":"full",p=_[o],{language:u,translated:h}=p[i],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${i}`,value:i},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],i=n===e-1?l.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:i,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:l.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:l.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:l.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),i=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(i),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let i=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(i,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
@@ -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.20250506 */
4
- import{a as e}from"./DCT33VJ3.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
3
+ v1.0.0-next.20250506.1 */
4
+ import{a as e}from"./EIQNRR4P.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};