@esri/solutions-components 1.1.4 → 1.2.0-next.10

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 (490) hide show
  1. package/dist/cdn/{BOWAWB4X.js → 22RHEAP5.js} +3 -3
  2. package/dist/cdn/{TNUUEL6P.js → 25ZSBOGH.js} +3 -3
  3. package/dist/cdn/{2MCZSCMM.js → 2DKE4D4V.js} +3 -3
  4. package/dist/cdn/{YDTQ22TO.js → 2GG5MBJX.js} +3 -3
  5. package/dist/cdn/{UREMM23E.js → 2IRUBFD5.js} +3 -3
  6. package/dist/cdn/{Q7CROOM3.js → 2OJCRGSY.js} +3 -3
  7. package/dist/cdn/{A3CB7ASF.js → 2P7AHM5O.js} +2 -2
  8. package/dist/cdn/{U3LQ6PH3.js → 2TQTDPOD.js} +3 -3
  9. package/dist/cdn/{BLTZZN2S.js → 34R3QFL4.js} +2 -2
  10. package/dist/cdn/{6RKS45HC.js → 373RYCM5.js} +3 -3
  11. package/dist/cdn/{DFIJIF4I.js → 3EEQEIIF.js} +2 -2
  12. package/dist/cdn/3IBI2MBB.js +4 -0
  13. package/dist/cdn/{YA36R2QR.js → 3MWPNWRI.js} +3 -3
  14. package/dist/cdn/{CND6NAR6.js → 3RJNKHL6.js} +3 -3
  15. package/dist/cdn/{F7GNLKUF.js → 3TJ6KAGK.js} +3 -3
  16. package/dist/cdn/{NPDND32J.js → 3U6ZN4C3.js} +2 -2
  17. package/dist/cdn/{CKPGSBU3.js → 3ZGL22AG.js} +3 -3
  18. package/dist/cdn/{HAV76SHY.js → 45MNR6YS.js} +3 -3
  19. package/dist/cdn/{BNBQO7AY.js → 46VGMHZ7.js} +3 -3
  20. package/dist/cdn/{XZPAWADO.js → 4EQXDV64.js} +3 -3
  21. package/dist/cdn/{FAIXLWVI.js → 4FDHA3LB.js} +3 -3
  22. package/dist/cdn/{N6YIMQMF.js → 4QUFJ7JQ.js} +3 -3
  23. package/dist/cdn/{IJD2AMEM.js → 4WLVJAGS.js} +2 -2
  24. package/dist/cdn/{JVH5EVFM.js → 4YLSYSXR.js} +3 -3
  25. package/dist/cdn/{UBTZZR25.js → 52YHNO7J.js} +3 -3
  26. package/dist/cdn/{BU6B533Y.js → 55AUTAVM.js} +3 -3
  27. package/dist/cdn/{23ZZGLY2.js → 5AGZP7FN.js} +3 -3
  28. package/dist/cdn/{6X22FJS6.js → 5EM2OKBL.js} +3 -3
  29. package/dist/cdn/{I2EDD3VI.js → 5GYSDWFY.js} +3 -3
  30. package/dist/cdn/{SBXXDOKG.js → 5HWY6B6T.js} +3 -3
  31. package/dist/cdn/{AHGBBFKK.js → 5JPSKCNA.js} +3 -3
  32. package/dist/cdn/{S2UELZDS.js → 5OL7RXCN.js} +3 -3
  33. package/dist/cdn/{N7KG6TLQ.js → 5PT6BQPH.js} +3 -3
  34. package/dist/cdn/{GZGJXMQF.js → 5PX4CHK4.js} +3 -3
  35. package/dist/cdn/{LGR4ZJLK.js → 5QARHXLF.js} +3 -3
  36. package/dist/cdn/{2PF32KNA.js → 5R5FVDIE.js} +3 -3
  37. package/dist/cdn/{WKYYGS7X.js → 5UCFZYBK.js} +3 -3
  38. package/dist/cdn/5UMBUT67.js +18 -0
  39. package/dist/cdn/{4VQKM4WR.js → 5UV7A5EY.js} +3 -3
  40. package/dist/cdn/5XIPGVUW.js +4 -0
  41. package/dist/cdn/64577HME.js +4 -0
  42. package/dist/cdn/{EZNXFGZK.js → 67SFJRSB.js} +3 -3
  43. package/dist/cdn/{YV22TPLV.js → 6ENZX3UD.js} +3 -3
  44. package/dist/cdn/{QHPKAKUU.js → 6EP74EFM.js} +3 -3
  45. package/dist/cdn/{DZHQD6XA.js → 6FABBDLL.js} +3 -3
  46. package/dist/cdn/{O42KNPRU.js → 6IRBUQNK.js} +3 -3
  47. package/dist/cdn/{BE7RCTIW.js → 6NVXFBLT.js} +3 -3
  48. package/dist/cdn/{TO6VYOOK.js → 6RW4WJ5F.js} +3 -3
  49. package/dist/cdn/{43PWS362.js → 6RWKQVKX.js} +3 -3
  50. package/dist/cdn/{GZ26EW7P.js → 74HXS5S7.js} +3 -3
  51. package/dist/cdn/{ML7RDHJK.js → 76CZRVCQ.js} +3 -3
  52. package/dist/cdn/{FSBYBBAR.js → 76QGCX3G.js} +2 -2
  53. package/dist/cdn/{XRQ5EWWN.js → 7C25W3DC.js} +3 -3
  54. package/dist/cdn/{5ATO43XI.js → 7CEYQOUD.js} +3 -3
  55. package/dist/cdn/{VDXJT6KX.js → 7GRTJOB5.js} +3 -3
  56. package/dist/cdn/{4WESUM52.js → 7IEW7PU4.js} +3 -3
  57. package/dist/cdn/7MN6SLN5.js +18 -0
  58. package/dist/cdn/{JR2ALUWD.js → 7VHUOOT4.js} +3 -3
  59. package/dist/cdn/{KD6FTCWQ.js → 7XAH3ZHV.js} +2 -2
  60. package/dist/cdn/{GAIF3U4K.js → 7XXVA3F6.js} +3 -3
  61. package/dist/cdn/{HY422JHS.js → 7ZCG3X7R.js} +3 -3
  62. package/dist/cdn/{FZZ64EU7.js → A5RRFYOD.js} +3 -3
  63. package/dist/cdn/{UTYWKZWI.js → AHDSGP2I.js} +3 -3
  64. package/dist/cdn/{6ZYP4HST.js → AM4POOOK.js} +2 -2
  65. package/dist/cdn/{WJZXBWVM.js → ASDKBUK3.js} +3 -3
  66. package/dist/cdn/{GXDKEOCW.js → AXLTP65Y.js} +3 -3
  67. package/dist/cdn/{55LJV5DD.js → BBLJ7EHS.js} +3 -3
  68. package/dist/cdn/{W75JNTGT.js → BJXTCYTT.js} +3 -3
  69. package/dist/cdn/{PSKXBFNJ.js → BLSQBXZO.js} +3 -3
  70. package/dist/cdn/{DP4TDB7X.js → BOMZ2P4U.js} +3 -3
  71. package/dist/cdn/{GZPGG7RQ.js → BQ7TY6E3.js} +3 -3
  72. package/dist/cdn/{ALLC54AT.js → BQJVEDLC.js} +3 -3
  73. package/dist/cdn/{2JIJ3PUL.js → C3MKLUYS.js} +3 -3
  74. package/dist/cdn/{26RD3PS2.js → C5QDDDH6.js} +3 -3
  75. package/dist/cdn/{Z7Q2HPG7.js → C5T3HF6V.js} +3 -3
  76. package/dist/cdn/C6KZTKHI.js +4 -0
  77. package/dist/cdn/{QK7PQ3CA.js → CIGL34QI.js} +3 -3
  78. package/dist/cdn/{4T7TU3LN.js → CLYJO7WA.js} +3 -3
  79. package/dist/cdn/{TBFX3EVD.js → CMHMGPVG.js} +3 -3
  80. package/dist/cdn/{J5A6CFMG.js → CNHSSSP2.js} +3 -3
  81. package/dist/cdn/{4ZTHBEAN.js → CSGROIJ6.js} +3 -3
  82. package/dist/cdn/{5NJMTGSP.js → CTVVU2ZC.js} +2 -2
  83. package/dist/cdn/{WUDA7K22.js → CVOV365U.js} +2 -2
  84. package/dist/cdn/{Y6XTLVDJ.js → CYH55GTJ.js} +3 -3
  85. package/dist/cdn/{BATYSOVB.js → D22BELVK.js} +3 -3
  86. package/dist/cdn/{F55B5BNY.js → D4ANXHA6.js} +2 -2
  87. package/dist/cdn/{4ZLBQ6D4.js → D4N2KM77.js} +3 -3
  88. package/dist/cdn/{5CJWMOL3.js → D4TYNSAH.js} +5 -5
  89. package/dist/cdn/{OC4LXNQP.js → DAJYJUIM.js} +3 -3
  90. package/dist/cdn/{PHPBVYAN.js → DBI2CNJR.js} +3 -3
  91. package/dist/cdn/{WTWNLOAO.js → DEMY5LXS.js} +2 -2
  92. package/dist/cdn/{UO7HYYBG.js → DFGNBIP4.js} +2 -2
  93. package/dist/cdn/{EW6KAVCF.js → DGNI2L52.js} +3 -3
  94. package/dist/cdn/DILLMNU7.js +4 -0
  95. package/dist/cdn/{6H2DI4QV.js → DJI2MXPF.js} +3 -3
  96. package/dist/cdn/{CCDB7WQC.js → DSDPXTB3.js} +3 -3
  97. package/dist/cdn/{OF2LVTY5.js → DUKUSWOF.js} +3 -3
  98. package/dist/cdn/{C5233EHR.js → DYCNJD5I.js} +3 -3
  99. package/dist/cdn/{FGUII2EP.js → E3H7GCN2.js} +3 -3
  100. package/dist/cdn/{YOKFSPW5.js → E3RTIAKB.js} +3 -3
  101. package/dist/cdn/{U22L3RI5.js → E5DY5AGN.js} +3 -3
  102. package/dist/cdn/{UVP3QEXZ.js → E6XP4262.js} +3 -3
  103. package/dist/cdn/{I73TU25U.js → E7B35PPE.js} +3 -3
  104. package/dist/cdn/{MAWXGZOQ.js → E7C33CLP.js} +3 -3
  105. package/dist/cdn/{4UZVBLR5.js → E7CSNM6W.js} +3 -3
  106. package/dist/cdn/{VAJPAOUI.js → EAU627CP.js} +3 -3
  107. package/dist/cdn/ECCOYE4W.js +4 -0
  108. package/dist/cdn/{7OMNOQ7U.js → EE6F7WDK.js} +4 -4
  109. package/dist/cdn/{WPHV7YFJ.js → EFGFST2X.js} +2 -2
  110. package/dist/cdn/{QEZD2RKR.js → EIWV2QFJ.js} +3 -3
  111. package/dist/cdn/{EU36FEVM.js → EMLYJY3U.js} +3 -3
  112. package/dist/cdn/{BEKDBEOP.js → EOX42Z7I.js} +3 -3
  113. package/dist/cdn/{VIH7GETV.js → EP2WLXYJ.js} +3 -3
  114. package/dist/cdn/ERYB7Q7N.js +4 -0
  115. package/dist/cdn/{AZ3MBQZV.js → EVNPOEDN.js} +3 -3
  116. package/dist/cdn/{PBYEPN4U.js → EWMQ7W4X.js} +3 -3
  117. package/dist/cdn/{LR7LKOIM.js → EYI2CXR4.js} +3 -3
  118. package/dist/cdn/{AEMFHUT3.js → F5BC76XY.js} +3 -3
  119. package/dist/cdn/{SQWENXE7.js → F7D7JDGJ.js} +3 -3
  120. package/dist/cdn/FBOYVIXA.js +18 -0
  121. package/dist/cdn/{JXF5ZDU3.js → FDCS3IF3.js} +3 -3
  122. package/dist/cdn/{QVIM3F2B.js → FEPUY55K.js} +3 -3
  123. package/dist/cdn/{BFSYEFJF.js → FFL7U4K2.js} +2 -2
  124. package/dist/cdn/{ZZZ5IXTY.js → FMJWXOUR.js} +3 -3
  125. package/dist/cdn/FNPOYZRQ.js +18 -0
  126. package/dist/cdn/{LZBPDHCZ.js → FTCOKM55.js} +3 -3
  127. package/dist/cdn/{IUVFHVNJ.js → FXDSUAZP.js} +3 -3
  128. package/dist/cdn/{TH2LQVXB.js → FXPLB5TB.js} +3 -3
  129. package/dist/cdn/{BJW5LXLH.js → G3P2DAU4.js} +3 -3
  130. package/dist/cdn/{AJXG7IX5.js → G6AIWVVF.js} +3 -3
  131. package/dist/cdn/{5H5FZQQM.js → G7USULA3.js} +3 -3
  132. package/dist/cdn/{GZF6LAN2.js → GDPOK4XJ.js} +2 -2
  133. package/dist/cdn/{IQU3AOVC.js → GKZPVU4W.js} +3 -3
  134. package/dist/cdn/{JW3A3AEJ.js → GLRFGNCR.js} +3 -3
  135. package/dist/cdn/{MQURQKFM.js → GNBRF3J3.js} +3 -3
  136. package/dist/cdn/{YVKX627B.js → GSGD5X3Z.js} +3 -3
  137. package/dist/cdn/{BQZGOJ7O.js → GWBGSPGK.js} +3 -3
  138. package/dist/cdn/{AEKQAS23.js → GWPWR4NJ.js} +3 -3
  139. package/dist/cdn/{F7BLCQ4K.js → GWVBXM4O.js} +3 -3
  140. package/dist/cdn/{7UE74F3P.js → GXNKCLN5.js} +3 -3
  141. package/dist/cdn/{TBL7BIV7.js → HA26NVXU.js} +3 -3
  142. package/dist/cdn/{V2SGK6W7.js → HAE47HSE.js} +3 -3
  143. package/dist/cdn/{OVSHX34W.js → HATWOIWZ.js} +3 -3
  144. package/dist/cdn/{CVM23Z3W.js → HCEMIND7.js} +3 -3
  145. package/dist/cdn/{UTVAGL7O.js → HEQYJZJO.js} +3 -3
  146. package/dist/cdn/{KBQL7WYT.js → HFDBPGGT.js} +3 -3
  147. package/dist/cdn/{OT3PGUNJ.js → HFXZNF2W.js} +3 -3
  148. package/dist/cdn/{5Q3767V4.js → HG2ZNE2E.js} +3 -3
  149. package/dist/cdn/{TRDAVDVV.js → HI3PAOCL.js} +3 -3
  150. package/dist/cdn/{REYRBAER.js → HI4KSEBA.js} +3 -3
  151. package/dist/cdn/HU7VYYIV.js +4 -0
  152. package/dist/cdn/{T5T7GCVV.js → HUHZXDNI.js} +3 -3
  153. package/dist/cdn/{TYMMEDNB.js → HVGAZZ7E.js} +3 -3
  154. package/dist/cdn/{UC7ZG7S3.js → HZNHMJ2X.js} +3 -3
  155. package/dist/cdn/{5YRDMRWZ.js → I6SRLUO3.js} +3 -3
  156. package/dist/cdn/{BBUKCBZH.js → I7SOLYBY.js} +3 -3
  157. package/dist/cdn/{V2SI23ZA.js → IDODJEUW.js} +3 -3
  158. package/dist/cdn/{7FNGCPHX.js → IFXQMQMB.js} +3 -3
  159. package/dist/cdn/{CHDLTXQ4.js → IGMLM2CZ.js} +3 -3
  160. package/dist/cdn/{ILIP26MD.js → IJWGVRH6.js} +3 -3
  161. package/dist/cdn/{DAACTUXD.js → IKL6SJCX.js} +3 -3
  162. package/dist/cdn/{VY6LOXWH.js → IRKSYVKF.js} +2 -2
  163. package/dist/cdn/{UXATKH5S.js → IVUZOD5N.js} +3 -3
  164. package/dist/cdn/{GKQNL5AY.js → IYW4WSQU.js} +3 -3
  165. package/dist/cdn/{NYIMVG6I.js → IZK635RE.js} +3 -3
  166. package/dist/cdn/{EFXWPDM6.js → J4VUYE77.js} +3 -3
  167. package/dist/cdn/{URGLXCMP.js → JACBCJM5.js} +3 -3
  168. package/dist/cdn/{WYZM42EH.js → JCRBLE7M.js} +3 -3
  169. package/dist/cdn/{VZG7PYDY.js → JDKKXGDK.js} +3 -3
  170. package/dist/cdn/{Z6NHNS5M.js → JESQM7JC.js} +3 -3
  171. package/dist/cdn/{WPUWPBLC.js → JHYFXPU7.js} +3 -3
  172. package/dist/cdn/{GKPJSKC5.js → JJNXUJWI.js} +3 -3
  173. package/dist/cdn/{SGIHH4DD.js → JKOFDMTL.js} +3 -3
  174. package/dist/cdn/{A3Z5YQFM.js → JLAIHGX7.js} +3 -3
  175. package/dist/cdn/{W2U332RR.js → JQ7I4ACF.js} +3 -3
  176. package/dist/cdn/{LPX6FY5M.js → JQWHQO43.js} +3 -3
  177. package/dist/cdn/{CLJPTIVQ.js → JW5B75V4.js} +3 -3
  178. package/dist/cdn/{SV5GC3GK.js → JWUJWTID.js} +3 -3
  179. package/dist/cdn/{VNMNXAVQ.js → K2VZU3F5.js} +3 -3
  180. package/dist/cdn/{7ZYRFEY7.js → K52RVAKI.js} +3 -3
  181. package/dist/cdn/{RPUGAOID.js → KEZ2OO3C.js} +3 -3
  182. package/dist/cdn/{SQCBTMSG.js → KH42YDGB.js} +3 -3
  183. package/dist/cdn/KIQTLCHH.js +4 -0
  184. package/dist/cdn/{GE4VUR2S.js → KK2IPNE3.js} +3 -3
  185. package/dist/cdn/{XQW5OF3W.js → KK2P6Q2E.js} +3 -3
  186. package/dist/cdn/{JMI6ELYN.js → KLWSSYYI.js} +3 -3
  187. package/dist/cdn/{CPNGY255.js → KMSZR7OY.js} +3 -3
  188. package/dist/cdn/{AVKNWJMU.js → KRBPJ75E.js} +3 -3
  189. package/dist/cdn/{CT7ABHK2.js → KSIBFBSI.js} +3 -3
  190. package/dist/cdn/{SUDZEHPR.js → L7DFQ7BZ.js} +3 -3
  191. package/dist/cdn/{FLRWOPU6.js → LG5B373X.js} +3 -3
  192. package/dist/cdn/LIINIY5L.js +4 -0
  193. package/dist/cdn/{YJO3OCFG.js → LJJOYKWL.js} +3 -3
  194. package/dist/cdn/{26APWI43.js → LKKHABSE.js} +3 -3
  195. package/dist/cdn/{TTCJV5HS.js → LMJAIKEE.js} +3 -3
  196. package/dist/cdn/{JYWHUF5Y.js → LTJA7F3S.js} +3 -3
  197. package/dist/cdn/{QHESJJYD.js → LYUVSKJ2.js} +2 -2
  198. package/dist/cdn/{AYYWI4A3.js → M47UC4IW.js} +3 -3
  199. package/dist/cdn/{2KRAHU3A.js → M4FU5PYC.js} +3 -3
  200. package/dist/cdn/{4RHBTX4E.js → M4PLOIMT.js} +3 -3
  201. package/dist/cdn/M7PKG4YD.js +4 -0
  202. package/dist/cdn/{D56T5IN2.js → MCENO5GY.js} +3 -3
  203. package/dist/cdn/{DOCE3G4U.js → MGJFGLYO.js} +3 -3
  204. package/dist/cdn/{B5YUOXDN.js → MGWUOYFW.js} +3 -3
  205. package/dist/cdn/{V7SZH2RC.js → MMNAXKXA.js} +3 -3
  206. package/dist/cdn/{ERLXDIUS.js → MNSLZRN2.js} +3 -3
  207. package/dist/cdn/{XCHD5XOJ.js → MOLO2JKZ.js} +3 -3
  208. package/dist/cdn/{IFKIUWVZ.js → MPP5RWNY.js} +3 -3
  209. package/dist/cdn/{WVOMDGDW.js → MR3OHCGN.js} +3 -3
  210. package/dist/cdn/MXG44IRR.js +4 -0
  211. package/dist/cdn/MXGLTE5G.js +4 -0
  212. package/dist/cdn/{HB35K7EJ.js → MZEWWDOB.js} +2 -2
  213. package/dist/cdn/{HRMQHYLD.js → MZTOB3NA.js} +2 -2
  214. package/dist/cdn/{LFLGSFUG.js → NAKMORRS.js} +2 -2
  215. package/dist/cdn/{ZAGFS5XW.js → NC7LKR6P.js} +3 -3
  216. package/dist/cdn/{XHI4A5HF.js → NCG6QKWR.js} +3 -3
  217. package/dist/cdn/{KCVL34ZO.js → NHLE5PEP.js} +3 -3
  218. package/dist/cdn/{GWMD5UNN.js → NL75AWDF.js} +3 -3
  219. package/dist/cdn/NMNQNPG3.js +4 -0
  220. package/dist/cdn/NOI3L73W.js +4 -0
  221. package/dist/cdn/{2BD3W5YF.js → NV5T4KV3.js} +2 -2
  222. package/dist/cdn/{S7BA22Z5.js → O77MW5U7.js} +2 -2
  223. package/dist/cdn/{ARGB7QOI.js → OAOSXYYJ.js} +2 -2
  224. package/dist/cdn/{MOO5HUTK.js → OBU37VQP.js} +2 -2
  225. package/dist/cdn/{ZPUYJ7B5.js → OCQ5QAZG.js} +3 -3
  226. package/dist/cdn/{JZ33N4OT.js → OE5CL2FU.js} +3 -3
  227. package/dist/cdn/{LCY63BRS.js → OGJ5D3VD.js} +3 -3
  228. package/dist/cdn/{TTJFLDHP.js → OILD7SVE.js} +3 -3
  229. package/dist/cdn/{642TLBFZ.js → OIS6GKYP.js} +2 -2
  230. package/dist/cdn/{PHVURERU.js → OJGX3JRQ.js} +3 -3
  231. package/dist/cdn/{PJV6EGV6.js → OQHSXQCE.js} +3 -3
  232. package/dist/cdn/{6HLCOA2J.js → OVAX74SY.js} +3 -3
  233. package/dist/cdn/P24RPSBD.js +4 -0
  234. package/dist/cdn/{OWRNLUAM.js → P5M3O7RI.js} +3 -3
  235. package/dist/cdn/{56XBTT4O.js → P7Q74AQB.js} +3 -3
  236. package/dist/cdn/{CO7NHF75.js → PAT7ZHEY.js} +2 -2
  237. package/dist/cdn/{N43VXMCI.js → PC62ZISV.js} +3 -3
  238. package/dist/cdn/{2BFOTQ6T.js → PE3VYUOG.js} +3 -3
  239. package/dist/cdn/{C23DNOM4.js → PFKUU2I3.js} +3 -3
  240. package/dist/cdn/{DYKLK7SE.js → PPHWGCSF.js} +3 -3
  241. package/dist/cdn/{LU7IE2XC.js → PRBARSCN.js} +3 -3
  242. package/dist/cdn/{C76FP4MR.js → PZTS2ZM2.js} +3 -3
  243. package/dist/cdn/{XPXK6WN7.js → PZUT6W6N.js} +3 -3
  244. package/dist/cdn/{FNCUTBX7.js → Q2X24SKX.js} +2 -2
  245. package/dist/cdn/{3GUT3PQC.js → Q6Z4TTIZ.js} +2 -2
  246. package/dist/cdn/QMT5CBUT.js +18 -0
  247. package/dist/cdn/{2KC7A44G.js → QZNNWP6C.js} +3 -3
  248. package/dist/cdn/{IFO37FNO.js → QZNUQGF6.js} +3 -3
  249. package/dist/cdn/{LEOKXG3G.js → R4J5YMUQ.js} +2 -2
  250. package/dist/cdn/{XDU754Y3.js → R5DUS3EV.js} +3 -3
  251. package/dist/cdn/R63RYS5Y.js +4 -0
  252. package/dist/cdn/{CAHFCE4T.js → RACRJEPF.js} +3 -3
  253. package/dist/cdn/{BS7PISQQ.js → RF4UYAKV.js} +3 -3
  254. package/dist/cdn/{CYTR3HPD.js → RUAJHVAW.js} +3 -3
  255. package/dist/cdn/{MGI27N6Z.js → RXDQURDA.js} +2 -2
  256. package/dist/cdn/{FBLRDUIQ.js → S2I4YUPX.js} +3 -3
  257. package/dist/cdn/S32TK6T7.js +4 -0
  258. package/dist/cdn/{UNXAQV3E.js → S5HWSEUY.js} +3 -3
  259. package/dist/cdn/{35H4QXX3.js → SA5OTFAN.js} +2 -2
  260. package/dist/cdn/{GLAMS6KT.js → SALC3G4E.js} +3 -3
  261. package/dist/cdn/{H2MXX7QX.js → SB575MRC.js} +3 -3
  262. package/dist/cdn/SCLUBV6B.js +18 -0
  263. package/dist/cdn/{4AFTBIQP.js → SGIRWZLC.js} +3 -3
  264. package/dist/cdn/SHLDE5ZW.js +18 -0
  265. package/dist/cdn/{W7S3KRZJ.js → SPWD7KIF.js} +2 -2
  266. package/dist/cdn/{S7NA5UUY.js → SQ5TA5SP.js} +3 -3
  267. package/dist/cdn/{V4HOSOVM.js → SSGDG2KN.js} +2 -2
  268. package/dist/cdn/{MZJFQAPA.js → SU3Z662V.js} +3 -3
  269. package/dist/cdn/SUZ3SL26.js +4 -0
  270. package/dist/cdn/{AME2N5R6.js → SY5M4ZGW.js} +3 -3
  271. package/dist/cdn/{UOW7X5K6.js → T26FKEMR.js} +3 -3
  272. package/dist/cdn/{432NJDW7.js → T6VDX6YQ.js} +3 -3
  273. package/dist/cdn/{5RZG2Z6U.js → TAIZT7YH.js} +3 -3
  274. package/dist/cdn/{TZCZPG5X.js → TBVYZ336.js} +3 -3
  275. package/dist/cdn/{ENQBSPO5.js → TCPCNAXG.js} +3 -3
  276. package/dist/cdn/{TZV7I7OA.js → TDPTH3PB.js} +3 -3
  277. package/dist/cdn/{KVWH2WJX.js → TEWQBSJG.js} +3 -3
  278. package/dist/cdn/{42SQB2UV.js → TF5KNIGI.js} +3 -3
  279. package/dist/cdn/{JWJZMQQB.js → TUOFKTGP.js} +3 -3
  280. package/dist/cdn/U4C2O3EI.js +4 -0
  281. package/dist/cdn/{I27E56PQ.js → U7JUGZHD.js} +3 -3
  282. package/dist/cdn/{BGUOHLDS.js → UCVV4DR2.js} +3 -3
  283. package/dist/cdn/{4JK4PIWF.js → UK6ZQLXE.js} +2 -2
  284. package/dist/cdn/{GZCFCVWF.js → UQOKS6VK.js} +3 -3
  285. package/dist/cdn/{AWZPPOTN.js → USZB4X6A.js} +3 -3
  286. package/dist/cdn/{NVJDDGAX.js → UTTX3CHJ.js} +3 -3
  287. package/dist/cdn/{IPRPAA72.js → V2DI62OA.js} +3 -3
  288. package/dist/cdn/{2TEHAFXZ.js → V7ZWOVHU.js} +3 -3
  289. package/dist/cdn/{GFTWHNVR.js → VAMGVNRP.js} +3 -3
  290. package/dist/cdn/{V3S6TB66.js → VBEIJ53G.js} +3 -3
  291. package/dist/cdn/{QW4O42N2.js → VDSHQNAE.js} +3 -3
  292. package/dist/cdn/{ZQ5UFA6J.js → VLFPDXI6.js} +2 -2
  293. package/dist/cdn/{ESFGGYTR.js → VO24JFVS.js} +3 -3
  294. package/dist/cdn/{AZYTSIFB.js → VORLDHAW.js} +3 -3
  295. package/dist/cdn/{VRU7IM5G.js → VROJTJEL.js} +3 -3
  296. package/dist/cdn/{23TGVNDT.js → VRYDFICW.js} +3 -3
  297. package/dist/cdn/{P5EZ7TAW.js → VTQABWDQ.js} +3 -3
  298. package/dist/cdn/{QK7BUSQS.js → VUAHOUHY.js} +3 -3
  299. package/dist/cdn/{FNXB73R7.js → VUEUGHV4.js} +3 -3
  300. package/dist/cdn/{RF2OPXXP.js → VUWAGMYI.js} +3 -3
  301. package/dist/cdn/{J425E2LA.js → VUYIFP6K.js} +3 -3
  302. package/dist/cdn/{RMWUCFHB.js → VVI52XHF.js} +3 -3
  303. package/dist/cdn/{D5XPA4NF.js → VZ6ZGZXE.js} +3 -3
  304. package/dist/cdn/W2ZGMJY7.js +4 -0
  305. package/dist/cdn/{XJOSHL6G.js → W5XUZJGN.js} +3 -3
  306. package/dist/cdn/{WNVKL67O.js → W6E2C5GX.js} +3 -3
  307. package/dist/cdn/{HN6IYS37.js → WAIH4CCQ.js} +3 -3
  308. package/dist/cdn/{GILNSHEK.js → WANC67UT.js} +3 -3
  309. package/dist/cdn/{OVKQ7TBK.js → WEMLUAAR.js} +3 -3
  310. package/dist/cdn/{7X7FF24S.js → WFSFUZOC.js} +2 -2
  311. package/dist/cdn/{H6TOIC3H.js → WLNYC3K3.js} +3 -3
  312. package/dist/cdn/{WTVUV6X4.js → WOTQZCRA.js} +3 -3
  313. package/dist/cdn/{J5UADYNK.js → WP2KO7UP.js} +3 -3
  314. package/dist/cdn/WP2PSNFT.js +4 -0
  315. package/dist/cdn/{X7F7A7RU.js → WS5HHO4T.js} +3 -3
  316. package/dist/cdn/{CGZBTZJR.js → WTL3PEAQ.js} +3 -3
  317. package/dist/cdn/{34TH75YO.js → XCGRV674.js} +3 -3
  318. package/dist/cdn/XIBUMBLY.js +18 -0
  319. package/dist/cdn/XMOALPJW.js +4 -0
  320. package/dist/cdn/{QNSEGUHW.js → XMRU7SNV.js} +3 -3
  321. package/dist/cdn/{4LWLQBET.js → XT36IYWQ.js} +3 -3
  322. package/dist/cdn/{WKK3GS5R.js → XVY2HXWR.js} +3 -3
  323. package/dist/cdn/{GRGB44ZC.js → XXPDN562.js} +3 -3
  324. package/dist/cdn/Y4UI3SWQ.js +4 -0
  325. package/dist/cdn/{FDGW2TGF.js → Y7WCDHHA.js} +3 -3
  326. package/dist/cdn/{EFMP72GE.js → YDTVY452.js} +2 -2
  327. package/dist/cdn/{T4NISNVO.js → YEVWDUVV.js} +3 -3
  328. package/dist/cdn/{ZWEGUQZQ.js → YGVITQ45.js} +3 -3
  329. package/dist/cdn/{VEWASZJB.js → YM4JQGWL.js} +3 -3
  330. package/dist/cdn/{AMTMX3BW.js → YNTEOFE2.js} +3 -3
  331. package/dist/cdn/{AMRA27LM.js → YQFL5YJJ.js} +3 -3
  332. package/dist/cdn/{RAVRHF3Y.js → YSW2UOL3.js} +3 -3
  333. package/dist/cdn/YTT6ZV5A.js +18 -0
  334. package/dist/cdn/{HPKB6T3A.js → YUL3ATTD.js} +3 -3
  335. package/dist/cdn/{HL4DPJUK.js → YYSIA432.js} +3 -3
  336. package/dist/cdn/{NEHD7BWS.js → YZKEYQY4.js} +2 -2
  337. package/dist/cdn/{A4LRNV24.js → Z5UFUDCH.js} +3 -3
  338. package/dist/cdn/{37H772BX.js → Z5ZPFJEU.js} +3 -3
  339. package/dist/cdn/{Y2BHCBN2.js → Z6IC76BJ.js} +3 -3
  340. package/dist/cdn/Z6NDLCDR.js +4 -0
  341. package/dist/cdn/{G2YLNGCI.js → ZEQVCUSX.js} +3 -3
  342. package/dist/cdn/{RYIKOVC4.js → ZF2FQVL7.js} +3 -3
  343. package/dist/cdn/{Z42ZJZHJ.js → ZO2KN6B3.js} +3 -3
  344. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
  346. package/dist/cdn/assets/solutions-resources/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solutions-resources/t9n/messages.json +1 -1
  348. package/dist/cdn/index.js +3 -3
  349. package/dist/chunks/Auth.js +2 -2
  350. package/dist/chunks/CardsFetcher.js +2 -2
  351. package/dist/chunks/appConfig.js +2 -2
  352. package/dist/chunks/cardFetchingUtils.js +2 -2
  353. package/dist/chunks/cardsHelpers.js +2 -2
  354. package/dist/chunks/common.js +2 -2
  355. package/dist/chunks/deployAppContexts.js +2 -2
  356. package/dist/chunks/downloadUtils.js +2 -2
  357. package/dist/chunks/getItemIcon.js +2 -2
  358. package/dist/chunks/helpers.js +2 -2
  359. package/dist/chunks/interfaces.js +2 -2
  360. package/dist/chunks/loadModules.js +2 -2
  361. package/dist/chunks/mapViewUtils.js +2 -2
  362. package/dist/chunks/pciUtils.js +2 -2
  363. package/dist/chunks/popupUtils.js +2 -2
  364. package/dist/chunks/prepareDataForSolutionDisplay.js +2 -2
  365. package/dist/chunks/privilegeUtils.js +2 -2
  366. package/dist/chunks/publicNotificationContext.js +2 -2
  367. package/dist/chunks/queryUtils.js +2 -2
  368. package/dist/chunks/runtime.js +4 -4
  369. package/dist/chunks/solution-store.js +2 -2
  370. package/dist/chunks/templates.js +2 -2
  371. package/dist/chunks/useT9n.js +2 -2
  372. package/dist/components/arcgis-solutions-assistant/customElement.js +2 -2
  373. package/dist/components/basemap-gallery/customElement.js +2 -2
  374. package/dist/components/buffer-tools/customElement.js +2 -2
  375. package/dist/components/card-manager/customElement.js +2 -2
  376. package/dist/components/consent-manager/customElement.js +2 -2
  377. package/dist/components/create-feature/customElement.js +2 -2
  378. package/dist/components/create-related-feature/customElement.js +2 -2
  379. package/dist/components/crowdsource-manager/customElement.js +2 -2
  380. package/dist/components/crowdsource-reporter/customElement.js +2 -2
  381. package/dist/components/deduct-calculator/customElement.js +2 -2
  382. package/dist/components/delete-button/customElement.js +2 -2
  383. package/dist/components/delete-dialog/customElement.js +2 -2
  384. package/dist/components/edit-card/customElement.js +2 -2
  385. package/dist/components/feature-details/customElement.js +2 -2
  386. package/dist/components/feature-list/customElement.js +2 -2
  387. package/dist/components/field-selection/customElement.js +2 -2
  388. package/dist/components/floor-filter/customElement.js +2 -2
  389. package/dist/components/info-card/customElement.js +2 -2
  390. package/dist/components/json-editor/customElement.js +2 -2
  391. package/dist/components/layer-list/customElement.js +2 -2
  392. package/dist/components/layer-table/customElement.js +2 -2
  393. package/dist/components/map-card/customElement.js +2 -2
  394. package/dist/components/map-draw-tools/customElement.js +2 -2
  395. package/dist/components/map-fullscreen/customElement.js +2 -2
  396. package/dist/components/map-layer-picker/customElement.js +2 -2
  397. package/dist/components/map-legend/customElement.js +2 -2
  398. package/dist/components/map-picker/customElement.js +2 -2
  399. package/dist/components/map-search/customElement.js +2 -2
  400. package/dist/components/map-select-tools/customElement.js +2 -2
  401. package/dist/components/map-tools/customElement.js +2 -2
  402. package/dist/components/pci-calculator/customElement.js +2 -2
  403. package/dist/components/pdf-download/customElement.js +2 -2
  404. package/dist/components/public-notification/customElement.js +2 -2
  405. package/dist/components/refine-selection/customElement.js +2 -2
  406. package/dist/components/selection-tool/customElement.js +2 -2
  407. package/dist/components/solution-configuration/customElement.js +2 -2
  408. package/dist/components/solution-configure-dialog/customElement.js +2 -2
  409. package/dist/components/solution-configure-titles/customElement.js +2 -2
  410. package/dist/components/solution-contents/customElement.js +2 -2
  411. package/dist/components/solution-delete-dialog/customElement.js +2 -2
  412. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  413. package/dist/components/solution-deployed-card/customElement.js +2 -2
  414. package/dist/components/solution-deploying-dialog/customElement.js +2 -2
  415. package/dist/components/solution-details-card/customElement.js +2 -2
  416. package/dist/components/solution-details-panel/customElement.js +17 -17
  417. package/dist/components/solution-item/customElement.js +2 -2
  418. package/dist/components/solution-item-accordion/customElement.js +2 -2
  419. package/dist/components/solution-item-details/customElement.js +2 -2
  420. package/dist/components/solution-item-diagram/customElement.js +2 -2
  421. package/dist/components/solution-item-icon/customElement.js +2 -2
  422. package/dist/components/solution-item-sharing/customElement.js +2 -2
  423. package/dist/components/solution-organization-variables/customElement.js +2 -2
  424. package/dist/components/solution-resource-card/customElement.js +2 -2
  425. package/dist/components/solution-resource-item/customElement.js +2 -2
  426. package/dist/components/solution-snapshot-gallery/customElement.js +2 -2
  427. package/dist/components/solution-social-share/customElement.js +2 -2
  428. package/dist/components/solution-spatial-ref/customElement.js +2 -2
  429. package/dist/components/solution-template-data/customElement.js +2 -2
  430. package/dist/components/solution-variables/customElement.js +2 -2
  431. package/dist/components/solutions-all-panel/customElement.js +2 -2
  432. package/dist/components/solutions-all-shell/customElement.js +13 -13
  433. package/dist/components/solutions-deploy-app/customElement.js +5 -5
  434. package/dist/components/solutions-deploy-app-nav/customElement.js +14 -14
  435. package/dist/components/solutions-deploy-app-nav/index.d.ts +1 -1
  436. package/dist/components/solutions-deploy-app-nav/index.js +1 -1
  437. package/dist/components/solutions-deployed-filter-panel/customElement.js +2 -2
  438. package/dist/components/solutions-deployed-panel/customElement.js +8 -8
  439. package/dist/components/solutions-deployed-shell/customElement.js +2 -2
  440. package/dist/components/solutions-filter-panel/customElement.js +66 -58
  441. package/dist/components/solutions-resource-panel/customElement.js +2 -2
  442. package/dist/components/solutions-resources/customElement.js +63 -21
  443. package/dist/components/solutions-resources/index.d.ts +2 -0
  444. package/dist/components/solutions-resources/index.js +2 -0
  445. package/dist/components/solutions-resources-shell/customElement.js +13 -13
  446. package/dist/components/solutions-searchsort-toolbar/customElement.js +6 -6
  447. package/dist/components/spatial-ref/customElement.js +2 -2
  448. package/dist/components/store-manager/customElement.js +2 -2
  449. package/dist/docs/api.json +14 -14
  450. package/dist/docs/docs.json +13 -13
  451. package/dist/docs/vscode.html-custom-data.json +1 -1
  452. package/dist/docs/web-types.json +7 -7
  453. package/dist/index.js +2 -2
  454. package/dist/loader.js +2 -2
  455. package/dist/utils/interfaces.d.ts +7 -2
  456. package/package.json +1 -1
  457. package/dist/cdn/2OFLAJMD.js +0 -4
  458. package/dist/cdn/2UD2JW6W.js +0 -4
  459. package/dist/cdn/3UHCAXWM.js +0 -18
  460. package/dist/cdn/4AJRDF43.js +0 -18
  461. package/dist/cdn/7JHLTQPN.js +0 -4
  462. package/dist/cdn/ASCQB3WJ.js +0 -18
  463. package/dist/cdn/CDVDTOES.js +0 -4
  464. package/dist/cdn/CSIRFAU6.js +0 -4
  465. package/dist/cdn/CW75KMEC.js +0 -18
  466. package/dist/cdn/CWHNOFME.js +0 -4
  467. package/dist/cdn/EDUHM55V.js +0 -4
  468. package/dist/cdn/F623IGPX.js +0 -4
  469. package/dist/cdn/FC6IKY2W.js +0 -4
  470. package/dist/cdn/G5GGYFR7.js +0 -4
  471. package/dist/cdn/GSWDAF7B.js +0 -4
  472. package/dist/cdn/HJ7NVYR7.js +0 -18
  473. package/dist/cdn/IY2WYTE7.js +0 -4
  474. package/dist/cdn/LGEMJU6L.js +0 -18
  475. package/dist/cdn/MBMSJWWT.js +0 -18
  476. package/dist/cdn/MX4IW5YN.js +0 -4
  477. package/dist/cdn/NMCQMLLM.js +0 -4
  478. package/dist/cdn/O3KT4DDI.js +0 -4
  479. package/dist/cdn/OMVONFJ5.js +0 -4
  480. package/dist/cdn/PG6P7PAY.js +0 -4
  481. package/dist/cdn/PREOVEW5.js +0 -4
  482. package/dist/cdn/PTMZ4JVP.js +0 -4
  483. package/dist/cdn/QCIKLF3J.js +0 -18
  484. package/dist/cdn/SMQE63G2.js +0 -4
  485. package/dist/cdn/TKTNS4QT.js +0 -4
  486. package/dist/cdn/TSHEHQMQ.js +0 -4
  487. package/dist/cdn/VDDRSCWE.js +0 -4
  488. package/dist/cdn/VMJTYN3P.js +0 -4
  489. package/dist/cdn/W3S4K3XB.js +0 -4
  490. package/dist/cdn/Y6LWGXAH.js +0 -18
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import c from"./AEKQAS23.js";import b from"./GSWDAF7B.js";import"./GKQNL5AY.js";import a from"./C76FP4MR.js";import{a as K}from"./CVM23Z3W.js";import{C as Te,E as Fe,c as ze,z as Pe}from"./F55B5BNY.js";import{b as Ie}from"./AZYTSIFB.js";import"./DAACTUXD.js";import{D as Ee,E as Se,G as w,H as E,h as ke,i as L,j as ue,l as ce,r as Re}from"./WTWNLOAO.js";import{b as lt,d as ct}from"./6ZYP4HST.js";export default $arcgis.t(([,{a:B,b:W},{a:Me,b:oe,d:Ue,e:He,f:he,g:Be,i:De,o:de,s:qe,t:Y,u:me,v:We,w:Ge}])=>{var Ke=lt((fe,Je)=>{(function(b,t){typeof fe=="object"&&typeof Je<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),c="".concat(t,"1999/xlink"),n=[],r=function(e,i){var a={};return Object.keys(e).forEach(function(l){a[l]=e[l]}),i&&Object.keys(i).forEach(function(l){a[l]=i[l]}),a},u=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},h=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,a){if(i.vnodeSelector!==""){for(var l=a;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,a,l){var p=e[i];if(p.vnodeSelector!==""){var o=p.properties,A=o?o.key===void 0?o.bind:o.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(a.vnodeSelector," had a ").concat(p.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:a,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},I=function(){C=!1,x.forEach(S),x.length=0},z=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(I,{timeout:16}):setTimeout(I,16))},R=function(e){var i=e.domNode;if(e.properties){var a=e.properties.exitAnimation;if(a){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),z(e))};a(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),z(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,a){if(i)for(var l=a.eventHandlerInterceptor,p=Object.keys(i).filter(D),o=p.length,A=0;A<o;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(h(O),a.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ne=0,re=Object.entries(i.on);ne<re.length;ne++){var se=re[ne],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):a.namespace===s?f==="href"?e.setAttributeNS(c,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,a){if(i)for(var l=0,p=i;l<p.length;l++){var o=p[l];F(o,e,void 0,a)}},H=function(e,i,a){Q(e,i.children,a),i.text&&(e.textContent=i.text),ee(e,i.properties,a),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,a,i.vnodeSelector,i.properties,i.children])},F=function(e,i,a,l){var p,o,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(o=e.domNode=d.createTextNode(e.text),a!==void 0?i.insertBefore(o,a):i.appendChild(o));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?o.classList.add(m):y==="#"?o.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?o=e.domNode=d.createElementNS(l.namespace,m):(o=e.domNode=e.domNode||(!((p=e.properties)===null||p===void 0)&&p.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&o.setAttribute("type",e.properties.type)),a!==void 0?i.insertBefore(o,a):o.parentNode!==i&&i.appendChild(o)),A=v+1}}H(o,e,l)}},G,te=function(e,i,a){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,a)})},pe=function(e,i,a,l){if(a){for(var p=!1,o=Object.keys(a).filter(D),A=o.length,f=0;f<A;f++){var d=o[f],v=a[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ne=!!k[J];O!==ne&&(p=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(p=!0,q?(h(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(p=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(c,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Ne=function(e,i,a,l,p){if(a===l)return!1;a=a||n,l=l||n;for(var o=a.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<o?a[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))k=G(y,m,p,i,a)||k,f++;else{var U=_(a,m,f+1);if(U>=0){for(v=f;v<U;v++)R(a[v]),$(a,v,e,"removed");k=G(a[U],m,p,i,a)||k,f=U+1}else F(m,i,f<o?a[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(o>f)for(v=f;v<o;v++)R(a[v]),$(a,v,e,"removed");return k};G=function(e,i,a,l,p){var o=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=o.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,o)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=o}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(a=r(a,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?o.removeChild(o.firstChild):o.textContent=i.text),i.domNode=o,f=Ne(i,o,e.children,i.children,a)||f,f=pe(o,e.properties,i.properties,a)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[o,a,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(o,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(a){if(e.vnodeSelector!==a.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=a,G(l,a,i,l.domNode.parentNode,[l])},domNode:e.domNode}},je={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,a){i.charAt(0)==="-"?e.style.setProperty(i,a):e.style[i]=a}},Z=function(e){return r(je,e)},ae={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,a){return a=Z(a),F(i,e,void 0,a),ie(i,a)},insertBefore:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),ie(i,a)},merge:function(e,i,a){return a=Z(a),i.domNode=e,H(e,i,a),ie(i,a)},replace:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),e.parentNode.removeChild(e),ie(i,a)}},Ve=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,a){for(var l=0,p=i.length;l<p;l++){var o=i[l];Array.isArray(o)?xe(e,o,a):o!=null&&o!==!1&&(typeof o=="string"&&(o=Ve(o)),a.push(o))}};function et(e,i,a){if(Array.isArray(i))a=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||a&&(typeof a=="string"||a.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return a&&a.length===1&&typeof a[0]=="string"?l=a[0]:a&&(p=[],xe(e,a,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var tt=function(e,i){for(var a=[];e&&e!==i;)a.push(e),e=e.parentNode;return a},ge;Array.prototype.find?ge=function(e,i){return e.find(i)}:ge=function(e,i){return e.filter(i)[0]};var it=function(e,i){var a=e;return i.forEach(function(l){a=a&&a.children?ge(a.children,function(p){return p.domNode===l}):void 0}),a},at=function(e,i,a){return function(p,o,A,f){return l};function l(p){var o,A;a("domEvent",p);var f=i(),d=tt(p.currentTarget,f.domNode);d.reverse();var v=it(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(o=v.properties["on".concat(p.type)])!==null&&o!==void 0?o:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];k=y.apply(v.properties.bind||this,arguments)}return a("domEventProcessed",p),k}},nt=function(e){var i,a=Z(e),l=a.performanceLogger,p=!0,o,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};a.eventHandlerInterceptor=at(i,J,l),T=y(m,U(),a),f.push(T),d.push(U)},k=function(){if(o=void 0,!!p){p=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),p=!0}};return i={renderNow:k,scheduleRender:function(){!o&&!A&&(o=requestAnimationFrame(k))},stop:function(){o&&(cancelAnimationFrame(o),o=void 0),A=!0},resume:function(){A=!1,p=!0,i.scheduleRender()},append:function(y,m){v(ae.append,y,m)},insertBefore:function(y,m){v(ae.insertBefore,y,m)},merge:function(y,m){v(ae.merge,y,m)},replace:function(y,m){v(ae.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},rt=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(a,l){if(e)for(var p=0;p<a.length;p++)e[p]!==a[p]&&(i=void 0);return i||(i=l(),e=a),i}}},st=function(e,i,a){var l=[],p=[];return{results:p,map:function(o){for(var A=o.map(e),f=p.slice(),d=0,v=0;v<o.length;v++){var k=o[v],y=A[v];if(y===l[d])p[v]=f[d],a(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){p[v]=f[T],a(o[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(k,v))}}p.length=o.length,l=A}}};b.createCache=rt,b.createMapping=st,b.createProjector=nt,b.dom=ae,b.h=et}))});var Qe=ct(Ke(),1);var ot=96;function V(b){return b?b/72*ot:0}var dt=(0,Qe.createProjector)(),Ze=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function ft(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ue`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ue`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function vt(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Oe(b,t,s="vertical",c){b.infos.forEach((n,r)=>{if(c&&r===2)n.preview=vt(t,s);else{let{size:u}=n,h=V(u)+(s==="horizontal"?Le:ve),_=n.preview.tagName.toLowerCase()==="div",$=_?n.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(n.preview),n.preview=$}})}function Xe(b,t="classic"){let s=b.infos,c=s[0].size,n=s[s.length-1].size;return t==="classic"?(V(c)+ve)/2:(V(c)-V(n))/2}function ye(b,t,s){if(!b)return null;let c=b.infos.map(r=>r.color),n=t.renderColorRampPreviewHTML(s.type==="full"?c:s.type==="above"?c.slice(0,3):c.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return n.className=Ae.colorRamp,s.opacity!=null&&(n.style.opacity=s.opacity.toString()),n}function pt(b,t,s,c="vertical"){let n=0,r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u;for(let $=h;$<=_;$++)if(s&&$===u)n+=c==="horizontal"?Ze:_e;else{let P=r[$].size,x=V(P)+(c==="horizontal"?Le:ve);n+=x}return Math.round(n)}function $e(b,t,s,c="vertical"){let n=pt(b,t,s,c),r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u,$=t==="full"?r[h].size+r[_].size:t==="above"?r[h].size:r[_].size,P=s?c==="vertical"?_e:Ze:0,x=c==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(n-(V($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let c=b.infos,n=c.find(({type:u})=>u==="size-ramp"),r=c.find(({type:u})=>u==="color-ramp");return n&&(n={...n},n.infos=[...n.infos],Oe(n,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(n?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:n,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,c=s.find(({type:r})=>r==="size-ramp"),n=s.find(({type:r})=>r==="color-ramp");return c&&(c={...c},c.infos=[...c.infos],Oe(c,null,t,!1)),n&&(n={...n},n.infos=[...n.infos]),t==="horizontal"&&(c?.infos.reverse(),n?.infos.reverse()),{sizeRampElement:c,colorRampElement:n}}function ht(b,t){return!0}var mt=ke`@layer{instant-apps-interactive-legend-classic{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,g={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},yt=24,Ye={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Se{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=mt}static{this.shadowRootOptions=Re}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Te(),Pe()]),c=await Fe();this.reactiveUtils=s,this.intl=t,this.symbolUtils=c}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&We(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let c=s?.allLayers?.map(async h=>await h.load()),n=(await Promise.allSettled(c)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];n.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await oe(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...u}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:u}=t,h=this.messages[r],_=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let c=null;if(s){let r=t;c=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;c=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let n=c==="showField"?"{field}":typeof c=="string"?this.messages[c]:"";return c?this.intl?.substitute(n,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(n=>n?.type==="feature"),s=[];for(let n of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(n));let c=[];try{c=await Promise.all(s)}catch(n){console.error(n)}for(let n of c){let r=`fLayerViewScale-${n.layer.id}`;!this.handles?.has(r)&&n&&this.handles?.add(n.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(n.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(n=>{let r=`fLayer-${n?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>n?.visible,()=>{this.createDataForLayer(n).catch(u=>{console.error(u)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",n=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>n.children,"change",()=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],c=Ge(this.legendvm?.activeLayerInfos)?.find(n=>n?.layer?.id===t?.id);if(!s&&c){let n=await Me(this.legendvm,c,this.reactiveUtils);if(me({intLegendLayerData:n,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,c,n){return async()=>{let r={...B.data?.[s?.id]};n?await he(r,t,c,this.filterMode,n):await he(r,t,c,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${g.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(g.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let c=t.legendElements;if(c&&!c.length)return null;let n=c.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return n.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(g.layer)}>${n}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,c,n,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=De(n,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,c,P,t,n,r,D,C,h)).filter(M=>!!M);R.length&&(x=L`<div class=${w(g.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${n} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,c)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,c)}if(!x)return null;let I=t.title,z=null;if(typeof I=="string")z=I;else if(I){let R=I,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in I&&(z=`${I.title} (${M})`):z=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${n} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${z} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,c){let{sizeRampElement:n,colorRampElement:r}=gt(t,s);if(!n)return null;let u=$e(n,"above",!0),h=$e(n,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:c}),P=ye(r,this.symbolUtils,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:c}),x=Xe(n),C=n.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),I=C.length-1,z=Math.floor(C.length/2),R=C.map((H,F)=>F===z||F===I?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${u}px`},Q={height:`${h}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map((H,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,c){let{sizeRampElement:n,colorRampElement:r}=ut(t);if(!n)return null;let u=Xe(n),h=12,_=$e(n,"full",!1),$=ye(r,this.symbolUtils,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:c}),P=n.infos.length-1,x=n.infos.map((z,R)=>R===0||R===P?L`<div class=${w(z.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${z.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${u}px`},I={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map(z=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(C)} .innerHTML=${z?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(I)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let c=t.infos,n=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=n?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=c.map(C=>{let S;if(r){let I=this.messages[C.label];S=typeof I=="string"?I:C.label}else u?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?g.rampLabel:"")}>${S}</div>`}),P={width:`${yt}px`},x={height:h?.style?.height};return L`<div class=${w(g.layerRow)}><div class=${w(g.symbolContainer)} style=${E({...P})}><div class=${w(g.rampContainer)} ${Ee(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,c,n,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,c,u,h,!0,t);let x=null,C=!ht(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",I=n?` ${g.sizeRamp}`:"",z,R=He(s),M=qe(R,P);if(B.data){let G=Ue(R,s,t,M,_),te=M?M?.nestedInfos:R,pe=Be(te);z=R?.categories?.size===1?!G?.selected:pe||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${z?` ${g.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??ce} .ariaPressed=${z?"true":"false"}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!z} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,c){let{label:n,src:r,opacity:u}=t,h=c?` ${g.imageryLayerStretchedImage}`:"",_=c?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(n,!1)??ce} src=${r??ce} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Ie("instant-apps-interactive-legend-classic",we);return we},a,b,c)
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.10 */
4
+ import c from"./GWPWR4NJ.js";import b from"./U4C2O3EI.js";import"./IYW4WSQU.js";import a from"./PZTS2ZM2.js";import{a as K}from"./HCEMIND7.js";import{C as Te,E as Fe,c as ze,z as Pe}from"./D4ANXHA6.js";import{b as Ie}from"./VORLDHAW.js";import"./IKL6SJCX.js";import{D as Ee,E as Se,G as w,H as E,h as ke,i as L,j as ue,l as ce,r as Re}from"./DEMY5LXS.js";import{b as lt,d as ct}from"./AM4POOOK.js";export default $arcgis.t(([,{a:B,b:W},{a:Me,b:oe,d:Ue,e:He,f:he,g:Be,i:De,o:de,s:qe,t:Y,u:me,v:We,w:Ge}])=>{var Ke=lt((fe,Je)=>{(function(b,t){typeof fe=="object"&&typeof Je<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),c="".concat(t,"1999/xlink"),n=[],r=function(e,i){var a={};return Object.keys(e).forEach(function(l){a[l]=e[l]}),i&&Object.keys(i).forEach(function(l){a[l]=i[l]}),a},u=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},h=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,a){if(i.vnodeSelector!==""){for(var l=a;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,a,l){var p=e[i];if(p.vnodeSelector!==""){var o=p.properties,A=o?o.key===void 0?o.bind:o.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(a.vnodeSelector," had a ").concat(p.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:a,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},I=function(){C=!1,x.forEach(S),x.length=0},z=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(I,{timeout:16}):setTimeout(I,16))},R=function(e){var i=e.domNode;if(e.properties){var a=e.properties.exitAnimation;if(a){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),z(e))};a(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),z(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,a){if(i)for(var l=a.eventHandlerInterceptor,p=Object.keys(i).filter(D),o=p.length,A=0;A<o;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(h(O),a.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ne=0,re=Object.entries(i.on);ne<re.length;ne++){var se=re[ne],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):a.namespace===s?f==="href"?e.setAttributeNS(c,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,a){if(i)for(var l=0,p=i;l<p.length;l++){var o=p[l];F(o,e,void 0,a)}},H=function(e,i,a){Q(e,i.children,a),i.text&&(e.textContent=i.text),ee(e,i.properties,a),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,a,i.vnodeSelector,i.properties,i.children])},F=function(e,i,a,l){var p,o,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(o=e.domNode=d.createTextNode(e.text),a!==void 0?i.insertBefore(o,a):i.appendChild(o));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?o.classList.add(m):y==="#"?o.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?o=e.domNode=d.createElementNS(l.namespace,m):(o=e.domNode=e.domNode||(!((p=e.properties)===null||p===void 0)&&p.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&o.setAttribute("type",e.properties.type)),a!==void 0?i.insertBefore(o,a):o.parentNode!==i&&i.appendChild(o)),A=v+1}}H(o,e,l)}},G,te=function(e,i,a){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,a)})},pe=function(e,i,a,l){if(a){for(var p=!1,o=Object.keys(a).filter(D),A=o.length,f=0;f<A;f++){var d=o[f],v=a[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ne=!!k[J];O!==ne&&(p=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(p=!0,q?(h(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(p=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(c,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Ne=function(e,i,a,l,p){if(a===l)return!1;a=a||n,l=l||n;for(var o=a.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<o?a[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))k=G(y,m,p,i,a)||k,f++;else{var U=_(a,m,f+1);if(U>=0){for(v=f;v<U;v++)R(a[v]),$(a,v,e,"removed");k=G(a[U],m,p,i,a)||k,f=U+1}else F(m,i,f<o?a[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(o>f)for(v=f;v<o;v++)R(a[v]),$(a,v,e,"removed");return k};G=function(e,i,a,l,p){var o=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=o.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,o)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=o}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(a=r(a,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?o.removeChild(o.firstChild):o.textContent=i.text),i.domNode=o,f=Ne(i,o,e.children,i.children,a)||f,f=pe(o,e.properties,i.properties,a)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[o,a,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(o,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(a){if(e.vnodeSelector!==a.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=a,G(l,a,i,l.domNode.parentNode,[l])},domNode:e.domNode}},je={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,a){i.charAt(0)==="-"?e.style.setProperty(i,a):e.style[i]=a}},Z=function(e){return r(je,e)},ae={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,a){return a=Z(a),F(i,e,void 0,a),ie(i,a)},insertBefore:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),ie(i,a)},merge:function(e,i,a){return a=Z(a),i.domNode=e,H(e,i,a),ie(i,a)},replace:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),e.parentNode.removeChild(e),ie(i,a)}},Ve=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,a){for(var l=0,p=i.length;l<p;l++){var o=i[l];Array.isArray(o)?xe(e,o,a):o!=null&&o!==!1&&(typeof o=="string"&&(o=Ve(o)),a.push(o))}};function et(e,i,a){if(Array.isArray(i))a=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||a&&(typeof a=="string"||a.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return a&&a.length===1&&typeof a[0]=="string"?l=a[0]:a&&(p=[],xe(e,a,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var tt=function(e,i){for(var a=[];e&&e!==i;)a.push(e),e=e.parentNode;return a},ge;Array.prototype.find?ge=function(e,i){return e.find(i)}:ge=function(e,i){return e.filter(i)[0]};var it=function(e,i){var a=e;return i.forEach(function(l){a=a&&a.children?ge(a.children,function(p){return p.domNode===l}):void 0}),a},at=function(e,i,a){return function(p,o,A,f){return l};function l(p){var o,A;a("domEvent",p);var f=i(),d=tt(p.currentTarget,f.domNode);d.reverse();var v=it(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(o=v.properties["on".concat(p.type)])!==null&&o!==void 0?o:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];k=y.apply(v.properties.bind||this,arguments)}return a("domEventProcessed",p),k}},nt=function(e){var i,a=Z(e),l=a.performanceLogger,p=!0,o,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};a.eventHandlerInterceptor=at(i,J,l),T=y(m,U(),a),f.push(T),d.push(U)},k=function(){if(o=void 0,!!p){p=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),p=!0}};return i={renderNow:k,scheduleRender:function(){!o&&!A&&(o=requestAnimationFrame(k))},stop:function(){o&&(cancelAnimationFrame(o),o=void 0),A=!0},resume:function(){A=!1,p=!0,i.scheduleRender()},append:function(y,m){v(ae.append,y,m)},insertBefore:function(y,m){v(ae.insertBefore,y,m)},merge:function(y,m){v(ae.merge,y,m)},replace:function(y,m){v(ae.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},rt=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(a,l){if(e)for(var p=0;p<a.length;p++)e[p]!==a[p]&&(i=void 0);return i||(i=l(),e=a),i}}},st=function(e,i,a){var l=[],p=[];return{results:p,map:function(o){for(var A=o.map(e),f=p.slice(),d=0,v=0;v<o.length;v++){var k=o[v],y=A[v];if(y===l[d])p[v]=f[d],a(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){p[v]=f[T],a(o[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(k,v))}}p.length=o.length,l=A}}};b.createCache=rt,b.createMapping=st,b.createProjector=nt,b.dom=ae,b.h=et}))});var Qe=ct(Ke(),1);var ot=96;function V(b){return b?b/72*ot:0}var dt=(0,Qe.createProjector)(),Ze=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function ft(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ue`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ue`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function vt(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Oe(b,t,s="vertical",c){b.infos.forEach((n,r)=>{if(c&&r===2)n.preview=vt(t,s);else{let{size:u}=n,h=V(u)+(s==="horizontal"?Le:ve),_=n.preview.tagName.toLowerCase()==="div",$=_?n.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(n.preview),n.preview=$}})}function Xe(b,t="classic"){let s=b.infos,c=s[0].size,n=s[s.length-1].size;return t==="classic"?(V(c)+ve)/2:(V(c)-V(n))/2}function ye(b,t,s){if(!b)return null;let c=b.infos.map(r=>r.color),n=t.renderColorRampPreviewHTML(s.type==="full"?c:s.type==="above"?c.slice(0,3):c.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return n.className=Ae.colorRamp,s.opacity!=null&&(n.style.opacity=s.opacity.toString()),n}function pt(b,t,s,c="vertical"){let n=0,r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u;for(let $=h;$<=_;$++)if(s&&$===u)n+=c==="horizontal"?Ze:_e;else{let P=r[$].size,x=V(P)+(c==="horizontal"?Le:ve);n+=x}return Math.round(n)}function $e(b,t,s,c="vertical"){let n=pt(b,t,s,c),r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u,$=t==="full"?r[h].size+r[_].size:t==="above"?r[h].size:r[_].size,P=s?c==="vertical"?_e:Ze:0,x=c==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(n-(V($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let c=b.infos,n=c.find(({type:u})=>u==="size-ramp"),r=c.find(({type:u})=>u==="color-ramp");return n&&(n={...n},n.infos=[...n.infos],Oe(n,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(n?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:n,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,c=s.find(({type:r})=>r==="size-ramp"),n=s.find(({type:r})=>r==="color-ramp");return c&&(c={...c},c.infos=[...c.infos],Oe(c,null,t,!1)),n&&(n={...n},n.infos=[...n.infos]),t==="horizontal"&&(c?.infos.reverse(),n?.infos.reverse()),{sizeRampElement:c,colorRampElement:n}}function ht(b,t){return!0}var mt=ke`@layer{instant-apps-interactive-legend-classic{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,g={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},yt=24,Ye={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Se{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=mt}static{this.shadowRootOptions=Re}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Te(),Pe()]),c=await Fe();this.reactiveUtils=s,this.intl=t,this.symbolUtils=c}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&We(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let c=s?.allLayers?.map(async h=>await h.load()),n=(await Promise.allSettled(c)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];n.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await oe(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...u}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:u}=t,h=this.messages[r],_=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let c=null;if(s){let r=t;c=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;c=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let n=c==="showField"?"{field}":typeof c=="string"?this.messages[c]:"";return c?this.intl?.substitute(n,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(n=>n?.type==="feature"),s=[];for(let n of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(n));let c=[];try{c=await Promise.all(s)}catch(n){console.error(n)}for(let n of c){let r=`fLayerViewScale-${n.layer.id}`;!this.handles?.has(r)&&n&&this.handles?.add(n.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(n.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(n=>{let r=`fLayer-${n?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>n?.visible,()=>{this.createDataForLayer(n).catch(u=>{console.error(u)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",n=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>n.children,"change",()=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],c=Ge(this.legendvm?.activeLayerInfos)?.find(n=>n?.layer?.id===t?.id);if(!s&&c){let n=await Me(this.legendvm,c,this.reactiveUtils);if(me({intLegendLayerData:n,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,c,n){return async()=>{let r={...B.data?.[s?.id]};n?await he(r,t,c,this.filterMode,n):await he(r,t,c,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${g.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(g.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let c=t.legendElements;if(c&&!c.length)return null;let n=c.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return n.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(g.layer)}>${n}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,c,n,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=De(n,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,c,P,t,n,r,D,C,h)).filter(M=>!!M);R.length&&(x=L`<div class=${w(g.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${n} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,c)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,c)}if(!x)return null;let I=t.title,z=null;if(typeof I=="string")z=I;else if(I){let R=I,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in I&&(z=`${I.title} (${M})`):z=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${n} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${z} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,c){let{sizeRampElement:n,colorRampElement:r}=gt(t,s);if(!n)return null;let u=$e(n,"above",!0),h=$e(n,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:c}),P=ye(r,this.symbolUtils,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:c}),x=Xe(n),C=n.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),I=C.length-1,z=Math.floor(C.length/2),R=C.map((H,F)=>F===z||F===I?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${u}px`},Q={height:`${h}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map((H,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,c){let{sizeRampElement:n,colorRampElement:r}=ut(t);if(!n)return null;let u=Xe(n),h=12,_=$e(n,"full",!1),$=ye(r,this.symbolUtils,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:c}),P=n.infos.length-1,x=n.infos.map((z,R)=>R===0||R===P?L`<div class=${w(z.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${z.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${u}px`},I={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map(z=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(C)} .innerHTML=${z?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(I)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let c=t.infos,n=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=n?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=c.map(C=>{let S;if(r){let I=this.messages[C.label];S=typeof I=="string"?I:C.label}else u?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?g.rampLabel:"")}>${S}</div>`}),P={width:`${yt}px`},x={height:h?.style?.height};return L`<div class=${w(g.layerRow)}><div class=${w(g.symbolContainer)} style=${E({...P})}><div class=${w(g.rampContainer)} ${Ee(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,c,n,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,c,u,h,!0,t);let x=null,C=!ht(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",I=n?` ${g.sizeRamp}`:"",z,R=He(s),M=qe(R,P);if(B.data){let G=Ue(R,s,t,M,_),te=M?M?.nestedInfos:R,pe=Be(te);z=R?.categories?.size===1?!G?.selected:pe||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${z?` ${g.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??ce} .ariaPressed=${z?"true":"false"}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!z} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,c){let{label:n,src:r,opacity:u}=t,h=c?` ${g.imageryLayerStretchedImage}`:"",_=c?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(n,!1)??ce} src=${r??ce} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Ie("instant-apps-interactive-legend-classic",we);return we},a,b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.4 */
4
- import{a as e}from"./56XBTT4O.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.10 */
4
+ import{a as e}from"./P7Q74AQB.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};