@esri/solutions-components 1.2.0-next.24 → 1.2.0-next.26

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 (531) hide show
  1. package/README.md +1 -5
  2. package/dist/cdn/{OJG6HIKN.js → 24KLA2WP.js} +2 -2
  3. package/dist/cdn/{BLIFIP2J.js → 26PRQQXA.js} +2 -2
  4. package/dist/cdn/{JIREIGOU.js → 27JLOUCD.js} +2 -2
  5. package/dist/cdn/{H2UXJKPU.js → 2E65E2R5.js} +1 -1
  6. package/dist/cdn/{T6KDHTIZ.js → 2FXH5IFF.js} +2 -2
  7. package/dist/cdn/{TKRGPMED.js → 2K3D4PUK.js} +2 -2
  8. package/dist/cdn/{YWXJ2RX3.js → 2K42LZML.js} +2 -2
  9. package/dist/cdn/2KGAPBDA.js +4 -0
  10. package/dist/cdn/{HP4JIDLF.js → 2KWGOUSP.js} +2 -2
  11. package/dist/cdn/{LYXGPO4K.js → 2PE7MVDM.js} +1 -1
  12. package/dist/cdn/{VK5SHRI7.js → 2XCNU24T.js} +2 -2
  13. package/dist/cdn/{34HAWRGI.js → 2YXTQZ2M.js} +2 -2
  14. package/dist/cdn/{ZT7KJDTU.js → 32EE3BJJ.js} +2 -2
  15. package/dist/cdn/336D6QU2.js +4 -0
  16. package/dist/cdn/{6JJBGLJE.js → 374JGWU7.js} +2 -2
  17. package/dist/cdn/{WUTY55ZF.js → 3ARUJDS5.js} +1 -1
  18. package/dist/cdn/{DED6BDXL.js → 3DMU4F6J.js} +2 -2
  19. package/dist/cdn/{X5FANKH6.js → 3HFPZ2M5.js} +2 -2
  20. package/dist/cdn/{3G3I5XU7.js → 3HYLAH6Q.js} +2 -2
  21. package/dist/cdn/{CELVLTD3.js → 3LW4ZKOW.js} +2 -2
  22. package/dist/cdn/{UQVFINXF.js → 3SXUN3QE.js} +2 -2
  23. package/dist/cdn/3X2KUHTY.js +18 -0
  24. package/dist/cdn/3XPNU7BI.js +18 -0
  25. package/dist/cdn/{W75YFHYB.js → 3XSBXJ4X.js} +2 -2
  26. package/dist/cdn/{4SOCIVF6.js → 42MWP46P.js} +1 -1
  27. package/dist/cdn/{WOXREBHW.js → 45665FH2.js} +2 -2
  28. package/dist/cdn/{G7OBBNFQ.js → 45OKFNZ2.js} +2 -2
  29. package/dist/cdn/{3VUSEXMB.js → 4C52EB73.js} +2 -2
  30. package/dist/cdn/{FLA5RSAG.js → 4ERQXLFA.js} +2 -2
  31. package/dist/cdn/4JVMPJCO.js +18 -0
  32. package/dist/cdn/{HRKWHIYV.js → 4LC5QHLO.js} +2 -2
  33. package/dist/cdn/{KSO7CXKH.js → 4MEHIVYA.js} +2 -2
  34. package/dist/cdn/{PRIALFET.js → 4NPMWF3B.js} +2 -2
  35. package/dist/cdn/{OC7V7KCG.js → 4PNJYQGR.js} +2 -2
  36. package/dist/cdn/{VX2H4KEW.js → 4R3STD7G.js} +2 -2
  37. package/dist/cdn/{NBZ4SJV4.js → 4TN73SUG.js} +2 -2
  38. package/dist/cdn/{5V5O4IVZ.js → 4VMPLQZP.js} +2 -2
  39. package/dist/cdn/{XCDDDB5R.js → 56NF367P.js} +2 -2
  40. package/dist/cdn/{TNHXSGP4.js → 56RMHUL3.js} +2 -2
  41. package/dist/cdn/{ZVYGJ3ZV.js → 5A2Y5ZFB.js} +2 -2
  42. package/dist/cdn/{GKD47RX5.js → 5CKOR2L6.js} +1 -1
  43. package/dist/cdn/{BR65SFX2.js → 5DRAJUEZ.js} +1 -1
  44. package/dist/cdn/{LNFEAJAZ.js → 5FZXFZOF.js} +2 -2
  45. package/dist/cdn/{TDZ7C2M7.js → 62R2473V.js} +2 -2
  46. package/dist/cdn/{QGWCUXVU.js → 62Y7ETSQ.js} +2 -2
  47. package/dist/cdn/{H34VS27L.js → 6AV5GFKS.js} +2 -2
  48. package/dist/cdn/{4BXRZ62B.js → 6DHRO6RA.js} +1 -1
  49. package/dist/cdn/6DSHNSXV.js +18 -0
  50. package/dist/cdn/{27VT6FGO.js → 6ESVYRQV.js} +1 -1
  51. package/dist/cdn/{NDJVE732.js → 6R45U63P.js} +2 -2
  52. package/dist/cdn/{CSH7RK4L.js → 6SYXTJP7.js} +2 -2
  53. package/dist/cdn/{XIKGCL6Z.js → 6WLLVDOT.js} +1 -1
  54. package/dist/cdn/{WNFEGMNZ.js → 72JGKJQE.js} +2 -2
  55. package/dist/cdn/{YOIQKWPE.js → 7FGP4726.js} +2 -2
  56. package/dist/cdn/{NEDCAXJL.js → 7IOXGCXM.js} +2 -2
  57. package/dist/cdn/{I5JM65X6.js → 7KVQG3XG.js} +2 -2
  58. package/dist/cdn/{FLMVVIYI.js → 7NF5X427.js} +2 -2
  59. package/dist/cdn/{FWE4FUJH.js → 7P3IUHDL.js} +2 -2
  60. package/dist/cdn/{AAXTQRZG.js → 7RH6MIWB.js} +2 -2
  61. package/dist/cdn/{RPY6EG62.js → A5S6W3ON.js} +2 -2
  62. package/dist/cdn/{YAYHUH5G.js → AHXERPRN.js} +2 -2
  63. package/dist/cdn/{E4JZL5IT.js → APDFHZ74.js} +2 -2
  64. package/dist/cdn/{SZNJD54W.js → AYVYACFY.js} +1 -1
  65. package/dist/cdn/{DCNEHZTW.js → B5CDNQXT.js} +2 -2
  66. package/dist/cdn/{J4UA37P6.js → BBGM24NN.js} +2 -2
  67. package/dist/cdn/{F37UKUAV.js → BFJAMA4P.js} +2 -2
  68. package/dist/cdn/{JKYLZXQW.js → BJ5Q672G.js} +2 -2
  69. package/dist/cdn/{GWYYMTWP.js → BLC5IKHB.js} +2 -2
  70. package/dist/cdn/BNC25SSV.js +4 -0
  71. package/dist/cdn/{6R6WIO6H.js → BVY3FHES.js} +2 -2
  72. package/dist/cdn/{5AERAR2L.js → BXQI3ZMZ.js} +1 -1
  73. package/dist/cdn/{RGGUA4QF.js → BXZEMWKO.js} +2 -2
  74. package/dist/cdn/{KTJDLUIU.js → C2Q4A3RV.js} +2 -2
  75. package/dist/cdn/{CZIXYCET.js → CLD74LLR.js} +2 -2
  76. package/dist/cdn/CLLIH2ZL.js +4 -0
  77. package/dist/cdn/{NWOOAUG7.js → CLNFH4AB.js} +2 -2
  78. package/dist/cdn/{T3HXN3EN.js → CSOWDE4B.js} +2 -2
  79. package/dist/cdn/{36BDQG6C.js → CW4WK6UQ.js} +2 -2
  80. package/dist/cdn/{TZ4BYOUZ.js → CXQBUQIR.js} +2 -2
  81. package/dist/cdn/{443EHILD.js → CY5N72KD.js} +2 -2
  82. package/dist/cdn/{55A2KYUG.js → D2BXHG6B.js} +2 -2
  83. package/dist/cdn/{GHD3JMA4.js → D2LUCAAV.js} +2 -2
  84. package/dist/cdn/{WFZWW33X.js → DCZGPVZS.js} +2 -2
  85. package/dist/cdn/{FAFTQRQY.js → DD7IRMU2.js} +2 -2
  86. package/dist/cdn/{LOIGPO5O.js → DPSJLIG2.js} +2 -2
  87. package/dist/cdn/{BTLVFHR2.js → DQJS2BRD.js} +1 -1
  88. package/dist/cdn/{RFLU2ZRI.js → DRWQMKPL.js} +2 -2
  89. package/dist/cdn/{WYDM2CB5.js → DTLBV43H.js} +2 -2
  90. package/dist/cdn/{5TKI4FG4.js → DVB6GNMC.js} +2 -2
  91. package/dist/cdn/{NZO56NNR.js → DVGMUBNT.js} +2 -2
  92. package/dist/cdn/{VJU2J222.js → DXDM36O6.js} +2 -2
  93. package/dist/cdn/DXS7UOD7.js +18 -0
  94. package/dist/cdn/E2CWYXA3.js +18 -0
  95. package/dist/cdn/{6Z7A2SPS.js → E2VNGWSV.js} +2 -2
  96. package/dist/cdn/{VW2WEXVP.js → E4IY2TLO.js} +1 -1
  97. package/dist/cdn/{4JCL7LZR.js → E5NMCTJI.js} +2 -2
  98. package/dist/cdn/{EYIL3WCN.js → E7ZSOO5U.js} +2 -2
  99. package/dist/cdn/{HBOBM65G.js → EAEMSYLV.js} +2 -2
  100. package/dist/cdn/{WL4NQCES.js → EC5SUG3Q.js} +2 -2
  101. package/dist/cdn/{STHO3HPO.js → EJIOAJIG.js} +2 -2
  102. package/dist/cdn/{GJEPJCWP.js → EUG54QVH.js} +2 -2
  103. package/dist/cdn/{FLMS2TR4.js → EUO5OQ77.js} +2 -2
  104. package/dist/cdn/{2M4ILWS4.js → EV7VDGQ3.js} +2 -2
  105. package/dist/cdn/EYX3CJXI.js +18 -0
  106. package/dist/cdn/{DFO6WKOY.js → F63I4BUN.js} +2 -2
  107. package/dist/cdn/{XH2Q2TTU.js → FE3Y2N3O.js} +2 -2
  108. package/dist/cdn/{3DQY36BR.js → FF4CBWT2.js} +2 -2
  109. package/dist/cdn/FHA6I7IB.js +18 -0
  110. package/dist/cdn/{RY2JRQIA.js → FI4EBVUK.js} +2 -2
  111. package/dist/cdn/{UMEH46X4.js → FJ7O47AQ.js} +2 -2
  112. package/dist/cdn/{VDTXZ2OC.js → FJAIG4PZ.js} +2 -2
  113. package/dist/cdn/{IJEJXWF7.js → FJFXKCW3.js} +2 -2
  114. package/dist/cdn/{NI64NXLH.js → FVQTX4DX.js} +1 -1
  115. package/dist/cdn/{7QBFHK6I.js → G2K266CK.js} +2 -2
  116. package/dist/cdn/{SU5NQO2Y.js → G3OR3RD4.js} +2 -2
  117. package/dist/cdn/{K2VMZCUX.js → G4JVAMYO.js} +2 -2
  118. package/dist/cdn/{V2K3CARG.js → G7J6NS5P.js} +2 -2
  119. package/dist/cdn/GBCQDVGN.js +18 -0
  120. package/dist/cdn/{FDGI4V7M.js → GLD6QMMM.js} +2 -2
  121. package/dist/cdn/{4RNO5M22.js → GLORY2Q3.js} +2 -2
  122. package/dist/cdn/{6EHWI7JM.js → GM3NQPFV.js} +2 -2
  123. package/dist/cdn/{4EQVVEVL.js → GNI64PEL.js} +2 -2
  124. package/dist/cdn/{K4HRSAES.js → GOYLOPJ3.js} +2 -2
  125. package/dist/cdn/GQCSOOLC.js +4 -0
  126. package/dist/cdn/{HXHGWVUO.js → GQWKR6ZH.js} +2 -2
  127. package/dist/cdn/{CO3TU24E.js → GRGSWHAS.js} +2 -2
  128. package/dist/cdn/{FCJJ2E2N.js → GS5HDZIE.js} +2 -2
  129. package/dist/cdn/{EAS42GZC.js → GTPA67XZ.js} +1 -1
  130. package/dist/cdn/{4WOSAZZE.js → GYRRBG6L.js} +2 -2
  131. package/dist/cdn/{EROCJUGG.js → HBZNFHQK.js} +2 -2
  132. package/dist/cdn/{L2WHYM3J.js → HCBYY275.js} +1 -1
  133. package/dist/cdn/{ZL7IV42Y.js → HEDBXJM7.js} +2 -2
  134. package/dist/cdn/HESZ3C6M.js +18 -0
  135. package/dist/cdn/{5NLABLUG.js → HFRCOLMH.js} +2 -2
  136. package/dist/cdn/{KZD2C2ML.js → HPT7FTOX.js} +2 -2
  137. package/dist/cdn/{7LEW57R4.js → HSCFJPMS.js} +2 -2
  138. package/dist/cdn/{XUNRNHCK.js → HTCTIT57.js} +2 -2
  139. package/dist/cdn/{4JHKVR7I.js → HXMNNJXU.js} +2 -2
  140. package/dist/cdn/HXWJEHNQ.js +18 -0
  141. package/dist/cdn/{QC34FER4.js → HYRSJC32.js} +2 -2
  142. package/dist/cdn/{URRLKSMA.js → HZO7UEFB.js} +2 -2
  143. package/dist/cdn/{CQIWHMR3.js → I2FGXEDE.js} +1 -1
  144. package/dist/cdn/{QUO6TIFZ.js → I2YPPOOM.js} +1 -1
  145. package/dist/cdn/{KRZ6DGKX.js → IJFJWLYK.js} +2 -2
  146. package/dist/cdn/{EOZZELAV.js → ILLNJSZ5.js} +2 -2
  147. package/dist/cdn/{PZ5GGYLN.js → ITJXBRWP.js} +2 -2
  148. package/dist/cdn/{O4ZKMCDY.js → IV45DYHD.js} +1 -1
  149. package/dist/cdn/{QBBC7A4Y.js → IXNDA5VZ.js} +1 -1
  150. package/dist/cdn/{J5GBXHV7.js → IXOCAJWG.js} +2 -2
  151. package/dist/cdn/{NAUVQEGN.js → IZUHNA5W.js} +2 -2
  152. package/dist/cdn/J3QX7P6J.js +18 -0
  153. package/dist/cdn/{A65SF5TP.js → JB2P6SXN.js} +2 -2
  154. package/dist/cdn/{BUQMZQDZ.js → JB5NDXDH.js} +2 -2
  155. package/dist/cdn/{GFXNHLR7.js → JEF4UV2K.js} +2 -2
  156. package/dist/cdn/{FBAY6DO3.js → JFPBJLVG.js} +2 -2
  157. package/dist/cdn/{PSACJE2J.js → JGHCMS5P.js} +2 -2
  158. package/dist/cdn/{VHW5YMZI.js → JLO4K7LS.js} +2 -2
  159. package/dist/cdn/{GHZ256AS.js → JNUMH3BN.js} +4 -4
  160. package/dist/cdn/{OPFB2Y4V.js → JP4K6XQE.js} +2 -2
  161. package/dist/cdn/JRTPZ6ES.js +18 -0
  162. package/dist/cdn/{2PC724CH.js → JWY4OWS3.js} +2 -2
  163. package/dist/cdn/{7OW5IQNG.js → K2BWFQJM.js} +2 -2
  164. package/dist/cdn/{XSE22DX2.js → K4J34WLO.js} +2 -2
  165. package/dist/cdn/{HST46P5Y.js → K4MCLE46.js} +2 -2
  166. package/dist/cdn/{5XHMHEC7.js → K5Q2KDOU.js} +2 -2
  167. package/dist/cdn/{JGT3UVSS.js → KCEWHR2X.js} +2 -2
  168. package/dist/cdn/{B6DL7APO.js → KD6VFEYI.js} +2 -2
  169. package/dist/cdn/{PFXC7WOR.js → KDVE3TUH.js} +2 -2
  170. package/dist/cdn/{2AI475Q6.js → KEFQKJ6B.js} +2 -2
  171. package/dist/cdn/{EIXF5OZH.js → KFX3THDY.js} +1 -1
  172. package/dist/cdn/{ANWXMLC5.js → KJJM3OEK.js} +2 -2
  173. package/dist/cdn/{R6MJ3BWC.js → KLPZNVNH.js} +1 -1
  174. package/dist/cdn/{2BLFCKKA.js → KOCZ4OFZ.js} +2 -2
  175. package/dist/cdn/{DWL4LXGS.js → KONPCHXM.js} +3 -3
  176. package/dist/cdn/{6Z47NIFS.js → KQFR7R2N.js} +2 -2
  177. package/dist/cdn/{VEUQH5L3.js → KQULX67Q.js} +2 -2
  178. package/dist/cdn/{QH2BEMM6.js → KVV4M7BE.js} +2 -2
  179. package/dist/cdn/{67TNRLBR.js → KVVPA63Y.js} +2 -2
  180. package/dist/cdn/{R22HIDGZ.js → KYAKBPGR.js} +2 -2
  181. package/dist/cdn/{KESHQJDL.js → L42KDYQE.js} +2 -2
  182. package/dist/cdn/{OLKLMVT2.js → L5MLUGPD.js} +2 -2
  183. package/dist/cdn/{MWLY3N7C.js → L6PQQN5H.js} +2 -2
  184. package/dist/cdn/{TEY2ATFL.js → L7H2XLV6.js} +2 -2
  185. package/dist/cdn/{DW7PYNVR.js → L7T2IR73.js} +2 -2
  186. package/dist/cdn/{YEKIMYDO.js → L7WBMNMV.js} +2 -2
  187. package/dist/cdn/LCGASXTT.js +18 -0
  188. package/dist/cdn/{FY6XKBZS.js → LCNXICCQ.js} +2 -2
  189. package/dist/cdn/{EOLIKK4H.js → LCZQP4VM.js} +2 -2
  190. package/dist/cdn/{TOEQLEDG.js → LHP76MB7.js} +2 -2
  191. package/dist/cdn/{WWSSJEOD.js → LIQPYHJK.js} +2 -2
  192. package/dist/cdn/{II25P5CO.js → LKHIMH3W.js} +2 -2
  193. package/dist/cdn/{QJRGXDSI.js → LTYO7BRS.js} +2 -2
  194. package/dist/cdn/{X4DEDSCC.js → LWGGLCXI.js} +2 -2
  195. package/dist/cdn/LXAALX4E.js +18 -0
  196. package/dist/cdn/{Z2EMCTSK.js → M3ZIJZJ3.js} +2 -2
  197. package/dist/cdn/{DVGLTRJU.js → MAYQRSPQ.js} +1 -1
  198. package/dist/cdn/{P7H776WT.js → MBZH2YNN.js} +2 -2
  199. package/dist/cdn/{LG6DSYZW.js → MCMZEYAP.js} +2 -2
  200. package/dist/cdn/{T74GGRMS.js → MEQMYPP3.js} +2 -2
  201. package/dist/cdn/{OABMD66T.js → MHQOCO5S.js} +2 -2
  202. package/dist/cdn/{UIGYM74T.js → MN2543D7.js} +2 -2
  203. package/dist/cdn/{7UWI5KWK.js → MNAFT2GX.js} +2 -2
  204. package/dist/cdn/MOJYKPVX.js +4 -0
  205. package/dist/cdn/{ZAL2JPN6.js → MSKT77WV.js} +1 -1
  206. package/dist/cdn/{6MECJUZM.js → MT7G72VG.js} +2 -2
  207. package/dist/cdn/N22RCG3K.js +4 -0
  208. package/dist/cdn/NFU4CVAT.js +18 -0
  209. package/dist/cdn/{P3LUAT4F.js → NGTTND2O.js} +2 -2
  210. package/dist/cdn/{MTH7WCDT.js → NICJBX5S.js} +2 -2
  211. package/dist/cdn/{FEODTSQT.js → NJ3BAM2B.js} +2 -2
  212. package/dist/cdn/{SKGMLLPH.js → NOONCQZF.js} +7 -7
  213. package/dist/cdn/{P6OT3PMN.js → NPRJ2MDW.js} +2 -2
  214. package/dist/cdn/NQUDNN5L.js +18 -0
  215. package/dist/cdn/{5D7BHC5A.js → NZVTYNMW.js} +2 -2
  216. package/dist/cdn/{27YRRENY.js → O45B5X3J.js} +2 -2
  217. package/dist/cdn/{SKZURFAS.js → O7JHHK3X.js} +2 -2
  218. package/dist/cdn/{KG4IFWCZ.js → OFEX5K4J.js} +2 -2
  219. package/dist/cdn/{2KZX4PSI.js → OGAMGH5M.js} +2 -2
  220. package/dist/cdn/{CYG5JUF7.js → OIRXB4BU.js} +1 -1
  221. package/dist/cdn/{ASC5OMBD.js → OVQLLUEP.js} +2 -2
  222. package/dist/cdn/{GZK6A527.js → OWPILYU5.js} +2 -2
  223. package/dist/cdn/{SNLUBEJI.js → P5D72UDZ.js} +2 -2
  224. package/dist/cdn/{HF6CCTGX.js → P6QBSSBF.js} +2 -2
  225. package/dist/cdn/{JEWJNGE6.js → PHRVNU5S.js} +2 -2
  226. package/dist/cdn/{4QNOYSPY.js → PLADJNNW.js} +2 -2
  227. package/dist/cdn/{SVTYAHMC.js → PLKB5BAY.js} +2 -2
  228. package/dist/cdn/{WP7F5HRM.js → PMAEYX5B.js} +2 -2
  229. package/dist/cdn/{PHHVQRLL.js → PMCKR77M.js} +2 -2
  230. package/dist/cdn/{AVA46ODH.js → PN3EXCUI.js} +2 -2
  231. package/dist/cdn/{4Y7ZVP46.js → PNC7GJX5.js} +2 -2
  232. package/dist/cdn/{3E3IBLXH.js → PNEXLQI2.js} +2 -2
  233. package/dist/cdn/{CYADZ6PK.js → POF72VTV.js} +2 -2
  234. package/dist/cdn/{ERSOKPXT.js → POKCZ3V4.js} +2 -2
  235. package/dist/cdn/{WOZIGPUB.js → PV2RRQIK.js} +2 -2
  236. package/dist/cdn/{ZJ5VS3XI.js → Q3RYWEUP.js} +2 -2
  237. package/dist/cdn/Q7LKYYVG.js +18 -0
  238. package/dist/cdn/{R47VKS7S.js → QALG5MCX.js} +2 -2
  239. package/dist/cdn/{T6DIELVZ.js → QF54B5PZ.js} +2 -2
  240. package/dist/cdn/{AO32HRV6.js → QG3USF4Y.js} +2 -2
  241. package/dist/cdn/{YFOSFQMV.js → QGW5FNJT.js} +1 -1
  242. package/dist/cdn/{BF6B5YPC.js → QKALFXP5.js} +1 -1
  243. package/dist/cdn/{43NXLAVY.js → QLCJCIZJ.js} +2 -2
  244. package/dist/cdn/{GKS4SDRE.js → QM4W7JMJ.js} +2 -2
  245. package/dist/cdn/{35KLNGC5.js → QMYZGGJI.js} +2 -2
  246. package/dist/cdn/{DK5FUIGH.js → QO6KCGB7.js} +1 -1
  247. package/dist/cdn/{BGC5OXBC.js → QQKQSMEB.js} +2 -2
  248. package/dist/cdn/{EHS77SRG.js → QRMAFUI4.js} +2 -2
  249. package/dist/cdn/{KXKFOLKN.js → QTTDHRAA.js} +1 -1
  250. package/dist/cdn/{IBLOFUUX.js → QUMKP3MN.js} +2 -2
  251. package/dist/cdn/{FFLBALPH.js → QXVWOTDR.js} +2 -2
  252. package/dist/cdn/{SSHAOTEK.js → R5UYZSKU.js} +2 -2
  253. package/dist/cdn/{GYIUJFGM.js → R6QDW36Y.js} +2 -2
  254. package/dist/cdn/REQ6SUUW.js +18 -0
  255. package/dist/cdn/{QYQTOIF6.js → RIALL5SY.js} +1 -1
  256. package/dist/cdn/RPEOATB5.js +18 -0
  257. package/dist/cdn/{NX4JHBIH.js → RR6DYONH.js} +2 -2
  258. package/dist/cdn/{WTVABM3O.js → RUBBHHA2.js} +2 -2
  259. package/dist/cdn/{VBGQ7FE6.js → RWPAQKNE.js} +2 -2
  260. package/dist/cdn/{BEV4LNQI.js → RYCN2WNH.js} +2 -2
  261. package/dist/cdn/RZGCWE6B.js +4 -0
  262. package/dist/cdn/{SMZGBF7A.js → S35DEH4O.js} +2 -2
  263. package/dist/cdn/{Q4ZZ6NDL.js → S4ZGRNK3.js} +2 -2
  264. package/dist/cdn/{T6FIJDJK.js → S6KONP5D.js} +2 -2
  265. package/dist/cdn/{TO6ZG5LX.js → S7WZDGWE.js} +1 -1
  266. package/dist/cdn/SCFWJINO.js +18 -0
  267. package/dist/cdn/{LH3A7YCF.js → SH3KFLOT.js} +3 -3
  268. package/dist/cdn/{KIUNRSQA.js → SIL26OVP.js} +2 -2
  269. package/dist/cdn/{MSBJECJS.js → SL2WOYUA.js} +2 -2
  270. package/dist/cdn/{2JWUVZ2L.js → SLMZ3EXF.js} +1 -1
  271. package/dist/cdn/{KWTCG2SE.js → SOQQPZYP.js} +2 -2
  272. package/dist/cdn/{2KHJ7DAR.js → SXNTJLJ5.js} +2 -2
  273. package/dist/cdn/{GGQUPRRV.js → SYR63WS4.js} +2 -2
  274. package/dist/cdn/SYYINKMJ.js +18 -0
  275. package/dist/cdn/T2ZL626B.js +64 -0
  276. package/dist/cdn/{BOHI7OOB.js → T4GHTIOI.js} +1 -1
  277. package/dist/cdn/{7GAWPJYN.js → T7PSBD2K.js} +2 -2
  278. package/dist/cdn/{QXX2SNE5.js → TCNQHM62.js} +2 -2
  279. package/dist/cdn/{QO2AZMFP.js → TCSANST6.js} +2 -2
  280. package/dist/cdn/{T7GSBDIG.js → TDOLI3MJ.js} +2 -2
  281. package/dist/cdn/{REW2XBKZ.js → TEZMIOXN.js} +1 -1
  282. package/dist/cdn/{IKBTX6QZ.js → TF7EVNSZ.js} +2 -2
  283. package/dist/cdn/{KOT36X5I.js → TP2TOJCY.js} +2 -2
  284. package/dist/cdn/{PHLPFYN3.js → TYK2KN46.js} +1 -1
  285. package/dist/cdn/{UNOFD42Q.js → U2DYOKUT.js} +1 -1
  286. package/dist/cdn/U5Q7L7IV.js +18 -0
  287. package/dist/cdn/{RRNRGQVC.js → UEUGCRSS.js} +2 -2
  288. package/dist/cdn/{CLFLK4OG.js → UEYUMFJR.js} +2 -2
  289. package/dist/cdn/{73OBTSKG.js → UFBKZY2Y.js} +2 -2
  290. package/dist/cdn/{3WHGZJJS.js → UFLRMHOA.js} +2 -2
  291. package/dist/cdn/{3WPZIU5L.js → UTXJRKVN.js} +2 -2
  292. package/dist/cdn/{SERCADIE.js → UVO4N63O.js} +2 -2
  293. package/dist/cdn/{2YG6C32T.js → V2XWGRQ4.js} +2 -2
  294. package/dist/cdn/{2S3FX57Y.js → V3TOUD4G.js} +2 -2
  295. package/dist/cdn/{MLY5XS76.js → V5B2ANE5.js} +2 -2
  296. package/dist/cdn/{FFZY7CPX.js → V6N2BOHM.js} +2 -2
  297. package/dist/cdn/{2ZWVBNPH.js → VBJBCOA4.js} +2 -2
  298. package/dist/cdn/VCHF7VKK.js +21 -0
  299. package/dist/cdn/{CFRDPWXR.js → VESAWDFI.js} +2 -2
  300. package/dist/cdn/{OQF6YVUK.js → VI5QNKY4.js} +2 -2
  301. package/dist/cdn/{ENUF5QK4.js → VIH4XUBT.js} +2 -2
  302. package/dist/cdn/{CHNYABSO.js → VLEOLXN7.js} +2 -2
  303. package/dist/cdn/{L6PIPEF2.js → VP644CSD.js} +2 -2
  304. package/dist/cdn/{6WW2DA2G.js → VYZBZ6Y7.js} +1 -1
  305. package/dist/cdn/{XVG5AXU3.js → W5J5NEH6.js} +2 -2
  306. package/dist/cdn/{OYGODC65.js → WBTYMW42.js} +2 -2
  307. package/dist/cdn/{LQVI3NR7.js → WCQUEVMF.js} +2 -2
  308. package/dist/cdn/WHOYKD3P.js +18 -0
  309. package/dist/cdn/{BUJ7HMXE.js → WIOAHEDF.js} +2 -2
  310. package/dist/cdn/{VK3OPHNA.js → WJWYDP5A.js} +2 -2
  311. package/dist/cdn/WLTAPFFM.js +18 -0
  312. package/dist/cdn/{4HFOPNFI.js → WOYZGDP4.js} +2 -2
  313. package/dist/cdn/{C7RFHH22.js → WPIWNKXJ.js} +2 -2
  314. package/dist/cdn/{76RER7LN.js → WRDZQGLN.js} +2 -2
  315. package/dist/cdn/{KX7PNFBK.js → WUCV5AYV.js} +2 -2
  316. package/dist/cdn/{Z2MGL6AZ.js → X463GSCH.js} +2 -2
  317. package/dist/cdn/{E23BMOKL.js → X5S5VG6G.js} +2 -2
  318. package/dist/cdn/{3P4LQ4TN.js → XBSAUMWE.js} +2 -2
  319. package/dist/cdn/{GQYBA7GH.js → XCJNZ6FA.js} +2 -2
  320. package/dist/cdn/{CE2PWV2T.js → XDQBYMET.js} +2 -2
  321. package/dist/cdn/XF4KJ7M4.js +18 -0
  322. package/dist/cdn/{T5CPOSYR.js → XF7HMOOJ.js} +1 -1
  323. package/dist/cdn/XFUMVODK.js +18 -0
  324. package/dist/cdn/XLWTPCSP.js +18 -0
  325. package/dist/cdn/{6XXBH32V.js → XOB3RAC7.js} +2 -2
  326. package/dist/cdn/XQ55W7BG.js +18 -0
  327. package/dist/cdn/{IMPPWVVG.js → XU4C7MA6.js} +2 -2
  328. package/dist/cdn/{UM5O6SR4.js → XWNG4K3N.js} +2 -2
  329. package/dist/cdn/{OUYGAAGX.js → YBQZUOZZ.js} +2 -2
  330. package/dist/cdn/{75CES5F2.js → YFOOZMDL.js} +2 -2
  331. package/dist/cdn/{HBNX26U7.js → YGQDCOUP.js} +2 -2
  332. package/dist/cdn/{W6XHOAIY.js → YJBALGDU.js} +2 -2
  333. package/dist/cdn/{W5O6BHYJ.js → YJGETEBD.js} +2 -2
  334. package/dist/cdn/{ANOEINZT.js → YRHLAWNX.js} +2 -2
  335. package/dist/cdn/{YMNTHO2F.js → Z2XWW7ZN.js} +2 -2
  336. package/dist/cdn/{G24DNHCB.js → Z5IRLGOP.js} +2 -2
  337. package/dist/cdn/{G37T64CV.js → Z7LU4D7Q.js} +2 -2
  338. package/dist/cdn/{JOSEALSV.js → Z7ML4UNP.js} +2 -2
  339. package/dist/cdn/{ZGXAJOK6.js → ZBDMKHIL.js} +2 -2
  340. package/dist/cdn/{YHMAN2VX.js → ZF56DPTU.js} +2 -2
  341. package/dist/cdn/{74AIX5RH.js → ZFEVJ556.js} +1 -1
  342. package/dist/cdn/{SGEGTSUZ.js → ZGS6ENKJ.js} +2 -2
  343. package/dist/cdn/{63DFPGXG.js → ZL6AJSDF.js} +2 -2
  344. package/dist/cdn/{7HWYZVCJ.js → ZMG4Y2N6.js} +2 -2
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  346. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  347. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
  348. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
  349. package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.en.json +1 -1
  350. package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.json +1 -1
  351. package/dist/cdn/index.js +2 -2
  352. package/dist/chunks/Auth.js +1 -1
  353. package/dist/chunks/CardsFetcher.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/loadModules.js +1 -1
  364. package/dist/chunks/mapViewUtils.js +1 -1
  365. package/dist/chunks/pciUtils.js +1 -1
  366. package/dist/chunks/popupUtils.js +1 -1
  367. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  368. package/dist/chunks/privilegeUtils.js +1 -1
  369. package/dist/chunks/publicNotificationContext.js +1 -1
  370. package/dist/chunks/queryUtils.js +1 -1
  371. package/dist/chunks/runtime.js +1 -1
  372. package/dist/chunks/solution-store.js +1 -1
  373. package/dist/chunks/templates.js +1 -1
  374. package/dist/chunks/useT9n.js +1 -1
  375. package/dist/components/arcgis-solutions-assistant/customElement.js +148 -133
  376. package/dist/components/arcgis-solutions-assistant/index.d.ts +0 -1
  377. package/dist/components/arcgis-solutions-assistant/index.js +0 -1
  378. package/dist/components/basemap-gallery/customElement.js +1 -1
  379. package/dist/components/buffer-tools/customElement.d.ts +2 -2
  380. package/dist/components/buffer-tools/customElement.js +1 -1
  381. package/dist/components/card-manager/customElement.d.ts +1 -2
  382. package/dist/components/card-manager/customElement.js +2 -2
  383. package/dist/components/consent-manager/customElement.d.ts +5 -5
  384. package/dist/components/consent-manager/customElement.js +142 -142
  385. package/dist/components/create-feature/customElement.js +1 -1
  386. package/dist/components/create-related-feature/customElement.js +1 -1
  387. package/dist/components/crowdsource-manager/customElement.js +2 -2
  388. package/dist/components/crowdsource-reporter/customElement.d.ts +1 -6
  389. package/dist/components/crowdsource-reporter/customElement.js +6 -6
  390. package/dist/components/deduct-calculator/customElement.d.ts +0 -1
  391. package/dist/components/deduct-calculator/customElement.js +1 -1
  392. package/dist/components/delete-button/customElement.js +2 -2
  393. package/dist/components/delete-dialog/customElement.js +2 -2
  394. package/dist/components/edit-card/customElement.js +6 -6
  395. package/dist/components/feature-details/customElement.d.ts +0 -2
  396. package/dist/components/feature-details/customElement.js +1 -1
  397. package/dist/components/feature-list/customElement.d.ts +1 -1
  398. package/dist/components/feature-list/customElement.js +44 -45
  399. package/dist/components/field-selection/customElement.js +1 -1
  400. package/dist/components/floor-filter/customElement.js +1 -1
  401. package/dist/components/info-card/customElement.d.ts +0 -1
  402. package/dist/components/info-card/customElement.js +2 -2
  403. package/dist/components/json-editor/customElement.js +1 -1
  404. package/dist/components/layer-list/customElement.d.ts +0 -1
  405. package/dist/components/layer-list/customElement.js +1 -1
  406. package/dist/components/layer-table/customElement.d.ts +1 -2
  407. package/dist/components/layer-table/customElement.js +12 -12
  408. package/dist/components/map-card/customElement.d.ts +6 -9
  409. package/dist/components/map-card/customElement.js +17 -27
  410. package/dist/components/map-draw-tools/customElement.js +2 -2
  411. package/dist/components/map-fullscreen/customElement.js +1 -1
  412. package/dist/components/map-layer-picker/customElement.d.ts +7 -7
  413. package/dist/components/map-layer-picker/customElement.js +1 -1
  414. package/dist/components/map-legend/customElement.js +1 -1
  415. package/dist/components/map-picker/customElement.js +5 -5
  416. package/dist/components/map-search/customElement.js +1 -1
  417. package/dist/components/map-select-tools/customElement.d.ts +3 -5
  418. package/dist/components/map-select-tools/customElement.js +13 -13
  419. package/dist/components/map-tools/customElement.d.ts +4 -10
  420. package/dist/components/map-tools/customElement.js +7 -7
  421. package/dist/components/pci-calculator/customElement.js +9 -9
  422. package/dist/components/pdf-download/customElement.js +29 -37
  423. package/dist/components/public-notification/customElement.d.ts +5 -6
  424. package/dist/components/public-notification/customElement.js +6 -9
  425. package/dist/components/refine-selection/customElement.d.ts +1 -4
  426. package/dist/components/refine-selection/customElement.js +15 -15
  427. package/dist/components/selection-tool/customElement.d.ts +2 -2
  428. package/dist/components/selection-tool/customElement.js +1 -1
  429. package/dist/components/solution-configuration/customElement.js +1 -1
  430. package/dist/components/solution-configure-titles/customElement.js +2 -2
  431. package/dist/components/solution-contents/customElement.js +1 -1
  432. package/dist/components/solution-delete-dialog/customElement.d.ts +0 -1
  433. package/dist/components/solution-delete-dialog/customElement.js +12 -10
  434. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  435. package/dist/components/solution-deployed-card/customElement.js +8 -8
  436. package/dist/components/solution-deployed-card-panel/customElement.js +20 -19
  437. package/dist/components/solution-deployed-card-panel/index.d.ts +1 -0
  438. package/dist/components/solution-deployed-card-panel/index.js +1 -0
  439. package/dist/components/solution-deploying-dialog/customElement.js +20 -33
  440. package/dist/components/solution-details-card/customElement.js +1 -1
  441. package/dist/components/solution-details-panel/customElement.js +46 -53
  442. package/dist/components/solution-item/customElement.js +1 -1
  443. package/dist/components/solution-item-accordion/customElement.js +2 -2
  444. package/dist/components/solution-item-details/customElement.js +1 -1
  445. package/dist/components/solution-item-diagram/customElement.js +2 -2
  446. package/dist/components/solution-item-icon/customElement.js +1 -1
  447. package/dist/components/solution-item-sharing/customElement.js +1 -1
  448. package/dist/components/solution-organization-variables/customElement.js +1 -1
  449. package/dist/components/solution-resource-card/customElement.js +1 -1
  450. package/dist/components/solution-resource-item/customElement.js +1 -1
  451. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  452. package/dist/components/solution-social-share/customElement.js +1 -1
  453. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  454. package/dist/components/solution-template-data/customElement.js +1 -1
  455. package/dist/components/solution-variables/customElement.js +1 -1
  456. package/dist/components/solutions-all-panel/customElement.js +1 -1
  457. package/dist/components/solutions-all-shell/customElement.js +34 -31
  458. package/dist/components/solutions-all-shell/index.d.ts +1 -1
  459. package/dist/components/solutions-all-shell/index.js +1 -1
  460. package/dist/components/solutions-deploy-app/customElement.js +3 -3
  461. package/dist/components/solutions-deploy-app-nav/customElement.d.ts +2 -1
  462. package/dist/components/solutions-deploy-app-nav/customElement.js +70 -31
  463. package/dist/components/solutions-deploy-app-nav/index.d.ts +4 -1
  464. package/dist/components/solutions-deploy-app-nav/index.js +4 -1
  465. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  466. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  467. package/dist/components/solutions-deployed-shell/customElement.js +12 -15
  468. package/dist/components/solutions-deployed-shell/index.d.ts +0 -1
  469. package/dist/components/solutions-deployed-shell/index.js +0 -1
  470. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  471. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  472. package/dist/components/solutions-resources/customElement.js +1 -1
  473. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  474. package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +2 -0
  475. package/dist/components/solutions-searchsort-toolbar/customElement.js +73 -63
  476. package/dist/components/solutions-searchsort-toolbar/index.d.ts +1 -1
  477. package/dist/components/solutions-searchsort-toolbar/index.js +1 -1
  478. package/dist/components/spatial-ref/customElement.js +1 -1
  479. package/dist/components/store-manager/customElement.js +1 -1
  480. package/dist/docs/api.json +74 -55
  481. package/dist/docs/docs.json +57 -33
  482. package/dist/docs/vscode.html-custom-data.json +17 -17
  483. package/dist/docs/web-types.json +57 -47
  484. package/dist/index.d.ts +1 -0
  485. package/dist/index.js +1 -1
  486. package/dist/loader.js +1 -1
  487. package/dist/types/lumina.d.ts +1 -0
  488. package/dist/types/preact.d.ts +1 -0
  489. package/dist/types/preact10.d.ts +1 -0
  490. package/dist/types/react.d.ts +1 -0
  491. package/dist/types/stencil.d.ts +1 -0
  492. package/package.json +1 -1
  493. package/dist/cdn/2CCBXSKK.js +0 -4
  494. package/dist/cdn/2PHLVPTR.js +0 -4
  495. package/dist/cdn/3LF35Q54.js +0 -4
  496. package/dist/cdn/4RTC5XWR.js +0 -18
  497. package/dist/cdn/5JZITWD2.js +0 -18
  498. package/dist/cdn/5N7W6CKG.js +0 -18
  499. package/dist/cdn/5ROXJJIZ.js +0 -18
  500. package/dist/cdn/C5H65524.js +0 -18
  501. package/dist/cdn/D67LKKO3.js +0 -18
  502. package/dist/cdn/D7WDGASK.js +0 -65
  503. package/dist/cdn/DQZF7IPW.js +0 -18
  504. package/dist/cdn/DUYSEICC.js +0 -18
  505. package/dist/cdn/EE3RLK54.js +0 -18
  506. package/dist/cdn/EJX4TNGV.js +0 -18
  507. package/dist/cdn/EY4LNEPF.js +0 -18
  508. package/dist/cdn/FVLOODPF.js +0 -18
  509. package/dist/cdn/GDO7SFZU.js +0 -18
  510. package/dist/cdn/HFSAMU3B.js +0 -18
  511. package/dist/cdn/HWKBNZEW.js +0 -18
  512. package/dist/cdn/ILRIV2PZ.js +0 -18
  513. package/dist/cdn/JYBZAUFS.js +0 -18
  514. package/dist/cdn/K2C56RZ4.js +0 -21
  515. package/dist/cdn/K3OZMGZ3.js +0 -4
  516. package/dist/cdn/LCZYX2MS.js +0 -18
  517. package/dist/cdn/LPQM324E.js +0 -18
  518. package/dist/cdn/MZVQVHJA.js +0 -18
  519. package/dist/cdn/OOSMF7MX.js +0 -18
  520. package/dist/cdn/P7A24J32.js +0 -18
  521. package/dist/cdn/QU33YK2I.js +0 -4
  522. package/dist/cdn/RXDDH7T7.js +0 -4
  523. package/dist/cdn/T6NNOIF5.js +0 -4
  524. package/dist/cdn/TRN3X66C.js +0 -18
  525. package/dist/cdn/TW7EJR75.js +0 -18
  526. package/dist/cdn/VGHU623Q.js +0 -18
  527. package/dist/cdn/XDEV64FQ.js +0 -18
  528. package/dist/cdn/Y5S76IXI.js +0 -4
  529. package/dist/cdn/ZDTIXH2P.js +0 -18
  530. package/dist/cdn/ZF5KTUHD.js +0 -18
  531. package/dist/cdn/ZLEHSIQE.js +0 -18
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import{a as v,b as y}from"./DVGLTRJU.js";import{b as n}from"./T6FIJDJK.js";import{a as _}from"./UQVFINXF.js";import{k as b,l as m}from"./27VT6FGO.js";import{a as g}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as f}from"./443EHILD.js";import{C as r,D as a,E as p,H as o,I as u,h,i as t,o as d}from"./6WW2DA2G.js";import"./EAS42GZC.js";var S=h`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}.filter-button{display:block;position:absolute;top:var(--calcite-spacing-sm);left:var(--calcite-spacing-sm);z-index:999}}@media(min-width:800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}.height-100{height:100%}.border-none{border:none}.height-50{height:50px}`,c=class extends p{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this._filters={categories:[],searchTerm:""},this.isMobile=!1,this._translations=g({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=r(),this._solutionsFilterPanelRef=r(),this._isMobileContextConsumer=n({context:y,subscribe:!0,callback:e=>this.isMobile=e}),this._userSessionContextConsumer=n({context:v,subscribe:!0}),this.filterRemoved=d(),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&this._filterApplied(e.detail.option)})}static{this.properties={solutionsCount:9,filterOpen:16,_filters:16,isMobile:16,_translations:16}}static{this.styles=S}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){if(this._allSolutionsPanelRef.value.setSearchOptions(e),"industry"in e||"domain"in e){e.displayValue=e.domain||e.industry;let i=e.industry?Object.entries(b).find(([,l])=>l===e.industry)?.[0]:void 0,s=e.domain?Object.entries(m).find(([,l])=>l===e.domain)?.[0]:void 0;e.industry=i||"",e.domain=s||"",e.value=s||i,this._solutionsFilterPanelRef.value.changeIndustryFilter(e.industry,e.domain,e.displayValue,!0)}else("searchTerm"in e||"sortType"in e)&&("searchTerm"in e&&(this._filters.searchTerm=e.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(e))}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",i=this.isMobile?"justify-content-end":"";return t`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e??u} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1"><div class=${`display-flex align-items-center height-50 ${i}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}${this._filters.categories&&this._filters.categories?.length>0&&t`<calcite-button appearance=transparent icon-start=reset kind=neutral @click=${()=>{this._filters={...this._filters,categories:[]},this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this.filterRemoved.emit([])}} .label=${this._translations.clearIndustryFilter}>${this._translations.clearIndustryFilter}</calcite-button>`||""}</div>${this.isMobile&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></h1></calcite-shell>`}_getFilterPanel(){let e=this.filterOpen?{display:"flex"}:"";return this.isMobile?t`<calcite-panel class=${`border-none ${this.filterOpen?"background-override":"filter background-override"}`} id=solutions-all-shell-panel-start style=${o(e)}><solutions-filter-panel class="height-100" @applyFilter=${i=>{this._filterApplied(i.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel>`:t`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start position=start slot=panel-start style=${o(e)}><calcite-panel class="border-none"><solutions-filter-panel class="height-100" .isAIsettingEnabled=${!!this._userSessionContextConsumer.value?.token} @applyFilter=${i=>{this._filterApplied(i.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return t`<solutions-all-panel @cardsFetched=${this._updateSolutionCount} style=${o(e)} ${a(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){if(!this._filters.categories)return;let e=this._filters.categories.filter(i=>i.type==="industry"||i.type==="domain");return e.length>0?_(e,i=>`${i.type}:${i.value}`,i=>t`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${i.displayValue} @calciteChipClose=${()=>this._chipClosed(i.displayValue,i.type)} .value=${i.displayValue}>${i.displayValue}</calcite-chip>`):void 0}_updateSolutionCount(e){this.solutionsCount=e.detail}_chipClosed(e,i){if(this._filters.categories){if(i==="industry")this._filters.categories=[];else{let s=this._filters.categories.filter(l=>l.displayValue!==e&&l.type!==i);this._filters.categories=s}this._filters.categories.length>0?this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories):this._filters.searchTerm!==""?(this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this._allSolutionsPanelRef.value?.searchSolutions({searchTerm:this._filters.searchTerm})):this._allSolutionsPanelRef.value?.searchSolutions(),this.filterRemoved.emit(this._filters.categories)}}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){if(this._filters.categories)if(e){let i=e;"displayValue"in e?this._filters.categories.push(e):Array.isArray(e)&&e.length>0&&(e.length>=2&&(i=[e[e.length-1]]),this._filters.categories=e),"searchTerm"in i&&(this._filters.searchTerm=i.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(i)}else this._filters.categories=[],this._allSolutionsPanelRef.value?.searchSolutions()}};f("solutions-all-shell",c);export{c as SolutionsAllShell};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import{d as r}from"./5AERAR2L.js";import{b as n}from"./443EHILD.js";import{C as d,D as c,E as o,G as a,h as s,i}from"./6WW2DA2G.js";import"./EAS42GZC.js";var p=s`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block;--calcite-label-margin-bottom: 0}.label-display{display:block;padding-bottom:1rem}.display-flex{display:flex}.display-grid{display:grid}.display-table{display:table}.display-inline-table{display:inline-table}.display-none{display:none}.display-inherit{display:inherit}.padding-top-1{padding-top:1rem}.main-input{width:300px;padding-inline-end:1rem}.float-end{float:inline-end}.position-relative{position:relative}.position-right{position:absolute;right:0}`,l=class extends o{constructor(){super(...arguments),this.showAddDeduct=!1,this._deductValuesElement=d()}static{this.properties={showAddDeduct:16}}static{this.styles=p}render(){let t=this.showAddDeduct?"display-none":"display-grid",e=this.showAddDeduct?"position-relative":"display-none";return i`<div class=${a(t)}><div class="label-display"><calcite-label class="label-display">\r\n Enter comma delimited deduct values${this._getDeductValuesInput()}</calcite-label></div><div>${this._getCalculateButton()}</div></div><div class=${a(e)}><div class="position-right"><calcite-action appearance=transparent class="float-end" icon=x @click=${()=>this._toggleShowAddDeduct()} scale=s text></calcite-action></div><deduct-calculator class="display-grid padding-top-1" @deductValueComplete=${this._addDeductValue}></deduct-calculator></div>`}_getDeductValuesInput(){return i`<div class="display-flex"><calcite-input class="main-input" ${c(this._deductValuesElement)}></calcite-input><calcite-action appearance=transparent icon=plus-circle @click=${()=>this._toggleShowAddDeduct()} scale=s text></calcite-action></div>`}_getCalculateButton(){return this._deductValuesElement.value?i`<calcite-button @click=${()=>this._calculatePCI(this._deductValuesElement?.value?.value||"")}>\r\n Calculate PCI</calcite-button>`:void 0}_toggleShowAddDeduct(){this.showAddDeduct=!this.showAddDeduct}_addDeductValue(t){this._toggleShowAddDeduct(),this._deductValuesElement.value&&(this._deductValuesElement.value.value+=Math.abs(Number.parseFloat(this._deductValuesElement.value.value))>0?`,${t.detail}`:t.detail)}_calculatePCI(t){let e=r(t,!0),u=e<=10?"Failed":e<=25?"Serious":e<=40?"Very Poor":e<=55?"Poor":e<=70?"Fair":e<=85?"Satisfactory":"Good";console.log(`PCI: ${e}`),console.log(`Rating: ${u}`),alert("See debug console for results")}};n("pci-calculator",l);export{l as PciCalculator};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import{Cb as S}from"./KSO7CXKH.js";import"./GFXNHLR7.js";import"./CYG5JUF7.js";import"./3E3IBLXH.js";import"./EROCJUGG.js";import"./VX2H4KEW.js";import"./L2WHYM3J.js";import"./ZAL2JPN6.js";import"./ENUF5QK4.js";import"./BOHI7OOB.js";import"./KXKFOLKN.js";import"./XIKGCL6Z.js";import"./EYIL3WCN.js";import"./IMPPWVVG.js";import"./YMNTHO2F.js";import{g as h}from"./4SOCIVF6.js";import"./R6MJ3BWC.js";import"./ZVYGJ3ZV.js";import"./74AIX5RH.js";import"./T5CPOSYR.js";import{a as I}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b}from"./443EHILD.js";import{C as p,D as u,E as v,I as n,h as _,i as c,j as f,o as d}from"./6WW2DA2G.js";import"./EAS42GZC.js";export default $arcgis.t(([r,w,y])=>{var m=class{constructor(t,e,i){this._credential=null,this._isEnterprise=!1,this._locale="en",this._portalSubset=null,this._portalUserSubset=null,this._clientId=t??"",this._locale=i??"en",this._portalUrl=e??"https://www.arcgis.com",this._portalRestUrl=this._portalUrl+"/sharing/rest",this._credential=r.findCredential(this._portalRestUrl),this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:this._portalUrl}get Credential(){return this._credential}get IsEnterprisePortal(){return this._isEnterprise}get IsSignedIn(){return!!this._credential}get Portal(){return this._portal}get PortalSubset(){return this._portalSubset}get PortalUrl(){return this._portalUrl}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserSubset(){return this._portalUserSubset}get PortalUserPrivileges(){let t=[];return this._portalUserSubset?.privileges&&(t=this._portalUserSubset.privileges),t}get RestUserSession(){let t=r.findServerInfo(this._portalRestUrl),e=this._credential?h.fromCredential(this._credential,t):new h({});return e.portal=this.PortalSubset?.restUrl?this.PortalSubset?.restUrl:e.portal,e.clientId=this._credential?._oAuthCred?.appId,e._refreshToken=this._credential?._oAuthCred?.refreshToken,e}async initialize(){try{await this._init()}catch{this.destroy()}return this}destroy(){this._credential=null,this._portalSubset=null,this._portalUserSubset=null,r.destroyCredentials()}async signIn(t=""){r.setOAuthRedirectionHandler(e=>{let i=e.authorizeParams.redirect_uri;if(t.length>0){let a=i.split("?"),s=a[0],l="";if(a[1]){let o=new URLSearchParams(a[1]);o.append("signInParam",t),l="?"+o.toString()}e.authorizeParams.redirect_uri=s+l}window.location.href=e.authorizeUrl+"?"+this._objectToQuery(e.authorizeParams)}),await r.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(e=>{e&&window.location.reload()})}signOut(){r.destroyCredentials(),this.destroy(),window.location.reload()}refreshSession(){let t=this.RestUserSession;return!t||!this.IsSignedIn?null:t.exchangeRefreshToken()}_getOrgUrl(t,e,i){return e&&i?window.location.protocol+"//"+e.toLowerCase()+"."+i:t}async _init(){let t=new w({appId:this._clientId,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});r.registerOAuthInfos([t]);try{let e=await r.checkAppAccess(this._portalUrl,this._clientId);(typeof e.valid<"u"&&!e.valid||e.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`),this._credential=e.credential}catch(e){if(e.name==="identity-manager:not-authenticated")return this;this.destroy(),window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}return this._portal=new y({url:this._portalUrl}),this._portal.authMode="immediate",await this._portal.load(),this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl??"",portalUrl:this._portal.url??"",urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??""},this._isEnterprise&&this._portalSubset&&(this._portalSubset.workflowURL=await S(this._portal.restUrl,this.RestUserSession||new h({}))),this._portal?.user?.roleId&&this._portalUserSubset&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}_isSerializable(t){return t&&typeof t=="object"&&"toJSON"in t&&typeof t.toJSON=="function"}_objectToQuery(t,e){return t?e&&typeof e=="function"?Object.keys(t).map(i=>encodeURIComponent(i)+"="+encodeURIComponent(e(i,t[i]))).join("&"):Object.keys(t).map(i=>{let a=t[i];if(a==null)return"";let s=encodeURIComponent(i)+"=",l=e&&e[i];return l?s+encodeURIComponent(l(a)):Array.isArray(a)?a.map(o=>this._isSerializable(o)?s+encodeURIComponent(JSON.stringify(o)):s+encodeURIComponent(o)).join("&"):this._isSerializable(a)?s+encodeURIComponent(JSON.stringify(a)):s+encodeURIComponent(a)}).filter(i=>i).join("&"):""}};var C=_`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.esri-global-nav__title{margin-block-start:0;position:relative;margin-bottom:0;font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-medium);padding-inline-end:var(--calcite-spacing-xxl);align-self:center}.esri-global-nav__logo-link{color:var(--calcite-color-text-1);text-decoration:unset;margin-block-start:0px;position:relative;margin-bottom:0;align-self:center}.cursor-pointer{cursor:pointer}.side{border-right:solid 1px;color:var(--calcite-color-text-1)}.display-flex{display:flex}.align-self-center{align-self:center}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.margin-start-end-1{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-start-end-1-5{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}calcite-menu{--calcite-color-focus: transparent}calcite-button{--calcite-color-focus: transparent}.sign-in{display:flex;vertical-align:middle;align-items:center;height:100%}.height-full{height:100%}.user-label{--calcite-label-margin-bottom: 0px}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-normal{font-weight:var(--calcite-font-weight-normal)}.logo-padding{padding-inline-start:var(--calcite-spacing-none)}@media(max-width:800px){.logo-padding{padding-inline-start:var(--calcite-spacing-lg)}}.signin-padding{padding-inline-end:var(--calcite-spacing-none)}@media(max-width:800px){.signin-padding{padding-inline-end:var(--calcite-spacing-lg)}}calcite-action{--calcite-font-size-0: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: var(--calcite-spacing-lg)}calcite-navigation{--calcite-color-border-3: transparent}`,g=class extends v{constructor(){super(...arguments),this.useLocalAppConfig=!1,this._logoFill="",this._translations=I({name:"solutions-deploy-app-nav",blocking:!0}),this._authentication=void 0,this._menuRef=p(),this._menuItemAll=p(),this._menuItemMy=p(),this._menuItemResources=p(),this.authInit=d(),this.navTabSelected=d(),this.tokenRefreshed=d()}static{this.properties={appConfig:1,useLocalAppConfig:5,_logoFill:16,_translations:16}}static{this.styles=C}clearMenuItems(){this._menuItemAll.value.active=!1,this._authentication?.IsSignedIn&&(this._menuItemMy.value.active=!1),this._menuItemResources.value.active=!1}activateMenuItem(t){let e,i;switch(t){case"all-solutions":e=this._menuItemAll,i=[this._menuItemMy,this._menuItemResources];break;case"deployments":e=this._menuItemMy,i=[this._menuItemAll,this._menuItemResources];break;case"resources":e=this._menuItemResources,i=[this._menuItemAll,this._menuItemMy];break}e&&i&&this._handleMenuClick(t,e,i,!1)}async connectedCallback(){super.connectedCallback();let t=new h({username:"",password:""});this._userSession=t}async load(){let t=window.matchMedia("(prefers-color-scheme: dark)");t.addEventListener("change",l=>this._logoFill=this._getLogoFill(l.matches)),this._logoFill=this._getLogoFill(t.matches);let e="en";this.useLocalAppConfig&&(e=this.appConfig.locale);let i=this.appConfig.authentication?.PortalSubset?.orgUrl||this.appConfig.orgURL||this.appConfig.portalURL,a=this.appConfig.authentication?.PortalUrl||this.appConfig.portalURL,s=this.appConfig.primarySolutionsGroupId;this._authentication||(this.appConfig.authentication?this._authentication=this.appConfig.authentication:(this._authentication=new m(this.appConfig.appId,this.appConfig.portalURL,this.appConfig.locale),await this._authentication.initialize())),this._authentication.RestUserSession&&(this._userSession=this._authentication.RestUserSession),this._setRefreshInterval(),this.authInit.emit({allCards:[],authentication:this._authentication,agoBasedEnterpriseSolutionsGroupId:this.appConfig.agoBasedEnterpriseSolutionsGroupId,diagramKey:this.appConfig.diagramKey,locale:e||"en",orgUrl:i,portalUrl:a,primarySolutionsGroupId:s,solutionsUrlMarker:this.appConfig.solutionsUrlMarker,userSession:this._userSession}),this._portal=await this._userSession?.getPortal()}render(){return c`<calcite-navigation>${this._getHeading()}<calcite-menu label slot=content-start ${u(this._menuRef)}><calcite-menu-item label @click=${()=>this._handleMenuClick("all-solutions",this._menuItemAll,[this._menuItemMy,this._menuItemResources],!0)} .text=${this._translations.allSolutions} ${u(this._menuItemAll)}></calcite-menu-item>${this._authentication?.IsSignedIn?c`<calcite-menu-item label @click=${()=>this._handleMenuClick("deployments",this._menuItemMy,[this._menuItemAll,this._menuItemResources],!0)} .text=${this._translations.myDeployments} ${u(this._menuItemMy)}></calcite-menu-item>`:""}<calcite-menu-item label @click=${()=>this._handleMenuClick("resources",this._menuItemResources,[this._menuItemAll,this._menuItemMy],!0)} .text=${this._translations.solutionResources} ${u(this._menuItemResources)}></calcite-menu-item></calcite-menu><div slot=user>${this._authentication?.IsSignedIn?this._getUserAvatar():c`<calcite-button appearance=transparent class="sign-in" kind=neutral scale=l @click=${this._handleSignIn}>\r\n Sign in</calcite-button>`}</div></calcite-navigation>`}_setRefreshInterval(){}_getHeading(){return c`<div class="align-self-center display-flex cursor-pointer logo-padding" slot=logo><a aria-label=${this._translations.linkToEsriHomePage??n} class="esri-global-nav__logo-link" href=https://www.esri.com rel=noopener target=_blank title=${this._translations.linkToEsriHomePage??n}><svg height=30 viewBox="0 0 84 30" width=84 xmlns=http://www.w3.org/2000/svg>${f`<path fill=${this._logoFill??n} d="M77.277.5c-1.48 0-2.554 1.175-2.554 2.488 0 1.314 1.074 2.49 2.554 2.49 1.48 0 2.622-1.071 2.622-2.49C79.899 1.572 78.756.5 77.277.5zm-1.913 23.426h3.891V8.353h-3.891v15.573zM40.515 7.965c-4.702 0-8.465 3.275-8.465 8.174 0 4.898 3.763 8.177 8.465 8.177 2.146 0 4.165-.667 5.852-2.31l-2.457-2.457c-.916.964-2.093 1.651-3.78 1.651-2.175 0-3.927-1.397-4.188-3.698h11.875v-1.07c0-5.42-2.95-8.467-7.302-8.467zm-4.573 6.617c.293-2.24 1.721-3.7 4.023-3.7 2.434 0 3.926 1.43 3.96 3.7h-7.983zm17.305-1.849c0-1.169 1.233-1.655 2.273-1.655 1.32 0 2.292.547 3.037 1.577l2.476-2.474c-1.282-1.6-3.407-2.216-5.418-2.216-3.147 0-6.262 1.555-6.262 5.028 0 5.938 8.403 3.406 8.403 6.617 0 1.233-1.46 1.784-2.595 1.784-1.65 0-2.687-.806-3.69-1.905l-2.515 2.514c1.58 1.711 3.62 2.313 5.978 2.313 3.179 0 6.717-1.299 6.717-4.998 0-6.067-8.404-3.795-8.404-6.585zm14.15-1.916h-.062V8.353h-3.892v15.573h3.892v-8.34c0-.842.518-3.925 4.185-3.925.564 0 1.127.112 1.718.253l.152-3.726c-.45-.127-.901-.223-1.382-.223-2.046 0-3.766 1.07-4.61 2.852zM14.683 2.766c-1.217-.037-1.932.12-2.651.26-.216-.056-.62.003-.643.472 0 .252.08.447.24.562.159.114 1.493 1.1 2.473 2.142-.47.052-.98.138-1.504.246-.585-1.264-2.465-.114-3.714-.064-.146.006-.286.025-.431.035-.137-1.056-.235-2.15-.21-2.92 1.618-.917 4.748-1.593 6.874-1.626l.373-.01c.312-.003.337-.251.043-.291-2.641-.361-4.929.173-7.279 1.145C5.808 3.748 2.696 6.12.8 10.596c-.444 1.247-2.219 7.195.935 12.3 2.56 4.142 5.855 6.113 9.887 6.676 4.024.561 6.207.075 8.752-1.055 5.951-2.642 10.496-12.559 5.95-19.747-1.794-3.319-6.495-6.229-11.641-6.004zm-2.259 4.647a17.754 17.754 0 0 1 2.362-.368 15.741 15.741 0 0 1 1.748 2.54c-.805.39-1.878.688-2.315 1.312-.181.26-.226.613-.232.995a23.59 23.59 0 0 0-3.877 1.286c-.453-1.332-.85-2.66-1.124-3.842 1.296-1.237 2.813-1.438 3.438-1.923zm6.61 15.88c-.354.038-.706.083-1.016.13-.77.121-1.762.379-2.685.723-.53-.843-1.95-2.891-2.667-4.437 1.442-.709 3.457-1.303 5.775-1.444.19.33.4.66.69.956.757.774-.44 1.883-.096 4.072zm-8.603-9.14c1.12-.53 2.3-.968 3.56-1.286-.008.333-.045.649-.182.903-.196.366-.106 1.428.134 1.775.755 1.099 2.008.488 2.951.883.433.181.721.482.964.84-1.974.124-3.91.584-5.706 1.41-.923-1.96-1.72-4.524-1.72-4.524zm.832 4.938c-.07.033-.145.074-.217.11a40.803 40.803 0 0 0-3.256-.78c-.995-.204-1.031-.15-2.151.175-.16.046-.313.088-.462.133a36.17 36.17 0 0 1-.445-1.202c1.436-1.106 2.884-2.034 4.821-2.985.5 1.491 1.215 3.483 1.71 4.549zm.768 4.528c.293-.765.521-1.331.605-1.89.569.958 1.248 2 1.774 2.815-.819.397-1.772 1.01-2.672 1.685.062-1.037.083-2.064.293-2.61zm5.334-14.636c-.01.014-.028.026-.04.04a23.057 23.057 0 0 0-1.376-2.111c1.007-.061 2.246-.008 3.374.108-1.014.363-1.461 1.254-1.958 1.963zm-9.028 1.094c.019-.026.039-.047.057-.072.234 1.182.513 2.16.886 3.518-1.402.618-3.881 2.148-4.976 2.972-.198-.502-.404-1.214-.589-1.946.249-.737.758-1.254 1.476-1.325 1.228-.123 2.28-1.95 3.146-3.147zm-5.41-1.784C4.24 6.455 6.023 4.666 7.65 3.773c-.016.4.086 1.567.218 2.693-.57.057-1.134.128-1.692.211a12.084 12.084 0 0 0-3.115 4.088c-.117-1.054-.178-1.933-.133-2.472zM2.07 9.731s.062 1.06.113 1.833c0 0-.781.886-1.18 1.59.159-1.443.498-2.187 1.067-3.423zm7.664 18.356C5.688 26.82 2.69 23.41 1.62 19.834a17.475 17.475 0 0 1-.651-6.473c.056.01.186.072.38.017.135-.093.616-.43.957-.728l.018.131c-.23.87-.371 1.775-.4 2.71.37.39.804 1.038 1.286 1.707-.31.23-.905.641-1.045.741-.41.292-.406.753-.114 1.015.161.144.492.084.613-.01.358-.285.656-.513 1.066-.77.15.393.292.748.43 1.086-.175.188-.3.436-.342.798-.135 1.172.979 2.092 1.918 2.36.035.01.06.014.094.023.05.076.095.147.148.224-.487.378-.82.765-1.049 1.063-.132.172-.28.43-.16.481.123.05.535 0 .719-.034.466-.09.826-.606 1.148-.796.387.534 1.017 1.22 1.672 1.88.029.12.055.246.088.351.125.403.293.804.495 1.196.471.22.962.402 1.464.561a8.344 8.344 0 0 0-.622.72zm.989.313c.155-.203.312-.454.505-.626.468.31.969.665 1.368.894-.615-.07-1.337-.085-1.873-.268zm3.113.31s-1.604-1.062-2.009-1.471c.803-.667 2.102-1.459 3.128-1.889.402.63 1.727 2.507 2.258 3.112-.963.168-2.31.294-3.377.248zM20.54 27.2c-.286.189-1.664.814-2.204.988a23.43 23.43 0 0 1-2.44-3.202c.844-.354 2.143-.67 3.346-.82.109.342.25.704.444 1.094.19.382.411.662.649.853.085-.053.164-.115.248-.17-.006.42-.018.846-.043 1.257zm-.33-21.477c-.27-.172-.607-.108-.467.193.053.117.259.314.427.512-.986-.272-3.608-.479-4.856-.364-.815-.916-1.744-2.028-2.861-2.765 4.999-.311 9.49 1.756 11.473 4.186-.661-.344-2.087-.834-2.667-.963-.313-.319-.708-.58-1.05-.8zm1.094 21.065c.023-.407.04-.922.053-1.396.487-.378.946-.79 1.37-1.238.547.063 1.094.156 1.427.24-.74.936-1.762 1.716-2.85 2.394zm3.825-3.724c-.12.253-.428.688-.633.894-.312-.126-.781-.258-1.272-.375.078-.094.163-.182.24-.279.268-1.796-.338-2.37.42-4.014l.172-.371c.418.118.812.247 1.153.386.043.616.04 2.728-.08 3.759zm-.708-4.917c.196-.407.412-.84.645-1.27.061.547.105 1.08.131 1.563a9.256 9.256 0 0 0-.776-.293zm2.218 1.126l-.194.756c-.137.515-.593 1.732-.832 2.223.091-.663.171-2.384.148-2.73.16.049.502-.147.559-.341.057-.195-.564-.495-.564-.495a20.742 20.742 0 0 0-.172-2.7c.142-.23.286-.452.434-.655a12.082 12.082 0 0 0-.186-1.575c.125.041.24.074.323.075.283.004.282-.19.192-.298-.058-.07-.328-.238-.643-.42a12.02 12.02 0 0 0-2.78-5.32c.533.202 1.214.48 1.754.774.41.516 1.585 1.675 2.212 4.92.564 2.922-.06 5.143-.251 5.786zM80.886 8.597v-.24h1.218v.24h-.468v1.191h-.283V8.597h-.467zm1.87-.24l.365 1.025.368-1.024h.406v1.43h-.262V8.634l-.396 1.154h-.229l-.4-1.154v1.154h-.261v-1.43h.409z" />`}</svg></a><div class="side margin-start-end-1-5" slot=logo></div><div class="esri-global-nav__title"><a aria-label=${this._translations.linkToArcGISSolutionsHomePage??n} class="esri-global-nav__logo-link" href=https://www.esri.com/en-us/arcgis/products/arcgis-solutions/overview rel=noopener target=_blank title=${this._translations.linkToArcGISSolutionsHomePage??n}>${this._translations.arcgisSolutions}</a></div></div>`}_getLogoFill(t){return t?"#FFFFFF":"#141414"}_handleMenuClick(t,e,i,a){i.forEach(s=>{s.value&&(s.value.active=!1)}),e.value.active=!0,a&&this.navTabSelected.emit({tabType:t})}_getUserAvatar(){let t=this._portal.user,e=this._authentication?.PortalUserSubset,i=t?.id??t?.sourceJSON?.id;return c`<div class="height-full display-flex cursor-pointer signin-padding"><calcite-avatar class="align-self-center" id=instant-apps-sign-in-user-button scale=l .thumbnail=${t?.thumbnailUrl??e?.thumbnailUrl??""} full-name=${t?.fullName??n} .username=${t?.username} user-id=${i??n}></calcite-avatar></div><calcite-popover placement=bottom-end scale=s reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close .label=${this._translations.userSettings}><div class="margin-start-end-1 padding-top-1"><calcite-label class="user-label font-bold padding-bottom-1" scale=l>${t.fullName??e?.fullName}<calcite-label class="user-label font-normal" scale=m>${t.username??e?.username}</calcite-label></calcite-label></div><calcite-action scale=l @click=${this._signOut} .text=${this._translations.signOut} text-enabled></calcite-action></calcite-popover>`}_signOut(){this._portal.credential?.destroy(),this._portal.authMode="anonymous",this._portal.credential=null,this._authentication?.signOut()}_handleSignIn(t){t.preventDefault(),this._authentication?.signIn().then(()=>{}).catch(e=>{console.error("Error creating global nav header:",e)})}};b("solutions-deploy-app-nav",g);return g},"identity/IdentityManager","identity/OAuthInfo","portal/Portal")
@@ -1,65 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import{a as ke}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as ge}from"./443EHILD.js";import{D as O,E as ue,G as de,I as q,h as ae,i as m,k as le,l as Z,o as oe,t as ce,u as he,v as pe}from"./6WW2DA2G.js";import"./EAS42GZC.js";var R=class extends pe{constructor(e){if(super(e),this.it=Z,e.type!==ce.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Z||e==null)return this._t=void 0,this.it=e;if(e===le)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let s=[e];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};R.directiveName="unsafeHTML",R.resultType=1;var fe=he(R);var Pe=ae`:host{display:block;height:100%}.display-flex-row{display:flex;flex-direction:row}.padding-left-10{padding-left:10px}.chat-container{display:flex;flex-direction:column;gap:0px;max-width:600px;height:75%;background-color:var(--calcite-color-foreground-3);padding:1px}.chat-container_expanded{display:flex;flex-direction:column;gap:0px;max-width:100%;height:95%;background-color:var(--calcite-color-background);border-radius:10px;padding:10px}.chat-panel{--calcite-panel-header-background-color: var(--calcite-color-brand);--calcite-panel-action-background-color: var(--calcite-color-brand);--calcite-panel-heading-text-color: var(--calcite-color-background);--calcite-dialog-min-size-y: 90vh;--calcite-dialog-max-size-y: 90vh}.chat-panel-heading{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.chat-messages{display:flex;flex-direction:column;gap:20px;padding:4px;height:100%;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-brand);--calcite-card-border-color: var(--calcite-color-brand);color:var(--calcite-color-background);text-align:left}.system-message{align-self:flex-start;background:var(--calcite-color-foreground-2);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3);text-align:left}.loader-message{align-self:flex-start;background:var(--calcite-color-foreground-3);border-radius:8px;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3)}.message-content{padding:0;font-size:14px}.message-content p:first-child{margin-top:0}.message-content img{max-width:100%;height:auto;display:block;object-fit:contain}.message-content-pad{padding-bottom:10px;font-size:14px}.message-content-summary{padding-bottom:14px}.message-content-alignment{display:flex;align-items:center;gap:var(--calcite-spacing-md);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}.padding-top-10{padding-top:10px}.padding-right-8{padding-right:8px}.chip-content{padding:5px 5px 5px 0}.chat-input{display:flex;flex-direction:row;flex-grow:1}.table-cell{--calcite-table-cell-background: var(--calcite-color-foreground-3)}.cursor-pointer{cursor:pointer}.notice-border-color{--temp-initial-brand: var(--calcite-color-brand)}.notice-border-color calcite-notice{--calcite-color-brand: #ddd;--calcite-icon-color: var(--temp-initial-brand)}.notice-border-color calcite-notice *{--calcite-color-brand: var(--temp-initial-brand)}.solution-card{padding:5px 0;text-decoration:none;display:block;width:100%;cursor:pointer}.solution-card calcite-card{display:flex;flex-direction:column;max-height:132px;overflow:hidden;--calcite-card-corner-radius: var(--calcite-corner-radius-round) !important;--calcite-card-shadow: var(--calcite-shadow-sm);--calcite-card-background-color: var(--calcite-card-background-color) }.solution-card div[slot=thumbnail]{max-height:100%;width:100%;position:relative;&:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;transition:all .15s ease-in-out}}.solution-card div[slot=thumbnail] img{max-height:100%;width:100%;object-fit:cover}.solution-card span[slot=description]{padding-top:10px}.solution-card calcite-chip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);visibility:hidden;pointer-events:none;opacity:0;transition:all .15s ease-in-out;z-index:9999}.solution-card:hover calcite-chip{visibility:visible;opacity:1}.solution-card:hover div[slot=thumbnail]:after{background-color:#00000080}.solution-card:hover h3{text-decoration:underline}.references-container{padding-top:10px;display:block}.references-container.collapsed{display:none}.width-100{width:100%}.disclaimer-div{display:flex;gap:var(--calcite-spacing-sm);font-size:var(--calcite-font-size--0);color:var(--calcite-color-text-1)}.height-32-flex-auto{height:32px;flex:0 0 auto}`;var Me="https://www.arcgis.com/sharing/rest/content/items/";async function Be(n){return await Qe(n)}async function Qe(n){let e=Me+n+"?f=json";try{let s=await fetch(e,{method:"GET"});if(!s.ok)throw new Error(`HTTP error! Status: ${s.status}`);return await s.json()}catch(s){return{error:s.message}}}function G(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var S=G();function $e(n){S=n}var z={exec:()=>null};function p(n,e=""){let s=typeof n=="string"?n:n.source,i={replace:(t,a)=>{let r=typeof a=="string"?a:a.source;return r=r.replace(x.caret,"$1"),s=s.replace(t,r),i},getRegex:()=>new RegExp(s,e)};return i}var De=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),x={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:n=>new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}#`),htmlBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}<(?:[a-z].*>|!--)`,"i")},Ne=/^(?:[ \t]*(?:\n|$))+/,Ze=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Oe=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,C=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,je=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,W=/(?:[*+-]|\d{1,9}[.)])/,Se=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_e=p(Se).replace(/bull/g,W).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Fe=p(Se).replace(/bull/g,W).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),X=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,He=/^[^\n]+/,J=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Ue=p(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",J).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ge=p(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,W).getRegex(),B="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",K=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,We=p("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",K).replace("tag",B).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Re=p(X).replace("hr",C).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",B).getRegex(),Xe=p(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Re).getRegex(),V={blockquote:Xe,code:Ze,def:Ue,fences:Oe,heading:je,hr:C,html:We,lheading:_e,list:Ge,newline:Ne,paragraph:Re,table:z,text:He},me=p("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",C).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",B).getRegex(),Je={...V,lheading:Fe,table:me,paragraph:p(X).replace("hr",C).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",me).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",B).getRegex()},Ke={...V,html:p(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",K).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:z,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:p(X).replace("hr",C).replace("heading",` *#{1,6} *[^
5
- ]`).replace("lheading",_e).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ve=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Ye=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Te=/^( {2,}|\\)\n(?!\s*$)/,et=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Q=/[\p{P}\p{S}]/u,Y=/[\s\p{P}\p{S}]/u,Ie=/[^\s\p{P}\p{S}]/u,tt=p(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Y).getRegex(),Ae=/(?!~)[\p{P}\p{S}]/u,st=/(?!~)[\s\p{P}\p{S}]/u,nt=/(?:[^\s\p{P}\p{S}]|~)/u,it=p(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",De?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),ze=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,rt=p(ze,"u").replace(/punct/g,Q).getRegex(),at=p(ze,"u").replace(/punct/g,Ae).getRegex(),Ce="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",lt=p(Ce,"gu").replace(/notPunctSpace/g,Ie).replace(/punctSpace/g,Y).replace(/punct/g,Q).getRegex(),ot=p(Ce,"gu").replace(/notPunctSpace/g,nt).replace(/punctSpace/g,st).replace(/punct/g,Ae).getRegex(),ct=p("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Ie).replace(/punctSpace/g,Y).replace(/punct/g,Q).getRegex(),ht=p(/\\(punct)/,"gu").replace(/punct/g,Q).getRegex(),pt=p(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ut=p(K).replace("(?:-->|$)","-->").getRegex(),dt=p("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ut).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),E=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,gt=p(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",E).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),qe=p(/^!?\[(label)\]\[(ref)\]/).replace("label",E).replace("ref",J).getRegex(),Le=p(/^!?\[(ref)\](?:\[\])?/).replace("ref",J).getRegex(),kt=p("reflink|nolink(?!\\()","g").replace("reflink",qe).replace("nolink",Le).getRegex(),xe=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ee={_backpedal:z,anyPunctuation:ht,autolink:pt,blockSkip:it,br:Te,code:Ye,del:z,emStrongLDelim:rt,emStrongRDelimAst:lt,emStrongRDelimUnd:ct,escape:Ve,link:gt,nolink:Le,punctuation:tt,reflink:qe,reflinkSearch:kt,tag:dt,text:et,url:z},ft={...ee,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",E).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",E).getRegex()},j={...ee,emStrongRDelimAst:ot,emStrongLDelim:at,url:p(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",xe).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:p(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",xe).getRegex()},mt={...j,br:p(Te).replace("{2,}","*").getRegex(),text:p(j.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},L={normal:V,gfm:Je,pedantic:Ke},T={normal:ee,gfm:j,breaks:mt,pedantic:ft},xt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},be=n=>xt[n];function y(n,e){if(e){if(x.escapeTest.test(n))return n.replace(x.escapeReplace,be)}else if(x.escapeTestNoEncode.test(n))return n.replace(x.escapeReplaceNoEncode,be);return n}function we(n){try{n=encodeURI(n).replace(x.percentDecode,"%")}catch{return null}return n}function ve(n,e){let s=n.replace(x.findPipe,(a,r,o)=>{let l=!1,h=r;for(;--h>=0&&o[h]==="\\";)l=!l;return l?"|":" |"}),i=s.split(x.splitPipe),t=0;if(i[0].trim()||i.shift(),i.length>0&&!i.at(-1)?.trim()&&i.pop(),e)if(i.length>e)i.splice(e);else for(;i.length<e;)i.push("");for(;t<i.length;t++)i[t]=i[t].trim().replace(x.slashPipe,"|");return i}function I(n,e,s){let i=n.length;if(i===0)return"";let t=0;for(;t<i&&n.charAt(i-t-1)===e;)t++;return n.slice(0,i-t)}function bt(n,e){if(n.indexOf(e[1])===-1)return-1;let s=0;for(let i=0;i<n.length;i++)if(n[i]==="\\")i++;else if(n[i]===e[0])s++;else if(n[i]===e[1]&&(s--,s<0))return i;return s>0?-2:-1}function ye(n,e,s,i,t){let a=e.href,r=e.title||null,o=n[1].replace(t.other.outputLinkReplace,"$1");i.state.inLink=!0;let l={type:n[0].charAt(0)==="!"?"image":"link",raw:s,href:a,title:r,text:o,tokens:i.inlineTokens(o)};return i.state.inLink=!1,l}function wt(n,e,s){let i=n.match(s.other.indentCodeCompensation);if(i===null)return e;let t=i[1];return e.split(`
6
- `).map(a=>{let r=a.match(s.other.beginningSpace);if(r===null)return a;let[o]=r;return o.length>=t.length?a.slice(t.length):a}).join(`
7
- `)}var P=class{options;rules;lexer;constructor(n){this.options=n||S}space(n){let e=this.rules.block.newline.exec(n);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(n){let e=this.rules.block.code.exec(n);if(e){let s=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?s:I(s,`
8
- `)}}}fences(n){let e=this.rules.block.fences.exec(n);if(e){let s=e[0],i=wt(s,e[3]||"",this.rules);return{type:"code",raw:s,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:i}}}heading(n){let e=this.rules.block.heading.exec(n);if(e){let s=e[2].trim();if(this.rules.other.endingHash.test(s)){let i=I(s,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(s=i.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(n){let e=this.rules.block.hr.exec(n);if(e)return{type:"hr",raw:I(e[0],`
9
- `)}}blockquote(n){let e=this.rules.block.blockquote.exec(n);if(e){let s=I(e[0],`
10
- `).split(`
11
- `),i="",t="",a=[];for(;s.length>0;){let r=!1,o=[],l;for(l=0;l<s.length;l++)if(this.rules.other.blockquoteStart.test(s[l]))o.push(s[l]),r=!0;else if(!r)o.push(s[l]);else break;s=s.slice(l);let h=o.join(`
12
- `),c=h.replace(this.rules.other.blockquoteSetextReplace,`
13
- $1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
14
- ${h}`:h,t=t?`${t}
15
- ${c}`:c;let g=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,a,!0),this.lexer.state.top=g,s.length===0)break;let u=a.at(-1);if(u?.type==="code")break;if(u?.type==="blockquote"){let f=u,k=f.raw+`
16
- `+s.join(`
17
- `),b=this.blockquote(k);a[a.length-1]=b,i=i.substring(0,i.length-f.raw.length)+b.raw,t=t.substring(0,t.length-f.text.length)+b.text;break}else if(u?.type==="list"){let f=u,k=f.raw+`
18
- `+s.join(`
19
- `),b=this.list(k);a[a.length-1]=b,i=i.substring(0,i.length-u.raw.length)+b.raw,t=t.substring(0,t.length-f.raw.length)+b.raw,s=k.substring(a.at(-1).raw.length).split(`
20
- `);continue}}return{type:"blockquote",raw:i,tokens:a,text:t}}}list(n){let e=this.rules.block.list.exec(n);if(e){let s=e[1].trim(),i=s.length>1,t={type:"list",raw:"",ordered:i,start:i?+s.slice(0,-1):"",loose:!1,items:[]};s=i?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=i?s:"[*+-]");let a=this.rules.other.listItemRegex(s),r=!1;for(;n;){let l=!1,h="",c="";if(!(e=a.exec(n))||this.rules.block.hr.test(n))break;h=e[0],n=n.substring(h.length);let g=e[2].split(`
21
- `,1)[0].replace(this.rules.other.listReplaceTabs,D=>" ".repeat(3*D.length)),u=n.split(`
22
- `,1)[0],f=!g.trim(),k=0;if(this.options.pedantic?(k=2,c=g.trimStart()):f?k=e[1].length+1:(k=e[2].search(this.rules.other.nonSpaceChar),k=k>4?1:k,c=g.slice(k),k+=e[1].length),f&&this.rules.other.blankLine.test(u)&&(h+=u+`
23
- `,n=n.substring(u.length+1),l=!0),!l){let D=this.rules.other.nextBulletRegex(k),ne=this.rules.other.hrRegex(k),ie=this.rules.other.fencesBeginRegex(k),re=this.rules.other.headingBeginRegex(k),Ee=this.rules.other.htmlBeginRegex(k);for(;n;){let N=n.split(`
24
- `,1)[0],_;if(u=N,this.options.pedantic?(u=u.replace(this.rules.other.listReplaceNesting," "),_=u):_=u.replace(this.rules.other.tabCharGlobal," "),ie.test(u)||re.test(u)||Ee.test(u)||D.test(u)||ne.test(u))break;if(_.search(this.rules.other.nonSpaceChar)>=k||!u.trim())c+=`
25
- `+_.slice(k);else{if(f||g.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||ie.test(g)||re.test(g)||ne.test(g))break;c+=`
26
- `+u}!f&&!u.trim()&&(f=!0),h+=N+`
27
- `,n=n.substring(N.length+1),g=_.slice(k)}}t.loose||(r?t.loose=!0:this.rules.other.doubleBlankLine.test(h)&&(r=!0));let b=null,se;this.options.gfm&&(b=this.rules.other.listIsTask.exec(c),b&&(se=b[0]!=="[ ] ",c=c.replace(this.rules.other.listReplaceTask,""))),t.items.push({type:"list_item",raw:h,task:!!b,checked:se,loose:!1,text:c,tokens:[]}),t.raw+=h}let o=t.items.at(-1);if(o)o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd();else return;t.raw=t.raw.trimEnd();for(let l=0;l<t.items.length;l++)if(this.lexer.state.top=!1,t.items[l].tokens=this.lexer.blockTokens(t.items[l].text,[]),!t.loose){let h=t.items[l].tokens.filter(g=>g.type==="space"),c=h.length>0&&h.some(g=>this.rules.other.anyLine.test(g.raw));t.loose=c}if(t.loose)for(let l=0;l<t.items.length;l++)t.items[l].loose=!0;return t}}html(n){let e=this.rules.block.html.exec(n);if(e)return{type:"html",block:!0,raw:e[0],pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:e[0]}}def(n){let e=this.rules.block.def.exec(n);if(e){let s=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",t=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:s,raw:e[0],href:i,title:t}}}table(n){let e=this.rules.block.table.exec(n);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let s=ve(e[1]),i=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),t=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(`
28
- `):[],a={type:"table",raw:e[0],header:[],align:[],rows:[]};if(s.length===i.length){for(let r of i)this.rules.other.tableAlignRight.test(r)?a.align.push("right"):this.rules.other.tableAlignCenter.test(r)?a.align.push("center"):this.rules.other.tableAlignLeft.test(r)?a.align.push("left"):a.align.push(null);for(let r=0;r<s.length;r++)a.header.push({text:s[r],tokens:this.lexer.inline(s[r]),header:!0,align:a.align[r]});for(let r of t)a.rows.push(ve(r,a.header.length).map((o,l)=>({text:o,tokens:this.lexer.inline(o),header:!1,align:a.align[l]})));return a}}lheading(n){let e=this.rules.block.lheading.exec(n);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(n){let e=this.rules.block.paragraph.exec(n);if(e){let s=e[1].charAt(e[1].length-1)===`
29
- `?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:s,tokens:this.lexer.inline(s)}}}text(n){let e=this.rules.block.text.exec(n);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(n){let e=this.rules.inline.escape.exec(n);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(n){let e=this.rules.inline.tag.exec(n);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(n){let e=this.rules.inline.link.exec(n);if(e){let s=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(s)){if(!this.rules.other.endAngleBracket.test(s))return;let a=I(s.slice(0,-1),"\\");if((s.length-a.length)%2===0)return}else{let a=bt(e[2],"()");if(a===-2)return;if(a>-1){let r=(e[0].indexOf("!")===0?5:4)+e[1].length+a;e[2]=e[2].substring(0,a),e[0]=e[0].substring(0,r).trim(),e[3]=""}}let i=e[2],t="";if(this.options.pedantic){let a=this.rules.other.pedanticHrefTitle.exec(i);a&&(i=a[1],t=a[3])}else t=e[3]?e[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(s)?i=i.slice(1):i=i.slice(1,-1)),ye(e,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:t&&t.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(n,e){let s;if((s=this.rules.inline.reflink.exec(n))||(s=this.rules.inline.nolink.exec(n))){let i=(s[2]||s[1]).replace(this.rules.other.multipleSpaceGlobal," "),t=e[i.toLowerCase()];if(!t){let a=s[0].charAt(0);return{type:"text",raw:a,text:a}}return ye(s,t,s[0],this.lexer,this.rules)}}emStrong(n,e,s=""){let i=this.rules.inline.emStrongLDelim.exec(n);if(!(!i||i[3]&&s.match(this.rules.other.unicodeAlphaNumeric))&&(!(i[1]||i[2])||!s||this.rules.inline.punctuation.exec(s))){let t=[...i[0]].length-1,a,r,o=t,l=0,h=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(h.lastIndex=0,e=e.slice(-1*n.length+t);(i=h.exec(e))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(r=[...a].length,i[3]||i[4]){o+=r;continue}else if((i[5]||i[6])&&t%3&&!((t+r)%3)){l+=r;continue}if(o-=r,o>0)continue;r=Math.min(r,r+o+l);let c=[...i[0]][0].length,g=n.slice(0,t+i.index+c+r);if(Math.min(t,r)%2){let f=g.slice(1,-1);return{type:"em",raw:g,text:f,tokens:this.lexer.inlineTokens(f)}}let u=g.slice(2,-2);return{type:"strong",raw:g,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(n){let e=this.rules.inline.code.exec(n);if(e){let s=e[2].replace(this.rules.other.newLineCharGlobal," "),i=this.rules.other.nonSpaceChar.test(s),t=this.rules.other.startingSpaceChar.test(s)&&this.rules.other.endingSpaceChar.test(s);return i&&t&&(s=s.substring(1,s.length-1)),{type:"codespan",raw:e[0],text:s}}}br(n){let e=this.rules.inline.br.exec(n);if(e)return{type:"br",raw:e[0]}}del(n){let e=this.rules.inline.del.exec(n);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(n){let e=this.rules.inline.autolink.exec(n);if(e){let s,i;return e[2]==="@"?(s=e[1],i="mailto:"+s):(s=e[1],i=s),{type:"link",raw:e[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}url(n){let e;if(e=this.rules.inline.url.exec(n)){let s,i;if(e[2]==="@")s=e[0],i="mailto:"+s;else{let t;do t=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(t!==e[0]);s=e[0],e[1]==="www."?i="http://"+e[0]:i=e[0]}return{type:"link",raw:e[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(n){let e=this.rules.inline.text.exec(n);if(e){let s=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:s}}}},w=class F{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||S,this.options.tokenizer=this.options.tokenizer||new P,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let s={other:x,block:L.normal,inline:T.normal};this.options.pedantic?(s.block=L.pedantic,s.inline=T.pedantic):this.options.gfm&&(s.block=L.gfm,this.options.breaks?s.inline=T.breaks:s.inline=T.gfm),this.tokenizer.rules=s}static get rules(){return{block:L,inline:T}}static lex(e,s){return new F(s).lex(e)}static lexInline(e,s){return new F(s).inlineTokens(e)}lex(e){e=e.replace(x.carriageReturn,`
30
- `),this.blockTokens(e,this.tokens);for(let s=0;s<this.inlineQueue.length;s++){let i=this.inlineQueue[s];this.inlineTokens(i.src,i.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,s=[],i=!1){for(this.options.pedantic&&(e=e.replace(x.tabCharGlobal," ").replace(x.spaceLine,""));e;){let t;if(this.options.extensions?.block?.some(r=>(t=r.call({lexer:this},e,s))?(e=e.substring(t.raw.length),s.push(t),!0):!1))continue;if(t=this.tokenizer.space(e)){e=e.substring(t.raw.length);let r=s.at(-1);t.raw.length===1&&r!==void 0?r.raw+=`
31
- `:s.push(t);continue}if(t=this.tokenizer.code(e)){e=e.substring(t.raw.length);let r=s.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=(r.raw.endsWith(`
32
- `)?"":`
33
- `)+t.raw,r.text+=`
34
- `+t.text,this.inlineQueue.at(-1).src=r.text):s.push(t);continue}if(t=this.tokenizer.fences(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.heading(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.hr(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.blockquote(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.list(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.html(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.def(e)){e=e.substring(t.raw.length);let r=s.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=(r.raw.endsWith(`
35
- `)?"":`
36
- `)+t.raw,r.text+=`
37
- `+t.raw,this.inlineQueue.at(-1).src=r.text):this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title},s.push(t));continue}if(t=this.tokenizer.table(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.lheading(e)){e=e.substring(t.raw.length),s.push(t);continue}let a=e;if(this.options.extensions?.startBlock){let r=1/0,o=e.slice(1),l;this.options.extensions.startBlock.forEach(h=>{l=h.call({lexer:this},o),typeof l=="number"&&l>=0&&(r=Math.min(r,l))}),r<1/0&&r>=0&&(a=e.substring(0,r+1))}if(this.state.top&&(t=this.tokenizer.paragraph(a))){let r=s.at(-1);i&&r?.type==="paragraph"?(r.raw+=(r.raw.endsWith(`
38
- `)?"":`
39
- `)+t.raw,r.text+=`
40
- `+t.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):s.push(t),i=a.length!==e.length,e=e.substring(t.raw.length);continue}if(t=this.tokenizer.text(e)){e=e.substring(t.raw.length);let r=s.at(-1);r?.type==="text"?(r.raw+=(r.raw.endsWith(`
41
- `)?"":`
42
- `)+t.raw,r.text+=`
43
- `+t.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):s.push(t);continue}if(e){let r="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(r);break}else throw new Error(r)}}return this.state.top=!0,s}inline(e,s=[]){return this.inlineQueue.push({src:e,tokens:s}),s}inlineTokens(e,s=[]){let i=e,t=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(t=this.tokenizer.rules.inline.reflinkSearch.exec(i))!=null;)l.includes(t[0].slice(t[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,t.index)+"["+"a".repeat(t[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(t=this.tokenizer.rules.inline.anyPunctuation.exec(i))!=null;)i=i.slice(0,t.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let a;for(;(t=this.tokenizer.rules.inline.blockSkip.exec(i))!=null;)a=t[2]?t[2].length:0,i=i.slice(0,t.index+a)+"["+"a".repeat(t[0].length-a-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);i=this.options.hooks?.emStrongMask?.call({lexer:this},i)??i;let r=!1,o="";for(;e;){r||(o=""),r=!1;let l;if(this.options.extensions?.inline?.some(c=>(l=c.call({lexer:this},e,s))?(e=e.substring(l.raw.length),s.push(l),!0):!1))continue;if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length);let c=s.at(-1);l.type==="text"&&c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):s.push(l);continue}if(l=this.tokenizer.emStrong(e,i,o)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),s.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),s.push(l);continue}let h=e;if(this.options.extensions?.startInline){let c=1/0,g=e.slice(1),u;this.options.extensions.startInline.forEach(f=>{u=f.call({lexer:this},g),typeof u=="number"&&u>=0&&(c=Math.min(c,u))}),c<1/0&&c>=0&&(h=e.substring(0,c+1))}if(l=this.tokenizer.inlineText(h)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(o=l.raw.slice(-1)),r=!0;let c=s.at(-1);c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):s.push(l);continue}if(e){let c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return s}},M=class{options;parser;constructor(n){this.options=n||S}space(n){return""}code({text:n,lang:e,escaped:s}){let i=(e||"").match(x.notSpaceStart)?.[0],t=n.replace(x.endingNewline,"")+`
44
- `;return i?'<pre><code class="language-'+y(i)+'">'+(s?t:y(t,!0))+`</code></pre>
45
- `:"<pre><code>"+(s?t:y(t,!0))+`</code></pre>
46
- `}blockquote({tokens:n}){return`<blockquote>
47
- ${this.parser.parse(n)}</blockquote>
48
- `}html({text:n}){return n}def(n){return""}heading({tokens:n,depth:e}){return`<h${e}>${this.parser.parseInline(n)}</h${e}>
49
- `}hr(n){return`<hr>
50
- `}list(n){let e=n.ordered,s=n.start,i="";for(let r=0;r<n.items.length;r++){let o=n.items[r];i+=this.listitem(o)}let t=e?"ol":"ul",a=e&&s!==1?' start="'+s+'"':"";return"<"+t+a+`>
51
- `+i+"</"+t+`>
52
- `}listitem(n){let e="";if(n.task){let s=this.checkbox({checked:!!n.checked});n.loose?n.tokens[0]?.type==="paragraph"?(n.tokens[0].text=s+" "+n.tokens[0].text,n.tokens[0].tokens&&n.tokens[0].tokens.length>0&&n.tokens[0].tokens[0].type==="text"&&(n.tokens[0].tokens[0].text=s+" "+y(n.tokens[0].tokens[0].text),n.tokens[0].tokens[0].escaped=!0)):n.tokens.unshift({type:"text",raw:s+" ",text:s+" ",escaped:!0}):e+=s+" "}return e+=this.parser.parse(n.tokens,!!n.loose),`<li>${e}</li>
53
- `}checkbox({checked:n}){return"<input "+(n?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:n}){return`<p>${this.parser.parseInline(n)}</p>
54
- `}table(n){let e="",s="";for(let t=0;t<n.header.length;t++)s+=this.tablecell(n.header[t]);e+=this.tablerow({text:s});let i="";for(let t=0;t<n.rows.length;t++){let a=n.rows[t];s="";for(let r=0;r<a.length;r++)s+=this.tablecell(a[r]);i+=this.tablerow({text:s})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
55
- <thead>
56
- `+e+`</thead>
57
- `+i+`</table>
58
- `}tablerow({text:n}){return`<tr>
59
- ${n}</tr>
60
- `}tablecell(n){let e=this.parser.parseInline(n.tokens),s=n.header?"th":"td";return(n.align?`<${s} align="${n.align}">`:`<${s}>`)+e+`</${s}>
61
- `}strong({tokens:n}){return`<strong>${this.parser.parseInline(n)}</strong>`}em({tokens:n}){return`<em>${this.parser.parseInline(n)}</em>`}codespan({text:n}){return`<code>${y(n,!0)}</code>`}br(n){return"<br>"}del({tokens:n}){return`<del>${this.parser.parseInline(n)}</del>`}link({href:n,title:e,tokens:s}){let i=this.parser.parseInline(s),t=we(n);if(t===null)return i;n=t;let a='<a href="'+n+'"';return e&&(a+=' title="'+y(e)+'"'),a+=">"+i+"</a>",a}image({href:n,title:e,text:s,tokens:i}){i&&(s=this.parser.parseInline(i,this.parser.textRenderer));let t=we(n);if(t===null)return y(s);n=t;let a=`<img src="${n}" alt="${s}"`;return e&&(a+=` title="${y(e)}"`),a+=">",a}text(n){return"tokens"in n&&n.tokens?this.parser.parseInline(n.tokens):"escaped"in n&&n.escaped?n.text:y(n.text)}},te=class{strong({text:n}){return n}em({text:n}){return n}codespan({text:n}){return n}del({text:n}){return n}html({text:n}){return n}text({text:n}){return n}link({text:n}){return""+n}image({text:n}){return""+n}br(){return""}},v=class H{options;renderer;textRenderer;constructor(e){this.options=e||S,this.options.renderer=this.options.renderer||new M,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new te}static parse(e,s){return new H(s).parse(e)}static parseInline(e,s){return new H(s).parseInline(e)}parse(e,s=!0){let i="";for(let t=0;t<e.length;t++){let a=e[t];if(this.options.extensions?.renderers?.[a.type]){let o=a,l=this.options.extensions.renderers[o.type].call({parser:this},o);if(l!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(o.type)){i+=l||"";continue}}let r=a;switch(r.type){case"space":{i+=this.renderer.space(r);continue}case"hr":{i+=this.renderer.hr(r);continue}case"heading":{i+=this.renderer.heading(r);continue}case"code":{i+=this.renderer.code(r);continue}case"table":{i+=this.renderer.table(r);continue}case"blockquote":{i+=this.renderer.blockquote(r);continue}case"list":{i+=this.renderer.list(r);continue}case"html":{i+=this.renderer.html(r);continue}case"def":{i+=this.renderer.def(r);continue}case"paragraph":{i+=this.renderer.paragraph(r);continue}case"text":{let o=r,l=this.renderer.text(o);for(;t+1<e.length&&e[t+1].type==="text";)o=e[++t],l+=`
62
- `+this.renderer.text(o);s?i+=this.renderer.paragraph({type:"paragraph",raw:l,text:l,tokens:[{type:"text",raw:l,text:l,escaped:!0}]}):i+=l;continue}default:{let o='Token with "'+r.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return i}parseInline(e,s=this.renderer){let i="";for(let t=0;t<e.length;t++){let a=e[t];if(this.options.extensions?.renderers?.[a.type]){let o=this.options.extensions.renderers[a.type].call({parser:this},a);if(o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){i+=o||"";continue}}let r=a;switch(r.type){case"escape":{i+=s.text(r);break}case"html":{i+=s.html(r);break}case"link":{i+=s.link(r);break}case"image":{i+=s.image(r);break}case"strong":{i+=s.strong(r);break}case"em":{i+=s.em(r);break}case"codespan":{i+=s.codespan(r);break}case"br":{i+=s.br(r);break}case"del":{i+=s.del(r);break}case"text":{i+=s.text(r);break}default:{let o='Token with "'+r.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return i}},A=class{options;block;constructor(n){this.options=n||S}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(n){return n}postprocess(n){return n}processAllTokens(n){return n}emStrongMask(n){return n}provideLexer(){return this.block?w.lex:w.lexInline}provideParser(){return this.block?v.parse:v.parseInline}},vt=class{defaults=G();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=v;Renderer=M;TextRenderer=te;Lexer=w;Tokenizer=P;Hooks=A;constructor(...n){this.use(...n)}walkTokens(n,e){let s=[];for(let i of n)switch(s=s.concat(e.call(this,i)),i.type){case"table":{let t=i;for(let a of t.header)s=s.concat(this.walkTokens(a.tokens,e));for(let a of t.rows)for(let r of a)s=s.concat(this.walkTokens(r.tokens,e));break}case"list":{let t=i;s=s.concat(this.walkTokens(t.items,e));break}default:{let t=i;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(a=>{let r=t[a].flat(1/0);s=s.concat(this.walkTokens(r,e))}):t.tokens&&(s=s.concat(this.walkTokens(t.tokens,e)))}}return s}use(...n){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(s=>{let i={...s};if(i.async=this.defaults.async||i.async||!1,s.extensions&&(s.extensions.forEach(t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){let a=e.renderers[t.name];a?e.renderers[t.name]=function(...r){let o=t.renderer.apply(this,r);return o===!1&&(o=a.apply(this,r)),o}:e.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||t.level!=="block"&&t.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let a=e[t.level];a?a.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&(t.level==="block"?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:t.level==="inline"&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),i.extensions=e),s.renderer){let t=this.defaults.renderer||new M(this.defaults);for(let a in s.renderer){if(!(a in t))throw new Error(`renderer '${a}' does not exist`);if(["options","parser"].includes(a))continue;let r=a,o=s.renderer[r],l=t[r];t[r]=(...h)=>{let c=o.apply(t,h);return c===!1&&(c=l.apply(t,h)),c||""}}i.renderer=t}if(s.tokenizer){let t=this.defaults.tokenizer||new P(this.defaults);for(let a in s.tokenizer){if(!(a in t))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;let r=a,o=s.tokenizer[r],l=t[r];t[r]=(...h)=>{let c=o.apply(t,h);return c===!1&&(c=l.apply(t,h)),c}}i.tokenizer=t}if(s.hooks){let t=this.defaults.hooks||new A;for(let a in s.hooks){if(!(a in t))throw new Error(`hook '${a}' does not exist`);if(["options","block"].includes(a))continue;let r=a,o=s.hooks[r],l=t[r];A.passThroughHooks.has(a)?t[r]=h=>{if(this.defaults.async&&A.passThroughHooksRespectAsync.has(a))return(async()=>{let g=await o.call(t,h);return l.call(t,g)})();let c=o.call(t,h);return l.call(t,c)}:t[r]=(...h)=>{if(this.defaults.async)return(async()=>{let g=await o.apply(t,h);return g===!1&&(g=await l.apply(t,h)),g})();let c=o.apply(t,h);return c===!1&&(c=l.apply(t,h)),c}}i.hooks=t}if(s.walkTokens){let t=this.defaults.walkTokens,a=s.walkTokens;i.walkTokens=function(r){let o=[];return o.push(a.call(this,r)),t&&(o=o.concat(t.call(this,r))),o}}this.defaults={...this.defaults,...i}}),this}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,e){return w.lex(n,e??this.defaults)}parser(n,e){return v.parse(n,e??this.defaults)}parseMarkdown(n){return(e,s)=>{let i={...s},t={...this.defaults,...i},a=this.onError(!!t.silent,!!t.async);if(this.defaults.async===!0&&i.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(t.hooks&&(t.hooks.options=t,t.hooks.block=n),t.async)return(async()=>{let r=t.hooks?await t.hooks.preprocess(e):e,o=await(t.hooks?await t.hooks.provideLexer():n?w.lex:w.lexInline)(r,t),l=t.hooks?await t.hooks.processAllTokens(o):o;t.walkTokens&&await Promise.all(this.walkTokens(l,t.walkTokens));let h=await(t.hooks?await t.hooks.provideParser():n?v.parse:v.parseInline)(l,t);return t.hooks?await t.hooks.postprocess(h):h})().catch(a);try{t.hooks&&(e=t.hooks.preprocess(e));let r=(t.hooks?t.hooks.provideLexer():n?w.lex:w.lexInline)(e,t);t.hooks&&(r=t.hooks.processAllTokens(r)),t.walkTokens&&this.walkTokens(r,t.walkTokens);let o=(t.hooks?t.hooks.provideParser():n?v.parse:v.parseInline)(r,t);return t.hooks&&(o=t.hooks.postprocess(o)),o}catch(r){return a(r)}}}onError(n,e){return s=>{if(s.message+=`
63
- Please report this to https://github.com/markedjs/marked.`,n){let i="<p>An error occurred:</p><pre>"+y(s.message+"",!0)+"</pre>";return e?Promise.resolve(i):i}if(e)return Promise.reject(s);throw s}}},$=new vt;function d(n,e){return $.parse(n,e)}d.options=d.setOptions=function(n){return $.setOptions(n),d.defaults=$.defaults,$e(d.defaults),d};d.getDefaults=G;d.defaults=S;d.use=function(...n){return $.use(...n),d.defaults=$.defaults,$e(d.defaults),d};d.walkTokens=function(n,e){return $.walkTokens(n,e)};d.parseInline=$.parseInline;d.Parser=v;d.parser=v.parse;d.Renderer=M;d.TextRenderer=te;d.Lexer=w;d.lexer=w.lex;d.Tokenizer=P;d.Hooks=A;d.parse=d;d.options;d.setOptions;d.use;d.walkTokens;d.parseInline;v.parse;w.lex;var U=class extends ue{constructor(){super(),this.serverRoot="https://aiservices-beta.arcgis.com/",this.solutionAIurl=`${this.serverRoot}skills/solution_deployment/chat`,this.docAIurl=`${this.serverRoot}skills/doc_ai_assistant/chat`,this.token=null,this.open=!1,this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this._isLoading=!1,this._isLoadingText="",this.messages=[],this._showCopyAlert=!1,this._translations=ke({name:"arcgis-solutions-assistant",blocking:!0}),this.closeAssistant=oe(),this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setMessageContainerRef=e=>{this._chatContainer=e},this._setInputRef=e=>{this._inputRef=e,this._inputRef.addEventListener("keydown",s=>{s.key==="Enter"&&!s.shiftKey&&(s.preventDefault(),this.handleSendMessage())}),setTimeout(()=>{this._inputRef?.focus()},100)},this._submitQuestion=e=>{this._inputRef&&(this._inputRef.value=e,this.handleSendMessage())},this.listenOn(window,"submitQuestion",e=>{this._submitQuestion(e.detail)})}static{this.properties={serverRoot:1,solutionAIurl:1,docAIurl:1,token:1,open:5,conversationStore:16,_isLoading:16,_isLoadingText:16,messages:16,_showCopyAlert:16,_translations:16}}static{this.styles=Pe}async handleSendMessage(){if(!this._inputRef?.value.trim())return;this._isLoading=!0;let e=this._inputRef.value.trim();this._inputRef.value="";let s={message:e,context:{debug:!1,kind:"SolutionRequest"}};if(this.conversationStore.conversationId!==null){if(s.conversationId=this.conversationStore.conversationId,this.token){let i={author:"human",conversationId:this.conversationStore.conversationId?this.conversationStore.conversationId:"",message:e,render:this._renderSimpleTextMessage(e,"human","","Other")};this.messages=[...this.messages,i];let t=await this.requestAIServer(s,this.token,this.solutionAIurl);this.loopRequest(t,this.token,this.solutionAIurl)}}else if(this.token){let i={author:"human",message:e,render:this._renderSimpleTextMessage(e,"human","","Other")};this.messages=[...this.messages,i];let t=await this.requestAIServer(s,this.token,this.solutionAIurl);this.conversationStore.conversationId=t.conversationId,this.conversationStore.inquiryId=t.inquiryId,this.conversationStore.ackSequenceNumber=t.sequenceNumber,this.loopRequest(t,this.token,this.solutionAIurl)}}async loopRequest(e,s,i){let t=e;for(this._isLoading=!0;t.hasMore;){let a={conversationId:t.conversationId,ackSequenceNumber:t.sequenceNumber,inquiryId:t.inquiryId};if(t=await this.requestAIServer(a,s,i),t.context)if(this.conversationStore.context=t.context,t.context.intent)switch(t.context.intent){case"Solution question":this.messages.push({author:"ai",conversationId:t.conversationId,intent:"Solution question",message:t.message??""});let r={message:t.message,conversationId:a.conversationId,context:{kind:"DocAIAssistantRequest",filters:{products:"ArcGIS Solutions"}}};t=await this.requestAIServer(r,s,this.docAIurl);break;case"Recommend solution":if(t.context.results&&t.context.results?.length>0){let o={author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Recommend solution",render:this._renderSuggestedSolutions(t.message??"",t.context.results,t.conversationId,"Recommend solution")};this.messages.push(o)}break;default:this.messages.push({author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Other",render:this._renderSimpleTextMessage(t.message??"","ai",t.conversationId,"Other")});break}else if(t.context.results){for(let r of t.context.results)if(r.reply!==""){this._isLoadingText="";let o=await Promise.resolve(d(r.reply));this.messages.push({message:o,author:"ai",conversationId:t.conversationId,intent:"Solution question",render:this._renderDocAssistantResults(o,r.reply,r.ref,r.followupQuestions,t.conversationId,"Solution question")})}}else{t.context.kind&&t.context.kind.toLowerCase()==="ArcGISErrorAsContext".toLowerCase()?this.messages.push({author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Error",render:this._renderSimpleTextMessage(this._translations.genericErrorMessage,"ai",t.conversationId,"Error")}):this.messages.push({author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Other",render:this._renderSimpleTextMessage(t.message??"","ai",t.conversationId,"Error")});break}}this._isLoading=!1}async requestAIServer(e,s,i){try{let t=await(await fetch(i,{method:"POST",headers:{"Content-Type":"application/json",token:s},body:JSON.stringify(e)})).json();if(t)return t;throw new Error("No data returned")}catch(t){throw new Error(`Request failed: ${t}`)}}resetChat(){let e=this.messages[this.messages.length-1];if(e.author!=="system"&&e.conversationId!=="-1"){this._resetConversation();let s={author:"system",conversationId:"-1",message:this._translations.newConversationStarted,render:this._renderSimpleTextMessage(this._translations.newConversationStarted,"system","","Other","speech-bubble-plus")};this.messages=[...this.messages,s],this._inputRef&&(this._inputRef.value="")}}willUpdate(e){this.messages.length===0&&this._translations.defaultStartUpMessage&&(this.messages=[{author:"ai",conversationId:"",message:this._translations.defaultStartUpMessage,render:this._renderSimpleTextMessage(this._translations.defaultStartUpMessage,"ai","","Other")}])}updated(e){(e.size||this._isLoading)&&this._scrollToBottom()}_renderFeedback(e,s,i,t){return m`<div><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-up label="position feedback" kind=neutral @click=${()=>{this._sendFeedback(e,s,"Good",i,t)}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-down label="position feedback" kind=neutral @click=${()=>{this._sendFeedback(e,s,"Bad",i,t)}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=copy label="position feedback" kind=neutral @click=${()=>{this._copyResponseToClipboard(e)}}></calcite-button></div>`}_renderSolutionQuestionReferences(e){return e.map(s=>m`<div class="message-content-pad"><a href=${s.url??q} target=_blank>${s.title}</a></div>`)}_renderSolutionQuestionFollowup(e){return e.map(s=>m`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${s} @click=${()=>{this._submitFollowupQuestion(s)}}>${s}</calcite-chip>`)}_renderSolutionsQuestionTable(e,s,i){let t=this._renderSolutionQuestionReferences(s),a=this._renderSolutionQuestionFollowup(i);return m`<div><div slot=description class="message-content">${fe(e)}<div style="display: flex; justify-content: flex-start;"><calcite-button appearance=outline icon-end=chevron-down icon-start=link @click=${r=>{let o=r.currentTarget.parentElement?.nextElementSibling;o.classList.toggle("collapsed"),r.currentTarget.setAttribute("icon-end",o.classList.contains("collapsed")?"chevron-down":"chevron-up")}}>${`${s.length} ${s.length===1?this._translations.solutionsDocReference:this._translations.solutionsDocReferences}`}</calcite-button></div><div class="references-container collapsed">${t}</div></div><div class="padding-top-10">${a}</div></div>`}_renderSolutionCard(e,s){return m`<a class="solution-card" id=${s??q} @click=${()=>{this._emitItemIdFromAI(s)}}>${m`<calcite-card thumbnail-position=inline-start><div slot=thumbnail><img src=${e.thumbnail??q} alt=Thumbnail><calcite-chip icon=launch label="View solution">${this._translations.viewSolutionInApp}</calcite-chip></div><h3 slot=heading><b>${e.title}</b></h3><span slot=description>${e.snippet}</span></calcite-card>`}</a>`}_renderExistingSolutionsTable(e,s){let i=s.map(t=>{let a=t.thumbnail.match(/\/items\/([a-f0-9]+)\//);return a?this._renderSolutionCard(t,a[1]):null}).filter(t=>t!==null);return m`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${i}</div></div>`}_renderSimpleTextMessage(e,s,i,t,a){let r=this.messages.length>=2?this._getMostRecentQuestion():"",o=typeof r=="string"?"":r?.message??"";return s==="system"?m`<div class="message-content message-content-alignment">${a&&m`<calcite-icon .icon=${a}></calcite-icon>`||""}${e}</div>`:m`<calcite-card class=${de(s==="human"?"user-message":"system-message")}><div class="message-content">${e}${s==="ai"&&i!==""&&this._renderFeedback(e,o,i,t)||""}</div></calcite-card>`}_renderDocAssistantResults(e,s,i,t,a,r){let o=this._getMostRecentQuestion();return m`<calcite-card class="system-message"><div class="message-content">${this._renderSolutionsQuestionTable(e,i,t)}${this._renderFeedback(s,o?.message??"",a,r)}</div></calcite-card>`}_renderSuggestedSolutions(e,s,i,t){let a=this._getMostRecentQuestion(),r=s.map(o=>`- ${o.title}`).join(`
64
- `);return m`<calcite-card class="system-message"><div class="message-content">${this._renderExistingSolutionsTable(e,s)}${this._renderFeedback(e+`
65
- `+r.toString(),a?.message??"",i,t)}</div></calcite-card>`}render(){return m`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${()=>{this.closeAssistant.emit(!0),this.open=!1}}><span class="chat-panel-heading" slot=header-content><span class="padding-right-8">${this._translations.solutionAssistantTitle}</span><calcite-chip .label=${this._translations.betaTag} .value=${this._translations.betaTag}>${this._translations.betaTag}</calcite-chip></span>${this.messages.length>1?m`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent icon-end=speech-bubble-plus label="New conversation" kind=neutral></calcite-button>`:""}<div class="chat-messages" ${O(this._setMessageContainerRef)}>${this.messages.map(e=>e.render)}${this._isLoading&&m`<calcite-card class="loader-message"><div class="message-content display-flex-row"><calcite-loader .label=${this._isLoadingText} inline scale=s></calcite-loader>${this._isLoadingText!=""&&m`<div class="padding-left-10">${this._isLoadingText}</div>`||""}</div></calcite-card>`||""}</div><div slot=footer class="width-100"><div class="chat-input"><calcite-text-area resize=none rows=3 .placeholder=${this._translations.sendMessage} value ${O(this._setInputRef)}></calcite-text-area><calcite-button icon-start=send appearance=outline kind=neutral @click=${this.handleSendMessage} .disabled=${!!this._isLoading}></calcite-button></div><div class="disclaimer-div padding-top-10" slot=footer><calcite-icon icon=information scale=s></calcite-icon>${this._translations.disclaimerMessage}<a href=https://trust.arcgis.com/en/security-concern/ target=_blank>${this._translations.reportConcern}</a></div></div><calcite-alert auto-close auto-close-duration=fast kind=success .label=${this._translations.copyResponse} .open=${this._showCopyAlert} @close=${()=>{this._showCopyAlert=!1}} @calciteAlertClose=${()=>{this._showCopyAlert=!1}}><div slot=title>${this._translations.copyResponse}</div></calcite-alert></calcite-dialog>`}_scrollToBottom(){this._chatContainer&&setTimeout(()=>{this._chatContainer&&(this._chatContainer.scrollTop=this._chatContainer.scrollHeight)},100)}_emitItemIdFromAI(e){this._querySolutions(e).then(s=>{let i=s.typeKeywords.filter(a=>a.includes("solutionid")),t=new CustomEvent("solutionIDFromAssistant",{detail:i.length>0?i[0]:e,bubbles:!0,composed:!0});window.dispatchEvent(t)})}_submitFollowupQuestion(e){let s=new CustomEvent("submitQuestion",{detail:e,bubbles:!0,composed:!0});window.dispatchEvent(s)}_getMostRecentQuestion(){return[...this.messages].reverse().find(e=>e.author==="human")||null}async _querySolutions(e){let s=await Be(e);if("error"in s)throw new Error(s.error);return s}_sendFeedback(e,s,i,t,a){let r=`https://survey123.arcgis.com/share/6e349a50b4504ca6b6107216d568db5f?field:_source=${encodeURIComponent("Solutions Assistant")}&field:user_evaluation=${encodeURIComponent(i)}&field:question=${encodeURIComponent(s)}&field:answer=${encodeURIComponent(e)}&field:context=${encodeURIComponent(JSON.stringify({intent:a}))}&field:conversation_id=${encodeURIComponent(t)}&field:version=${encodeURIComponent("v1")}`;window.open(r,"_blank")}_copyResponseToClipboard(e){navigator.clipboard.writeText(e),this._showCopyAlert=!0}};ge("arcgis-solutions-assistant",U);export{U as ArcgisSolutionsAssistant};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import d from"./KZD2C2ML.js";import{b as w}from"./VW2WEXVP.js";import b from"./KX7PNFBK.js";import{a as g,b as S,c as C,d as f}from"./DVGLTRJU.js";import a from"./UM5O6SR4.js";import{a as r}from"./T6FIJDJK.js";import"./KSO7CXKH.js";import"./GFXNHLR7.js";import"./CYG5JUF7.js";import"./3E3IBLXH.js";import"./EROCJUGG.js";import"./VX2H4KEW.js";import"./L2WHYM3J.js";import"./ZAL2JPN6.js";import"./ENUF5QK4.js";import"./BOHI7OOB.js";import"./KXKFOLKN.js";import"./XIKGCL6Z.js";import"./EYIL3WCN.js";import"./IMPPWVVG.js";import"./YMNTHO2F.js";import"./4SOCIVF6.js";import"./R6MJ3BWC.js";import"./ZVYGJ3ZV.js";import"./74AIX5RH.js";import"./T5CPOSYR.js";import{p as m}from"./27VT6FGO.js";import{a as v}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as y}from"./443EHILD.js";import{C as s,D as i,E as T,G as u,h as _,i as c,o as n}from"./6WW2DA2G.js";import"./EAS42GZC.js";export default $arcgis.t(([,{g:x,h:k},$])=>{var L=_`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.back-color-override{background-color:var(--calcite-color-foreground-2);--calcite-tab-border-color: var(--calcite-color-foreground-3)}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tabs{--calcite-color-focus: transparent;height:100%}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-resources-shell,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}`,p=class extends T{constructor(){super(),this.sortType="relevance",this.useLocalAppConfig=!1,this.authentication=void 0,this._isLoaded=!1,this.isMobile=!1,this._translations=v({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${m}`,this._allCards=[],this._allShell=s(),this._allTab=s(),this._allTabTitle=s(),this._resourcesTab=s(),this._resourcesTabTitle=s(),this._authContextProvider=r({context:C}),this._categories=[],this._configContextProvider=r({context:f}),this._delay=!1,this._deployAppNav=s(),this._deployedCardPanel=s(),this._deployedCardTab=s(),this._deployedCardTabTitle=s(),this._detailsShell=s(),this._detailsTab=s(),this._detailsTabTitle=s(),this._getSuggested=!1,this._isMobileContextProvider=r({context:S}),this._mySolutionsShell=s(),this._mySolutionsTab=s(),this._mySolutionsTabTitle=s(),this._sortField="relevance",this._sortOrder="desc",this._userSessionContextProvider=r({context:g}),this.deployAppTabSelected=n(),this.detailsCardSelected=n(),this.deployedCardSelected=n(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"deployProgressEnd",this._deployProgressEnd),this.listenOn(window,"navTabSelected",this._setActiveTab),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={appConfig:1,sortType:1,useLocalAppConfig:5,authentication:16,_isLoaded:16,isMobile:16,_translations:16}}static{this.styles=L}async selectTab(t,e){if(this._isLoaded){let a=this._getDefaultSearchOptions(e);switch(t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,a&&await this._allShell.value?.searchSolutions(a);break;case"resources":this._resourcesTab.value.selected=!0,this._resourcesTabTitle.value.selected=!0;break;case"deployed-card":alert("need to figure out the lookup here since it will need to happen based on id");break;case"details":if(this._allCards){let l=x(this._allCards,t.tabTitleOrId);l=l||k(this._allCards,t.tabTitleOrId),l?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(l)):(t.tabType="all-solutions",this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,a&&await this._mySolutionsShell.value?.searchSolutions(a);break}this._setActiveTab(new CustomEvent("setActiveTab",{detail:t})),this._blurTabs()}else this._initTab=t,this._initFilters=e}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){this.useLocalAppConfig&&(this.appConfig=w)}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return c`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} @authInit=${this._handleAuthInit} slot=header .useLocalAppConfig=${this.useLocalAppConfig} ${i(this._deployAppNav)}></solutions-deploy-app-nav><div class="border" slot=header></div><solutions-searchsort-toolbar .isMobile=${this.isMobile} slot=header></solutions-searchsort-toolbar><calcite-loader class=${u(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader><calcite-tabs class=${u(e)} scale=l><calcite-tab-nav class="display-none" slot=title-group><calcite-tab-title ${i(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title>${this.authentication?.IsSignedIn?c`<calcite-tab-title ${i(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title>`:""}<calcite-tab-title ${i(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${i(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${i(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${i(this._allTab)}><solutions-all-shell class="height-100" ${i(this._allShell)}></solutions-all-shell></calcite-tab>${this.authentication?.IsSignedIn?c`<calcite-tab class="back-color-override tab-space-0" ${i(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${i(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab>`:""}<calcite-tab class="back-color-override tab-space-0" ${i(this._resourcesTab)}><solutions-resources-shell class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${i(this._detailsTab)}><solution-details-panel class="height-100" ${i(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${i(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" ${i(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}async _handleAuthInit(t){let e=t.detail;e.userSession&&this._userSessionContextProvider.setValue(e.userSession),e.authentication&&(this.authentication=e.authentication,this._authContextProvider.setValue(this.authentication)),this._cardsFetcher=new $(e.locale,e.orgUrl,e.portalUrl),await this._getSolutions(e.primarySolutionsGroupId),e.allCards=this._allCards,this._configContextProvider.setValue(e),this._isLoaded=!0,this._initTab&&(this.selectTab(this._initTab,this._initFilters),this._initTab=void 0,this._initFilters=void 0)}_mediaQueryChange(t){this.isMobile=t.matches,this._isMobileContextProvider.setValue(this.isMobile)}_setActiveTab(t){let e=t.detail.tabType;switch(e){case"all-solutions":this._allTabTitle.value?.click();break;case"deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"deployed-card":this._deployedCardTabTitle.value?.click();case"details":this._detailsTabTitle.value?.click();break}e!=="details"&&(this._deployAppNav.value.activateMenuItem(e),this.deployAppTabSelected.emit(e))}_detailsCardSelected(){this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0,this._deployAppNav.value.clearMenuItems()}_deployedCardSelected(){this._deployedCardTabTitle.value.selected=!0,this._deployedCardTab.value.selected=!0,this._deployAppNav.value.clearMenuItems()}_deployProgressEnd(){this._mySolutionsTabTitle.value.selected=!0,this._mySolutionsTab.value.selected=!0}async _getSolutions(t){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},t,"",this._userSessionContextProvider.value,{num:1e3});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this._allCards}_blurTabs(){this._allTabTitle.value?.blur(),this._resourcesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_getDefaultSearchOptions(t){let e;if(t){let a=t.domain,l=t.industry,b=t.offerType,d=t.searchTerm,A="",o=t.sortField,h=t.owner;e=a||l?{type:a?"domain":l?"industry":""}:void 0,a&&(e=e?{...e,domain:a}:{domain:a}),l&&(e=e?{...e,industry:l}:{industry:l}),d&&(e=e?{...e,searchTerm:d}:{searchTerm:d}),e&&(e={...e,displayValue:A}),o&&(e=e?{...e,sortType:o}:{sortType:o}),b&&(o=b.toLowerCase(),e=e?{...e,sortType:o}:{sortType:o}),h&&(e=e?{...e,owner:h}:{owner:h})}return e}};y("solutions-deploy-app",p);return p},a,b,d)
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import a from"./UM5O6SR4.js";import"./KSO7CXKH.js";import"./GFXNHLR7.js";import"./CYG5JUF7.js";import"./3E3IBLXH.js";import"./EROCJUGG.js";import"./VX2H4KEW.js";import"./L2WHYM3J.js";import"./ZAL2JPN6.js";import"./ENUF5QK4.js";import"./BOHI7OOB.js";import"./KXKFOLKN.js";import"./XIKGCL6Z.js";import"./EYIL3WCN.js";import"./IMPPWVVG.js";import"./YMNTHO2F.js";import"./4SOCIVF6.js";import"./R6MJ3BWC.js";import"./ZVYGJ3ZV.js";import"./74AIX5RH.js";import"./T5CPOSYR.js";import{a as S}from"./G24DNHCB.js";import"./4QNOYSPY.js";import{c as w,j as M}from"./R22HIDGZ.js";import{j as u}from"./27VT6FGO.js";import"./4BXRZ62B.js";import{b as $}from"./SZNJD54W.js";import{a as L}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as v}from"./443EHILD.js";import{C as r,D as h,E as I,G as f,h as y,i as o,l as m,o as p,r as g}from"./6WW2DA2G.js";import"./EAS42GZC.js";export default $arcgis.t(([{l:W}])=>{function V(l){return l?.indexOf("http://")!==-1}function b(l){return V(l)?l.replace(/^http:\/\//,"https://"):l}function T(l,e,i){return i&&i.forEach(s=>{l.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=b(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=b(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=b(s.proxyUrl))}}))})}),l}var k=y`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block;--calcite-label-margin-bottom: 0;--calcite-block-padding: 0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none!important}.visibility-hidden-1{visibility:hidden;height:1px}.hidden{visibility:hidden!important}.display-flex{display:flex}.display-none{display:none}.display-block{display:block}.absolute-right{position:absolute;right:0;left:unset}.esri-ui-inner-container.esri-ui-corner-container{direction:ltr}html[dir=rtl] .absolute-right{left:0;right:unset}.panel-header-override{--calcite-panel-header-content-space: 0px}@media only screen and (max-width:1024px){.esri-zoom{display:none!important}}}`,_=class extends I{constructor(){super(),this.defaultWebmapId="",this.defaultLayerId="",this.enableHome=!1,this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableShare=!1,this.enableMapLayerPicker=!1,this.enableMapPicker=!1,this.enableSingleExpand=!1,this.enableSearch=!1,this.enableBasemap=!1,this.featureSelectionMode="multiple",this.hide=!1,this.zoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-leading",this.mobileMapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.stackTools=!1,this.mapToolsOrder=[],this.mobileToolsOrder=[],this.isMapLayout=!1,this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.selectedFeaturesIds=[],this.showOnlyUpdatableLayers=!1,this.isMobile=!1,this.enableSelectionTool=!1,this._configLayerOrderDefined=!1,this._translations=L({name:"map-card",blocking:!0}),this._toolInfos=[],this._filterActive=!1,this._enabledLayerIds=[],this._defaultWebmapHonored=!1,this._loadedId="",this._mapDiv=r(),this._mapPicker=r(),this._mapTools=r(),this._mobMapTools=r(),this._mapListExpanded=!1,this._definitionExpression="",this._mapLayerPicker=r(),this._toolbar=r(),this._selectedWebMapId="",this._isValidWebMap=!0,this.mapChanged=p(),this.beforeMapChanged=p(),this.toggleFilter=p(),this.clearSelection=p(),this.editMultipleFeatures=p(),this.listenOn(window,"mapInfoChange",this.mapInfoChange),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.enableSingleExpand=!0,this.stackTools=!0,S(window)}static{this.properties={appLayout:1,appProxies:1,defaultWebmapId:1,defaultLayerId:1,enableHome:5,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableShare:5,enableMapLayerPicker:5,enableMapPicker:5,enableSingleExpand:5,enableSearch:5,enableBasemap:5,featureSelectionMode:1,basemapConfig:0,hide:5,zoomToolsSize:1,mapInfos:0,mapWidgetsIndex:9,mapWidgetsPosition:1,mobileMapWidgetsPosition:1,mapWidgetsSize:1,mapView:0,stackTools:5,theme:1,mapToolsOrder:0,mobileToolsOrder:0,isMapLayout:5,shareIncludeEmbed:5,shareIncludeSocial:5,selectedFeaturesIds:0,selectedLayer:0,zoomToScale:9,showOnlyUpdatableLayers:5,isMobile:5,mapInfo:0,enableSelectionTool:5,_configLayerOrderDefined:16,_translations:16,_searchConfiguration:16,_webMapInfo:16,_toolInfos:16,_filterActive:16,_mapDivHeight:16,_mapDivWidth:16}}static{this.styles=k}static{this.shadowRootOptions=g}willUpdate(e){e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("selectedLayer")&&this.selectedLayerWatchHandler(),e.has("selectedFeaturesIds")&&this.selectedFeaturesIdsWatchHandler()}appLayoutWatchHandler(){this._updateShareUrl()}async mapInfoWatchHandler(){this._configLayerOrderDefined="configLayerOrder"in(this.mapInfo?.layerOptions||{}),this._enabledLayerIds=W(this.mapInfo?.layerOptions?.layers||[],this.mapInfo?.layerOptions?.configLayerOrder)}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await this.selectedLayer?.when(async()=>{this._definitionExpression=this.selectedLayer?.definitionExpression||""})}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(e){this._filterActive=e,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.value&&this._mapLayerPicker.value.updateLayer()}async mapInfoChange(e){this._selectedWebMapId=e.detail.id,await this._loadMap(e.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout(()=>{this._initToolInfos()},50)}async load(){await this._initModules(),this._initToolInfos(),this._mapSizeObserver||(this._mapSizeObserver=new ResizeObserver(()=>{if(this._mapDivWidth&&this._mapDiv.value){let e=this.isMobile?160:110;this._mapDivWidth=this._mapDiv.value.offsetWidth-e}}))}render(){let e=this.hide?"visibility-hidden-1":"",i=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",s="height-full",t=this.isMapLayout?"":"display-none",a=this._isValidWebMap?"":"hidden",d=this.isMobile?"":"hidden";return this._handleMapVisibility(),this._validateActiveActions(),o`<calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker()}${this._getHeaderActions()}<div slot=header-actions-end class="display-flex absolute-right">${this.enableShare&&this.isMapLayout?this._getShare("share"):void 0}</div><calcite-progress class=${f(t)} value=0></calcite-progress><div class=${`${e} ${s}`}><div class="height-full" ${h(this._mapDiv)}></div></div>${o`<map-tools .basemapConfig=${this.basemapConfig} class=${`box-shadow ${i} ${a}`} .defaultLayerId=${this.defaultLayerId} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSingleExpand=${this.enableSingleExpand} .enableSelectionTool=${this.enableSelectionTool} .isMobile=${this.isMobile} .parentComponentHeight=${this._mapDivHeight} .parentComponentWidth=${this._mapDivWidth} .zoomToolsSize=${this.zoomToolsSize} layout=horizontal .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .position=${this.mapWidgetsPosition} .selectedLayer=${this.selectedLayer} .searchConfiguration=${this._searchConfiguration} .stackTools=${this.stackTools} .toolOrder=${this.mapToolsOrder} ${h(this._mapTools)}></map-tools><map-tools class=${`box-shadow ${i} ${d}`} .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this._enabledLayerIds} .enableMapLayerPicker=${this.enableMapLayerPicker} .enableMapPicker=${this.enableMapPicker} .isMobile=${this.isMobile} .zoomToolsSize=${this.zoomToolsSize} layout=vertical .mapInfos=${this.mapInfos} .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .parentComponentHeight=${this._mapDivHeight} .position=${this.mobileMapWidgetsPosition} .selectedLayer=${this.selectedLayer} .selectedWebMapId=${this._selectedWebMapId} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} .stackTools=${this.stackTools} .toolOrder=${this.mobileToolsOrder} ${h(this._mobMapTools)}></map-tools>`}</calcite-panel>`}updated(){this._mapDivHeight=this._mapDiv.value?.offsetHeight??0,document.onclick=e=>this._handleDocumentClick(e)}loaded(){this._mapDiv.value&&this._mapSizeObserver?.observe(this._mapDiv.value),this._updateShareUrl()}async _initModules(){let[e,i,s,t]=await $(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=e,this.MapView=i,this.Home=s,this.esriConfig=t}async _loadMap(e){let i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter(n=>n.id===this.defaultWebmapId),t=JSON.stringify(e)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!e?.id&&this.mapInfos.length>0?this.mapInfos[0]:e;let a=this._webMapInfo.id,d=i&&e?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||d){let n=this.WebMap&&new this.WebMap({portalItem:{id:a}});try{n&&await n.load(),this.appProxies&&n&&this.esriConfig&&await T(n,this.esriConfig,this.appProxies),this.mapView=this.MapView&&new this.MapView({container:this._mapDiv.value,map:n,resizeAlign:"center"}),this._loadedId=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapView&&await this.mapView.when(()=>{if(this.mapView){let c=this.isMobile?160:110;this._mapDivWidth=this._mapDiv.value&&this._mapDiv.value.offsetWidth-c,this._mapTools.value&&this.mapView.ui.add(this._mapTools.value,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._mobMapTools.value&&this.mapView.ui.add(this._mobMapTools.value,{position:this.mobileMapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=d?!0:this._defaultWebmapHonored,this._isValidWebMap=!0,this.mapChanged.emit({id:a,mapView:this.mapView,isValid:!0}),this.isMobile||document.getElementsByClassName("esri-zoom")[0]?.classList.remove("display-none")}})}catch(c){console.error(c),this._loadedId=a,this._isValidWebMap=!1,this.mapChanged.emit({id:a,mapView:void 0,isValid:!1}),document.getElementsByClassName("esri-zoom")[0]?.classList.add("display-none");return}}else i?(this._defaultWebmapHonored=!0,this._mapPicker.value&&this._mapPicker.value.setMapByID(a)):t&&this.mapView&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView,isValid:!0}));this._updateShareUrl()}_getMapLayerPicker(){let e=this.isMapLayout?"header-actions-start":"",i=this.mapInfos?.length>1?"":"display-none",s=this.isMapLayout?"height-0":"width-full",t="display-flex",a=this.isMapLayout?"":"display-none";return o`${!this.isMobile&&o`<div slot=${e??m}><map-picker class=${`${i} ${s}`} id=map-picker .isMapLayout=${this.isMapLayout} .mapInfos=${this.mapInfos} .selectedWebMapId=${this._selectedWebMapId} ${h(this._mapPicker)}></map-picker></div>`||""}<div slot=header-actions-start class=${`mapView-header display-flex ${a}`} id=solutions-map-layer-picker-container><div class=${`border-end ${t}`}>${this.mapView&&o`<map-layer-picker appearance=transparent .configLayerOrderDefined=${this._configLayerOrderDefined} .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} .placeholderIcon=${"layers"} scale=l .selectedIds=${this.selectedLayer?[this.selectedLayer.id]:[]} show-single-layer-as-label show-tables show-tables-disabled type=dropdown ${h(this._mapLayerPicker)}></map-layer-picker>`||""}</div></div>`}_getHeaderActions(){return o`<div slot=header-content><calcite-action-bar class=${f("display-flex")} expand-disabled expanded id=${this._getId("bar")??m} layout=horizontal><calcite-action-group>${this.isMapLayout?this._getActions():void 0}</calcite-action-group></calcite-action-bar></div>`}_getShare(e){return o`<div class="share-action" id=${this._getId(e)??m}>${this.mapView&&o`<instant-apps-social-share class="instant-app-share" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${h(i=>{i&&(this._shareNode=i,this._updateShareUrl())})}></instant-apps-social-share>`||""}${this._getToolTip("bottom",`map-${e}`,this._translations?.share)}</div>`}_updateShareUrl(){let e=this._shareNode?.shareUrl;if(!e)return;let i=new URL(e);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),this.appLayout&&i.searchParams.set("applayout",this.appLayout),this._shareNode&&(this._shareNode.autoUpdateShareUrl=!1,this._shareNode.shareUrl=i.href)}_initToolInfos(){let e=this.selectedFeaturesIds.length>0,i=this.selectedFeaturesIds.length<2||this.selectedFeaturesIds.length>u,s=this.featureSelectionMode==="multiple"&&this.selectedLayer?.capabilities?.operations.supportsUpdate,t=[];t.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>void this._toggleFilter(),disabled:!1,toolTip:this._translations.filters}),t.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>void this._zoom(),disabled:!e,toolTip:this._translations.zoom}),s&&t.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this.selectedFeaturesIds),disabled:i,toolTip:this._translations.editMultiple}),t.push({active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer?.refresh(),disabled:!1,toolTip:this._translations.refresh}),t.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!e,toolTip:this._translations.clearSelection}),this._toolInfos=[...t]}_validateActiveActions(){let e=["filter"];this._toolInfos?.forEach(i=>{i&&e.indexOf(i.icon)>-1&&i.icon==="filter"&&(i.indicator=this._filterActive)})}_handleMapVisibility(){if(this._mapDiv.value){let e=this._mapDiv.value.getElementsByClassName("esri-view-surface")[0],i=this._mapDiv.value.getElementsByClassName("esri-attribution")[0];this._isValidWebMap?(e?.classList.remove("hidden"),i?.classList.remove("hidden")):(e?.classList.add("hidden"),i?.classList.add("hidden"))}}_validateEnabledActions(){let e=this.selectedFeaturesIds.length>0,i=this.selectedFeaturesIds.length<2||this.selectedFeaturesIds.length>u,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach(t=>{t&&s.indexOf(t.icon)>-1&&(t.disabled=t.icon==="pencil"?i:!e,t.toolTip=t.icon==="pencil"?this.selectedFeaturesIds.length>u?this._translations.featureEditLimitNotice:this._translations.editMultiple:t.toolTip)})}_handleDocumentClick(e){e.target.tagName!=="MAP-PICKER"&&(this._mapListExpanded=!1,this._mapPicker.value&&this._mapPicker.value.close())}async _zoom(){if(this.selectedLayer&&this.mapView){let e=await w(this.mapView,this.selectedLayer.id);e&&await M(this.selectedFeaturesIds,e,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let e=[];return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===this.selectedLayer?.id)),e.length>0}_getActions(){return this._toolInfos?.reduce((e,i)=>(i&&e.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,i.toolTip)),e),[])}_getToolTip(e,i,s){return o`<calcite-tooltip .placement=${e} .referenceElement=${i}><span>${s}</span></calcite-tooltip>`}_getAction(e,i,s,t,a,d,n,c){let x=this.selectedLayer===void 0?!0:d;return o`<calcite-action .active=${e} appearance=solid .disabled=${x} .icon=${i} .id=${`map-${i}`} .indicator=${s} .label=${t} .loading=${n} @click=${a} .text=${t} text-enabled></calcite-action>${this._getToolTip("auto",`map-${i}`,c)}`}_getId(e){return`solutions-action-${e}`}};v("map-card",_);return _},a)
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import{a as h}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as p}from"./443EHILD.js";import{E as d,h as r,i as l,l as c,o as n}from"./6WW2DA2G.js";import"./EAS42GZC.js";var y=r`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color: var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}`,a=class extends d{constructor(){super(...arguments),this.itemRelationshipDependencies=[],this.linkType="item",this.listSelectionMode="none",this.templateInfos=[],this.typeKeywords=[],this._sortedTemplateInfos=[],this._translations=h({name:"solution-item-accordion",blocking:!0}),this._sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"],this.solutionItemHover=n(),this.solutionItemSelect=n(),this.solutionTypeHover=n()}static{this.properties={itemRelationshipDependencies:0,linkType:1,listSelectionMode:1,templateInfos:0,typeKeywords:0,_sortedTemplateInfos:16,_translations:16}}static{this.styles=y}willUpdate(e){e.has("templateInfos")&&(this.hasUpdated||this.templateInfos?.length>0)&&this.templateInfosWatchHandler()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async collapseAll(){this.el?.shadowRoot?.querySelectorAll("calcite-accordion-item")?.forEach(e=>{e.expanded=!1})}async deselectAll(){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(e=>{e.selected&&(e.selected=!1,(e.parentElement?.parentElement).expanded=!1)})}async selectItem(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id===e&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async selectFirstItem(){let e=this.el?.shadowRoot?.querySelectorAll("calcite-list-item");e?.length&&(e[0].selected=!0,(e[0].parentElement?.parentElement).expanded=!0)}async selectItems(e){this.listSelectionMode==="multiple"&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{e.indexOf(t.id)>-1&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async load(){this._sortedTemplateInfos=this._sortTemplates()}render(){return this._getAccordion()}_deselectOthers(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id!==e&&(t.selected=!1)})}_getAccordion(){let e=[],t=this._sortedTemplateInfos.reduce((i,o)=>{let s=this._getTypeForDisplay(o.type,o.typeKeywords);return e.indexOf(s)<0&&(e.push(s),i.push(this._getAccordionItem(o))),i},[]);return l`<calcite-accordion class="border-override" selection-mode=single>${t}</calcite-accordion>`}_getAccordionItem(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter(o=>this._getTypeForDisplay(o.type,o.typeKeywords)===t);return l`<calcite-accordion-item .description=${`${t} (${i.length})`} @mouseenter=${()=>this.solutionTypeHover.emit({itemType:t,entering:!0})} @mouseleave=${()=>this.solutionTypeHover.emit({itemType:t,entering:!1})}><solution-item-icon class="padding-start-1 display-flex align-center" slot=actions-start .type=${e.type} .typeKeywords=${e.typeKeywords}></solution-item-icon>${this._getList(i)}</calcite-accordion-item>`}_getList(e){let t=this._sortTemplatesByTitle(e);return l`<calcite-list .label=${this._translations.solutionsTemplates} selection-appearance=border .selectionMode=${this.listSelectionMode}>${t.map(i=>this._getListItem(i))}</calcite-list>`}_getListItem(e){let t=this.typeKeywords.includes("Deployed")&&e.url,i=this.linkType==="action";return l`<calcite-list-item id=${e.id??c} @mouseenter=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!0})} @mouseleave=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!1})} @calciteListItemSelect=${()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0}),t&&!i&&window.open(e.url,"_blank")}} .value=${e.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${t&&!i?"underline":""}`}>${e.title}</div><div class="solution-list-item-description">${e.snippet}</div></div>${this.itemRelationshipDependencies.length>0&&this.itemRelationshipDependencies.some(o=>o===e.id)&&l`<calcite-chip slot=actions-end icon=information scale=s .label=${this._translations?.itemDependency}>${this._translations?.itemDependency}</calcite-chip>`||""}${t&&i?l`<div slot=actions-end><calcite-action icon=launch .id=${`${e.id}-launch`} @click=${()=>window.open(e.url,"_blank")} text></calcite-action><calcite-tooltip overlay-positioning=fixed .referenceElement=${`${e.id}-launch`}><span>${this._translations?.openDetails}</span></calcite-tooltip></div>`:null}</calcite-list-item>`}_sortTemplatesByTitle(e){return e.sort((t,i)=>t.title<i.title?-1:t.title>i.title?1:0)}_sortTemplates(){return this.templateInfos.sort((e,t)=>{let i=this._getTypeForSort(e),o=this._getTypeForSort(t),s=this._sortOrder.indexOf(i),m=this._sortOrder.indexOf(o);return s-m})}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if(e==="Feature Service"){let o=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=o&&s?"Table (hosted, view)":s?"Table (hosted)":o?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return e==="Web Mapping Application"&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i=e==="Geoprocessing Service"?"Tool":i,i=e==="Feed"?"Feed (hosted)":i,i=e==="Real Time Analytic"?"Real Time Analytic (hosted)":i,i=e==="Big Data Analytic"?"Big Data Analytic (hosted)":i,i=e==="Vector Tile Service"?"Tile Layer":i,i}};p("solution-item-accordion",a);export{a as SolutionItemAccordion};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import{a as D}from"./DK5FUIGH.js";import{b as F}from"./T6FIJDJK.js";import{c as y,g as $,j as E}from"./R22HIDGZ.js";import{e as d}from"./27VT6FGO.js";import{a as I,d as k,f as T}from"./4BXRZ62B.js";import{b as O}from"./SZNJD54W.js";import{a as G}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as V}from"./443EHILD.js";import{C as u,D as p,E as v,G as _,H as C,h as w,i as o,o as L,r as S}from"./6WW2DA2G.js";import"./EAS42GZC.js";var N=w`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100%!important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem"!important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:.5rem}.padding-end-1-2{padding-inline-end:.5rem}.icon{--calcite-color-icon-color: var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}}`,g=class extends v{constructor(){super(),this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=!1,this.enabledLayerIds=[],this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.noResultText="",this.selectionLayerIds=[],this.searchDistanceEnabled=!1,this.useLayerFeaturesEnabled=!1,this._numSelected=0,this._searchTerm="",this._selectionLoading=!1,this._translations=G({name:"map-select-tools",blocking:!0}),this._bufferTools=u(),this._drawTools=u(),this._labelName=u(),this._pnContextConsumer=F({context:D,subscribe:!0}),this._selectLayers=[],this._searchElement=u(),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.selectionSetChange=L(),this.listenOn(window,"searchConfigurationChange",this.searchConfigurationChangeChanged),this.listenOn(window,"distanceChanged",this.distanceChanged),this.listenOn(window,"unitChanged",this.unitChanged)}static{this.properties={bufferColor:1,bufferOutlineColor:1,customLabelEnabled:5,enabledLayerIds:0,enableLayerFeatures:5,enableLayerFeaturesOnLoad:5,enableSearchDistance:5,enableSearchDistanceOnLoad:5,enableSketchTools:5,defaultBufferDistance:9,defaultBufferUnit:1,geometries:0,isUpdate:5,layerViews:0,mapView:0,noResultText:1,searchConfiguration:0,selectionSet:0,selectionLayerIds:0,selectLayerView:0,sketchLineSymbol:0,sketchPointSymbol:0,sketchPolygonSymbol:0,searchDistanceEnabled:5,useLayerFeaturesEnabled:5,_numSelected:16,_searchTerm:16,_selectionLoading:16,_translations:16}}static{this.styles=N}static{this.shadowRootOptions=S}willUpdate(e){e.has("geometries")&&(this.hasUpdated||this.geometries?.length>0)&&this.watchGeometriesHandler(this.geometries,e.get("geometries")),e.has("mapView")&&this.mapView&&this.mapViewWatchHandler(this.mapView,e.get("mapView")),e.has("searchConfiguration")&&this.searchConfiguration&&this.watchSearchConfigurationHandler(this.searchConfiguration,e.get("searchConfiguration")),e.has("defaultBufferUnit")&&this.hasUpdated&&(this.selectionSet&&(this.selectionSet.unit=this.defaultBufferUnit),this._bufferTools.value&&this.defaultBufferUnit!==void 0&&(this._bufferTools.value.unit=this.defaultBufferUnit),this._updateLabel()),e.has("defaultBufferDistance")&&this.hasUpdated&&(this.selectionSet&&(this.selectionSet.distance=this.defaultBufferDistance),this._updateLabel())}async watchGeometriesHandler(e,t){if(e!==t&&e.length>0)return this._highlightWithOIDsOrGeoms()}async mapViewWatchHandler(e,t){e&&e!==t&&await this._init()}async watchSearchConfigurationHandler(e,t){JSON.stringify(e)!==JSON.stringify(t)&&await this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate&&this.selectionSet?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.value?.distance,download:!0,unit:this._bufferTools.value?.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this.searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this.useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(e){this.searchConfiguration=e.detail}async distanceChanged(e){await this._distanceChanged(e.detail)}async unitChanged(e){e.detail.newValue!==e.detail.oldValue&&(this._unit=e.detail.newValue,await this._updateLabel())}async load(){await this._initModules()}async loaded(){await this._init()}render(){let e=this.enableSketchTools?"":"display-none",t=this.enableSketchTools?"padding-top-1":"";return o`${this._getMapLayerPicker()}<div class="border-bottom"></div><div class="padding-top-sides-1"><div class="search-widget" ${p(this._searchElement)}></div><div class=${_(t)}><map-draw-tools active class=${_(e)} .editGraphicsEnabled=${!this.useLayerFeaturesEnabled} .graphics=${this._graphics} .mapView=${this.mapView} @sketchGraphicsChange=${s=>void this._sketchGraphicsChanged(s)} .pointSymbol=${this.sketchPointSymbol} .polygonSymbol=${this.sketchPolygonSymbol} .polylineSymbol=${this.sketchLineSymbol} ${p(this._drawTools)}></map-draw-tools></div>${this.enableSearchDistance?this._getBufferOptions():void 0}${this.enableLayerFeatures?this._getUseLayerFeaturesOptions():void 0}${this._getNumSelected()}</div><div class="border-bottom"></div>${this._getNameInput()}`}_getBufferOptions(){this.enableSearchDistanceOnLoad&&(this.searchDistanceEnabled=!0,this.enableSearchDistanceOnLoad=!1);let e=this.searchDistanceEnabled?"search-distance":"div-not-visible",t=typeof this.selectionSet?.distance=="number"?this.selectionSet.distance:this.defaultBufferDistance;return o`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.searchDistance}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=search-distance-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=search-distance-icon><span class="tooltip-message">${this._translations.useSearchDistanceTootip}</span></calcite-popover><calcite-switch .checked=${this.searchDistanceEnabled} @calciteSwitchChange=${()=>this.searchDistanceEnabled=!this.searchDistanceEnabled}></calcite-switch></div><div class=${_(e)}><buffer-tools .disabled=${!this.searchDistanceEnabled} .distance=${t} .geometries=${this.geometries} @bufferComplete=${s=>void this._bufferComplete(s)} .unit=${this.selectionSet?.unit||this.defaultBufferUnit} ${p(this._bufferTools)}></buffer-tools></div></div>`}_getUseLayerFeaturesOptions(){this.enableLayerFeaturesOnLoad&&(this.useLayerFeaturesEnabled=!0,this.enableLayerFeaturesOnLoad=!1);let e=this.useLayerFeaturesEnabled?"div-visible":"div-not-visible";return o`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.useLayerFeatures}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=use-layer-features-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=use-layer-features-icon><span class="tooltip-message">${this._translations.useLayerFeaturesTooltip}</span></calcite-popover><calcite-switch .checked=${this.useLayerFeaturesEnabled} @calciteSwitchChange=${()=>{this._useLayerFeaturesEnabledChanged()}}></calcite-switch></div><div class=${`${e} padding-top-1`}><map-layer-picker .enabledLayerIds=${this.selectionLayerIds} .mapView=${this.mapView} @layerSelectionChange=${t=>{this._layerSelectionChange(t)}} .selectedIds=${this.layerViews.map(t=>t.layer.id)}></map-layer-picker></div></div>`}_getNumSelected(){let e=this._translations._lang==="en"?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return o`<div class="padding-top-1 padding-bottom-1" style=${C({"align-items":"end",display:"flex"})}>${this._selectionLoading?o`<div><calcite-loader class="info-blue padding-end-1-2" inline .label=${e||""} scale=m type=indeterminate></calcite-loader></div>`:o`<calcite-icon class="info-blue padding-end-1-2" icon=feature-layer scale=s></calcite-icon>`}<calcite-input-message class="info-blue" scale=m>${this._selectionLoading?e:this.noResultText&&this._numSelected===0?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())}</calcite-input-message></div>`}_getNameInput(){let e=this.customLabelEnabled?"":"display-none";return o`<div class=${`padding-sides-1 padding-top-1 ${e}`}><calcite-label class="font-bold">${this._translations.listName}<calcite-input @input=${()=>{this._selectionLabel=this._labelName.value?this._labelName.value.value:""}} .placeholder=${this._translations.listNamePlaceholder} .value=${this._selectionLabel||""} ${p(this._labelName)}></calcite-input></calcite-label></div>`}_getMapLayerPicker(){let e=this.selectionSet?.layerView?.layer.id;return o`<div class="display-flex padding-sides-1 padding-bottom-1"><calcite-label class="font-bold width-full label-margin-0">${this._translations.inputLayer}<map-layer-picker .enabledLayerIds=${this.enabledLayerIds} .mapView=${this.mapView} @layerSelectionChange=${t=>void this._inputLayerSelectionChange(t)} .selectedIds=${this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet&&e!==void 0?[e]:[]}></map-layer-picker></calcite-label></div>`}async _initModules(){let[e,t,s,i,a,l]=await O(["esri/request","esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/operators/unionOperator","esri/layers/FeatureLayer"]);this._esriRequest=e,this.GraphicsLayer=t,this.Graphic=s,this.Search=i,this._unionOperator=a,this.FeatureLayer=l}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),await this._initSearchWidget()}async _initSelectionSet(){this.selectionSet&&(this._searchTerm=this.selectionSet.searchResult?.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs||[],this.searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this.useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...this.selectionSet?.geometries||[]],this._graphics=this.geometries.reduce((e,t)=>{let s=t.type==="point"?this.sketchPointSymbol:t.type==="polyline"?this.sketchLineSymbol:this.sketchPolygonSymbol;return this.Graphic&&e.push(new this.Graphic({geometry:t,symbol:s})),e},[]),this._selectionLabel=this.selectionSet?.label,this.useLayerFeaturesEnabled||await this._drawTools.value?.updateGraphics(),this.selectionSet.layerView&&this.mapView&&await E(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}async _initSearchWidget(){if(this.mapView&&this._searchElement.value){let e=this.searchConfiguration&&this._getSearchConfig(this.searchConfiguration,this.mapView),t={view:this.mapView,container:this._searchElement.value,searchTerm:this._searchTerm,...e};this._searchWidget?(this._searchWidget.view=this.mapView,this._searchWidget.searchTerm=this._searchTerm):this._searchWidget=this.Search&&new this.Search(t),this._searchWidget&&(this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.viewModel.addHandles(this._searchWidget.on("search-clear",()=>{let s=this._searchClearLabel();this._searchResult?.name&&this._clearResults(!1,s)})),this._searchWidget.viewModel.addHandles(this._searchWidget.on("select-result",s=>{this._selectResult(s.result)})),await this._searchWidget.when(()=>{this._searchWidget&&(this._searchWidget.allPlaceholder=this.searchConfiguration?.allPlaceholder&&this.searchConfiguration.allPlaceholder.toLowerCase()!=="find address or place"?this.searchConfiguration.allPlaceholder:this._translations.placeholder)}))}}async _selectResult(e){if(e){this._searchResult=e;let t=e.feature,s=t?.layer,i=this.selectLayerView?.layer,a=Number(t?.getObjectId()),l;s?.sourceJSON?.isView&&s.url&&(l=await this._getViewSourceUrl(s.url));let r;i?.sourceJSON?.isView&&i.url&&(r=await this._getViewSourceUrl(i.url));let c=s?.url?.toLowerCase(),n=l?.toLowerCase(),h=i?.url?.toLowerCase(),m=r?.toLowerCase(),b=c&&h&&(c===h||c===m||n===h||n===m)&&!Number.isNaN(a),x=b?[a]:void 0;this._workflowType=d.SEARCH,this._updateLabel();let f=[e.feature];this._updateSelection(f,b,x),this._drawTools.value&&(this._drawTools.value.graphics=f),this._searchWidget?.resultGraphic&&(this._searchWidget.resultGraphic.visible=!1)}else{let t=this._searchClearLabel();this._clearResults(!1,t)}}async _getViewSourceUrl(e){let t="",s=`${e}/sources?f=json`;try{let i=this._esriRequest&&await this._esriRequest(s,{query:{f:"json"}});i?.data?.services?.length===1&&(t=i.data.services[0].url)}catch(i){console.log(i)}return t}_searchClearLabel(){return this._searchResult?.name&&this._labelName.value&&this._labelName.value.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(e,t){let s=e?.sources;return s&&s?.length>0?(e={...e,includeDefaultSources:!1},s.forEach(i=>{if(i.hasOwnProperty("layer")){let a=i,l=a.layer?.id,r=l?t.map?.findLayerById(l):null,c=a?.layer?.url;r&&a?a.layer=r:c&&this.FeatureLayer&&(a.layer=new this.FeatureLayer(c))}}),s?.forEach(i=>{if(i.hasOwnProperty("locator")){let a=i;if(a?.name==="ArcGIS World Geocoding Service"){let l=a.outFields||["Addr_type","Match_addr","StAddr","City"];a.outFields=l,a.singleLineFieldName="SingleLine"}a.url=a.url,delete a.url}})):e={...e,includeDefaultSources:!0},e}_initGraphicsLayer(){let e=this._pnContextConsumer.value,t=this._translations.bufferLayer;if(this.mapView){let s=this.mapView.map.layers.findIndex(i=>i.title===t);if(s>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(s);else if(this._bufferGraphicsLayer=this.GraphicsLayer&&new this.GraphicsLayer({title:t,listMode:"hide"}),this._bufferGraphicsLayer){e.managedLayers[t]="buffer";let i=this.mapView.map.layers.findIndex(a=>a.title===this._translations.sketchLayer);i>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,i):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}async _sketchGraphicsChanged(e,t=!1){let s=e.detail.graphics;if(s.length>0&&s[0])if(t||(this._sketchGraphic=s[0]),this._workflowType=this.useLayerFeaturesEnabled?d.SELECT:d.SKETCH,this._workflowType===d.SKETCH&&this._drawTools.value&&await this._drawTools.value.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this.useLayerFeaturesEnabled&&!t){let i=Array.isArray(s)?s.map(a=>a.geometry):this.geometries;await this._selectLayerFeatures(i[0])}else{let i=s.reduce((l,r)=>(r?.layer?.objectIdField?l.push(Number(r.attributes[r.layer.objectIdField])):r.getObjectId&&l.push(Number(r.getObjectId())),l),[]),a=e.detail.useOIDs&&i.length>0;this._updateSelection(s,a,i),a&&await this._highlightFeatures(i)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){return this._skipGeomOIDs&&this._skipGeomOIDs?.length>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(e){let t=this._pnContextConsumer.value;if(t.removeHandles(),e.length>0&&this.selectLayerView&&this.mapView){let s=await $(e,this.selectLayerView,this.mapView);t.highlightHandles.push(s)}this._numSelected=e.length,this.selectionSetChange.emit(e.length)}async _selectFeatures(e){this._selectionLoading=!0,this._selectedIds=this.selectLayerView&&await I(e,this.selectLayerView.layer)||[],this._selectionLoading=!1,this._drawTools.value&&(this._drawTools.value.graphics=this._graphics),await this._highlightFeatures(this._selectedIds)}async _bufferComplete(e){this._bufferGeometry=Array.isArray(e.detail)?e.detail[0]:e.detail;let t=this._bufferTools.value&&Number(this._bufferTools.value.distance),s=0;if(this._bufferGeometry){let i={type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}},a=this.Graphic&&new this.Graphic({geometry:this._bufferGeometry,symbol:i});this._bufferGraphicsLayer&&a&&this.mapView&&(this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(a),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(a.geometry?.extent)),s=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:s})}_geomQuery(e){let t=this._unionOperator&&T(e,this._unionOperator);return t?this._selectFeatures(t):Promise.resolve()}async _clearResults(e=!0,t=!1){this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value&&(this._labelName.value.value="")),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),e&&this._searchWidget&&this._clearSearchWidget(),this._pnContextConsumer.value.removeHandles(),this._drawTools.value?.clear&&(this._graphics=[],await this._drawTools.value.clear()),this._numSelected=this._selectedIds.length,this.selectionSetChange.emit(this._numSelected)}_clearSearchWidget(){this._searchWidget?.clear(),this._searchResult=void 0}_updateSelection(e,t,s){this._selectedIds=t&&s?s:this._selectedIds,this._skipGeomOIDs=t?s:void 0,this.geometries=Array.isArray(e)?e.reduce((i,a)=>(a.geometry&&i.push(a.geometry),i),[]):this.geometries,this._graphics=e}async _updateLabel(){if(this.enableSearchDistance){let e=this._translations.sketch&&this._selectionLabel.indexOf(this._translations.sketch)>-1,t=this._translations.select&&this._selectionLabel.indexOf(this._translations.select)>-1,s=this._selectionLabel.indexOf(this._searchResult?.name)>-1,i=this._workflowType===d.SEARCH?this._searchResult?.name:this._workflowType===d.SELECT?this._translations.select:this._translations.sketch,a=this._bufferTools.value?this._bufferTools.value.unit:this._unit,l=this._bufferTools.value&&a&&await this._bufferTools.value.getTranslatedUnit(a),r=Number.isNaN(Number(this._distance))&&this._bufferTools.value?this._bufferTools.value.distance:this._distance;this._selectionLabel=e||t||s||!this._selectionLabel?`${i} ${r} ${l}`:this._selectionLabel,this._labelName.value&&(this._labelName.value.value=this._selectionLabel)}}async _layerSelectionChange(e){if(Array.isArray(e.detail)&&e.detail.length>0){let t=e.detail.reduce((s,i)=>(this.mapView&&s.push(y(this.mapView,i)),s),[]);return Promise.all(t).then(s=>{this.layerViews=s.reduce((i,a)=>(a&&i.push(a),i),[]),this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})})}}async _inputLayerSelectionChange(e){let t=e?.detail?.length>0?e.detail[0]:"";(!this.selectLayerView||t!==this.selectLayerView.layer.id)&&(this.selectLayerView=this.mapView&&await y(this.mapView,t),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(e){e.newValue!==e.oldValue&&(this._distance=e.newValue,await this._updateLabel())}async _selectLayerFeatures(e){this._selectionLoading=!0;let t=this.layerViews.map(s=>(this._featuresCollection[s.layer.id]=[],k(0,s.layer,e,this._featuresCollection)));return Promise.all(t).then(async s=>{this._selectionLoading=!1;let i=[];s.forEach(n=>{Object.keys(n).forEach(h=>{i=i.concat(n[h])})});let a=!1;i.forEach(n=>{let h=n.geometry;n.symbol=h&&h.type==="point"?this.sketchPointSymbol:h&&h.type==="polyline"?this.sketchLineSymbol:h&&h.type==="polygon"?this.sketchPolygonSymbol:void 0,a=n?.layer?.hasOwnProperty("objectIdField")||n.hasOwnProperty("getObjectId")});let l=this.layerViews[0].layer,r=this.selectLayerView?.layer,c=a&&l.url===r?.url&&r?.layerId===l.layerId;await this._sketchGraphicsChanged({detail:{graphics:i,useOIDs:c}},!0)})}_useLayerFeaturesEnabledChanged(){this.useLayerFeaturesEnabled=!this.useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}};V("map-select-tools",g);export{g as MapSelectTools};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.24 */
4
- import{a as g}from"./PZ5GGYLN.js";import{a as h}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as r}from"./443EHILD.js";import{C as a,D as i,E as c,h as n,i as t,o as l}from"./6WW2DA2G.js";import"./EAS42GZC.js";var d=n`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */.panel-bg-white{--calcite-panel-background-color: var(--calcite-color-foreground-1)}`,o=class extends c{constructor(){super(...arguments),this.deploymentProgress=0,this.open=!1,this._isInCancelConfirmation=!1,this._showCancelConfirmation=!1,this._showIsCancelling=!1,this._translations=h({name:"solution-deploying-dialog",blocking:!0}),this._carouselKey=0,this._deployingDialogRef=a(),this._carouselRef=a(),this._carouselMessages=[],this.deployingDialogOpened=l()}static{this.properties={abortController:0,card:0,deploymentProgress:9,open:5,_isInCancelConfirmation:16,_showCancelConfirmation:16,_showIsCancelling:16,_translations:16,_carouselKey:16}}static{this.styles=d}close(){this._showCancelConfirmation=!1,this._showIsCancelling=!1;let e=this._deployingDialogRef.value;e&&(e.open=!1),this.open=!1}confirmCancel(){let e=this._deployingDialogRef.value;e&&(e.open=!0,e.closeDisabled=!0,this._isInCancelConfirmation=!0,this._showIsCancelling=!1),this._showCancelConfirmation=!0}cancelDeployment(){this._isInCancelConfirmation&&this.abortController&&(this.abortController.abort(),this._showIsCancelling=!0,this._showCancelConfirmation=!1)}async load(){}render(){return t`<calcite-dialog close-disabled .heading=${this._translations.title.replace("{{solution}}",this.card?.title??"")} modal width=m .open=${this.open} @calciteDialogBeforeClose=${e=>{e.preventDefault()}} @calciteDialogOpen=${()=>this._onDialogOpen()} outside-close-disabled ${i(this._deployingDialogRef)}>${this._showCancelConfirmation?this.renderCancelModal():this._showIsCancelling?this.renderCancellingModal():t`<calcite-panel class="panel-bg-white"><calcite-loader .label=${this._translations.deploymentInProgress} scale=l .text=${this._translations.deploymentInProgress} type=determinate-value .value=${this.deploymentProgress}></calcite-loader><div style="height: 120px; display: flex; align-items: center;">${g(this._carouselKey,t`<calcite-carousel autoplay=paused autoplay-duration=8000 .label=${this._translations.newsAndFeatures} arrow-type=inline ${i(this._carouselRef)}>${this.renderCarouselItems()}</calcite-carousel>`)}</div><calcite-button appearance=outline @click=${this.confirmCancel} slot=footer-end>${this._translations.cancel}</calcite-button></calcite-panel>`}</calcite-dialog>`}renderCarouselItems(){let e=[];return this._carouselMessages.forEach((s,u)=>{e.push(t`<calcite-carousel-item .label=${`carousel-item-${u}`}><calcite-label layout=inline>${s.icon&&t`<calcite-icon .icon=${s.icon} class="padding-end-0-5"></calcite-icon>`||""}<span .innerHTML=${this._processCarouselMessage(s)??""}></span></calcite-label></calcite-carousel-item>`)}),e}_getCarouselMessages(){let e=this._translations.carousel,s=[{message:e.stockMessage1,icon:"model",url:void 0},{message:e.stockMessage2,icon:"trash",url:void 0},{message:e.stockMessage3,icon:"information",url:void 0},{message:e.stockMessage4,icon:"mega-phone",url:"https://doc.arcgis.com/en/arcgis-solutions/latest/get-started/what-s-new-in-arcgis-solutions.htm"},{message:e.stockMessage5,icon:"question",url:this.card?.learnMoreUrl},{message:e.stockMessage6,icon:"model",url:void 0},{message:e.stockMessage7,icon:"trash",url:void 0},{message:e.stockMessage8,icon:"lightbulb",url:void 0},{message:e.stockMessage9,icon:"information",url:void 0},{message:e.stockMessage10,icon:"speech-bubbles",url:void 0},{message:e.stockMessage11,icon:"information",url:"https://doc.arcgis.com/en/arcgis-solutions/latest/get-started/releases-and-versions.htm"},{message:e.stockMessage12,icon:"lightbulb",url:"https://doc.arcgis.com/en/arcgis-solutions/latest/get-started/upgrading-an-arcgis-solution.htm"}];return s.sort(()=>Math.random()-.5),s}_processCarouselMessage(e){let s=e.message||"";return s.includes("{{url}}")&&e.url&&(s=s.replace("{{url}}",e.url)),s}renderCancelModal(){return t`<calcite-panel class="panel-bg-white">${this._translations.deploymentCancelMessage}<calcite-button kind=brand @click=${()=>{let e=this._deployingDialogRef.value;e&&(e.closeDisabled=!1),this._isInCancelConfirmation=!1,this._showCancelConfirmation=!1}} slot=footer-end>${this._translations.continueDeployment}</calcite-button><calcite-button appearance=outline @click=${this.cancelDeployment} slot=footer-end>${this._translations.cancelDeploymentButton}</calcite-button></calcite-panel>`}renderCancellingModal(){return t`<calcite-panel class="panel-bg-white"><calcite-loader .label=${this._translations.cancelCurrentDeployment} .text=${this._translations.cancelCurrentDeployment}></calcite-loader></calcite-panel>`}_onDialogOpen(){this._carouselKey++,this._translations.carousel&&(this._carouselMessages=this._getCarouselMessages()),this.deployingDialogOpened.emit(),setTimeout(()=>{let e=this._carouselRef.value;e&&e.play()},100)}};r("solution-deploying-dialog",o);export{o as SolutionDeployingDialog};