@esri/solutions-components 1.2.0-next.39 → 1.2.0-next.40

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 (482) hide show
  1. package/dist/cdn/{Y2WHVNN4.js → 22LSTXDI.js} +2 -2
  2. package/dist/cdn/{6EQFECME.js → 24AE6RS5.js} +2 -2
  3. package/dist/cdn/{GFVX4EMM.js → 24BPSUMW.js} +2 -2
  4. package/dist/cdn/{R2OABS2T.js → 25J7T73M.js} +2 -2
  5. package/dist/cdn/{WZUVYC73.js → 2A5DEDLR.js} +2 -2
  6. package/dist/cdn/{2O6NGBB6.js → 2MEICN7Y.js} +2 -2
  7. package/dist/cdn/{PKVF2FP5.js → 2N2XJJQB.js} +2 -2
  8. package/dist/cdn/2RONSDCL.js +4 -0
  9. package/dist/cdn/2UBVJURQ.js +4 -0
  10. package/dist/cdn/{FG5AJMYA.js → 2XM7CVSN.js} +2 -2
  11. package/dist/cdn/335A3SVP.js +18 -0
  12. package/dist/cdn/{EL5FRVS6.js → 33QQDKOE.js} +2 -2
  13. package/dist/cdn/{GSWS6LV4.js → 3BKKYRYW.js} +2 -2
  14. package/dist/cdn/{V67XFEUW.js → 3DN5HXPC.js} +2 -2
  15. package/dist/cdn/{44NBOHM2.js → 3FSBI6F5.js} +2 -2
  16. package/dist/cdn/{ED5WILS7.js → 3G7VU2K3.js} +1 -1
  17. package/dist/cdn/{U7OZ5SFK.js → 3GFJTYMC.js} +2 -2
  18. package/dist/cdn/{LWA5F2BZ.js → 3GZO2WZD.js} +1 -1
  19. package/dist/cdn/{HIFCAPVC.js → 3O3L74OO.js} +2 -2
  20. package/dist/cdn/3SPKBPGT.js +4 -0
  21. package/dist/cdn/{PKQMEHQA.js → 3ULXZT44.js} +2 -2
  22. package/dist/cdn/3WOOLYTT.js +4 -0
  23. package/dist/cdn/{XPWG546Z.js → 3YAIZ4AY.js} +2 -2
  24. package/dist/cdn/{QLU5OWJF.js → 43Z5ON3N.js} +2 -2
  25. package/dist/cdn/{2WXPOV3P.js → 44LEPW6A.js} +1 -1
  26. package/dist/cdn/{MRWIBLIJ.js → 4AAJZTHE.js} +2 -2
  27. package/dist/cdn/{F3MCBCB6.js → 4EFWB4US.js} +2 -2
  28. package/dist/cdn/{CQQZWTFQ.js → 4FG36VXF.js} +2 -2
  29. package/dist/cdn/{U2LYBUGE.js → 4IG37QFC.js} +2 -2
  30. package/dist/cdn/{3QN5E5ZG.js → 4PGNXDTB.js} +2 -2
  31. package/dist/cdn/{4BWFKSLS.js → 4T6WSHHS.js} +2 -2
  32. package/dist/cdn/{ZXIUDDYB.js → 4TEDDJJZ.js} +2 -2
  33. package/dist/cdn/{GFSUU6WL.js → 4TOFX2YC.js} +2 -2
  34. package/dist/cdn/{2VG4KTXI.js → 52CMYQNR.js} +2 -2
  35. package/dist/cdn/{OBQWYEXQ.js → 54FNRUZ7.js} +2 -2
  36. package/dist/cdn/{6GG4PERR.js → 54XJV5MW.js} +2 -2
  37. package/dist/cdn/{JYP27YIQ.js → 57KDR6SS.js} +2 -2
  38. package/dist/cdn/{GGC6RL2U.js → 5DJHL7NR.js} +2 -2
  39. package/dist/cdn/{P2EO3DWY.js → 5G3C4VGP.js} +2 -2
  40. package/dist/cdn/{ULZSI2DN.js → 5GELTW2I.js} +2 -2
  41. package/dist/cdn/{GCWO775W.js → 5GJRS7I3.js} +2 -2
  42. package/dist/cdn/{2ES34Q6J.js → 5HGT7YVW.js} +1 -1
  43. package/dist/cdn/{6HLRUCZG.js → 5OA2SJVO.js} +2 -2
  44. package/dist/cdn/{JUEKMPOJ.js → 5PKZDGNZ.js} +2 -2
  45. package/dist/cdn/{AMF6BI56.js → 5TWZLTBH.js} +2 -2
  46. package/dist/cdn/{EAYYPNUN.js → 5WEG26FF.js} +2 -2
  47. package/dist/cdn/{ZO4AXM6R.js → 5ZWAZCFY.js} +2 -2
  48. package/dist/cdn/{KTJQK2DV.js → 6HNCP5GT.js} +2 -2
  49. package/dist/cdn/{LWSKZY3I.js → 6JWM4HAN.js} +2 -2
  50. package/dist/cdn/{VL5YXNHS.js → 6QZZ7FGW.js} +2 -2
  51. package/dist/cdn/{6O7APH3Z.js → 6SASOMAS.js} +2 -2
  52. package/dist/cdn/{SJYJMWIY.js → 6SFZDUXH.js} +2 -2
  53. package/dist/cdn/{6EIKVLU7.js → 6WP5NTQB.js} +2 -2
  54. package/dist/cdn/{KE7LRF4I.js → 72Q6CHGU.js} +2 -2
  55. package/dist/cdn/{RMSZYQJG.js → 7375BHEC.js} +2 -2
  56. package/dist/cdn/{5ZNDWVZH.js → 753D5YV7.js} +2 -2
  57. package/dist/cdn/{WZML2FIR.js → 75X6PFX2.js} +2 -2
  58. package/dist/cdn/{DOCQSXJ7.js → 7FETL7XH.js} +2 -2
  59. package/dist/cdn/{U3G2QMBL.js → 7JTTP3OJ.js} +2 -2
  60. package/dist/cdn/{HDQCKS57.js → 7KDS3WQC.js} +2 -2
  61. package/dist/cdn/{LJUGVDCP.js → 7MSJIXZK.js} +2 -2
  62. package/dist/cdn/{L2PXD7EH.js → 7OBLVTKG.js} +2 -2
  63. package/dist/cdn/{Q4KFQCM6.js → 7QEJFG62.js} +2 -2
  64. package/dist/cdn/{GEUFVTB2.js → 7RXDA3Y6.js} +2 -2
  65. package/dist/cdn/{5XOOAIG3.js → A6A6Q77M.js} +2 -2
  66. package/dist/cdn/{UQH76H3R.js → A6LCU65M.js} +1 -1
  67. package/dist/cdn/{M5JMSIE7.js → A7ZWKVMD.js} +2 -2
  68. package/dist/cdn/{TLJ572GX.js → ADASAFRJ.js} +2 -2
  69. package/dist/cdn/{Z37462H3.js → AFVOWSFB.js} +2 -2
  70. package/dist/cdn/{4XMI442R.js → AGRLPQ5O.js} +2 -2
  71. package/dist/cdn/{OKG5OWZ4.js → AJWFP36O.js} +2 -2
  72. package/dist/cdn/{WEWWSGGN.js → AJWX6DOV.js} +2 -2
  73. package/dist/cdn/{C46SRFOU.js → ANUW6DCM.js} +1 -1
  74. package/dist/cdn/{2IX3QGSO.js → APY3C3BR.js} +2 -2
  75. package/dist/cdn/{RCDFWLE4.js → AYCEU4PL.js} +2 -2
  76. package/dist/cdn/{PK6MBS72.js → AZ75RE5E.js} +3 -3
  77. package/dist/cdn/{5NYJD7TZ.js → AZHM7YHG.js} +2 -2
  78. package/dist/cdn/{6A2NATOZ.js → B2NDFNNN.js} +2 -2
  79. package/dist/cdn/{3TEA7MX6.js → B3MJQRPZ.js} +1 -1
  80. package/dist/cdn/{MUA7ZCJU.js → B4ZETRNQ.js} +2 -2
  81. package/dist/cdn/{2YPK4AUS.js → BBA4OM6D.js} +2 -2
  82. package/dist/cdn/{UBKD5JKQ.js → BCJMXG6H.js} +2 -2
  83. package/dist/cdn/{HETORT6U.js → BD5LDFYB.js} +2 -2
  84. package/dist/cdn/{GGKFJMLJ.js → BDHJOA2K.js} +2 -2
  85. package/dist/cdn/{VZKG4JHV.js → BGF72Y2E.js} +2 -2
  86. package/dist/cdn/{CTTYGCJK.js → BHPJPLEZ.js} +2 -2
  87. package/dist/cdn/{SJ3LMJOB.js → BHSFL2DH.js} +2 -2
  88. package/dist/cdn/{AWEQVKIB.js → BLA3VU3A.js} +2 -2
  89. package/dist/cdn/{45I67QEZ.js → BNTIILCB.js} +2 -2
  90. package/dist/cdn/{HUZIVTBQ.js → C3UIO7BG.js} +2 -2
  91. package/dist/cdn/{J2RRRBDM.js → C4MC27PY.js} +2 -2
  92. package/dist/cdn/{RSXAK76K.js → C4OP542Q.js} +2 -2
  93. package/dist/cdn/{K56GVQG2.js → C7JWDXZG.js} +2 -2
  94. package/dist/cdn/{RIQN7H3T.js → CBI7AKW4.js} +2 -2
  95. package/dist/cdn/{DWAVU62X.js → CFQ27C5D.js} +2 -2
  96. package/dist/cdn/{V5NG2JBW.js → CI3AJZYM.js} +2 -2
  97. package/dist/cdn/{AUX627ZK.js → CJZADT7Y.js} +2 -2
  98. package/dist/cdn/{KRJK7YPS.js → CPCK2RA2.js} +2 -2
  99. package/dist/cdn/CPZET4SV.js +4 -0
  100. package/dist/cdn/{3ISSDQ4D.js → CU4HDZQG.js} +2 -2
  101. package/dist/cdn/{TSO2GPQ5.js → CUQSJ2GM.js} +2 -2
  102. package/dist/cdn/{KULCFWUA.js → CUWIPVQT.js} +2 -2
  103. package/dist/cdn/{MFMURPUV.js → CWMJC4JV.js} +2 -2
  104. package/dist/cdn/{5GRPH64Y.js → D2GL5OFA.js} +2 -2
  105. package/dist/cdn/{XBE6YUAO.js → D3UBHI4Y.js} +2 -2
  106. package/dist/cdn/{BYRYCYHN.js → D5FQLPDO.js} +2 -2
  107. package/dist/cdn/{5Z5TBRGZ.js → D5JSWKGE.js} +2 -2
  108. package/dist/cdn/D5K6GCKH.js +4 -0
  109. package/dist/cdn/{WTBUBL7G.js → DDVBE4OC.js} +2 -2
  110. package/dist/cdn/{YAE55YMV.js → DFCH3LOG.js} +2 -2
  111. package/dist/cdn/{64OWILE3.js → DHU27M2E.js} +2 -2
  112. package/dist/cdn/{O5ALHKVH.js → DRDKG2LA.js} +1 -1
  113. package/dist/cdn/{73A3MIHN.js → DRK6UDCI.js} +2 -2
  114. package/dist/cdn/{IHW26JOK.js → DTN6ENHP.js} +2 -2
  115. package/dist/cdn/{PZTV2JTA.js → DVDKL2N7.js} +2 -2
  116. package/dist/cdn/{BQG6CK2P.js → DWQVBUOO.js} +2 -2
  117. package/dist/cdn/{5RQ465F3.js → DWYYNV4Q.js} +2 -2
  118. package/dist/cdn/{SABMPJEJ.js → E4AWIKH2.js} +2 -2
  119. package/dist/cdn/{MN2R7MTW.js → EAFE3KIJ.js} +2 -2
  120. package/dist/cdn/{VRSKGCS7.js → EDV4ZUGV.js} +2 -2
  121. package/dist/cdn/{ERPFWR4V.js → EFMEWOB6.js} +2 -2
  122. package/dist/cdn/{CQG3ZUSI.js → EGRV2XKN.js} +1 -1
  123. package/dist/cdn/{LVR5WN67.js → EJHRKWBI.js} +2 -2
  124. package/dist/cdn/{2Q4FTEUR.js → EMT55WWC.js} +2 -2
  125. package/dist/cdn/ENZRU6SN.js +4 -0
  126. package/dist/cdn/{PZJICKXI.js → EO2KGBGE.js} +2 -2
  127. package/dist/cdn/{SGODNKW5.js → EOSRI7N4.js} +2 -2
  128. package/dist/cdn/{BIKIWV7Q.js → EOUXBVTT.js} +2 -2
  129. package/dist/cdn/EPCYTXFN.js +4 -0
  130. package/dist/cdn/{VNSARVVC.js → EPZ7RIIQ.js} +1 -1
  131. package/dist/cdn/ER5SMVIY.js +4 -0
  132. package/dist/cdn/{GEJU4I45.js → ERNHWKWE.js} +2 -2
  133. package/dist/cdn/{7OIK5YLC.js → ESQZ2D7M.js} +2 -2
  134. package/dist/cdn/{QS4IJ33L.js → ETIXSDXY.js} +2 -2
  135. package/dist/cdn/{W7JWL435.js → EW3XU45Z.js} +2 -2
  136. package/dist/cdn/{LPUIJYXX.js → F3DJR3KS.js} +1 -1
  137. package/dist/cdn/{MEWRX3M3.js → F4KFLOKG.js} +2 -2
  138. package/dist/cdn/{HLX23ODB.js → F57VGGPR.js} +2 -2
  139. package/dist/cdn/{4NGLWLMV.js → F6FFHZA2.js} +2 -2
  140. package/dist/cdn/{LK5TYQL5.js → F6IAVJXL.js} +2 -2
  141. package/dist/cdn/{IHK3NBEO.js → FFZEUJLW.js} +2 -2
  142. package/dist/cdn/{XXWZDACE.js → FJNEPOPO.js} +2 -2
  143. package/dist/cdn/{3PPCI2R3.js → FJVY2BZI.js} +1 -1
  144. package/dist/cdn/{IBOKCC7C.js → FKI7FLDC.js} +2 -2
  145. package/dist/cdn/{UM77354S.js → FLOQAGXP.js} +2 -2
  146. package/dist/cdn/{CZKLCZBX.js → FLPS6WKJ.js} +1 -1
  147. package/dist/cdn/{ZWG3U3E7.js → FLQM3H4O.js} +2 -2
  148. package/dist/cdn/{JWMKG6UR.js → FPGYDUSB.js} +2 -2
  149. package/dist/cdn/{IQDY7VUL.js → FRNSR4YA.js} +2 -2
  150. package/dist/cdn/{O3RPPL4R.js → FT5LRSEX.js} +2 -2
  151. package/dist/cdn/{DGM7V6SO.js → FVVBSVQT.js} +2 -2
  152. package/dist/cdn/{JGG25YKA.js → GESTY7KD.js} +2 -2
  153. package/dist/cdn/{IFH6ER27.js → GEWRFQHZ.js} +2 -2
  154. package/dist/cdn/{67DXBPNN.js → GGSXCCHW.js} +1 -1
  155. package/dist/cdn/{PYKRSFCJ.js → GHWWUUKL.js} +2 -2
  156. package/dist/cdn/{BZYIJT4H.js → GLEWVSPF.js} +2 -2
  157. package/dist/cdn/{MEJIGZJA.js → GNF7YAU7.js} +2 -2
  158. package/dist/cdn/{HLO4ESLP.js → GR37X77I.js} +2 -2
  159. package/dist/cdn/{5G5DFCQ2.js → GRYHPDU4.js} +2 -2
  160. package/dist/cdn/GT5ATGLO.js +4 -0
  161. package/dist/cdn/{7H5I3SD4.js → GUZZNYMG.js} +2 -2
  162. package/dist/cdn/{CLLV77OZ.js → GVA2HDGK.js} +2 -2
  163. package/dist/cdn/{6F2DKEFE.js → GWQHIE4E.js} +2 -2
  164. package/dist/cdn/{RHFUZ4EQ.js → H4PWEP4P.js} +1 -1
  165. package/dist/cdn/{72AB6BBZ.js → HECR4WWY.js} +2 -2
  166. package/dist/cdn/{ASQECNQT.js → HEMZKBCY.js} +1 -1
  167. package/dist/cdn/{KMUD7MIG.js → HJIN4TCD.js} +2 -2
  168. package/dist/cdn/{QFKKMAW7.js → HLGZHYQM.js} +2 -2
  169. package/dist/cdn/{MZZHC6MJ.js → HNQC7O7U.js} +2 -2
  170. package/dist/cdn/{RNCLA6XD.js → HQYAOOKS.js} +2 -2
  171. package/dist/cdn/{PC5PQMH3.js → HSTVSCY5.js} +2 -2
  172. package/dist/cdn/{NXBFLQLG.js → HZ7QRNML.js} +2 -2
  173. package/dist/cdn/{GXTBHUQ3.js → HZTRCBGK.js} +2 -2
  174. package/dist/cdn/{4SCKR3SG.js → I32DNJKQ.js} +2 -2
  175. package/dist/cdn/{HESFWY6K.js → I37S3UHW.js} +1 -1
  176. package/dist/cdn/{ES5HSUHM.js → I5XDWXNN.js} +2 -2
  177. package/dist/cdn/{4VFCAKDX.js → I6ZD6GGV.js} +2 -2
  178. package/dist/cdn/{PNWUR4FN.js → IHAS3GLL.js} +2 -2
  179. package/dist/cdn/{6GJQHZLV.js → IK66JQE4.js} +2 -2
  180. package/dist/cdn/{KN6VRCJR.js → IKBU6H27.js} +2 -2
  181. package/dist/cdn/{CME3FQFQ.js → IM45V3PM.js} +2 -2
  182. package/dist/cdn/{EJNLBR4A.js → IMRTNUFG.js} +2 -2
  183. package/dist/cdn/{IYCAGAXO.js → IPUH3CLJ.js} +2 -2
  184. package/dist/cdn/{NPAJRPLS.js → IUH6PRUS.js} +1 -1
  185. package/dist/cdn/{R7JCMEBX.js → IZSZYB7Z.js} +2 -2
  186. package/dist/cdn/{YWTNIFNR.js → J54RZLOA.js} +2 -2
  187. package/dist/cdn/{KH6KBN5S.js → JBXSDSN3.js} +2 -2
  188. package/dist/cdn/{TDAI5FBB.js → JCJ4ZV6E.js} +2 -2
  189. package/dist/cdn/{XCPR5CLY.js → JGZQYKAL.js} +2 -2
  190. package/dist/cdn/{JZMWBYSL.js → JH5UYQ3Z.js} +2 -2
  191. package/dist/cdn/{KZRCF37A.js → JK4L7H5H.js} +2 -2
  192. package/dist/cdn/{6NAJSWSH.js → JKLMSSSI.js} +2 -2
  193. package/dist/cdn/{IR4NISLP.js → JRZLCTS4.js} +1 -1
  194. package/dist/cdn/{NQR5HWGO.js → JSHK3ETV.js} +2 -2
  195. package/dist/cdn/{YKVADFXR.js → JSYJGH4U.js} +1 -1
  196. package/dist/cdn/{R3FHS5ZA.js → JVJRJL6I.js} +2 -2
  197. package/dist/cdn/{MW4NBRQZ.js → JXUG2KP2.js} +1 -1
  198. package/dist/cdn/{CWBKZLNV.js → K7S4AJZT.js} +2 -2
  199. package/dist/cdn/{HRU5TQGK.js → KBJDOXK4.js} +2 -2
  200. package/dist/cdn/{EXHFUAHT.js → KDF5MZUX.js} +2 -2
  201. package/dist/cdn/{CG4CZ32M.js → KGJIH765.js} +2 -2
  202. package/dist/cdn/{BQ3F536M.js → KGXSXCRM.js} +1 -1
  203. package/dist/cdn/{CJMUNG5Y.js → KGYLZ5DV.js} +2 -2
  204. package/dist/cdn/{RKQTODFO.js → KHRMXQO2.js} +2 -2
  205. package/dist/cdn/{XWYZJJRL.js → KKEDX77V.js} +2 -2
  206. package/dist/cdn/{BYEECON3.js → KKHEDVKE.js} +2 -2
  207. package/dist/cdn/{2GANLR5Q.js → KUVGJIO5.js} +2 -2
  208. package/dist/cdn/KX4UNPUD.js +4 -0
  209. package/dist/cdn/{F5TWGHSB.js → KY6O7GSS.js} +2 -2
  210. package/dist/cdn/{UYP7LPCO.js → L3JUKBR5.js} +2 -2
  211. package/dist/cdn/{O7CTM4NU.js → L5T25CJG.js} +1 -1
  212. package/dist/cdn/{3VN4LR27.js → L7PZF3H7.js} +2 -2
  213. package/dist/cdn/{EXJCJXVV.js → LAU2XGXX.js} +2 -2
  214. package/dist/cdn/{QBWBOGFY.js → LCUWRVKQ.js} +2 -2
  215. package/dist/cdn/{LZSDBEQY.js → LE5O3XZD.js} +2 -2
  216. package/dist/cdn/{QPH7RQUD.js → LMKMGN5K.js} +2 -2
  217. package/dist/cdn/{H3WFFNMJ.js → LPFR4RY3.js} +1 -1
  218. package/dist/cdn/{HUDLR4XR.js → LRXZF53Y.js} +2 -2
  219. package/dist/cdn/LS4WZROV.js +4 -0
  220. package/dist/cdn/{Z6HB2LKU.js → LTHMBOAJ.js} +2 -2
  221. package/dist/cdn/{OHHPHVIZ.js → LVBC6GKK.js} +2 -2
  222. package/dist/cdn/{5XZXS7KC.js → LW2EQEUD.js} +1 -1
  223. package/dist/cdn/{KYRIG7D4.js → LYQCHOBG.js} +2 -2
  224. package/dist/cdn/MQ7WBOZK.js +4 -0
  225. package/dist/cdn/{NAXDVUOY.js → MSRRU2I4.js} +2 -2
  226. package/dist/cdn/{RIA6LI7U.js → MUPVM5TO.js} +2 -2
  227. package/dist/cdn/MXJ45EGJ.js +4 -0
  228. package/dist/cdn/{JNIH7XXW.js → N5KCDCYV.js} +2 -2
  229. package/dist/cdn/{QL653ZDR.js → NADV4UQF.js} +2 -2
  230. package/dist/cdn/{WP7VNBE6.js → NBQGOCMY.js} +2 -2
  231. package/dist/cdn/{5VVNZED5.js → NGQP5MW2.js} +2 -2
  232. package/dist/cdn/{JVI6VOOY.js → NL5Z74O6.js} +2 -2
  233. package/dist/cdn/{4WNCYDZV.js → NMKTSPKA.js} +2 -2
  234. package/dist/cdn/{PZNQ6JJL.js → NOLMQG73.js} +2 -2
  235. package/dist/cdn/{NNRTA5SJ.js → NPOTTWTA.js} +2 -2
  236. package/dist/cdn/{MIOO5HYN.js → NPPPAHVY.js} +2 -2
  237. package/dist/cdn/{PXSFL6NE.js → NPXOLE4L.js} +1 -1
  238. package/dist/cdn/{RR77N5AA.js → NTNNBCBZ.js} +2 -2
  239. package/dist/cdn/{UUILJSCG.js → NYVFL4F3.js} +2 -2
  240. package/dist/cdn/{LIY7TY7Z.js → O5KY5GGR.js} +2 -2
  241. package/dist/cdn/{4AE4PUDE.js → OBB3JW3W.js} +2 -2
  242. package/dist/cdn/{J2XTPBZ7.js → OBRTMTTT.js} +2 -2
  243. package/dist/cdn/{DGUXBPYO.js → ODKMZP55.js} +2 -2
  244. package/dist/cdn/{OBAJ3QVO.js → OGCIPWNC.js} +2 -2
  245. package/dist/cdn/{MDGGXEIV.js → OGPBYNOK.js} +2 -2
  246. package/dist/cdn/{JDP425FV.js → OHIPUVGR.js} +2 -2
  247. package/dist/cdn/{QEAZDKTC.js → OKXLKT25.js} +2 -2
  248. package/dist/cdn/OKXSBONV.js +4 -0
  249. package/dist/cdn/{CZNTAIG5.js → ORYHJCTE.js} +2 -2
  250. package/dist/cdn/{ADGRZEHH.js → OSRM45JC.js} +2 -2
  251. package/dist/cdn/{P6NEF3AG.js → OZLRGHBY.js} +2 -2
  252. package/dist/cdn/{QXT7E6EY.js → P4VQHHDZ.js} +2 -2
  253. package/dist/cdn/PB4Z4GCP.js +4 -0
  254. package/dist/cdn/{6VJXMFYM.js → PGBK57JY.js} +2 -2
  255. package/dist/cdn/{TB5HMOJ3.js → PHMEXWZP.js} +2 -2
  256. package/dist/cdn/{AIUKZ7QZ.js → PKB5PLTX.js} +2 -2
  257. package/dist/cdn/{IT2MV4QW.js → PLHAF4ZU.js} +2 -2
  258. package/dist/cdn/PM227WQV.js +4 -0
  259. package/dist/cdn/{GC6WKYIL.js → PQE4GXZT.js} +2 -2
  260. package/dist/cdn/{HN35ETXK.js → PROBCAQZ.js} +2 -2
  261. package/dist/cdn/{AVRTEGMF.js → PSCV3RBP.js} +2 -2
  262. package/dist/cdn/{2GJE2W5K.js → PTSTR5UK.js} +2 -2
  263. package/dist/cdn/{XLE7HHIL.js → PUSST5YV.js} +2 -2
  264. package/dist/cdn/{2AJOUQB7.js → Q2LX4CPJ.js} +2 -2
  265. package/dist/cdn/{APTD6OZU.js → Q6IEZTC6.js} +2 -2
  266. package/dist/cdn/{TATJA4IA.js → QBTTL63Z.js} +2 -2
  267. package/dist/cdn/{BKOGMQC7.js → QHUQJ4OZ.js} +2 -2
  268. package/dist/cdn/{JPUHNRZ6.js → QIDDKBBC.js} +2 -2
  269. package/dist/cdn/{RCONKWD3.js → QNDDTKZG.js} +1 -1
  270. package/dist/cdn/{KFDSUIDH.js → QNKC7LHX.js} +2 -2
  271. package/dist/cdn/{WSNKRWTS.js → QRHMXAWZ.js} +2 -2
  272. package/dist/cdn/{UC4RHZAC.js → QVNT6K3T.js} +4 -4
  273. package/dist/cdn/{75FCMS3Q.js → QVOH6SZI.js} +2 -2
  274. package/dist/cdn/{2KYRVCYO.js → QZNUPCEF.js} +1 -1
  275. package/dist/cdn/{KNV6T7IX.js → R2PBNQEG.js} +2 -2
  276. package/dist/cdn/{FVIWRJEX.js → R3JSAEUZ.js} +2 -2
  277. package/dist/cdn/{PBK6ZGYF.js → R5NP2XDZ.js} +2 -2
  278. package/dist/cdn/{H7GNFLX5.js → RFONERYC.js} +2 -2
  279. package/dist/cdn/RGWDQAC3.js +4 -0
  280. package/dist/cdn/{6YPWVM37.js → RIEMFJC6.js} +2 -2
  281. package/dist/cdn/{XIM7BJJT.js → RJ4YPCDR.js} +2 -2
  282. package/dist/cdn/{CWKRSSOA.js → RJSQPLUW.js} +2 -2
  283. package/dist/cdn/{IEPOS5EV.js → RXJY2TGC.js} +2 -2
  284. package/dist/cdn/{WRBLZ2EY.js → S37MMQRU.js} +2 -2
  285. package/dist/cdn/{KPVMNGYD.js → SAYEECND.js} +2 -2
  286. package/dist/cdn/{CTY2EBIR.js → SB5ZV4NW.js} +2 -2
  287. package/dist/cdn/{PIHN7OGO.js → SGXBK67B.js} +2 -2
  288. package/dist/cdn/{SBMKGTYT.js → SIQS2YKG.js} +2 -2
  289. package/dist/cdn/{E3ZJUJQE.js → SPLZB73T.js} +1 -1
  290. package/dist/cdn/{352FKSLT.js → SQSRL2J6.js} +2 -2
  291. package/dist/cdn/{44NXP2VH.js → SRFRBXOY.js} +2 -2
  292. package/dist/cdn/{JTN3AKO6.js → SSHLTDW5.js} +2 -2
  293. package/dist/cdn/{BRUTOLXS.js → ST3BF6QC.js} +2 -2
  294. package/dist/cdn/{BTBUOLUA.js → TDUJUMW2.js} +2 -2
  295. package/dist/cdn/{NEVD3I6S.js → TG54RX2X.js} +2 -2
  296. package/dist/cdn/{3ST4PJS2.js → TMYVCDZA.js} +2 -2
  297. package/dist/cdn/{4EI3LJ75.js → TN4LCNIE.js} +1 -1
  298. package/dist/cdn/{3CZIT627.js → TN7VTHN3.js} +2 -2
  299. package/dist/cdn/{FI2RYZTL.js → TTP4LZPA.js} +2 -2
  300. package/dist/cdn/{UXTVUYEE.js → TU3WIPQD.js} +2 -2
  301. package/dist/cdn/{GL7LRY5F.js → TW27HES5.js} +2 -2
  302. package/dist/cdn/{MBHAKWXC.js → U47ZULP3.js} +1 -1
  303. package/dist/cdn/{VCGAGRCW.js → U6AVHWUS.js} +1 -1
  304. package/dist/cdn/{BCWAOOBL.js → UGTCTLUV.js} +2 -2
  305. package/dist/cdn/{CONE7BUX.js → UGVYHTBT.js} +1 -1
  306. package/dist/cdn/{574TSGS3.js → UNCPD7T7.js} +2 -2
  307. package/dist/cdn/{WTPDNXJI.js → UNOHYBEG.js} +2 -2
  308. package/dist/cdn/{XRIEOIYQ.js → UQDFMOQ7.js} +2 -2
  309. package/dist/cdn/{PXJUCITY.js → URTS7576.js} +2 -2
  310. package/dist/cdn/{ZLCJOGCM.js → UX2674JQ.js} +2 -2
  311. package/dist/cdn/{JPJINGZH.js → UY7LCGSK.js} +2 -2
  312. package/dist/cdn/{ZUCD46UL.js → V37TZ7RB.js} +2 -2
  313. package/dist/cdn/{CE5L46DL.js → V6EYACWV.js} +2 -2
  314. package/dist/cdn/{EGAIBYO4.js → VDIUPZJD.js} +2 -2
  315. package/dist/cdn/{QLD2MUBD.js → VLUHNLRB.js} +1 -1
  316. package/dist/cdn/{CTO2VJXA.js → W2TJFQ5I.js} +2 -2
  317. package/dist/cdn/{COFVR5QC.js → W6NUSHEG.js} +2 -2
  318. package/dist/cdn/{AHPHMUFH.js → WACIDFPV.js} +2 -2
  319. package/dist/cdn/{JDG372HJ.js → WNW464FX.js} +2 -2
  320. package/dist/cdn/{P6WMRRIT.js → WRZAXET6.js} +2 -2
  321. package/dist/cdn/{SQ4556X7.js → WT4IH2FV.js} +2 -2
  322. package/dist/cdn/{NFC7YG45.js → WUL5L4WL.js} +2 -2
  323. package/dist/cdn/{AMT5P6S7.js → WX3Q7NQD.js} +2 -2
  324. package/dist/cdn/{5OH2OKSA.js → WXS3AQX4.js} +2 -2
  325. package/dist/cdn/{JQRRHZBK.js → X2W6D3F4.js} +1 -1
  326. package/dist/cdn/{QQKNXZ7O.js → X4DEICTA.js} +2 -2
  327. package/dist/cdn/{ZFICIJZQ.js → X72LGKZL.js} +2 -2
  328. package/dist/cdn/{WUDSDZT7.js → XEN5U75R.js} +1 -1
  329. package/dist/cdn/{CGUJSWMR.js → XI5PVVHF.js} +2 -2
  330. package/dist/cdn/{KNCE4TTO.js → XPRSOAKF.js} +2 -2
  331. package/dist/cdn/{3INDJ4AP.js → XSYDP7UI.js} +2 -2
  332. package/dist/cdn/{XWCG6AMB.js → Y4QQLONZ.js} +2 -2
  333. package/dist/cdn/{2LBWKLHR.js → Y5QUSO6G.js} +2 -2
  334. package/dist/cdn/{ZKZS3TY4.js → Y6NKSWSY.js} +2 -2
  335. package/dist/cdn/{DNQ5PPRV.js → YEK3SESL.js} +1 -1
  336. package/dist/cdn/{CEG5AOTW.js → YIRPFSJ6.js} +2 -2
  337. package/dist/cdn/{S3PARDYS.js → YK2LFJ5V.js} +2 -2
  338. package/dist/cdn/{JFD2GLUZ.js → YOWURAYQ.js} +2 -2
  339. package/dist/cdn/{PQYA37C4.js → YOXIM5D6.js} +1 -1
  340. package/dist/cdn/{WHS2PMPC.js → YU3E3SDE.js} +2 -2
  341. package/dist/cdn/YV3XBU5G.js +18 -0
  342. package/dist/cdn/{UVOTALEM.js → Z2MYKHNC.js} +2 -2
  343. package/dist/cdn/Z6ZULYWD.js +4 -0
  344. package/dist/cdn/ZBR65XZU.js +4 -0
  345. package/dist/cdn/{KMX7DYG7.js → ZHFIEXY5.js} +2 -2
  346. package/dist/cdn/{QP3FFP7T.js → ZIOL363O.js} +2 -2
  347. package/dist/cdn/{LHM6JY3L.js → ZMPAB7Q7.js} +2 -2
  348. package/dist/cdn/{4CZMUJAU.js → ZNONU4U5.js} +2 -2
  349. package/dist/cdn/{OCORZHZK.js → ZOP5HNIE.js} +2 -2
  350. package/dist/cdn/{DTZTMTPS.js → ZT7KRKCV.js} +2 -2
  351. package/dist/cdn/{S7GXXB2P.js → ZZ4ENTL4.js} +2 -2
  352. package/dist/cdn/index.js +2 -2
  353. package/dist/chunks/Auth.js +1 -1
  354. package/dist/chunks/appConfig.js +1 -1
  355. package/dist/chunks/cardFetchingUtils.js +1 -1
  356. package/dist/chunks/cardsHelpers.js +1 -1
  357. package/dist/chunks/common.js +1 -1
  358. package/dist/chunks/deployAppContexts.js +1 -1
  359. package/dist/chunks/downloadUtils.js +1 -1
  360. package/dist/chunks/getItemIcon.js +1 -1
  361. package/dist/chunks/helpers.js +1 -1
  362. package/dist/chunks/interfaces.js +1 -1
  363. package/dist/chunks/mapViewUtils.js +1 -1
  364. package/dist/chunks/pciUtils.js +1 -1
  365. package/dist/chunks/popupUtils.js +1 -1
  366. package/dist/chunks/privilegeUtils.js +1 -1
  367. package/dist/chunks/publicNotificationContext.js +1 -1
  368. package/dist/chunks/queryUtils.js +1 -1
  369. package/dist/chunks/runtime.js +1 -1
  370. package/dist/chunks/solution-deployed-card.js +1 -1
  371. package/dist/chunks/solution-store.js +1 -1
  372. package/dist/chunks/templates.js +1 -1
  373. package/dist/chunks/useT9n.js +1 -1
  374. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  375. package/dist/components/buffer-tools/customElement.js +1 -1
  376. package/dist/components/card-manager/customElement.js +1 -1
  377. package/dist/components/consent-manager/customElement.js +1 -1
  378. package/dist/components/create-feature/customElement.js +1 -1
  379. package/dist/components/create-related-feature/customElement.js +1 -1
  380. package/dist/components/crowdsource-manager/customElement.js +1 -1
  381. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  382. package/dist/components/deduct-calculator/customElement.js +1 -1
  383. package/dist/components/delete-button/customElement.js +1 -1
  384. package/dist/components/delete-dialog/customElement.js +1 -1
  385. package/dist/components/edit-card/customElement.js +1 -1
  386. package/dist/components/feature-details/customElement.js +1 -1
  387. package/dist/components/feature-list/customElement.js +1 -1
  388. package/dist/components/field-selection/customElement.js +1 -1
  389. package/dist/components/info-card/customElement.js +1 -1
  390. package/dist/components/json-editor/customElement.js +1 -1
  391. package/dist/components/layer-list/customElement.js +1 -1
  392. package/dist/components/layer-table/customElement.js +1 -1
  393. package/dist/components/map-basemap-gallery/customElement.js +1 -1
  394. package/dist/components/map-card/customElement.js +1 -1
  395. package/dist/components/map-draw-tools/customElement.js +1 -1
  396. package/dist/components/map-floor-filter/customElement.js +1 -1
  397. package/dist/components/map-fullscreen/customElement.js +1 -1
  398. package/dist/components/map-layer-picker/customElement.js +1 -1
  399. package/dist/components/map-legend/customElement.js +1 -1
  400. package/dist/components/map-picker/customElement.js +1 -1
  401. package/dist/components/map-search/customElement.js +1 -1
  402. package/dist/components/map-select-tools/customElement.js +1 -1
  403. package/dist/components/map-tools/customElement.js +1 -1
  404. package/dist/components/pci-calculator/customElement.js +1 -1
  405. package/dist/components/pdf-download/customElement.js +1 -1
  406. package/dist/components/public-notification/customElement.js +1 -1
  407. package/dist/components/refine-selection/customElement.js +1 -1
  408. package/dist/components/selection-tool/customElement.js +1 -1
  409. package/dist/components/solution-configuration/customElement.js +1 -1
  410. package/dist/components/solution-configure-titles/customElement.js +1 -1
  411. package/dist/components/solution-contents/customElement.js +1 -1
  412. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  413. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  414. package/dist/components/solution-deployed-card/customElement.js +1 -1
  415. package/dist/components/solution-deployed-card-panel/customElement.js +4 -4
  416. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  417. package/dist/components/solution-details-card/customElement.js +1 -1
  418. package/dist/components/solution-details-panel/customElement.js +1 -1
  419. package/dist/components/solution-item/customElement.js +1 -1
  420. package/dist/components/solution-item-accordion/customElement.js +1 -1
  421. package/dist/components/solution-item-details/customElement.js +1 -1
  422. package/dist/components/solution-item-diagram/customElement.js +1 -1
  423. package/dist/components/solution-item-icon/customElement.js +1 -1
  424. package/dist/components/solution-item-sharing/customElement.js +1 -1
  425. package/dist/components/solution-organization-variables/customElement.js +1 -1
  426. package/dist/components/solution-resource-card/customElement.js +1 -1
  427. package/dist/components/solution-resource-item/customElement.js +1 -1
  428. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  429. package/dist/components/solution-social-share/customElement.js +1 -1
  430. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  431. package/dist/components/solution-template-data/customElement.js +1 -1
  432. package/dist/components/solution-variables/customElement.js +1 -1
  433. package/dist/components/solutions-all-panel/customElement.js +1 -1
  434. package/dist/components/solutions-all-shell/customElement.js +1 -1
  435. package/dist/components/solutions-deploy-app/customElement.d.ts +1 -0
  436. package/dist/components/solutions-deploy-app/customElement.js +17 -17
  437. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  438. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  439. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  440. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  441. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  442. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  443. package/dist/components/solutions-resources/customElement.js +1 -1
  444. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  445. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  446. package/dist/components/spatial-ref/customElement.js +1 -1
  447. package/dist/components/store-manager/customElement.js +1 -1
  448. package/dist/docs/api.json +15 -1
  449. package/dist/docs/docs.json +21 -1
  450. package/dist/docs/vscode.html-custom-data.json +1 -1
  451. package/dist/docs/web-types.json +10 -2
  452. package/dist/index.d.ts +1 -0
  453. package/dist/index.js +1 -1
  454. package/dist/loader.js +1 -1
  455. package/dist/types/lumina.d.ts +1 -0
  456. package/dist/types/preact.d.ts +1 -0
  457. package/dist/types/preact10.d.ts +1 -0
  458. package/dist/types/react.d.ts +1 -0
  459. package/dist/types/stencil.d.ts +1 -0
  460. package/package.json +1 -1
  461. package/dist/cdn/4BRGJEKH.js +0 -4
  462. package/dist/cdn/54YAKRH3.js +0 -4
  463. package/dist/cdn/6IOFUKLT.js +0 -4
  464. package/dist/cdn/6J3DNHKP.js +0 -4
  465. package/dist/cdn/6VTRHK52.js +0 -4
  466. package/dist/cdn/7JDAS6PM.js +0 -18
  467. package/dist/cdn/CVXNKCZL.js +0 -4
  468. package/dist/cdn/DGLC6S3I.js +0 -4
  469. package/dist/cdn/FGTV2JOZ.js +0 -4
  470. package/dist/cdn/FYLGBYPU.js +0 -4
  471. package/dist/cdn/G5ZFF6K4.js +0 -4
  472. package/dist/cdn/KEC4V5NM.js +0 -4
  473. package/dist/cdn/LMW4LPU4.js +0 -18
  474. package/dist/cdn/M57DXFH6.js +0 -4
  475. package/dist/cdn/OKYASTM3.js +0 -4
  476. package/dist/cdn/ORIRCVEP.js +0 -4
  477. package/dist/cdn/PCCIGDAH.js +0 -4
  478. package/dist/cdn/QBYFRB7X.js +0 -4
  479. package/dist/cdn/SN74PV4Q.js +0 -4
  480. package/dist/cdn/WNOETQOT.js +0 -4
  481. package/dist/cdn/XMCWDSSJ.js +0 -4
  482. package/dist/cdn/YLMKS7JB.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import d from"./XPWG546Z.js";import c from"./DTZTMTPS.js";import b from"./PQYA37C4.js";import a from"./GXTBHUQ3.js";import{a as X}from"./UVOTALEM.js";import{b as Pe}from"./OCORZHZK.js";import"./LWSKZY3I.js";import{E as Se,F as Ie,H as w,I as E,h as Ee,i as L,j as me,l as de,s as ze}from"./2ES34Q6J.js";import{b as st,d as lt}from"./UQH76H3R.js";export default $arcgis.t(([Ye,D,le,ct,,,{a:U,b:G},{a:Te,b:fe,d:Fe,e:Me,f:ye,g:He,i:Be,o:ve,s:Ue,t:Q,u:$e,v:De,w:qe}])=>{var Ge=st((pe,We)=>{(function(b,t){typeof pe=="object"&&typeof We<"u"?t(pe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(pe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},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,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,n,l){var p=e[i];if(p.vnodeSelector!==""){var c=p.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(n.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:n,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],k=!1,z=function(e){(e.children||[]).forEach(z),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},S=function(){k=!1,x.forEach(z),x.length=0},I=function(e){x.push(e),k||(k=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(S,{timeout:16}):setTimeout(S,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function q(e){return!M.includes(e)}var te=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,p=Object.keys(i).filter(q),c=p.length,A=0;A<c;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")ie(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),C=v.length,y=0;y<C;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var H=Object.keys(d),T=H.length,y=0;y<T;y++){var K=H[y],N=d[K];N&&(h(N),n.styleApplyer(e,K,N))}else if(f==="on"&&d)for(var re=0,se=Object.entries(i.on);re<se.length;re++){var ce=se[re],Y=ce[0],W=ce[1],j=typeof W=="function"?W:W.listener;l&&(j=l(Y,j,e,i)),j&&e.addEventListener(Y,j,typeof W=="function"?void 0:W.options)}else if(f!=="key"&&d!==null&&d!==void 0){var oe=typeof d;oe==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):oe==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Z=function(e,i,n){if(i)for(var l=0,p=i;l<p.length;l++){var c=p[l];F(c,e,void 0,n)}},B=function(e,i,n){Z(e,i.children,n),i.text&&(e.textContent=i.text),te(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var p,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var C=f.charAt(v);if(v===f.length||C==="."||C==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((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&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}B(c,e,l)}},J,ie=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},ue=function(e,i,n,l){if(n){for(var p=!1,c=Object.keys(n).filter(q),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],C=i[d];if(d==="class")C!==v&&(ie(e,C,!1),ie(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),H=m.length,T=0;T<H;T++){var K=m[T],N=!!v[K],re=!!C[K];N!==re&&(p=!0,N?y.add(K):y.remove(K))}else if(d==="styles")for(var se=Object.keys(v),ce=se.length,T=0;T<ce;T++){var Y=se[T],W=v[Y],j=C[Y];W!==j&&(p=!0,W?(h(W),l.styleApplyer(e,Y,W)):l.styleApplyer(e,Y,""))}else if(!v&&typeof C=="string"&&(v=""),d==="value"){var oe=e[d];oe!==v&&v!==C&&(e[d]=v),v!==C&&(p=!0)}else if(v!==C){var Re=typeof v;(Re!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Re==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Oe=function(e,i,n,l,p){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,C=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))C=J(y,m,p,i,n)||C,f++;else{var H=_(n,m,f+1);if(H>=0){for(v=f;v<H;v++)R(n[v]),$(n,v,e,"removed");C=J(n[H],m,p,i,n)||C,f=H+1}else F(m,i,f<c?n[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return C};J=function(e,i,n,l,p){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=ue(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ne=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,J(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},O=function(e){return r(Ne,e)},ae={create:function(e,i){return i=O(i),F(e,document.createElement("div"),void 0,i),ne(e,i)},append:function(e,i,n){return n=O(n),F(i,e,void 0,n),ne(i,n)},insertBefore:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),ne(i,n)},merge:function(e,i,n){return n=O(n),i.domNode=e,B(e,i,n),ne(i,n)},replace:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ne(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},Ce=function(e,i,n){for(var l=0,p=i.length;l<p;l++){var c=i[l];Array.isArray(c)?Ce(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(p=[],Ce(e,n,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},he;Array.prototype.find?he=function(e,i){return e.find(i)}:he=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?he(n.children,function(p){return p.domNode===l}):void 0}),n},it=function(e,i,n){return function(p,c,A,f){return l};function l(p){var c,A;n("domEvent",p);var f=i(),d=et(p.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var C;if(v){var y=(A=(c=v.properties["on".concat(p.type)])!==null&&c!==void 0?c:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];C=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",p),C}},nt=function(e){var i,n=O(e),l=n.performanceLogger,p=!0,c,A=!1,f=[],d=[],v=function(y,m,H){var T,K=function(){return T};n.eventHandlerInterceptor=it(i,K,l),T=y(m,H(),n),f.push(T),d.push(H)},C=function(){if(c=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:C,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(C))},stop:function(){c&&(cancelAnimationFrame(c),c=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},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var p=0;p<n.length;p++)e[p]!==n[p]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],p=[];return{results:p,map:function(c){for(var A=c.map(e),f=p.slice(),d=0,v=0;v<c.length;v++){var C=c[v],y=A[v];if(y===l[d])p[v]=f[d],n(C,f[d],v),d++;else{for(var m=!1,H=1;H<l.length+1;H++){var T=(d+H)%l.length;if(l[T]===y){p[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(C,v))}}p.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ae,b.h=Ve}))});var Xe=lt(Ge(),1);var ot=96;function ee(b){return b?b/72*ot:0}var dt=(0,Xe.createProjector)(),Qe=10,Ae=20,ge=10,xe=20,ke={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>${me`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${me`<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=`${Ae}px`,s.className=ke.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=vt(t,s);else{let{size:u}=a,h=ee(u)+(s==="horizontal"?xe:ge),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=ke.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Je(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(ee(o)+ge)/2:(ee(o)-ee(a))/2}function be(b,t){if(!b)return null;let s=b.infos.map(a=>a.color),o=Ye.renderColorRampPreviewHTML(t.type==="full"?s:t.type==="above"?s.slice(0,3):s.slice(2,5),{width:t.width,height:t.height,align:t.rampAlignment,effectList:t.effectList});return o.className=ke.colorRamp,t.opacity!=null&&(o.style.opacity=t.opacity.toString()),o}function pt(b,t,s,o="vertical"){let a=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)a+=o==="horizontal"?Qe:Ae;else{let P=r[$].size,x=ee(P)+(o==="horizontal"?xe:ge);a+=x}return Math.round(a)}function we(b,t,s,o="vertical"){let a=pt(b,t,s,o),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?o==="vertical"?Ae:Qe:0,x=o==="vertical"?ge*(t==="full"?2:1):xe*(t==="full"?2:1);return Math.round(a-(ee($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let o=b.infos,a=o.find(({type:u})=>u==="size-ramp"),r=o.find(({type:u})=>u==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function ht(b,t){return!0}var mt=Ee`@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 calcite-action{margin-right:5px}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 .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,Ke={display:"flex",alignItems:"flex-start"},_e={marginLeft:"3px"},V={display:"table-cell",verticalAlign:"middle"},Le=class extends Ie{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=ze}connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=new ct)}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&De(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 D.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async h=>await h.load()),a=(await Promise.allSettled(o)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];a.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await fe(this.legendvm);G.set("data",{...U.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:le.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 le.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 o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?le.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(D?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(u=>{console.error(u)})}),r)}),this.handles?.add(D.when(()=>this.legendvm,()=>{D.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,D.when(()=>!this.legendvm?.view?.updating,()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(D.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(D.on(()=>a.children,"change",()=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(D.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=G.get("data")?.[t?.id],o=qe(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Te(this.legendvm,o);if($e({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await ve(this.legendvm,U.data);G.set("data",{...U.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...U.data?.[s?.id]};a?await ye(r,t,o,this.filterMode,a):await ye(r,t,o,this.filterMode),$e({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=G.get("compact")?` ${g.compact}`:"";return this.isLoading?X("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):X("interactive-legend-classic-container",L`<div class=${`${Q(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(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Q(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)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,k=Be(a,t,r),z=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,q)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,q,k,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(z)x=X("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Q(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let S=t.title,I=null;if(typeof S=="string")I=S;else if(S){let R=S,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in S&&(I=`${S.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Q(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${z} .isInteractive=${k} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=gt(t,s);if(!a)return null;let u=we(a,"above",!0),h=we(a,"below",!0),_=12,$=be(r,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=be(r,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Je(a),k=a.infos.map(B=>B.label),z=k.map((B,F)=>F===0?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:F===2?L`<div></div>`:null),S=k.length-1,I=Math.floor(k.length/2),R=k.map((B,F)=>F===I||F===S?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},q={marginTop:`${x}px`},te={height:`${u}px`},Z={height:`${h}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map((B,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${B?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${k[F]}</div>`:null}</div>`)}</div>${$?X("color-ramp-preview",L`<div style=${E(q)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(te)}>${z}</div></div></div><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(Z)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ut(t);if(!a)return null;let u=Je(a),h=12,_=we(a,"full",!1),$=be(r,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${I.label}</div>`:null),k={display:"table-cell",verticalAlign:"middle"},z={marginTop:`${u}px`},S={height:`${_}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map(I=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(k)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${X("color-ramp-preview",L`<div style=${E(z)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(S)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=a?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=o.map(k=>{let z;if(r){let S=this.messages[k.label];z=typeof S=="string"?S:k.label}else u?z="value"in k?this.getStretchStopLabel(k):k.label:z=k.label;return L`<div class=${w(k.label?g.rampLabel:"")}>${z}</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)} ${Se(k=>{k?.firstChild&&k?.firstChild?.remove(),k?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,u,h,!0,t);let x=null,k=!ht(s,r.type);if("preview"in t){let{outerHTML:J}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${J??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,k));if(!x)return null;let z="",S=a?` ${g.sizeRamp}`:"",I,R=Me(s),M=Ue(R,P);if(U.data){let J=Fe(R,s,t,M,_),ie=M?M?.nestedInfos:R,ue=He(ie);I=R?.categories?.size===1?!J?.selected:ue||J?.selected}let q="label"in t?t.label:null,te=M&&!("value"in t)?!1:$,Z=G.get("compact"),B=this.getTitle(q,!1)||"",F=M?r.title:q??s?.id;return te?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${I?` ${g.infoSelected}`:""}`} title=${(Z?`${B}`:void 0)??de} .ariaPressed=${I?"true":"false"}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${this.getTitle(q,!1)||""}</div>${this.featureCount&&!Z?L`<instant-apps-interactive-legend-count class=${w(Q(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${B}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:u}=t,h=o?` ${g.imageryLayerStretchedImage}`:"",_=o?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??de} src=${r??de} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Pe("instant-apps-interactive-legend-classic",Le);return Le},"symbols/support/symbolUtils","core/reactiveUtils","intl","core/Handles",a,b,c,d)
3
+ v1.2.0-next.40 */
4
+ import d from"./3YAIZ4AY.js";import c from"./ZT7KRKCV.js";import b from"./YOXIM5D6.js";import a from"./HZTRCBGK.js";import{a as X}from"./Z2MYKHNC.js";import{b as Pe}from"./ZOP5HNIE.js";import"./6JWM4HAN.js";import{E as Se,F as Ie,H as w,I as E,h as Ee,i as L,j as me,l as de,s as ze}from"./5HGT7YVW.js";import{b as st,d as lt}from"./A6LCU65M.js";export default $arcgis.t(([Ye,D,le,ct,,,{a:U,b:G},{a:Te,b:fe,d:Fe,e:Me,f:ye,g:He,i:Be,o:ve,s:Ue,t:Q,u:$e,v:De,w:qe}])=>{var Ge=st((pe,We)=>{(function(b,t){typeof pe=="object"&&typeof We<"u"?t(pe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(pe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},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,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,n,l){var p=e[i];if(p.vnodeSelector!==""){var c=p.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(n.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:n,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],k=!1,z=function(e){(e.children||[]).forEach(z),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},S=function(){k=!1,x.forEach(z),x.length=0},I=function(e){x.push(e),k||(k=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(S,{timeout:16}):setTimeout(S,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function q(e){return!M.includes(e)}var te=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,p=Object.keys(i).filter(q),c=p.length,A=0;A<c;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")ie(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),C=v.length,y=0;y<C;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var H=Object.keys(d),T=H.length,y=0;y<T;y++){var K=H[y],N=d[K];N&&(h(N),n.styleApplyer(e,K,N))}else if(f==="on"&&d)for(var re=0,se=Object.entries(i.on);re<se.length;re++){var ce=se[re],Y=ce[0],W=ce[1],j=typeof W=="function"?W:W.listener;l&&(j=l(Y,j,e,i)),j&&e.addEventListener(Y,j,typeof W=="function"?void 0:W.options)}else if(f!=="key"&&d!==null&&d!==void 0){var oe=typeof d;oe==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):oe==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Z=function(e,i,n){if(i)for(var l=0,p=i;l<p.length;l++){var c=p[l];F(c,e,void 0,n)}},B=function(e,i,n){Z(e,i.children,n),i.text&&(e.textContent=i.text),te(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var p,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var C=f.charAt(v);if(v===f.length||C==="."||C==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((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&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}B(c,e,l)}},J,ie=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},ue=function(e,i,n,l){if(n){for(var p=!1,c=Object.keys(n).filter(q),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],C=i[d];if(d==="class")C!==v&&(ie(e,C,!1),ie(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),H=m.length,T=0;T<H;T++){var K=m[T],N=!!v[K],re=!!C[K];N!==re&&(p=!0,N?y.add(K):y.remove(K))}else if(d==="styles")for(var se=Object.keys(v),ce=se.length,T=0;T<ce;T++){var Y=se[T],W=v[Y],j=C[Y];W!==j&&(p=!0,W?(h(W),l.styleApplyer(e,Y,W)):l.styleApplyer(e,Y,""))}else if(!v&&typeof C=="string"&&(v=""),d==="value"){var oe=e[d];oe!==v&&v!==C&&(e[d]=v),v!==C&&(p=!0)}else if(v!==C){var Re=typeof v;(Re!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Re==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Oe=function(e,i,n,l,p){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,C=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))C=J(y,m,p,i,n)||C,f++;else{var H=_(n,m,f+1);if(H>=0){for(v=f;v<H;v++)R(n[v]),$(n,v,e,"removed");C=J(n[H],m,p,i,n)||C,f=H+1}else F(m,i,f<c?n[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return C};J=function(e,i,n,l,p){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=ue(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ne=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,J(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},O=function(e){return r(Ne,e)},ae={create:function(e,i){return i=O(i),F(e,document.createElement("div"),void 0,i),ne(e,i)},append:function(e,i,n){return n=O(n),F(i,e,void 0,n),ne(i,n)},insertBefore:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),ne(i,n)},merge:function(e,i,n){return n=O(n),i.domNode=e,B(e,i,n),ne(i,n)},replace:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ne(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},Ce=function(e,i,n){for(var l=0,p=i.length;l<p;l++){var c=i[l];Array.isArray(c)?Ce(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(p=[],Ce(e,n,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},he;Array.prototype.find?he=function(e,i){return e.find(i)}:he=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?he(n.children,function(p){return p.domNode===l}):void 0}),n},it=function(e,i,n){return function(p,c,A,f){return l};function l(p){var c,A;n("domEvent",p);var f=i(),d=et(p.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var C;if(v){var y=(A=(c=v.properties["on".concat(p.type)])!==null&&c!==void 0?c:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];C=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",p),C}},nt=function(e){var i,n=O(e),l=n.performanceLogger,p=!0,c,A=!1,f=[],d=[],v=function(y,m,H){var T,K=function(){return T};n.eventHandlerInterceptor=it(i,K,l),T=y(m,H(),n),f.push(T),d.push(H)},C=function(){if(c=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:C,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(C))},stop:function(){c&&(cancelAnimationFrame(c),c=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},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var p=0;p<n.length;p++)e[p]!==n[p]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],p=[];return{results:p,map:function(c){for(var A=c.map(e),f=p.slice(),d=0,v=0;v<c.length;v++){var C=c[v],y=A[v];if(y===l[d])p[v]=f[d],n(C,f[d],v),d++;else{for(var m=!1,H=1;H<l.length+1;H++){var T=(d+H)%l.length;if(l[T]===y){p[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(C,v))}}p.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ae,b.h=Ve}))});var Xe=lt(Ge(),1);var ot=96;function ee(b){return b?b/72*ot:0}var dt=(0,Xe.createProjector)(),Qe=10,Ae=20,ge=10,xe=20,ke={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>${me`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${me`<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=`${Ae}px`,s.className=ke.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=vt(t,s);else{let{size:u}=a,h=ee(u)+(s==="horizontal"?xe:ge),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=ke.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Je(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(ee(o)+ge)/2:(ee(o)-ee(a))/2}function be(b,t){if(!b)return null;let s=b.infos.map(a=>a.color),o=Ye.renderColorRampPreviewHTML(t.type==="full"?s:t.type==="above"?s.slice(0,3):s.slice(2,5),{width:t.width,height:t.height,align:t.rampAlignment,effectList:t.effectList});return o.className=ke.colorRamp,t.opacity!=null&&(o.style.opacity=t.opacity.toString()),o}function pt(b,t,s,o="vertical"){let a=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)a+=o==="horizontal"?Qe:Ae;else{let P=r[$].size,x=ee(P)+(o==="horizontal"?xe:ge);a+=x}return Math.round(a)}function we(b,t,s,o="vertical"){let a=pt(b,t,s,o),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?o==="vertical"?Ae:Qe:0,x=o==="vertical"?ge*(t==="full"?2:1):xe*(t==="full"?2:1);return Math.round(a-(ee($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let o=b.infos,a=o.find(({type:u})=>u==="size-ramp"),r=o.find(({type:u})=>u==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function ht(b,t){return!0}var mt=Ee`@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 calcite-action{margin-right:5px}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 .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,Ke={display:"flex",alignItems:"flex-start"},_e={marginLeft:"3px"},V={display:"table-cell",verticalAlign:"middle"},Le=class extends Ie{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=ze}connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=new ct)}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&De(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 D.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async h=>await h.load()),a=(await Promise.allSettled(o)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];a.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await fe(this.legendvm);G.set("data",{...U.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:le.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 le.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 o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?le.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(D?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(u=>{console.error(u)})}),r)}),this.handles?.add(D.when(()=>this.legendvm,()=>{D.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,D.when(()=>!this.legendvm?.view?.updating,()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(D.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(D.on(()=>a.children,"change",()=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(D.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=G.get("data")?.[t?.id],o=qe(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Te(this.legendvm,o);if($e({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await ve(this.legendvm,U.data);G.set("data",{...U.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...U.data?.[s?.id]};a?await ye(r,t,o,this.filterMode,a):await ye(r,t,o,this.filterMode),$e({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=G.get("compact")?` ${g.compact}`:"";return this.isLoading?X("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):X("interactive-legend-classic-container",L`<div class=${`${Q(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(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Q(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)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,k=Be(a,t,r),z=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,q)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,q,k,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(z)x=X("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Q(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let S=t.title,I=null;if(typeof S=="string")I=S;else if(S){let R=S,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in S&&(I=`${S.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Q(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${z} .isInteractive=${k} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=gt(t,s);if(!a)return null;let u=we(a,"above",!0),h=we(a,"below",!0),_=12,$=be(r,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=be(r,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Je(a),k=a.infos.map(B=>B.label),z=k.map((B,F)=>F===0?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:F===2?L`<div></div>`:null),S=k.length-1,I=Math.floor(k.length/2),R=k.map((B,F)=>F===I||F===S?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},q={marginTop:`${x}px`},te={height:`${u}px`},Z={height:`${h}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map((B,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${B?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${k[F]}</div>`:null}</div>`)}</div>${$?X("color-ramp-preview",L`<div style=${E(q)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(te)}>${z}</div></div></div><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(Z)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ut(t);if(!a)return null;let u=Je(a),h=12,_=we(a,"full",!1),$=be(r,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${I.label}</div>`:null),k={display:"table-cell",verticalAlign:"middle"},z={marginTop:`${u}px`},S={height:`${_}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map(I=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(k)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${X("color-ramp-preview",L`<div style=${E(z)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(S)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=a?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=o.map(k=>{let z;if(r){let S=this.messages[k.label];z=typeof S=="string"?S:k.label}else u?z="value"in k?this.getStretchStopLabel(k):k.label:z=k.label;return L`<div class=${w(k.label?g.rampLabel:"")}>${z}</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)} ${Se(k=>{k?.firstChild&&k?.firstChild?.remove(),k?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,u,h,!0,t);let x=null,k=!ht(s,r.type);if("preview"in t){let{outerHTML:J}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${J??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,k));if(!x)return null;let z="",S=a?` ${g.sizeRamp}`:"",I,R=Me(s),M=Ue(R,P);if(U.data){let J=Fe(R,s,t,M,_),ie=M?M?.nestedInfos:R,ue=He(ie);I=R?.categories?.size===1?!J?.selected:ue||J?.selected}let q="label"in t?t.label:null,te=M&&!("value"in t)?!1:$,Z=G.get("compact"),B=this.getTitle(q,!1)||"",F=M?r.title:q??s?.id;return te?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${I?` ${g.infoSelected}`:""}`} title=${(Z?`${B}`:void 0)??de} .ariaPressed=${I?"true":"false"}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${this.getTitle(q,!1)||""}</div>${this.featureCount&&!Z?L`<instant-apps-interactive-legend-count class=${w(Q(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${B}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:u}=t,h=o?` ${g.imageryLayerStretchedImage}`:"",_=o?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??de} src=${r??de} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Pe("instant-apps-interactive-legend-classic",Le);return Le},"symbols/support/symbolUtils","core/reactiveUtils","intl","core/Handles",a,b,c,d)
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import e from"./75FCMS3Q.js";import d from"./UC4RHZAC.js";import{a as A}from"./QXT7E6EY.js";import c from"./LK5TYQL5.js";import a from"./2WXPOV3P.js";import{c as F}from"./DNQ5PPRV.js";import{a as S}from"./GGKFJMLJ.js";import{b as E}from"./S7GXXB2P.js";import{D as f,E as g,F as x,H as b,h as v,i as o,l as _,p,s as T}from"./2ES34Q6J.js";export default $arcgis.t(([$,c,M,w,{j:m},{c:O,d:C,j:y},{b:H},{l:L}])=>{var R=v`@layer{/** @license
3
+ v1.2.0-next.40 */
4
+ import e from"./QVOH6SZI.js";import d from"./QVNT6K3T.js";import{a as A}from"./P4VQHHDZ.js";import c from"./F6IAVJXL.js";import a from"./44LEPW6A.js";import{c as F}from"./YEK3SESL.js";import{a as S}from"./BDHJOA2K.js";import{b as E}from"./ZZ4ENTL4.js";import{D as f,E as g,F as x,H as b,h as v,i as o,l as _,p,s as T}from"./5HGT7YVW.js";export default $arcgis.t(([$,c,M,w,{j:m},{c:O,d:C,j:y},{b:H},{l:L}])=>{var R=v`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import{l as c}from"./ADGRZEHH.js";import{a as o}from"./MW4NBRQZ.js";import{a as n}from"./LWA5F2BZ.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
3
+ v1.2.0-next.40 */
4
+ import{l as c}from"./OSRM45JC.js";import{a as o}from"./JXUG2KP2.js";import{a as n}from"./3GZO2WZD.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
3
+ v1.2.0-next.40 */
4
4
  var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import"./UQH76H3R.js";var e="\u0E04\u0E38\u0E13\u0E21\u0E35\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E44\u0E21\u0E48\u0E1E\u0E2D\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E19\u0E35\u0E49 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E23\u0E30\u0E1A\u0E1A ArcGIS System \u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E02\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D",a="\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49\u0E16\u0E39\u0E01\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E08\u0E32\u0E01 Notebook \u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07 ArcGIS Notebooks \u0E16\u0E39\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E01\u0E44\u0E27\u0E49\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E23\u0E31\u0E1A\u0E41\u0E15\u0E48\u0E07\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32",r="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E21\u0E35 ${ additionalProperty }",t="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E02\u0E2D\u0E07\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ schemaOptions }",o="\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1C\u0E19\u0E17\u0E35\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",s="\u0E01\u0E32\u0E23\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",i="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C",l="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ allowedValues }",d="\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",n="\u0E17\u0E35\u0E48\u0E08\u0E31\u0E14\u0E40\u0E01\u0E47\u0E1A\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E40\u0E15\u0E47\u0E21 \u0E25\u0E1A\u0E1A\u0E32\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C \u0E41\u0E25\u0E49\u0E27\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",c="\u0E0A\u0E37\u0E48\u0E2D\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49",m="\u0E01\u0E32\u0E23\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1F\u0E35\u0E40\u0E08\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E44\u0E21\u0E48\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C",u="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E23\u0E31\u0E1A\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34\u0E17\u0E35\u0E48\u0E2A\u0E33\u0E04\u0E31\u0E0D",E="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E42\u0E2B\u0E25\u0E14\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",h="\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",y="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",P="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07 \u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",p="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",S="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E27\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30",$="\u0E42\u0E2B\u0E25\u0E14\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08 \u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E43\u0E2B\u0E49\u0E41\u0E19\u0E48\u0E43\u0E08\u0E41\u0E27\u0E48\u0E32\u0E21\u0E35\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E2D\u0E22\u0E39\u0E48 \u0E41\u0E25\u0E30\u0E2D\u0E19\u0E38\u0E21\u0E31\u0E15\u0E34\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E41\u0E25\u0E49\u0E27",v="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E32\u0E21\u0E04\u0E33\u0E02\u0E2D",f="\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49 <calcite-link target='_blank' href='${ docLink }'>\u0E40\u0E23\u0E35\u0E22\u0E19\u0E23\u0E39\u0E49\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</calcite-link>",k="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A\u0E1E\u0E2D\u0E23\u0E4C\u0E17\u0E31\u0E25",F="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E2D\u0E48\u0E32\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2D\u0E34\u0E19\u0E1E\u0E38\u0E17",I="${ dataPath } \u0E44\u0E21\u0E48\u0E21\u0E35\u0E0A\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34 ${ missingProperty }",T="\u0E21\u0E35\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E19\u0E35\u0E49\u0E2D\u0E22\u0E39\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E31\u0E49\u0E07\u0E0A\u0E37\u0E48\u0E2D\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E44\u0E21\u0E48\u0E0B\u0E49\u0E33\u0E01\u0E31\u0E19\u0E20\u0E32\u0E22\u0E43\u0E19\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23 \u0E42\u0E1B\u0E23\u0E14\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E2D\u0E37\u0E48\u0E19",b="\u0E0A\u0E37\u0E48\u0E2D\u0E40\u0E2D\u0E32\u0E17\u0E4C\u0E1E\u0E38\u0E17\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 <a href='${docLink}' target='_blank'>\u0E28\u0E36\u0E01\u0E29\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</a>",L="\u0E01\u0E32\u0E23\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07\u0E08\u0E32\u0E01\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 \u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E14\u0E49\u0E27\u0E22\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E14\u0E49",N="\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E07\u0E32\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",g="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E44\u0E27\u0E17\u0E4C\u0E2A\u0E40\u0E1B\u0E0B",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
3
+ v1.2.0-next.40 */
4
+ import"./A6LCU65M.js";var e="\u0E04\u0E38\u0E13\u0E21\u0E35\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E44\u0E21\u0E48\u0E1E\u0E2D\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E19\u0E35\u0E49 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E23\u0E30\u0E1A\u0E1A ArcGIS System \u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E02\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D",a="\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49\u0E16\u0E39\u0E01\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E08\u0E32\u0E01 Notebook \u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07 ArcGIS Notebooks \u0E16\u0E39\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E01\u0E44\u0E27\u0E49\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E23\u0E31\u0E1A\u0E41\u0E15\u0E48\u0E07\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32",r="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E21\u0E35 ${ additionalProperty }",t="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E02\u0E2D\u0E07\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ schemaOptions }",o="\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1C\u0E19\u0E17\u0E35\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",s="\u0E01\u0E32\u0E23\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",i="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C",l="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ allowedValues }",d="\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",n="\u0E17\u0E35\u0E48\u0E08\u0E31\u0E14\u0E40\u0E01\u0E47\u0E1A\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E40\u0E15\u0E47\u0E21 \u0E25\u0E1A\u0E1A\u0E32\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C \u0E41\u0E25\u0E49\u0E27\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",c="\u0E0A\u0E37\u0E48\u0E2D\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49",m="\u0E01\u0E32\u0E23\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1F\u0E35\u0E40\u0E08\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E44\u0E21\u0E48\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C",u="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E23\u0E31\u0E1A\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34\u0E17\u0E35\u0E48\u0E2A\u0E33\u0E04\u0E31\u0E0D",E="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E42\u0E2B\u0E25\u0E14\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",h="\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",y="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",P="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07 \u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",p="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",S="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E27\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30",$="\u0E42\u0E2B\u0E25\u0E14\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08 \u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E43\u0E2B\u0E49\u0E41\u0E19\u0E48\u0E43\u0E08\u0E41\u0E27\u0E48\u0E32\u0E21\u0E35\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E2D\u0E22\u0E39\u0E48 \u0E41\u0E25\u0E30\u0E2D\u0E19\u0E38\u0E21\u0E31\u0E15\u0E34\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E41\u0E25\u0E49\u0E27",v="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E32\u0E21\u0E04\u0E33\u0E02\u0E2D",f="\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49 <calcite-link target='_blank' href='${ docLink }'>\u0E40\u0E23\u0E35\u0E22\u0E19\u0E23\u0E39\u0E49\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</calcite-link>",k="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A\u0E1E\u0E2D\u0E23\u0E4C\u0E17\u0E31\u0E25",F="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E2D\u0E48\u0E32\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2D\u0E34\u0E19\u0E1E\u0E38\u0E17",I="${ dataPath } \u0E44\u0E21\u0E48\u0E21\u0E35\u0E0A\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34 ${ missingProperty }",T="\u0E21\u0E35\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E19\u0E35\u0E49\u0E2D\u0E22\u0E39\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E31\u0E49\u0E07\u0E0A\u0E37\u0E48\u0E2D\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E44\u0E21\u0E48\u0E0B\u0E49\u0E33\u0E01\u0E31\u0E19\u0E20\u0E32\u0E22\u0E43\u0E19\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23 \u0E42\u0E1B\u0E23\u0E14\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E2D\u0E37\u0E48\u0E19",b="\u0E0A\u0E37\u0E48\u0E2D\u0E40\u0E2D\u0E32\u0E17\u0E4C\u0E1E\u0E38\u0E17\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 <a href='${docLink}' target='_blank'>\u0E28\u0E36\u0E01\u0E29\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</a>",L="\u0E01\u0E32\u0E23\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07\u0E08\u0E32\u0E01\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 \u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E14\u0E49\u0E27\u0E22\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E14\u0E49",N="\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E07\u0E32\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",g="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E44\u0E27\u0E17\u0E4C\u0E2A\u0E40\u0E1B\u0E0B",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import{c as t}from"./LWA5F2BZ.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./C46SRFOU.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
3
+ v1.2.0-next.40 */
4
+ import{c as t}from"./3GZO2WZD.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./ANUW6DCM.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import{a as _}from"./2VG4KTXI.js";import{a as m}from"./6HLRUCZG.js";import{b as p}from"./OCORZHZK.js";import"./HETORT6U.js";import"./LWSKZY3I.js";import{D as h,E as b,F as d,h as o,i as c}from"./2ES34Q6J.js";import"./UQH76H3R.js";export default $arcgis.t(([g,D,{watch:w},a,B,x])=>{var v=o`:host{--label-padding-inline: 12px;--calcite-action-bar-items-space: 8px}calcite-label span,.checkbox-wrapper{padding-inline:var(--label-padding-inline)}`,n={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function M(f,e){return new x({geometry:f,symbol:e})}async function C({graphic:f,distance:e,unit:t,isGeodesic:r}){r&&!a.isLoaded()&&await a.load();let i=r?a:B;try{let s={unit:t},l=i.execute(f.geometry,e,s);if(!l)throw new Error("buffer failed");return l}catch(s){console.error(String(s))}}var y=["meters","kilometers","miles","yards","feet","us-feet"],u=class extends d{constructor(){super(),this._bufferDistance=1,this._bufferMinDistance=.1,this._bufferMaxDistance=1e6,this._bufferInputStep=1,this._bufferUnit="miles",this._messages=m({name:"instant-apps-buffer",blocking:!0}),this._readyToBuffer=!1,this._firstFocusableElement=h(),this.geodesicBufferEnabled=!1,this.disabled=!1,this.bufferColor=n.color,this.bufferStyle=n.style,this.bufferOutlineColor=n.outline.color,this.bufferOutlineWidth=n.outline.width,this.bufferLayer=new g}static{this.properties={bufferLayer:0,inputGraphics:0,view:0,bufferUnit:3,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,geodesicBufferEnabled:7,disabled:7,readyToBuffer:32,bufferColor:1,bufferStyle:1,bufferOutlineColor:1,bufferOutlineWidth:9,bufferGraphicSymbol:32}}static{this.styles=v}get bufferUnit(){return this._bufferUnit}set bufferUnit(e){if(y.includes(e))this._bufferUnit=e;else throw Error("bufferDistance must be a valid length unit type")}get bufferInputStep(){return this._bufferInputStep}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this._bufferInputStep=e}get bufferDistance(){return this._bufferDistance}set bufferDistance(e){if(this._validateBufferNumber(e,"bufferDistance"),e<this.bufferMinDistance)throw new Error("bufferDistance must be greater than bufferMinDistance");if(e>this.bufferMaxDistance)throw new Error("bufferDistance must be less than bufferMaxDistance");this._bufferDistance=e}get bufferMinDistance(){return this._bufferMinDistance}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this._bufferMinDistance=e}get bufferMaxDistance(){return this._bufferMaxDistance}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this._bufferMaxDistance=e}get readyToBuffer(){return this._readyToBuffer}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new D({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async setFocus(){await this._firstFocusableElement.value?.setFocus()}async willUpdate(e){(e.has("view")||e.has("inputGraphics")||e.has("bufferLayer"))&&this._validateBufferCapability()}disconnectedCallback(){super.disconnectedCallback(),this._inputGraphicsWatchHandle?.remove()}_clearBufferLayer(){this.bufferLayer?.removeAll()}async _onCreateBufferClick(){this._readyToBuffer&&await this._bufferInputGraphics()}_onRemoveBufferClick(){this._clearBufferLayer()}_onBufferDistanceChange(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}_onGeodesicBufferChange(e){let t=e.target.checked;this.geodesicBufferEnabled=t}_validateBufferNumber(e,t){if(typeof e!="number"||Number.isNaN(e))throw new Error(`${t} must be a valid number`);if(e<=0)throw new Error(`${t} must be > 0`)}_validateBufferCapability(){let e=!!this.view,t=!!this.inputGraphics,r=!!this.bufferLayer;e&&t&&r?(this._inputGraphicsWatchHandle?.remove(),this._inputGraphicsWatchHandle=w(()=>this.inputGraphics?.length,i=>{i&&i>0?this._readyToBuffer=!0:this._readyToBuffer=!1},{initial:!0})):(this._readyToBuffer=!1,this._inputGraphicsWatchHandle?.remove())}async _bufferInputGraphics(){if(!this.bufferLayer||!this.view||!this.inputGraphics)return;this.view.map?.layers.indexOf(this.bufferLayer)===-1?this.view.map.add(this.bufferLayer):this.bufferLayer.removeAll();let e=[];for(let i of this.inputGraphics){let s=C({graphic:i,distance:this.bufferDistance,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled});e.push(s)}let t=this.bufferGraphicSymbol,r=(await Promise.all(e)).filter(i=>!!i).map(i=>M(i,t));this.bufferLayer.addMany(r)}render(){return c`<calcite-action-bar expand-disabled expanded><calcite-action-group><calcite-action .text=${this._messages.labels.draw} icon=circle text-enabled .disabled=${this.disabled} @click=${this._onCreateBufferClick} ${b(this._firstFocusableElement)}></calcite-action><calcite-action .text=${this._messages.labels.remove} icon=trash text-enabled .disabled=${this.disabled} @click=${this._onRemoveBufferClick}></calcite-action></calcite-action-group><calcite-action-group><calcite-label><span>${this._messages.labels.distance}</span><calcite-input-number .value=${`${this.bufferDistance}`} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} .disabled=${this.disabled} @calciteInputNumberChange=${this._onBufferDistanceChange}></calcite-input-number></calcite-label><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange} .disabled=${this.disabled}>${_(y,e=>e,e=>c`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><div class="checkbox-wrapper"><calcite-label layout=inline><calcite-checkbox .checked=${this.geodesicBufferEnabled} .disabled=${this.disabled} @calciteCheckboxChange=${this._onGeodesicBufferChange}></calcite-checkbox>${this._messages.labels.toggleGeodesic}</calcite-label></div></calcite-action-group></calcite-action-bar>`}};p("instant-apps-buffer",u);return u},"layers/GraphicsLayer","symbols/SimpleFillSymbol","core/reactiveUtils","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic")
3
+ v1.2.0-next.40 */
4
+ import{a as _}from"./52CMYQNR.js";import{a as m}from"./5OA2SJVO.js";import{b as p}from"./ZOP5HNIE.js";import"./BD5LDFYB.js";import"./6JWM4HAN.js";import{D as h,E as b,F as d,h as o,i as c}from"./5HGT7YVW.js";import"./A6LCU65M.js";export default $arcgis.t(([g,D,{watch:w},a,B,x])=>{var v=o`:host{--label-padding-inline: 12px;--calcite-action-bar-items-space: 8px}calcite-label span,.checkbox-wrapper{padding-inline:var(--label-padding-inline)}`,n={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function M(f,e){return new x({geometry:f,symbol:e})}async function C({graphic:f,distance:e,unit:t,isGeodesic:r}){r&&!a.isLoaded()&&await a.load();let i=r?a:B;try{let s={unit:t},l=i.execute(f.geometry,e,s);if(!l)throw new Error("buffer failed");return l}catch(s){console.error(String(s))}}var y=["meters","kilometers","miles","yards","feet","us-feet"],u=class extends d{constructor(){super(),this._bufferDistance=1,this._bufferMinDistance=.1,this._bufferMaxDistance=1e6,this._bufferInputStep=1,this._bufferUnit="miles",this._messages=m({name:"instant-apps-buffer",blocking:!0}),this._readyToBuffer=!1,this._firstFocusableElement=h(),this.geodesicBufferEnabled=!1,this.disabled=!1,this.bufferColor=n.color,this.bufferStyle=n.style,this.bufferOutlineColor=n.outline.color,this.bufferOutlineWidth=n.outline.width,this.bufferLayer=new g}static{this.properties={bufferLayer:0,inputGraphics:0,view:0,bufferUnit:3,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,geodesicBufferEnabled:7,disabled:7,readyToBuffer:32,bufferColor:1,bufferStyle:1,bufferOutlineColor:1,bufferOutlineWidth:9,bufferGraphicSymbol:32}}static{this.styles=v}get bufferUnit(){return this._bufferUnit}set bufferUnit(e){if(y.includes(e))this._bufferUnit=e;else throw Error("bufferDistance must be a valid length unit type")}get bufferInputStep(){return this._bufferInputStep}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this._bufferInputStep=e}get bufferDistance(){return this._bufferDistance}set bufferDistance(e){if(this._validateBufferNumber(e,"bufferDistance"),e<this.bufferMinDistance)throw new Error("bufferDistance must be greater than bufferMinDistance");if(e>this.bufferMaxDistance)throw new Error("bufferDistance must be less than bufferMaxDistance");this._bufferDistance=e}get bufferMinDistance(){return this._bufferMinDistance}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this._bufferMinDistance=e}get bufferMaxDistance(){return this._bufferMaxDistance}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this._bufferMaxDistance=e}get readyToBuffer(){return this._readyToBuffer}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new D({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async setFocus(){await this._firstFocusableElement.value?.setFocus()}async willUpdate(e){(e.has("view")||e.has("inputGraphics")||e.has("bufferLayer"))&&this._validateBufferCapability()}disconnectedCallback(){super.disconnectedCallback(),this._inputGraphicsWatchHandle?.remove()}_clearBufferLayer(){this.bufferLayer?.removeAll()}async _onCreateBufferClick(){this._readyToBuffer&&await this._bufferInputGraphics()}_onRemoveBufferClick(){this._clearBufferLayer()}_onBufferDistanceChange(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}_onGeodesicBufferChange(e){let t=e.target.checked;this.geodesicBufferEnabled=t}_validateBufferNumber(e,t){if(typeof e!="number"||Number.isNaN(e))throw new Error(`${t} must be a valid number`);if(e<=0)throw new Error(`${t} must be > 0`)}_validateBufferCapability(){let e=!!this.view,t=!!this.inputGraphics,r=!!this.bufferLayer;e&&t&&r?(this._inputGraphicsWatchHandle?.remove(),this._inputGraphicsWatchHandle=w(()=>this.inputGraphics?.length,i=>{i&&i>0?this._readyToBuffer=!0:this._readyToBuffer=!1},{initial:!0})):(this._readyToBuffer=!1,this._inputGraphicsWatchHandle?.remove())}async _bufferInputGraphics(){if(!this.bufferLayer||!this.view||!this.inputGraphics)return;this.view.map?.layers.indexOf(this.bufferLayer)===-1?this.view.map.add(this.bufferLayer):this.bufferLayer.removeAll();let e=[];for(let i of this.inputGraphics){let s=C({graphic:i,distance:this.bufferDistance,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled});e.push(s)}let t=this.bufferGraphicSymbol,r=(await Promise.all(e)).filter(i=>!!i).map(i=>M(i,t));this.bufferLayer.addMany(r)}render(){return c`<calcite-action-bar expand-disabled expanded><calcite-action-group><calcite-action .text=${this._messages.labels.draw} icon=circle text-enabled .disabled=${this.disabled} @click=${this._onCreateBufferClick} ${b(this._firstFocusableElement)}></calcite-action><calcite-action .text=${this._messages.labels.remove} icon=trash text-enabled .disabled=${this.disabled} @click=${this._onRemoveBufferClick}></calcite-action></calcite-action-group><calcite-action-group><calcite-label><span>${this._messages.labels.distance}</span><calcite-input-number .value=${`${this.bufferDistance}`} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} .disabled=${this.disabled} @calciteInputNumberChange=${this._onBufferDistanceChange}></calcite-input-number></calcite-label><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange} .disabled=${this.disabled}>${_(y,e=>e,e=>c`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><div class="checkbox-wrapper"><calcite-label layout=inline><calcite-checkbox .checked=${this.geodesicBufferEnabled} .disabled=${this.disabled} @calciteCheckboxChange=${this._onGeodesicBufferChange}></calcite-checkbox>${this._messages.labels.toggleGeodesic}</calcite-label></div></calcite-action-group></calcite-action-bar>`}};p("instant-apps-buffer",u);return u},"layers/GraphicsLayer","symbols/SimpleFillSymbol","core/reactiveUtils","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import{a as m,b as o,c as T,d as E}from"./CME3FQFQ.js";import{a as t,b as e}from"./VCGAGRCW.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./C46SRFOU.js";import"./UQH76H3R.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
3
+ v1.2.0-next.40 */
4
+ import{a as m,b as o,c as T,d as E}from"./IM45V3PM.js";import{a as t,b as e}from"./U6AVHWUS.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./ANUW6DCM.js";import"./A6LCU65M.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import"./UQH76H3R.js";var e="K proveden\xED t\xE9to operace nem\xE1te dostatek kredit\u016F. Po\u017E\xE1dejte o pomoc spr\xE1vce syst\xE9mu ArcGIS.",o="Tento n\xE1stroj byl publikov\xE1n z notebooku. P\u0159\xEDstup k ArcGIS Notebooks je pro va\u0161i organizaci zablokov\xE1n. Pro \xFApravu nastaven\xED se obra\u0165te na spr\xE1vce.",a="${ dataPath } nesm\xED obsahovat ${ additionalProperty }.",t="${ dataPath } se mus\xED shodovat s\xA0jedn\xEDm z\xA0t\u011Bchto sch\xE9mat: ${ schemaOptions }.",r="Zkuste mapu znovu ulo\u017Eit.",s="Odhad kredit\u016F se nezda\u0159il. P\u0159ejd\u011Bte dol\u016F, opravte chyby a znovu odhadn\u011Bte kredity.",n="P\u0159i prov\xE1d\u011Bn\xED anal\xFDzy do\u0161lo k chyb\u011B.",i="${ dataPath } se mus\xED rovnat jedn\xE9 z\xA0t\u011Bchto povolen\xFDch hodnot: ${ allowedValues }.",l="Nepoda\u0159ilo se ulo\u017Eit historii anal\xFDzy",d="\xDAlo\u017Ei\u0161t\u011B historie je pln\xE9. Odstra\u0148te n\u011Bkter\xE9 polo\u017Eky z\xA0historie anal\xFDzy a\xA0zkuste ulo\u017Een\xED zopakovat.",v="N\xE1zev slu\u017Eby obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F.",u="Ukl\xE1d\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy prvk\u016F nebylo dokon\u010Deno.",p="Nepoda\u0159ilo se z\xEDskat vlastnosti kl\xED\u010De.",c="Vrstvu se nepoda\u0159ilo na\u010D\xEDst.",m="Vrstva nen\xED k dispozici.",k="${ dataPath } nesm\xED obsahovat v\xEDce ne\u017E ${ limit } polo\u017Eek.",h="P\u0159i ukl\xE1d\xE1n\xED modelu do\u0161lo k chyb\u011B. Zkuste ulo\u017Eit znovu.",y="${ dataPath } nesm\xED obsahovat m\xE9n\u011B ne\u017E ${ limit } polo\u017Eek.",b="${ dataPath } nesm\xED b\xFDt krat\u0161\xED ne\u017E ${ limit } znak\u016F.",z="Nepoda\u0159ilo se na\u010D\xEDst polo\u017Eku modelu. Ujist\u011Bte se, \u017Ee model existuje a\xA0\u017Ee bylo ud\u011Bleno p\u0159\xEDstupov\xE9 opr\xE1vn\u011Bn\xED.",P="Po\u017Eadavek se nepoda\u0159ilo dokon\u010Dit.",j="Ke spu\u0161t\u011Bn\xED tohoto n\xE1stroje nem\xE1te opr\xE1vn\u011Bn\xED. <calcite-link target='_blank' href='${ docLink }'>Dal\u0161\xED informace</calcite-link>",E="Nepoda\u0159ilo se p\u0159ihl\xE1sit k port\xE1lu.",S="Nepoda\u0159ilo se p\u0159e\u010D\xEDst vstupn\xED data.",f="V ${ dataPath } chyb\xED vlastnost s n\xE1zvem ${ missingProperty }.",$="Vrstva v\xFDsledk\u016F s t\xEDmto n\xE1zvem ji\u017E existuje. Vrstvy v\xFDsledk\u016F mus\xED b\xFDt pojmenov\xE1ny jedine\u010Dn\u011B v cel\xE9 organizaci. Pou\u017Eijte jin\xFD n\xE1zev.",N="V\xFDstupn\xED n\xE1zev obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F. <a href='${docLink}' target='_blank'>V\xEDce informac\xED.</a>",F="Publikov\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy se nezda\u0159ilo kv\u016Fli jednomu nebo v\xEDce neplatn\xFDm pol\xEDm. Spus\u0165te n\xE1stroj znovu a\xA0vytvo\u0159te vrstvu s\xA0platn\xFDmi poli.",I="Odesl\xE1n\xED \xFAlohy se nezda\u0159ilo. P\u0159ejd\u011Bte dol\u016F, opravte chyby a\xA0spus\u0165te anal\xFDzu znovu.",V="${ dataPath } mus\xED obsahovat alespo\u0148 jeden znak jin\xFD ne\u017E mezera.",T={InsufficientCreditsError:e,accessBlocked:o,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:n,enumValues:i,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:p,layerLoadFailure:c,layerUnavailable:m,maxItems:k,mbFailedToSave:h,minItems:y,minLength:b,modelNotFound:z,networkError:P,noPermissionToAccessTool:j,portalLoadError:E,queryFeaturesError:S,requiredProperty:f,serviceNameExistsError:$,specialCharactersInServiceNameError:N,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:V};export{e as InsufficientCreditsError,o as accessBlocked,a as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,T as default,n as defaultError,i as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,p as keyPropertiesError,c as layerLoadFailure,m as layerUnavailable,k as maxItems,h as mbFailedToSave,y as minItems,b as minLength,z as modelNotFound,P as networkError,j as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,f as requiredProperty,$ as serviceNameExistsError,N as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,V as whiteSpacePattern};
3
+ v1.2.0-next.40 */
4
+ import"./A6LCU65M.js";var e="K proveden\xED t\xE9to operace nem\xE1te dostatek kredit\u016F. Po\u017E\xE1dejte o pomoc spr\xE1vce syst\xE9mu ArcGIS.",o="Tento n\xE1stroj byl publikov\xE1n z notebooku. P\u0159\xEDstup k ArcGIS Notebooks je pro va\u0161i organizaci zablokov\xE1n. Pro \xFApravu nastaven\xED se obra\u0165te na spr\xE1vce.",a="${ dataPath } nesm\xED obsahovat ${ additionalProperty }.",t="${ dataPath } se mus\xED shodovat s\xA0jedn\xEDm z\xA0t\u011Bchto sch\xE9mat: ${ schemaOptions }.",r="Zkuste mapu znovu ulo\u017Eit.",s="Odhad kredit\u016F se nezda\u0159il. P\u0159ejd\u011Bte dol\u016F, opravte chyby a znovu odhadn\u011Bte kredity.",n="P\u0159i prov\xE1d\u011Bn\xED anal\xFDzy do\u0161lo k chyb\u011B.",i="${ dataPath } se mus\xED rovnat jedn\xE9 z\xA0t\u011Bchto povolen\xFDch hodnot: ${ allowedValues }.",l="Nepoda\u0159ilo se ulo\u017Eit historii anal\xFDzy",d="\xDAlo\u017Ei\u0161t\u011B historie je pln\xE9. Odstra\u0148te n\u011Bkter\xE9 polo\u017Eky z\xA0historie anal\xFDzy a\xA0zkuste ulo\u017Een\xED zopakovat.",v="N\xE1zev slu\u017Eby obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F.",u="Ukl\xE1d\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy prvk\u016F nebylo dokon\u010Deno.",p="Nepoda\u0159ilo se z\xEDskat vlastnosti kl\xED\u010De.",c="Vrstvu se nepoda\u0159ilo na\u010D\xEDst.",m="Vrstva nen\xED k dispozici.",k="${ dataPath } nesm\xED obsahovat v\xEDce ne\u017E ${ limit } polo\u017Eek.",h="P\u0159i ukl\xE1d\xE1n\xED modelu do\u0161lo k chyb\u011B. Zkuste ulo\u017Eit znovu.",y="${ dataPath } nesm\xED obsahovat m\xE9n\u011B ne\u017E ${ limit } polo\u017Eek.",b="${ dataPath } nesm\xED b\xFDt krat\u0161\xED ne\u017E ${ limit } znak\u016F.",z="Nepoda\u0159ilo se na\u010D\xEDst polo\u017Eku modelu. Ujist\u011Bte se, \u017Ee model existuje a\xA0\u017Ee bylo ud\u011Bleno p\u0159\xEDstupov\xE9 opr\xE1vn\u011Bn\xED.",P="Po\u017Eadavek se nepoda\u0159ilo dokon\u010Dit.",j="Ke spu\u0161t\u011Bn\xED tohoto n\xE1stroje nem\xE1te opr\xE1vn\u011Bn\xED. <calcite-link target='_blank' href='${ docLink }'>Dal\u0161\xED informace</calcite-link>",E="Nepoda\u0159ilo se p\u0159ihl\xE1sit k port\xE1lu.",S="Nepoda\u0159ilo se p\u0159e\u010D\xEDst vstupn\xED data.",f="V ${ dataPath } chyb\xED vlastnost s n\xE1zvem ${ missingProperty }.",$="Vrstva v\xFDsledk\u016F s t\xEDmto n\xE1zvem ji\u017E existuje. Vrstvy v\xFDsledk\u016F mus\xED b\xFDt pojmenov\xE1ny jedine\u010Dn\u011B v cel\xE9 organizaci. Pou\u017Eijte jin\xFD n\xE1zev.",N="V\xFDstupn\xED n\xE1zev obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F. <a href='${docLink}' target='_blank'>V\xEDce informac\xED.</a>",F="Publikov\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy se nezda\u0159ilo kv\u016Fli jednomu nebo v\xEDce neplatn\xFDm pol\xEDm. Spus\u0165te n\xE1stroj znovu a\xA0vytvo\u0159te vrstvu s\xA0platn\xFDmi poli.",I="Odesl\xE1n\xED \xFAlohy se nezda\u0159ilo. P\u0159ejd\u011Bte dol\u016F, opravte chyby a\xA0spus\u0165te anal\xFDzu znovu.",V="${ dataPath } mus\xED obsahovat alespo\u0148 jeden znak jin\xFD ne\u017E mezera.",T={InsufficientCreditsError:e,accessBlocked:o,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:n,enumValues:i,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:p,layerLoadFailure:c,layerUnavailable:m,maxItems:k,mbFailedToSave:h,minItems:y,minLength:b,modelNotFound:z,networkError:P,noPermissionToAccessTool:j,portalLoadError:E,queryFeaturesError:S,requiredProperty:f,serviceNameExistsError:$,specialCharactersInServiceNameError:N,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:V};export{e as InsufficientCreditsError,o as accessBlocked,a as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,T as default,n as defaultError,i as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,p as keyPropertiesError,c as layerLoadFailure,m as layerUnavailable,k as maxItems,h as mbFailedToSave,y as minItems,b as minLength,z as modelNotFound,P as networkError,j as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,f as requiredProperty,$ as serviceNameExistsError,N as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,V as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import"./UQH76H3R.js";var e="Non si dispone di abbastanza crediti per completare questa operazione. Contattare un amministratore di sistema ArcGIS per assistenza.",a="Questo strumento \xE8 stato pubblicato da un notebook. L'accesso ad ArcGIS Notebooks \xE8 bloccato per l'organizzazione. Contattare l'amministratore per correggere l'impostazione.",r="${ dataPath } non deve contenere ${ additionalProperty }.",o="${ dataPath } deve corrispondere allo schema di uno di questi\u200E: ${ schemaOptions }.",i="Provare a salvare di nuovo la mappa.",t="Stima dei crediti non riuscita. Scorri in basso, correggi gli errori e stima nuovamente i crediti.",s="Si \xE8 verificato un errore durante l'analisi.",n="${ dataPath } deve essere uguale a uno di questi valori consentiti: ${ allowedValues }.",l="Impossibile salvare la cronologia analisi",c="L'archivio della cronologia \xE8 pieno. Eliminare alcuni elementi dalla cronologia analisi e riprovare.",d="Il nome del servizio contiene uno o pi\xF9 caratteri non validi.",m="Il salvataggio del layer temporaneo come feature layer in hosting non \xE8 stato completato.",u="Impossibile ottenere le propriet\xE0 chiave.",p="Impossibile caricare il layer.",v="Il layer non \xE8 disponibile.",g="${ dataPath } non deve contenere pi\xF9 di ${ limit } elementi.",h="Si \xE8 verificato un errore durante il salvataggio del modello. Provare a salvare di nuovo.",y="${ dataPath } non deve contenere meno di ${ limit } elementi.",E="${ dataPath } non deve essere pi\xF9 corto di ${ limit } caratteri.",b="Impossibile caricare l'elemento del modello. Assicurarsi che il modello esista e che sia stata concessa l'autorizzazione per l'accesso.",I="Impossibile completare la richiesta.",P="Non si dispone dell'autorizzazione per eseguire questo strumento. <calcite-link target='_blank' href='${ docLink }'>Ulteriori informazioni</calcite-link>",S="Impossibile accedere al portale.",f="Impossibile leggere i dati di input.",z="A ${ dataPath } manca una propriet\xE0 denominata ${ missingProperty }.",$="Un layer risultato esiste gi\xE0 con questo nome. I layer dei risultati devono essere denominati in modo univoco in tutta l'organizzazione. Usare un altro nome.",k="Il nome di output contiene uno o pi\xF9 caratteri non validi. <a href='${docLink}' target='_blank'>Ulteriori informazioni.</a>",F="La pubblicazione del layer temporaneo come layer in hosting non \xE8 riuscita a causa di uno o pi\xF9 campi non validi. Eseguire nuovamente lo strumento per creare un layer con campi validi.",L="Invio del processo non riuscito. Scorrere verso il basso, correggere gli errori ed eseguire nuovamente l'analisi.",N="${ dataPath } deve contenere almeno un carattere.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:i,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:c,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:v,maxItems:g,mbFailedToSave:h,minItems:y,minLength:E,modelNotFound:b,networkError:I,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:f,requiredProperty:z,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,i as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,c as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,g as maxItems,h as mbFailedToSave,y as minItems,E as minLength,b as modelNotFound,I as networkError,P as noPermissionToAccessTool,S as portalLoadError,f as queryFeaturesError,z as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,N as whiteSpacePattern};
3
+ v1.2.0-next.40 */
4
+ import"./A6LCU65M.js";var e="Non si dispone di abbastanza crediti per completare questa operazione. Contattare un amministratore di sistema ArcGIS per assistenza.",a="Questo strumento \xE8 stato pubblicato da un notebook. L'accesso ad ArcGIS Notebooks \xE8 bloccato per l'organizzazione. Contattare l'amministratore per correggere l'impostazione.",r="${ dataPath } non deve contenere ${ additionalProperty }.",o="${ dataPath } deve corrispondere allo schema di uno di questi\u200E: ${ schemaOptions }.",i="Provare a salvare di nuovo la mappa.",t="Stima dei crediti non riuscita. Scorri in basso, correggi gli errori e stima nuovamente i crediti.",s="Si \xE8 verificato un errore durante l'analisi.",n="${ dataPath } deve essere uguale a uno di questi valori consentiti: ${ allowedValues }.",l="Impossibile salvare la cronologia analisi",c="L'archivio della cronologia \xE8 pieno. Eliminare alcuni elementi dalla cronologia analisi e riprovare.",d="Il nome del servizio contiene uno o pi\xF9 caratteri non validi.",m="Il salvataggio del layer temporaneo come feature layer in hosting non \xE8 stato completato.",u="Impossibile ottenere le propriet\xE0 chiave.",p="Impossibile caricare il layer.",v="Il layer non \xE8 disponibile.",g="${ dataPath } non deve contenere pi\xF9 di ${ limit } elementi.",h="Si \xE8 verificato un errore durante il salvataggio del modello. Provare a salvare di nuovo.",y="${ dataPath } non deve contenere meno di ${ limit } elementi.",E="${ dataPath } non deve essere pi\xF9 corto di ${ limit } caratteri.",b="Impossibile caricare l'elemento del modello. Assicurarsi che il modello esista e che sia stata concessa l'autorizzazione per l'accesso.",I="Impossibile completare la richiesta.",P="Non si dispone dell'autorizzazione per eseguire questo strumento. <calcite-link target='_blank' href='${ docLink }'>Ulteriori informazioni</calcite-link>",S="Impossibile accedere al portale.",f="Impossibile leggere i dati di input.",z="A ${ dataPath } manca una propriet\xE0 denominata ${ missingProperty }.",$="Un layer risultato esiste gi\xE0 con questo nome. I layer dei risultati devono essere denominati in modo univoco in tutta l'organizzazione. Usare un altro nome.",k="Il nome di output contiene uno o pi\xF9 caratteri non validi. <a href='${docLink}' target='_blank'>Ulteriori informazioni.</a>",F="La pubblicazione del layer temporaneo come layer in hosting non \xE8 riuscita a causa di uno o pi\xF9 campi non validi. Eseguire nuovamente lo strumento per creare un layer con campi validi.",L="Invio del processo non riuscito. Scorrere verso il basso, correggere gli errori ed eseguire nuovamente l'analisi.",N="${ dataPath } deve contenere almeno un carattere.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:i,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:c,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:v,maxItems:g,mbFailedToSave:h,minItems:y,minLength:E,modelNotFound:b,networkError:I,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:f,requiredProperty:z,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,i as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,c as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,g as maxItems,h as mbFailedToSave,y as minItems,E as minLength,b as modelNotFound,I as networkError,P as noPermissionToAccessTool,S as portalLoadError,f as queryFeaturesError,z as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,N as whiteSpacePattern};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import{a as D}from"./3PPCI2R3.js";import d from"./LK5TYQL5.js";import c from"./2WXPOV3P.js";import b from"./H7GNFLX5.js";import a from"./MFMURPUV.js";import{a as k,d as O,f as T}from"./DNQ5PPRV.js";import"./3ST4PJS2.js";import"./E3ZJUJQE.js";import"./ZXIUDDYB.js";import"./AMF6BI56.js";import"./ERPFWR4V.js";import"./5G5DFCQ2.js";import"./CZKLCZBX.js";import"./NPAJRPLS.js";import"./ADGRZEHH.js";import"./PXSFL6NE.js";import"./2KYRVCYO.js";import"./4EI3LJ75.js";import"./GC6WKYIL.js";import"./4XMI442R.js";import"./ZLCJOGCM.js";import"./IR4NISLP.js";import"./HESFWY6K.js";import"./JYP27YIQ.js";import"./MW4NBRQZ.js";import"./5XZXS7KC.js";import{a as I}from"./GGKFJMLJ.js";import"./HETORT6U.js";import"./LWSKZY3I.js";import{b as V}from"./S7GXXB2P.js";import{D as u,E as p,F as v,H as _,I as C,h as w,i as o,p as L,s as S}from"./2ES34Q6J.js";import"./UQH76H3R.js";export default $arcgis.t(([x,R,F,W,A,{b:$},,{e:d},{c:m,g:E,j:G}])=>{var U=w`@layer{/** @license
3
+ v1.2.0-next.40 */
4
+ import{a as D}from"./FJVY2BZI.js";import d from"./F6IAVJXL.js";import c from"./44LEPW6A.js";import b from"./RFONERYC.js";import a from"./CWMJC4JV.js";import{a as k,d as O,f as T}from"./YEK3SESL.js";import"./TMYVCDZA.js";import"./SPLZB73T.js";import"./4TEDDJJZ.js";import"./5TWZLTBH.js";import"./EFMEWOB6.js";import"./GRYHPDU4.js";import"./FLPS6WKJ.js";import"./IUH6PRUS.js";import"./OSRM45JC.js";import"./NPXOLE4L.js";import"./QZNUPCEF.js";import"./TN4LCNIE.js";import"./PQE4GXZT.js";import"./AGRLPQ5O.js";import"./UX2674JQ.js";import"./JRZLCTS4.js";import"./I37S3UHW.js";import"./57KDR6SS.js";import"./JXUG2KP2.js";import"./LW2EQEUD.js";import{a as I}from"./BDHJOA2K.js";import"./BD5LDFYB.js";import"./6JWM4HAN.js";import{b as V}from"./ZZ4ENTL4.js";import{D as u,E as p,F as v,H as _,I as C,h as w,i as o,p as L,s as S}from"./5HGT7YVW.js";import"./A6LCU65M.js";export default $arcgis.t(([x,R,F,W,A,{b:$},,{e:d},{c:m,g:E,j:G}])=>{var U=w`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import{a as b}from"./GGKFJMLJ.js";import"./HETORT6U.js";import"./LWSKZY3I.js";import{b as m}from"./S7GXXB2P.js";import{D as a,E as n,F as f,H as g,I as t,J as c,h as v,i as e,j as h}from"./2ES34Q6J.js";import"./UQH76H3R.js";export default $arcgis.t(([x,k])=>{var $=v`/** @license
3
+ v1.2.0-next.40 */
4
+ import{a as b}from"./BDHJOA2K.js";import"./BD5LDFYB.js";import"./6JWM4HAN.js";import{b as m}from"./ZZ4ENTL4.js";import{D as a,E as n,F as f,H as g,I as t,J as c,h as v,i as e,j as h}from"./5HGT7YVW.js";import"./A6LCU65M.js";export default $arcgis.t(([x,k])=>{var $=v`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the 'License');
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import a from"./2WXPOV3P.js";import{K as Y,M as W,N as M,O as Z,dc as se,g as b,gc as oe,hc as re,ic as ne,jc as ae,kc as le,rb as te,sa as ee}from"./3ST4PJS2.js";export default $arcgis.t(([{b:y,h:ie}])=>{var S={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},Oe=Object.defineProperty,Le=(e,t)=>{for(var s in t)Oe(e,s,{get:t[s],enumerable:!0})},We=new WeakMap,Me=e=>We.get(e),ce=(e,t)=>t in e,J=(e,t)=>(0,console.error)(e,t),de="http://www.w3.org/1999/xlink",_e=typeof window<"u"?window:{},P=_e.document||{head:{}},w={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=e=>Promise.resolve(e),j=!1,ue=[],we=[],je=(e,t)=>s=>{e.push(s),j||(j=!0,t&&w.$flags$&4?ze(z):w.raf(z))},$e=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){J(s)}e.length=0},z=()=>{$e(ue),$e(we),(j=ue.length>0)&&w.raf(z)},ze=e=>Ue().then(e),Ge=je(we,!0),pe={},He="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Be=e=>e!=null,Ie=e=>(e=typeof e,e==="object"||e==="function"),qe={};Le(qe,{err:()=>Re,map:()=>Je,ok:()=>G,unwrap:()=>Qe,unwrapErr:()=>Ve});var G=e=>({isOk:!0,isErr:!1,value:e}),Re=e=>({isOk:!1,isErr:!0,value:e});function Je(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(o=>G(o)):G(s)}if(e.isErr){let s=e.value;return Re(s)}throw"should never get here"}var Qe=e=>{if(e.isOk)return e.value;throw e.value},Ve=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t="")=>()=>{},Xe=(e,t,...s)=>{let o=null,r=null,n=null,a=!1,i=!1,c=[],h=l=>{for(let d=0;d<l.length;d++)o=l[d],Array.isArray(o)?h(o):o!=null&&typeof o!="boolean"&&((a=!Ie(o))&&(o=String(o)),a&&i?c[c.length-1].$text$+=o:c.push(a?H(null,o):o),i=a)};h(s);let $=H(e,null);return $.$attrs$=t,c.length>0&&($.$children$=c),$.$key$=r,$.$name$=n,$},H=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},Ye={},Ze=e=>e&&e.$tag$===Ye,he=(e,t,s,o,r,n)=>{if(s!==o){let a=ce(e,t),i=t.toLowerCase();if(t==="class"){let c=e.classList,h=fe(s),$=fe(o);c.remove(...h.filter(l=>l&&!$.includes(l))),c.add(...$.filter(l=>l&&!h.includes(l)))}else if(t==="style"){for(let c in s)(!o||o[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in o)(!s||o[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,o[c]):e.style[c]=o[c])}else if(t!=="key")if(t==="ref")o&&o(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ce(_e,i)?t=i.slice(2):t=i[2]+t.slice(3),s||o){let c=t.endsWith(Te);t=t.replace(tt,""),s&&w.rel(e,t,s,c),o&&w.ael(e,t,o,c)}}else{let c=Ie(o);if((a||c&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=o;else{let $=o??"";t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let h=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,h=!0),o==null||o===!1?(o!==!1||e.getAttribute(t)==="")&&(h?e.removeAttributeNS(de,t):e.removeAttribute(t)):(!a||n&4||r)&&!c&&(o=o===!0?"":o,h?e.setAttributeNS(de,t,o):e.setAttribute(t,o))}}},et=/\s/,fe=e=>e?e.split(et):[],Te="Capture",tt=new RegExp(Te+"$"),Ne=(e,t,s)=>{let o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||pe,n=t.$attrs$||pe;for(let a of me(Object.keys(r)))a in n||he(o,a,r[a],void 0,s,t.$flags$);for(let a of me(Object.keys(n)))he(o,a,r[a],n[a],s,t.$flags$)};function me(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var T,K,F,A=!1,O=!1,Q=!1,f=!1,L=(e,t,s,o)=>{var r;let n=t.$children$[s],a=0,i,c,h;if(A||(Q=!0,n.$tag$==="slot"&&(T&&o.classList.add(T+"-s"),n.$flags$|=n.$children$?2:1)),n.$text$!==null)i=n.$elm$=P.createTextNode(n.$text$);else if(n.$flags$&1)i=n.$elm$=P.createTextNode("");else{if(f||(f=n.$tag$==="svg"),i=n.$elm$=P.createElementNS(f?He:Ke,!A&&S.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),f&&n.$tag$==="foreignObject"&&(f=!1),Ne(null,n,f),i.getRootNode().querySelector("body")&&S.scoped&&Be(T)&&i["s-si"]!==T&&i.classList.add(i["s-si"]=T),X(i,o),n.$children$)for(a=0;a<n.$children$.length;++a)c=L(e,n,a,i),c&&i.appendChild(c);n.$tag$==="svg"?f=!1:i.tagName==="foreignObject"&&(f=!0)}return i["s-hn"]=F,n.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=K,i["s-sn"]=n.$name$||"",i["s-rf"]=(r=n.$attrs$)==null?void 0:r.ref,h=e&&e.$children$&&e.$children$[s],h&&h.$tag$===n.$tag$&&e.$elm$&&x(e.$elm$,!1)),i},x=(e,t)=>{w.$flags$|=1;let s=Array.from(e.childNodes);e["s-sr"]&&S.experimentalSlotFixes;for(let o=s.length-1;o>=0;o--){let r=s[o];r["s-hn"]!==F&&r["s-ol"]&&(R(xe(r),r,V(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Q=!0),t&&x(r,t)}w.$flags$&=-2},ke=(e,t,s,o,r,n)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot);r<=n;++r)o[r]&&(i=L(null,s,r,e),i&&(o[r].$elm$=i,R(a,i,V(t))))},Fe=(e,t,s)=>{for(let o=t;o<=s;++o){let r=e[o];if(r){let n=r.$elm$;Pe(r),n&&(O=!0,n["s-ol"]?n["s-ol"].remove():x(n,!0),n.remove())}}},st=(e,t,s,o,r=!1)=>{let n=0,a=0,i=0,c=0,h=t.length-1,$=t[0],l=t[h],d=o.length-1,u=o[0],p=o[d],v,m;for(;n<=h&&a<=d;)if($==null)$=t[++n];else if(l==null)l=t[--h];else if(u==null)u=o[++a];else if(p==null)p=o[--d];else if(C($,u,r))N($,u,r),$=t[++n],u=o[++a];else if(C(l,p,r))N(l,p,r),l=t[--h],p=o[--d];else if(C($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&x($.$elm$.parentNode,!1),N($,p,r),R(e,$.$elm$,l.$elm$.nextSibling),$=t[++n],p=o[--d];else if(C(l,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&x(l.$elm$.parentNode,!1),N(l,u,r),R(e,l.$elm$,$.$elm$),l=t[--h],u=o[++a];else{for(i=-1,c=n;c<=h;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===u.$key$){i=c;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?v=L(t&&t[a],s,i,e):(N(m,u,r),t[i]=void 0,v=m.$elm$),u=o[++a]):(v=L(t&&t[a],s,a,e),u=o[++a]),v&&R(xe($.$elm$),v,V($.$elm$))}n>h?ke(e,o[d+1]==null?null:o[d+1].$elm$,s,o,a,d):a>d&&Fe(t,n,h)},C=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,V=e=>e&&e["s-ol"]||e,xe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t,s=!1)=>{let o=t.$elm$=e.$elm$,r=e.$children$,n=t.$children$,a=t.$tag$,i=t.$text$,c;i===null?(f=a==="svg"?!0:a==="foreignObject"?!1:f,a==="slot"&&!A||Ne(e,t,f),r!==null&&n!==null?st(o,r,t,n,s):n!==null?(e.$text$!==null&&(o.textContent=""),ke(o,null,t,n,0,n.length-1)):!s&&S.updatable&&r!==null&&Fe(r,0,r.length-1),f&&a==="svg"&&(f=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:e.$text$!==i&&(o.data=i)},Ee=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let o=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||o!==""){if(r.nodeType===1&&(o===r.getAttribute("slot")||o===r["s-sn"])||r.nodeType===3&&o===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}Ee(s)}},_=[],Ce=e=>{let t,s,o;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let n=r["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"])if(ge(t,n)){let a=_.find(i=>i.$nodeToRelocate$===t);O=!0,t["s-sn"]=t["s-sn"]||n,a?(a.$nodeToRelocate$["s-sh"]=r["s-hn"],a.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],_.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&_.map(i=>{ge(i.$nodeToRelocate$,t["s-sn"])&&(a=_.find(c=>c.$nodeToRelocate$===t),a&&!i.$slotRefNode$&&(i.$slotRefNode$=a.$slotRefNode$))})}else _.some(a=>a.$nodeToRelocate$===t)||_.push({$nodeToRelocate$:t})}r.nodeType===1&&Ce(r)}},ge=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Pe)},R=(e,t,s)=>{let o=e?.insertBefore(t,s);return X(t,e),o},De=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...De(e.parentElement)),t},X=(e,t,s=!1)=>{var o;if(e&&t&&e.nodeType===1){let r=new Set(De(t).filter(Boolean));if(r.size&&((o=e.classList)==null||o.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let n of Array.from(e.childNodes))X(n,e,!0)}},ot=(e,t,s=!1)=>{var o,r,n,a,i;let c=e.$hostElement$,h=e.$cmpMeta$,$=e.$vnode$||H(null,null),l=Ze(t)?t:Xe(null,null,t);if(F=c.tagName,h.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},h.$attrsToReflect$.map(([d,u])=>l.$attrs$[u]=c[d])),s&&l.$attrs$)for(let d of Object.keys(l.$attrs$))c.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(l.$attrs$[d]=c[d]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=$.$elm$=c.shadowRoot||c,T=c["s-sc"],A=(h.$flags$&1)!==0,K=c["s-cr"],O=!1,N($,l,s);{if(w.$flags$|=1,Q){Ce(l.$elm$);for(let d of _){let u=d.$nodeToRelocate$;if(!u["s-ol"]){let p=P.createTextNode("");p["s-nr"]=u,R(u.parentNode,u["s-ol"]=p,u)}}for(let d of _){let u=d.$nodeToRelocate$,p=d.$slotRefNode$;if(p){let v=p.parentNode,m=p.nextSibling;{let E=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;E;){let g=(r=E["s-nr"])!=null?r:null;if(g&&g["s-sn"]===u["s-sn"]&&v===g.parentNode){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}E=E.previousSibling}}(!m&&v!==u.parentNode||u.nextSibling!==m)&&u!==m&&(!u["s-hn"]&&u["s-ol"]&&(u["s-hn"]=u["s-ol"].parentNode.nodeName),R(v,u,m),u.nodeType===1&&(u.hidden=(n=u["s-ih"])!=null?n:!1)),u&&typeof p["s-rf"]=="function"&&p["s-rf"](u)}else u.nodeType===1&&(s&&(u["s-ih"]=(a=u.hidden)!=null?a:!1),u.hidden=!0)}}O&&Ee(l.$elm$),w.$flags$&=-2,_.length=0}if(S.experimentalScopedSlotChanges&&h.$flags$&2)for(let d of l.$elm$.childNodes)d["s-hn"]!==F&&!d["s-sh"]&&(s&&d["s-ih"]==null&&(d["s-ih"]=(i=d.hidden)!=null?i:!1),d.hidden=!0);K=void 0},rt=(e,t)=>{},nt=(e,t)=>(e.$flags$|=16,rt(e,e.$ancestorComponent$),Ge(()=>at(e,t))),at=(e,t)=>{let s=e.$hostElement$,o=D("scheduleUpdate",e.$cmpMeta$.$tagName$),r=s;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=k(r,"componentWillUpdate"),n=ye(n,()=>k(r,"componentWillRender")),o(),ye(n,()=>it(e,r,t))},ye=(e,t)=>lt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),lt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,s)=>{let o=e.$hostElement$,r=D("update",e.$cmpMeta$.$tagName$);o["s-rc"];let n=D("render",e.$cmpMeta$.$tagName$);ct(e,t,o,s),n(),r(),dt(e)},B=null,ct=(e,t,s,o)=>{try{B=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(S.hasRenderFn||S.reflect)&&(S.vdomRender||S.reflect)&&(S.hydrateServerSide||ot(e,t,o))}catch(r){J(r,e.$hostElement$)}return B=null,null},ve=()=>B,dt=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,o=D("postUpdate",t),r=s;e.$ancestorComponent$,k(r,"componentDidRender"),e.$flags$&64?(k(r,"componentDidUpdate"),o()):(e.$flags$|=64,k(r,"componentDidLoad"),o())},Se=e=>{{let t=Me(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&nt(t,!1),s}},k=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(o){J(o)}},ut=(e,t,s)=>{let o=e.get(t);o?o.includes(s)||o.push(s):e.set(t,[s])},$t=(e,t)=>{let s;return(...o)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...o)},t)}},pt=e=>!("isConnected"in e)||e.isConnected,be=$t(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(pt))},2e3),ht=()=>{if(typeof ve!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let s=ve();s&&ut(e,t,s)},set:t=>{let s=e.get(t);s&&e.set(t,s.filter(Se)),be(e)},reset:()=>{e.forEach(t=>t.forEach(Se)),be(e)}}},U=e=>typeof e=="function"?e():e,ft=(e,t=(s,o)=>s!==o)=>{let s=U(e),o=new Map(Object.entries(s??{})),r={dispose:[],get:[],set:[],reset:[]},n=()=>{var l;o=new Map(Object.entries((l=U(e))!==null&&l!==void 0?l:{})),r.reset.forEach(d=>d())},a=()=>{r.dispose.forEach(l=>l()),n()},i=l=>(r.get.forEach(d=>d(l)),o.get(l)),c=(l,d)=>{let u=o.get(l);t(d,u,l)&&(o.set(l,d),r.set.forEach(p=>p(l,d,u)))},h=typeof Proxy>"u"?{}:new Proxy(s,{get(l,d){return i(d)},ownKeys(l){return Array.from(o.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(l,d){return o.has(d)},set(l,d,u){return c(d,u),!0}}),$=(l,d)=>(r[l].push(d),()=>{mt(r[l],d)});return{state:h,get:i,set:c,on:$,onChange:(l,d)=>{let u=$("set",(v,m)=>{v===l&&d(m)}),p=$("reset",()=>d(U(e)[l]));return()=>{u(),p()}},use:(...l)=>{let d=l.reduce((u,p)=>(p.set&&u.push($("set",p.set)),p.get&&u.push($("get",p.get)),p.reset&&u.push($("reset",p.reset)),p.dispose&&u.push($("dispose",p.dispose)),u),[]);return()=>d.forEach(u=>u())},dispose:a,reset:n,forceUpdate:l=>{let d=o.get(l);r.set.forEach(u=>u(l,d,d))}}},mt=(e,t)=>{let s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)},gt=(e,t)=>{let s=ft(e,t);return s.use(ht()),s};var I={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},q=class{constructor(){this._hasChanges=!1,this._store=gt({...I})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(t){let s=this._store.get("solutionData").templates,o;return s.some(r=>t==r.itemId?(o=r,!0):!1),o||void 0}getStoreInfo(t){return this._store.get(t)}async loadSolution(t,s){this._authentication=s;let o=await ee(t,s);if(o){let r=W(o,"params.wkid.default","");await this._prepareSolutionItemsForEditing(t,o.templates,s);let n=this._getFeatureServices(o.templates),a=this._getSpatialReferenceInfo(n,r);this._store.set("solutionItemId",t),this._store.set("defaultWkid",r),this._store.set("solutionData",o),this._store.set("featureServices",n),this._store.set("spatialReferenceInfo",a)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(t){t.resourceFilePaths.forEach(s=>{s.type===b.Thumbnail&&(s.updateType===y.None?s.updateType=y.Remove:(s.updateType===y.Add||s.updateType===y.Update)&&(s.updateType=y.Obsolete))}),t.resourceFilePaths=t.resourceFilePaths.filter(s=>s.updateType!=y.Obsolete),t.resourceFilePaths.push({blob:t.thumbnail,filename:t.thumbnail.name,type:b.Thumbnail,updateType:y.Add}),this.setItemInfo(t)}async saveSolution(){let t=this._store.get("solutionItemId"),s=this._store.get("solutionData"),o=this._store.get("spatialReferenceInfo"),r=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(t,s.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(r,s.templates),o.enabled){let n={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};o.default&&(n.default=o.default),M(s,"params.wkid",n)}else M(s,"params.wkid",{});await te({id:t,text:s},this._authentication)}setItemInfo(t){let s=this._store.get("solutionData");s.templates.some(o=>t.itemId==o.itemId?(o=t,this._store.set("solutionData",s),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(t,s){this._store.set(t,s),this._flagStoreHasChanges(!0)}_testAccess(t,s,o,r){switch(t){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(s);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(s,o);case"_getResourceFilePaths":return this._getResourceFilePaths(s,o,r);case"_getResourceStorageName":return this._getResourceStorageName(s,o);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(s,o);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(s,o,r);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(s,o,r);case"_splitFilename":return this._splitFilename(s);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(s,o)}return null}_emptyTheStore(){this._store.set("solutionItemId",I.solutionItemId),this._store.set("defaultWkid",I.defaultWkid),this._store.set("solutionData",I.solutionData),this._store.set("templateEdits",I.templateEdits),this._store.set("featureServices",I.featureServices),this._store.set("spatialReferenceInfo",I.spatialReferenceInfo)}_flagStoreHasChanges(t){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=t}_getCustomizableFeatureServices(t){return t.reduce((s,o)=>(o.type==="Feature Service"&&(o?.item?.typeKeywords||[]).indexOf("View Service")<0&&s.push(o),s),[])}_getFeatureServices(t){return this._getCustomizableFeatureServices(t).map(s=>{let o=s.item.title||s.item.name,r=Y(s,"properties.service.spatialReference.wkid");return{id:s.itemId,name:o,enabled:r.toString().startsWith(ie),wkid:r}})}_getItemsSharedWithThisGroup(t,s){return s.reduce((o,r)=>(r.itemId!==t.itemId&&r.type!=="Group"&&o.push({id:r.itemId,title:r.item.name||r.item.title,isShared:(r.groups||[]).indexOf(t.itemId)>-1,shareItem:(r.groups||[]).indexOf(t.itemId)>-1,type:r.type,typeKeywords:r.item.typeKeywords}),o),[])}_getResourceFilePaths(t,s,o){return oe(o,t,s.resources,1).map(r=>(r.updateType=y.None,r))}_getResourceStorageName(t,s){let o=t;switch(s.type){case b.Data:o=`${o}_info_data`;break;case b.Info:o=`${o}_info`;break;case b.Metadata:o=`${o}_info_metadata`;break;case b.Resource:break;case b.Thumbnail:o=`${o}_info_thumbnail`;break}let r=s.filename;s.type==b.Data&&r&&!re(r)&&(r=r+".zip",o+="z");let n=s.folder?s.folder+"/"+r:r;return o+"/"+n}_getSpatialReferenceInfo(t,s){let o={};t.forEach(n=>{o[n.name]=n.enabled});let r={enabled:!1,services:o};return s&&(r.default=s),r}async _prepareSolutionItemsForEditing(t,s,o){let r=[];s.forEach(a=>{a.resourceFilePaths=this._getResourceFilePaths(t,a,o.portal),r.push(a.resourceFilePaths.length>0?ne(o,a.resourceFilePaths):Promise.resolve()),a.groupDetails=a.type==="Group"?this._getItemsSharedWithThisGroup(a,s):[]});let n=await Promise.all(r);return s.forEach((a,i)=>{a.thumbnail=n[i]?n[i]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(t,s,o){let r=[],n=[];return s.forEach(a=>{a.resourceFilePaths.forEach(async i=>{let c=this._getResourceStorageName(a.itemId,i);switch(i.updateType){case y.Add:let{prefix:h,suffix:$}=this._splitFilename(c);a.resources.push(c),r.push({itemId:a.itemId,file:i.blob,folder:h,filename:$});break;case y.Update:n.push(new Promise(async l=>{try{await le(t,c,i.blob,o)}catch(d){console.log("Unable to update "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break;case y.Remove:n.push(new Promise(async l=>{try{await ae(t,c,o),a.resources=a.resources.filter(d=>d!==c)}catch(d){console.log("Unable to remove "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break}return Promise.resolve()}),delete a.thumbnail,delete a.groupDetails}),Promise.all(n).then(async()=>(r.length>0&&await se(r,t,o),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(t,s){let o=this._getCustomizableFeatureServices(s);o.forEach(r=>{let n=t.find(a=>a.id===r.itemId);if(n){let a=W(r,"properties.service.spatialReference",{});a.wkid=n.wkid,n.enabled&&a.latestWkid&&delete a.latestWkid,Z(r,"properties.service.spatialReference",a)}}),s.forEach(r=>{let n=o.find(a=>a.itemId===r.itemId);if(n){r.properties.service.spatialReference={...n.properties.service.spatialReference};let a=Number.parseInt(r.properties.service.spatialReference.wkid);Number.isNaN(a)||(r.properties.service.spatialReference.wkid=a)}})}_splitFilename(t){let s=t.split("/");return{prefix:s.length>1?s.slice(0,s.length-1).join("/"):void 0,suffix:s[s.length-1]}}},St=q.Store;return St},a)
3
+ v1.2.0-next.40 */
4
+ import a from"./44LEPW6A.js";import{K as Y,M as W,N as M,O as Z,dc as se,g as b,gc as oe,hc as re,ic as ne,jc as ae,kc as le,rb as te,sa as ee}from"./TMYVCDZA.js";export default $arcgis.t(([{b:y,h:ie}])=>{var S={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},Oe=Object.defineProperty,Le=(e,t)=>{for(var s in t)Oe(e,s,{get:t[s],enumerable:!0})},We=new WeakMap,Me=e=>We.get(e),ce=(e,t)=>t in e,J=(e,t)=>(0,console.error)(e,t),de="http://www.w3.org/1999/xlink",_e=typeof window<"u"?window:{},P=_e.document||{head:{}},w={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=e=>Promise.resolve(e),j=!1,ue=[],we=[],je=(e,t)=>s=>{e.push(s),j||(j=!0,t&&w.$flags$&4?ze(z):w.raf(z))},$e=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){J(s)}e.length=0},z=()=>{$e(ue),$e(we),(j=ue.length>0)&&w.raf(z)},ze=e=>Ue().then(e),Ge=je(we,!0),pe={},He="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Be=e=>e!=null,Ie=e=>(e=typeof e,e==="object"||e==="function"),qe={};Le(qe,{err:()=>Re,map:()=>Je,ok:()=>G,unwrap:()=>Qe,unwrapErr:()=>Ve});var G=e=>({isOk:!0,isErr:!1,value:e}),Re=e=>({isOk:!1,isErr:!0,value:e});function Je(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(o=>G(o)):G(s)}if(e.isErr){let s=e.value;return Re(s)}throw"should never get here"}var Qe=e=>{if(e.isOk)return e.value;throw e.value},Ve=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t="")=>()=>{},Xe=(e,t,...s)=>{let o=null,r=null,n=null,a=!1,i=!1,c=[],h=l=>{for(let d=0;d<l.length;d++)o=l[d],Array.isArray(o)?h(o):o!=null&&typeof o!="boolean"&&((a=!Ie(o))&&(o=String(o)),a&&i?c[c.length-1].$text$+=o:c.push(a?H(null,o):o),i=a)};h(s);let $=H(e,null);return $.$attrs$=t,c.length>0&&($.$children$=c),$.$key$=r,$.$name$=n,$},H=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},Ye={},Ze=e=>e&&e.$tag$===Ye,he=(e,t,s,o,r,n)=>{if(s!==o){let a=ce(e,t),i=t.toLowerCase();if(t==="class"){let c=e.classList,h=fe(s),$=fe(o);c.remove(...h.filter(l=>l&&!$.includes(l))),c.add(...$.filter(l=>l&&!h.includes(l)))}else if(t==="style"){for(let c in s)(!o||o[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in o)(!s||o[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,o[c]):e.style[c]=o[c])}else if(t!=="key")if(t==="ref")o&&o(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ce(_e,i)?t=i.slice(2):t=i[2]+t.slice(3),s||o){let c=t.endsWith(Te);t=t.replace(tt,""),s&&w.rel(e,t,s,c),o&&w.ael(e,t,o,c)}}else{let c=Ie(o);if((a||c&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=o;else{let $=o??"";t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let h=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,h=!0),o==null||o===!1?(o!==!1||e.getAttribute(t)==="")&&(h?e.removeAttributeNS(de,t):e.removeAttribute(t)):(!a||n&4||r)&&!c&&(o=o===!0?"":o,h?e.setAttributeNS(de,t,o):e.setAttribute(t,o))}}},et=/\s/,fe=e=>e?e.split(et):[],Te="Capture",tt=new RegExp(Te+"$"),Ne=(e,t,s)=>{let o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||pe,n=t.$attrs$||pe;for(let a of me(Object.keys(r)))a in n||he(o,a,r[a],void 0,s,t.$flags$);for(let a of me(Object.keys(n)))he(o,a,r[a],n[a],s,t.$flags$)};function me(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var T,K,F,A=!1,O=!1,Q=!1,f=!1,L=(e,t,s,o)=>{var r;let n=t.$children$[s],a=0,i,c,h;if(A||(Q=!0,n.$tag$==="slot"&&(T&&o.classList.add(T+"-s"),n.$flags$|=n.$children$?2:1)),n.$text$!==null)i=n.$elm$=P.createTextNode(n.$text$);else if(n.$flags$&1)i=n.$elm$=P.createTextNode("");else{if(f||(f=n.$tag$==="svg"),i=n.$elm$=P.createElementNS(f?He:Ke,!A&&S.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),f&&n.$tag$==="foreignObject"&&(f=!1),Ne(null,n,f),i.getRootNode().querySelector("body")&&S.scoped&&Be(T)&&i["s-si"]!==T&&i.classList.add(i["s-si"]=T),X(i,o),n.$children$)for(a=0;a<n.$children$.length;++a)c=L(e,n,a,i),c&&i.appendChild(c);n.$tag$==="svg"?f=!1:i.tagName==="foreignObject"&&(f=!0)}return i["s-hn"]=F,n.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=K,i["s-sn"]=n.$name$||"",i["s-rf"]=(r=n.$attrs$)==null?void 0:r.ref,h=e&&e.$children$&&e.$children$[s],h&&h.$tag$===n.$tag$&&e.$elm$&&x(e.$elm$,!1)),i},x=(e,t)=>{w.$flags$|=1;let s=Array.from(e.childNodes);e["s-sr"]&&S.experimentalSlotFixes;for(let o=s.length-1;o>=0;o--){let r=s[o];r["s-hn"]!==F&&r["s-ol"]&&(R(xe(r),r,V(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Q=!0),t&&x(r,t)}w.$flags$&=-2},ke=(e,t,s,o,r,n)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot);r<=n;++r)o[r]&&(i=L(null,s,r,e),i&&(o[r].$elm$=i,R(a,i,V(t))))},Fe=(e,t,s)=>{for(let o=t;o<=s;++o){let r=e[o];if(r){let n=r.$elm$;Pe(r),n&&(O=!0,n["s-ol"]?n["s-ol"].remove():x(n,!0),n.remove())}}},st=(e,t,s,o,r=!1)=>{let n=0,a=0,i=0,c=0,h=t.length-1,$=t[0],l=t[h],d=o.length-1,u=o[0],p=o[d],v,m;for(;n<=h&&a<=d;)if($==null)$=t[++n];else if(l==null)l=t[--h];else if(u==null)u=o[++a];else if(p==null)p=o[--d];else if(C($,u,r))N($,u,r),$=t[++n],u=o[++a];else if(C(l,p,r))N(l,p,r),l=t[--h],p=o[--d];else if(C($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&x($.$elm$.parentNode,!1),N($,p,r),R(e,$.$elm$,l.$elm$.nextSibling),$=t[++n],p=o[--d];else if(C(l,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&x(l.$elm$.parentNode,!1),N(l,u,r),R(e,l.$elm$,$.$elm$),l=t[--h],u=o[++a];else{for(i=-1,c=n;c<=h;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===u.$key$){i=c;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?v=L(t&&t[a],s,i,e):(N(m,u,r),t[i]=void 0,v=m.$elm$),u=o[++a]):(v=L(t&&t[a],s,a,e),u=o[++a]),v&&R(xe($.$elm$),v,V($.$elm$))}n>h?ke(e,o[d+1]==null?null:o[d+1].$elm$,s,o,a,d):a>d&&Fe(t,n,h)},C=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,V=e=>e&&e["s-ol"]||e,xe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t,s=!1)=>{let o=t.$elm$=e.$elm$,r=e.$children$,n=t.$children$,a=t.$tag$,i=t.$text$,c;i===null?(f=a==="svg"?!0:a==="foreignObject"?!1:f,a==="slot"&&!A||Ne(e,t,f),r!==null&&n!==null?st(o,r,t,n,s):n!==null?(e.$text$!==null&&(o.textContent=""),ke(o,null,t,n,0,n.length-1)):!s&&S.updatable&&r!==null&&Fe(r,0,r.length-1),f&&a==="svg"&&(f=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:e.$text$!==i&&(o.data=i)},Ee=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let o=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||o!==""){if(r.nodeType===1&&(o===r.getAttribute("slot")||o===r["s-sn"])||r.nodeType===3&&o===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}Ee(s)}},_=[],Ce=e=>{let t,s,o;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let n=r["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"])if(ge(t,n)){let a=_.find(i=>i.$nodeToRelocate$===t);O=!0,t["s-sn"]=t["s-sn"]||n,a?(a.$nodeToRelocate$["s-sh"]=r["s-hn"],a.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],_.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&_.map(i=>{ge(i.$nodeToRelocate$,t["s-sn"])&&(a=_.find(c=>c.$nodeToRelocate$===t),a&&!i.$slotRefNode$&&(i.$slotRefNode$=a.$slotRefNode$))})}else _.some(a=>a.$nodeToRelocate$===t)||_.push({$nodeToRelocate$:t})}r.nodeType===1&&Ce(r)}},ge=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Pe)},R=(e,t,s)=>{let o=e?.insertBefore(t,s);return X(t,e),o},De=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...De(e.parentElement)),t},X=(e,t,s=!1)=>{var o;if(e&&t&&e.nodeType===1){let r=new Set(De(t).filter(Boolean));if(r.size&&((o=e.classList)==null||o.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let n of Array.from(e.childNodes))X(n,e,!0)}},ot=(e,t,s=!1)=>{var o,r,n,a,i;let c=e.$hostElement$,h=e.$cmpMeta$,$=e.$vnode$||H(null,null),l=Ze(t)?t:Xe(null,null,t);if(F=c.tagName,h.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},h.$attrsToReflect$.map(([d,u])=>l.$attrs$[u]=c[d])),s&&l.$attrs$)for(let d of Object.keys(l.$attrs$))c.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(l.$attrs$[d]=c[d]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=$.$elm$=c.shadowRoot||c,T=c["s-sc"],A=(h.$flags$&1)!==0,K=c["s-cr"],O=!1,N($,l,s);{if(w.$flags$|=1,Q){Ce(l.$elm$);for(let d of _){let u=d.$nodeToRelocate$;if(!u["s-ol"]){let p=P.createTextNode("");p["s-nr"]=u,R(u.parentNode,u["s-ol"]=p,u)}}for(let d of _){let u=d.$nodeToRelocate$,p=d.$slotRefNode$;if(p){let v=p.parentNode,m=p.nextSibling;{let E=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;E;){let g=(r=E["s-nr"])!=null?r:null;if(g&&g["s-sn"]===u["s-sn"]&&v===g.parentNode){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}E=E.previousSibling}}(!m&&v!==u.parentNode||u.nextSibling!==m)&&u!==m&&(!u["s-hn"]&&u["s-ol"]&&(u["s-hn"]=u["s-ol"].parentNode.nodeName),R(v,u,m),u.nodeType===1&&(u.hidden=(n=u["s-ih"])!=null?n:!1)),u&&typeof p["s-rf"]=="function"&&p["s-rf"](u)}else u.nodeType===1&&(s&&(u["s-ih"]=(a=u.hidden)!=null?a:!1),u.hidden=!0)}}O&&Ee(l.$elm$),w.$flags$&=-2,_.length=0}if(S.experimentalScopedSlotChanges&&h.$flags$&2)for(let d of l.$elm$.childNodes)d["s-hn"]!==F&&!d["s-sh"]&&(s&&d["s-ih"]==null&&(d["s-ih"]=(i=d.hidden)!=null?i:!1),d.hidden=!0);K=void 0},rt=(e,t)=>{},nt=(e,t)=>(e.$flags$|=16,rt(e,e.$ancestorComponent$),Ge(()=>at(e,t))),at=(e,t)=>{let s=e.$hostElement$,o=D("scheduleUpdate",e.$cmpMeta$.$tagName$),r=s;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=k(r,"componentWillUpdate"),n=ye(n,()=>k(r,"componentWillRender")),o(),ye(n,()=>it(e,r,t))},ye=(e,t)=>lt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),lt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,s)=>{let o=e.$hostElement$,r=D("update",e.$cmpMeta$.$tagName$);o["s-rc"];let n=D("render",e.$cmpMeta$.$tagName$);ct(e,t,o,s),n(),r(),dt(e)},B=null,ct=(e,t,s,o)=>{try{B=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(S.hasRenderFn||S.reflect)&&(S.vdomRender||S.reflect)&&(S.hydrateServerSide||ot(e,t,o))}catch(r){J(r,e.$hostElement$)}return B=null,null},ve=()=>B,dt=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,o=D("postUpdate",t),r=s;e.$ancestorComponent$,k(r,"componentDidRender"),e.$flags$&64?(k(r,"componentDidUpdate"),o()):(e.$flags$|=64,k(r,"componentDidLoad"),o())},Se=e=>{{let t=Me(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&nt(t,!1),s}},k=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(o){J(o)}},ut=(e,t,s)=>{let o=e.get(t);o?o.includes(s)||o.push(s):e.set(t,[s])},$t=(e,t)=>{let s;return(...o)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...o)},t)}},pt=e=>!("isConnected"in e)||e.isConnected,be=$t(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(pt))},2e3),ht=()=>{if(typeof ve!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let s=ve();s&&ut(e,t,s)},set:t=>{let s=e.get(t);s&&e.set(t,s.filter(Se)),be(e)},reset:()=>{e.forEach(t=>t.forEach(Se)),be(e)}}},U=e=>typeof e=="function"?e():e,ft=(e,t=(s,o)=>s!==o)=>{let s=U(e),o=new Map(Object.entries(s??{})),r={dispose:[],get:[],set:[],reset:[]},n=()=>{var l;o=new Map(Object.entries((l=U(e))!==null&&l!==void 0?l:{})),r.reset.forEach(d=>d())},a=()=>{r.dispose.forEach(l=>l()),n()},i=l=>(r.get.forEach(d=>d(l)),o.get(l)),c=(l,d)=>{let u=o.get(l);t(d,u,l)&&(o.set(l,d),r.set.forEach(p=>p(l,d,u)))},h=typeof Proxy>"u"?{}:new Proxy(s,{get(l,d){return i(d)},ownKeys(l){return Array.from(o.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(l,d){return o.has(d)},set(l,d,u){return c(d,u),!0}}),$=(l,d)=>(r[l].push(d),()=>{mt(r[l],d)});return{state:h,get:i,set:c,on:$,onChange:(l,d)=>{let u=$("set",(v,m)=>{v===l&&d(m)}),p=$("reset",()=>d(U(e)[l]));return()=>{u(),p()}},use:(...l)=>{let d=l.reduce((u,p)=>(p.set&&u.push($("set",p.set)),p.get&&u.push($("get",p.get)),p.reset&&u.push($("reset",p.reset)),p.dispose&&u.push($("dispose",p.dispose)),u),[]);return()=>d.forEach(u=>u())},dispose:a,reset:n,forceUpdate:l=>{let d=o.get(l);r.set.forEach(u=>u(l,d,d))}}},mt=(e,t)=>{let s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)},gt=(e,t)=>{let s=ft(e,t);return s.use(ht()),s};var I={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},q=class{constructor(){this._hasChanges=!1,this._store=gt({...I})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(t){let s=this._store.get("solutionData").templates,o;return s.some(r=>t==r.itemId?(o=r,!0):!1),o||void 0}getStoreInfo(t){return this._store.get(t)}async loadSolution(t,s){this._authentication=s;let o=await ee(t,s);if(o){let r=W(o,"params.wkid.default","");await this._prepareSolutionItemsForEditing(t,o.templates,s);let n=this._getFeatureServices(o.templates),a=this._getSpatialReferenceInfo(n,r);this._store.set("solutionItemId",t),this._store.set("defaultWkid",r),this._store.set("solutionData",o),this._store.set("featureServices",n),this._store.set("spatialReferenceInfo",a)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(t){t.resourceFilePaths.forEach(s=>{s.type===b.Thumbnail&&(s.updateType===y.None?s.updateType=y.Remove:(s.updateType===y.Add||s.updateType===y.Update)&&(s.updateType=y.Obsolete))}),t.resourceFilePaths=t.resourceFilePaths.filter(s=>s.updateType!=y.Obsolete),t.resourceFilePaths.push({blob:t.thumbnail,filename:t.thumbnail.name,type:b.Thumbnail,updateType:y.Add}),this.setItemInfo(t)}async saveSolution(){let t=this._store.get("solutionItemId"),s=this._store.get("solutionData"),o=this._store.get("spatialReferenceInfo"),r=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(t,s.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(r,s.templates),o.enabled){let n={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};o.default&&(n.default=o.default),M(s,"params.wkid",n)}else M(s,"params.wkid",{});await te({id:t,text:s},this._authentication)}setItemInfo(t){let s=this._store.get("solutionData");s.templates.some(o=>t.itemId==o.itemId?(o=t,this._store.set("solutionData",s),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(t,s){this._store.set(t,s),this._flagStoreHasChanges(!0)}_testAccess(t,s,o,r){switch(t){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(s);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(s,o);case"_getResourceFilePaths":return this._getResourceFilePaths(s,o,r);case"_getResourceStorageName":return this._getResourceStorageName(s,o);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(s,o);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(s,o,r);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(s,o,r);case"_splitFilename":return this._splitFilename(s);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(s,o)}return null}_emptyTheStore(){this._store.set("solutionItemId",I.solutionItemId),this._store.set("defaultWkid",I.defaultWkid),this._store.set("solutionData",I.solutionData),this._store.set("templateEdits",I.templateEdits),this._store.set("featureServices",I.featureServices),this._store.set("spatialReferenceInfo",I.spatialReferenceInfo)}_flagStoreHasChanges(t){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=t}_getCustomizableFeatureServices(t){return t.reduce((s,o)=>(o.type==="Feature Service"&&(o?.item?.typeKeywords||[]).indexOf("View Service")<0&&s.push(o),s),[])}_getFeatureServices(t){return this._getCustomizableFeatureServices(t).map(s=>{let o=s.item.title||s.item.name,r=Y(s,"properties.service.spatialReference.wkid");return{id:s.itemId,name:o,enabled:r.toString().startsWith(ie),wkid:r}})}_getItemsSharedWithThisGroup(t,s){return s.reduce((o,r)=>(r.itemId!==t.itemId&&r.type!=="Group"&&o.push({id:r.itemId,title:r.item.name||r.item.title,isShared:(r.groups||[]).indexOf(t.itemId)>-1,shareItem:(r.groups||[]).indexOf(t.itemId)>-1,type:r.type,typeKeywords:r.item.typeKeywords}),o),[])}_getResourceFilePaths(t,s,o){return oe(o,t,s.resources,1).map(r=>(r.updateType=y.None,r))}_getResourceStorageName(t,s){let o=t;switch(s.type){case b.Data:o=`${o}_info_data`;break;case b.Info:o=`${o}_info`;break;case b.Metadata:o=`${o}_info_metadata`;break;case b.Resource:break;case b.Thumbnail:o=`${o}_info_thumbnail`;break}let r=s.filename;s.type==b.Data&&r&&!re(r)&&(r=r+".zip",o+="z");let n=s.folder?s.folder+"/"+r:r;return o+"/"+n}_getSpatialReferenceInfo(t,s){let o={};t.forEach(n=>{o[n.name]=n.enabled});let r={enabled:!1,services:o};return s&&(r.default=s),r}async _prepareSolutionItemsForEditing(t,s,o){let r=[];s.forEach(a=>{a.resourceFilePaths=this._getResourceFilePaths(t,a,o.portal),r.push(a.resourceFilePaths.length>0?ne(o,a.resourceFilePaths):Promise.resolve()),a.groupDetails=a.type==="Group"?this._getItemsSharedWithThisGroup(a,s):[]});let n=await Promise.all(r);return s.forEach((a,i)=>{a.thumbnail=n[i]?n[i]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(t,s,o){let r=[],n=[];return s.forEach(a=>{a.resourceFilePaths.forEach(async i=>{let c=this._getResourceStorageName(a.itemId,i);switch(i.updateType){case y.Add:let{prefix:h,suffix:$}=this._splitFilename(c);a.resources.push(c),r.push({itemId:a.itemId,file:i.blob,folder:h,filename:$});break;case y.Update:n.push(new Promise(async l=>{try{await le(t,c,i.blob,o)}catch(d){console.log("Unable to update "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break;case y.Remove:n.push(new Promise(async l=>{try{await ae(t,c,o),a.resources=a.resources.filter(d=>d!==c)}catch(d){console.log("Unable to remove "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break}return Promise.resolve()}),delete a.thumbnail,delete a.groupDetails}),Promise.all(n).then(async()=>(r.length>0&&await se(r,t,o),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(t,s){let o=this._getCustomizableFeatureServices(s);o.forEach(r=>{let n=t.find(a=>a.id===r.itemId);if(n){let a=W(r,"properties.service.spatialReference",{});a.wkid=n.wkid,n.enabled&&a.latestWkid&&delete a.latestWkid,Z(r,"properties.service.spatialReference",a)}}),s.forEach(r=>{let n=o.find(a=>a.itemId===r.itemId);if(n){r.properties.service.spatialReference={...n.properties.service.spatialReference};let a=Number.parseInt(r.properties.service.spatialReference.wkid);Number.isNaN(a)||(r.properties.service.spatialReference.wkid=a)}})}_splitFilename(t){let s=t.split("/");return{prefix:s.length>1?s.slice(0,s.length-1).join("/"):void 0,suffix:s[s.length-1]}}},St=q.Store;return St},a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
3
+ v1.2.0-next.40 */
4
4
  var t="cannotDiscuss";export{t as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.39 */
4
- import{a as o,b as s,c as i,d as p}from"./6A2NATOZ.js";import{c as r}from"./LPUIJYXX.js";import{a as e}from"./COFVR5QC.js";import{b as t}from"./LWA5F2BZ.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,b};
3
+ v1.2.0-next.40 */
4
+ import{a as o,b as s,c as i,d as p}from"./B2NDFNNN.js";import{c as r}from"./F3DJR3KS.js";import{a as e}from"./W6NUSHEG.js";import{b as t}from"./3GZO2WZD.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,b};